Resource processing method and resource processing device

By obtaining and comparing the resource version and review version of game resources, and automatically filtering the target server, the problem of low efficiency in game resources processing in the existing technology is solved, and an efficient resource processing process is achieved.

CN118939305APending Publication Date: 2024-11-12ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411015384.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the prior art, the processing efficiency of game resources is low, and it requires manual analysis of whether it has been reviewed, which consumes a lot of time, resulting in extremely low processing efficiency.

Method used

By obtaining the audit configuration information of the audit server, filter out the target server from the running server and the audit server according to the resource version and resource audit version of the target resource, and automatically determine whether the audit server is audited or the target resource is directly run by the running server.

Benefits of technology

Improve resource processing efficiency, avoid duplicate review, reduce manual intervention, and realize automated resource processing processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939305A_ABST
    Figure CN118939305A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a resource processing method and a resource processing device.The resource processing method comprises the steps that in response to a processing request for a target resource, auditing configuration information of an auditing server is obtained, and the auditing configuration information comprises a resource auditing version of the auditing server; screening out a target server from an operation server and an auditing server according to the resource version and the resource auditing version of the target resource; and sending the target resource to a target server for processing to obtain a resource processing result. According to the resource version and the resource auditing version of the target resource, the target server is screened from the operation server and the auditing server, so that whether the target resource is audited by the auditing server or the target resource is directly operated by the operation server can be automatically determined, and the resource processing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present specification relate to the field of computer technology, and in particular, to a resource processing method and a resource processing device. Background Art

[0002] With the development of computer technology, game resources are updated faster and faster. In order to ensure the security and availability of game resources, when putting game resources on the shelves of major application stores, the game resources can be reviewed and put on the shelves after passing the review. For unreviewed game resources, they cannot be connected to the official environment. They can be reviewed using the review server. For game resources that have passed the review and are put on the shelves, they can be run using the official server.

[0003] Currently, game resources are usually manually analyzed to see if they have been reviewed, so as to determine the server that processes the game resources. However, manual analysis of game resources takes a lot of time, resulting in extremely low efficiency in game resource processing. Therefore, an efficient resource processing solution is urgently needed. Summary of the invention

[0004] In view of this, an embodiment of this specification provides a resource processing method. One or more embodiments of this specification also relate to a resource processing device, a computing device, a computer-readable storage medium and a computer program product to solve the technical defects existing in the prior art.

[0005] According to a first aspect of an embodiment of this specification, a resource processing method is provided, including:

[0006] In response to a processing request for a target resource, obtaining audit configuration information of an audit server, wherein the audit configuration information includes a resource audit version of the audit server;

[0007] According to the resource version and resource audit version of the target resource, the target server is selected from the running server and the audit server;

[0008] Send the target resource to the target server for processing and obtain the resource processing result.

[0009] According to a second aspect of an embodiment of this specification, there is provided a resource processing device, including:

[0010] An acquisition module is configured to acquire audit configuration information of the audit server in response to a processing request for a target resource, wherein the audit configuration information includes a resource audit version of the audit server;

[0011] The screening module is configured to screen out the target server from the running server and the review server according to the resource version and the resource review version of the target resource;

[0012] The sending module is configured to send the target resource to the target server for processing and obtain the resource processing result.

[0013] According to a third aspect of an embodiment of this specification, a computing device is provided, including:

[0014] Memory and processor;

[0015] The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer programs / instructions are executed by the processor, the steps of the resource processing method provided in the first aspect are implemented.

[0016] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores a computer program / instruction, and when the computer program / instruction is executed by a processor, the steps of the resource processing method provided in the first aspect are implemented.

[0017] According to a fifth aspect of the embodiments of this specification, a computer program product is provided, including a computer program / instruction, which, when executed by a processor, implements the steps of the resource processing method provided in the first aspect above.

[0018] A resource processing method provided by an embodiment of the present specification includes: in response to a processing request for a target resource, obtaining audit configuration information of an audit server, wherein the audit configuration information includes a resource audit version of the audit server; filtering out the target server from a running server and an audit server according to the resource version and resource audit version of the target resource; and sending the target resource to the target server for processing to obtain a resource processing result. By filtering out the target server from a running server and an audit server according to the resource version and resource audit version of the target resource, it is possible to automatically determine whether the audit server audits the target resource or the running server directly runs the target resource, thereby improving resource processing efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 is an architecture diagram of a resource processing system provided by an embodiment of this specification;

