CN110874676B - Resource allocation method, device and system - Google Patents

Resource allocation method, device and system Download PDF

Info

Publication number
CN110874676B
CN110874676B CN201810996982.2A CN201810996982A CN110874676B CN 110874676 B CN110874676 B CN 110874676B CN 201810996982 A CN201810996982 A CN 201810996982A CN 110874676 B CN110874676 B CN 110874676B
Authority
CN
China
Prior art keywords
resource
user
selection
server
terminal
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.)
Active
Application number
CN201810996982.2A
Other languages
Chinese (zh)
Other versions
CN110874676A (en
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201810996982.2A priority Critical patent/CN110874676B/en
Publication of CN110874676A publication Critical patent/CN110874676A/en
Application granted granted Critical
Publication of CN110874676B publication Critical patent/CN110874676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/12Hotels or restaurants

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Tourism & Hospitality (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Quality & Reliability (AREA)
  • Operations Research (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a resource allocation method, a device and a system, wherein the method comprises the following steps: receiving a resource viewing request sent by at least one terminal, wherein the resource viewing request comprises a resource viewing identifier; sending a resource selection interface corresponding to the resource viewing identification to at least one terminal, wherein the resource selection interface comprises a plurality of resources corresponding to the resource viewing identification; and allocating the used resources for the resource users according to the selection instructions triggered by the resource users corresponding to at least one terminal to the plurality of resources. Based on the method, at least one resource user can select the resources used by the user on line, the operation is convenient and efficient, the time cost for allocating the resources for the user off line is saved for the resource provider, and the processing efficiency of resource allocation is improved.

Description

Resource allocation method, device and system
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method, an apparatus, and a system for resource allocation.
Background
For example, in a scene that a team needs to stay in a hotel when going out, an organizer generally reserves a plurality of rooms in the hotel in advance, so that when the team arrives at the hotel and needs to handle stay procedures (check in), each team member needs to queue up at a hotel service desk for one-by-one handling, and in the handling process, the member often needs to select a room that the member wants to stay in and live with the member.
In life, similar to the scene of a team going out and living in a hotel, other multiple persons often exist as a team to allocate certain resources to the team, and the team selects specific resources according to actual needs, such as scenes needing seats for watching movies, shows and the like. In these actual scenarios, the team members often negotiate and select the resources used by themselves on site, which undoubtedly wastes a lot of time, resulting in low resource allocation processing efficiency and great inconvenience to the user.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and a system for resource allocation, which provide a way for team members to select resources used by themselves online, so as to improve convenience of resource selection for users and improve resource allocation processing efficiency of a resource provider.
In a first aspect, an embodiment of the present invention provides a resource allocation method, which is applied to a server, and the method includes:
receiving a resource viewing request sent by at least one terminal, wherein the resource viewing request comprises a resource viewing identifier;
sending a resource selection interface corresponding to the resource viewing identifier to the at least one terminal, wherein the resource selection interface comprises a plurality of resources corresponding to the resource viewing identifier;
and distributing the used resources for the resource users according to the selection instructions triggered by the resource users corresponding to the at least one terminal to the plurality of resources.
In a second aspect, an embodiment of the present invention provides a resource allocation apparatus, which is applied to a server, and includes:
the system comprises a receiving module, a judging module and a processing module, wherein the receiving module is used for receiving a resource viewing request sent by at least one terminal, and the resource viewing request comprises a resource viewing identifier;
a sending module, configured to send a resource selection interface corresponding to the resource viewing identifier to the at least one terminal, where the resource selection interface includes multiple resources corresponding to the resource viewing identifier;
and the allocation module is used for allocating the used resources to the resource users according to the selection instructions triggered by the resource users corresponding to the at least one terminal to the plurality of resources.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory is configured to store one or more computer instructions, and when the one or more computer instructions are executed by the processor, the method for allocating resources in the first aspect is implemented. The electronic device may also include a communication interface for communicating with other devices or a communication network.
An embodiment of the present invention provides a computer storage medium, configured to store a computer program, where the computer program enables a computer to implement the resource allocation method in the first aspect when executed.
In a fourth aspect, an embodiment of the present invention provides a resource allocation method applied to a user equipment, where the method includes:
acquiring resource viewing identifiers corresponding to a plurality of resources;
responding to the trigger of a first resource user, and sending a resource viewing request to a server, wherein the resource viewing request comprises the resource viewing identifier;
receiving a resource selection interface sent by the server, wherein the resource selection interface comprises the plurality of resources;
and responding to a selection operation triggered by the first resource user on a target resource in the plurality of resources, and sending a selection instruction corresponding to the target resource to the server so that the server can perform allocation processing on the target resource according to the selection instruction.
In a fifth aspect, an embodiment of the present invention provides a resource allocation apparatus, applied to a user equipment, including:
the acquisition module is used for acquiring resource viewing identifiers corresponding to a plurality of resources;
the sending module is used for responding to the trigger of a first resource user and sending a resource checking request to a server, wherein the resource checking request comprises the resource checking identifier;
a receiving module, configured to receive a resource selection interface sent by the server, where the resource selection interface includes the multiple resources;
the sending module is further configured to send, to the server, a selection instruction corresponding to a target resource in the plurality of resources in response to a selection operation triggered by the first resource user on the target resource, so that the server performs allocation processing on the target resource according to the selection instruction.
In a sixth aspect, an embodiment of the present invention provides an electronic device, including a processor and a memory, where the memory is used to store one or more computer instructions, and when the one or more computer instructions are executed by the processor, the resource allocation method in the fourth aspect is implemented. The electronic device may also include a communication interface for communicating with other devices or a communication network.
An embodiment of the present invention provides a computer storage medium, which is used to store a computer program, and the computer program enables a computer to implement the resource allocation method in the fourth aspect when executed.
In a seventh aspect, an embodiment of the present invention provides a resource allocation method, which is applied to a subscriber terminal, and the method includes:
sending a resource reservation request to a server so that the server is allocated with a plurality of resources and resource viewing identifiers corresponding to the resource reservation request;
receiving the resource viewing identifier sent by the server;
and providing the resource viewing identifier for at least one terminal so that a resource user corresponding to the at least one terminal selects used resources from the plurality of resources according to the resource viewing identifier.
In an eighth aspect, an embodiment of the present invention provides a resource allocation apparatus, applied to a subscriber terminal, including:
the system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a resource reservation request to a server so as to enable the server to allocate a plurality of resources and resource viewing identifiers corresponding to the resource reservation request;
the receiving module is used for receiving the resource viewing identifier sent by the server;
the sending module is further configured to provide the resource viewing identifier to at least one terminal, so that a resource user corresponding to the at least one terminal selects a used resource from the plurality of resources according to the resource viewing identifier.
In a ninth aspect, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, where the memory is used to store one or more computer instructions, and when the one or more computer instructions are executed by the processor, the resource allocation method in the seventh aspect is implemented. The electronic device may also include a communication interface for communicating with other devices or a communication network.
An embodiment of the present invention provides a computer storage medium, configured to store a computer program, where the computer program enables a computer to implement the resource allocation method in the seventh aspect when executed.
In a tenth aspect, an embodiment of the present invention provides a resource allocation system, including:
at least one terminal and a server;
the at least one terminal is used for sending a resource viewing request containing a resource viewing identifier to the server and receiving a resource selection interface sent by the server, wherein the resource selection interface contains a plurality of resources corresponding to the resource viewing identifier; responding to the selection operation triggered by the resource user corresponding to the at least one terminal on the plurality of resources, and sending a corresponding selection instruction to the server;
the server is used for sending the resource selection interface corresponding to the resource viewing identification to the at least one terminal after receiving the resource viewing request; and allocating the used resources to the resource users according to the selection instructions triggered by the resource users corresponding to the at least one terminal to the plurality of resources.
In the embodiment of the invention, the server can firstly allocate a plurality of resources for a user group consisting of at least one resource user to be used by the user group, and can provide the resource viewing identification for viewing the plurality of resources for each resource user in a certain mode. Each resource user can trigger a resource viewing request to the server based on the resource viewing identifier so as to obtain a resource selection interface containing a plurality of resources from the server, and further select respective used resources from the plurality of resources, and the server allocates the resources to the resource users based on the selection of the resource users. Based on the method, at least one resource user can select the resources used by the user on line, the operation is convenient and efficient, the time cost for allocating the resources for the user off line is saved for the resource provider, and the processing efficiency of resource allocation is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram illustrating a resource allocation system according to an embodiment of the present invention;
fig. 2 is a flowchart of a resource allocation method according to an embodiment of the present invention;
FIG. 3 is a flow chart of an alternative implementation of step 203;
FIG. 4 is a schematic diagram illustrating a state change of a resource selection interface according to an embodiment of the present invention;
FIG. 5 is a flow chart of an alternative implementation of step 203;
FIG. 6 is a flow diagram of yet another alternative implementation of step 203;
fig. 7 is a flowchart of another resource allocation method according to an embodiment of the present invention;
fig. 8 is a flowchart of another resource allocation method according to an embodiment of the present invention;
fig. 9 is a flowchart of another resource allocation method according to an embodiment of the present invention;
fig. 10 is a flowchart of another resource allocation method according to an embodiment of the present invention;
fig. 11 is a flowchart of another resource allocation method according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a resource allocation apparatus according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of an electronic device corresponding to the resource allocation apparatus provided in the embodiment shown in fig. 12;
fig. 14 is a schematic structural diagram of another resource allocation apparatus according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of an electronic device corresponding to the resource allocation apparatus provided in the embodiment shown in fig. 14;
fig. 16 is a schematic structural diagram of another resource allocation apparatus according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of an electronic device corresponding to the resource allocation apparatus provided in the embodiment shown in fig. 16.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of protection of the present invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, and "a" and "an" generally include at least two, but do not exclude at least one, unless the context clearly dictates otherwise.
It should be understood that the term "and/or" as used herein is merely a relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of additional like elements in a commodity or system comprising the element.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
Fig. 1 is a schematic diagram illustrating a resource allocation system according to an embodiment of the present invention, and as shown in fig. 1, the system includes:
at least one terminal and a server.
The at least one terminal is used for sending a resource viewing request containing a resource viewing identifier to the server and receiving a resource selection interface sent by the server, wherein the resource selection interface contains a plurality of resources corresponding to the resource viewing identifier; and responding to the selection operation triggered by the resource user corresponding to at least one terminal on the plurality of resources, and sending a corresponding selection instruction to the server.
The server is used for sending a resource selection interface corresponding to the resource viewing identifier to at least one terminal after receiving the resource viewing request; and allocating the used resources for the resource users according to the selection instructions triggered by the resource users corresponding to at least one terminal to the plurality of resources.
It is to be understood that the above-mentioned at least one terminal is corresponding to at least one resource user, and for the purpose of distinguishing from the terminal corresponding to the resource subscriber hereinafter, the at least one terminal is referred to as at least one user terminal, and the terminal corresponding to the resource subscriber is referred to as a subscriber terminal.
The resource view identifier may be allocated by the server when allocating the plurality of resources to at least one resource user.
In an optional embodiment, a certain resource user of the at least one resource user may reserve the plurality of resources from the server in advance, at this time, the resource user obtains the resource viewing identifier allocated by the server based on the reservation operation, and may further share the resource viewing identifier with other resource users, so that each resource user may view the plurality of resources allocated by the server based on the resource viewing identifier, and select a resource required by the user from the plurality of resources. Of course, the resource user who subscribes to the plurality of resources from the server may view the plurality of resources based on the resource viewing identifier at a certain time after obtaining the plurality of resources, and further allocate the plurality of resources to the user and other resource users.
In another optional embodiment, the plurality of resources may also be reserved by a resource subscriber not included in the at least one resource user, in this case, the resource allocation system may include:
subscriber terminal, at least one user terminal and server, wherein:
the subscriber terminal is used for sending a resource reservation request to the server, receiving a resource viewing identifier which is sent by the server and corresponds to the resource reservation request, and providing the reservation identifier for at least one user terminal;
the server is used for distributing a plurality of resources and resource viewing identifiers corresponding to the resource reservation request, and sending a resource selection interface corresponding to the resource viewing identifiers to at least one user terminal when receiving the resource viewing request corresponding to the resource viewing identifiers sent by the at least one user terminal, wherein the resource selection interface comprises a plurality of resources; distributing used resources for the resource users according to selection instructions of the resource users corresponding to the user terminals to trigger the resources;
the system comprises at least one user terminal, a server and a resource selection interface, wherein the user terminal is used for sending a resource viewing request containing a reservation identifier to the server and receiving the resource selection interface sent by the server according to the resource viewing request; and responding to the selection operation triggered by the resource user corresponding to at least one user terminal to the plurality of resources, and sending a corresponding selection instruction to the server.
The resource allocation method provided by the embodiment of the invention can be suitable for a scene that a team, namely a user group consisting of at least one resource user needs to acquire certain resources, such as a scene that the team needs to stay in a hotel when going on a business trip in real life, such as a scene that the team goes to see shows/movies for organization, and the like. Under these scenarios, the users involved in the resource allocation method can be divided into two categories according to roles, one category is a resource subscriber, the other category is a resource user, the resource subscriber is often one, and the resource user is often multiple.
In this scenario, a core idea of the resource allocation method in the embodiment of the present invention is that a resource subscriber (which may be one of a plurality of resource users, or may not be a resource user) subscribes a certain number of resources (referred to as multiple resources) from a server (corresponding to a resource provider) online in advance for a user group composed of at least one resource user to use. After the resource subscriber reserves a plurality of resources, at least one resource user can select the resources used by the resource user from the plurality of resources on line, and the server allocates the resources for each resource user based on the selection operation of the resource user, so that the resource user can complete resource acquisition on line.
In the specific process of performing resource allocation, a resource subscriber triggers a resource reservation request to a server through its own terminal device (i.e., the subscriber terminal). In practice, the resource reservation request carries a reservation parameter that informs the server when and how many types of resources are needed. For example, taking a hotel check-in scenario as an example, the booking parameters may include check-in time, room type, room number, and other information; taking the viewing of a show/movie scene as an example, the reservation parameters may include information of viewing time, show name/movie name, number of show tickets/movie tickets, and the like. After receiving the resource reservation request, the server allocates a plurality of resources, such as a plurality of rooms and a plurality of tickets, meeting the needs of the resource subscriber to the resource subscriber according to the condition of the remaining resources, and generates resource viewing identifiers corresponding to the plurality of resources.
For example, the resource in this embodiment refers to the smallest granularity of the resource available for the resource user, such as a room and a ticket.
In practical applications, it can be understood that the resource reservation request triggered by the resource reservation corresponds to a resource reservation ordering action, and if the server can provide a plurality of resources satisfying the resource reservation request, the server may accept the resource reservation ordering action, generate a resource reservation order, and allocate an order number of the resource reservation order, where the resource reservation order includes the allocated plurality of resources. The order number can be used as a resource viewing identifier corresponding to a plurality of resources.
In practical applications, the plurality of resources may be automatically allocated by the server, or may be selected by the resource subscriber from a plurality of selectable resources allocated by the server.
Of course, it can be understood that if the remaining resources in the server cannot meet the reservation requirements of the resource subscriber, a prompt message is fed back to the resource subscriber to prompt that insufficient resources are provided to the resource subscriber.
After allocating a plurality of resources and generating the resource view identifier, the server may send the resource view identifier to the subscriber terminal of the resource subscriber. It is to be understood that a plurality of resource allocation results may also be fed back to the subscriber terminal.
After obtaining the resource viewing identifier, the resource subscriber can provide the resource viewing identifier to at least one resource user. Optionally, for example, after the subscriber terminal receives the resource viewing identifier, the resource viewing identifier may be provided to at least one user terminal corresponding to at least one resource user based on a trigger of the resource subscriber. The resource check identifier is provided for at least one resource user, so that the at least one resource user can check a plurality of resources on line based on the resource check identifier, and then the used resources are selected on line.
The manner of providing the resource viewing identifier to at least one resource user is not particularly limited, and may be, for example, that the resource subscriber provides the resource user offline, or that the resource subscriber uses its own subscriber terminal to send the resource user terminal in a short message notification manner, an instant messaging manner, or the like. Of course, in the case that the resource reservation request includes the contact information of the at least one resource user, the server may also directly send the resource view identifier to the at least one resource user.
For each resource user of at least one resource user, after obtaining the resource viewing identifier, a resource viewing request can be triggered to the server according to the resource viewing identifier, so that a plurality of resources can be seen from a resource selection interface which is fed back by the server and contains the plurality of resources, and then the resources used by the user can be selected from the resource selection interface.
It is understood that any resource user of at least one resource user may only select the required resource, or may allocate resources to other resource users.
Optionally, the server may feed back the link address containing the resource viewing identifier to the subscriber terminal, so that each resource user may obtain the link address containing the resource viewing identifier, open the link address, which is equivalent to triggering the resource viewing request, and display a resource selection interface fed back by the server at this time.
Optionally, a client for accessing the server may be installed in the user terminal of each resource user, the client is opened, the resource viewing identifier is input in the corresponding interface, the resource viewing request is triggered at this time, and then the resource selection interface may be displayed.
For any resource user, the user terminal may trigger a selection operation on a resource required by the user terminal in a plurality of resources displayed in a resource selection interface, and at this time, the user terminal may send a selection instruction to the server, where the selection instruction may carry a user identifier of the resource user and an identifier of the selected resource, so as to trigger the server to perform allocation processing of the resource for the resource user, where the user identifier may be a user name.
It should be noted that, because the time for at least one resource user to access the server according to the resource check identifier may be different, in order to ensure that the allocation status of each resource can be synchronously perceived by each resource user, the server needs to ensure that the resource selection interfaces displayed on the user terminals of each resource user are synchronous, that is, the real-time resource selection interfaces are synchronously updated to each user terminal. For example, assuming that a resource user accesses the server first to obtain a resource selection interface, at this time, no other resource user accesses the server, each resource on the resource selection interface is in a selectable state, and after the resource user selects a resource, assuming that the server allocates the resource to the resource user, the server may place the resource in an allocation complete state, and update the resource selection interface marking that the resource has been allocated to the user terminal of each access server, so that the other resource users can see the allocated state of the resource in time.
In an optional embodiment, when the number of the plurality of resources and the number of the at least one resource user are equal, that is, when the resource users and the resources are in a one-to-one correspondence, that is, each resource user can only use one resource, for each resource, the server may determine, according to the time sequence of the resource trigger selection instruction, that the resource user who triggers the selection instruction earliest for the resource has the usage right of the resource, that is, the resource is allocated to the resource user who triggers the selection instruction earliest.
In an optional embodiment, when the number of the plurality of resources is smaller than the number of at least one resource user, this means that there may be at least two available users corresponding to at least part of the resources, that is, a plurality of resource users share one resource. In this scenario, a resource user may not only select a resource required by the resource user from a plurality of resources, but also invite friends in the remaining resource users to share the resource with the resource user, so at this time, the server may perform resource allocation processing for the at least one resource user based on the selection operation of each resource user according to a certain resource allocation policy, and the detailed process will be described in the following embodiments.
The role of the resource allocation method in the actual hotel check-in and transaction process is briefly explained below by taking a hotel check-in scene as an example. Assuming that an employee of a company is going out for travel, an organizer (namely a resource subscriber) reserves 10 standard room rooms in a hotel through a hotel App installed in a terminal device, a hotel server generates a reservation order and generates an order number based on the reservation behavior of the organizer, the order number is fed back to the organizer, the organizer further provides the order number for employees participating in travel, each employee inputs the order number in the hotel App, a selection interface containing the 10 rooms is obtained from the hotel server, each room is occupied for 2 persons, therefore, each employee can select a room which the employee wants to live in from the 10 rooms, the hotel server is used as an allocation room based on the selection of each employee, and after all the rooms are allocated, the hotel server stores the corresponding relationship between each room and each employee. Based on this, when the employees arrive at the hotel lobby to carry out check in transaction on the same check-in day, based on the allocated room numbers, the employees can directly inform the front desk service staff of the room numbers of the employees and provide the identification cards of the employees for the service staff, so that the service staff can establish the corresponding relation between the information of the identification cards and the rooms when the service staff compares and determines that the user names corresponding to the rooms stored in the hotel server are consistent with the user names on the identification cards and the photos on the identification cards are consistent with the users.
Through the embodiment, the server can firstly distribute a plurality of resources for the user group consisting of at least one resource user to use, and can provide the resource viewing identification for viewing the plurality of resources for each resource user in a certain mode. Each resource user can trigger a resource viewing request to the server based on the resource viewing identifier so as to obtain a resource selection interface containing a plurality of resources from the server, and further select respective used resources from the plurality of resources, and the server allocates the resources to the resource users based on the selection of the resource users. Based on the method, at least one resource user can select the resources used by the user on line, the operation is convenient and efficient, the time cost for allocating the resources for the user off line is saved for the resource provider, and the processing efficiency of resource allocation is improved.
The main roles of several execution entities involved in the resource allocation process are briefly described above in terms of a resource allocation system, and the detailed execution process of the resource allocation method is described below in terms of a server, a user terminal of a resource user, and a subscriber terminal of a resource subscriber, respectively. Therefore, the detailed description of each execution subject in the resource allocation system during the execution of the resource allocation method may be referred to the description in each embodiment below.
Fig. 2 is a flowchart of a resource allocation method according to an embodiment of the present invention, where the resource allocation method may be executed by the server in the embodiment shown in fig. 1, as shown in fig. 2, the method includes the following steps:
201. and receiving a resource viewing request sent by at least one terminal, wherein the resource viewing request comprises a resource viewing identifier.
The at least one terminal corresponds to at least one resource user, hereinafter referred to as at least one user terminal.
The resource view identifier may be obtained by the resource user in advance, for example, the resource view identifier may be sent to the resource user by the server in advance, or may be shared by the resource subscriber to the resource user as described in the foregoing embodiment. However, no matter what way the resource view identifier is obtained by the resource user, the resource view identifier is generated by the server. The server may be: in response to the resource reservation request, the plurality of resources and the resource view identifiers corresponding to the resource reservation request are allocated.
Wherein the resource reservation request may be triggered by the resource subscriber to the server through the subscriber terminal.
In this embodiment, taking a hotel check-in scene as an example, at this time, the resource reservation request is a multi-room reservation request, so that the multiple resources are multiple rooms. In particular, the resource subscriber may trigger a multi-room reservation request through a hotel App installed in the subscriber's own terminal, which may include reservation parameters such as time of stay, total number of people in the stay, type of room, number of rooms, etc. And after receiving the multi-room reservation request, the server allocates a plurality of corresponding resources and resource viewing identifiers.
Alternatively, the server may allocate a plurality of rooms by:
determining a set of rooms satisfying the multi-room reservation request;
and sending a map interface containing the positions of the rooms in the room set to the subscriber terminal so that a resource subscriber corresponding to the subscriber terminal selects a plurality of rooms from the room set.
That is, in this implementation, the server screens out from the remaining rooms, according to the booking parameter carried in the multi-room booking request, all selectable rooms satisfying the booking parameter to constitute a room set. The rooms contained in the room set are marked in a map interface of the hotel, and the map interface is further sent to a subscriber terminal so that the resource subscriber can select a plurality of needed rooms according to the positions of the selectable rooms. In a scene that a plurality of rooms need to be reserved when a team goes out, a resource reservation person usually wants to centralize a plurality of rooms distributed by a hotel, so that members of the team can stay centralized and conveniently communicate.
Alternatively, the server may also allocate a plurality of rooms by:
determining a set of rooms satisfying the multi-room reservation request;
according to the positions of all rooms contained in the room set, a plurality of rooms with adjacent positions are determined from the room set.
In this implementation, the server autonomously decides which rooms to allocate to the resource subscribers. Wherein, the position proximity can be specifically realized as: if rooms contained in the same floor satisfy the multi-room reservation request, a plurality of rooms in a location set are selected from the rooms on the same floor, otherwise, a plurality of rooms satisfying the multi-room reservation request are selected from adjacent floors.
After the plurality of rooms are distributed, the server generates corresponding resource checking identifiers, and the resource checking identifiers can be fed back to the subscriber terminal.
After receiving the resource viewing identifier, the subscriber terminal may present the resource viewing identifier to the resource subscriber through an interface, and the resource subscriber may trigger a sending operation on the resource viewing identifier, so as to send the resource viewing identifier to at least one resource user, that is, to each member in a team who needs to really check in a hotel, for example. In practical application, the resource subscriber can send the resource viewing identifier to each resource user through mass texting notification or through an instant messaging App.
202. And sending a resource selection interface corresponding to the resource viewing identifier to at least one terminal, wherein the resource selection interface comprises a plurality of resources corresponding to the resource viewing identifier.
203. And allocating the used resources for the resource users according to the selection instructions triggered by the resource users corresponding to at least one terminal to the plurality of resources.
At least one resource user receiving the resource check identifier can trigger a resource check request to the server through respective user terminals based on the received resource check identifier. For example, each resource user can request a resource selection interface from the server that includes a plurality of resources that the resource subscriber has subscribed to by entering the resource view identifier in the relevant interface of the hotel App. After obtaining the resource selection interface, each resource user can select the resource used by the user from the plurality of resources included in the resource selection interface. Specifically, a resource user may trigger a selection operation on a resource of the multiple resources according to a requirement of the user, so that the corresponding user terminal sends a selection instruction to the server based on the selection operation, where the selection instruction may include a name of the resource user and a selected resource identifier (such as a room number). The server determines whether to allocate the resource to the resource user based on the selection instruction.
Alternatively, one of the simplest strategies is: for the same resource, the server can determine to which the resource is allocated according to the number of available persons corresponding to the resource and the selection time of each received selection instruction for selecting the resource, and the number of available persons corresponding to each resource is preset in the server. For example, if the resource user a, the resource user B, and the resource user C sequentially trigger the selection command for the same resource, and the number of available people for the resource is 2 (for example, a certain room is a standard room and can live for 2), the server may determine that the resource user a and the resource user B can share the resource according to the time for triggering the selection command, i.e., the selection time. The selection time may be determined by a reception time at which the selection instruction is received or a transmission time at which the user terminal transmits the selection instruction.
In some embodiments, after the server completes the resource allocation for each resource user based on the above process, that is, each resource user obtains available resources, when it really uses the allocated resources, it may need to perform a resource usage registration process, under which the binding of the identity information of the resource user with the allocated resources and the verification of the identity information of the resource user are mainly completed. For example, in a hotel check-in scenario, after the server allocates rooms to each user needing to check-in, i.e., resource users, based on the foregoing process, when each check-in user arrives at the hotel and needs to check in, i.e., check in, the hotel also needs to verify the identity of the check-in user and register the identity card information of the check-in user.
Based on this, after step 203, optionally, the following steps may also be included:
responding to a resource use registration request triggered by a resource user, and determining resources used by the resource user according to a resource allocation result;
if the user name in the ID card provided by the resource user is consistent with the user name corresponding to the resource, establishing the corresponding relation between the resource and the ID card.
In practical application, optionally, the resource usage registration request may be triggered by the resource user saying to the service person that the resource user is a user who enters a certain room, at this time, the service person queries the server to obtain a user name of the resource user corresponding to the room in the resource allocation process, if the user name in the identity card provided by the user is consistent with the user name of the resource user corresponding to the room, the user is considered to be the resource user corresponding to the room, and the identity card is scanned to establish a corresponding relationship between the room and the identity card.
Besides this alternative implementation, there may be many other implementations of allocating the resources used by the resource users according to the selection instructions triggered by the resource users to multiple resources, as shown in the following several embodiments.
Fig. 3 is a flowchart of an alternative implementation of step 203, which, as shown in fig. 3, may include the following steps:
301. and receiving a selection instruction triggered by a first terminal in at least one terminal aiming at a target resource in a plurality of resources.
302. And if the number of the available persons of the target resource is at least two, determining that the first resource user corresponding to the first terminal has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction.
303. And marking the target resource association with a first resource user in the resource selection interface, and sending the updated resource selection interface to at least one terminal.
In this embodiment, for a target resource among a plurality of resources, a first resource user selecting the target resource may obtain a right to use the target resource, and the first resource user selecting the target resource may not only obtain the right to use the target resource but also further obtain a right to invite another person to share the target resource when the target resource is shared by multiple persons.
Based on this, when it is determined that the selection time corresponding to the selection instruction triggered by the first resource user for the target resource is earliest, it may be determined that the first resource user has the highest selection permission for the target resource. It is understood that it is also determined that the first resource user can use the target resource at this time. At this time, in order to enable other resource users to timely know that the first resource user has occupied the target resource, the user name of the first resource user may be marked on the resource selection interface for the target resource association, and the updated resource selection interface is sent to each user terminal, so that each resource user can obtain the allocation condition of each resource.
For example, as shown in fig. 4, taking a hotel check-in scenario as an example, it is assumed that the resources allocated by the server are room 1, room 2, and room 3, respectively, and it is assumed that the number of available persons corresponding to each of room 1 and room 2 is 2, and the number of available persons corresponding to room 3 is 1. Thus, the server sends a resource selection interface containing these several rooms to each resource user, assuming that the resource users include user 1, user 2, user 3, user 4, and user 5. Initially, each resource in the resource selection interface sent by the server to each user is in a selectable state. After a resource user, such as the user 1, selects the room 1, assuming that the server determines that the user 1 is the user that first triggers the selection operation on the room 1, the room 1 is assigned to the user 1 for use, at this time, the server may mark the name of the user 1 on the room 1 in association, which indicates that the room 1 has been assigned to the user 1 for use, since the number of available people corresponding to the room 1 is 2, it indicates that the room 1 may also be further assigned to another user to share with the user 1 at this time, that is, it indicates that the room 1 may also be in an optional state for selection by other users at this time. However, another user who may select the room 1 may be decided by the user 1 who first occupies the room 1, such as another user may be invited by the user 1. And the server sends the marked resource selection interface to each user so that each user can synchronously acquire the current resource allocation result.
When the server determines that the first resource user has the highest selection authority of the target resource, the following steps can be adopted to perform allocation processing on the target resource according to the highest selection authority.
304. An invitation code is generated for inviting other resource users to share the target resource.
305. The invitation code is sent to the first terminal.
After the first resource user is assigned the target resource, the server may generate an invite code for the first resource user, which may be a unique code randomly generated based on an algorithm. After obtaining the invite code sent by the server, the first resource user may share the invite code with a resource user (referred to as a second resource user) that wants to use the target resource together.
306. And if a selection instruction triggered by the second terminal to the target resource within the preset time is received, sending invitation code input prompt information to the second terminal, wherein the second terminal corresponds to a second resource user.
When the server receives a selection instruction of another resource user, such as a second resource user, for the target resource, the server may send an invite code prompt message to the second terminal of the second resource user to prompt the second resource user to input an invite code corresponding to the target resource.
307. And if the invitation code sent by the second terminal is consistent with the invitation code sent to the first terminal, determining that the first resource user and the second resource user share the target resource.
308. The first resource user and the second resource user are marked for the target resource association in the resource selection interface.
If the invitation code input by the second resource user is consistent with the invitation code sent to the first resource user by the server before, the second resource user is indicated to be selected to use the target resource by the invitation of the first resource user, and the second resource user is determined to have the use right of the target resource.
309. And if the number of the resource users marked on the target resource reaches the number of available users, placing the target resource in an allocation completion state, and sending the updated resource selection interface to at least one user terminal.
If the number of available users corresponding to the target resource is consistent with the number of users of the resource already allocated to the target resource, indicating that the target resource has been allocated, the target resource may be placed in an allocation completed state, for example, a text mark indicating that the allocation is completed is printed on the target resource or the target resource is set to a specific gray level to indicate that the allocation is completed. Alternatively, when marking the target resource with the resource user, the name of the first resource user with the highest selection authority may be marked at the front most position, and other resource users sharing the target resource, such as the second resource user, may be marked at the back.
For example, still taking the example in fig. 4, after determining that the user 1 has the highest selection permission of the room 1 and associating the name of the user 1 with the room 1, the user 1 obtains the invitation code generated by the server and assumes that the user 1 sends the invitation code to the user 3, if the user 3 accepts the invitation of the user 1, the selection instruction for the room 1 is triggered, the invitation code obtained from the user 1 is input based on the invitation code prompt information sent by the server, so as to obtain the usage permission of the room 1, and the server associates the name of the user 3 with the room 1 and marks that the room 1 is completely allocated, and then the room 1 is placed in the allocation completed state.
Fig. 5 is a flowchart of another alternative implementation of step 203, and as shown in fig. 5, the following steps may be included:
501. and receiving a selection instruction triggered by a first terminal in at least one terminal aiming at a target resource in a plurality of resources.
502. And if the number of the available persons of the target resource is at least two, determining that the first resource user corresponding to the first terminal has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction.
503. And sending invitation prompt information to the first terminal.
504. If an invitation request corresponding to the target resource sent by the first terminal is received within the preset time, an invitation interface is sent to the first terminal, the invitation interface comprises other resource users, and the invitation request is triggered by the first resource user according to the invitation prompt information.
505. And receiving an inviter selection instruction sent by the first terminal, wherein the inviter selection instruction comprises a second resource user selected by the first resource user from the invitation interface.
506. And sending invitation inquiry information to a second terminal corresponding to the second resource user so as to inquire whether the second resource user accepts the invitation of the first resource user for sharing the target resource.
507. And if receiving the invitation acceptance indication information sent by the second terminal, determining that the first resource user and the second resource user share the target resource.
In this embodiment, another implementation manner is provided in which a first resource user invites a second resource user to share the target resource. In this implementation, after the server determines that the first resource user has the highest selection permission of the target resource and allocates the target resource to the first resource user, if the number of available people corresponding to the target resource is multiple people, the server may send an invitation prompt message to the first resource user, where the invitation prompt message is used to prompt the first resource user that the first resource user has permission to invite other people to share the target resource and the number of people that can invite and the invitation time limit. The first resource user may invite other resource users to share the target resource with the first resource user within the invitation time period. If the first resource user does not invite other resource users within the time limit, which means that the first resource user abandons the invitation right, then the server may determine who to re-allocate the target resource to the first resource user according to the selection time of the other resource users for selecting the target resource after the time reaches the invitation time limit.
Based on the invitation prompt message, if the invitation request corresponding to the target resource is triggered by clicking an invitation button on the resource selection interface within the invitation time limit, the server sends an invitation interface containing the user names of other resource users to the first terminal, so that the first resource user can select the resource user to be invited. If the first resource user confirms after selecting the second resource user, an inviter selection instruction containing the user name of the second resource user is triggered to the server to inform the server that the second resource user is selected to share the target resource. The server may then query the second resource user as to whether the second resource user accepts the invitation from the first resource user, and if the second resource user accepts the invitation, the server determines that the first resource user and the second resource user share the target resource. The server may obtain the user name of each resource user based on the resource user obtaining the resource selection interface based on the resource viewing identifier request, so that the user name of each resource user may be presented in the invitation interface, or the resource subscriber may also provide the user name of the resource user to the server in the resource reservation process. The interaction between the server and each user terminal can be realized through the interaction between the server and an App in each user terminal.
Fig. 6 is a flowchart of another alternative implementation of step 203, which, as shown in fig. 6, may include the following steps:
601. and receiving a selection instruction triggered by a first terminal in at least one terminal aiming at a target resource in a plurality of resources.
602. And if the number of the available persons of the target resource is at least two, determining that the first resource user corresponding to the first terminal has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction.
603. And if a selection instruction triggered by a second terminal aiming at the target resource in at least one terminal is received, sending use inquiry information to the first terminal so as to inquire whether a first resource user agrees to share the target resource by a second resource user corresponding to the second terminal.
604. And if receiving a confirmation instruction sent by the first terminal, determining that the first resource user and the second resource user share the target resource, wherein the confirmation instruction is triggered by the first resource user according to the use inquiry information and agreeing to use the target resource by the second resource user.
In this embodiment, another implementation is provided in which a first resource user invites a second resource user to share the target resource. In this implementation, after the server determines that the first resource user has the highest selection permission of the target resource, and allocates the target resource to the first resource user, if a selection instruction triggered by another resource user, such as a second resource user, for the target resource is received and the number of available people corresponding to the target resource is multiple, the server may send usage inquiry information to the first resource user to inquire whether the first resource user agrees to share the target resource with a second resource user corresponding to a second user terminal, and if the first resource user agrees, determine that the first resource user and the second resource user share the target resource.
Several implementations are provided above in which a first resource user may invite a second resource user to share a resource with the first resource user. In an optional embodiment, if the first resource user obtains the highest selection permission of the target resource, and if the first resource user wants to abandon the resource and wants to select another resource, the reselection instruction may be triggered by performing a selection operation on another resource, at this time, after receiving the reselection instruction sent by the first user terminal, the server releases the usage relationship of the first resource user on the target resource, and then determines that the second resource user has the highest selection permission of the target resource. At this point, the second resource user may invite other resource users to share the target resource with him.
Through the several optional embodiments, each resource user can conveniently select the resource used by the user in an online mode, and can invite the friend to share the same resource with the friend based on the permission strategy set for the resource, so that the user experience is improved. In addition, in some practical scenarios, the time cost caused by the way of allocating resources offline also includes the time required by the process of selecting which resource by the offline and friend merchants, so that the time cost can be saved based on the online invitation policy.
Fig. 7 is a flowchart of another resource allocation method according to an embodiment of the present invention, where the resource allocation method may be executed by the terminal of the resource user in the embodiment shown in fig. 1, for example, by a first terminal of a first resource user, and the first resource user is any one of at least one resource user. As shown in fig. 7, the following steps may be included:
701. resource view identifiers corresponding to a plurality of resources are obtained.
702. And responding to the trigger of the first resource user, and sending a resource viewing request to the server, wherein the resource viewing request comprises a resource viewing identifier.
703. And receiving a resource selection interface sent by the server, wherein the resource selection interface comprises a plurality of resources.
The plurality of resources are a plurality of rooms corresponding to a hotel check-in scenario.
704. And responding to the selection operation triggered by the first resource user on the target resource in the plurality of resources, and sending a selection instruction corresponding to the target resource to the server so that the server can perform allocation processing on the target resource according to the selection instruction.
705. And receiving a first updated resource selection interface sent by the server, wherein the target resource is marked with a first resource user in the first updated resource selection interface in an associated manner, the first updated resource selection interface is generated by updating after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction, and the number of available people corresponding to the target resource is at least two.
This step 705 is an optional step. For the specific implementation process of the above steps in this embodiment, reference may be made to the relevant description in the foregoing embodiment, which is not repeated herein.
Fig. 8 is a flowchart of another resource allocation method according to an embodiment of the present invention, as shown in fig. 8, based on the embodiment shown in fig. 7, the method may further include the following steps:
801. and receiving an invitation code which is sent by the server and used for inviting other resource users to share the target resource, wherein the invitation code is generated after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction sent by the first terminal.
802. In response to the triggering of the first resource user, the invitation code is provided to the second resource user, so that the second resource user requests the server to share the target resource with the first resource user according to the invitation code.
803. And receiving a second updated resource selection interface sent by the server, wherein the target resource is associated with the first resource user and the second resource user in the second updated resource selection interface, and if the number of the resource users marked on the target resource reaches the number of available users corresponding to the target resource, the target resource is placed in an allocation completion state.
For the specific implementation process of the above steps in this embodiment, reference may be made to the related description in the embodiment shown in fig. 3, which is not described herein again.
Fig. 9 is a flowchart of another resource allocation method according to an embodiment of the present invention, as shown in fig. 9, based on the embodiment shown in fig. 7, the method may further include the following steps:
901. and receiving invitation prompt information sent by the server, wherein the invitation prompt information is sent after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction sent by the first terminal.
902. And sending an invitation request corresponding to the target resource, which is triggered by the first resource user according to the invitation prompt message within the preset time, to the server.
903. And the receiving server sends an invitation interface according to the invitation request, wherein the invitation interface comprises other resource users.
904. And sending an inviter selection instruction to the server, wherein the inviter selection instruction comprises a second resource user selected by the first resource user from the invitation interface, so that the server determines that the first resource user and the second resource user share the target resource.
905. And receiving a second updated resource selection interface sent by the server, wherein the target resource is associated with the first resource user and the second resource user in the second updated resource selection interface, and if the number of the resource users marked on the target resource reaches the number of available users corresponding to the target resource, the target resource is placed in an allocation completion state.
For the specific implementation process of the above steps in this embodiment, reference may be made to the related description in the embodiment shown in fig. 5, which is not described herein again.
Fig. 10 is a flowchart of another resource allocation method according to an embodiment of the present invention, as shown in fig. 10, based on the embodiment shown in fig. 7, the method may further include the following steps:
1001. and receiving use inquiry information sent by the server, wherein the use inquiry information is sent after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction sent by the first terminal and receives a selection instruction triggered by the second resource user aiming at the target resource, and the use inquiry information is used for inquiring whether the first resource user agrees that the second resource user shares the target resource.
1002. And sending a confirmation instruction triggered by the first resource user according to the use inquiry information to the server so as to ensure that the server determines that the first resource user and the second resource user share the target resource.
1003. And receiving a second updated resource selection interface sent by the server, wherein the target resource is associated with the first resource user and the second resource user in the second updated resource selection interface, and if the number of the resource users marked on the target resource reaches the number of available users corresponding to the target resource, the target resource is placed in an allocation completion state.
For the specific implementation process of the above steps in this embodiment, reference may be made to the related description in the embodiment shown in fig. 6, which is not described herein again.
Fig. 11 is a flowchart of another resource allocation method according to an embodiment of the present invention, which can be executed by a subscriber terminal of a resource subscriber in the embodiment shown in fig. 1. As shown in fig. 11, the method may include the steps of:
1101. and sending a resource reservation request to the server so that the server allocates a plurality of resources and resource viewing identifications corresponding to the resource reservation request.
Alternatively, the resource reservation request may be a multi-room reservation request corresponding to a hotel check-in scenario, whereby the plurality of resources are a plurality of rooms.
In this scenario, in an optional manner, the resource reservation request triggered by the resource subscriber may include room reservation information, such as a room type, a time of stay, a number of rooms, and the like, at this time, after receiving the resource reservation request, the server may determine a room set satisfying the resource reservation request, and further send a map interface including the room positions in the room set to the subscriber terminal. After receiving the map interface sent by the server, the subscriber terminal can select a plurality of rooms from the room set according to the positions of the rooms contained in the map interface, and then sends the rooms selected by the resource subscriber from the room set to the server so as to inform the server of which resources are used by at least one resource user.
1102. And receiving a resource checking identifier sent by the server.
1103. And providing the resource viewing identifier for at least one terminal, so that a resource user corresponding to the at least one terminal selects the used resource from the plurality of resources according to the resource viewing identifier.
The subscriber terminal can provide the resource viewing identification corresponding to the plurality of resources to at least one resource user in the modes of instant messaging App, short message and the like. At least one resource user can view the plurality of resources based on the resource viewing identifier, and further obtain the resources used by the user through the processing procedure provided in the foregoing embodiment.
The resource allocation apparatus of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these resource allocation means can be constructed by configuring the steps taught in the present scheme using commercially available hardware components.
Fig. 12 is a schematic structural diagram of a resource allocation apparatus according to an embodiment of the present invention, and as shown in fig. 12, the apparatus includes: a receiving module 11, a sending module 12 and an allocation module 13.
A receiving module 11, configured to receive a resource viewing request sent by at least one terminal, where the resource viewing request includes a resource viewing identifier.
A sending module 12, configured to send a resource selection interface corresponding to the resource viewing identifier to the at least one terminal, where the resource selection interface includes multiple resources corresponding to the resource viewing identifier.
An allocating module 13, configured to allocate the used resources to the resource users according to the selection instruction triggered by the resource users corresponding to the at least one terminal to the multiple resources.
Optionally, the allocating module 13 may be further configured to: in response to a resource reservation request, allocating the plurality of resources and the resource view identification corresponding to the resource reservation request.
Optionally, the apparatus further comprises: the registration processing module is used for responding to a resource use registration request triggered by the resource user and determining the resource used by the resource user according to a resource allocation result; and if the user name in the identity card provided by the resource user is consistent with the user name corresponding to the resource, establishing the corresponding relation between the resource and the identity card.
Wherein, the receiving module 11 may be configured to: and receiving a selection instruction triggered by a first terminal in the at least one terminal aiming at a target resource in the plurality of resources.
At this time, optionally, the allocating module 13 may be configured to: if the number of the available people of the target resource is at least two, determining that a first resource user corresponding to the first terminal has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction; and carrying out allocation processing on the target resource according to the highest selection authority.
Optionally, the apparatus may further include: and the interface updating module is used for marking the first resource user for the target resource association in the resource selection interface. At this time, the sending module 12 may be further configured to: and sending the updated resource selection interface to the at least one terminal.
Wherein, optionally, the allocating module 13 may be configured to: generating an invitation code for inviting other resource users to share the target resource; sending the invitation code to the first terminal through the sending module 12; if a selection instruction triggered by a second terminal to the target resource within a preset time is received through the receiving module 11, sending an invitation code input prompt message to the second terminal through the sending module 12, wherein the second terminal corresponds to a second resource user; if the invitation code sent by the second terminal received by the receiving module 11 is consistent with the invitation code, it is determined that the first resource user and the second resource user share the target resource.
Wherein, optionally, the allocating module 13 may be configured to: sending invitation prompt information to the first terminal through the sending module 12; if an invitation request corresponding to the target resource sent by the first terminal is received through the receiving module 11 within a preset time, sending an invitation interface to the first terminal through the sending module 12, where the invitation interface includes other resource users; the invitation request is triggered by the first resource user according to the invitation prompt message; receiving an inviter selection instruction sent by the first terminal through the receiving module 11, wherein the inviter selection instruction includes a second resource user selected by the first resource user from the invitation interface; sending invitation inquiry information to a second terminal corresponding to the second resource user through the sending module 12, so as to inquire whether the second resource user accepts the invitation that the first resource user shares the target resource; if the receiving module 11 receives the invitation accepting indication information sent by the second terminal, it is determined that the first resource user and the second resource user share the target resource.
Wherein, optionally, the allocating module 13 may be configured to: if a selection instruction triggered by a second terminal in at least one terminal of the terminals aiming at the target resource is received through a receiving module 11, sending use inquiry information to the first terminal through the sending module 12 to inquire whether the first resource user agrees to share the target resource by a second resource user corresponding to the second user terminal; if a confirmation instruction sent by the first terminal is received through the receiving module 11, it is determined that the first resource user and the second resource user share the target resource, where the confirmation instruction is triggered by the first resource user granting the second resource user to use the target resource according to the usage inquiry information.
Optionally, the interface update module is further configured to: associating the first resource user and the second resource user with the target resource in the resource selection interface; if the number of the resource users marked on the target resource reaches the usable number, the target resource is placed in a distribution completion state; and sending the updated resource selection interface to the at least one terminal through the sending module 12.
Optionally, the receiving module 11 is further configured to: and receiving a reselection instruction sent by the first terminal. At this time, the allocating module 13 is further configured to: releasing the use relation of the first resource user to the target resource; determining that the second resource user has the highest selection permission for the target resource.
Optionally, the resource reservation request is a multi-room reservation request, and the plurality of resources are a plurality of rooms.
At this time, optionally, the allocating module 13 may be configured to: in response to a multi-room reservation request transmitted by a subscriber terminal, determining a set of rooms satisfying the multi-room reservation request; and sending a map interface containing the positions of the rooms in the room set to the subscriber terminal through the sending module 13, so that a resource subscriber corresponding to the subscriber terminal selects the rooms from the room set.
At this time, optionally, the allocating module 13 may be further configured to: determining a set of rooms that satisfy the multi-room reservation request; and determining the plurality of rooms with adjacent positions from the room set according to the positions of all the rooms in the room set.
The apparatus shown in fig. 12 can perform the method of the embodiment shown in fig. 2 to fig. 6, and the detailed description of the embodiment not described in detail can refer to the related description of the embodiment shown in fig. 2 to fig. 6. The implementation process and technical effect of the technical solution refer to the descriptions in the embodiments shown in fig. 2 to fig. 6, and are not described herein again.
In one possible design, the structure of the resource allocation apparatus shown in fig. 12 may be implemented as an electronic device, for example, a server providing resources, and as shown in fig. 13, the electronic device may include: a first processor 21 and a first memory 22. Wherein the first memory 22 is used for storing programs that support an electronic device to execute the resource allocation method provided in the embodiments shown in fig. 2-6, and the first processor 21 is configured to execute the programs stored in the first memory 22.
The program comprises one or more computer instructions which, when executed by the first processor 21, are capable of performing the steps of:
receiving a resource viewing request sent by at least one terminal, wherein the resource viewing request comprises a resource viewing identifier;
sending a resource selection interface corresponding to the resource viewing identifier to the at least one terminal, wherein the resource selection interface comprises a plurality of resources corresponding to the resource viewing identifier;
and distributing the used resources for the resource users according to the selection instructions triggered by the resource users corresponding to the at least one terminal to the plurality of resources.
Optionally, the first processor 21 is further configured to perform all or part of the steps in the embodiments shown in fig. 2 to 6.
The electronic device may further include a first communication interface 23, which is used for the electronic device to communicate with other devices or a communication network.
In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for the electronic device shown in fig. 13, which includes a program for executing the resource allocation method in the method embodiments shown in fig. 2 to fig. 6.
Fig. 14 is a schematic structural diagram of another resource allocation apparatus according to an embodiment of the present invention, as shown in fig. 14, the apparatus includes: an acquisition module 31, a sending module 32, and a receiving module 33.
An obtaining module 31, configured to obtain resource viewing identifiers corresponding to multiple resources.
A sending module 32, configured to send a resource viewing request to a server in response to a trigger of a first resource user, where the resource viewing request includes the resource viewing identifier.
A receiving module 33, configured to receive a resource selection interface sent by the server, where the resource selection interface includes the multiple resources.
The sending module 32 is further configured to send, in response to a selection operation triggered by the first resource user on a target resource in the multiple resources, a selection instruction corresponding to the target resource to the server, so that the server performs allocation processing on the target resource according to the selection instruction.
Optionally, the plurality of resources is a plurality of rooms.
Optionally, the receiving module 33 may further be configured to: receiving a first updated resource selection interface sent by the server, wherein the target resource is marked with the first resource user in the first updated resource selection interface in an associated manner, the first updated resource selection interface is generated by updating after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction, and the number of available people corresponding to the target resource is at least two.
Optionally, the receiving module 33 may further be configured to: and receiving an invitation code which is sent by the server and used for inviting other resource users to share the target resource, wherein the invitation code is generated after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction, and the number of available people corresponding to the target resource is at least two. At this time, the sending module 32 may be further configured to: responding to the trigger of the first resource user, providing the invitation code to a second resource user so that the second resource user requests the server and the first resource user to share the target resource according to the invitation code.
Optionally, the receiving module 33 may further be configured to: and receiving invitation prompt information sent by the server, wherein the invitation prompt information is sent after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction, and the number of available people corresponding to the target resource is at least two. At this time, the sending module 32 may be further configured to: and sending an invitation request corresponding to the target resource, which is triggered by the first resource user according to the invitation prompt message within a preset time, to the server. The receiving module 33 may further be configured to: and receiving an invitation interface sent by the server according to the invitation request, wherein the invitation interface comprises other resource users. The sending module 32 may be further configured to: and sending an inviter selection instruction to the server, wherein the inviter selection instruction comprises a second resource user selected from the invitation interface by the first resource user, so that the server determines that the first resource user and the second resource user share the target resource.
Optionally, the receiving module 33 may further be configured to: and receiving use inquiry information sent by the server, wherein the use inquiry information is sent after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction and receives a selection instruction triggered by a second resource user aiming at the target resource, the use inquiry information is used for inquiring whether the first resource user agrees that the second resource user shares the target resource, and the number of available people corresponding to the target resource is at least two. The sending module 32 may be further configured to: and sending a confirmation instruction triggered by the first resource user according to the use inquiry information to the server so as to ensure that the server determines that the first resource user and the second resource user share the target resource.
Optionally, the receiving module 33 may further be configured to: and receiving a second updated resource selection interface sent by the server, wherein the target resource is marked by the first resource user and the second resource user in the second updated resource selection interface in an associated manner, and if the number of the resource users marked on the target resource reaches the available number, the target resource is placed in an allocation completion state.
The apparatus shown in fig. 14 can perform the method of the embodiment shown in fig. 7-10, and the detailed description of this embodiment can refer to the related description of the embodiment shown in fig. 7-10. The implementation process and technical effect of the technical solution are described in the embodiments shown in fig. 7 to 10, and are not described herein again.
In one possible design, the structure of the resource allocation apparatus shown in fig. 14 may be implemented as an electronic device, for example, a terminal device such as a mobile phone of a resource user, as shown in fig. 15, and the electronic device may include: a second processor 41 and a second memory 42. Wherein the second memory 42 is used for storing programs that support an electronic device to execute the resource allocation method provided in the embodiments shown in fig. 7-10, and the second processor 41 is configured to execute the programs stored in the second memory 42.
The program comprises one or more computer instructions which, when executed by the second processor 41, are capable of performing the steps of:
obtaining reservation identifications corresponding to a plurality of resources;
acquiring resource viewing identifiers corresponding to a plurality of resources;
responding to the trigger of a first resource user, and sending a resource viewing request to a server, wherein the resource viewing request comprises the resource viewing identifier;
receiving a resource selection interface sent by the server, wherein the resource selection interface comprises the plurality of resources;
and responding to a selection operation triggered by the first resource user on a target resource in the plurality of resources, and sending a selection instruction corresponding to the target resource to the server so that the server can perform allocation processing on the target resource according to the selection instruction.
Optionally, the second processor 41 is further configured to perform all or part of the steps in the embodiments shown in fig. 7 to 10.
The electronic device may further include a second communication interface 43 for communicating with other devices or a communication network.
In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for the electronic device shown in fig. 15, which includes a program for executing the resource allocation method in the method embodiments shown in fig. 7 to fig. 10.
Fig. 16 is a schematic structural diagram of another resource allocation apparatus according to an embodiment of the present invention, as shown in fig. 16, the apparatus includes: a sending module 51 and a receiving module 52.
A sending module 51, configured to send a resource reservation request to a server, so that the server allocates a plurality of resources and resource viewing identifiers corresponding to the resource reservation request.
A receiving module 52, configured to receive the resource view identifier sent by the server.
The sending module 51 is further configured to provide the resource viewing identifier to at least one terminal, so that a resource user corresponding to the at least one terminal selects a used resource from the plurality of resources according to the resource viewing identifier.
Optionally, the resource reservation request is a multi-room reservation request, and the plurality of resources are a plurality of rooms.
Optionally, the receiving module 52 may further be configured to: and receiving a map interface sent by the server, wherein the map interface comprises the position of each room in the room set which is determined by the server and meets the multi-room reservation request.
The sending module 51 may be further configured to: sending the plurality of rooms selected by the resource subscriber from the set of rooms to the server.
The apparatus shown in fig. 16 can perform the method of the embodiment shown in fig. 11, and reference may be made to the related description of the embodiment shown in fig. 11 for a part of this embodiment that is not described in detail. The implementation process and technical effect of the technical solution are described in the embodiment shown in fig. 11, and are not described herein again.
In one possible design, the structure of the resource allocation apparatus shown in fig. 16 may be implemented as an electronic device, for example, a terminal device such as a mobile phone of a resource subscriber, and as shown in fig. 17, the electronic device may include: a third processor 61 and a third memory 62. Wherein the third memory 62 is used for storing programs that support the electronic device to execute the resource allocation method provided in the embodiment shown in fig. 11, and the third processor 61 is configured to execute the programs stored in the third memory 62.
The program comprises one or more computer instructions which, when executed by the third processor 61, are capable of performing the steps of:
sending a resource reservation request to a server so that the server is allocated with a plurality of resources and resource viewing identifiers corresponding to the resource reservation request;
receiving the resource viewing identifier sent by the server;
and providing the resource viewing identifier for at least one terminal so that a resource user corresponding to the at least one terminal selects the used resource from the plurality of resources according to the resource viewing identifier.
Optionally, the third processor 61 is further configured to perform all or part of the steps in the foregoing embodiment shown in fig. 11.
The electronic device may further include a third communication interface 63, which is used for the electronic device to communicate with other devices or a communication network.
In addition, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for the electronic device shown in fig. 16, which includes a program for executing the resource allocation method in the method embodiment shown in fig. 11.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and portions of the present technology which contribute substantially or in part to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including without limitation disk storage, CD-ROM, optical storage, and the like.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable resource allocation apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable resource allocation apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable resource allocation apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable resource allocation apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (25)

1. A method for resource allocation, comprising:
receiving a resource viewing request sent by at least one terminal, wherein the resource viewing request comprises a resource viewing identifier;
sending a resource selection interface corresponding to the resource viewing identifier to the at least one terminal, wherein the resource selection interface comprises a plurality of resources corresponding to the resource viewing identifier;
distributing used resources for the resource users according to selection instructions triggered by the resource users corresponding to the at least one terminal to the plurality of resources;
wherein, the allocating the used resources to the resource users according to the selection instruction triggered by the resource users corresponding to the at least one terminal to the plurality of resources comprises: receiving a selection instruction triggered by a first terminal in the at least one terminal aiming at a target resource in the plurality of resources; if the number of the available people of the target resource is at least two, determining that a first resource user corresponding to the first terminal has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction; and carrying out allocation processing on the target resource according to the highest selection authority.
2. The method of claim 1, further comprising:
in response to a resource reservation request, allocating the plurality of resources and the resource view identification corresponding to the resource reservation request.
3. The method of claim 1, further comprising:
responding to a resource use registration request triggered by the resource user, and determining the resource used by the resource user according to a resource allocation result;
and if the user name in the identity card provided by the resource user is consistent with the user name corresponding to the resource, establishing the corresponding relation between the resource and the identity card.
4. The method of claim 1, wherein after determining that the first resource user corresponding to the first terminal has the highest selection right of the target resource, the method further comprises:
tagging the first resource user for the target resource association in the resource selection interface;
and sending the updated resource selection interface to the at least one terminal.
5. The method of claim 1, wherein the allocating the target resource according to the highest selection permission comprises:
generating an invitation code for inviting other resource users to share the target resource;
sending the invitation code to the first terminal;
if a selection instruction triggered by a second terminal to the target resource within a preset time is received, sending invitation code input prompt information to the second terminal, wherein the second terminal corresponds to a second resource user;
and if the invitation code sent by the second terminal is consistent with the invitation code, determining that the first resource user and the second resource user share the target resource.
6. The method of claim 1, wherein the allocating the target resource according to the highest selection permission comprises:
sending invitation prompt information to the first terminal;
if an invitation request which is sent by the first terminal and corresponds to the target resource is received within preset time, sending an invitation interface to the first terminal, wherein the invitation interface comprises other resource users; the invitation request is triggered by the first resource user according to the invitation prompt message;
receiving an inviter selection instruction sent by the first terminal, wherein the inviter selection instruction comprises a second resource user selected by the first resource user from the invitation interface;
sending invitation inquiry information to a second terminal corresponding to the second resource user, so as to inquire whether the second resource user accepts the invitation of the first resource user for sharing the target resource;
and if receiving invitation receiving indication information sent by the second terminal, determining that the first resource user and the second resource user share the target resource.
7. The method of claim 1, wherein the allocating the target resource according to the highest selection permission comprises:
if a selection instruction triggered by a second terminal aiming at the target resource in at least one terminal of the terminals is received, sending use inquiry information to the first terminal so as to inquire whether a first resource user agrees to a second resource user corresponding to the second terminal to share the target resource or not;
and if receiving a confirmation instruction sent by the first terminal, determining that the first resource user and the second resource user share the target resource, wherein the confirmation instruction is triggered by the first resource user according to the use inquiry information and agreeing to use the target resource by the second resource user.
8. The method according to any of claims 5 to 7, wherein after determining that the target resource is shared by the first resource user and the second resource user, further comprising:
tagging the first resource user and the second resource user in the resource selection interface for the target resource association;
if the number of the resource users marked on the target resource reaches the number of the available users, the target resource is placed in a distribution completion state;
and sending the updated resource selection interface to the at least one terminal.
9. The method according to any of claims 5 to 7, wherein after determining that the target resource is shared by the first resource user and the second resource user, further comprising:
receiving a reselection instruction sent by the first terminal;
releasing the use relation of the first resource user to the target resource;
determining that the second resource user has the highest selection permission for the target resource.
10. The method of claim 2, wherein the resource reservation request is a multi-room reservation request and the plurality of resources are a plurality of rooms.
11. The method of claim 10, wherein the allocating the plurality of resources corresponding to the resource reservation request in response to the resource reservation request comprises:
in response to a multi-room reservation request sent by a subscriber terminal, determining a set of rooms satisfying the multi-room reservation request;
and sending a map interface containing the positions of the rooms in the room set to the subscriber terminal so that a resource subscriber corresponding to the subscriber terminal selects the rooms from the room set.
12. The method of claim 10, wherein the allocating the plurality of resources corresponding to the resource reservation request comprises:
determining a set of rooms that satisfy the multi-room reservation request;
and determining the plurality of rooms with adjacent positions from the room set according to the positions of all the rooms contained in the room set.
13. A method for resource allocation, comprising:
acquiring resource viewing identifiers corresponding to a plurality of resources;
responding to the trigger of a first resource user, and sending a resource viewing request to a server, wherein the resource viewing request comprises the resource viewing identifier;
receiving a resource selection interface sent by the server, wherein the resource selection interface comprises the plurality of resources;
responding to a selection operation triggered by the first resource user on a target resource in the plurality of resources, and sending a selection instruction corresponding to the target resource to the server so that the server can perform allocation processing on the target resource according to the selection instruction;
and receiving a first updated resource selection interface sent by the server, wherein the target resource is marked with the first resource user in the first updated resource selection interface in an associated manner, the first updated resource selection interface is generated by updating after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction, and the number of usable persons corresponding to the target resource is at least two.
14. The method of claim 13, further comprising:
receiving invitation codes which are sent by the server and used for inviting other resource users to share the target resource, wherein the invitation codes are generated after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction, and the number of available people corresponding to the target resource is at least two;
responding to the trigger of the first resource user, providing the invitation code to a second resource user so that the second resource user requests the server and the first resource user to share the target resource according to the invitation code.
15. The method of claim 13, further comprising:
receiving invitation prompt information sent by the server, wherein the invitation prompt information is sent after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction, and the number of available persons corresponding to the target resource is at least two;
sending an invitation request corresponding to the target resource, triggered by the first resource user according to the invitation prompt message within a preset time, to the server;
receiving an invitation interface sent by the server according to the invitation request, wherein the invitation interface comprises other resource users;
and sending an inviter selection instruction to the server, wherein the inviter selection instruction comprises a second resource user selected by the first resource user from the invitation interface, so that the server determines that the first resource user and the second resource user share the target resource.
16. The method of claim 13, further comprising:
receiving usage inquiry information sent by the server, wherein the usage inquiry information is sent after the server determines that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction and receives a selection instruction triggered by a second resource user aiming at the target resource, the usage inquiry information is used for inquiring whether the first resource user agrees that the second resource user shares the target resource, and the number of available persons corresponding to the target resource is at least two;
and sending a confirmation instruction triggered by the first resource user according to the use inquiry information to the server so as to enable the server to determine that the first resource user and the second resource user share the target resource.
17. The method according to any one of claims 14 to 16, further comprising:
and receiving a second updated resource selection interface sent by the server, wherein the target resource is marked by the first resource user and the second resource user in the second updated resource selection interface in an associated manner, and if the number of the resource users marked on the target resource reaches the available number, the target resource is placed in an allocation completion state.
18. The method of claim 13, wherein the plurality of resources is a plurality of rooms.
19. A method for resource allocation, comprising:
sending a resource reservation request to a server so that the server is allocated with a plurality of resources and resource viewing identifiers corresponding to the resource reservation request;
receiving the resource viewing identifier sent by the server;
and providing the resource viewing identifier for at least one terminal so that a resource user corresponding to the at least one terminal selects used target resources from the plurality of resources according to the resource viewing identifier and triggers a selection instruction of the target resources to the server, so that the server performs distribution processing on the target resources according to the highest selection authority when the number of available people of the target resources is determined to be at least two and the resource user is determined to have the highest selection authority of the target resources according to the selection time corresponding to the selection instruction.
20. The method of claim 19, wherein the resource reservation request is a multi-room reservation request, and wherein the plurality of resources is a plurality of rooms.
21. The method of claim 20, further comprising:
receiving a map interface sent by the server, wherein the map interface comprises the position of each room in a room set which is determined by the server and meets the multi-room reservation request;
sending the plurality of rooms selected by the resource subscriber from the set of rooms to the server.
22. An apparatus for resource allocation, comprising:
the system comprises a receiving module, a judging module and a processing module, wherein the receiving module is used for receiving a resource viewing request sent by at least one terminal, and the resource viewing request comprises a resource viewing identifier;
a sending module, configured to send a resource selection interface corresponding to the resource viewing identifier to the at least one terminal, where the resource selection interface includes multiple resources corresponding to the resource viewing identifier;
the allocation module is used for allocating the used resources to the resource users according to the selection instructions triggered by the resource users corresponding to the at least one terminal to the plurality of resources;
wherein the allocation module is specifically configured to: receiving a selection instruction triggered by a first terminal in the at least one terminal aiming at a target resource in the plurality of resources; if the number of the available people of the target resource is at least two, determining that a first resource user corresponding to the first terminal has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction; and carrying out allocation processing on the target resource according to the highest selection authority.
23. An apparatus for resource allocation, comprising:
the acquisition module is used for acquiring resource viewing identifiers corresponding to a plurality of resources;
the sending module is used for responding to the trigger of a first resource user and sending a resource checking request to a server, wherein the resource checking request comprises the resource checking identifier;
a receiving module, configured to receive a resource selection interface sent by the server, where the resource selection interface includes the multiple resources;
the sending module is further configured to send, to the server, a selection instruction corresponding to a target resource in the multiple resources in response to a selection operation triggered by the first resource user on the target resource, so that the server performs allocation processing on the target resource according to the selection instruction;
the receiving module is further configured to receive a first updated resource selection interface sent by the server, where the target resource is marked with the first resource user in the first updated resource selection interface in an associated manner, the first updated resource selection interface is generated by the server after determining that the first resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction, and the number of available persons corresponding to the target resource is at least two.
24. A resource allocation apparatus, comprising:
the system comprises a sending module, a receiving module and a processing module, wherein the sending module is used for sending a resource reservation request to a server so as to enable the server to allocate a plurality of resources and resource viewing identifiers corresponding to the resource reservation request;
the receiving module is used for receiving the resource viewing identifier sent by the server;
the sending module is further configured to provide the resource viewing identifier to at least one terminal, so that a resource user corresponding to the at least one terminal selects a used target resource from the multiple resources according to the resource viewing identifier and triggers a selection instruction of the target resource to the server, so that the server performs allocation processing on the target resource according to the highest selection authority when it is determined that the number of available people of the target resource is at least two and it is determined that the resource user has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction.
25. A resource allocation system, comprising:
at least one terminal and a server;
the at least one terminal is used for sending a resource viewing request containing a resource viewing identifier to the server and receiving a resource selection interface sent by the server, wherein the resource selection interface contains a plurality of resources corresponding to the resource viewing identifier; responding to the selection operation triggered by the resource user corresponding to the at least one terminal on the plurality of resources, and sending a corresponding selection instruction to the server;
the server is used for sending the resource selection interface corresponding to the resource viewing identification to the at least one terminal after receiving the resource viewing request; distributing used resources for the resource users according to the selection instructions triggered by the resource users corresponding to the at least one terminal to the plurality of resources;
wherein, in the process of allocating the used resources to the resource users according to the selection instruction triggered by the resource users corresponding to the at least one terminal to the plurality of resources, the server is specifically configured to:
receiving a selection instruction triggered by a first terminal in the at least one terminal aiming at a target resource in the plurality of resources; if the number of the available people of the target resource is at least two, determining that a first resource user corresponding to the first terminal has the highest selection authority of the target resource according to the selection time corresponding to the selection instruction; and carrying out allocation processing on the target resource according to the highest selection authority.
CN201810996982.2A 2018-08-29 2018-08-29 Resource allocation method, device and system Active CN110874676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810996982.2A CN110874676B (en) 2018-08-29 2018-08-29 Resource allocation method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810996982.2A CN110874676B (en) 2018-08-29 2018-08-29 Resource allocation method, device and system

Publications (2)

Publication Number Publication Date
CN110874676A CN110874676A (en) 2020-03-10
CN110874676B true CN110874676B (en) 2023-04-18

Family

ID=69714637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810996982.2A Active CN110874676B (en) 2018-08-29 2018-08-29 Resource allocation method, device and system

Country Status (1)

Country Link
CN (1) CN110874676B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115474098B (en) * 2022-08-09 2024-03-26 北京达佳互联信息技术有限公司 Resource processing method and device, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096877A (en) * 2010-12-30 2011-06-15 中国民航信息网络股份有限公司 Online duty machine system and method
CN104134109A (en) * 2014-06-24 2014-11-05 青岛海信网络科技股份有限公司 Engineering configuration method and engineering configuration system integrating version management
CN105354689A (en) * 2015-12-20 2016-02-24 北京民航信息科技有限公司 Computer system based civil aviation team management method and system
CN105956946A (en) * 2016-04-29 2016-09-21 尹振军 Step for inviting friend to check in and integrated hotel network platform thereof
TWM529236U (en) * 2016-01-07 2016-09-21 Hai Shen Technology Co Ltd Online travel service reservation system
CN106453605A (en) * 2016-10-28 2017-02-22 深圳市欧瑞博电子有限公司 Hotel room reservation information transfer method and system
CN108022162A (en) * 2017-12-28 2018-05-11 深圳春沐源控股有限公司 Hotel self-service selects room to move in method, apparatus, terminal and storage medium
CN108230218A (en) * 2018-02-01 2018-06-29 携程旅游网络技术(上海)有限公司 Method for pushing, system, storage medium and the electronic equipment of more people's check-ins

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9830624B2 (en) * 2014-10-28 2017-11-28 Bau Llc Systems and methods for resource utilization management
US20170004440A1 (en) * 2015-06-30 2017-01-05 Innova Zones, LLC Systems and Methods for Managing Article Supply, Allocation, and Distribution

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102096877A (en) * 2010-12-30 2011-06-15 中国民航信息网络股份有限公司 Online duty machine system and method
CN104134109A (en) * 2014-06-24 2014-11-05 青岛海信网络科技股份有限公司 Engineering configuration method and engineering configuration system integrating version management
CN105354689A (en) * 2015-12-20 2016-02-24 北京民航信息科技有限公司 Computer system based civil aviation team management method and system
TWM529236U (en) * 2016-01-07 2016-09-21 Hai Shen Technology Co Ltd Online travel service reservation system
CN105956946A (en) * 2016-04-29 2016-09-21 尹振军 Step for inviting friend to check in and integrated hotel network platform thereof
CN106453605A (en) * 2016-10-28 2017-02-22 深圳市欧瑞博电子有限公司 Hotel room reservation information transfer method and system
CN108022162A (en) * 2017-12-28 2018-05-11 深圳春沐源控股有限公司 Hotel self-service selects room to move in method, apparatus, terminal and storage medium
CN108230218A (en) * 2018-02-01 2018-06-29 携程旅游网络技术(上海)有限公司 Method for pushing, system, storage medium and the electronic equipment of more people's check-ins

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
彭高翔 等.校园资源管理信息化平台设计与开发.信息系统工程.2013,(11),全文. *
王菁 ; .酒店管理系统设计.办公自动化.2010,(04),全文. *

Also Published As

Publication number Publication date
CN110874676A (en) 2020-03-10

Similar Documents

Publication Publication Date Title
US7831675B2 (en) Method for interacting with infrastructure devices via instant messaging
CN105760944B (en) Service reservation method and device
US20180041489A1 (en) Secure Private Location Based Services
KR102147989B1 (en) Method and apparatus for sharing booking information and ticket
CN103703767B (en) A kind of implementation method of video conference, service management device and video meeting system
US20110213842A1 (en) Information delivery system, delivery destination control method and delivery destination control program
GB2507041A (en) Property management system
KR20160102868A (en) System and method for checking and reserving a certain seat in the remote
US8982403B2 (en) System and method for context-aware printing service
KR20150044087A (en) System and method for arranging a meeting, service apparatus applied to the same and computer readable medium having computer program recorded therefor
CN109583615B (en) Conference room booking method, conference room booking system, conference room booking server and computer readable storage medium
CN110874676B (en) Resource allocation method, device and system
CN113194012B (en) Multi-agent management method, device, equipment and storage medium based on Internet of things
CN108696864B (en) Virtual number request and transmission method, device and storage medium
CN107424281B (en) Batch queuing reservation method and device
CN113497715A (en) Chat service providing method and device
CN115829070A (en) Library space reservation management method, system and storage medium
US11042844B2 (en) Automated meeting scheduling based on email content
US20220210159A1 (en) Method and apparatus for managing user profile
CN111182013A (en) Spatial digitization platform system, construction method, interaction method, device and equipment
CN104598974A (en) Method and system capable of realizing offline resource accurate reservation and digital entertainment demand system
US11290391B2 (en) System and method for optimal resource allocation for customer related services
CN110460513B (en) Method, server and system for constructing multiple public number entries to realize space renting
CN112152902B (en) Media resource pushing method and device
CN114157720A (en) Method, device, electronic equipment and medium for processing service request

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant