CN114169722A - Position allocation method, device, equipment and storage medium - Google Patents

Position allocation method, device, equipment and storage medium Download PDF

Info

Publication number
CN114169722A
CN114169722A CN202111423317.2A CN202111423317A CN114169722A CN 114169722 A CN114169722 A CN 114169722A CN 202111423317 A CN202111423317 A CN 202111423317A CN 114169722 A CN114169722 A CN 114169722A
Authority
CN
China
Prior art keywords
area
distributed
allocated
object group
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111423317.2A
Other languages
Chinese (zh)
Inventor
杜子丹
李雨龙
刘有为
周伟智
王志兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202111423317.2A priority Critical patent/CN114169722A/en
Publication of CN114169722A publication Critical patent/CN114169722A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • 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/10Office automation; Time management
    • G06Q10/105Human resources

Landscapes

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

Abstract

The disclosure relates to a position allocation method, a position allocation device, position allocation equipment and a storage medium, relates to the technical field of internet application, and can improve the position allocation efficiency. The position allocation method includes: displaying the area to be distributed and the object group to be distributed; the region to be distributed comprises a position to be distributed, and the region to be distributed comprises a first region; the object group to be distributed comprises objects to be distributed; in response to a pulling operation of pulling a target object group in the object group to be allocated to a first area, displaying allocated identifications in a second area where or included in the first area; the second area is the area to be distributed, and the number of the positions to be distributed is the same as that of the objects to be distributed in the target object group; the allocated flag is used to indicate that the location of the first area or the location of the second area has been allocated.

Description