[0020] Figure 2 is a flow chart of a resource processing method provided by an embodiment of this specification;

[0021] Figure 3 is a processing flow chart of a resource processing method provided by an embodiment of this specification;

[0022] Figure 4 is a schematic diagram of the structure of a resource processing device provided by an embodiment of this specification;

[0023] Figure 5 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0024] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0025] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0026] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0027] When the big model is used in practice, only a small number of samples are needed to fine-tune the pre-trained model and it can be applied to different tasks. The big model can be widely used in natural language processing (NLP), computer vision and other fields. Specifically, it can be applied to computer vision tasks such as visual question answering (VQA), image description (IC), image generation, as well as natural language processing tasks such as text-based sentiment classification, text summary generation, and machine translation. The main application scenarios of the big model include digital assistants, intelligent robots, search, online education, office software, e-commerce, intelligent design, etc.

[0028] First, the terms involved in one or more embodiments of this specification are explained.

[0029] Content Delivery Network (CDN): It is a network that uses distributed node technology to deploy servers around the world, and instantly distributes static or dynamic resource content such as websites, application videos, and audio to the nearest node where the user is located, thereby improving the speed and stability of user access to these contents, reducing network congestion and latency, and also reducing the pressure on the source server. CDN contains two main types of nodes, namely edge nodes and origin nodes.

[0030] Edge nodes: are the nodes closest to end users in CDN. Edge nodes store copies of website content that are pre-loaded or pulled on demand from source servers, such as static resources such as HyperText Markup Language (HTML) files, images, and videos, and sometimes also some dynamic content. When a user requests content, CDN directs the request to the nearest or most suitable edge node through Domain Name System (DNS) resolution, thereby reducing the distance and delay of data transmission and increasing loading speed.

[0031] Central node: It is the source server in CDN. The central node is responsible for communicating with edge nodes, updating content, synchronizing cache strategies, etc., and may participate in the intelligent scheduling of content distribution.

[0032] In this specification, a resource processing method is provided. This specification also relates to a resource processing device, a computing device, a computer-readable storage medium and a computer program product, which are described in detail one by one in the following embodiments.

[0033] See also Figure 1 , Figure 1 The architecture diagram of a resource processing system provided by an embodiment of the present specification is shown. The resource processing system may include a client 100 and a server 200. The server 200 includes an audit server 202 and an operation server 204.

[0034] The client 100 is used to obtain the audit configuration information of the audit server 202 in response to a processing request for a target resource, wherein the audit configuration information includes the resource audit version of the audit server 202; filter out the target server from the running server 204 and the audit server 202 according to the resource version and resource audit version of the target resource; send the target resource to the target server for processing, and obtain the resource processing result.

[0035] By applying the solution of the embodiment of this specification, the target server is screened out from the running server and the auditing server according to the resource version and resource audit version of the target resource, so that it can be automatically determined whether the target resource is audited by the auditing server or directly run by the running server, thereby improving resource processing efficiency.

[0036] In actual applications, the client 100 and the server 200 are connected via a network. The network provides a medium for the communication link between the client 100 and the server 200. The network may include various connection types, such as wired or wireless communication links or optical fiber cables, etc. The data transmitted by the client 100 may need to be encoded, transcoded, compressed, etc. before being released to the server 200.

[0037] The client 100 can be a browser, an application (APP, App l icat ion), or a web application such as HyperText Markup Language Version 5 (H5, HyperText Markup Language 5) application, or a light application (also known as a mini-program, a lightweight application) or a cloud application, etc. The client 100 can be based on the software development kit (SDK, Software Development Kit) of the corresponding service provided by the server 200, such as based on the real-time communication (RTC, Real Time Communication) SDK development and acquisition. The client 100 can be deployed in an electronic device, and needs to rely on the device to run or some APPs in the device to run. For example, the electronic device can have a display screen and support information browsing, such as a personal mobile terminal such as a mobile phone, a tablet computer, a personal computer, etc. Various other types of applications can also be configured in the electronic device, such as human-computer dialogue applications, model training applications, text processing applications, web browser applications, shopping applications, search applications, instant messaging tools, mailbox clients, social platform software, etc.

