Resource management method, device, equipment and computer-readable storage medium

Through interaction between the task details page and the resource booking page, users can effectively book and manage the resources required by specific tasks, solve the problem of low resource management efficiency in existing technology, and achieve higher accuracy and credit value Essence

CN112561107BActive Publication Date: 2025-01-24BEIJING SANKUAI ONLINE TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202011530181.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-22
Publication Date
2025-01-24
Estimated Expiration
2040-12-22

AI Technical Summary

Technical Problem

The existing technology is difficult to effectively manage the resources required for specific tasks (such as escape rooms, haunted houses, etc.), resulting in inaccuracy and inefficiency of resource management, increasing customer complaint rates and reducing credit value.

Method used

Provide a resource management method. By displaying the details of the target object and the resource booking page, users are allowed to book target resources, and the number of reservations for resource reservations will be adjusted after the reservation is successful to achieve reasonable resource management.

Benefits of technology

It improves the accuracy and efficiency of resource management, reduces customer complaint rate, increases credit value, and prevents resource overbooking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112561107B_ABST
    Figure CN112561107B_ABST
Patent Text Reader

Abstract

The present application discloses a resource management method, device, equipment and computer-readable storage medium, belonging to the field of Internet technology. The method includes: displaying the details page of the target object, the details page displays the relevant information of at least one task included in the target object; based on the details page, displaying the resource booking page of the target resource corresponding to the target task, the resource booking page is used to display the booking conditions of the target resource, the target task is the selected task among at least one task; booking the target resource based on the booking conditions of the target resource; in response to the successful booking of the target resource, adjusting the first bookable quantity of the target resource, obtaining the adjusted second bookable quantity, and performing booking management on the target resource based on the second bookable quantity. The method can prevent the situation where the booking quantity of the target resource exceeds the bookable quantity of the target resource, so that the accuracy of resource management is higher, the efficiency of resource management is higher, and the customer complaint rate of the target object is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of Internet technology, and in particular to a resource management method, apparatus, device, and computer-readable storage medium. Background Art

[0002] With the rapid development of Internet technology and the continuous improvement of people's living standards, people will look for various tasks to relieve stress, kill time or find fun.

[0003] In the related art, for some specific tasks (such as escape room, haunted house, etc.), resources (such as rooms) are needed to help the tasks. Therefore, there is an urgent need for a resource management method to better manage the resources of the target object, improve the accuracy of the resource management of the target object and the management efficiency of the resource management, thereby reducing the customer complaint rate of the target object and improving the credit value of the target object. Summary of the invention

[0004] The embodiments of the present application provide a resource management method, apparatus, device and computer-readable storage medium, which can be used to solve the problems in the related art. The technical solution is as follows:

[0005] On the one hand, an embodiment of the present application provides a resource management method, the method comprising:

[0006] Displaying a detail page of a target object, wherein the detail page displays relevant information of at least one task included in the target object;

[0007] Based on the details page, displaying a resource booking page of a target resource corresponding to the target task, the resource booking page being used to display booking conditions of the target resource, the target task being a task selected from the at least one task;

[0008] Reserving the target resource based on the reservation condition of the target resource;

[0009] In response to the target resource being successfully booked, a first bookable quantity of the target resource is adjusted to obtain an adjusted second bookable quantity, and booking management of the target resource is performed based on the second bookable quantity.

[0010] In a possible implementation, displaying a resource reservation page of a target resource corresponding to the target task based on the details page includes:

[0011] Based on the details page, a booking method selection page corresponding to the target task is displayed, and the booking method selection page displays available booking methods;

[0012] The resource reservation page of the target resource corresponding to the target task is displayed according to the selected target reservation mode.

[0013] In a possible implementation, displaying a resource reservation page of a target resource corresponding to the target task according to the selected target reservation mode includes:

[0014] Displaying the optional booking sessions under the target booking mode, any optional booking session is used to indicate the time range for executing the target task;

[0015] The resource booking page of the corresponding target resource is displayed according to the selected target booking session.

[0016] In a possible implementation, in response to the target resource being successfully booked, after adjusting the first bookable quantity of the target resource to obtain the adjusted second bookable quantity, the method further includes:

[0017] In response to the second reservable quantity of the target resource being a first value, displaying the sessions corresponding to the target resource in a first display manner;

[0018] In response to the second reservable quantity of the target resource being a value other than the first value, displaying the sessions corresponding to the target resource in a second display manner;

[0019] The first display mode and the second display mode are different display modes.

[0020] In a possible implementation, in response to the target resource being successfully booked, after adjusting the first bookable quantity of the target resource to obtain the adjusted second bookable quantity, the method further includes:

[0021] Determine a first task that shares resources with the target task from among at least one task included in the target object;

[0022] The reservable quantity of the target resource corresponding to the first task is adjusted to the second reservable quantity.

[0023] In a possible implementation, the reservation conditions of the target resource include the number of users participating in the target task and the resource value required to execute the target task;

[0024] The step of reserving the target resource based on the reservation condition of the target resource comprises:

[0025] In response to the successful transfer of the resource value required for executing the target task, and the number of users participating in the target task within the target time before the opening of the target resource meets the required number of users of the target task, the target resource is successfully booked;

[0026] In response to a failure to transfer the resource value required to execute the target task, and / or the number of users participating in the target task within the target time before the target resource opens does not meet the required number of users for the target task, the target resource reservation fails.

[0027] In a possible implementation, in response to the successful transfer of the resource value required for executing the target task, and the number of users participating in the target task within the target time before the target resource starts meeting the required number of users for the target task, the target resource is successfully booked, including:

[0028] In response to the successful transfer of the resource value for executing the target task, but the number of users participating in the target task does not meet the required number of users for the target task, adjusting the state of the target resource to a "playing" state, wherein the "playing" state is used to indicate that the target resource is playable;

[0029] In response to the number of users participating in the target task meeting the required number of users of the target task within the target time before the target resource is executed, the target resource is successfully reserved.

[0030] In a possible implementation, in response to the failure to transfer the resource value required for executing the target task, and / or the number of users participating in the target task within the target time before the target resource is opened does not meet the required number of users of the target task, the target resource reservation fails, including:

[0031] In response to the failure to transfer the resource value required for executing the target task, the number of users participating in the target task within the target time before the opening of the target resource meets the required number of users of the target task, and the reservation of the target resource fails;

[0032] In response to the failure to transfer the resource value required for executing the target task, the number of users participating in the target task within the target time before the opening of the target resource does not meet the required number of users of the target task, and the reservation of the target resource fails;

[0033] In response to the successful transfer of the resource value required to execute the target task, if the number of users participating in the target task within the target time before the target resource starts does not meet the required number of users of the target task, the target resource reservation fails.

[0034] In a possible implementation, in response to the successful transfer of the resource value required for executing the target task, the number of users participating in the target task within the target time before the target resource is opened does not meet the required number of users of the target task, and after the target resource reservation fails, the method further includes:

[0035] The resource value required to execute the target task is transferred to the target user's account.

[0036] In a possible implementation, the details page further includes at least one resource in competition, and the number of users existing in the at least one resource in competition is at least one;

[0037] After displaying the details page of the target object, the method further includes:

[0038] In response to receiving a selection instruction of the target resource in the at least one resource being played, displaying a resource booking page corresponding to the target resource being played, wherein the resource booking page corresponding to the target resource being played is used to display a booking condition of the target resource being played;

[0039] Reserving the target resource based on the reservation condition of the target resource;

[0040] In response to the target resource being successfully booked, the third reservable quantity of the target resource is adjusted to obtain an adjusted fourth reservable quantity.

[0041] On the other hand, an embodiment of the present application provides a resource management device, the device comprising:

[0042] A display module, configured to display a detail page of a target object, wherein the detail page displays relevant information of at least one task included in the target object;

[0043] The display module is further used to display a resource booking page of a target resource corresponding to the target task based on the details page, wherein the resource booking page is used to display booking conditions of the target resource, and the target task is a task selected from the at least one task;

[0044] A reservation module, configured to reserve the target resource based on the reservation condition of the target resource;

[0045] The adjustment module is used to adjust the first reservable quantity of the target resource in response to the target resource being successfully booked, obtain the adjusted second reservable quantity, and perform booking management on the target resource based on the second reservable quantity.

[0046] In a possible implementation, the display module is used to display a booking method selection page corresponding to the target task based on the details page, and the booking method selection page displays available booking methods;

[0047] The resource reservation page of the target resource corresponding to the target task is displayed according to the selected target reservation mode.

[0048] In a possible implementation, the display module is used to display optional booking sessions in the target booking mode, and any optional booking session is used to indicate a time range for executing the target task;

[0049] The resource booking page of the corresponding target resource is displayed according to the selected target booking session.

[0050] In a possible implementation, the display module is further configured to display the sessions corresponding to the target resource in a first display manner in response to the second reservable quantity of the target resource being a first value;

[0051] In response to the second reservable quantity of the target resource being a value other than the first value, displaying the sessions corresponding to the target resource in a second display manner;

[0052] The first display mode and the second display mode are different display modes.

[0053] In a possible implementation manner, the device further includes:

[0054] A determination module, configured to determine a first task that shares resources with the target task from among at least one task included in the target object;

[0055] The adjustment module is further configured to adjust the reservable quantity of the target resource corresponding to the first task to the second reservable quantity.

[0056] In a possible implementation, the reservation conditions of the target resource include the number of users participating in the target task and the resource value required to execute the target task;

[0057] The reservation module is used to respond that the target resource reservation is successful in response to the successful transfer of the resource value required for executing the target task and the number of users participating in the target task within the target time before the target resource is opened meets the required number of users of the target task;

[0058] In response to a failure to transfer the resource value required to execute the target task, and / or the number of users participating in the target task within the target time before the target resource opens does not meet the required number of users for the target task, the target resource reservation fails.

[0059] In a possible implementation, the reservation module is used to adjust the state of the target resource to a "competing" state in response to the successful transfer of the resource value for executing the target task, but the number of users participating in the target task does not meet the required number of users for the target task, wherein the "competing" state is used to indicate that the target resource is available for competition;

[0060] In response to the number of users participating in the target task meeting the required number of users of the target task within the target time before the target resource is executed, the target resource is successfully reserved.

[0061] In a possible implementation, the reservation module is used to respond to the failure of transferring the resource value required for executing the target task, and the number of users participating in the target task within the target time before the target resource starts meets the required number of users of the target task, and the reservation of the target resource fails;

[0062] In response to the failure to transfer the resource value required for executing the target task, the number of users participating in the target task within the target time before the opening of the target resource does not meet the required number of users of the target task, and the reservation of the target resource fails;

[0063] In response to the successful transfer of the resource value required to execute the target task, if the number of users participating in the target task within the target time before the target resource starts does not meet the required number of users of the target task, the target resource reservation fails.

[0064] In a possible implementation manner, the device further includes:

[0065] The transfer module is used to transfer the resource value required for executing the target task to the account of the target user.

[0066] In a possible implementation, the details page further includes at least one resource in competition, and the number of users existing in the at least one resource in competition is at least one;

[0067] The display module is further configured to, in response to receiving a selection instruction of the at least one target resource in the resource list, display a resource booking page corresponding to the target resource in the resource list, wherein the resource booking page corresponding to the target resource in the resource list is configured to display booking conditions of the target resource in the resource list;

[0068] The reservation module is further used to reserve the target resource based on the reservation condition of the target resource;

[0069] The adjustment module is further configured to adjust a third reservable quantity of the target resource in competition in response to the target resource in competition being successfully reserved, so as to obtain an adjusted fourth reservable quantity.

[0070] On the other hand, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement any of the resource management methods described above.

[0071] On the other hand, a computer-readable storage medium is provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement any of the resource management methods described above.

[0072] On the other hand, a computer program or a computer program product is also provided, wherein the computer program or the computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to implement any of the above resource management methods.

[0073] The technical solution provided by the embodiments of the present application brings at least the following beneficial effects:

[0074] The technical solution provided in the embodiment of the present application can reasonably manage the resources of the target object. When the target resources of the target object are successfully booked, the bookable quantity of the target resources is adjusted in time, so that both the target object and the target user can clearly understand the bookability of the target resources. This not only improves management efficiency, but also prevents the situation where the booked quantity of the target resources exceeds the bookable quantity of the target resources, that is, the problem of overselling of the target resources, thereby making resource management more accurate, thereby reducing the customer complaint rate of the target object and improving the credit value of the target object. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] 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.

[0076] Figure 1 It is a schematic diagram of an implementation environment of a resource management method provided in an embodiment of the present application;

[0077] Figure 2 is a flow chart of a resource management method provided by an embodiment of the present application;

[0078] Figure 3 It is a display schematic diagram of a target page provided in an embodiment of the present application;

[0079] Figure 4 is a display schematic diagram of a details page of a second object provided in an embodiment of the present application;

[0080] Figure 5 It is a display schematic diagram of a reservation method selection page corresponding to a target task provided in an embodiment of the present application;

[0081] Figure 6 is a schematic diagram of a resource reservation page for a target resource provided in an embodiment of the present application;

[0082] Figure 7 A detail page provided in an embodiment of the present application includes a schematic diagram of displaying resources in a puzzle;

[0083] Figure 8 is a flow chart of a resource reservation process provided by an embodiment of the present application;

[0084] Fig. 9 It is a structural diagram of a resource management device provided in an embodiment of the present application;

[0085] Fig.10 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0086] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.

[0087] Figure 1 is a schematic diagram of an implementation environment of a resource management method provided in an embodiment of the present application, such as Figure 1 As shown, the implementation environment includes: an electronic device 101.

[0088] The electronic device 101 may be at least one of a smart phone, a game console, a desktop computer, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, and a laptop computer. The electronic device 101 is used to execute the resource management method provided in the embodiment of the present application.

[0089] The electronic device 101 may generally refer to one of a plurality of electronic devices, and this embodiment is only illustrated by the electronic device 101. Those skilled in the art may know that the number of the electronic devices 101 may be more or less. For example, the electronic device 101 may be only one, or the number of the electronic devices 101 may be dozens or hundreds, or more. The embodiment of the present application does not limit the number and type of electronic devices.

[0090] Based on the above implementation environment, the present application embodiment provides a resource management method. Figure 2 As an example, the flowchart of a resource management method provided in the embodiment of the present application is shown in FIG. Figure 1 The electronic device 101 in the embodiment is executed. Figure 2 As shown, the method includes the following steps 201 to 204.

[0091] In step 201, a detail page of a target object is displayed, where the detail page displays relevant information of at least one task included in the target object.

[0092] In a possible implementation, an application for resource reservation is installed and running in the electronic device. The application may be any type of application, which is not limited in the embodiments of the present application.

[0093] In a possible implementation, in response to the target user's selection instruction for the application, the electronic device displays the initial page of the target application, the initial page displays a search box, the target user enters the task type in the search box, triggers the search button, and the electronic device displays a target page matching the task type based on the task type entered by the target user, the target page displays at least one object matching the task type, and the at least one object is a store operated in the application. Figure 3 The following is a schematic diagram showing a target page provided by an embodiment of the present application. Figure 3 The target page displayed in the example is a target page for a task type of "Radium War Game". Three objects are displayed on the target page, namely, a first object, a second object, and a third object. The target page may also display the star rating, rating, resource value, and object type of each object. Of course, other information about the object may also be displayed on the target page, which is not limited in the present embodiment of the application.

[0094] In a possible implementation, the target user can select any object in the target page, and the electronic device determines the object selected by the target user as the target object in response to the target user's selection instruction, and displays the target object's detail page, which displays at least one task included in the target object and related information of each task. The related information includes but is not limited to at least one of the task name, the number of users required by the task, the task resource value, and the task booking button.

[0095] Exemplarily, the target user selects a second object from at least one object, and the electronic device determines the second object as the target object in response to the target user's selection instruction, and displays a detail page of the second object. Figure 4 The figure shows a schematic diagram of displaying the details page of the second object provided in the embodiment of the present application. Figure 4 The three tasks included in the second object and the related information of each task are displayed. Figure 4Take the first task in the example, the relevant information of the task is: the task name is "First experience of laser war", the task requires 10-15 users, the task resource is 199 yuan, and the corresponding booking button of the task. Figure 4 The task time of each task is also displayed in the table. For example, the task time of the "First Experience of Laser Warfare" task is 90 minutes. Figure 4 , I will not go into details here.

[0096] Of course, the details page can also display other information, such as the business hours of the second object, the address of the second object, and whether each task allows for co-location. When the task allows for co-location, a label "Can be co-located" is displayed in the display box of the task object. When the task does not allow for co-location, the label "Can be co-located" is not displayed in the display box of the task object. Figure 4 "Radium War First Experience" and "Radium War Battle Royale" allow fighting on the field, so the "Can fight on the field" label is displayed in the corresponding display box; "Counter-Strike 2.0" does not allow fighting on the field, so the "Can fight on the field" label is not displayed in its corresponding display box.

[0097] Among them, whether the task allows for sharing is determined by the merchant corresponding to the target object, that is, the merchant predetermines which tasks among the at least one task included therein support sharing and which tasks do not support sharing, so that when the details page of the target object is displayed, the "Can be shared" label is displayed in the display box of the tasks that support sharing.

[0098] In step 202, based on the details page, a resource reservation page of the target resource corresponding to the target task is displayed.

[0099] The target task is a task selected from at least one task, that is, the target task is a task selected by a target user from at least one task.

[0100] In one possible implementation, based on the details page, the process of displaying the resource booking page of the target resource corresponding to the target task is as follows: based on the details page, the booking method selection page corresponding to the target task is displayed, the booking method selection page displays the available booking methods, and the resource booking page of the target resource corresponding to the target task is displayed according to the selected target booking method.

[0101] In a possible implementation, based on the details page of the target object displayed in step 201 above, the target user selects any task from the multiple tasks included in the details page, and the electronic device determines the task selected by the target user as the target task, and displays the reservation method selection page corresponding to the target task, and the reservation method selection page displays the available reservation methods. Exemplarily, the available reservation methods include at least one of a private reservation method and a multi-user reservation method. Among them, the private reservation method is a reservation method in which a user completes the reservation of the target resource alone, and the multi-user reservation method is a reservation method in which at least two users cooperate to complete the reservation of the target resource. In response to the target task not allowing multi-user, the available reservation methods displayed on the reservation method selection page are only the private reservation method; in response to the target task allowing multi-user, the available reservation methods displayed on the reservation method selection page include the private reservation method and the multi-user reservation method. Figure 5 The following is a schematic diagram showing a reservation method selection page corresponding to a target task provided by the present application. Figure 5 The booking methods for the "First Experience of Laser Battle" mission are displayed, including private booking and group booking. Figure 5 The booking method selected is the combined booking method.

[0102] In one possible implementation, the process of displaying the resource booking page of the target resource corresponding to the target task according to the selected target booking method is as follows: displaying the optional booking sessions under the target booking method, any optional booking session is used to indicate the time range for the execution of the target task; and displaying the resource booking page of the corresponding target resource according to the selected target booking session.

[0103] like Figure 5 The booking method selected is the combined booking method. Under this combined booking method, there are three available booking sessions on December 17, namely: 09:30-11:00, 11:00-12:30 and 12:30-14:00. That is, the time range for executing the target task is 09:30-11:00 on December 17, 11:00-12:30 on December 17 and 12:30-14:00 on December 17 respectively.

[0104] In a possible implementation, the target user can select any one of the optional booking sessions in the target booking mode, and the electronic device determines the session selected by the target user as the target booking session, that is, the electronic device determines the resource corresponding to the target task in the target booking mode and the target booking session as the target resource, and displays the resource booking page of the target resource. Figure 6 The diagram is a schematic diagram of a resource reservation page for a target resource provided by an embodiment of the present application. Figure 6The resource booking page shows the booking method for the game and the resources corresponding to the game from 09:30 to 11:00 on December 17. The resource booking page shows the task name, task resource value, task execution time and other information of the target task. Of course, the resource booking page can also show other information such as booking rules, such as Figure 6 The booking instructions include the following information: the order can be cancelled before the venue is successfully matched, but it cannot be canceled after the venue is successfully matched.