Position allocation method, device, equipment and storage medium
Technical Field
The present disclosure relates to the field of internet application technologies, and in particular, to a method, an apparatus, a device, and a storage medium for allocating a location.
Background
At present, when assigning positions to objects to be assigned (e.g., company employees, school students, event staff in event places), position assignment is generally performed by a human method. For example, when a new person of a company enters work, the work station allocation, the work station adjustment and the like need to be manually operated on site, which is time-consuming, troublesome to maintain and greatly wastes human resources, so that the intellectualization of the position management cannot be realized.
Disclosure of Invention
The present disclosure provides a location allocation method, apparatus, device, and storage medium, which can improve the efficiency of location allocation.
The technical scheme of the embodiment of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a location allocation method, which may be applied to a client, including:
displaying the area to be distributed and the object group to be distributed; the region to be distributed comprises a position to be distributed, and the region to be distributed comprises a first region; the object group to be distributed comprises objects to be distributed;
in response to a pulling operation of pulling a target object group in the object group to be allocated to a first area, displaying allocated identifications in a second area where or included in the first area; the second area is the area to be distributed, and the number of the positions to be distributed is the same as that of the objects to be distributed in the target object group; the allocated flag is used to indicate that the location of the first area or the location of the second area has been allocated.
Optionally, in response to a pulling operation of pulling a target object group in the object group to be allocated to the first area, before displaying the allocated identifier in the second area where the first area is located or included, the method further includes:
determining a region between the selected first position to be distributed and the selected second position to be distributed as a first region;
determining a second area according to the first number and the second number; the first number is the number of objects to be distributed in the target object group; the second number is the number of positions to be allocated within the first area.
Optionally, determining the second area according to the first number and the second number includes:
when the first number is larger than the second number, displaying prompt information comprising distribution conditions; the distribution conditions include: distributing according to a preset direction or a preset position; the prompt information is used for prompting the allocation position of the target object to be allocated in the target object group; the number of the target objects to be distributed is the difference value between the first number and the second number;
determining a region corresponding to the allocation condition as a third region in response to a trigger operation performed on the allocation condition; the number of positions to be allocated of the third area is the same as the number of the target objects to be allocated;
the first region and the third region are determined as the second region.
Optionally, determining the second area according to the first number and the second number includes:
and when the first number is smaller than the second number, selecting positions to be distributed with the same number as the first number from the first area according to a preset condition, and determining the area corresponding to the selected positions to be distributed as a second area.
Optionally, determining the second area according to the first number and the second number includes:
when the first number is equal to the second number, the first area is determined as the second area.
Optionally, displaying the area to be allocated and the object group to be allocated includes:
acquiring position layout information and organization architecture information; the position layout information includes an area to be allocated; the organization architecture information comprises a group of objects to be distributed;
and generating and displaying a position distribution interface comprising the area to be distributed and the object group to be distributed according to the position layout information and the organization architecture information.
Optionally, the location assignment interface further includes department information; the position allocation method further includes:
when the department information is the department information of the department to which the area to be distributed belongs, responding to the trigger operation executed on the department information, and displaying a position structure interface of the department corresponding to the department information; the location structure interface includes an area to be allocated.
According to a second aspect of the embodiments of the present disclosure, there is provided a location allocating apparatus, which can be applied to a client, including: a display unit;
the display unit is used for displaying the area to be distributed and the object group to be distributed; the region to be distributed comprises a position to be distributed, and the region to be distributed comprises a first region; the object group to be distributed comprises objects to be distributed;
the display unit is also used for responding to the pulling operation of pulling the target object group in the object group to be distributed to the first area, and displaying the distributed identification in the second area where the first area is or comprises; the second area is the area to be distributed, and the number of the positions to be distributed is the same as that of the objects to be distributed in the target object group; the allocated flag is used to indicate that the location of the first area or the location of the second area has been allocated.
Optionally, the position allocating device further comprises: a processing unit;
the processing unit is used for determining an area between the selected first position to be distributed and the selected second position to be distributed as a first area;
the processing unit is further used for determining a second area according to the first quantity and the second quantity; the first number is the number of objects to be distributed in the target object group; the second number is the number of positions to be allocated within the first area.
Optionally, the processing unit is specifically configured to:
when the first number is larger than the second number, displaying prompt information comprising distribution conditions; the distribution conditions include: distributing according to a preset direction or a preset position; the prompt information is used for prompting the allocation position of the target object to be allocated in the target object group; the number of the target objects to be distributed is the difference value between the first number and the second number;
determining a region corresponding to the allocation condition as a third region in response to a trigger operation performed on the allocation condition; the number of positions to be allocated of the third area is the same as the number of the target objects to be allocated;
the first region and the third region are determined as the second region.
Optionally, the processing unit is specifically configured to:
and when the first number is smaller than the second number, selecting positions to be distributed with the same number as the first number from the first area according to a preset condition, and determining the area corresponding to the selected positions to be distributed as a second area.
Optionally, the processing unit is specifically configured to:
when the first number is equal to the second number, the first area is determined as the second area.
Optionally, the display unit is specifically configured to:
acquiring position layout information and organization architecture information; the position layout information includes an area to be allocated; the organization architecture information comprises a group of objects to be distributed;
and generating and displaying a position distribution interface comprising the area to be distributed and the object group to be distributed according to the position layout information and the organization architecture information.
Optionally, the location assignment interface further includes department information; the display unit is also used for responding to the trigger operation executed on the department information and displaying a position structure interface of the department corresponding to the department information when the department information is the department information of the department to which the area to be distributed belongs; the location structure interface includes an area to be allocated.
According to a third aspect of the embodiments of the present disclosure, there is provided a client, which may include: a processor and a memory for storing processor-executable instructions; wherein the processor is configured to execute the instructions to implement any one of the optional position assignment methods of the first aspect described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having instructions stored thereon, which, when executed by a processor of a client, enable the client to perform any one of the above-mentioned optional location allocation methods of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising computer instructions which, when run on a client, cause the client to perform the location allocation method according to any one of the optional implementations of the second aspect.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
based on any one of the above aspects, in the present disclosure, after displaying and displaying the area to be allocated and the object group to be allocated, the client may display the allocated identifier in the second area where the first area is located or included in response to a pull operation of pulling a target object group in the object group to be allocated to the first area. The second area is an area to be distributed, and the number of positions to be distributed is the same as the number of objects to be distributed in the target object group; the allocated flag is used to indicate that the location of the first area or the location of the second area has been allocated. The area to be distributed comprises a first area as the area to be distributed comprises the position to be distributed; the object group to be allocated comprises the objects to be allocated, so that the client can allocate proper positions for the target object group comprising the objects to be allocated in batches, the technical problems that the existing position allocation method is time-consuming and labor-consuming and low in efficiency are solved, and the position allocation efficiency is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic flow chart illustrating a position allocation method provided by an embodiment of the present disclosure;
FIG. 2 is an interface diagram illustrating a location assignment method provided by an embodiment of the present disclosure;
fig. 3 is a schematic flow chart illustrating a further position allocation method provided by the embodiment of the present disclosure;
fig. 4 is a schematic flow chart illustrating a further position allocation method provided by the embodiment of the present disclosure;
fig. 5 is a schematic flow chart illustrating a further position allocation method provided by the embodiment of the present disclosure;
fig. 6 is a schematic flow chart illustrating a further position allocation method provided by the embodiment of the present disclosure;
fig. 7 is a schematic flow chart illustrating a further position allocation method provided by the embodiment of the present disclosure;
FIG. 8 is a schematic structural diagram of a position distribution device provided by an embodiment of the present disclosure;
fig. 9 shows a schematic structural diagram of a client according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, and/or components.
The data to which the present disclosure relates may be data that is authorized by a user or sufficiently authorized by parties.
As described in the background, when assigning positions to objects to be assigned (e.g., company employees, school students, event personnel at event locations), position assignment is generally performed by a human method. For example, when a new person of a company enters work, the work station allocation, the work station adjustment and the like need to be manually operated on site, which is time-consuming, troublesome to maintain and greatly wastes human resources, so that the intellectualization of the position management cannot be realized.
Based on this, the embodiment of the present disclosure provides a position allocation method, where after displaying and displaying an area to be allocated and an object group to be allocated, a client may display an allocated identifier in a second area where the first area is located or included in response to a pull operation of pulling a target object group in the object group to be allocated to the first area. The second area is an area to be distributed, and the number of positions to be distributed is the same as the number of objects to be distributed in the target object group; the allocated flag is used to indicate that the location of the first area or the location of the second area has been allocated. The area to be distributed comprises a first area as the area to be distributed comprises the position to be distributed; the object group to be allocated comprises the objects to be allocated, so that the client can allocate proper positions for the target object group comprising the objects to be allocated in batches, the technical problems that the existing position allocation method is time-consuming and labor-consuming and low in efficiency are solved, and the position allocation efficiency is improved.
The client may be a mobile phone, a tablet computer, a desktop, a laptop, a handheld computer, a notebook, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) device, a Virtual Reality (VR) device, and other devices that can install and use a content community application (e.g., a fast hand), and the specific form of the client is not particularly limited in this disclosure. The system can be used for man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction or handwriting equipment and the like.
As shown in fig. 1, the position allocation method may include: S101-S102.
S101, displaying the area to be distributed and the object group to be distributed by the client.
Specifically, when the client allocates a position to the object, the client may acquire the area to be allocated and the object group to be allocated in advance. The area to be distributed comprises a position to be distributed; the region to be allocated comprises a first region; the group of objects to be allocated includes objects to be allocated. And after the area to be distributed and the object group to be distributed are obtained, displaying the area to be distributed and the object group to be distributed.
Optionally, when the area to be allocated is obtained, the client may obtain the location layout information of the enterprise in advance. The location layout information may be a floor plan of a corporate building of the enterprise including a distribution of geographic locations of the floor locations, meeting rooms, rest areas, and the like.
Optionally, when the client displays the area to be allocated, other public areas (e.g., a conference room, a rest area, etc.) may also be displayed.
When the client displays the areas to be allocated and the public areas, the client can also display the identification of each area. The identification is used to indicate the region type of the region.
Illustratively, different types of regions may be displayed in different colors. For example: display the location area in yellow, the meeting room area in blue, etc.
As yet another example, different types of regions may be displayed with a floating frame. For example: when the user moves to the location area using the mouse, "location" is displayed by the floating frame.
Optionally, when the object group to be allocated is obtained, the client may obtain the company organization structure and the department name of the enterprise in advance. For example: a first-level department A, a first-level department B, a second-level department A and a second-level department B under the first-level department A, and the like.
It should be noted that, when the client acquires the area to be allocated and the object group to be allocated, the acquisition order is not limited. The client can obtain the area to be distributed first and then obtain the object group to be distributed; or the object group to be distributed can be obtained first, and then the area to be distributed is obtained; the region to be allocated and the object group to be allocated can also be acquired simultaneously.
S102, the client responds to the pulling operation of pulling the target object group in the object group to be distributed to the first area, and the distributed identification is displayed in the second area where the first area is or comprises the first area.
Specifically, after the region to be allocated and the object group to be allocated are displayed, the user may allocate an appropriate position to each object group to be allocated. In this case, the user may perform a pull operation on a target object group among the to-be-assigned object groups. Accordingly, the client may display the allocated identifier in a second area where the first area is located or included, in response to a pull operation of pulling a target object group in the object group to be allocated to the first area.
The second area is an area to be distributed, and the number of positions to be distributed is the same as the number of objects to be distributed in the target object group; the allocated flag is used to indicate that the location of the first area or the location of the second area has been allocated.
The first area is an area selected by the account before location assignment, and the second area is an area after assignment. The second area may be larger than the first area, or may be smaller than or equal to the second area.
Optionally, the pulling operation may be dragging the target object group into the first area through a mouse or a touch pad.
For example, as shown in fig. 2, in the location assignment interface, 3 regions to be assigned and 3 object groups to be assigned may be displayed. Wherein the 3 areas to be allocated include area a. Area a includes 4 positions to be allocated. The 3 object groups to be allocated are respectively: a first-class department A (8 persons) and a second-class department A (4 persons) and a second-class department B (4 persons) under the first-class department A.
After displaying 3 regions to be allocated and 3 object groups to be allocated, the user may perform a pull operation on the second-level department B, that is, pull the second-level department a group to the region a. In this case, the client may display the assigned identification in area a (i.e., fill the color of the 4 to-be-assigned locations in area a in gray) in response to a pull operation that pulls the group of secondary department a to area a.
Alternatively, the assigned identifier may be a color identifier different from the unassigned region, or a floating frame may be used to display an "assigned" character to indicate that the region is the region to which the object is assigned.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S101-S102, after displaying and displaying the to-be-allocated region and the to-be-allocated object group, the client may display the allocated identifier in the second region where the first region is located or included in response to a pull operation of pulling a target object group in the to-be-allocated object group to the first region. The second area is an area to be distributed, and the number of positions to be distributed is the same as the number of objects to be distributed in the target object group; the allocated flag is used to indicate that the location of the first area or the location of the second area has been allocated. The area to be distributed comprises a first area as the area to be distributed comprises the position to be distributed; the object group to be allocated comprises the objects to be allocated, so that the client can allocate proper positions for the target object group comprising the objects to be allocated in batches, the technical problems that the existing position allocation method is time-consuming and labor-consuming and low in efficiency are solved, and the position allocation efficiency is improved.
In one embodiment, as shown in fig. 3, in response to a pull operation of pulling a target object group in an object group to be allocated to a first area, before displaying an allocated identifier in a second area where the first area is located or included, the method further includes:
s301, the client determines the area between the selected first position to be distributed and the selected second position to be distributed as a first area.
Specifically, the user may also assign different regions to different object groups. For example, a window-by-window area is assigned to department a, a door-by-door area is assigned to department B, and so on. In this case, the user may select the area to be allocated by performing a selection operation on the first position to be allocated and the second position to be allocated. Correspondingly, the client determines the area between the selected first position to be allocated and the selected second position to be allocated as the first area.
Alternatively, the area between the first position to be dispensed and the second position to be dispensed may be defined in a closed loop manner by the area enclosed by the first position to be dispensed and the second position to be dispensed.
Illustratively, four positions to be allocated are included in the area a from left to right. When the user wants to assign the four positions to be assigned to the first object group, a selection operation may be performed on the leftmost position to be assigned within the area a and the rightmost position to be assigned within the area a. Correspondingly, the client determines four positions to be allocated in the area a as the first area in response to the selection operation performed on the leftmost position to be allocated in the area a and the rightmost position to be allocated in the area a.
S302, the client determines a second area according to the first quantity and the second quantity.
The first quantity is the quantity of the objects to be distributed in the target object group; the second number is the number of positions to be allocated within the first area.
Specifically, after the area between the first to-be-allocated position and the second to-be-allocated position is determined as the first area, the number of positions of the first area may not satisfy the number of to-be-allocated objects in the target object group. In this case, the client may determine the second area according to the first number and the second number.
The technical scheme provided by the embodiment at least has the following beneficial effects: it can be seen from S301-S302 that the user can also assign different regions for different object groups. In this case, the user may select the area to be allocated by performing a selection operation on the first position to be allocated and the second position to be allocated. Correspondingly, the client determines the area between the selected first position to be allocated and the selected second position to be allocated as the first area, and determines the second area according to the first quantity and the second quantity. Therefore, the client can allocate the position of the area corresponding to the user selection operation to the target object group, the requirements of the user are reasonably met, and the user experience is enriched.
In an embodiment, referring to fig. 3, as shown in fig. 4, in the above S302, the method for the client to determine the second area according to the first number and the second number specifically includes:
s401, when the first number is larger than the second number, the client displays prompt information including distribution conditions.
Specifically, since the number of positions of the first area may not satisfy the number of objects to be allocated in the target object group, when the first number is greater than the second number, the client may display a prompt message including an allocation condition to prompt the user to allocate positions for redundant objects in the target object group.
Wherein the allocation conditions include: distributing according to a preset direction or a preset position; the prompt information is used for prompting the allocation position of the target object to be allocated in the target object group; the number of the target objects to be distributed is the difference value between the first number and the second number.
For example, when the allocation condition is that the allocation is performed according to the preset direction, the prompt message may include: left/right redundant positions are assigned to redundant objects.
For another example, when the allocation condition is that the allocation is according to the preset position, the prompt message may include: the first/second locations are assigned to the redundant objects.
Wherein the first/second positions are unassigned positions.
Alternatively, the allocation conditions may also allocate locations on a near basis. That is, when the number of positions of the first area cannot satisfy the number of objects in the target object group, positions may be assigned to the unnecessary objects in the vicinity of the first area.
S402, the client determines the area corresponding to the distribution condition as a third area in response to the trigger operation executed on the distribution condition.
And the number of the positions to be allocated of the third area is the same as that of the target objects to be allocated.
Specifically, after the prompt information including the allocation condition is displayed, the client may determine, in response to a trigger operation performed on the allocation condition, the area corresponding to the allocation condition as the third area.
S403, the client determines the first area and the third area as the second area.
Specifically, after the region corresponding to the assignment condition is determined as the third region, the positions at which the third region and the first region have been assigned to all the objects in the target object group will be described. In this case, the client determines the first area and the third area as the second area.
Illustratively, the first area includes 4 positions, the target object group includes 5 objects to be allocated, and the number of the positions of the first area cannot satisfy the number of the objects to be allocated in the target object group. In this case, the client displays the prompt information including the assignment condition of "assigning the redundant position on the left side of the first area to the redundant object". The user can perform a trigger operation on the allocation condition. Accordingly, in response to the trigger operation performed on the allocation condition, the client determines that the third area is an area corresponding to the left redundant position of the first area, and determines the first area and the left redundant position (third area) of the first area as the second area.
The technical scheme provided by the embodiment at least has the following beneficial effects: as known from S401-S403, since the number of positions of the first area may not satisfy the number of objects to be allocated in the target object group, when the first number is greater than the second number, the client may display a prompt message including an allocation condition to prompt the user to allocate positions for redundant objects in the target object group. Subsequently, the client may determine, in response to a trigger operation performed on the allocation condition, a third area corresponding to the allocation condition, and determine the third area and the first area as the second area. Therefore, when the number of the positions of the first area cannot meet the number of the objects in the target object group, the client can allocate the positions for the redundant objects in the third area, so that each object in the target object group has a corresponding position, the objects are prevented from being omitted, and the allocation efficiency of the positions is improved.
In an embodiment, referring to fig. 3, as shown in fig. 5, in the above S302, the method for the client to determine the second area according to the first number and the second number specifically includes:
s501, when the first number is smaller than the second number, the client selects positions to be distributed, which are the same as the first number, from the first area according to preset conditions, and determines the area corresponding to the selected positions to be distributed as a second area.
Because the number of the positions of the first area may be greater than the number of the objects to be allocated in the target object group, when the first number is smaller than the second number, the client may select the positions to be allocated, which are the same as the first number, from the first area according to a preset condition, and determine the area corresponding to the selected positions to be allocated as the second area.
Optionally, the preset condition may be that positions to be allocated, which are the same as the first number, are sequentially selected from left to right or from top to bottom.
Illustratively, the first area includes 5 positions arranged sequentially from left to right, the target object group includes 4 objects to be allocated, and the number of the positions of the first area is greater than the number of the objects to be allocated in the target object group. In this case, the client may select 4 positions to be allocated from 5 positions of the first area according to a preset condition of "sequentially selecting 4 positions to be allocated from left to right", and determine an area corresponding to the selected 4 positions to be allocated as the second area.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S501, since the number of positions of the first area may be greater than the number of objects to be allocated in the target object group, when the first number is smaller than the second number, the client may select, according to a preset condition, positions to be allocated from the first area that are the same as the first number, and determine an area corresponding to the selected positions to be allocated as the second area, so as to ensure that redundant positions in the first area are not allocated, thereby improving the allocation efficiency of the positions.
In an embodiment, referring to fig. 3, as shown in fig. 6, in the above S302, the method for the client to determine the second area according to the first number and the second number specifically includes:
s601, when the first number is equal to the second number, the client determines the first area as the second area.
Specifically, when the number of positions of the first region is the same as the number of objects to be allocated in the target object group, the client may determine the first region as the second region, so that positions in the second region are subsequently allocated to the target object group.
The technical scheme provided by the embodiment at least has the following beneficial effects: as can be seen from S601, when the number of positions of the first region is the same as the number of objects to be allocated in the target object group, the client may determine the first region as the second region, so that positions in the second region are subsequently allocated to the target object group, and when the number of positions of the first region is the same as the number of objects to be allocated in the target object group, the client may determine the first region as the second region, so that positions in the second region are subsequently allocated to the target object group, thereby improving the allocation efficiency of positions.
In an embodiment, with reference to fig. 1 and as shown in fig. 7, in the above S101, the method for displaying the to-be-allocated area and the to-be-allocated object group by the client specifically includes:
s701, the client side obtains position layout information and organization structure information.
Specifically, the client may obtain the position layout information and the organization structure information of the enterprise when displaying the area to be allocated and the object group to be allocated.
The position layout information comprises an area to be distributed; the organizational structure information includes a set of objects to be assigned.
S702, the client generates and displays a position distribution interface comprising the area to be distributed and the object group to be distributed according to the position layout information and the organization architecture information.
Specifically, after acquiring the position layout information and the organization architecture information of the enterprise, the client may generate and display a position allocation interface including the area to be allocated and the object group to be allocated according to the position layout information and the organization architecture information.
Optionally, the location allocation interface may be a display interface of the location allocation software generated by the client according to the location layout information and the organization architecture information.
Optionally, the location assignment interface further includes department information; the position allocation method further includes:
when the department information is the department information of the department to which the area to be distributed belongs, the client can respond to the trigger operation executed on the department information and display a position structure interface of the department corresponding to the department information; the location structure interface includes an area to be allocated. In this way, the client can conveniently view the position structure of the department by displaying the position structure interface of the department corresponding to the department information.
The technical scheme provided by the embodiment at least has the following beneficial effects: from S701 to S702, when the client displays the to-be-allocated region and the to-be-allocated object group, the client may obtain the position layout information and the organization architecture information of the enterprise, and generate and display a position allocation interface including the to-be-allocated region and the to-be-allocated object group according to the position layout information and the organization architecture information, so that the subsequent client may quickly allocate a suitable position in the region to the target object group, and the efficiency of position allocation is improved.
It is understood that, in practical implementation, the client according to the embodiment of the present disclosure may include one or more hardware structures and/or software modules for implementing the corresponding location allocation method, and these hardware structures and/or software modules may constitute an electronic device. Those of skill in the art will readily appreciate that the present disclosure can be implemented in hardware or a combination of hardware and computer software for implementing the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Based on such understanding, the embodiment of the present disclosure also provides a location allocating apparatus, which can be applied to a client. Fig. 8 shows a schematic structural diagram of a position distribution device provided by an embodiment of the present disclosure. As shown in fig. 8, the position distribution means may include: a display unit 801;
a display unit 801 for displaying an area to be allocated and an object group to be allocated; the region to be distributed comprises a position to be distributed, and the region to be distributed comprises a first region; the object group to be distributed comprises objects to be distributed;
the display unit 801 is further configured to, in response to a pull operation of pulling a target object group in the object group to be allocated to the first area, display an allocated identifier in a second area where the first area is located or included; the second area is the area to be distributed, and the number of the positions to be distributed is the same as that of the objects to be distributed in the target object group; the allocated flag is used to indicate that the location of the first area or the location of the second area has been allocated.
Optionally, the position allocating device further comprises: a processing unit 802;
the processing unit 802 is configured to determine an area between the selected first to-be-allocated position and the selected second to-be-allocated position as a first area;
a processing unit 802, further configured to determine a second area according to the first number and the second number; the first number is the number of objects to be distributed in the target object group; the second number is the number of positions to be allocated within the first area.
Optionally, the processing unit 802 is specifically configured to:
when the first number is larger than the second number, displaying prompt information comprising distribution conditions; the distribution conditions include: distributing according to a preset direction or a preset position; the prompt information is used for prompting the allocation position of the target object to be allocated in the target object group; the number of the target objects to be distributed is the difference value between the first number and the second number;
determining a region corresponding to the allocation condition as a third region in response to a trigger operation performed on the allocation condition; the number of positions to be allocated of the third area is the same as the number of the target objects to be allocated;
the first region and the third region are determined as the second region.
Optionally, the processing unit 802 is specifically configured to:
and when the first number is smaller than the second number, selecting positions to be distributed with the same number as the first number from the first area according to a preset condition, and determining the area corresponding to the selected positions to be distributed as a second area.
Optionally, the processing unit 802 is specifically configured to:
when the first number is equal to the second number, the first area is determined as the second area.
Optionally, the display unit 801 is specifically configured to:
acquiring position layout information and organization architecture information; the position layout information includes an area to be allocated; the organization architecture information comprises a group of objects to be distributed;
and generating and displaying a position distribution interface comprising the area to be distributed and the object group to be distributed according to the position layout information and the organization architecture information.
Optionally, the location assignment interface further includes department information; the display unit 801 is further configured to, when the department information is department information of a department to which the area to be allocated belongs, display a location structure interface of the department corresponding to the department information in response to a trigger operation performed on the department information; the location structure interface includes an area to be allocated.
As described above, the embodiments of the present disclosure may perform the division of the functional modules on the client according to the above method examples. The integrated module can be realized in a hardware form, and can also be realized in a software functional module form. In addition, it should be further noted that the division of the modules in the embodiments of the present disclosure is schematic, and is only a logic function division, and there may be another division manner in actual implementation. For example, the functional blocks may be divided for the respective functions, or two or more functions may be integrated into one processing block.
The specific manner in which each module performs the operation and the beneficial effects of the position allocating apparatus in the foregoing embodiments have been described in detail in the foregoing method embodiments, and are not described herein again.
The embodiment of the disclosure also provides a client, which can be a user client such as a mobile phone, a computer and the like. Fig. 9 shows a schematic structural diagram of a client provided in an embodiment of the present disclosure. The client, which may be a location assigning device, may comprise at least one processor 61, a communication bus 62, a memory 63 and at least one communication interface 64.
The processor 61 may be a Central Processing Unit (CPU), a micro-processing unit, an ASIC, or one or more integrated circuits for controlling the execution of programs according to the present disclosure. As an example, in connection with fig. 8, the processing unit 802 in the client implements the same functions as the processor 61 in fig. 9.
The communication bus 62 may include a path that carries information between the aforementioned components.
The communication interface 64 may be any device, such as a transceiver, for communicating with other devices or communication networks, such as a server, an ethernet, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), etc.
The memory 63 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory may be self-contained and connected to the processing unit by a bus. The memory may also be integrated with the processing unit.
The memory 63 is used for storing application program codes for executing the disclosed solution, and is controlled by the processor 61. The processor 61 is configured to execute application program code stored in the memory 63 to implement the functions in the disclosed method.
In particular implementations, processor 61 may include one or more CPUs such as CPU0 and CPU1 in fig. 9, for example, as one embodiment.
In particular implementations, as an embodiment, the location assignment client may include a plurality of processors, such as processor 61 and processor 65 in fig. 9. Each of these processors may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).
In one embodiment, the location assignment client may further include an input device 66 and an output device 67. The input device 66 communicates with the output device 67 and may accept user input in a variety of ways. For example, the input device 66 may be a mouse, a keyboard, a touch screen device or a sensing device, and the like. The output device 67 is in communication with the processor 61 and may display information in a variety of ways. For example, the output device 61 may be a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display device, or the like.
Those skilled in the art will appreciate that the architecture shown in fig. 9 does not constitute a limitation on the client, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components.
The present disclosure also provides a computer-readable storage medium comprising instructions stored thereon, which when executed by a processor of a computer device, enable a computer to perform the position allocation method provided by the illustrated embodiment described above. For example, the computer readable storage medium may be a memory 63 comprising instructions executable by the processor 61 of the client to perform the method described above. Also for example, the computer readable storage medium may be a memory 63 comprising instructions executable by a processor 65 of the server to perform the above-described method. Alternatively, the computer readable storage medium may be a non-transitory computer readable storage medium, for example, which may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present disclosure also provides a computer program product comprising computer instructions which, when run on a client, cause the client to perform the location assignment method described in any of figures 1-7 above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A position allocation method, comprising:
displaying the area to be distributed and the object group to be distributed; the area to be distributed comprises a position to be distributed, and the area to be distributed comprises a first area; the object group to be distributed comprises objects to be distributed;
in response to a pulling operation of pulling a target object group in the object group to be allocated to a first area, displaying an allocated identifier in a second area where the first area is or includes; the second area is an area to be distributed, and the number of positions to be distributed is the same as the number of objects to be distributed in the target object group; the allocated identifier is used for indicating that the position of the first area or the position of the second area is allocated.
2. The position allocation method according to claim 1, wherein, in response to a pull operation of pulling a target object group in the object groups to be allocated to a first area, before displaying an allocated identifier in a second area in or included in the first area, the method further comprises:
determining a region between the selected first position to be distributed and the selected second position to be distributed as the first region;
determining the second area according to the first number and the second number; the first number is the number of objects to be allocated in the target object group; the second number is the number of positions to be allocated within the first area.
3. The method of claim 2, wherein said determining the second region based on the first number and the second number comprises:
when the first number is larger than the second number, displaying prompt information comprising distribution conditions; the allocation conditions include: distributing according to a preset direction or a preset position; the prompt information is used for prompting the allocation position of the target object to be allocated in the target object group; the number of the target objects to be distributed is the difference value between the first number and the second number;
determining a region corresponding to the allocation condition as a third region in response to a trigger operation performed on the allocation condition; the number of positions to be allocated of the third area is the same as the number of the target objects to be allocated;
determining the first region and the third region as the second region.
4. The method of claim 2, wherein said determining the second region based on the first number and the second number comprises:
when the first number is smaller than the second number, positions to be allocated, which are the same as the first number, are selected from the first area according to a preset condition, and an area corresponding to the selected positions to be allocated is determined as the second area.
5. The method of claim 2, wherein said determining the second region based on the first number and the second number comprises:
determining the first area as the second area when the first number is equal to the second number.
6. The position assigning method according to any one of claims 1 to 5, wherein said displaying the area to be assigned and the group of objects to be assigned comprises:
acquiring position layout information and organization architecture information; the position layout information comprises the area to be distributed; the organization architecture information comprises the group of objects to be distributed;
and generating and displaying a position distribution interface comprising the area to be distributed and the object group to be distributed according to the position layout information and the organization architecture information.
7. A position assigning apparatus, comprising: a display unit;
the display unit is used for displaying the area to be distributed and the object group to be distributed; the area to be distributed comprises a position to be distributed, and the area to be distributed comprises a first area; the object group to be distributed comprises objects to be distributed;
the display unit is further configured to display the allocated identifier in a second area where the first area is located or included in response to a pull operation of pulling a target object group in the object group to be allocated to the first area; the second area is an area to be distributed, and the number of positions to be distributed is the same as the number of objects to be distributed in the target object group; the allocated identifier is used for indicating that the position of the first area or the position of the second area is allocated.
8. A client, the client comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the position assigning method of any of claims 1-6.
9. A computer-readable storage medium having instructions stored thereon, wherein the instructions in the computer-readable storage medium, when executed by a processor of a client, enable the client to perform the location assignment method of any one of claims 1-6.
10. A computer program product comprising instructions that, when run on a client, cause the client to perform the location allocation method of any one of claims 1-6.
CN202111423317.2A 2021-11-26 2021-11-26 Position allocation method, device, equipment and storage medium Pending CN114169722A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111423317.2A CN114169722A (en) 2021-11-26 2021-11-26 Position allocation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111423317.2A CN114169722A (en) 2021-11-26 2021-11-26 Position allocation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114169722A true CN114169722A (en) 2022-03-11