[0038] The server 200 may include servers that provide various services, such as servers that provide communication services to multiple clients, and servers that process data sent by clients. It should be noted that the server 200 can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. The server can also be a server of a distributed system, or a server combined with a blockchain. The server can also be a cloud server for basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.

[0039] See also Figure 2 , Figure 2 A flowchart of a resource processing method provided by an embodiment of the present specification is shown, which specifically includes the following steps:

[0040] Step 202: In response to a processing request for a target resource, obtaining audit configuration information of an audit server, wherein the audit configuration information includes a resource audit version of the audit server.

[0041] Specifically, the target resource may be a resource in different scenarios, such as a game resource in a game scenario, an office resource in an office scenario, an e-commerce resource in an e-commerce scenario, etc. There are many processing requests for the target resource, such as a start request for a game resource, an audit request for an office resource, etc.

[0042] The audit server is used to audit the target resources in the audit environment. The audit server can audit the target resources based on the resource audit standards to determine whether the target resources meet the resource audit standards. The audit environment refers to the overall conditions and background in which the resource audit is implemented. Taking the target resource as a game resource as an example, the resource audit standards include audit standards in different dimensions such as game performance, compliance, stability, privacy, and security.

[0043] The operation server is used to run the target resource in the operation environment and is a server directly facing the user, wherein the operation environment can also be called the formal environment, and the operation server can also be called the formal server. In one possible implementation, the audit server and the operation server can be a single server. In another possible implementation, the audit server and the operation server can be two edge nodes in the CDN.

[0044] Audit configuration information refers to configuration information stored in the audit server. The audit configuration information includes the resource audit version of the audit server and the second address information. Since the second address information is used to access the running server, the second address information can be understood as pointing to the running server. The resource audit version is determined based on the resource version of the resource that the audit server has completed the audit. Therefore, the resource audit scope of the audit server can be determined by the resource audit version. The resource audit version can be represented by a sequentially increasing version number or by time. The audit server can audit resources within the resource audit scope, while resources outside the resource audit scope can be audited without going through the audit server and can be directly run by the running server.

[0045] Exemplarily, assume that the resource audit version of the audit server is 3. There are two target resources, namely the first target resource and the second target resource, the resource version of the first target resource is 2, and the resource version of the second target resource is 4. According to the resource audit version, it can be determined that the resource audit scope of the audit server is the target resources with resource versions greater than or equal to 3. Since the resource version 2 of the first target resource is not within the resource audit scope, it means that the first target resource has been audited, and the first target resource can be audited without the audit server. Since the resource version 4 of the second target resource is within the resource audit scope, it means that the second target resource has not been audited by the audit server. At this time, the audit server can audit the second target resource.

[0046] In an optional embodiment of the present specification, taking resource processing of a game scene as an example, the target resource includes a target game resource; the above-mentioned response to the processing request for the target resource to obtain the audit configuration information of the audit server may include the following steps:

[0047] In response to a start request for a target game resource, audit configuration information of an audit server is obtained.

[0048] Specifically, the target game resource can be the entire program code of a newly developed game application, or it can be the program code for modifications to an already operating game application (such as new function development). The specific selection is based on actual conditions, and the embodiments of this specification do not impose any limitations on this.

[0049] In actual applications, there are multiple ways to obtain the audit configuration information of the audit server, which can be selected based on actual conditions, and the embodiments of this specification do not impose any restrictions on this. In one possible implementation of this specification, the audit configuration information of the audit server can be parsed from the configuration file of the audit server. In another possible implementation of this specification, the resource audit record of the audit server can be obtained, and the resource version of the resource that the audit server has completed the audit can be determined based on the resource audit record, and the audit resource version can be determined based on the resource version of the resource that the audit server has completed the audit. The second address information of the running server is obtained, and the audit configuration information of the audit server is determined based on the second address information and the audit resource version.

[0050] By applying the solution of the embodiment of this specification, the audit configuration information of the audit server is obtained when the target game resource is started, so that the target server of the target game resource can be determined based on the audit configuration information, thereby improving the timeliness of resource processing and preparing for subsequent resource updates and adjustments.

[0051] Step 204: According to the resource version and resource audit version of the target resource, the target server is selected from the running servers and the audit servers.

[0052] Specifically, the resource version of the target resource is used to uniquely identify the current update status of the target resource. The resource version can be represented by a sequentially increasing version number or by time. The current update status of the target resource can be determined by the resource version of the target resource. For example, when the resource version of the target resource is 1, it means that the target resource is a newly developed resource and no old version has appeared before. When the resource version of the target resource is 2, it indicates that the target resource is updated from resource version 1 to resource version 2. The target server refers to the server that processes the target resource, so the target server can be understood as a resource processing server. When the target server is an audit server, the target server can audit the target resource. When the target server is an operation server, the target server can run the target resource.

[0053] In actual applications, there are many ways to filter out the target server from the running server and the auditing server according to the resource version and resource auditing version of the target resource. The selection is made according to the actual situation, and the embodiments of this specification do not impose any restrictions on this. In one possible implementation of this specification, the resource audit scope of the auditing server can be determined according to the resource auditing version. Determine whether the resource version of the target resource is within the resource auditing scope. If so, the auditing server is determined as the target server; if not, the running server is determined as the target server.

[0054] In another possible implementation of the present specification, the resource version and the resource audit version may be directly compared, and whether the target server is a running server or a audit server may be determined according to the comparison result. That is, the above-mentioned screening out the target server from the running server and the audit server according to the resource version and the resource audit version of the target resource may include the following steps:

[0055] When the resource version is greater than or equal to the resource audit version, the audit server is determined as the target server of the target resource;

[0056] If the resource version is less than the resource audit version, the running server is determined as the target server for the target resource.

[0057] It should be noted that, when the resource version is greater than or equal to the resource audit version, it means that the target resource has not been audited by the audit server. At this time, the audit server can be determined as the target server of the target resource, and the audit server will audit the target resource. When the resource version is less than the resource audit version, it means that the target resource has been audited, and the audit server may not audit the target resource again. At this time, the running server can be determined as the target server of the target resource, and the running server will directly run the target resource.

[0058] By applying the solution of the embodiment of this specification, by comparing the size of the resource version and the resource audit version, it is determined whether the target resource needs to be audited by the audit server, thereby avoiding repeated audits of target resources that have already been audited, and improving resource processing efficiency.

[0059] Step 206: Send the target resource to the target server for processing to obtain the resource processing result.

[0060] Specifically, the resource processing result is related to the target server. When the target server is an audit server, the resource processing result is the result of whether the audit is passed. When the target server is an operation server, the resource processing result is the result of whether the resource is successfully operated.

[0061] In actual applications, the audit server audits the target resource. If the result is that the audit is passed, the target resource can be sent to the operation server for processing; if the result is that the audit fails, the result and reason of the audit failure can be displayed, so that the resource configuration party can modify the target resource. The operation server runs the target resource. If the result is that the operation is successful, the result of the successful operation can be displayed; if the result is that the operation fails, the result and reason of the failed operation can be displayed, so that the resource configuration party can modify the target resource.

[0062] In an optional embodiment of the present specification, in order to ensure that the target resource can be accurately sent to the target server, the target resource can be sent to the target server for processing based on the target address information of the target server to obtain the resource processing result. That is, the above-mentioned sending the target resource to the target server for processing to obtain the resource processing result can include the following steps:

[0063] Get the target address information of the target server;

[0064] Based on the target address information, the target resource is sent to the target server for processing to obtain the resource processing result.

[0065] Specifically, the target address information refers to the location information used to uniquely identify and access the target server on the network. The target address information includes but is not limited to the Internet Protocol address, port number, and domain name.

[0066] There are many ways to obtain the target address information of the target server, which can be selected according to the actual situation, and the embodiments of this specification do not limit this. In one possible implementation of this specification, the management interface or configuration file of the target server can be accessed to parse the target address information of the target server. In another possible implementation of this specification, the target address information of the target server can be obtained using a command line tool.

[0067] By applying the solution of the embodiment of this specification, the target resource is accurately sent to the target server for processing through the target address information of the target server, avoiding re-processing of resources due to resource sending failure, and improving the efficiency of resource processing.

[0068] In an optional embodiment of the present specification, the above-mentioned acquisition of the target address information of the target server may include the following steps:

[0069] In the case where the target server is an audit server, obtaining resource configuration information of the target resource, wherein the resource configuration information includes first address information, and the first address information is used to access the audit server;

[0070] The first address information is determined as the target address information.

[0071] Specifically, the resource configuration information of the target resource can be stored in the resource primary package of the target resource. The resource primary package refers to a pre-packaged minimal resource set that is used to display the basic interface and functions of the resource as quickly as possible when the user downloads and starts the resource application for the first time. The resource configuration information includes the resource version and the first address information of the target resource. Since the first address information is used to access the audit server, the first address information can be understood as pointing to the audit server.

[0072] In actual applications, there are many ways to obtain the resource configuration information of the target resource, which can be selected according to the actual situation. The embodiments of this specification do not impose any restrictions on this. In one possible implementation of this specification, the resource configuration information of the target resource can be read from other data acquisition devices or resource libraries. In another possible implementation of this specification, the first address information of the audit server can be obtained, and the resource version of the target resource can be determined, and the resource configuration information of the target resource can be constructed according to the first address information and the resource version.

[0073] It should be noted that the first address information for accessing the audit server is configured in the resource configuration information of the target resource. The audit configuration information of the audit server can be obtained based on the first address information to determine whether to audit the current target resource, that is, to determine the target server of the target resource, thereby achieving efficient and accurate resource processing.

[0074] By applying the solution of the embodiment of this specification, when the target server is an audit server, the target address information of the target server can be determined locally by extracting the first address information from the resource configuration information of the target resource, thereby achieving efficient acquisition of the target address information.

[0075] In an optional embodiment of the present specification, the audit configuration information further includes second address information, and the second address information is used to access the running server; the above-mentioned acquisition of the target address information of the target server may include the following steps:

[0076] When the target server is a running server, the second address information is determined as the target address information.

[0077] It should be noted that by configuring the second address information for accessing the running server in the audit configuration information of the audit server, after the target resource is audited by the audit server, the second address information can be extracted from the audit configuration information of the audit server, and the second address information can be determined as the target address information. Then, based on the target address information, the target resource is sent to the running server, and the running server runs the target resource.

[0078] By applying the solution of the embodiment of this specification, when the target server is a running server, the target address information is quickly acquired by extracting the second address information from the audit configuration information of the audit server.

[0079] In an optional embodiment of the present specification, after sending the target resource to the target server for processing and obtaining the resource processing result, the following steps may also be included:

[0080] In the case where the target server is an audit server, the resource audit version is updated to obtain an updated resource audit version, wherein the updated resource audit version is greater than the resource version.

[0081] It should be noted that after the target resource is sent to the audit server for audit and the resource audit result is obtained, since the audit server has already audited the target resource, in order to avoid the audit server from repeatedly auditing the target resource, the resource audit version in the audit configuration information can be updated, thereby updating the resource audit scope of the audit server. Furthermore, when updating the resource audit version, since the resource audit scope is the resources whose resource version is greater than or equal to the resource audit version, the updated resource audit version should be greater than the resource version of the target resource, so that the updated resource audit scope determined based on the updated resource audit version does not include the resource version of the target resource, thereby excluding the target resource from the resource audit scope. In actual applications, according to the resource version of the target resource, when updating the resource audit version, the resource version can be increased by 1, or a preset value (such as 2) can be increased to obtain an updated resource audit version. The update method is set according to the actual situation, and the embodiments of this specification do not impose any restrictions on this.

[0082] By applying the solution of the embodiment of this specification, when the target server is an audit server, after the target server processes the target resource, the resource audit version of the audit server is updated in time to avoid the audit server from auditing the target resource again, thus saving audit resources.

[0083] In an optional embodiment of the present specification, when the target server is an audit server, updating the resource audit version and obtaining the updated resource audit version may further include the following steps:

[0084] According to the updated resource audit version, a resource version of the adjusted resource is determined, wherein the adjusted resource is obtained based on adjusting the target resource, and the resource version of the adjusted resource is greater than the updated resource audit version.

[0085] Specifically, the adjustment resource refers to the resource obtained after adjusting the target resource. The adjustment method includes but is not limited to content addition, content deletion, and content modification. After adjusting the target resource, only the changed part of the target resource (such as the program code corresponding to the new function in the game resource) can be used as the adjustment resource. The changed part and the unchanged part of the target resource can also be used as the adjustment resource, which is selected according to the actual situation, and the embodiments of this specification do not make any restrictions on this.

[0086] It should be noted that after adjusting the target resource to obtain the adjusted resource, the resource version of the adjusted resource is still the resource version of the target resource, while the audit resource version of the audit server has been updated, resulting in the resource version of the adjusted resource not being within the updated resource audit scope, resulting in the audit server not auditing the adjusted resource. Since the adjusted resource includes a portion that has not been audited by the audit server and needs to be audited by the audit server, the resource version of the adjusted resource can be determined based on the updated resource audit version after the resource audit version is updated and the updated resource audit version is obtained, so that the resource version of the adjusted resource is within the updated resource audit scope, ensuring that the audit server can audit the adjusted resource. In actual applications, when determining the resource version of the adjusted resource based on the updated resource audit version, the updated resource audit version can be increased by 1, or a preset value (such as 2) can be increased to obtain the resource version of the adjusted resource. The update method is specifically set according to the actual situation, and the embodiments of this specification do not impose any restrictions on this.

[0087] By applying the solution of the embodiment of this specification, after updating the resource audit version, the resource version of the adjusted resource is determined based on the updated resource audit version, ensuring that the audit server can audit the adjusted resource, further ensuring the security of the adjusted resource.

[0088] In the embodiments of this specification, taking the target resource as a game resource as an example, the game resource cannot be updated to the formal environment before it passes the review and is put on the shelves, so the auditor needs to conduct an audit in a specific audit environment. Once the review is passed and put on the shelves, the player needs to connect to the formal environment instead of the audit environment when downloading the new game resource. In response to the above problems, the embodiments of this specification propose a resource processing method to achieve the conversion of the CDN address, so that the game resources point to the audit CDN to download the game resources that need to be reviewed during the review stage, and connect to the audit server to review the game resources that need to be reviewed. When the game application passes the review and is put on the application store, the player downloads and installs the game application, and the CDN address can be converted to point to the running CDN to download the game resources that have passed the review, and connect to the formal server to run the game resources that have passed the review. This ensures that during the review stage, the auditor is connected to the review environment, and after the review is passed and put on the shelves, the player downloads and installs the new game resources and connects to the running environment.

[0089] The following combination Figure 3 , taking the application of the resource processing method provided in this specification in the game resource processing scenario as an example, the resource processing method is further explained. Figure 3 A flow chart of a processing process of a resource processing method provided by an embodiment of the present specification is shown. The resource processing process can be divided into three stages: information configuration stage, resource processing stage and information update stage. These three stages are described below respectively.

[0090] Information configuration stage: configure the resource configuration information of the game resources in the first package of the game resources, and configure the audit configuration information in the audit server. The resource configuration information and the audit configuration information can be in the form of a CDN configuration table. The resource configuration information includes the resource version number of the game resources and the first address information of the audit server. The audit configuration information includes the audit resource version number of the audit server and the second address information of the running server.

[0091] Resource processing stage: Determine whether to download the second address information from the audit server based on the resource version number of the game resource. Specifically, if the resource version number is less than the audit resource version number, the second address information is downloaded from the audit server to connect to the running server. If the resource version number is greater than or equal to the audit resource version number, the second address information is not downloaded from the audit server, and the audit server is directly connected based on the first address information.

[0092] Information update stage: After the game resources are reviewed and approved, the review resource version number of the review server is increased so that the increased review resource version number is greater than the resource version number in the first package. When the game resources are reviewed again, the resource version number in the first package is increased so that the increased resource version number is greater than the review resource version number of the review server, ensuring that the review server is connected when the game resources are reviewed again.

[0093] It should be noted that the resource configuration information and audit configuration information can be downloaded and updated when the game resources are started, so that when the resources are processed, it is determined whether to connect to the audit server or the running server based on the latest resource configuration information and audit configuration information, in preparation for subsequent resource updates.

[0094] In an optional embodiment of the present specification, the resource version number and the resource review version number can be overwritten by constructing a serial number to ensure the correctness of the resource version number and the resource review version number. For example: the first package build serial number = resource version number = 1. After the review is passed, the resource review version number is greater than the serial number, and the build serial number = resource review version number = 2. When it is reviewed again, the resource version number is greater than the resource review version number, and the first package build serial number = resource version number = 3. See Table 1 below, which is an example table of updates to the resource version number and the resource review version number.

