CN112132472A - Resource management method and device, electronic equipment and computer readable storage medium - Google Patents

Resource management method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112132472A
CN112132472A CN202011027468.1A CN202011027468A CN112132472A CN 112132472 A CN112132472 A CN 112132472A CN 202011027468 A CN202011027468 A CN 202011027468A CN 112132472 A CN112132472 A CN 112132472A
Authority
CN
China
Prior art keywords
target
information
target object
resource
resource information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011027468.1A
Other languages
Chinese (zh)
Inventor
尹星辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN202011027468.1A priority Critical patent/CN112132472A/en
Publication of CN112132472A publication Critical patent/CN112132472A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Engineering & Computer Science (AREA)
  • Strategic Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Marketing (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses a resource management method, a resource management device, electronic equipment and a computer-readable storage medium, and belongs to the technical field of internet. The method comprises the following steps: acquiring object information of a target object in an object to be managed, wherein the object information comprises resource information of the target object and at least one of object type and configuration information; determining a target reference object matched with the target object in the object to be managed according to at least one of the object type and the configuration information of the target object; and responding to the change of the resource information of the target reference object, and adjusting the resource information of the target object based on the resource information of the target reference object after the change to obtain the resource information of the target object after the adjustment. The method ensures that the resource information after the target object is adjusted is more accurate, thereby improving the accuracy and reliability of resource management. Because the resource information of the object consistent with the target object in other objects to be managed is not needed, the resource management is more flexible.

Description

Resource management method and device, electronic equipment and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of internet, in particular to a resource management method, a resource management device, electronic equipment and a computer-readable storage medium.
Background
In order to facilitate people to take a short break, a hotel provides a clock room service, and clock room resource information such as clock room price is an important factor considered when people select the clock room. Therefore, resource management of hotel rooms is also particularly important.
In the related art, resource information of the clock rooms of other hotels is obtained, an average value of the resources of the clock rooms of the other hotels is calculated, and if the resource information of the clock rooms of the hotel to be managed is inconsistent with the average value of the resources, the resource information of the clock rooms of the hotel to be managed is adjusted.
However, the resource management method needs to calculate the resource average value by using the resources of the clockroom of other hotels, and performs resource management by using the resource average value, so that the resource management has certain limitations, and the accuracy and reliability of the resource management are low.
Disclosure of Invention
The embodiment of the application provides a resource management method, a resource management device, an electronic device and a computer-readable storage medium, which can be used for solving the problems in the related art. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a resource management method, where the method includes:
acquiring object information of a target object in an object to be managed, wherein the object information comprises resource information of the target object and at least one of object type and configuration information;
determining a target reference object matched with the target object in the object to be managed according to at least one of the object type and the configuration information of the target object;
and responding to the change of the resource information of the target reference object, and adjusting the resource information of the target object based on the resource information of the target reference object after the change to obtain the resource information of the target object after the adjustment.
In a possible implementation, the object information of the target object further includes time information of the target object;
the adjusting the resource information of the target object based on the resource information of the target reference object after the change of the target reference object in response to the change of the resource information of the target reference object to obtain the resource information of the target object after the adjustment includes:
responding to the change of the resource information of the target reference object, and adjusting the resource information of the target object based on the resource information of the target reference object after the change and the time information of the target object to obtain the resource information of the target object after the adjustment.
In a possible implementation manner, the adjusting, in response to a change in the resource information of the target reference object, the resource information of the target object based on the resource information after the change in the target reference object and the time information of the target object to obtain the resource information after the adjustment of the target object includes:
in response to the change of the resource information of the target reference object, determining a resource adjustment proportion of the target object based on the time information of the target object;
and adjusting the resource information of the target object based on the resource information of the changed target reference object and the resource adjustment proportion of the target object to obtain the resource information of the adjusted target object.
In a possible implementation manner, the determining a resource adjustment ratio of the target object based on the time information of the target object includes:
responding to the time information of the target object in a first time range, and determining that the resource adjustment proportion of the target object is a first proportion;
responding to the time information of the target object in a second time range, and determining that the resource adjustment proportion of the target object is a second proportion;
responding to the time information of the target object in a third time range, and determining that the resource adjustment proportion of the target object is a third proportion;
wherein the first time range is smaller than the second time range, the second time range is smaller than the third time range, the first proportion is smaller than the second proportion, and the second proportion is smaller than the third proportion.
In a possible implementation manner, the adjusting, in response to a change in the resource information of the target reference object, the resource information of the target object based on the resource information after the change in the target reference object to obtain the resource information after the adjustment of the target object includes:
in response to the change of the resource information of the target reference object, determining a resource change proportion of the target reference object based on the resource information of the target reference object and the resource information after the change of the target reference object;
and adjusting the resource information of the target object according to the resource change proportion of the target reference object and the resource information of the target object to obtain the resource information of the target object after adjustment.
In a possible implementation manner, the determining, according to at least one of an object type and configuration information of the target object, a target reference object that matches the target object in the object to be managed includes:
determining candidate objects in the objects to be managed, wherein the candidate objects are inconsistent with the object types of the target objects, as the target reference objects;
or, determining a candidate object in the object to be managed, which is consistent with the configuration information of the target object, as the target reference object;
or, according to the object type of the target object, determining a first reference object inconsistent with the object type of the target object in the object to be managed;
and determining a first reference object of which the configuration information meets the target requirement in the first reference object as the target reference object according to the configuration information of the target object and the configuration information of the first reference object.
In a possible implementation manner, the determining, according to the configuration information of the target object and the configuration information of the first reference object, the first reference object of which the configuration information meets a target requirement in the first reference object as the target reference object includes:
determining the matching degree of the target object and the first reference object based on the configuration information of the target object and the configuration information of the first reference object;
and determining the first reference object with the matching degree meeting the target requirement as the target reference object.
In a possible implementation manner, the determining, according to at least one of an object type and configuration information of the target object, a target reference object that matches the target object in the object to be managed includes:
determining a plurality of second reference objects associated with the target object in the object to be managed according to at least one of the object type and the configuration information of the target object;
presenting the plurality of second reference objects;
in response to receiving a selection instruction of any one of the plurality of second reference objects, determining the selected second reference object as a target reference object matching the target object.
In a possible implementation manner, before the obtaining object information of a target object in an object to be managed, the method further includes:
displaying a plurality of candidate objects included by the object to be managed;
the acquiring of the object information of the target object in the object to be managed includes:
in response to receiving a selection instruction of a target object of the plurality of candidate objects, object information of the target object is acquired.
In another aspect, an embodiment of the present application provides a resource management apparatus, where the apparatus includes:
the management system comprises an acquisition module, a management module and a management module, wherein the acquisition module is used for acquiring object information of a target object in an object to be managed, and the object information comprises resource information of the target object and at least one of object type and configuration information;
a determining module, configured to determine, according to at least one of an object type and configuration information of the target object, a target reference object that is matched with the target object in the object to be managed;
and the adjusting module is used for responding to the change of the resource information of the target reference object, and adjusting the resource information of the target object based on the resource information of the target reference object after the change to obtain the resource information of the target object after the adjustment.
In a possible implementation, the object information of the target object further includes time information of the target object;
the adjusting module is configured to adjust the resource information of the target object based on the changed resource information of the target reference object and the time information of the target object in response to a change in the resource information of the target reference object, so as to obtain the adjusted resource information of the target object.
In a possible implementation manner, the determining module is configured to determine, in response to a change in resource information of the target reference object, a resource adjustment ratio of the target object based on time information of the target object;
the adjusting module is configured to adjust the resource information of the target object based on the resource information of the changed target reference object and the resource adjustment ratio of the target object, so as to obtain the resource information of the target object after adjustment.
In a possible implementation manner, the determining module is configured to determine, in response to that the time information of the target object is in a first time range, that the resource adjustment ratio of the target object is a first ratio; responding to the time information of the target object in a second time range, and determining that the resource adjustment proportion of the target object is a second proportion; responding to the time information of the target object in a third time range, and determining that the resource adjustment proportion of the target object is a third proportion; wherein the first time range is smaller than the second time range, the second time range is smaller than the third time range, the first proportion is smaller than the second proportion, and the second proportion is smaller than the third proportion.
In a possible implementation manner, the adjusting module is configured to determine, in response to a change in resource information of the target reference object, a resource change ratio of the target reference object based on the resource information of the target reference object and the resource information after the change of the target reference object; and adjusting the resource information of the target object according to the resource change proportion of the target reference object and the resource information of the target object to obtain the resource information of the target object after adjustment.
In a possible implementation manner, the determining module is configured to determine, as the target reference object, a candidate object in the object to be managed, where the candidate object is inconsistent with the object type of the target object; or, determining a candidate object in the object to be managed, which is consistent with the configuration information of the target object, as the target reference object; or, according to the object type of the target object, determining a first reference object inconsistent with the object type of the target object in the object to be managed; and determining a first reference object of which the configuration information meets the target requirement in the first reference object as the target reference object according to the configuration information of the target object and the configuration information of the first reference object.
In a possible implementation manner, the determining module is configured to determine a matching degree between the target object and the first reference object based on the configuration information of the target object and the configuration information of the first reference object; and determining the first reference object with the matching degree meeting the target requirement as the target reference object.
In a possible implementation manner, the determining module is configured to determine, in the object to be managed, a plurality of second reference objects associated with the target object according to at least one of an object type and configuration information of the target object; presenting the plurality of second reference objects; in response to receiving a selection instruction of any one of the plurality of second reference objects, determining the selected second reference object as a target reference object matching the target object.
In one possible implementation, the apparatus further includes:
the display module is used for displaying a plurality of candidate objects included by the object to be managed;
the obtaining module is configured to obtain object information of a target object in the plurality of candidate objects in response to receiving a selection instruction of the target object.
In another aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a processor and a memory, where the memory stores at least one program code, and the at least one program code is loaded and executed by the processor, so as to implement any one of the resource management methods described above.
In another aspect, a computer-readable storage medium is provided, in which at least one program code is stored, and the at least one program code is loaded and executed by a processor to implement any of the above-mentioned resource management methods.
In another aspect, a computer program or a computer program product is provided, in which at least one computer instruction is stored, and the at least one computer instruction is loaded and executed by a processor to implement any of the above-mentioned resource management methods.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
according to the technical scheme provided by the embodiment of the application, the resource information of the target object is adjusted based on the change of the resource information of the target reference object matched with the target object, so that the resource information after the target object is adjusted is more accurate, and the accuracy and the reliability of resource management are improved. In addition, the resource management method does not need to use the resource information of the object consistent with the target object in other objects to be managed, so that the resource management is more flexible.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment of a resource management method according to an embodiment of the present application;
fig. 2 is a flowchart of a resource management method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a method for determining a target reference object according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of a resource management method according to an embodiment of the present application;
FIG. 5 is a flowchart of a resource management method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a resource management apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a server according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment of a resource management method provided in an embodiment of the present application, and as shown in fig. 1, the implementation environment includes: an electronic device 101 and a server 102.
The electronic device 101 is at least one of a smartphone, a game console, a desktop computer, a tablet computer, an electronic book reader, an MP3(Moving Picture Experts Group Audio Layer III, motion Picture Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion Picture Experts compression standard Audio Layer 4) player, and a laptop computer. The electronic device 101 is configured to execute the resource management method provided by the embodiment of the application.
The electronic device 101 generally refers to one of a plurality of electronic devices, and the electronic device 101 is merely illustrated in the present embodiment. Those skilled in the art will appreciate that the number of electronic devices 101 described above may be greater or fewer. For example, the number of the electronic devices 101 is only one, or the number of the electronic devices 101 is several tens or several hundreds, or more, and the number of the electronic devices and the device types are not limited in the embodiment of the present application.
The server 102 is a server or a server cluster composed of a plurality of servers. The server 102 is also any one of a cloud computing platform or a virtualization center, which is not limited in this embodiment. The server 102 and the electronic apparatus 101 are communicatively connected via a wired network or a wireless network. The server 102 stores object information of each object, the object information includes resource information, the server 102 is configured to receive an acquisition request sent by the electronic device 101, acquire object information of a target object and resource information of a target reference object matching the target object according to the acquisition request, and the server 102 is further configured to send the object information of the target object and the resource information of the target reference object matching the target object to the electronic device 101. Of course, the server 102 may also include other functional servers to provide more comprehensive and diversified services.
Based on the foregoing implementation environment, the present embodiment provides a resource management method, which may be executed by the electronic device 101 in fig. 1, taking a flowchart of the resource management method provided in the present embodiment shown in fig. 2 as an example. As shown in fig. 2, the method comprises the steps of:
in step 201, object information of a target object in the objects to be managed is obtained, where the object information includes resource information of the target object and at least one of an object type and configuration information.
In a possible implementation manner, an application program for resource adjustment is installed and run in the electronic device, and the type of the application program is not limited in the embodiment of the present application.
In a possible implementation manner, when the target user triggers the application program, the electronic device opens the application program in response to a triggering operation of the target user, displays a plurality of objects to be managed included in the application program on a display interface of the electronic device, and determines one object to be managed among the plurality of objects to be managed by the target user. The object to be managed is a hotel by way of example, and of course, the hotel to be managed may also be other stores requiring resource management, and the object to be managed is not limited in the embodiment of the present application.
In a possible implementation manner, after the target user determines the object to be managed, the electronic device displays a plurality of candidate objects included in the object to be managed in response to a trigger operation of the target user on the object to be managed. The target user selects any one of the candidate objects, the electronic equipment responds to a selection instruction of the target user, the selected candidate object is determined to be the target object, and the electronic equipment obtains an object identifier of the target object. The storage space of the electronic equipment stores object information and the corresponding relation between the object information and the object identification, and the electronic equipment acquires the object information of the target object from the storage space of the electronic equipment based on the object identification of the target object. The object information includes resource information, and at least one of an object type and configuration information, where the object type is illustratively a room type, the object type includes a clockroom and a full-day room, and the configuration information is a configuration condition of the target object, for example, the configuration information of the target object is: standard large bed room, breakfast, resource information is the price of the target object.
It should be noted that the object type of the target object is a clockroom, and when the object type of the target object selected by the target user is a full day room, the electronic device displays a prompt message for prompting the target user to select the target object again.
Illustratively, the object to be managed is a hotel, the candidate object is a room in the hotel, and the target object is an object of which the object type is a clockwork room in the candidate object.
In step 202, a target reference object matching the target object is determined in the object to be managed according to at least one of the object information and the configuration information of the target object.
In one possible implementation manner, there are two implementation manners that a target reference object matching with a target object is determined in an object to be managed according to object information and configuration information of the target object.
In a first implementation manner, a target reference object matched with a target object is determined in candidate objects included in an object to be managed according to at least one of an object type and configuration information of the target object.
In one possible implementation, there are three ways to determine the target reference object matching the target object.
The method comprises the steps of determining candidate objects which are inconsistent with the object type of the target object in the objects to be managed as target reference objects.
And secondly, determining candidate objects consistent with the configuration information of the target object in the objects to be managed as target reference objects.
Determining a first reference object inconsistent with the object type of the target object in the object to be managed according to the object type of the target object; and determining the first reference object of which the configuration information meets the target requirement in the first reference object as the target reference object according to the configuration information of the target object and the configuration information of the first reference object.
For the first mode, the object type includes a clockroom and a full-day room, the object type of the target object is the clockroom, and the candidate objects which are inconsistent with the object type of the target object, that is, the object type is the candidate objects of the full-day room, that is, one candidate object is randomly determined to be the target reference object from the candidate objects of which the object type is the full-day room.
And for the second mode, acquiring the configuration information of the target object and the configuration information of the candidate object in the object to be managed, and determining the candidate object consistent with the configuration information of the target object as the target reference object.
And for the third mode, determining an object of which the object type is the whole-day house in a plurality of candidate objects included in the object to be managed as a first reference object, determining the matching degree of the target object and the first reference object based on the configuration information of the target object and the configuration information of the first reference object, and determining the first reference object of which the matching degree meets the target requirement as the target reference object. For example, the matching degree satisfies the target requirement that the matching degree is the highest, that is, the first reference object with the highest matching degree is determined as the target reference object, or the matching degree satisfies the target requirement that the matching degree is in the target digit number, that is, one first reference object is randomly determined as the target reference object from the first reference objects with the matching degree in the target digit number. The embodiment of the present application does not limit the matching degree to meet the target requirement. The target digit is set based on experience and can be adjusted according to an implementation environment, and the value of the target digit is not limited in the embodiment of the application.
In one possible implementation, the matching process between the target object and the first reference object is as follows:
the configuration information of the first reference object is input into a target matching degree determination model, the configuration information of the target object is stored in the target matching degree determination model, the target matching degree determination model is used for determining the matching degree between the first reference object and the target object, and the matching degree between the first reference object and the target object is obtained based on the output result of the target matching degree determination model.
In a possible implementation manner, before the configuration information of the first reference object is input into the target matching degree determination model, the initial matching degree determination model needs to be trained to obtain the target matching degree determination model. The training process of the initial matching degree determination model is as follows: and training an initial matching degree determination model based on the plurality of third reference objects and the matching degree between each third reference object and the target object to obtain a target matching degree determination model. Wherein the degree of matching between each third reference object and the target object is determined by the user.
The initial matching degree determination model is any type of neural network model, and this is not limited in the embodiment of the present application. Illustratively, the initial matching degree determination model is PSM (Price Sensitivity measure, trend value matching model).
Illustratively, three first reference objects are determined from the candidate objects, wherein the matching degree between the first reference object and the target object is 50%, the matching degree between the second first reference object and the target object is 70%, and the matching degree between the third first reference object and the target object is 90%, and the first reference object with the highest matching degree is determined as the target reference object, that is, the third first reference object is determined as the target reference object.
In a possible implementation manner, the matching degree between the first reference object and the target object may be further determined according to a configuration condition included in the configuration information of the target object and a configuration condition included in the configuration information of the first reference object.
Determining the number of conditions which are consistent with the configuration conditions included in the configuration information of the target object in the configuration conditions included in the configuration information of the first reference object, and calculating the matching degree between the first reference object and the target object based on the number of conditions and the total number of the configuration conditions included in the configuration information of the first reference object.
Illustratively, the configuration information of the target object includes configuration conditions of: in a standard large bed room, the configuration information of the first reference object comprises the following configuration conditions: the standard large bed house contains breakfast, and therefore, the number of the conditions which are consistent with the configuration conditions included in the configuration information of the target object in the configuration conditions included in the configuration information of the first reference object is 1, the total number of the configuration conditions included in the configuration information of the first reference object is 2, and the matching degree between the first reference object and the target object is calculated to be
Figure BDA0002702546330000101
The calculation process of the matching degree between the other first reference object and the target object is the same as the calculation process of the matching degree between the first reference object and the target object, and is not repeated here.
And determining the selected second reference object as a target reference object matched with the target object according to the selection instruction of the target user.
In a possible implementation manner, according to at least one of the object type and the configuration information of the target object, a plurality of second reference objects associated with the target object are determined in the object to be managed, the plurality of second reference objects are displayed, and in response to receiving a selection instruction of any one of the plurality of second reference objects, the selected second reference object is determined as the target reference object matched with the target object.
The electronic device stores a plurality of second reference objects associated with the target object and the corresponding relationship between the object identifier of the target object and the plurality of second reference objects associated with the target object. The electronic device obtains a plurality of second reference objects associated with the target object from the storage space based on the object identifier of the target object, that is, the electronic device determines the plurality of second reference objects associated with the target object in the object to be managed. After the electronic equipment determines a plurality of second reference objects associated with the target object, the plurality of second reference objects are displayed, so that the target user can determine the target reference object in the plurality of second reference objects.
Fig. 3 is a schematic diagram illustrating a target object and two second reference objects associated with the target object, where in fig. 3, the first second reference object is determined as the target reference object in response to a target user selecting the first second reference object. Also shown in this fig. 3 are the validation time, whether to automatically defer, and the resource adjustment scale of the target object. The effective time is the time selected by the target user, whether to automatically postpone the selection by the target user, and the process of determining the resource adjustment ratio is described in step 203.
It should be noted that, any implementation manner described above may be adopted to determine the target reference object matching the target object, which is not limited in the embodiment of the present application.
In step 203, in response to the change of the resource information of the target reference object, the resource information of the target object is adjusted based on the resource information after the change of the target reference object, so as to obtain the resource information after the adjustment of the target object.
In a possible implementation manner, in response to a change in resource information of the target reference object, it is further determined whether the target object activates the linkage price changing service before adjusting the resource information of the target object based on the resource information after the change of the target reference object. If the target object has opened the linkage price-changing service, adjusting the resource information of the target object according to the resource information of the target reference object after the change, and obtaining the resource information of the target object after the adjustment; if the target object does not open the linkage price changing service, the resource information of the target object does not need to be adjusted.
It should be noted that, it may be determined before step 201 whether the target object activates the linkage price changing service, if the target object activates the linkage price changing service, the object information of the target object is acquired in step 201, the target reference object matched with the target object is determined in step 202, and the resource information of the target object is adjusted based on the resource information after the target reference object changes in step 203. Whether the linkage price changing service is opened by the target object can be determined between the step 202 and the step 203, and the determination time of whether the linkage price changing service is opened by the target object is not limited in the embodiment of the application.
In a possible implementation manner, a linkage price-changing service is activated in response to a target object, resource information of the target reference object changes, and based on the resource information after the target reference object changes, the resource information of the target object may be adjusted in the following two implementation manners to obtain the resource information after the target object is adjusted.
In the first implementation manner, the object information of the target object further includes time information of the target object, and in response to the change of the resource information of the target reference object, the resource information of the target object is adjusted according to the time information of the target object and the resource information of the target reference object after the change, so as to obtain the resource information of the target object after the adjustment.
One implementation includes the following steps 1 to 2.
Step 1, responding to the change of the resource information of the target reference object, and determining the resource adjustment proportion of the target object based on the time information of the target object.
In one possible implementation, determining the resource adjustment ratio of the target object based on the time information of the target object includes the following three cases.
In case one, in response to the time information of the target object being in the first time range, the resource adjustment proportion of the target object is determined to be the first proportion.
Illustratively, the first time range is 1 to 4 hours, the time information of the target object is 3 hours, and since the time information of the target object is in the first time range, the resource adjustment proportion of the target object is determined to be a first proportion, and the first proportion is 50%.
And in the second situation, in response to the time information of the target object in the second time range, determining the resource adjustment proportion of the target object to be the second proportion. The second time range is larger than the first time range, and the second proportion is larger than the first proportion.
Illustratively, the second time range is 5 to 6 hours, the time information of the target object is 5 hours, and since the time information of the target object is in the second time range, the resource adjustment proportion of the target object is determined to be a second proportion, and the second proportion is 60%.
And thirdly, in response to the time information of the target object in a third time range, determining the resource adjustment proportion of the target object as a third proportion. Wherein the third time range is greater than the second time range, and the third proportion is greater than the second proportion.
Illustratively, the third time range is 7 hours or more, the time information of the target object is 8 hours, and since the time information of the target object is in the third time range, the resource adjustment ratio of the target object is determined to be a third ratio, and the third ratio is 70%.
It should be noted that the first time range, the second time range, and the third time range are all illustrations of the embodiment of the present application, and are not intended to limit the present application, and the first time range, the second time range, and the third time range may be any time ranges as long as the first time range is smaller than the second time range, and the second time range is smaller than the third time range. The first ratio, the second ratio and the third ratio are also illustrative of the embodiments of the present application and are not intended to limit the present application, and the first ratio, the second ratio and the third ratio may be any values as long as the first ratio is smaller than the second ratio and the second ratio is smaller than the third ratio.
It should be further noted that the time range and the ratio are set based on experience, may also be set according to implementation scenarios, and may also be dynamically adjusted, and the determination manner of the time range and the ratio in the embodiment of the present application is not limited.
And 2, adjusting the resource information of the target object based on the resource information of the changed target reference object and the resource adjustment proportion of the target object to obtain the resource information of the adjusted target object.
In a possible implementation manner, a new resource information is calculated for the resource adjustment ratio of the target object determined in step 1 and the resource information after the target reference object is changed, and the new resource information is determined as the resource information after the target object is adjusted.
Illustratively, the resource adjustment ratio of the target object is 70%, and the resource information after the target reference object is changed is 100. Calculating new resource information according to the resource adjustment proportion of the target object and the resource information after the target reference object is changed, wherein the new resource information comprises the following steps: the new resource information is 70, that is, the new resource information is 70, and the new resource information is adjusted as the target object, that is, the resource information after the target object is adjusted is 70.
And in response to the change of the resource information of the target reference object, adjusting the resource information of the target object according to the resource information of the target reference object and the resource information of the target reference object after the change, so as to obtain the resource information of the target object after the adjustment.
In one possible implementation manner, in response to a change in the resource information of the target reference object, the resource information of the target object is adjusted according to the resource information of the target reference object and the resource information after the change of the target reference object, and obtaining the resource information after the adjustment of the target object includes the following steps one to two.
Step one, responding to the change of the resource information of the target reference object, and determining the resource change proportion of the target reference object based on the resource information of the target reference object and the resource information of the target reference object after the change.
In one possible implementation manner, in response to the resource information of the target reference object changing, the electronic device obtains the resource information before the change of the target reference object and the resource information after the change, and calculates the resource change proportion P of the target reference object according to the following formula (1).
Figure BDA0002702546330000141
In the above formula (1), X is the resource information before the target reference object is changed, and X' is the resource information after the target reference object is changed.
Illustratively, the resource information before the target reference object is changed is 200, the resource information after the change is 150, and the resource change ratio of the target reference object is calculated as follows the above formula (1)
Figure BDA0002702546330000142
Figure BDA0002702546330000143
And step two, adjusting the resource information of the target object according to the resource change proportion of the target reference object and the resource information of the target object to obtain the resource information of the target object after adjustment.
In one possible implementation manner, the resource information Y' after the target object is adjusted is determined according to the following formula (2) according to the resource change ratio of the target reference object and the resource information of the target object.
Y′=P*Y (2)
In the above formula (2), P is the resource change ratio of the target reference object, and Y is the resource information of the target object.
Illustratively, the resource change ratio of the target reference object is 75%, the resource information of the target object is 100, and the resource information after the target object is adjusted is calculated according to the above formula (2) as follows: y' 75% 100 75.
It should be noted that, the resource information of the target object may be adjusted according to any of the above-mentioned implementation manners to obtain the resource information after the target object is adjusted, which is not limited in the embodiment of the present application.
According to the method, the resource information of the target object is adjusted based on the change of the resource information of the target reference object matched with the target object, so that the resource information of the target object after adjustment is more accurate, and the accuracy and the reliability of resource management are improved. In addition, the resource management method does not need to use the resource information of the object consistent with the target object in other objects to be managed, so that the resource management is more flexible.
Fig. 4 is a flowchart of a resource management method according to an embodiment of the present application, which is illustrated in the interaction between the electronic device 101 and the server 102 in fig. 1, and as shown in fig. 4, the method includes the following steps:
in step 401, the electronic device generates an acquisition request in response to a selection operation of a target object by a target user, where the acquisition request carries an object identifier of the target object.
In a possible implementation manner, an application program for user resource management is installed and executed in the electronic device, and the type of the application program is not limited in the embodiment of the present application.
In a possible implementation manner, the process of selecting the target object by the target user is the same as the process in step 201, and is not described herein again. After the electronic device receives a selection operation of a target object by a target user, the electronic device generates an acquisition request based on the selection operation, where the acquisition request carries an object identifier of the target object, and the object identifier of the target object is a label of the target object, or a room number of the target object, or any identifier that can uniquely represent the target object.
In step 402, the electronic device sends an acquisition request to a server.
In a possible implementation manner, after generating an acquisition request, the electronic device directly sends the acquisition request to the server, or after generating an acquisition request target time, sends the acquisition request to the server, and the sending timing of the acquisition request is not limited in the embodiment of the present application.
It should be noted that the target time is set based on experience, and may also be adjusted according to an implementation environment, and the value of the target time is not limited in the embodiment of the present application. Illustratively, the target time is 5 seconds.
In step 403, the server receives an acquisition request sent by the electronic device, parses the acquisition request to obtain an object identifier of the target object, and acquires object information of the target object based on the object identifier of the target object.
In a possible implementation manner, the storage space of the server stores the object information and the corresponding relationship between the object identifier and the object information. After receiving an acquisition request sent by the electronic device, the server analyzes the acquisition request to obtain an object identifier of a target object carried in the acquisition request, and extracts object information corresponding to the object identifier of the target object from a storage space according to the object identifier of the target object, that is, the server acquires the object information of the target object.
In step 404, the server determines a target reference object matching the target object and resource information of the target reference object.
In a possible implementation manner, the process of determining, by the server, the target reference object matched with the target object is consistent with the process in step 202, and is not described herein again.
In a possible implementation manner, after the server determines the target reference object, the server may further extract object information of the target reference object in the storage space based on the object identifier of the target reference object, and extract resource information of the target reference object from the object information of the target reference object, that is, the server obtains the resource information of the target reference object.
In step 405, the server transmits object information of the target object and resource information of the target reference object matching the target object to the electronic device.
In a possible implementation manner, the server may send the object information of the target object and the resource information of the target reference object matching the target object to the electronic device together, that is, after the object information of the target object is obtained in step 403 and the resource information of the target reference object matching the target object is obtained in step 404, the object information and the resource information are sent to the electronic device together. The object information of the target object and the resource information of the target reference object matched with the target object may be separately sent to the electronic device, that is, the server directly sends the object information of the target object to the electronic device after acquiring the object information of the target object in step 403, and directly sends the resource information of the target reference object to the electronic device after acquiring the resource information of the target reference object matched with the target object in step 404. The embodiment of the present application does not limit the transmission timings of the object information of the target object and the target reference object.
In step 406, the electronic device receives the object information of the target object and the resource information of the target reference object, which are transmitted by the server.
In a possible implementation manner, after the object information of the target object and the resource information of the target reference object are electronically received, the object information of the target object and the resource information of the target reference object may also be saved.
In step 407, in response to the change of the resource information of the target reference object, the electronic device adjusts the resource information of the target object based on the resource information after the change of the target reference object, so as to obtain the resource information after the adjustment of the target object.
In a possible implementation manner, the electronic device adjusts the resource information of the target object based on the resource information after the target reference object changes, and a process of obtaining the resource information after the target object is adjusted is consistent with the process in step 203, which is not described herein again.
According to the method, the resource information of the target object is adjusted based on the change of the resource information of the target reference object matched with the target object, so that the resource information of the target object after adjustment is more accurate, and the accuracy and the reliability of resource management are improved. In addition, the resource management method does not need to use the resource information of the object consistent with the target object in other objects to be managed, so that the resource management is more flexible.
Fig. 5 is a flowchart illustrating a resource management method according to an embodiment of the present application, where in fig. 5, a target user opens a linkage price changing service for a target object, and a resource management platform opens the linkage price changing service for the target object in response to an operation of the target user opening the linkage price changing service. The target user determines the target object, and the process of determining the target object is the same as the process in step 201, which is not described herein again. The resource management platform determines the target reference object matched with the target object according to the target object, and the process is consistent with the process in step 202, which is not described herein again. And responding to the change of the resource information of the target reference object, acquiring a linkage price-changing rule, and determining a resource adjusting proportion in the linkage price-changing rule. And adjusting the resource information of the target object according to the resource information and the resource adjustment ratio after the target reference object is changed to obtain the resource information after the target object is adjusted, wherein the process is consistent with the process in the step 203 and is not repeated herein. And showing the resource information after the target object is adjusted to the target user.
Fig. 6 is a schematic structural diagram of a resource management device according to an embodiment of the present application, and as shown in fig. 6, the device includes:
an obtaining module 601, configured to obtain object information of a target object in an object to be managed, where the object information includes resource information of the target object and at least one of an object type and configuration information;
a determining module 602, configured to determine, according to at least one of an object type and configuration information of the target object, a target reference object that matches the target object in the object to be managed;
the adjusting module 603 is configured to, in response to that the resource information of the target reference object changes, adjust the resource information of the target object based on the resource information of the target reference object after the change, and obtain the resource information of the target object after the adjustment.
In a possible implementation, the object information of the target object further includes time information of the target object;
the adjusting module 603 is configured to, in response to a change in the resource information of the target reference object, adjust the resource information of the target object based on the resource information of the target reference object after the change and the time information of the target object, and obtain the resource information of the target object after the adjustment.
In a possible implementation manner, the determining module 602 is configured to determine, in response to a change in the resource information of the target reference object, a resource adjustment ratio of the target object based on the time information of the target object;
the adjusting module 603 is configured to adjust the resource information of the target object based on the resource information of the target reference object after being changed and the resource adjustment ratio of the target object, so as to obtain the resource information of the target object after being adjusted.
In a possible implementation manner, the determining module 602 is configured to determine, in response to that the time information of the target object is in a first time range, a resource adjustment ratio of the target object to be a first ratio; responding to the time information of the target object in a second time range, and determining that the resource adjustment proportion of the target object is a second proportion; responding to the time information of the target object in a third time range, and determining that the resource adjustment proportion of the target object is a third proportion; the first time range is smaller than the second time range, the second time range is smaller than the third time range, the first proportion is smaller than the second proportion, and the second proportion is smaller than the third proportion.
In a possible implementation manner, the adjusting module 603 is configured to, in response to a change in the resource information of the target reference object, determine a resource change ratio of the target reference object based on the resource information of the target reference object and the resource information after the change of the target reference object; and adjusting the resource information of the target object according to the resource change proportion of the target reference object and the resource information of the target object to obtain the resource information of the target object after adjustment.
In a possible implementation manner, the determining module 602 is configured to determine, as a target reference object, a candidate object in the object to be managed, where the candidate object is inconsistent with the object type of the target object; or, determining a candidate object consistent with the configuration information of the target object in the object to be managed as a target reference object; or, according to the object type of the target object, determining a first reference object inconsistent with the object type of the target object in the object to be managed; and determining a first reference object of which the configuration information meets the target requirement in the first reference object as the target reference object according to the configuration information of the target object and the configuration information of the first reference object.
In a possible implementation manner, the determining module 602 is configured to determine a matching degree between the target object and the first reference object based on the configuration information of the target object and the configuration information of the first reference object; and determining the first reference object with the matching degree meeting the target requirement as the target reference object.
In a possible implementation manner, the determining module 602 is configured to determine, in the object to be managed, a plurality of second reference objects associated with the target object according to at least one of an object type and configuration information of the target object; displaying the plurality of second reference objects; in response to receiving a selection instruction of any one of the plurality of second reference objects, determining the selected second reference object as a target reference object matching the target object.
In one possible implementation, the apparatus further includes:
the display module is used for displaying a plurality of candidate objects included by the object to be managed;
the obtaining module 601 is configured to obtain object information of a target object in the plurality of candidate objects in response to receiving a selection instruction of the target object.
The device adjusts the resource information of the target object based on the change of the resource information of the target reference object matched with the target object, so that the resource information of the target object after adjustment is more accurate, and the accuracy and the reliability of resource management are improved. In addition, the resource management method does not need to use the resource information of the object consistent with the target object in other objects to be managed, so that the resource management is more flexible.
It should be noted that: in the resource management device provided in the above embodiment, when performing resource management, only the division of the above functional modules is exemplified, and in practical applications, the above function allocation may be completed by different functional modules according to needs, that is, the internal structure of the resource management device is divided into different functional modules to complete all or part of the above described functions. In addition, the resource management apparatus and the resource management method provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application. The electronic device 700 may be: a smart phone, a tablet computer, an MP3(Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4) player, a notebook computer or a desktop computer. Electronic device 700 may also be referred to by other names as user equipment, portable electronic device, laptop electronic device, desktop electronic device, and so on.
In general, the electronic device 700 includes: one or more processors 701 and one or more memories 702.
The processor 701 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 701 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 701 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 701 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 701 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
Memory 702 may include one or more computer-readable storage media, which may be non-transitory. Memory 702 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 702 is used to store at least one instruction for execution by processor 701 to implement a resource management method provided by method embodiments herein.
In some embodiments, the electronic device 700 may further optionally include: a peripheral interface 703 and at least one peripheral. The processor 701, the memory 702, and the peripheral interface 703 may be connected by buses or signal lines. Various peripheral devices may be connected to peripheral interface 703 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 704, a display screen 705, a camera assembly 706, an audio circuit 707, a positioning component 708, and a power source 709.
The peripheral interface 703 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 701 and the memory 702. In some embodiments, processor 701, memory 702, and peripheral interface 703 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 701, the memory 702, and the peripheral interface 703 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 704 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 704 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 704 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 704 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 704 may communicate with other electronic devices via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 704 may also include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 705 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 705 is a touch display screen, the display screen 705 also has the ability to capture touch signals on or over the surface of the display screen 705. The touch signal may be input to the processor 701 as a control signal for processing. At this point, the display 705 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 705 may be one, providing the front panel of the electronic device 700; in other embodiments, the number of the display screens 705 may be at least two, and the at least two display screens are respectively disposed on different surfaces of the electronic device 700 or are in a folding design; in some embodiments, the display 705 may be a flexible display disposed on a curved surface or on a folded surface of the electronic device 700. Even more, the display 705 may be arranged in a non-rectangular irregular pattern, i.e. a shaped screen. The Display 705 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), or the like.
The camera assembly 706 is used to capture images or video. Optionally, camera assembly 706 includes a front camera and a rear camera. Generally, a front camera is disposed on a front panel of an electronic apparatus, and a rear camera is disposed on a rear surface of the electronic apparatus. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 706 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuitry 707 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 701 for processing or inputting the electric signals to the radio frequency circuit 704 to realize voice communication. For stereo capture or noise reduction purposes, the microphones may be multiple and disposed at different locations of the electronic device 700. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 701 or the radio frequency circuit 704 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 707 may also include a headphone jack.
The positioning component 708 is operable to locate a current geographic Location of the electronic device 700 to implement a navigation or LBS (Location Based Service). The Positioning component 708 can be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
The power supply 709 is used to supply power to various components in the electronic device 700. The power source 709 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When power source 709 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the electronic device 700 also includes one or more sensors 710. The one or more sensors 710 include, but are not limited to: acceleration sensor 711, gyro sensor 712, pressure sensor 711, fingerprint sensor 714, optical sensor 715, and proximity sensor 716.
The acceleration sensor 711 may detect the magnitude of acceleration in three coordinate axes of a coordinate system established with the electronic device 700. For example, the acceleration sensor 711 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 701 may control the display screen 705 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 711. The acceleration sensor 711 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 712 may detect a body direction and a rotation angle of the electronic device 700, and the gyro sensor 712 may cooperate with the acceleration sensor 711 to acquire a 3D motion of the user with respect to the electronic device 700. From the data collected by the gyro sensor 712, the processor 701 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 711 may be disposed on a side bezel of the electronic device 700 and/or on a lower layer of the display 705. When the pressure sensor 711 is disposed on a side frame of the electronic device 700, a user's holding signal of the electronic device 700 can be detected, and the processor 701 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 711. When the pressure sensor 711 is disposed at the lower layer of the display 705, the processor 701 controls the operability control on the UI interface according to the pressure operation of the user on the display 705. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 714 is used for collecting a fingerprint of a user, and the processor 701 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 714, or the fingerprint sensor 714 identifies the identity of the user according to the collected fingerprint. When the user identity is identified as a trusted identity, the processor 701 authorizes the user to perform relevant sensitive operations, including unlocking a screen, viewing encrypted information, downloading software, paying, changing settings, and the like. The fingerprint sensor 714 may be disposed on the front, back, or side of the electronic device 700. When a physical button or vendor Logo is provided on the electronic device 700, the fingerprint sensor 714 may be integrated with the physical button or vendor Logo.
The optical sensor 715 is used to collect the ambient light intensity. In one embodiment, the processor 701 may control the display brightness of the display screen 705 based on the ambient light intensity collected by the optical sensor 715. Specifically, when the ambient light intensity is high, the display brightness of the display screen 705 is increased; when the ambient light intensity is low, the display brightness of the display screen 705 is adjusted down. In another embodiment, processor 701 may also dynamically adjust the shooting parameters of camera assembly 706 based on the ambient light intensity collected by optical sensor 715.
A proximity sensor 716, also referred to as a distance sensor, is typically disposed on the front panel of the electronic device 700. The proximity sensor 716 is used to capture the distance between the user and the front of the electronic device 700. In one embodiment, the processor 701 controls the display screen 705 to switch from the bright screen state to the dark screen state when the proximity sensor 716 detects that the distance between the user and the front surface of the electronic device 700 is gradually decreased; when the proximity sensor 716 detects that the distance between the user and the front surface of the electronic device 700 is gradually increased, the processor 701 controls the display screen 705 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 7 does not constitute a limitation of the electronic device 700 and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components.
Fig. 8 is a schematic structural diagram of a server according to an embodiment of the present application, where the server 800 may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 801 and one or more memories 802, where the one or more memories 802 store at least one program instruction, and the at least one program instruction is loaded and executed by the one or more processors 801 to implement the resource management method provided by the foregoing method embodiments. Of course, the server 800 may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input and output, and the server 800 may also include other components for implementing the functions of the device, which are not described herein again.
In an exemplary embodiment, there is also provided a computer readable storage medium having at least one program code stored therein, the at least one program code being loaded and executed by a processor to implement any of the above-mentioned resource management methods.
Alternatively, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program or a computer program product having at least one computer instruction stored therein, the at least one computer instruction being loaded and executed by a processor to implement any of the above-described resource management methods.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. A method for resource management, the method comprising:
acquiring object information of a target object in an object to be managed, wherein the object information comprises resource information of the target object and at least one of object type and configuration information;
determining a target reference object matched with the target object in the object to be managed according to at least one of the object type and the configuration information of the target object;
and responding to the change of the resource information of the target reference object, and adjusting the resource information of the target object based on the resource information of the target reference object after the change to obtain the resource information of the target object after the adjustment.
2. The method according to claim 1, wherein the object information of the target object further includes time information of the target object;
the adjusting the resource information of the target object based on the resource information of the target reference object after the change of the target reference object in response to the change of the resource information of the target reference object to obtain the resource information of the target object after the adjustment includes:
responding to the change of the resource information of the target reference object, and adjusting the resource information of the target object based on the resource information of the target reference object after the change and the time information of the target object to obtain the resource information of the target object after the adjustment.
3. The method according to claim 2, wherein the adjusting the resource information of the target object based on the resource information after the change of the target reference object and the time information of the target object in response to the change of the resource information of the target reference object to obtain the resource information after the adjustment of the target object comprises:
in response to the change of the resource information of the target reference object, determining a resource adjustment proportion of the target object based on the time information of the target object;
and adjusting the resource information of the target object based on the resource information of the changed target reference object and the resource adjustment proportion of the target object to obtain the resource information of the adjusted target object.
4. The method of claim 3, wherein the determining the resource adjustment ratio of the target object based on the time information of the target object comprises:
responding to the time information of the target object in a first time range, and determining that the resource adjustment proportion of the target object is a first proportion;
responding to the time information of the target object in a second time range, and determining that the resource adjustment proportion of the target object is a second proportion;
responding to the time information of the target object in a third time range, and determining that the resource adjustment proportion of the target object is a third proportion;
wherein the first time range is smaller than the second time range, the second time range is smaller than the third time range, the first proportion is smaller than the second proportion, and the second proportion is smaller than the third proportion.
5. The method according to claim 1, wherein the adjusting the resource information of the target object based on the resource information after the change of the target reference object in response to the change of the resource information of the target reference object to obtain the resource information after the adjustment of the target object comprises:
in response to the change of the resource information of the target reference object, determining a resource change proportion of the target reference object based on the resource information of the target reference object and the resource information after the change of the target reference object;
and adjusting the resource information of the target object according to the resource change proportion of the target reference object and the resource information of the target object to obtain the resource information of the target object after adjustment.
6. The method according to any one of claims 1 to 5, wherein the determining, in the object to be managed, a target reference object that matches the target object according to at least one of an object type and configuration information of the target object comprises:
determining candidate objects in the objects to be managed, wherein the candidate objects are inconsistent with the object types of the target objects, as the target reference objects;
or, determining a candidate object in the object to be managed, which is consistent with the configuration information of the target object, as the target reference object;
or, according to the object type of the target object, determining a first reference object inconsistent with the object type of the target object in the object to be managed;
and determining a first reference object of which the configuration information meets the target requirement in the first reference object as the target reference object according to the configuration information of the target object and the configuration information of the first reference object.
7. The method according to claim 6, wherein the determining, as the target reference object, a first reference object of the first reference object whose configuration information meets a target requirement according to the configuration information of the target object and the configuration information of the first reference object, comprises:
determining the matching degree of the target object and the first reference object based on the configuration information of the target object and the configuration information of the first reference object;
and determining the first reference object with the matching degree meeting the target requirement as the target reference object.
8. The method according to any one of claims 1 to 5, wherein the determining, in the object to be managed, a target reference object that matches the target object according to at least one of an object type and configuration information of the target object comprises:
determining a plurality of second reference objects associated with the target object in the object to be managed according to at least one of the object type and the configuration information of the target object;
presenting the plurality of second reference objects;
in response to receiving a selection instruction of any one of the plurality of second reference objects, determining the selected second reference object as a target reference object matching the target object.
9. The method according to any one of claims 1 to 5, wherein before the obtaining of the object information of the target object in the object to be managed, the method further comprises:
displaying a plurality of candidate objects included by the object to be managed;
the acquiring of the object information of the target object in the object to be managed includes:
in response to receiving a selection instruction of a target object of the plurality of candidate objects, object information of the target object is acquired.
10. An apparatus for resource management, the apparatus comprising:
the management system comprises an acquisition module, a management module and a management module, wherein the acquisition module is used for acquiring object information of a target object in an object to be managed, and the object information comprises resource information of the target object and at least one of object type and configuration information;
a determining module, configured to determine, according to at least one of an object type and configuration information of the target object, a target reference object that is matched with the target object in the object to be managed;
and the adjusting module is used for responding to the change of the resource information of the target reference object, and adjusting the resource information of the target object based on the resource information of the target reference object after the change to obtain the resource information of the target object after the adjustment.
11. An electronic device, comprising a processor and a memory, wherein at least one program code is stored in the memory, and wherein the at least one program code is loaded and executed by the processor to implement the method of resource management according to any of claims 1 to 9.
12. A computer-readable storage medium having stored therein at least one program code, the at least one program code being loaded and executed by a processor, to implement the resource management method according to any one of claims 1 to 9.
CN202011027468.1A 2020-09-25 2020-09-25 Resource management method and device, electronic equipment and computer readable storage medium Pending CN112132472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011027468.1A CN112132472A (en) 2020-09-25 2020-09-25 Resource management method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011027468.1A CN112132472A (en) 2020-09-25 2020-09-25 Resource management method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112132472A true CN112132472A (en) 2020-12-25

