Virtual resource processing method and device, electronic equipment and storage medium

Fit the current virtual resources through historical data and operation feedback of virtual resources, predict future expectations, and judge whether to perform resource management operations, solve the problem of low efficiency of virtual resource management in the existing technology, and realize the efficient operation of the application and data quality promote.

CN119248476APending Publication Date: 2025-01-03曹弋
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411250576.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

The prior art is difficult to directly improve the execution efficiency of applications through virtual resource management, and no effective method is proposed to improve the data quality with accounts as the main body to improve resource management efficiency.

Method used

By obtaining virtual resources and operation feedback data at historical moments, fitting the current virtual resources, and predicting the expected value of future virtual resources based on the execution results of preset operations, determining whether resource management operations need to be performed, avoiding unnecessary operations, and improving the application execution efficiency.

Benefits of technology

It effectively avoids unimportant resource management operations, improves application execution efficiency, ensures that important virtual resources are managed necessary, and improves data quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248476A_ABST
    Figure CN119248476A_ABST
Patent Text Reader

Abstract

The invention discloses a virtual resource processing method and device, a storage medium and electronic equipment, and belongs to the technical field of computers, and the method comprises the steps of obtaining a first virtual resource corresponding to a first moment; determining a second virtual resource based on the first virtual resource, a target virtual resource corresponding to a second moment and operation feedback data; and under the condition that the expectation of the target data under the condition of the second virtual resource meets the preset requirement, executing resource management operation on the target virtual resource, the target data is reference data used when the first account executes a second preset operation based on account resources at a third moment, and the account resources refer to the account resources of the first account at the third moment. According to the method and the device, a specific resource management operation is prevented from being executed on unimportant or unnecessary target virtual resources, so that the execution efficiency of the application program is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a virtual resource processing method, device, electronic device and storage medium. Background Art

[0002] In computer applications, accounts can be used as the main body to organize, manage and apply account-related data. As an important virtual resource within an application, data has a significant impact on the execution efficiency of the application.

[0003] However, in the related technologies, it is difficult to directly achieve the goal of reducing unnecessary resource management actions and improving the execution efficiency of applications through the management and analysis of virtual resources. There is also no technical solution proposed to improve the data quality of account-based data through virtual resource analysis, thereby improving the resource management efficiency of accounts. Summary of the invention

[0004] The embodiments of the present application provide a virtual resource processing method, device, electronic device and storage medium. The embodiments of the present application solve at least one of the above technical problems.

[0005] According to one aspect of an embodiment of the present application, a method for processing virtual resources is provided, the method comprising:

[0006] Acquire a first virtual resource corresponding to a first moment, where the first virtual resource belongs to a first account and is used to trigger the first account to perform a first preset operation after the first moment;

[0007] Determining a second virtual resource corresponding to the second moment based on the first virtual resource, a target virtual resource corresponding to the second moment, and operation feedback data, wherein the second moment is a moment next to the first moment, and the operation feedback data indicates an execution result of the first preset operation;

[0008] In the case where the expectation of the target data under the condition of the second virtual resource meets the preset requirement, performing a resource management operation on the target virtual resource;

[0009] Among them, the target data is the reference data used when the first account performs the second preset operation based on the account resources at the third moment, the third moment is the next moment of the second moment, and the account resources refer to the account resources of the first account at the third moment.

[0010] In an exemplary embodiment, the target virtual resource includes first data to be processed and processed second data.

[0011] The second virtual resource includes a third virtual resource determined when only the second data is used, and a fourth virtual resource determined when both the first data and the second data are used.

[0012] The expectation of the target data includes a first expectation corresponding to the third virtual resource and a second expectation corresponding to the fourth virtual resource,

[0013] When the expectation of the target data under the condition of the second virtual resource meets the preset requirement, performing a resource management operation on the target virtual resource includes:

[0014] When the difference between the second expectation and the first expectation is greater than a preset difference threshold, the resource management operation is performed on the first data.

[0015] In an exemplary embodiment, the method further comprises:

[0016] Determining first reference data, where the first reference data is the account resource expectation at the third moment;

[0017] Determining second reference data, where the second reference data is the account resource variance at the third moment;

[0018] Based on the first reference data and the second reference data, a desire for the target data is determined.

[0019] In an exemplary embodiment, the method further comprises:

[0020] Obtaining execution result parameters corresponding to each moment, respectively, to obtain an execution result sequence, wherein the execution result parameters indicate the execution result generated by the first account due to the implementation of the first preset operation and / or the second preset operation, and the last element of the execution result sequence is the execution result parameter corresponding to the second moment;

[0021] Based on the execution result sequence, determining an expectation of the execution result parameter corresponding to the third moment; and using the expectation of the execution result parameter corresponding to the third moment as the first reference data;