[0105] It should be noted that the reservation instructions and other information are information determined by the merchant, and the electronic device only displays the reservation instructions information determined by the merchant on the resource reservation page so that the target user can view the reservation instructions of the target resource.

[0106] In step 203, the target resource is reserved based on the reservation condition of the target resource.

[0107] Exemplarily, the reservation conditions of the target resource include the number of users participating in the target task and the value of resources required to execute the target task.

[0108] In a possible implementation, reserving the target resource based on the reservation condition of the target resource includes the following two cases.

[0109] Case 1: In response to the successful transfer of the resource value required for executing the target task, and the number of users participating in the target task meets the required number of users for the target task, the target resource is successfully booked.

[0110] In one possible implementation, the resource booking method in response to the target task is a private booking method. Since the private booking method stipulates that the number of users participating in the target task must meet the required number of users for the target task, as long as the resource value required to execute the target task is successfully transferred, the target resource is successfully booked.

[0111] For example, the resource value required to perform the target task is the cost required to perform the target task. The target task requires 8-10 users, and the single resource value required for each user to perform the target task is 100 yuan. Now the resource booking method selected by the target user is the private booking method. The number of users participating in the target task determined by the target user is 10 people, the resource value required to perform the target task is 1,000 yuan, and the resource value of 1,000 yuan is successfully transferred. Since the resource value required to perform the target task is successfully transferred, and the number of users participating in the target task meets the required number of users for the target task, the target resource is successfully booked.

[0112] In one possible implementation, in response to the successful transfer of resource values ​​for executing a target task, but the number of users participating in the target task does not meet the required number of users for the target task, the state of the target resource is adjusted to a "competing" state, where the "competing" state is used to indicate that the target resource is available for competition; in response to the number of users participating in the target task meeting the required number of users for the target task within a target time before the target resource is executed, the target resource is successfully booked.

[0113] In a possible implementation, in response to the resource reservation mode of the target task being a field reservation mode, the target user determines that the number of users participating in the target task is a first number, and the target user successfully transfers the resource value corresponding to the first number of the target task. The electronic device adjusts the state of the target resource to a state of being in the field, waiting for other users to participate in the field. In response to the first user participating in the field, the number of users participating in the target task determined by the first user is a second number, and the resource value required for the second number of users to participate in the target task is successfully transferred. When the sum of the first number and the second number meets the required number of users for the target task, it is determined that the target resource is successfully booked. When the sum of the first number and the second number does not meet the required number of users for the target task, the state of the target resource continues to be determined as being in the field, waiting for other users to join the field, until the number of users participating in the target task meets the required number of users for the target task, and the target resource is successfully booked.

[0114] Exemplarily, the required number of users for the target task is 8-10 people, and the single resource value required for each person to perform the target task is 100 yuan. Now the number of users participating in the target task determined by the target user is 3 people, the resource value transferred by the target user is 300 yuan, and the transfer is successful. Since the number of users participating in the target task determined by the target user does not meet the required number of users for the target task, the state of the target resource is adjusted to the state of being in the fight, waiting for other users to make a fight reservation. In response to the first user joining the fight reservation of the target resource, the number of users participating in the target task determined by the first user is 5 people, the resource value transferred by the first user is 500 yuan, and the transfer is successful. Since the sum of the number of users participating in the target task determined by the target user and the number of users participating in the target task determined by the first user is 8, the required number of users for the target task is met, and the target user and the first user are both successfully transferred, so the target resource is successfully booked.

[0115] It should be noted that the target time is determined by the merchant, and the target time is 30 minutes before the opening of the target resource, or other time, which is not limited in the embodiment of the present application.

[0116] Case 2: In response to the failure to transfer the resource value required to execute the target task, and / or the number of users participating in the target task within the target time before the target resource starts does not meet the required number of users for the target task, the target resource reservation fails.

[0117] In one possible implementation, in response to a failure to transfer the resource value required to execute the target task, the number of users participating in the target task within the target time before the target resource starts meets the required number of users for the target task, and the target resource reservation fails.

[0118] For example, the target task requires 8-10 users, and the value of a single resource required for each user to perform the target task is 100 yuan. The target user determines that the number of users participating in the target task is 9, which means that the target user needs to transfer 900 yuan of resources to perform the target task. However, if the target user does not transfer resources within the specified time, the target resource reservation fails.

[0119] In one possible implementation, in response to a failure to transfer the resource value required to execute the target task, the number of users participating in the target task within the target time before the target resource starts does not meet the required number of users for the target task, and the target resource reservation fails.

[0120] For example, the target task requires 8-10 users, and the value of a single resource required for each person to perform the target task is 100 yuan. The target user determines that the number of users participating in the target task is 7, which means that the target user needs to transfer 700 yuan of resources required to perform the target task. However, the target user does not transfer resources within the specified time, and the number of users participating in the target task within the target time before the target resource starts does not meet the required number of users for the target task, so the target resource reservation fails.

[0121] In one possible implementation, in response to the successful transfer of the resource value required to execute the target task, the number of users participating in the target task within the target time before the target resource starts does not meet the required number of users for the target task, and the target resource reservation fails.

[0122] For example, the target task requires 8-10 users, and the value of a single resource required for each person to perform the target task is 100 yuan. The target user determines that the number of users participating in the target task is 5, which means that the value of the resources required to perform the target task that the target user needs to transfer is 500 yuan. The target user successfully transfers the value of the resources required to perform the target task within the specified time, but the number of users participating in the target task within the target time before the target resource starts does not meet the required number of users for the target task, so the target resource reservation fails.

[0123] In one possible implementation, in response to the successful transfer of the resource value required to execute the target task, if the number of users participating in the target task within the target time before the target resources start does not meet the required number of users for the target task, and the target resource reservation fails, the resource value required to execute the target task must be transferred to the target user's account, that is, the amount paid by the target user to execute the target task must be refunded to the target user's account.

[0124] In a possible implementation, the details page of the target object also includes at least one resource in the game, and the number of users who already exist in the at least one resource in the game is at least one. The target user can also arbitrarily select a resource in the at least one resource in the game, and the electronic device responds to receiving the selection instruction of the target resource in the at least one resource in the game, and displays the resource booking page corresponding to the target resource in the game, and the resource booking page of the target resource in the game is used to display the booking conditions of the target resource in the game, and the target user books the target resource in the game based on the booking conditions of the target resource in the game. Among them, the booking process of the target resource in the game is consistent with the booking process of the above-mentioned target resource, which will not be repeated here.

[0125] like Figure 7 The following is a schematic diagram showing a display of a detail page provided by an embodiment of the present application, including resources in the puzzle. Figure 7 In the target object's details page, it is shown that there are two resources in competition, namely "Laser First Experience" from 15:00 to 16:30 on December 17 and "Laser Battle Royale" from 17:00 to 18:30 on December 18. Among them, the number of users who have joined the "Laser First Experience" is 6, and 4 more people are needed to start, which means that 4 more people are needed to successfully book the resource; the number of users who have joined the "Laser Battle Royale" is 7, and 3 more people are needed to start, which means that 3 more people are needed to successfully book the resource.

[0126] It should be noted that if a resource being played is booked by other users in the form of a private booking during the process of playing, the resource corresponding to the resource being played is booked by the private booking user, which means that the booking of the user playing the game fails.

[0127] In step 204, in response to the target resource being successfully booked, the first bookable quantity of the target resource is adjusted to obtain an adjusted second bookable quantity, and the target resource is booked and managed based on the second bookable quantity.

[0128] In a possible implementation, based on the booking result of the target resource determined in step 203, the bookable quantity of the target resource is adjusted. In response to a successful booking of the target resource, the first bookable quantity of the target resource is adjusted to obtain the adjusted second bookable quantity. In response to a failed booking of the target resource, the first bookable quantity of the target resource is not adjusted. The first bookable quantity of the target resource is adjusted downward. When the target resource is successfully booked once at the same time, the first bookable quantity of the target resource is adjusted downward by one value. When the target resource is successfully booked N times at the same time, the first bookable quantity of the target resource is adjusted downward by N values, where N is an integer greater than 1.

[0129] Exemplarily, the first reservable quantity of the target resource is 3. In response to the target resource being successfully booked once at the same time, the first reservable quantity of the target resource is adjusted downward by one value to obtain a second reservable quantity, and the second reservable quantity is 2. In response to the target resource being successfully booked three times at the same time, the first reservable quantity of the target resource is adjusted downward by three values ​​to obtain a second reservable quantity, and the second reservable quantity is 0.

[0130] In a possible implementation, in response to the resource reserved by the target user in the above step 203 being the target resource in competition, and the reservation of the target resource in competition is successful, the third reservable quantity of the target resource in competition is adjusted to obtain an adjusted fourth reservable quantity. The process of adjusting the third reservable quantity of the target resource in competition to obtain the adjusted fourth reservable quantity is consistent with the process of adjusting the first reservable quantity of the target resource to obtain the adjusted second reservable quantity, and will not be repeated here.

[0131] In a possible implementation, after determining the second reservable quantity of the target resource, the sessions corresponding to the target resource may be displayed in a display mode corresponding to the second reservable quantity. The display mode is as follows: in response to the second reservable quantity of the target resource being a first value, the sessions corresponding to the target resource are displayed in a first display mode; in response to the second reservable quantity of the target resource being a non-first value, the sessions corresponding to the target resource are displayed in a second display mode, wherein the first display mode and the second display mode are two different display modes.

[0132] For example, Figure 5 The resource corresponding to the session 09:30-11:00 is the target resource. Since the second available quantity corresponding to the target resource is non-zero, the session 09:30-11:00 is displayed normally. Figure 5The resource corresponding to the session 12:30-14:00 is the target resource. Since the second bookable quantity corresponding to the target resource is zero, the session 12:30-14:00 is displayed in grayscale.

[0133] It should be noted that the first display mode and the second display mode may also be other display modes, as long as the first display mode and the second display mode are different, and the embodiment of the present application does not limit this.

[0134] In one possible implementation, in response to a successful reservation of a target resource, the first reservable quantity of the target resource is adjusted. After obtaining the adjusted second reservable quantity, the reservable quantity of the first task associated with the target task needs to be adjusted. The adjustment process is as follows: determine a first task that shares resources with the target task from at least one task included in the target object; and adjust the reservable quantity of the target resource corresponding to the first task to the second reservable quantity.

[0135] For example, the target task is "Laser First Experience", and the target resource is the resource corresponding to 09:30-11:00 on December 17 in the field booking method. Among at least one task included in the target object, the task that shares resources with the target task is "Laser Battle Royale", so the bookable quantity of the target resource corresponding to "Laser Battle Royale" is adjusted to the second bookable quantity of "Laser First Experience", that is, the bookable quantity of the resource corresponding to "Laser Battle Royale" in the field booking method on December 17 09:30-11:00 is adjusted to the second bookable quantity.

[0136] It should be noted that the first task that shares resources with the target task among at least one task included in the target object is the first task determined by the merchant, that is, the merchant pre-sets the association relationship between tasks, and based on the association relationship determined by the merchant, the two tasks are determined to be tasks that share resources.

[0137] In one possible implementation, in response to the successful reservation of the target resource, the electronic device may also send a first notification message to the target user, and the first notification message is used to notify the target user that the reserved target resource has been successfully reserved. The first notification message may be sent by text message or by phone, which is not limited in this embodiment of the present application. Exemplarily, sending a first notification message to the target user informs the target user that the target resource has been successfully reserved, and the content of the first notification message is "Hello, Ms. Wang, your reservation for the Laser Battle Royale from 09:30 to 11:00 on December 17, 2020 has been successfully reserved. Please arrive on time for consumption." Of course, the content of the first notification message may also be other content, which is not limited in this embodiment of the present application.

[0138] It should be noted that, in response to the target resource not being successfully booked, a second notification message may also be sent to the target user. The second notification message is used to inform the target user that the target resource he has booked has not been successfully booked. The sending process of the second notification message is consistent with that of the first notification message, but the content of the second notification message is inconsistent with the content of the first notification message. The content of the second notification message may be "Hello, Ms. Wang, I'm sorry, your reservation for the Laser Royale from 09:30 to 11:00 on December 17, 2020 was not successful. The refund has been transferred to your account, please check it", of course, the content of the second notification message may also be other content, which is not limited to this in the embodiment of the present application.

[0139] The above method can reasonably manage the resources of the target object. When the target resources of the target object are successfully booked, the bookable quantity of the target resources is adjusted in time, so that the target object and the target user can clearly understand the bookability of the target resources. This not only improves management efficiency, but also prevents the situation where the booked quantity of the target resources exceeds the bookable quantity of the target resources, that is, the problem of overselling of the target resources, thereby making resource management more accurate, thereby reducing the customer complaint rate of the target object and improving the credit value of the target object.

[0140] Figure 8 A flowchart of a resource reservation process provided in an embodiment of the present application, in which Figure 8 In the process, the electronic device displays the details page of the target object, the target user determines the target task in the details page, and the electronic device displays a prompt box whether to join the current session. When the target user chooses not to join the current session of the target task, the target user determines the target session, and the electronic device locks the target resource based on the target task and the target session determined by the target user. The target user determines the number of users participating in the target task and the value of resources required to transfer and execute the target task. In response to the number of users participating in the target task determined by the target user meeting the required number of users for the target task, it is determined that the target resource is successfully booked. In response to the number of users participating in the target task determined by the target user, the target resource locked by the target user is determined as a resource in the current session.

[0141] When the target user chooses not to join the target task, the target user can also determine the target session. The electronic device locks the target resource based on the target task and target session determined by the target user. The target user reserves the target resource and transfers the resource value required for the reservation of the target resource. Then the reservation of the target resource is successful.

[0142] When the target user chooses to join the target task's session, the resources are displayed. The target user determines the target resource in the resources, determines the number of users participating in the target resource, and transfers the resource value required to execute the target resource. In response to the number of users participating in the target resource meeting the required number of users for the task corresponding to the target resource, it is determined that the target resource is successfully booked. In response to the number of users participating in the target resource not meeting the required number of users for the target resource, other users are continued to participate in the target resource until the number of users participating in the target resource meets the required number of users for the task corresponding to the target resource, and it is determined that the target resource is successfully booked.

[0143] Fig. 9 FIG. 1 is a schematic diagram of a resource management device provided in an embodiment of the present application. Fig. 9 As shown, the device comprises:

[0144] A display module 901 is used to display a detail page of a target object, where the detail page displays relevant information of at least one task included in the target object;

[0145] The display module 901 is further used to display a resource booking page of a target resource corresponding to the target task based on the detail page, the resource booking page is used to display booking conditions of the target resource, and the target task is a task selected from the at least one task;

[0146] A reservation module 902, configured to reserve the target resource based on the reservation condition of the target resource;

[0147] The adjustment module 903 is used to adjust the first reservable quantity of the target resource in response to the target resource being successfully reserved, obtain an adjusted second reservable quantity, and perform reservation management on the target resource based on the second reservable quantity.

[0148] In a possible implementation, the display module 901 is used to display a booking method selection page corresponding to the target task based on the details page, and the booking method selection page displays available booking methods;

[0149] The resource reservation page of the target resource corresponding to the target task is displayed according to the selected target reservation method.

[0150] In a possible implementation, the display module 901 is used to display the optional booking sessions in the target booking mode, and any optional booking session is used to indicate the time range for executing the target task;

[0151] The resource booking page of the corresponding target resource is displayed according to the selected target booking session.

[0152] In a possible implementation, the display module 901 is further configured to display the sessions corresponding to the target resource in a first display manner in response to the second reservable quantity of the target resource being a first value;

[0153] In response to the second reservable quantity of the target resource being a value other than the first value, displaying the sessions corresponding to the target resource in a second display manner;

[0154] The first display mode and the second display mode are different display modes.

[0155] In a possible implementation, the device further includes:

[0156] A determination module, configured to determine a first task that shares resources with the target task from among at least one task included in the target object;

[0157] The adjustment module 903 is further configured to adjust the reservable quantity of the target resource corresponding to the first task to the second reservable quantity.

[0158] In a possible implementation, the reservation condition of the target resource includes the number of users participating in the target task and the value of resources required to execute the target task;

[0159] The reservation module 902 is used to respond that the resource value required for executing the target task is successfully transferred, and the number of users participating in the target task within the target time before the target resource is opened meets the required number of users of the target task, and the target resource is successfully reserved;

[0160] In response to a failure to transfer the resource value required to execute the target task, and / or the number of users participating in the target task within the target time before the target resource opens does not meet the required number of users of the target task, the target resource reservation fails.

[0161] In a possible implementation, the reservation module 902 is used to adjust the state of the target resource to a "competing" state in response to the successful transfer of the resource value for executing the target task, but the number of users participating in the target task does not meet the required number of users of the target task, wherein the "competing" state is used to indicate that the target resource is available for competition;

[0162] In response to the number of users participating in the target task meeting the required number of users of the target task within the target time before the target resource is executed, the target resource is successfully reserved.

[0163] In a possible implementation, the reservation module 902 is configured to respond to the failure of transferring the resource value required for executing the target task, and the number of users participating in the target task within the target time before the target resource is opened meets the required number of users of the target task, and the reservation of the target resource fails;

[0164] In response to the failure to transfer the resource value required for executing the target task, the number of users participating in the target task within the target time before the target resource is opened does not meet the required number of users of the target task, and the reservation of the target resource fails;

[0165] In response to the successful transfer of the resource value required to execute the target task, if the number of users participating in the target task within the target time before the target resource starts does not meet the required number of users of the target task, the target resource reservation fails.

[0166] In a possible implementation, the device further includes:

[0167] The transfer module is used to transfer the resource value required to execute the target task to the account of the target user.

[0168] In a possible implementation, the details page further includes at least one resource in competition, and the number of users existing in the at least one resource in competition is at least one;

[0169] The display module 901 is further configured to, in response to receiving a selection instruction of the at least one target resource in the resource list, display a resource booking page corresponding to the target resource in the resource list, wherein the resource booking page corresponding to the target resource in the resource list is used to display a booking condition of the target resource in the resource list;

[0170] The reservation module 902 is further used to reserve the target resource based on the reservation condition of the target resource;

[0171] The adjustment module 903 is further configured to adjust the third reservable quantity of the target resource in response to the target resource being successfully reserved, so as to obtain an adjusted fourth reservable quantity.

[0172] The above-mentioned device can reasonably manage the resources of the target object. When the target resources of the target object are successfully booked, the bookable quantity of the target resources is adjusted in time, so that the target object and the target user can clearly understand the bookability of the target resources. This not only improves the management efficiency, but also prevents the situation where the booked quantity of the target resources exceeds the bookable quantity of the target resources, that is, the problem of overselling of the target resources, thereby making resource management more accurate, thereby reducing the customer complaint rate of the target object and improving the credit value of the target object.

[0173] It should be understood that the above Fig. 9 When the device provided realizes its functions, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned 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 embodiments belong to the same concept, and their specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0174] Fig.10 The block diagram of the structure of an electronic device 1000 provided by an exemplary embodiment of the present application is shown. The electronic device 1000 may be a portable mobile terminal, such as a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer or a desktop computer. The electronic device 1000 may also be called a user device, a portable terminal, a laptop terminal, a desktop terminal or other names.

[0175] Typically, the electronic device 1000 includes a processor 1001 and a memory 1002 .

[0176] The processor 1001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1001 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1001 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 1001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1001 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0177] The memory 1002 may include one or more computer-readable storage media, which may be non-transitory. The memory 1002 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1002 is used to store at least one instruction, which is used to be executed by the processor 1001 to implement the resource management method provided in the method embodiment of the present application.