Family

ID=73841082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011027468.1A Pending CN112132472A (en) 2020-09-25 2020-09-25 Resource management method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112132472A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114648257A (en) * 2022-05-23 2022-06-21 德州市民政局 Information processing method, device and equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114648257A (en) * 2022-05-23 2022-06-21 德州市民政局 Information processing method, device and equipment

Similar Documents

Publication Publication Date Title
CN110674022B (en) Behavior data acquisition method and device and storage medium
CN110278464B (en) Method and device for displaying list
CN111083516B (en) Live broadcast processing method and device
CN113204298B (en) Method and device for displaying release progress, electronic equipment and storage medium
CN109327608B (en) Song sharing method, terminal, server and system
CN110134744B (en) Method, device and system for updating geomagnetic information
CN109144346B (en) Song sharing method and device and storage medium
CN111092991B (en) Lyric display method and device and computer storage medium
CN112269559A (en) Volume adjustment method and device, electronic equipment and storage medium
CN109660876B (en) Method and device for displaying list
CN112825048A (en) Message reminding method and device, electronic equipment and storage medium
CN111192072A (en) User grouping method and device and storage medium
CN111753606A (en) Intelligent model upgrading method and device
CN111064657B (en) Method, device and system for grouping concerned accounts
CN112100528A (en) Method, device, equipment and medium for training search result scoring model
CN109819308B (en) Virtual resource acquisition method, device, terminal, server and storage medium
CN111881423A (en) Method, device and system for limiting function use authorization
CN110933454A (en) Method, device, equipment and storage medium for processing live broadcast budding gift
CN112132472A (en) Resource management method and device, electronic equipment and computer readable storage medium
CN111063372B (en) Method, device and equipment for determining pitch characteristics and storage medium
CN110336881B (en) Method and device for executing service processing request
CN109618018B (en) User head portrait display method, device, terminal, server and storage medium
CN114140105A (en) Resource transfer method, device, equipment and computer readable storage medium
CN113076452A (en) Application classification method, device, equipment and computer readable storage medium
CN112579926A (en) Method and device for acquiring target resource, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20201225

WD01 Invention patent application deemed withdrawn after publication