[0022] Based on the execution result sequence, determine the variance of the execution result parameter corresponding to the third moment; and use the variance of the execution result parameter corresponding to the third moment as the second reference data.

[0023] In an exemplary embodiment, the execution result parameter includes at least two indication parameters, different indication parameters represent execution results of different dimensions, and the execution result sequence includes an indication parameter sequence corresponding to each dimension.

[0024] Determining the expectation of the execution result parameter corresponding to the third moment based on the execution result sequence includes: fitting the indicator parameter sequence corresponding to each of the dimensions, and predicting the expectation of the execution result parameter corresponding to the third moment.

[0025] In an exemplary implementation, performing the resource management operation on the first data includes:

[0026] Acquire a second account to which the first data belongs;

[0027] The first data is transferred from the second account to the first account.

[0028] In an exemplary embodiment, the method further comprises:

[0029] a desire to obtain target data corresponding to at least one third account;

[0030] determining a weight of each of the first account and each of the third accounts, the weight indicating the importance of the corresponding account;

[0031] Taking the product of the weight of the first account and the expectation of the target data under the first account as the first component;

[0032] The product of the weight of each of the third accounts and the expected value of the target data under the third account is used as the corresponding second component;

[0033] determining a safety factor corresponding to the first data based on the sum of the first component and each of the second components, the safety factor indicating a security level required for the first data;

[0034] A security processing strategy corresponding to the security factor is implemented on the first data.

[0035] According to one aspect of an embodiment of the present application, a virtual resource processing device is provided, the device comprising:

[0036] A first virtual resource acquisition module, used to acquire a first virtual resource corresponding to a first moment, the first virtual resource belonging to a first account and used to trigger the first account to perform a first preset operation after the first moment;

[0037] a second virtual resource determination module, configured to determine a second virtual resource corresponding to the second moment based on the first virtual resource, a target virtual resource corresponding to the second moment, and operation feedback data, wherein the second moment is a moment next to the first moment, and the operation feedback data indicates an execution result of the first preset operation;

[0038] An operation execution module, configured to execute a resource management operation on the target virtual resource in the case where the expectation of the target data under the condition of the second virtual resource meets a preset requirement;

[0039] Among them, the target data is the reference data used when the first account performs the second preset operation based on the account resources at the third moment, the third moment is the next moment of the second moment, and the account resources refer to the account resources of the first account at the third moment.

[0040] According to one aspect of an embodiment of the present application, a computer device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the above-mentioned virtual resource processing method.

[0041] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a code set or an instruction set is stored, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by a processor to implement the above-mentioned virtual resource processing method.

[0042] According to one aspect of an embodiment of the present application, a computer program product is provided, the computer program product comprising computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes to implement the above-mentioned virtual resource processing method.

[0043] The technical solution provided in the embodiments of the present application can bring the following beneficial effects:

[0044] The embodiments of the present application propose a virtual resource processing method, device, storage medium and electronic device. The embodiments of the present application can use the first virtual resource of the first account at a historical moment (first moment), combined with the operation feedback data of the first account and the target virtual resource corresponding to the first account at the current moment (second moment), to fit the second virtual resource of the current first account. The first account performs the first preset operation based on its own virtual resources at any time, so the embodiments of the present application define the virtual resource as a trigger resource or startup resource for executing the first preset operation, and the virtual resource is closely related to the trigger action of the first preset operation.

[0045] Taking the second virtual resource as a condition, it is possible to predict the expectations of the trigger resources or startup resources (target data) used when the first account performs other preset operations (second preset operations) in the future (third moment). That is to say, the embodiment of the present application fits the internal connection between the trigger resources corresponding to different preset operations, so that based on the internal connection between the trigger resources of different preset operations, the change trend of the trigger resources of other preset operations (expectation of target data) can be predicted. This change trend can reflect the influence of the current target virtual resource on the change trend of the trigger resources of other preset operations. Based on this influence, it is determined whether it is necessary to perform specific resource management operations on the target virtual resource, thereby avoiding the execution of specific resource management operations on unimportant or unnecessary target virtual resources, thereby improving the execution efficiency of the application and reducing redundant resource management operations.

[0046] Furthermore, specific resource management operations are performed only on relatively important or relatively necessary target virtual resources, which can improve the data quality of the account to which the target virtual resources belong, and ensure that necessary resource management is performed on important virtual resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 is a schematic diagram of an application program operating environment provided by an embodiment of the present application;

[0049] Figure 2 is a flowchart of a virtual resource processing method provided by an embodiment of the present application;

[0050] Figure 3 is a schematic diagram of a method for determining target data expectations provided by an embodiment of the present application;

[0051] Figure 4 It is a schematic diagram of a prediction scheme provided by an embodiment of the present application;

[0052] Figure 5 This is a flowchart of a data security processing method provided by an embodiment of the present application;

[0053] Figure 6 is a block diagram of a virtual resource processing device provided by an embodiment of the present application;

[0054] Figure 7 It is a structural block diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0055] To make the purpose, technical solution and advantages of this application clearer, the following will further describe the implementation of this application in detail with reference to the accompanying drawings. It should be noted that the various data used in the embodiments of this application have been fully authorized by the relevant entities before use.

[0056] Please refer to Figure 1 , which shows a schematic diagram of an application program running environment provided by an embodiment of the present application under an exemplary implementation. The application program running environment may include: a terminal 10 and a server 20.

[0057] The terminal 10 includes, but is not limited to, electronic devices such as mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle-mounted terminals, game consoles, e-book readers, multimedia playback devices, wearable devices, etc. The terminal 10 may be installed with a client of an application program.

[0058] In an embodiment of the present application, the above-mentioned application can be any application that runs a virtual resource processing service and supports virtual resource processing. Typically, the application is a video application. Of course, in addition to video applications, other types of applications can also run virtual resource processing services and support virtual resource processing. For example, news applications, social applications, search applications, interactive entertainment applications, browser applications, shopping applications, content sharing applications, virtual reality (Virtua l Reality, VR) applications, augmented reality (Augmented Reality, AR) applications, etc., which are not limited in the embodiment of the present application. Optionally, a client of the above-mentioned application is running in the terminal 10.

[0059] The server 20 is used to provide background services for the client of the application in the terminal 10. For example, the server 20 can be the background server of the above application. The server 20 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides 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 (Content Delivery Network), and big data and artificial intelligence platforms. Optionally, the server 20 provides background services for applications in multiple terminals 10 at the same time.

[0060] Optionally, the terminal 10 and the server 20 may communicate with each other via a network 30. The terminal 10 and the server 20 may be directly or indirectly connected via wired or wireless communication, which is not limited in the present application.

[0061] Please refer to Figure 2 , which shows a flowchart of a virtual resource processing method of an exemplary embodiment. The method can be applied to a computer device, which refers to an electronic device with data calculation and processing capabilities. For example, the execution subject of each step can be Figure 1 The method may include the following steps:

[0062] Step S201. Acquire a first virtual resource corresponding to a first moment, where the first virtual resource belongs to a first account and is used to trigger the first account to perform a first preset operation after the first moment.

[0063] The embodiments of the present application do not limit the first account and the application running the virtual resource processing method. Taking the game application as an example, the first account can be a player account in the game application, and the first virtual resource can be any game resource that supports the player account to run the game, such as props, weapons, force value, life value, etc. The first moment is any historical moment of the first account in the application. The first preset operation is any operation that can be triggered by the first account with the support of the first virtual resource, for example, it can be any attack action.

[0064] Step S202. Determine a second virtual resource corresponding to the second moment based on the first virtual resource, the target virtual resource corresponding to the second moment, and the operation feedback data, wherein the second moment is the next moment of the first moment, and the operation feedback data indicates the execution result of the first preset operation.

[0065] The second moment is the current moment of the first account in the application, and the operation feedback data indicates the execution result of the first preset operation. For example, the first account issues an attack action, which will lead to a decrease in force value and the consumption of props. It may also be counterattacked, resulting in a decrease in health value. These all belong to the scope of the description of the operation feedback data. In step S202, the target virtual resources may include data that is not directly owned by the first account, but the data can be accessed at the second moment. For example, the data can be a virtual resource used by the first account. In the case of the first virtual resource owned, the target virtual resource reached, and the operation feedback data received, the second virtual resource can be determined. The second virtual resource is a virtual resource that is disposable to the first account at the second moment and can be used to trigger the first preset operation after the second moment.

[0066] The embodiments of the present application do not limit the method for determining the second virtual resource, because for different applications, how they perform preset operations based on the virtual resources available to the account can be determined according to the execution logic within the application, and the amount of virtual resources available to the account is also a known quantity. Therefore, it does not constitute an implementation obstacle and is not elaborated in the embodiments of the present application.

[0067] In an exemplary embodiment, the target virtual resource includes first data to be processed and second data that has been processed, the first data can be understood as a virtual resource that is only accessible at the second moment but not owned by the first account, and the second data is a virtual resource acquired by the first account at the second moment and owned by the first account. The first data can be a virtual resource that is being tried out.

[0068] Correspondingly, the second virtual resource includes a third virtual resource determined when only the second data is used, and a fourth virtual resource determined when both the first data and the second data are used. The difference between the third virtual resource and the fourth virtual resource is only whether the second data is used, that is, the second virtual resource determined when the first virtual resource is owned, only the second data is used, and the operation feedback data is received is called the third virtual resource; the second virtual resource determined when the first virtual resource is owned, the second data and the first data are used, and the operation feedback data is received is called the fourth virtual resource.