[0178] In some embodiments, the electronic device 1000 may further optionally include: a peripheral device interface 1003 and at least one peripheral device. The processor 1001, the memory 1002 and the peripheral device interface 1003 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1003 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1004, a display screen 1005, a camera assembly 1006, an audio circuit 1007, a positioning assembly 1008 and a power supply 1009.

[0179] The peripheral device interface 1003 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1001 and the memory 1002. In some embodiments, the processor 1001, the memory 1002, and the peripheral device interface 1003 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 1001, the memory 1002, and the peripheral device interface 1003 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.

[0180] The radio frequency circuit 1004 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The radio frequency circuit 1004 communicates with the communication network and other communication devices through electromagnetic signals. The radio frequency circuit 1004 converts the electrical signal into an electromagnetic signal for transmission, or converts the received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 1004 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The radio frequency circuit 1004 can communicate with other terminals through at least one wireless communication protocol. The wireless communication protocol includes but is not limited to: the World Wide Web, a metropolitan area network, an intranet, various generations of mobile communication networks (2G, 3G, 4G and 5G), a wireless local area network and / or a WiFi (Wireless Fidelity) network. In some embodiments, the radio frequency circuit 1004 may also include circuits related to NFC (Near Field Communication), which is not limited in this application.

[0181] The display screen 1005 is used to display a UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1005 is a touch display screen, the display screen 1005 also has the ability to collect touch signals on the surface or above the surface of the display screen 1005. The touch signal can be input to the processor 1001 as a control signal for processing. At this time, the display screen 1005 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments, the display screen 1005 can be one, arranged on the front panel of the electronic device 1000; in other embodiments, the display screen 1005 can be at least two, respectively arranged on different surfaces of the electronic device 1000 or in a folding design; in other embodiments, the display screen 1005 can be a flexible display screen, arranged on a curved surface or a folding surface of the electronic device 1000. Even, the display screen 1005 can also be arranged as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 1005 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0182] The camera assembly 1006 is used to capture images or videos. Optionally, the camera assembly 1006 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize the panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments, the camera assembly 1006 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0183] The audio circuit 1007 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1001 for processing, or input them into the radio frequency circuit 1004 to achieve voice communication. For the purpose of stereo acquisition or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the electronic device 1000. The microphone may also be an array microphone or an omnidirectional acquisition microphone. The speaker is used to convert the electrical signal from the processor 1001 or the radio frequency circuit 1004 into sound waves. The speaker may be a traditional film speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can not only convert the electrical signal into sound waves audible to humans, but also convert the electrical signal into sound waves inaudible to humans for purposes such as ranging. In some embodiments, the audio circuit 1007 may also include a headphone jack.

[0184] The positioning component 1008 is used to locate the current geographic location of the electronic device 1000 to implement navigation or LBS (Location Based Service). The positioning component 1008 can be a positioning component based on the US GPS (Global Positioning System), China's Beidou system or Russia's Galileo system.

[0185] The power supply 1009 is used to power various components in the electronic device 1000. The power supply 1009 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1009 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0186] In some embodiments, the electronic device 1000 further includes one or more sensors 1010 , including but not limited to: an acceleration sensor 1011 , a gyroscope sensor 1012 , a pressure sensor 1013 , a fingerprint sensor 1014 , an optical sensor 1015 , and a proximity sensor 1016 .

[0187] The acceleration sensor 1011 can detect the magnitude of acceleration on the three coordinate axes of the coordinate system established by the electronic device 1000. For example, the acceleration sensor 1011 can be used to detect the components of gravity acceleration on the three coordinate axes. The processor 1001 can control the display screen 1005 to display the user interface in a horizontal view or a vertical view according to the gravity acceleration signal collected by the acceleration sensor 1011. The acceleration sensor 1011 can also be used for collecting game or user motion data.

[0188] The gyro sensor 1012 can detect the body direction and rotation angle of the electronic device 1000, and the gyro sensor 1012 can cooperate with the acceleration sensor 1011 to collect the user's 3D actions on the electronic device 1000. The processor 1001 can implement the following functions based on the data collected by the gyro sensor 1012: motion sensing (such as changing the UI according to the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.

[0189] The pressure sensor 1013 can be set on the side frame of the electronic device 1000 and / or the lower layer of the display screen 1005. When the pressure sensor 1013 is set on the side frame of the electronic device 1000, it can detect the user's holding signal of the electronic device 1000, and the processor 1001 performs left and right hand recognition or shortcut operations according to the holding signal collected by the pressure sensor 1013. When the pressure sensor 1013 is set on the lower layer of the display screen 1005, the processor 1001 controls the operability controls on the UI interface according to the user's pressure operation on the display screen 1005. The operability controls include at least one of a button control, a scroll bar control, an icon control, and a menu control.

[0190] The fingerprint sensor 1014 is used to collect the user's fingerprint, and the processor 1001 identifies the user's identity based on the fingerprint collected by the fingerprint sensor 1014, or the fingerprint sensor 1014 identifies the user's identity based on the collected fingerprint. When the user's identity is identified as a trusted identity, the processor 1001 authorizes the user to perform relevant sensitive operations, which include unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings. The fingerprint sensor 1014 can be set on the front, back, or side of the electronic device 1000. When a physical button or a manufacturer logo is set on the electronic device 1000, the fingerprint sensor 1014 can be integrated with the physical button or the manufacturer logo.

[0191] The optical sensor 1015 is used to collect the ambient light intensity. In one embodiment, the processor 1001 can control the display brightness of the display screen 1005 according to the ambient light intensity collected by the optical sensor 1015. Specifically, when the ambient light intensity is high, the display brightness of the display screen 1005 is increased; when the ambient light intensity is low, the display brightness of the display screen 1005 is reduced. In another embodiment, the processor 1001 can also dynamically adjust the shooting parameters of the camera assembly 1006 according to the ambient light intensity collected by the optical sensor 1015.

[0192] The proximity sensor 1016, also called a distance sensor, is usually disposed on the front panel of the electronic device 1000. The proximity sensor 1016 is used to collect the distance between the user and the front of the electronic device 1000. In one embodiment, when the proximity sensor 1016 detects that the distance between the user and the front of the electronic device 1000 is gradually decreasing, the processor 1001 controls the display screen 1005 to switch from the screen-on state to the screen-off state; when the proximity sensor 1016 detects that the distance between the user and the front of the electronic device 1000 is gradually increasing, the processor 1001 controls the display screen 1005 to switch from the screen-off state to the screen-on state.

[0193] Those skilled in the art will understand that Fig.10 The structure shown in the figure does not constitute a limitation on the electronic device 1000, and the electronic device 1000 may include more or less components than those shown in the figure, or combine some components, or adopt a different component arrangement.

[0194] In an exemplary embodiment, a computer-readable storage medium is further provided, in which at least one program code is stored. The at least one program code is loaded and executed by a processor to implement any of the above-mentioned resource management methods.