Family

ID=80481097

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111423317.2A Pending CN114169722A (en) 2021-11-26 2021-11-26 Position allocation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114169722A (en)

Similar Documents

Publication Publication Date Title
US20060224427A1 (en) Method, system, and program product for individual and group work space allocation and utilization
US20150379446A1 (en) Force-based assignments
US20140278652A1 (en) Hybrid system and method for selecting and deploying field technicians in a facilities management hybrid workforce
CN106681835A (en) Resource allocation method and resource manager
US11250178B2 (en) Dynamic spatial clustering construction and visualization system for office space planning and optimization
US20150142490A1 (en) Schedule manager
US20190325355A1 (en) System and method for implementing a capacity management and live user location tool
CN109462508A (en) Node deployment method, device and storage medium
US20200034503A1 (en) Space Planning Options Management and Visualization System with Intelligent Dynamic Cascading
US20180285791A1 (en) Space optimization solver using team collaboration patterns to guide team-to-floor allocation planning
CN114496195A (en) Medical resource scheduling method based on knowledge graph and related equipment thereof
CN114169722A (en) Position allocation method, device, equipment and storage medium
US20170180197A1 (en) Dynamic Planning and Configuration Based on Inconsistent Supply
CN107025126A (en) A kind of resource regulating method, NFVO and system
US11270396B1 (en) Automated event space management with conflict prevention
CN114462818A (en) Hotel resource management method and device, electronic equipment and storage medium
CN115145917A (en) Data detection method and device, electronic equipment and storage medium
CN106909364B (en) Terminal display method and visualization device
Wurzer In-process agent simulation for early stages of hospital planning
Borokhovich et al. Improving impact sourcing via efficient global service delivery
CN107833019B (en) Channel management method and device, computer equipment and readable storage medium
US20230214544A1 (en) Method and system for space planning by artificial intelligence reasoning
CN113283668A (en) Toilet use information display method, device, computer equipment and medium
US20200342388A1 (en) System, apparatus, and method for generating secondary staffing schedules
US20230177242A1 (en) Digital twin airflow modeling

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