[0069] Step S203: When the expectation of the target data under the condition of the second virtual resource meets the preset requirement, perform a resource management operation on the target virtual resource.

[0070] In an embodiment of the present application, the target data is reference data used when the first account performs a second preset operation based on account resources at a third moment, the third moment is the next moment of the second moment, and the account resources refer to the account resources of the first account at the third moment.

[0071] The third moment is a future moment, therefore, the expectation of the target data and the account resources at the third moment can only be determined by predicting based on the second virtual resources. Account resources can not only support the first account to perform the first preset operation, but also support the first account to perform other preset operations different from the first preset operation. In the embodiment of the present application, the second preset operation is used as a general term, and the present application does not limit the second preset operation. The target data, as the reference data used for the second preset operation, can be a subset or a full set of account resources, or data obtained after specific resource data processing based on account resources. The embodiment of the present application does not limit it, and it can be determined based on the execution logic within the application, and does not constitute an implementation obstacle.

[0072] Only when it is predicted that the expectation of the target data meets the preset requirements, the resource management operation will be performed on the target virtual resource. Specifically, the expectation of the target data includes the first expectation corresponding to the third virtual resource and the second expectation corresponding to the fourth virtual resource. The first expectation means that when the second virtual resource is the third virtual resource, the predicted expectation of the target data is the first expectation; the second expectation means that when the second virtual resource is the fourth virtual resource, the predicted expectation of the target data is the second expectation. When the expectation of the target data under the condition of the second virtual resource meets the preset requirements, the resource management operation is performed on the target virtual resource, including: when the difference between the second expectation and the first expectation is greater than the preset difference threshold, the resource management operation is performed on the first data.

[0073] Only when the difference between the second expectation and the first expectation is greater than the preset difference threshold, the application determines that the first data has a greater influence on the expectation of the target data, or that the first data has a significant impact on the change trend of the target data and has a strong influence on the change trend of the trigger resource of the second preset operation, then the application determines that the first data should be subject to specific resource management to improve the execution efficiency of the application. In other words, the application will not perform specific resource management on the first data that does not have a strong influence, reduce the triggering frequency of specific resource management related operations, reduce false triggering of operations, improve the execution efficiency of the application, and reduce the execution resources consumed by the application.

[0074] Of course, the embodiment of the present application does not limit the difference threshold value, and it can be set according to actual conditions. The embodiment of the present application also does not limit the specific resource management operation performed on the first data. For example, the resource management operation performed on the first data includes: obtaining the second account to which the first data belongs; transferring the first data from the second account to the first account.

[0075] In an exemplary embodiment, please refer to Figure 3 , which shows a schematic diagram of a method for determining the desired target data. The method also includes:

[0076] Step S301: Determine first reference data, where the first reference data is account resource expectations at the third moment.

[0077] The first reference data is obtained by prediction and can be identified as E[c i,t+1 |L t ], where E represents the expectation, i represents the identifier of the first account, t+1 represents the third moment, t represents the second moment, c represents the account resources, and L tThe embodiment of the present application does not limit the prediction method, and the prediction can be performed through a large number of experiments or artificial intelligence models. As long as the internal logic of the application is determined, it can be implemented. Taking the game program as an example, in a specific game scenario, E[c i,t+1 |L t ] can be predicted through artificial intelligence models and does not constitute an implementation obstacle or limitation.

[0078] Step S302: Determine second reference data, where the second reference data is the account resource variance at the third moment.

[0079] The second reference data is obtained by prediction and can be identified as V[c i,t+1 |L t ], where V represents the variance, i represents the identifier of the first account, t+1 represents the third moment, t represents the second moment, c represents the account resources, and L t The embodiment of the present application does not limit the prediction method, and the prediction can be performed through a large number of experiments or artificial intelligence models. As long as the internal logic of the application is determined, it can be implemented. Taking the game program as an example, in a specific game scenario, V[c i,t+1 |L t ] can be predicted through artificial intelligence models and does not constitute an implementation obstacle or limitation.

[0080] Step S303: Determine the expectation of the target data based on the first reference data and the second reference data.

[0081] In one embodiment, based on the formula Among them, u(c i,t+1 )|L t represents the target data determined based on the second virtual resource, and ρ is a preset constant parameter, which can be obtained through experiments or set through experience, and is not limited here.

[0082] In some embodiments, a specific prediction E[c i,t+1 |L t ] or V[c i,t+1 |L t ] scheme. Please refer to Figure 4 , which shows a schematic diagram of a prediction scheme. The method also includes:

[0083] Step S401. Obtain the execution result parameters corresponding to each moment and obtain an execution result sequence, wherein the execution result parameters indicate the execution result generated by the first account due to the implementation of the first preset operation and / or the second preset operation, and the last element of the execution result sequence is the execution result parameter corresponding to the second moment.

[0084] The second moment is the current moment, so the execution result sequence can be understood as a sequence formed by the execution results generated by the first account implementing the first preset operation and / or the second preset operation at each moment up to the current moment.

[0085] The execution result parameter includes at least two indication parameters, different indication parameters represent execution results of different dimensions, and the execution result sequence includes an indication parameter sequence corresponding to each dimension.

[0086] Taking the game application as an example, health value and force value are two different dimensions. Different execution results can be generated in different dimensions of health value and force value, and corresponding indicator parameter sequences can be obtained. In a specific example, the execution result sequence can include three indicator parameter sequences, namely {R s}, {F s},{M s}, where s=t-1,t-2…

[0087] Step S402: Based on the execution result sequence, determine the expectation of the execution result parameter corresponding to the third moment; and use the expectation of the execution result parameter corresponding to the third moment as the first reference data.

[0088] Through artificial intelligence model building, the indicator parameter sequence corresponding to each dimension can be fitted to predict the expectation of the execution result parameter corresponding to the third moment, that is, R t+1 =G({R s}, {F s},{M s}), G is the mapping relationship obtained by fitting the artificial intelligence model, R t+1 It is the output of the artificial intelligence model under the dimension corresponding to R, and its corresponding expectation can be used as the first reference data.

[0089] Step S403: Based on the execution result sequence, determine the variance of the execution result parameter corresponding to the third moment; and use the variance of the execution result parameter corresponding to the third moment as the second reference data.

[0090] The method for obtaining the second reference data does not constitute an implementation obstacle, and can be directly determined based on the internal logic of the application program, which is known information, or can also be obtained by fitting based on the inventive concept of step S402.

[0091] The embodiment of the present application proposes that if the expectation of the target data meets the preset requirements, the importance or influence of the first data on the first account in the dimension of the change trend of the triggering resource of the second preset operation can be quantified. In simple terms, the importance of the first data can be quantified. Then further, the embodiment of the present application also proposes a method for securely processing the first data. Please refer to Figure 5 , which shows a schematic diagram of the data security processing method of an embodiment of the present application. The method also includes:

[0092] Step S501. Obtaining the expectation of target data corresponding to at least one third account.

[0093] The embodiment of the present application does not limit the third account, which can be from a specific account set. For example, taking the game program as an example, the above has determined the expectation of target data for the first account, and other accounts in the same competition area can be determined as third accounts. Based on the same inventive concept, the expectation of target data for each third account is determined.

[0094] Step S502: Determine the weight of each of the first account and each of the third accounts, wherein the weight indicates the importance of the corresponding account.

[0095] The importance of an account is known information and will not be elaborated. Configuring corresponding weights according to the importance of an account is an existing technology and will not be elaborated. For more important accounts, such as VIP accounts, a higher weight can be configured, and vice versa, a lower weight can be configured.

[0096] Step S503. Take the product of the weight of the first account and the expected target data under the first account as the first component; take the product of the weight of each of the third accounts and the expected target data under the third account as the corresponding second component; determine the security factor corresponding to the first data based on the sum of the first component and each of the second components, the security factor indicating the security level required for the first data; implement the security processing strategy corresponding to the security factor on the first data.

[0097] The expectations of the target data under each account are weighted and summed, and the sum result can be mapped to a safety factor. The larger the sum result, the larger the safety factor. The mapping method is not limited, and the existing technology can be used. The safety factor represents the importance of the first data to the account set formed by the first account and each third account. If the importance is high, then the safety factor is also high. Correspondingly, a security processing strategy with a higher security level should be used to process the first data, thereby improving the security of the first data, achieving a balance between data security and the cost of the security processing strategy, and achieving the highest data security under the premise of cost control. Of course, the embodiment of the present application does not limit the security processing strategy, it only needs to achieve the purpose of achieving the higher the safety factor, the more important the first data, and the stricter and safer the security processing strategy used.

[0098] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0099] Please refer to Figure 6 , which shows a block diagram of a virtual resource processing device of an exemplary embodiment. The device has the function of implementing the above-mentioned virtual resource processing method, and the above-mentioned function can be implemented by hardware, or by hardware executing corresponding software. The device can be a computer device, or can be set in a computer device. The device may include:

[0100] A first virtual resource acquisition module 601 is used to acquire a first virtual resource corresponding to a first moment, where the first virtual resource belongs to a first account and is used to trigger the first account to perform a first preset operation after the first moment;

[0101] A second virtual resource determination module 602, configured to determine a second virtual resource corresponding to the second moment based on the first virtual resource, a target virtual resource corresponding to the second moment, and operation feedback data, wherein the second moment is a moment next to the first moment, and the operation feedback data indicates an execution result of the first preset operation;

[0102] An operation execution module 603 is used to execute a resource management operation on the target virtual resource when the expectation of the target data under the condition of the second virtual resource meets the preset requirement;

[0103] Among them, the target data is the reference data used when the first account performs the second preset operation based on the account resources at the third moment, the third moment is the next moment of the second moment, and the account resources refer to the account resources of the first account at the third moment.

[0104] In an exemplary embodiment, the target virtual resource includes first data to be processed and processed second data.

[0105] The second virtual resource includes a third virtual resource determined when only the second data is used, and a fourth virtual resource determined when both the first data and the second data are used.

[0106] The expectation of the target data includes a first expectation corresponding to the third virtual resource and a second expectation corresponding to the fourth virtual resource,

[0107] When the expectation of the target data under the condition of the second virtual resource meets the preset requirement, performing a resource management operation on the target virtual resource includes:

[0108] When the difference between the second expectation and the first expectation is greater than a preset difference threshold, the resource management operation is performed on the first data.

[0109] In an exemplary implementation, the operation execution module 603 is used to execute the following operations:

[0110] Determining first reference data, where the first reference data is the account resource expectation at the third moment;

[0111] Determining second reference data, where the second reference data is the account resource variance at the third moment;

[0112] Based on the first reference data and the second reference data, a desire for the target data is determined.

[0113] In an exemplary implementation, the operation execution module 603 is used to execute the following operations:

[0114] Obtaining execution result parameters corresponding to each moment, respectively, to obtain an execution result sequence, wherein the execution result parameters indicate the execution result generated by the first account due to the implementation of the first preset operation and / or the second preset operation, and the last element of the execution result sequence is the execution result parameter corresponding to the second moment;

[0115] Based on the execution result sequence, determining an expectation of the execution result parameter corresponding to the third moment; and using the expectation of the execution result parameter corresponding to the third moment as the first reference data;

[0116] Based on the execution result sequence, determine the variance of the execution result parameter corresponding to the third moment; and use the variance of the execution result parameter corresponding to the third moment as the second reference data.

[0117] In an exemplary embodiment, the execution result parameter includes at least two indication parameters, different indication parameters represent execution results of different dimensions, and the execution result sequence includes an indication parameter sequence corresponding to each dimension.

[0118] Determining the expectation of the execution result parameter corresponding to the third moment based on the execution result sequence includes: fitting the indicator parameter sequence corresponding to each of the dimensions, and predicting the expectation of the execution result parameter corresponding to the third moment.

[0119] In an exemplary implementation, performing the resource management operation on the first data includes:

[0120] Acquire a second account to which the first data belongs;

[0121] The first data is transferred from the second account to the first account.

[0122] In an exemplary implementation, the operation execution module 603 is used to execute the following operations:

[0123] a desire to obtain target data corresponding to at least one third account;

[0124] determining a weight of each of the first account and each of the third accounts, the weight indicating the importance of the corresponding account;

[0125] Taking the product of the weight of the first account and the expectation of the target data under the first account as the first component;

[0126] The product of the weight of each of the third accounts and the expected value of the target data under the third account is used as the corresponding second component;

[0127] determining a safety factor corresponding to the first data based on the sum of the first component and each of the second components, the safety factor indicating a security level required for the first data;

[0128] A security processing strategy corresponding to the security factor is implemented on the first data.

[0129] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0130] Please refer to Figure 7, which shows a block diagram of a computer device according to an exemplary embodiment, for executing the above virtual resource processing method. Specifically:

[0131] The computer device 700 includes a central processing unit (CPU) 701, a system memory 704 including a random access memory (RAM) 702 and a read-only memory (ROM) 703, and a system bus 705 connecting the system memory 704 and the central processing unit 701. The computer device 700 also includes a basic input / output system (I / O (Input / Output) system) 706 that helps to transmit information between various components in the computer, and a large-capacity storage device 707 for storing an operating system 713, application programs 714 and other program modules 715.

[0132] The basic input / output system 706 includes a display 708 for displaying information and an input device 709 such as a mouse and a keyboard for user inputting information. The display 708 and the input device 709 are connected to the central processing unit 701 through an input / output controller 710 connected to the system bus 705. The basic input / output system 706 may also include an input / output controller 710 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 710 also provides output to a display screen, a printer, or other types of output devices.

[0133] The mass storage device 707 is connected to the central processing unit 701 through a mass storage controller (not shown) connected to the system bus 705. The mass storage device 707 and its associated computer readable medium provide non-volatile storage for the computer device 700. That is, the mass storage device 707 may include a computer readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disk Read-Only Memory) drive.

[0134] Without loss of generality, computer readable media may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read On ly Memory), EEPROM (Electrically Erasable Programmable Read On ly Memory), flash memory or other solid-state storage technologies, CD-ROM, DVD (Digital Video Disc) or other optical storage, cassettes, magnetic tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media are not limited to the above. The above-mentioned system memory 704 and mass storage device 707 can be collectively referred to as memory.

[0135] According to various embodiments of the present application, the computer device 700 can also be connected to a remote computer on the network through a network such as the Internet. That is, the computer device 700 can be connected to the network 712 through the network interface unit 711 connected to the system bus 705, or the network interface unit 711 can be used to connect to other types of networks or remote computer systems (not shown).

[0136] The memory also includes a computer program, which is stored in the memory and configured to be executed by one or more processors to implement the virtual resource processing method.

[0137] In an exemplary embodiment, a computer-readable storage medium is also provided, in which at least one instruction, at least one program, a code set or an instruction set is stored. When the at least one instruction, the at least one program, the code set or the instruction set is executed by a processor, the virtual resource processing method is implemented.

[0138] Specifically, the virtual resource processing method includes:

[0139] Acquire a first virtual resource corresponding to a first moment, where the first virtual resource belongs to a first account and is used to trigger the first account to perform a first preset operation after the first moment;

[0140] Determining a second virtual resource corresponding to the second moment based on the first virtual resource, a target virtual resource corresponding to the second moment, and operation feedback data, wherein the second moment is a moment next to the first moment, and the operation feedback data indicates an execution result of the first preset operation;

[0141] In the case where the expectation of the target data under the condition of the second virtual resource meets the preset requirement, performing a resource management operation on the target virtual resource;

[0142] Among them, the target data is the reference data used when the first account performs the second preset operation based on the account resources at the third moment, the third moment is the next moment of the second moment, and the account resources refer to the account resources of the first account at the third moment.

[0143] In an exemplary embodiment, the target virtual resource includes first data to be processed and processed second data.

[0144] The second virtual resource includes a third virtual resource determined when only the second data is used, and a fourth virtual resource determined when both the first data and the second data are used.

[0145] The expectation of the target data includes a first expectation corresponding to the third virtual resource and a second expectation corresponding to the fourth virtual resource,

[0146] When the expectation of the target data under the condition of the second virtual resource meets the preset requirement, performing a resource management operation on the target virtual resource includes:

[0147] When the difference between the second expectation and the first expectation is greater than a preset difference threshold, the resource management operation is performed on the first data.

[0148] In an exemplary embodiment, the method further comprises:

[0149] Determining first reference data, where the first reference data is the account resource expectation at the third moment;

[0150] Determining second reference data, where the second reference data is the account resource variance at the third moment;

[0151] Based on the first reference data and the second reference data, a desire for the target data is determined.

[0152] In an exemplary embodiment, the method further comprises:

[0153] Obtaining execution result parameters corresponding to each moment, respectively, to obtain an execution result sequence, wherein the execution result parameters indicate the execution result generated by the first account due to the implementation of the first preset operation and / or the second preset operation, and the last element of the execution result sequence is the execution result parameter corresponding to the second moment;

[0154] Based on the execution result sequence, determining an expectation of the execution result parameter corresponding to the third moment; and using the expectation of the execution result parameter corresponding to the third moment as the first reference data;

[0155] Based on the execution result sequence, determine the variance of the execution result parameter corresponding to the third moment; and use the variance of the execution result parameter corresponding to the third moment as the second reference data.

[0156] In an exemplary embodiment, the execution result parameter includes at least two indication parameters, different indication parameters represent execution results of different dimensions, and the execution result sequence includes an indication parameter sequence corresponding to each dimension.

[0157] Determining the expectation of the execution result parameter corresponding to the third moment based on the execution result sequence includes: fitting the indicator parameter sequence corresponding to each of the dimensions, and predicting the expectation of the execution result parameter corresponding to the third moment.

[0158] In an exemplary implementation, performing the resource management operation on the first data includes:

[0159] Acquire a second account to which the first data belongs;

[0160] The first data is transferred from the second account to the first account.

[0161] In an exemplary embodiment, the method further comprises:

[0162] a desire to obtain target data corresponding to at least one third account;

[0163] determining a weight of each of the first account and each of the third accounts, the weight indicating the importance of the corresponding account;

[0164] Taking the product of the weight of the first account and the expectation of the target data under the first account as the first component;

[0165] The product of the weight of each of the third accounts and the expected value of the target data under the third account is used as the corresponding second component;

[0166] determining a safety factor corresponding to the first data based on the sum of the first component and each of the second components, the safety factor indicating a security level required for the first data;

[0167] A security processing strategy corresponding to the security factor is implemented on the first data.