[0195] Optionally, the computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.

[0196] In an exemplary embodiment, a computer program or a computer program product is further provided. The computer program or the computer program product stores at least one computer instruction, and the at least one computer instruction is loaded and executed by a processor to implement any of the above resource management methods.

[0197] It should be understood that the "plurality" mentioned in this article refers to two or more. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the associated objects are in an "or" relationship.

[0198] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0199] The above description is only an exemplary embodiment of the present application and is 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 resource management method, characterized in that: The method comprises: Displaying a detail page of a target object, wherein the detail page displays relevant information of at least one task included in the target object; Based on the details page, a booking method selection page corresponding to the target task is displayed, wherein the booking method selection page displays available booking methods, and the available booking methods include a private booking method and a shared booking method; Displaying a resource reservation page of a target resource corresponding to the target task according to the selected target reservation mode, wherein the resource reservation page is used to display reservation conditions of the target resource, and the target task is a task selected from the at least one task; Reserving the target resource based on a reservation condition of the target resource, wherein the reservation condition of the target resource includes the number of users participating in the target task and the value of resources required to perform the target task; In response to the successful transfer of the resource value required for executing the target task, and the number of users participating in the target task within the target time before the opening of the target resource meets the required number of users of the target task, the target resource is successfully booked; In response to the target resource being successfully booked, adjusting a first bookable quantity of the target resource to obtain an adjusted second bookable quantity, and performing booking management on the target resource based on the second bookable quantity; Determine a first task that shares resources with the target task from at least one task included in the target object; adjust the reservable quantity of the first task corresponding to the target resource to the second reservable quantity; The method further includes: if the resource being assembled is booked by other users in a private booking manner during the process of assembling the venue, then the resource corresponding to the resource being assembled is booked by the user who booked the venue.

2. The method according to claim 1, characterized in that The displaying of the resource reservation page of the target resource corresponding to the target task according to the selected target reservation mode includes: Displaying the optional booking sessions under the target booking mode, any optional booking session is used to indicate the time range for executing the target task; The resource booking page of the corresponding target resource is displayed according to the selected target booking session.

3. The method according to claim 1 or 2, characterized in that: After the first reservable quantity of the target resource is adjusted in response to the target resource being successfully reserved and an adjusted second reservable quantity is obtained, the method further includes: In response to the second reservable quantity of the target resource being a first value, displaying the sessions corresponding to the target resource in a first display manner; In response to the second reservable quantity of the target resource being a value other than the first value, displaying the sessions corresponding to the target resource in a second display manner; The first display mode and the second display mode are different display modes.

4. The method according to claim 1 or 2, characterized in that: The step of reserving the target resource based on the reservation condition of the target resource further includes: In response to a failure to transfer the resource value required to execute the target task, and / or the number of users participating in the target task within the target time before the target resource opens does not meet the required number of users for the target task, the target resource reservation fails.

5. The method according to claim 1, characterized in that In response to the successful transfer of the resource value required for executing the target task, and the number of users participating in the target task within the target time before the target resource starts meeting the required number of users of the target task, the target resource is successfully booked, including: In response to the successful transfer of the resource value for executing the target task, but the number of users participating in the target task does not meet the required number of users for the target task, adjusting the state of the target resource to a "playing" state, wherein the "playing" state is used to indicate that the target resource is playable; In response to the number of users participating in the target task meeting the required number of users of the target task within the target time before the target resource is executed, the target resource is successfully reserved.

6. The method according to claim 4, characterized in that In response to the failure to transfer the resource value required for executing the target task, and / or the number of users participating in the target task within the target time before the target resource is opened does not meet the required number of users of the target task, the target resource reservation fails, including: In response to the failure to transfer the resource value required for executing the target task, the number of users participating in the target task within the target time before the opening of the target resource meets the required number of users of the target task, and the reservation of the target resource fails; In response to the failure to transfer the resource value required for executing the target task, the number of users participating in the target task within the target time before the opening of the target resource does not meet the required number of users of the target task, and the reservation of the target resource fails; In response to the successful transfer of the resource value required to execute the target task, if the number of users participating in the target task within the target time before the target resource starts does not meet the required number of users of the target task, the target resource reservation fails.

7. The method according to claim 6, characterized in that In response to the successful transfer of the resource value required for executing the target task, the number of users participating in the target task within the target time before the target resource is opened does not meet the required number of users of the target task, and the target resource reservation fails, after which the method further includes: The resource value required to execute the target task is transferred to the target user's account.

8. The method according to claim 1, characterized in that The details page also includes at least one resource in competition, and the number of users existing in the at least one resource in competition is at least one; After displaying the details page of the target object, the method further includes: In response to receiving a selection instruction of the target resource in the at least one resource being played, displaying a resource booking page corresponding to the target resource being played, wherein the resource booking page corresponding to the target resource being played is used to display a booking condition of the target resource being played; Reserving the target resource based on the reservation condition of the target resource; In response to the target resource being successfully booked, the third reservable quantity of the target resource is adjusted to obtain an adjusted fourth reservable quantity.

9. A resource management device, characterized in that: The device comprises: A display module, configured to display a detail page of a target object, wherein the detail page displays relevant information of at least one task included in the target object; The display module is further used to display a booking method selection page corresponding to the target task based on the details page, the booking method selection page displays available booking methods, the available booking methods include a private booking method and a shared booking method; display a resource booking page of the target resource corresponding to the target task according to the selected target booking method, the resource booking page is used to display the booking conditions of the target resource, the target task is the task selected from the at least one task; A reservation module, configured to reserve the target resource based on a reservation condition of the target resource, wherein the reservation condition of the target resource includes the number of users participating in the target task and the resource value required for executing the target task; in response to a successful transfer of the resource value required for executing the target task, and the number of users participating in the target task within a target time before the opening of the target resource meets the required number of users of the target task, the target resource is successfully reserved; an adjustment module, configured to adjust a first reservable quantity of the target resource in response to a successful reservation of the target resource, obtain an adjusted second reservable quantity, and perform reservation management on the target resource based on the second reservable quantity; A determination module, configured to determine a first task that shares resources with the target task from among at least one task included in the target object; The adjustment module is further used to adjust the reservable quantity of the target resource corresponding to the first task to the second reservable quantity; The reservation module is further configured to: if the resource being assembled is reserved by other users in a private reservation mode during the process of assembling the venue, the resource corresponding to the resource being assembled is reserved by the user who has reserved the venue.

10. An electronic device, characterized in that: The electronic device includes a processor and a memory, wherein the memory stores at least one program code, and the at least one program code is loaded and executed by the processor to implement the resource management method according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores at least one program code, and the at least one program code is loaded and executed by a processor to implement the resource management method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Session management method and device, server and storage medium

    CN111882221A