[0095] Table 1 Example of update status of resource version number and resource audit version number

[0096] Updates Resource version number Resource audit version number Arraignment 1 1 Review 1 2 release 2 2 Arraignment 3 2 Review 3 4 release 4 4

[0097] As shown in Table 1 above, when the game resource is first submitted for review, the resource version number of the game resource is 1, and the resource review version number of the review server is 1. Since the resource version number 1 is equal to the resource review version number 1, the game resource is sent to the review server for review. After the game resource is reviewed, the resource review version number is updated from 1 to 2 to ensure that the resource review version number is greater than the resource version number. Then, since the game resource has been reviewed, the game resource can be sent to the running server to realize the release of the game resource. When releasing the game resource, the resource version number can be updated from 1 to 2.

[0098] During the second review, since the resource review version number has been updated from 1 to 2, the resource version number can be updated from 2 to 3 based on the updated resource review version number 2 to ensure that the resource version number is greater than the resource review version number, thereby connecting to the review server. Since resource version number 3 is greater than resource review version number 2, the game resources are sent to the review server for review. After the game resources are reviewed, the resource review version number is updated from 2 to 4 to ensure that the resource review version number is greater than the resource version number to avoid repeating the second review. Then, since the game resources have been reviewed, the game resources can be sent to the running server to realize the release of the game resources. When releasing game resources, the resource version number can be updated from 3 to 4.

[0099] Corresponding to the above resource processing method embodiment, this specification also provides a resource processing device embodiment. Figure 4 FIG. 1 shows a schematic diagram of the structure of a resource processing device provided by an embodiment of the present specification. Figure 4 As shown, the device comprises:

[0100] The acquisition module 402 is configured to acquire the audit configuration information of the audit server in response to the processing request for the target resource, wherein the audit configuration information includes the resource audit version of the audit server;

[0101] The screening module 404 is configured to screen out the target server from the running server and the review server according to the resource version and the resource review version of the target resource;

[0102] The sending module 406 is configured to send the target resource to the target server for processing and obtain a resource processing result.

[0103] Optionally, the device further includes: an update module, configured to update the resource audit version when the target server is an audit server, and obtain an updated resource audit version, wherein the updated resource audit version is greater than the resource version.

[0104] Optionally, the device further includes: a determination module configured to determine a resource version of an adjusted resource based on an updated resource audit version, wherein the adjusted resource is obtained based on adjusting the target resource, and the resource version of the adjusted resource is greater than the updated resource audit version.

[0105] Optionally, the screening module 404 is further configured to determine the audit server as the target server of the target resource when the resource version is greater than or equal to the resource audit version; and to determine the running server as the target server of the target resource when the resource version is less than the resource audit version.

[0106] Optionally, the sending module 406 is further configured to obtain target address information of the target server; based on the target address information, send the target resource to the target server for processing to obtain a resource processing result.

[0107] Optionally, the sending module 406 is further configured to obtain resource configuration information of the target resource when the target server is an audit server, wherein the resource configuration information includes first address information, and the first address information is used to access the audit server; and determine the first address information as the target address information.

[0108] Optionally, the audit configuration information also includes second address information, and the second address information is used to access the running server; the sending module 406 is further configured to determine the second address information as the target address information when the target server is the running server.

[0109] Optionally, the target resource includes a target game resource; the acquisition module 402 is further configured to acquire audit configuration information of the audit server in response to a start request for the target game resource.

[0110] By applying the solution of the embodiment of this specification, since the resource processing device includes an acquisition module, a screening module and a sending module, through the joint action of these three modules, it can be automatically determined whether the target resource is audited by the audit server or the target resource is directly run by the running server, thereby improving resource processing efficiency.

[0111] The above is a schematic scheme of a resource processing device of this embodiment. It should be noted that the technical scheme of the resource processing device and the technical scheme of the resource processing method described above are of the same concept, and the details not described in detail in the technical scheme of the resource processing device can be found in the description of the technical scheme of the resource processing method described above.

[0112] Figure 5 The block diagram of a computing device provided by one embodiment of the present specification is shown. The components of the computing device 500 include but are not limited to a memory 510 and a processor 520. The processor 520 is connected to the memory 510 via a bus 530, and the database 550 is used to store data.