[0168] Optionally, the computer readable storage medium may include: ROM (Read On Memory), RAM (Random Access Memory), SSD (Solid State Drives) or optical disk, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0169] In an exemplary embodiment, a computer program product or a computer program is also provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned virtual resource processing method.

[0170] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.

[0171] In addition, in the specific implementation of this application, related data such as user information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0172] The above are merely exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A virtual resource processing method, characterized in that: The method comprises: Acquire a first virtual resource corresponding to a first moment, where the first virtual resource belongs to a first account and is used to trigger the first account to perform a first preset operation after the first moment; Determining a second virtual resource corresponding to the second moment based on the first virtual resource, a target virtual resource corresponding to the second moment, and operation feedback data, wherein the second moment is a moment next to the first moment, and the operation feedback data indicates an execution result of the first preset operation; In the case where the expectation of the target data under the condition of the second virtual resource meets the preset requirement, performing a resource management operation on the target virtual resource; Among them, the target data is the reference data used when the first account performs the second preset operation based on the account resources at the third moment, the third moment is the next moment of the second moment, and the account resources refer to the account resources of the first account at the third moment.

2. The method according to claim 1, characterized in that The target virtual resource includes first data to be processed and processed second data, The second virtual resource includes a third virtual resource determined when only the second data is used, and a fourth virtual resource determined when both the first data and the second data are used. The expectation of the target data includes a first expectation corresponding to the third virtual resource and a second expectation corresponding to the fourth virtual resource, When the expectation of the target data under the condition of the second virtual resource meets the preset requirement, performing a resource management operation on the target virtual resource includes: When the difference between the second expectation and the first expectation is greater than a preset difference threshold, the resource management operation is performed on the first data.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: Determining first reference data, where the first reference data is the account resource expectation at the third moment; Determining second reference data, where the second reference data is the account resource variance at the third moment; Based on the first reference data and the second reference data, a desire for the target data is determined.

4. The method according to claim 3, characterized in that The method further comprises: Obtaining execution result parameters corresponding to each moment, respectively, to obtain an execution result sequence, wherein the execution result parameters indicate the execution result generated by the first account due to the implementation of the first preset operation and / or the second preset operation, and the last element of the execution result sequence is the execution result parameter corresponding to the second moment; Based on the execution result sequence, determining an expectation of the execution result parameter corresponding to the third moment; and using the expectation of the execution result parameter corresponding to the third moment as the first reference data; Based on the execution result sequence, determine the variance of the execution result parameter corresponding to the third moment; and use the variance of the execution result parameter corresponding to the third moment as the second reference data.

5. The method according to claim 4, characterized in that The execution result parameter includes at least two indication parameters, different indication parameters represent execution results of different dimensions, and the execution result sequence includes an indication parameter sequence corresponding to each dimension. Determining the expectation of the execution result parameter corresponding to the third moment based on the execution result sequence includes: fitting the indicator parameter sequence corresponding to each of the dimensions, and predicting the expectation of the execution result parameter corresponding to the third moment.

6. The method according to claim 2, characterized in that The performing the resource management operation on the first data includes: Acquire a second account to which the first data belongs; The first data is transferred from the second account to the first account.

7. The method according to claim 2, characterized in that The method further comprises: a desire to obtain target data corresponding to at least one third account; determining a weight of each of the first account and each of the third accounts, the weight indicating the importance of the corresponding account; Taking the product of the weight of the first account and the expectation of the target data under the first account as the first component; The product of the weight of each of the third accounts and the expected value of the target data under the third account is used as the corresponding second component; determining a safety factor corresponding to the first data based on the sum of the first component and each of the second components, the safety factor indicating a security level required for the first data; A security processing strategy corresponding to the security factor is implemented on the first data.

8. A virtual resource processing device, characterized in that: The device comprises: A first virtual resource acquisition module, used to acquire a first virtual resource corresponding to a first moment, the first virtual resource belonging to a first account and used to trigger the first account to perform a first preset operation after the first moment; a second virtual resource determination module, configured to determine a second virtual resource corresponding to the second moment based on the first virtual resource, a target virtual resource corresponding to the second moment, and operation feedback data, wherein the second moment is a moment next to the first moment, and the operation feedback data indicates an execution result of the first preset operation; An operation execution module, configured to execute a resource management operation on the target virtual resource in the case where the expectation of the target data under the condition of the second virtual resource meets a preset requirement; Among them, the target data is the reference data used when the first account performs the second preset operation based on the account resources at the third moment, the third moment is the next moment of the second moment, and the account resources refer to the account resources of the first account at the third moment.

9. A computer device, characterized in that: The computer device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the virtual resource processing method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement the virtual resource processing method as described in any one of claims 1 to 7.