Data processing method and device, equipment and medium

Through the introduction of data processing methods for first use and then paid in the use of virtual resources, it solves the problem of deducting data even before use of virtual resources, and realizes more reasonable data processing and improved user experience.

CN119379292APending Publication Date: 2025-01-28BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411303116.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

In the virtual resource usage scenario, users need to perform data deduction operations corresponding to permissions before using these resources, resulting in the data being deducted even if the resources are not actually used, which has unreasonable problems and affects the user experience.

Method used

Provide a data processing method, in response to the current object's request for the use of target virtual resources, obtain its service mode, record the usage situation, and generate target data. Mode.

Benefits of technology

It improves the rationality of data processing, avoids deduction, or not, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119379292A_ABST
    Figure CN119379292A_ABST
Patent Text Reader

Abstract

The invention provides a data processing method and device, equipment and a medium, and relates to the technical field of computers, in particular to the technical fields of digital commodities, intelligent transactions and the like. The data processing method comprises the steps of obtaining a service mode of a current object in response to a use request of the current object for a target virtual resource; the target virtual resource is a virtual resource with use permission of a preset type object; in response to the fact that the service mode is a preset mode, recording the use condition of the target virtual resource by the current object, and generating target data based on the use condition; the target data is used for representing a value corresponding to the use condition; and in response to the arrival of a preset deduction time point, executing a deduction operation based on the target data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, specifically to the technical fields of digital commodities, smart transactions, etc., and in particular to a data processing method, device, equipment and medium. Background Art

[0002] In the scenario of using virtual resources, for some virtual resources, users are usually required to have certain permissions to use these virtual resources. In order to have these permissions, it is necessary to first perform the deduction operation of the data corresponding to these permissions. In other words, it is necessary to deduct before use. In some cases, the user may have opened the permissions but did not actually use these virtual resources, but the data was still deducted. Summary of the invention

[0003] The present disclosure provides a data processing method, apparatus, device and medium.

[0004] According to one aspect of the present disclosure, a data processing method is provided, comprising: in response to a current object's request for use of a target virtual resource, obtaining a service mode of the current object; the target virtual resource is a virtual resource that a preset type object has usage rights for; in response to the service mode being a preset mode, recording usage of the target virtual resource by the current object, and generating target data based on the usage; the target data is used to characterize a value corresponding to the usage; and in response to reaching a preset deduction time point, performing a deduction operation based on the target data.

[0005] According to another aspect of the present disclosure, a data processing device is provided, including: an acquisition module, used to obtain the service mode of the current object in response to the current object's request for use of the target virtual resource; the target virtual resource is a virtual resource that a preset type object has usage rights for; a generation module, used to record the usage of the target virtual resource by the current object in response to the service mode being the preset mode, and generate target data based on the usage; the target data is used to characterize the value corresponding to the usage; and an operation module, used to perform a deduction operation based on the target data in response to reaching a preset deduction time point.

[0006] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any method as described in any of the above aspects.

[0007] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any one of the methods according to any one of the above aspects.

[0008] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the methods described in any one of the above aspects.

[0009] According to the embodiments of the present disclosure, the rationality of data processing can be improved.

[0010] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0012] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure;

[0013] Figure 2 is a schematic diagram of an application scenario for implementing an embodiment of the present disclosure;

[0014] Figure 3 is a schematic diagram of activation of a setting mode provided according to an embodiment of the present disclosure;

[0015] Figure 4 is a schematic diagram according to a second embodiment of the present disclosure;

[0016] Figure 5 is a schematic diagram according to a third embodiment of the present disclosure;

[0017] Figure 6 It is a schematic diagram of an electronic device used to implement the data processing method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0018] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0019] In the related art, permissions are usually first opened through a deduction operation, and then resources are used. Regardless of whether the resources are used subsequently, the deduction operation has been performed in advance on the permissions.

[0020] Therefore, the above data processing method has unreasonable problems and affects the user experience.

[0021] In order to improve the rationality of data processing, the present disclosure provides the following embodiments.

[0022] Figure 1 is a schematic diagram according to the first embodiment of the present disclosure. This embodiment provides a data processing method, such as Figure 1 As shown, the method includes:

[0023] 101. In response to a use request of a current object for a target virtual resource, obtain a service mode of the current object; the target virtual resource is a virtual resource that a preset type object has use authority for.

[0024] 102. In response to the service mode being a preset mode, record usage of the target virtual resource by the current object, and generate target data based on the usage; the target data is used to characterize a value corresponding to the usage.

[0025] 103. In response to reaching a preset deduction time point, performing a deduction operation based on the target data.

[0026] The embodiments of the present disclosure are mainly aimed at the usage scenario of the target virtual resource, and the target virtual resource is a virtual resource that a preset type object has the right to use.

[0027] For example, in the digital commodity scenario, the preset type object is usually called a member, and the target virtual resource at this time can be called a member commodity.

[0028] In the related art, member products are only available to members. For example, if a user needs to use a certain product, and the product is a member product, the user needs to activate membership first. When activating membership, a fee is required, such as monthly payment. After the user activates membership, regardless of whether the user actually uses the member product later, the membership fee has been prepaid. This is the usual pay first, then use model.

[0029] The above-mentioned pay-first-then-use model has certain problems, such as the need to pay first, and the monthly or annual membership fee is fixed regardless of how much the user uses. This is unreasonable and affects the user experience.

[0030] In order to solve the problem of the pay-first-use-later model for member products, the embodiments of the present disclosure provide a new model, which can be called the pay-first-use-later model for member products.

[0031] The current object refers to the object to use the target virtual resource, such as the current user A to use the member product.

[0032] When the current object applies to use the target virtual resource, the service mode of the current object may be determined first. The service mode includes: a preset mode and a non-preset mode. The preset mode may be specifically referred to as a pay-as-you-go mode.

[0033] The provider of the target virtual resource can display guidance information to the current object in the preset interface or after receiving the use request, and the guidance information is used to guide the current object to activate the preset mode. The guidance information can specifically include a detailed introduction to the preset mode, advantages, and other information that is conducive to the current object activating the preset mode.

[0034] When it is determined that the service mode of the current object is the preset mode, even if the current object is not a preset type object (such as a member), the current object is still allowed to use the target virtual resource, record the current object's usage of the target virtual object, and generate target data based on the usage.

[0035] Depending on the target virtual object, the type of usage may be different. For example, if the target virtual object is a download type, the usage may be download traffic data; or, if the target virtual object is a storage type, the usage may be storage space capacity, etc.

[0036] The target data may specifically be billing data.

[0037] The billing data can record usage in detail, such as usage time, usage volume (such as total downloaded traffic), unit download traffic fee, total fee, etc.

[0038] The target data may be updated periodically, such as updating billing data once a day.

[0039] After reaching the preset deduction time point, the deduction operation is performed based on the target data.

[0040] For example, if the preset deduction is on a monthly basis, then at a preset time point of each month (such as the last time point of the last day of each month), the entire bill data of the month is deducted.

[0041] Specifically, the provider of the target virtual resources can store the usage of the current object and the target data in the memory. After the deduction time point is reached, the provider reads the target data from the memory and sends a deduction request to the third-party payment platform, which carries the current object identifier and its corresponding target data. The third-party payment platform deducts the total fee in the bill data from the current object's account based on the deduction request.

[0042] In this embodiment, for the current object in the preset mode, when the current object generates a request to use the target virtual resource, the current object is not required to open the corresponding permission for the target virtual resource. Instead, the usage of the target virtual resource by the current object is recorded, and target data is generated based on the usage. That is, the current object in the preset mode can be allowed to use the target virtual resource first, and after the deduction time point is reached, the deduction operation is performed according to the target data, thereby realizing use before deduction, and the deduction is determined based on the usage, rather than a fixed deduction corresponding to the preset type object. This can improve the rationality of data processing and enhance the user experience.

[0043] In order to better understand the present disclosure, the application scenarios involved in the present disclosure are described as follows:

[0044] Figure 2 It is a schematic diagram of an application scenario for implementing the embodiment of the present disclosure.

[0045] like Figure 2 As shown, this application scenario includes: a client, a resource server, and a third-party payment platform.

[0046] The client is deployed on the user terminal 201, and the user terminal may include: a personal computer (PC), a mobile device (such as a mobile phone), a tablet computer, a laptop computer, a smart wearable device, etc.

[0047] The resource server interacts with the client and provides virtual resources to users.

[0048] The resource server is deployed on the resource server 202. The resource server can be a local server or a cloud server. There can be one or more servers. Multiple servers can form a server cluster to provide resource services in a cluster manner.

[0049] The third-party payment platform interacts with the resource server and provides payment services.

[0050] The third-party payment platform is deployed on the payment server 203. The payment server can be a local server or a cloud server. There can be one or more servers. Multiple servers can form a server cluster to provide payment services in a cluster manner.

[0051] Taking the network disk service as an example, the client is specifically the network disk client. The user interacts with the network disk server through the network disk client and uses the services provided by the network disk server.

[0052] For some specific resources, such as the "ultra-fast download" service, users can open a network disk membership. In related technologies, users can use the "ultra-fast download" service only after opening a network disk membership, while non-members cannot use this specific service.

[0053] In the disclosed embodiment, a certain user (such as user A), assuming that user A has not activated a network disk membership, then when user A needs to use the "ultra-fast download" service, the network disk server can guide user A to activate the "pay later" mode. No prepayment is required to activate this mode. After activating this mode, even if user A is not a member, user A can use the "ultra-fast download" service. The network disk server records the usage of user A, generates billing data based on the usage, and settles the billing data when the settlement point is reached. When the settlement point is reached, the network disk server interacts with the payment server to perform the deduction operation. In this way, the effect of "pay later after use" and deduction according to actual usage is achieved.

[0054] The resource server can display guidance information to the user on the purchase page or when the user uses the target virtual resource to guide the user to activate the pay-later mode.

[0055] Figure 3 It is a schematic diagram of activation of the setting mode provided according to an embodiment of the present disclosure.

[0056] like Figure 3 As shown, taking the guidance of users when using target virtual resources as an example, when the current user needs to use resources that members have permissions to, such as high-speed download services, and the current user is not a member, guidance information is displayed to the current user, and the guidance information includes a selection (activation) option for a set mode (pay later), and the guidance information may also include an introduction to the set mode and the rights and interests after activation, so as to increase the activation rate of the set mode.

[0057] After the user clicks "Confirm", it indicates that the user has activated the "pay later" mode. At this time, the user can be identified as a "pay later" user in the service mode attributes of the current user.

[0058] In order to stimulate user usage, incentive resources may also be provided, such as coupons, and the coupons (such as high-speed download coupons) may be displayed to the current user for the current user to choose to use.

[0059] After confirming that the service mode of the current user is the set mode, the current user's usage of the target virtual resource, such as the download volume, is recorded, and target data is generated based on the usage, such as calculating the total cost based on the download volume and the cost per unit flow.

[0060] The cost per unit of traffic can be determined based on a fixed value and a dynamic value. The fixed value is the same for all users and is set. The dynamic value can be different for different users. For example, the dynamic value is calculated based on preset rules, based on the user's relevant data, whether he has purchased a membership, whether he has purchased goods, etc.

[0061] In addition, you can also set a threshold fee. For example, if the membership fee is X yuan, then X will be used as the threshold fee. If the total fee exceeds X, then X yuan will be charged.

[0062] In addition, if the total fee of the current user reaches X yuan, the current user can also be granted membership rights.

[0063] After calculating the total cost, if there is a coupon, the amount corresponding to the coupon will be deducted as the final cost. After that, the payment will be processed based on the final cost through interaction with the third-party payment platform. Figure 3 As shown, assuming the final cost is XX yuan, these costs will be settled.

[0064] Since the payment is made after use, penalty measures can be implemented for overdue users. For example, if the deduction fails, the user can be reminded to pay within a certain period of time. If the payment is still not made after the deadline, the service will be terminated, credit points will be deducted, etc.

[0065] In combination with the above application scenarios, the present disclosure also provides the following embodiments.

[0066] Figure 4 is a schematic diagram according to a second embodiment of the present disclosure. This embodiment provides a data processing method, the method comprising:

[0067] 401. In response to a request for use of a target virtual resource by a current object, display guidance information to the current object, where the guidance information is used to guide the current object to select the setting mode.

[0068] 402. Based on the selection instruction of the current object, obtain a service mode of the current object.

[0069] For example, refer to Figure 3 After the guidance information is displayed to the user, if the user confirms to use first and pay later, then it is determined that the service mode of the user is the use first and pay later mode.

[0070] In this embodiment, by displaying the guidance information, the current object can be effectively guided to select the setting mode, thereby improving the success rate of setting mode activation.

[0071] In addition, when the current object selects the set mode, the current object information can also be verified, and when the target attribute of the current object meets the preset conditions, the service mode of the current object is set to the set mode. For example, the pay-later mode is enabled for the current object only when the credit score of the current object reaches a preset value.

[0072] 403. In response to the service mode being a preset mode, record usage of the target virtual resource by the current object, and generate target data based on the usage.

[0073] Specifically, they may include:

[0074] In response to the service mode being a preset mode, recording usage of the target virtual resource by the current object;

[0075] Determining initial data corresponding to the current object based on the unit data corresponding to the current object and the usage situation;

[0076] The target data is determined based on the initial data.

[0077] Among them, according to the different types of target virtual resources, the unit data can be different, and the calculation unit of the usage can also be different. For example, the usage of the download class can be specifically the flow rate, assuming it is mGB, the unit data is the value of the unit flow rate, assuming it is x yuan / GB, and the corresponding initial data = m*x; for another example, the usage of the storage class can be specifically the storage space capacity, assuming it is nGB, the unit data is the value of the unit storage capacity, assuming it is y yuan / GB, and the corresponding initial data = n*y. x and y can be different values.

[0078] In this embodiment, the initial data is determined based on the unit data and the usage situation, so that the initial data can be obtained simply and efficiently, thereby improving the processing efficiency.

[0079] Taking a certain target virtual resource as an example, the unit data of different objects may also be different. For example, taking the above x as an example, the x of different users may be different.

[0080] Specifically, the dynamic data is determined based on the attribute information of the current object; the unit data is determined based on the preset fixed data and the dynamic data; and the initial data is determined based on the unit data and the usage situation.

[0081] Taking the above x as an example, the calculation formula may be x=fixed data+dynamic data.

[0082] Among them, fixed data is a preset value, and dynamic data is determined based on the attribute information of the current object, for example, based on whether the user is a member, whether the membership has expired, whether a specific service has been used, etc.

[0083] In this embodiment, the unit data is determined based on fixed data and dynamic data. The dynamic data is obtained based on the attribute information of the current object. In this way, different unit data can be provided for different objects, thereby realizing personalized data processing.

[0084] After obtaining the initial data, the target data is determined based on the initial data. Specifically, it may include:

[0085] If the initial data is less than or equal to the threshold data, the initial data is used as the target data; or, if the initial data is greater than the threshold data, the threshold data is used as the target data; the threshold data is the value data of the preset type object.

[0086] For example, the membership fee is X yuan, and the initial data is Y yuan. If Y<=X, then Y yuan is used as the target data. Otherwise, if Y>X, X yuan is used as the target data.

[0087] In this embodiment, by setting threshold data, when the initial data is greater than the threshold data, the threshold data is used as the target data, so that data capping can be achieved and the user experience can be improved.

[0088] In addition, if Y>X, the current object can also be granted the usage rights of the preset type object. That is, if the usage fee of the current user reaches the membership fee, the current user can be served as a member.

[0089] In addition, deduction resources can also be provided for the current object.

[0090] Specifically, in response to the service mode being a preset mode, prompt information can be displayed to the current object, the prompt information including deduction resources; the usage of the target virtual resources by the current object is recorded, and usage data is generated based on the usage; the deduction resources are deducted from the usage data to obtain the target data.

[0091] For example, if the usage data is Y yuan, and the deduction resource corresponds to Z yuan, then the target data = (YZ) yuan. The usage data can be calculated using the above-mentioned initial data calculation method. And, if (YZ) is greater than X, the target data is still calculated as X yuan.

[0092] In this embodiment, by providing the current user with the deduction resources, the current user can be stimulated to use the target virtual resources, thereby increasing the number of users using the resources.

[0093] 404. In response to reaching a preset deduction time point, perform a deduction operation based on the target data.

[0094] For example, at a preset deduction time point, the resource server interacts with the third-party payment platform, sends the target data to the third-party payment platform, and the third-party payment platform deducts the current user's account data.

[0095] 408. If the deduction operation fails and the preset overdue period is reached, a preset penalty operation is performed on the current object.

[0096] For example, when the deduction fails, the user can be reminded to pay within a certain period of time. If the payment is still not made after the deadline, the user will be punished by terminating the service, deducting credit points, etc.

[0097] In this embodiment, the party that fails to pay on time can be punished to avoid business risks and improve the security of the overall data processing system.

[0098] Figure 5 It is a schematic diagram according to the third embodiment of the present disclosure. This embodiment provides a data processing device. The device 500 includes: an acquisition module 501, a generation module 502 and an operation module 503.

[0099] The acquisition module 501 is used to respond to the current object's request for use of the target virtual resource and obtain the service mode of the current object; the target virtual resource is a virtual resource that a preset type object has usage rights for; the generation module 502 is used to record the usage of the target virtual resource by the current object in response to the service mode being the preset mode, and generate target data based on the usage; the target data is used to characterize the value corresponding to the usage; the operation module 503 is used to perform a deduction operation based on the target data in response to reaching a preset deduction time point.

[0100] In this embodiment, for the current object in the preset mode, when the current object generates a request to use the target virtual resource, the current object is not required to open the corresponding permission for the target virtual resource. Instead, the usage of the target virtual resource by the current object is recorded, and target data is generated based on the usage. That is, the current object in the preset mode can be allowed to use the target virtual resource first, and after the deduction time point is reached, the deduction operation is performed according to the target data, thereby realizing use before deduction, and the deduction is determined based on the usage, rather than a fixed deduction corresponding to the preset type object. This can improve the rationality of data processing and enhance the user experience.

[0101] In some embodiments, the generating module 502 is further configured to:

[0102] In response to the service mode being a preset mode, recording usage of the target virtual resource by the current object;

[0103] Determining initial data corresponding to the current object based on the unit data corresponding to the current object and the usage situation;

[0104] The target data is determined based on the initial data.

[0105] In this embodiment, the initial data is determined based on the unit data and the usage situation, so that the initial data can be obtained simply and efficiently, thereby improving the processing efficiency.

[0106] In some embodiments, the generating module 502 is further configured to:

[0107] Determining dynamic data based on the attribute information of the current object;

[0108] Determining the unit data based on preset fixed data and the dynamic data;

[0109] The initial data is determined based on the unit data and the usage situation.

[0110] In this embodiment, the unit data is determined based on fixed data and dynamic data. The dynamic data is obtained based on the attribute information of the current object. In this way, different unit data can be provided for different objects, thereby realizing personalized data processing.

[0111] In some embodiments, the generating module 502 is further configured to:

[0112] If the initial data is less than or equal to the threshold data, the initial data is used as the target data; or,

[0113] If the initial data is greater than the threshold data, the threshold data is used as the target data;

[0114] The threshold data is the value data of the preset type object.

[0115] In this embodiment, by setting threshold data, when the initial data is greater than the threshold data, the threshold data is used as the target data, so that data capping can be achieved and the user experience can be improved.

[0116] In some embodiments, the acquisition module 501 is further used to:

[0117] In response to a request by the current object for using the target virtual resource, displaying guidance information to the current object, wherein the guidance information is used to guide the current object to select the setting mode;

[0118] Based on the selection instruction of the current object, a service mode of the current object is acquired.

[0119] In this embodiment, by displaying the guidance information, the current object can be effectively guided to select the setting mode, thereby improving the success rate of setting mode activation.

[0120] In some embodiments, the generating module 501 is further used to:

[0121] In response to the service mode being a preset mode, displaying prompt information to the current object, wherein the prompt information includes a deduction resource;

[0122] Recording usage of the target virtual resource by the current object, and generating usage data based on the usage;

[0123] The deduction resource is deducted from the usage data to obtain the target data.

[0124] In this embodiment, by providing the current user with the deduction resources, the current user can be stimulated to use the target virtual resources, thereby increasing the number of users using the resources.

[0125] In some embodiments, the apparatus 500 further includes:

[0126] The processing module is used to execute a preset penalty operation on the current object if the deduction operation fails and a preset overdue period is reached.

[0127] In this embodiment, the party that fails to pay on time can be punished to avoid business risks and improve the security of the overall data processing system.

[0128] It can be understood that in the embodiments of the present disclosure, the same or similar contents in different embodiments can be referenced to each other.

[0129] It can be understood that the “first”, “second”, etc. in the embodiments of the present disclosure are only used for distinction and do not indicate the degree of importance, time sequence, etc.

[0130] It is understandable that unless there is any special limitation on the sequence of steps in the process, it means that the timing relationship between these steps is not limited.

[0131] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0132] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0133] Figure 6 A schematic block diagram of an example electronic device 600 that can be used to implement an embodiment of the present disclosure is shown. The electronic device 600 is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0134] like Figure 6 As shown, the electronic device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0135] Multiple components in the electronic device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the electronic device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0136] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as data processing methods. For example, in some embodiments, the data processing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the data processing method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the data processing method in any other appropriate manner (e.g., by means of firmware).

[0137] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0138] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable task processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0139] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0140] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0141] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0142] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship between the client and the server is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services ("Virtual Private Server", or "VPS" for short). The server may also be a server of a distributed system, or a server combined with a blockchain.

[0143] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0144] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A data processing method, comprising: In response to a use request of a current object for a target virtual resource, acquiring a service mode of the current object; The target virtual resource is a virtual resource that a preset type object has permission to use; In response to the service mode being a preset mode, recording usage of the target virtual resource by the current object, and generating target data based on the usage; The target data is used to characterize the value corresponding to the usage situation; In response to reaching a preset deduction time point, a deduction operation is performed based on the target data.

2. The method according to claim 1, wherein: In response to the service mode being a preset mode, recording usage of the target virtual resource by the current object, and generating target data based on the usage, comprises: In response to the service mode being a preset mode, recording usage of the target virtual resource by the current object; Determining initial data corresponding to the current object based on the unit data corresponding to the current object and the usage situation; The target data is determined based on the initial data.

3. The method according to claim 2, wherein: The determining, based on the unit data corresponding to the current object and the usage condition, the initial data corresponding to the current object includes: Determining dynamic data based on the attribute information of the current object; Determining the unit data based on preset fixed data and the dynamic data; The initial data is determined based on the unit data and the usage situation.

4. The method according to claim 2, wherein: The determining the target data based on the initial data comprises: If the initial data is less than or equal to the threshold data, the initial data is used as the target data; or, If the initial data is greater than the threshold data, the threshold data is used as the target data; The threshold data is the value data of the preset type object.

5. The method according to claim 1, wherein: The step of obtaining the service mode of the current object in response to the use request of the current object for the target virtual resource includes: In response to a request by the current object for using the target virtual resource, displaying guidance information to the current object, wherein the guidance information is used to guide the current object to select the setting mode; Based on the selection instruction of the current object, a service mode of the current object is acquired.

6. The method according to claim 1, wherein in response to the service mode being a preset mode, recording usage of the target virtual resource by the current object and generating target data based on the usage comprises: In response to the service mode being a preset mode, displaying prompt information to the current object, wherein the prompt information includes a deduction resource; Recording usage of the target virtual resource by the current object, and generating usage data based on the usage; The deduction resource is deducted from the usage data to obtain the target data.

7. The method according to claim 1, after the deduction operation is performed based on the target data in response to reaching a preset deduction time point, the method further comprises: If the deduction operation fails and the preset overdue period is reached, a preset penalty operation is performed on the current object.

8. A data processing device, comprising: An acquisition module, configured to acquire a service mode of the current object in response to a use request of the current object for the target virtual resource; The target virtual resource is a virtual resource that a preset type object has permission to use; A generating module, configured to record the usage of the target virtual resource by the current object in response to the service mode being a preset mode, and generate target data based on the usage; The target data is used to characterize the value corresponding to the usage situation; The operation module is used for executing a deduction operation based on the target data in response to reaching a preset deduction time point.

9. The device according to claim 8, wherein: The generating module is further used for: In response to the service mode being a preset mode, recording usage of the target virtual resource by the current object; Determining initial data corresponding to the current object based on the unit data corresponding to the current object and the usage situation; The target data is determined based on the initial data.

10. The device according to claim 9, wherein: The generating module is further used for: Determining dynamic data based on the attribute information of the current object; Determining the unit data based on preset fixed data and the dynamic data; The initial data is determined based on the unit data and the usage situation.

11. The device according to claim 9, wherein: The generating module is further used for: If the initial data is less than or equal to the threshold data, the initial data is used as the target data; or, If the initial data is greater than the threshold data, the threshold data is used as the target data; The threshold data is the value data of the preset type object.

12. The device according to claim 8, wherein: The acquisition module is further used for: In response to a request by the current object for using the target virtual resource, displaying guidance information to the current object, wherein the guidance information is used to guide the current object to select the setting mode; Based on the selection instruction of the current object, a service mode of the current object is acquired.

13. The device according to claim 8, wherein: The generating module is further used for: In response to the service mode being a preset mode, displaying prompt information to the current object, wherein the prompt information includes a deduction resource; Recording usage of the target virtual resource by the current object, and generating usage data based on the usage; The deduction resource is deducted from the usage data to obtain the target data.

14. The apparatus according to claim 8, further comprising: The processing module is used to execute a preset penalty operation on the current object if the deduction operation fails and a preset overdue period is reached.

15. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

16. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-7.

17. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Data processing method and device, computer equipment and computer readable storage medium

    CN107682832A

  • Unified payment system and method supporting smart energy service

    CN111027952A

  • Order processing method and device, server and computer readable storage medium

    CN113361732A

  • Page display method and device, electronic equipment and readable storage medium

    CN114418684A

  • Service request processing method and device, electronic equipment and storage medium

    CN117611154A