[0113] The computing device 500 also includes an access device 540 that enables the computing device 500 to communicate via one or more networks 560. Examples of these networks include a 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. The access device 540 may include one or more of any type of network interface, wired or wireless (e.g., a network interface card (NIC)), such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide 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 the like.

[0114] In one embodiment of the present specification, the above components of the computing device 500 and Figure 5 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 5 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0115] The computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 500 may also be a mobile or stationary server.

[0116] The processor 520 is used to execute computer programs / instructions, which implement the steps of the above-mentioned resource processing method when executed by the processor.

[0117] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the resource processing method described above are of the same concept, and the details not described in detail in the technical scheme of the computing device can be found in the description of the technical scheme of the resource processing method described above.

[0118] An embodiment of the present specification further provides a computer-readable storage medium storing a computer program / instruction, which implements the steps of the above-mentioned resource processing method when executed by a processor.

[0119] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the resource processing method described above are of the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the resource processing method described above.

[0120] An embodiment of the present specification also provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned resource processing method when executed by a processor.

[0121] The above is a schematic scheme of a computer program product of this embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the resource processing method described above are of the same concept, and the details not described in detail in the technical scheme of the computer program product can be found in the description of the technical scheme of the resource processing method described above.

[0122] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0123] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0124] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0125] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0126] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. A resource processing method, characterized in that: include: In response to a processing request for a target resource, obtaining audit configuration information of an audit server, wherein the audit configuration information includes a resource audit version of the audit server; According to the resource version of the target resource and the resource audit version, the target server is selected from the running server and the audit server; The target resource is sent to the target server for processing to obtain a resource processing result.

2. The method according to claim 1, characterized in that After sending the target resource to the target server for processing and obtaining the resource processing result, the method further includes: In the case where the target server is the audit server, the resource audit version is updated to obtain an updated resource audit version, wherein the updated resource audit version is greater than the resource version.

3. The method according to claim 2, characterized in that In the case where the target server is the audit server, updating the resource audit version, and obtaining the updated resource audit version, further comprising: According to the updated resource audit version, a resource version of an adjusted resource is determined, wherein the adjusted resource is obtained based on adjusting the target resource, and the resource version of the adjusted resource is greater than the updated resource audit version.

4. The method according to claim 1, characterized in that: The step of selecting a target server from the running server and the audit server according to the resource version of the target resource and the resource audit version includes: In the case where the resource version is greater than or equal to the resource audit version, determining the audit server as the target server of the target resource; In a case where the resource version is smaller than the resource audit version, the running server is determined as the target server of the target resource.

5. The method according to claim 1, characterized in that The sending the target resource to the target server for processing to obtain a resource processing result includes: Obtaining target address information of the target server; Based on the target address information, the target resource is sent to the target server for processing to obtain a resource processing result.

6. The method according to claim 5, characterized in that The obtaining the target address information of the target server includes: In the case where the target server is the audit server, obtaining resource configuration information of the target resource, wherein the resource configuration information includes first address information, and the first address information is used to access the audit server; The first address information is determined as the target address information.

7. The method according to claim 5, characterized in that The audit configuration information also includes second address information, and the second address information is used to access the operation server; The obtaining the target address information of the target server includes: In a case where the target server is the running server, the second address information is determined as the target address information.

8. The method according to claim 1, characterized in that The target resources include target game resources; The step of obtaining audit configuration information of the audit server in response to the processing request for the target resource includes: In response to the start request for the target game resource, the audit configuration information of the audit server is obtained.

9. A resource processing device, characterized in that: include: An acquisition module, configured to acquire audit configuration information of an audit server in response to a processing request for a target resource, wherein the audit configuration information includes a resource audit version of the audit server; A screening module is configured to screen out a target server from the running server and the audit server according to the resource version of the target resource and the resource audit version; The sending module is configured to send the target resource to the target server for processing to obtain a resource processing result.

10. A computing device, characterized in that: include: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer program / instructions are executed by the processor, the steps of the method according to any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium, characterized in that: It stores a computer program / instruction, which implements the steps of the method described in any one of claims 1 to 8 when executed by a processor.

12. A computer program product, characterized in that The method comprises a computer program / instruction which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 8.