CN109918053A - Organizational structure method of adjustment, device, equipment and readable storage medium storing program for executing - Google Patents

Organizational structure method of adjustment, device, equipment and readable storage medium storing program for executing Download PDF

Info

Publication number
CN109918053A
CN109918053A CN201910044822.2A CN201910044822A CN109918053A CN 109918053 A CN109918053 A CN 109918053A CN 201910044822 A CN201910044822 A CN 201910044822A CN 109918053 A CN109918053 A CN 109918053A
Authority
CN
China
Prior art keywords
organizational structure
level
organizational
adjustment
user
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
CN201910044822.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.)
Ping An Urban Construction Technology Shenzhen Co Ltd
Original Assignee
Ping An Urban Construction Technology Shenzhen 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 Ping An Urban Construction Technology Shenzhen Co Ltd filed Critical Ping An Urban Construction Technology Shenzhen Co Ltd
Priority to CN201910044822.2A priority Critical patent/CN109918053A/en
Publication of CN109918053A publication Critical patent/CN109918053A/en
Pending legal-status Critical Current

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention provides a kind of organizational structure method of adjustment, comprising: obtains the user data of importing, and determines the organizational structure level of organizational structure in user data;Judge whether the organizational structure level is fixed level;If the organizational structure level is fixed level, the organizational structure is mapped as the corresponding destination organization framework of the fixed level using the mapping relations in preset Map Profile;If the organizational structure level is not fixed level, determine that the organizational structure to be adapted to level, is mapped as the corresponding destination organization framework of the adaptation level using the mapping relations in the Map Profile by the organizational structure level.The present invention also provides a kind of organizational structure adjustment device, equipment and readable storage medium storing program for executing.It is realized the present invention is based on data processing and various user class demands is met to support Various Tissues framework using the corresponding mapping of Map Profile progress according to the organizational structure level of user data.

Description

Organizational structure method of adjustment, device, equipment and readable storage medium storing program for executing
Technical field
The present invention relates to organizational structure administrative skill field more particularly to a kind of organizational structure methods of adjustment, device, equipment And readable storage medium storing program for executing.
Background technique
Currently, organizational structure on the market is substantially fixed level, or it is not fixed level completely, arbitrarily supports N Grade, when both common organizational structures are applied in certain corporate business, in place of having Shortcomings, for example, according to solid When given layer grade, because of corporate business demand, user group's framework of importing has original 7 grades, also has original 5 grades, more there is original 2 Grade, is obviously unable to meet demand using the organizational structure of fixed level, according to N grades of any hierarchical organization architectural schemes of support Problem, when from external company's platform importing user data to internal platform, since the organizational structure of different company is different, user Organizational structure level can be arbitrarily defined, is caused between different user types to the corresponding meaning of same layer organizational structure and management It is required that all may be inconsistent, so, both sides are that the unitized management of platform brings difficulty at present, are not able to satisfy various user class The demand of type.
Summary of the invention
The main purpose of the present invention is to provide a kind of organizational structure method of adjustment, device, equipment and readable storage medium storing program for executing, Aim to solve the problem that the problem of unitized management of platform brings difficulty, is not able to satisfy the demand of various user types in the prior art.
To achieve the above object, the present invention provides a kind of organizational structure method of adjustment, the organizational structure method of adjustment packet Include following steps:
The user data imported is obtained, and determines the organizational structure level of organizational structure in user data;
Judge whether the organizational structure level is fixed level;
If the organizational structure level is fixed level, using the mapping relations in Map Profile by the tissue Framework is mapped as the corresponding destination organization framework of the fixed level;
If the organizational structure level is not fixed level, the organizational structure level is determined to be adapted to level, is utilized The organizational structure is mapped as the corresponding destination organization frame of the adaptation level by the mapping relations in the Map Profile Structure.
Optionally, the Map Profile includes fixed mapping table, if the organizational structure level is fixing layer Grade, then be mapped as the corresponding mesh of the fixed level for the organizational structure using the mapping relations in the Map Profile Mark organizational structure the step of include:
If the organizational structure level is fixed level, it is determined that whether the organizational structure level is less than the first default layer Grade;
If the organizational structure, less than the first default level, the mapping relations based on the fixed mapping table are according to default The organizational structure is mapped as the initial tissu framework of the organizational structure level by sequence, and generates the missing tissues frame lacked Structure;
The initial tissu framework is combined with the missing tissues framework according to hierarchic sequence, to obtain the mesh Mark organizational structure.
Optionally, the Map Profile further includes adaptation mapping table, if the organizational structure is not fixing layer Grade then determines the organizational structure level to be adapted to level, using the mapping relations in the Map Profile by the tissue Framework is mapped as the step of adaptation level corresponding destination organization framework and includes:
If the organizational structure level is not fixed level, determine the organizational structure level for be adapted to level, then really Whether the fixed organizational structure is less than or equal to the second default level;
If the organizational structure is less than or equal to the second default level, by the fixed mapping table to described group of stretching frame The organizational structure of fixed level is mapped in structure, to obtain fixing layer organizational structure;
Adaptation mapping is carried out to other organizational structures in the organizational structure by being adapted to mapping table, to obtain adaptation layer group Stretching frame structure, wherein other organizational structures are organizational structure except fixed level in the organizational structure;
The fixing layer organizational structure and the adaptation layer organizational structure are combined according to hierarchic sequence, to obtain State destination organization framework.
Optionally, if the organizational structure level is not fixed level, determine the organizational structure level for adaptation Level, it is determined that after the step of whether organizational structure is less than or equal to the second default level, the organizational structure adjustment Method further include:
If the organizational structure is greater than the described second default level, acquisition is not present in the adaptation mapping table and described Organizational structure to be deleted in fixed mapping table, and the organizational structure to be deleted is deleted, it is default to obtain meeting described second The organizational structure of level;
The organizational structure for meeting the described second default level is mapped as the destination organization frame using the mapping relations Structure.
Optionally, the organizational structure is mapped as described solid by the mapping relations using in Map Profile Before the step of given layer grade corresponding destination organization framework, the organizational structure method of adjustment further include:
Preset Map Profile is obtained, and detects current level in the fixed level and whether there is in the mapping In configuration file;
If it exists, it thens follow the steps, is reflected the organizational structure using the mapping relations in preset Map Profile It penetrates as the corresponding destination organization framework of the fixed level;
If it does not exist, then prompting message is sent to user, to prompt user to increase the management information of current level newly.
Optionally, described to obtain the user data imported, and determine the organizational structure level of organizational structure in user data The step of include:
The user data imported is obtained, the user identity in the user data is verified;
If being verified, the position state of user is detected, determines whether the position state of user is on-job state;
If the position state of user is on-job state, the organizational structure layer of organizational structure in the user data is obtained Grade.
Optionally, described to obtain the user data imported, the step verified to the user identity in the user data After rapid, the organizational structure method of adjustment further include:
If verifying does not pass through, whether the position state for detecting user is leaving office state;
If the position state for detecting user is leaving office state, the user data of user is updated, and will be in database Log-on message is set as failing, to forbid user to log in.
In addition, to achieve the above object, the present invention also provides a kind of organizational structures to adjust device, the organizational structure adjustment Device includes:
Data import modul for obtaining the user data imported, and determines the group stretching frame of organizational structure in user data Structure level;
Judgment module, for judging whether the organizational structure level is fixed level;
First mapping block configures text using preset mapping if being fixed level for the organizational structure level The organizational structure is mapped as the corresponding destination organization framework of the fixed level by the mapping relations in part;
Second mapping block determines the organizational structure layer if not being fixed level for the organizational structure level Grade is adaptation level, and the organizational structure is mapped as the adaptation level using the mapping relations in the Map Profile Corresponding destination organization framework.
In addition, to achieve the above object, the present invention also provides a kind of organizational structures to adjust equipment, the organizational structure adjustment Equipment includes processor, memory and is stored in the organizational structure tune that can be executed on the memory and by the processor Whole program, wherein realizing such as above-mentioned organizational structure adjustment side when the organizational structure adjustment programme is executed by the processor The step of method.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing Organizational structure adjustment programme is contained, wherein realizing such as above-mentioned tissue when the organizational structure adjustment programme is executed by processor The step of framework method of adjustment.
The present invention provides a kind of organizational structure method of adjustment, device, equipment and readable storage medium storing program for executing, the present invention and passes through acquisition The user data of importing, and determine the organizational structure level of organizational structure in user data, then judge the organizational structure layer Whether grade is fixed level, if then the organizational structure level is fixed level, using in preset Map Profile Mapping relations the organizational structure is mapped as the corresponding destination organization framework of the fixed level, if last described group of stretching frame Structure level is not fixed level, then determines the organizational structure level to be adapted to level, using in the Map Profile The organizational structure is mapped as the corresponding destination organization framework of the adaptation level by mapping relations;Realize the use according to importing The organizational structure level of user data carries out corresponding mapping using Map Profile, to support Various Tissues framework, can incite somebody to action Various Tissues framework carries out unitized management, meets various user class demands.
Detailed description of the invention
Fig. 1 is the hardware structural diagram that the organizational structure that various embodiments of the present invention are related to adjusts equipment;
Fig. 2 is the flow diagram of organizational structure method of adjustment first embodiment of the present invention;
Fig. 3 is the flow diagram of organizational structure method of adjustment second embodiment of the present invention;
Fig. 4 is the flow diagram of organizational structure method of adjustment 3rd embodiment of the present invention;
Fig. 5 is the flow diagram of organizational structure method of adjustment fourth embodiment of the present invention;
Fig. 6 is the functional block diagram that organizational structure of the present invention adjusts device first embodiment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present embodiments relate to organizational structure method of adjustment be mainly used in organizational structure adjustment equipment, this group of stretching frame Structure adjustment equipment, which can be PC (personal computer personal computer), portable computer, mobile terminal etc., has display With the equipment of processing function.
Referring to Fig.1, Fig. 1 is the hardware configuration signal that organizational structure involved in the embodiment of the present invention adjusts equipment Figure.In the embodiment of the present invention, organizational structure adjustment equipment may include (such as the central processing unit Central of processor 1001 Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, Communication bus 1002 is for realizing the connection communication between these components;User interface 1003 may include display screen (Display), input unit such as keyboard (Keyboard);Network interface 1004 optionally may include that the wired of standard connects Mouth, wireless interface (such as WI-FI interface);Memory 1005 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), such as magnetic disk storage, memory 1005 optionally can also be independently of aforementioned processor 1001 storage device.It will be understood by those skilled in the art that hardware configuration shown in Fig. 1 is not constituted to limit of the invention It is fixed, it may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of readable storage medium storing program for executing may include operating system, net Network communication module and organizational structure adjustment programme.In Fig. 1, network communication module is mainly used for connecting server, with service Device carries out data communication;And processor 1001 can call the organizational structure adjustment programme stored in memory 1005, and execute Organizational structure method of adjustment provided in an embodiment of the present invention.
The embodiment of the invention provides a kind of organizational structure methods of adjustment.
It is the flow diagram of organizational structure method of adjustment first embodiment of the present invention referring to Fig. 2, Fig. 2.
In the present embodiment, the executing subject of the organizational structure method of adjustment is that organizational structure adjusts system, this group of stretching frame Structure adjustment system includes organizational structure adjustment equipment, and organizational structure adjustment equipment can be mobile phone, PC, palm PC and plate The terminal devices such as computer are chosen as equipment shown in FIG. 1.The organizational structure method of adjustment the following steps are included:
Step S10 obtains the user data of importing, and determines the organizational structure level of organizational structure in user data;
In the present embodiment, the data that the user data of importing can be external company personnel import, and are also possible to this public affairs It takes charge of demographic data to import, the user data of importing includes each layer tissue framework title of user (for example, great Qu title, company name Title, department name etc.), each layer tissue framework coding (for example, great Qu coding, company's coding, department's coding etc.), the base of user This attribute information (cell-phone number, identification card number, on-job state etc.), the corresponding organizational structure of different company can be different, organize stretching frame Title, the level of structure can not be identical, can be two-stage, three-level, seven grades etc., the level of external company's organizational structure can be two Grade, three-level, level Four etc., general small and medium size companies are all three-levels.
System counts using the corresponding data of organizational structure in preset script information crawl user data and uses data The organizational structure level of middle organizational structure, for example, there are company, shops, the other organizational structure of group in user data, system passes through Script information grabs Business Name and or coding, shops's title and or coding, group alias in the organizational structure of the user data Claim and or coding, it is three layers that statistics, which obtains in the user data organizational structure, i.e., the level of organizational structure is three layers.
Step S20 judges whether the organizational structure level is fixed level;
In the present embodiment, the organizational structure in user data can be mapped as destination organization frame by the mapping relations Structure.It wherein, include fixed level and adaptation level in mapping template, fixed level is that fixed map is needed in the second default level Level, adaptation level is that can be adapted to the level of mapping, wherein if organizational structure level is less than or equal to the first default level, For fixed level, if organizational structure level is greater than the first default level, to be adapted to level, for example, in general, small and medium size companies The level of organizational structure is three layers, can set the first default level as three layers, then be less than or equal to three layers of organizational structure layer Grade is three layers, and if more than the first default level, then organizational structure level is adaptation level.
Step S30 utilizes the mapping in preset Map Profile if the organizational structure level is fixed level The organizational structure is mapped as the corresponding destination organization framework of the fixed level by relationship;
It in the present embodiment, include organizational structure and destination organization frame in user data in the preset Map Profile The mapping relations of structure then inquire the mapping relations of fixed level when organizational structure is fixed level in Map Profile, And organizational structure is mapped as the corresponding destination organization framework of the fixed level according to the mapping relations.
Wherein, if the organizational structure level is fixed level, the mapping in the Map Profile is utilized The step of organizational structure is mapped as the corresponding destination organization framework of the fixed level by relationship include:
Step S31, if the organizational structure level is fixed level, it is determined that whether the organizational structure level is less than the One default level;
In the present embodiment, the Map Profile includes fixed mapping table, includes fixed level in fixed mapping table Mapping relations.If organizational structure level in user data is fixed level, judge organizational structure level whether less than the One default level, the first default level are the level of user setting, for example, in general, the level of small and medium size companies' organizational structure It is three layers, the first default level can be set as three layers.
Step S32, if the organizational structure less than the first default level, the mapping relations based on the fixed mapping table The organizational structure is mapped as to the initial tissu framework of the organizational structure level according to preset order, and generates lacking of lacking Lose organizational structure;
In the present embodiment, if the organizational structure level is less than the first default level, in consolidating for Map Profile Determine to search organizational structure mapping relations corresponding with destination organization framework in mapping table, be mapped according to preset order, this is pre- If sequence includes the sequence of organizational structure from high to low, the organizational structure of first layer is mapped first, re-maps other layers of tissue Framework, since the level of the organizational structure in user data is less than the first default level, system will test according to mapping relations Lack certain organizational structures in user data, default is generated into missing tissues framework, for example, the first default level is 3 layers, when When the level for importing organizational structure in data is 2 grades or even lower level, system will be according to the organizational structure level in user data It being mapped from advanced to rudimentary, system detection lacks organizational structure into user data, it will default to " other ranks ", such as Shops is defaulted as " other shops ", and group is defaulted as " other groups ";" other shops " of system automatically generated or " other groups Not ", but front end is not done this and is showed.
Further, if the organizational structure level is equal to the first default level, directly by the tissue in user data Framework is mapped as the corresponding organizational structure of fixed level, for example, when the level of the organizational structure imported in data is three-level, one As the organizational structure of center company be all three-level, then the organizational structure imported in data is mapped as to three fixed levels, is Company, shops, group, the organizational structure of the fixation are that three-level is advantageous in that and will not be greater than because of the organizational structure of excessive company Three-level is to cause organizational structure to become excessively empty or complicated.
The initial tissu framework and the missing tissues framework are combined by step S33, to obtain the target group Stretching frame structure.
In the present embodiment, the initial tissu framework and missing tissues framework are formed into destination organization framework, the target Organizational structure is the organizational structure of the user data imported, for example, initial tissu framework is " company, shops ", what system generated Missing tissues framework is " other groups ", then destination organization framework is " company, shops, other groups ".Certainly, in organizational structure The corresponding data of the organizational structure will be mapped in mapping process, for example, Business Name or coding, shops's title or volume Code etc..
Further, step S30, further includes:
Step S40 determines that the organizational structure level is adaptation layer if the organizational structure level is not fixed level Grade, is mapped as the corresponding target of the adaptation level for the organizational structure using the mapping relations in the Map Profile Organizational structure;
In the present embodiment, whether the organizational structure level in system detection user data is greater than the first default level, if The organizational structure level is greater than the first default level, then the tissue rack-layer grade not instead of fixed level, is adapted to level, then first The fixed level in organizational structure is mapped by the mapping relations in fixed mapping table, is adapted to other levels in level Organizational structure then passes through the adaptation mapping table in mapping template file and searches the corresponding mapping relations of the other levels, and is reflected It penetrates.
Wherein, if the organizational structure is less than or equal to the second default level, judge the organizational structure level for adaptation The organizational structure is mapped as the corresponding mesh of the adaptation level using the mapping relations in the Map Profile by level Mark organizational structure the step of include:
Step S41 determines that the organizational structure level is adaptation layer if the organizational structure level is not fixed level Grade, it is determined that whether the organizational structure is less than or equal to the second default level;
In the present embodiment, Map Profile further includes adaptation mapping table, and being adapted in mapping table includes in organizational structure The mapping relations of the organizational structure of other levels in addition to fixed level.The second default level is the layer of technical staff's setting Grade, system detection organizational structure level be greater than the first default level when, then continue to test the organizational structure level whether be less than or Person is equal to the second default level, that is, indicates that the institutional framework level is greater than the first default level and is less than or equal to second and preset Level.
Step S42, if being less than or equal to the second default level, by the fixed mapping table in the organizational structure The organizational structure of fixed level is mapped, to obtain fixing layer organizational structure;
In the present embodiment, if the organizational structure level is greater than the first default level and is less than or equal to the second default layer When grade, then the organizational structure of fixed level in organizational structure level is reflected first using the mapping relations in mapping template It penetrates, to obtain fixing layer organizational structure, for example, the first default level is 3 layers, being less than or equal to 3 layers is fixed level, if user Organizational structure level in data is six layers, and company, shops, group are fixed three-layer weave framework, in addition configures three layers The organizational structure of grade is the institutional framework of flexible expansible adaptation, is great Qu, cell, section, and great Qu is same on company Great Qu supports to manage multiple companies, and for cell on shops, the same cell supports to manage multiple shops, section group it On, the same section is supported to manage multiple groups, and fixed three levels mapped will be needed to be divided into user data first and be mapped as The company of fixed level, shops, group, then pass through other three organizational structures pair of mapping relationship searching in mapping configuration template The organizational structure of other three levels in user data is mapped as great Qu, cell, section by the destination organization framework answered.
Step S43 carries out adaptation mapping to other organizational structures in the organizational structure by being adapted to mapping table, to obtain Adaptation layer organizational structure, wherein other organizational structures are organizational structure except fixed level in the organizational structure;
In the present embodiment, other organizational structures are all organizational structure middle finger groups in addition to fixed level of user data Stretching frame structure will search the corresponding destination organization framework of other organizational structures in mapping configuration template, according to mapping relations to it Its organizational structure is mapped, for example, the original structure framework in user data is 5 grades, respectively A, B, C, D, E, A, B, C group Stretching frame structure is divided into the company of being mapped as, shops, group, then D, E are other organizational structures, is mapped as greatly according to mapping configuration template Area, cell or great Qu, section or cell, section, the area Ze Gai great, cell or great Qu, section or cell, section are adaptation layer tissue Framework.
The fixing layer organizational structure and the adaptation layer organizational structure are combined by step S44 according to hierarchic sequence, To obtain the destination organization framework.
In the present embodiment, fixed level organizational structure is combined with adaptation layer organizational structure according to level attributes, The hierarchic sequence includes being ranked up according to the level sequence from high to low of organizational structure, for example, big region layer grade is greater than company Level, company's level are greater than cell hierarchy.If the organizational structure in user data is six layers, first by fixed level (three layers Grade) organizational structure mapped, then the organizational structure of other levels is mapped, for example, first will be in user data The organizational structure of three fixed levels is mapped as company, shops, group, is then mapped as the organizational structure of other levels greatly Area, cell, section are ranked up according to the level of organizational structure, obtain destination organization framework be great Qu, company, cell, door Shop, section, group.
Further, after step S41, further includes:
Step S45, if the organizational structure is greater than the described second default level, acquisition is not present in the adaptation mapping Organizational structure to be deleted in table and fixed mapping table, and the organizational structure to be deleted is deleted, to obtain meeting described second The organizational structure of default level;
In the present embodiment, if organizational structure of the system detection into user data is greater than the second default level, illustrate The organizational structure imported in data has been more than highest level, and system will be in the organizational structure and Map Profile in user data Default organizational structure compare, obtain the organizational structure to be deleted that is not present in Map Profile, and deleting should be to Organizational structure is deleted, is not mapped, to obtain the organizational structure for meeting the second default level.For example, if the second default level It is 6 layers, the organizational structure in user data is 7 layers, then deletes one layer by Map Profile, obtains meeting 6 layers of tissue Framework.
Do not make S46, the organizational structure for meeting the described second default level is mapped as the mesh using the mapping relations Mark organizational structure.
In the present embodiment, when obtaining meeting the organizational structure of the second default level, first in fixed level mapping table The corresponding mapping relations of middle lookup fixed level, the organizational structure of fixed level in the organizational structure is mapped, consolidate Then given layer grade organizational structure searches the corresponding fitting relation of other levels from adaptation mapping table again, by the group of other levels Stretching frame structure is mapped, and adaptation layer organizational structure is obtained, then by fixed level organizational structure and adaptation layer organizational structure according to Hierarchic sequence is combined, and obtains destination organization framework, for example, including six layer tissue frameworks in user data, by this group of framework In the organizational structure of fixed level (3 layers) be mapped as company, shops, group in fixed mapping table, will be in the organizational structure The organizational structure of other layers (in addition 3 layers) is mapped as great Qu, cell, section, to carry out according to the sequence of level from high to low Sequence combination, obtain great Qu, company, cell, shops, section, group.
The organizational structure method of adjustment that the present embodiment proposes by obtaining the user data imported, and determines user data The organizational structure level of middle organizational structure is then based on the organizational structure level and judges whether the organizational structure level is solid Given layer grade utilizes the mapping relations in preset Map Profile if then the organizational structure level is fixed level The organizational structure is mapped as the corresponding destination organization framework of the fixed level, if the last organizational structure level is not Fixed level then determines that the organizational structure level, will using the mapping relations in the Map Profile to be adapted to level The organizational structure is mapped as the corresponding destination organization framework of the adaptation level;Realize the group of the user data according to importing Stretching frame structure level carries out corresponding mapping using Map Profile, thus support Various Tissues framework, it can be by Various Tissues frame Structure machine carries out unitized management, meets various user class demands.
Based on first embodiment, the second embodiment of organizational structure method of adjustment of the present invention is proposed, referring to Fig. 3, this implementation In example, the organizational structure is mapped as the fixed level pair by the mapping relations using in preset Map Profile Before the step of destination organization framework answered, further includes:
Step S50 obtains preset Map Profile, and detect if the organizational structure level is fixed level Current level whether there is in the Map Profile in the fixed level;
In the present embodiment, whether the organizational structure level for detecting organizational structure in user data is less than or equal to first in advance If level, if the organizational structure level is less than or equal to the first default level, determine that the organizational structure level is fixed level.
Organizational structure in the user data of importing may be not present in Map Profile, so, system will test The organizational structure of each level whether there is in Map Profile in user data, and whether detection current organization framework first is deposited It is Map Profile, which includes the top organizational structure or minimum of organizational structure in user data Layer tissue framework specifically grabs the code or title of the organizational structure of first layer organizational structure by preset script information, It will be compared in the code of first layer organizational structure or title and Map Profile, determine in Map Profile whether deposit In the code or title of first layer organizational structure.
Step S60, and if it exists, then follow the steps, using the mapping relations in preset Map Profile by described group Stretching frame structure is mapped as the corresponding destination organization framework of the fixed level;
In the present embodiment, it will be compared in the coding and Map Profile of first layer organizational structure, determine mapping In configuration file whether there is first layer organizational structure coding, and if it exists, detection first layer organizational structure title whether be First layer organizational structure is then mapped as destination organization frame according to the mapping relations in Map Profile if not empty by sky Structure, and update the title of first layer organizational structure.If the entitled sky of first layer organizational structure, reflects by first layer organizational structure When shooting away into, then prompting message is sent to user, adds first layer organizational structure title for user,
Step S70 then sends prompting message to user, to prompt user to increase the management letter of current level newly if it does not exist Breath.
In the present embodiment, it will be compared in the coding and Map Profile of first layer organizational structure, determine mapping In configuration file whether there is first layer organizational structure coding, if it does not exist, i.e., system in configuration file search less than The corresponding mapping relations of first layer organizational structure then send prompting message to user, so that user is to first layer organizational structure Management information is added, which includes attribute, full name, abbreviation, the channel original coding, service line of first layer organizational structure Product etc..
The organizational structure method of adjustment that the present embodiment proposes obtains if being fixed level by the organizational structure level Preset Map Profile is taken, and detects current level in the fixed level and whether there is in the Map Profile In, then if it exists, then the organizational structure of current level is mapped as target group based on the mapping relations in Map Profile Stretching frame structure finally if it does not exist then sends prompting message to user, to prompt user to increase the management information of current level newly;It is real Show when detecting the organizational structure being not present in Map Profile, user can be prompted to increase the pipe of the layer tissue framework newly Information is managed, so that the missing of current layer organizational structure will not be caused, and then guarantees the integrality of organizational structure.
Based on first embodiment, the 3rd embodiment of organizational structure method of adjustment of the present invention is proposed, referring to Fig. 4, this implementation Example is step S10 includes:
Step S11 obtains the user data of importing, verifies to the user identity in the user data;
In the present embodiment, user data needs to carry out authentication, identity to the user in user data when importing The mode of verifying includes phone number verifying, employee's encoding verification, and specifically, employee compiles in user data available first The employee is encoded and is compared with code database by code, and the number or character code in analysis of encoding, determining in code database whether there is Consistent coding is encoded with the employee.
Step S12 detects the position state of user if being verified, and determines whether the position state of user is on-job State;
In the present embodiment, the number or character code in analysis of encoding is determined in code database and is compiled with the presence or absence of with the employee The consistent coding of code, and if it exists, then detect the position state of employee, which includes leaving office, being on-job, relieving a sentry, inspector Whether the position state of work is on-job state.
Step S13 obtains the tissue of organizational structure in the user data if the position state of user is on-job state Framework level.
In the present embodiment, if the position state of employee is on-job state, organizational structure in the user data is obtained Organizational structure level, if detect employee position state be leaving office state, delete the corresponding data of the employee, including duty Grade code, professional level title, post, service line title, service line product, user role etc..If detecting the position state of employee For the state of relieving a sentry, then obtain the cell-phone number of employee in user data, and determine the cell-phone number whether there is in phone number library, If it exists, the operation code of the employee is obtained according to the cell-phone number, and corresponding organizational structure is obtained according to operation code, if not In the presence of then automatically generating the basic account of user of employee, obtain the corresponding organizational structure level of the basic account.
The organizational structure method of adjustment that the present embodiment proposes, by obtaining the user data imported, to the user data In user identity verified, if being then verified, detect the position state of user, determine that the position state of user is No is on-job state, if the position state of last user is on-job state, obtains the group of organizational structure in the user data Stretching frame structure level;It realizes and the identity of user and position state is verified when importing user data, to ensure that group The accuracy of stretching frame structure mapping.
Based on 3rd embodiment, the fourth embodiment of organizational structure method of adjustment of the present invention is proposed, referring to Fig. 5, this implementation Example is after step S11, further includes:
Step S14, if verifying does not pass through, whether the position state for detecting user is leaving office state;
In the present embodiment, the user identity in user data is verified, if verifying does not pass through, obtains user's Position state determines whether the position state is leaving office state, wherein the position state includes on-job state, leaving office state, changes Hilllock state.
Step S15 updates the user data of user, and will count if the position state for detecting user is leaving office state It is set as failing according to the log-on message in library, to forbid user to log in.
In the present embodiment, if the position state for detecting user is leaving office state, use of the user in data is updated User identity state is updated to not recognize by user data including service code, professional level title, the post title etc. for emptying the user Card state, and service code login mapping table is set as failing, so that user be forbidden to pass through service code login system.
The organizational structure method of adjustment that the present embodiment proposes detects the position state of user if not passing through by verifying It whether is leaving office state, if then detecting, the position state of user is leaving office state, updates the user data of user, and will Log-on message in database is set as failing, to forbid user to log in;It realizes and does not pass through and detect in subscriber authentication When leaving office to user, then the user data of user is updated, to guarantee the safety of data.
In addition, the embodiment of the present invention also provides a kind of organizational structure adjustment device.
It is the functional block diagram that organizational structure of the present invention adjusts device first embodiment referring to Fig. 6, Fig. 6.
Organizational structure adjustment device of the present invention is virtual bench, is stored in the storage of the adjustment equipment of organizational structure shown in Fig. 1 In device 1005, for realizing organizational structure adjustment programme it is functional: obtain the user data of importing, and determine user data The organizational structure level of middle organizational structure;Judge whether the organizational structure level is fixed level;If the organizational structure layer Grade is fixed level, then the organizational structure is mapped as the fixation using the mapping relations in preset Map Profile The corresponding destination organization framework of level;If the organizational structure level is not fixed level, the organizational structure level is determined To be adapted to level, the organizational structure is mapped as the adaptation level pair using the mapping relations in the Map Profile The destination organization framework answered,
Specifically, in the present embodiment, the organizational structure adjustment device includes:
Import modul 101 for obtaining the user data imported, and determines the organizational structure of organizational structure in user data Level;
Judgment module 102 judges whether the organizational structure level is fixed level;
First mapping block 103 is configured if being fixed level for the organizational structure level using preset mapping The organizational structure is mapped as the corresponding destination organization framework of the fixed level by the mapping relations in file;
Second mapping block 104 determines the organizational structure if not being fixed level for the organizational structure level Level is adaptation level, and the organizational structure is mapped as the adaptation layer using the mapping relations in the Map Profile The corresponding destination organization framework of grade.
Further, the first mapping block 103 is also used to:
If the organizational structure level is fixed level, it is determined that whether the organizational structure level is less than the first default layer Grade;
If the organizational structure, less than the first default level, the mapping relations based on the fixed mapping table are according to default The organizational structure is mapped as the initial tissu framework of the organizational structure level by sequence, and generates the missing tissues frame lacked Structure;
The initial tissu framework is combined with the missing tissues framework according to hierarchic sequence, to obtain the mesh Mark organizational structure.
Further, the second mapping block 104 is also used to:
If the organizational structure level is not fixed level, determine the organizational structure level for be adapted to level, then really Whether the fixed organizational structure is less than or equal to the second default level;
If the organizational structure is less than or equal to the second default level, by the fixed mapping table to described group of stretching frame The organizational structure of fixed level is mapped in structure, to obtain fixing layer organizational structure;
Adaptation mapping is carried out to other organizational structures in the organizational structure by being adapted to mapping table, to obtain adaptation layer group Stretching frame structure, wherein other organizational structures are organizational structure except fixed level in the organizational structure;
The fixing layer organizational structure and the adaptation layer organizational structure are combined according to hierarchic sequence, to obtain State destination organization framework.
Further, the second mapping block 104 is also used to:
If the organizational structure is greater than the described second default level, acquisition is not present in the adaptation mapping table and described Organizational structure to be deleted in fixed mapping table, and the organizational structure to be deleted is deleted, it is default to obtain meeting described second The organizational structure of level;
The organizational structure for meeting the described second default level is mapped as the destination organization frame using the mapping relations Structure.
Further, organizational structure adjusts device further include:
Whether detection module for obtaining preset Map Profile, and detects in the fixed level current level It is present in the Map Profile;
First mapping block, for if it exists, thening follow the steps, utilizing the mapping relations in preset Map Profile The organizational structure is mapped as the corresponding destination organization framework of the fixed level;
Cue module, for if it does not exist, then sending prompting message to user, to prompt user to increase the pipe of current level newly Manage information.
Further, data import modul 101 is also used to:
The user data imported is obtained, the user identity in the user data is verified;
If being verified, the position state of user is detected, determines whether the position state of user is on-job state;
If the position state of user is on-job state, the organizational structure layer of organizational structure in the user data is obtained Grade.
Further, data import modul 101 is also used to:
If verifying does not pass through, whether the position state for detecting user is leaving office state;
If the position state for detecting user is leaving office state, the user data of user is updated, and will be in database Log-on message is set as failing, to forbid user to log in.
Wherein, the function of modules is realized and above-mentioned organizational structure method of adjustment reality in above-mentioned organizational structure adjustment device It is corresponding to apply each step in example, function and realization process no longer repeat one by one here.
In addition, the embodiment of the present invention also provides a kind of readable storage medium storing program for executing.
Organizational structure adjustment programme is stored on readable storage medium storing program for executing of the present invention, wherein the organizational structure adjustment programme quilt When processor executes, realize such as the step of above-mentioned organizational structure method of adjustment.
Wherein, organizational structure adjustment programme, which is performed realized method, can refer to organizational structure method of adjustment of the present invention Each embodiment, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of organizational structure method of adjustment, which is characterized in that the organizational structure method of adjustment the following steps are included:
The user data imported is obtained, and determines the organizational structure level of organizational structure in user data;
Judge whether the organizational structure level is fixed level;
If the organizational structure level is fixed level, using the mapping relations in preset Map Profile by described group Stretching frame structure is mapped as the corresponding destination organization framework of the fixed level;
If the organizational structure level is not fixed level, the organizational structure level is determined to be adapted to level, using described The organizational structure is mapped as the corresponding destination organization framework of the adaptation level by the mapping relations in Map Profile.
2. organizational structure method of adjustment as described in claim 1, which is characterized in that the Map Profile includes that fixation is reflected Firing table, if the organizational structure level is fixed level, using the mapping relations in the Map Profile by institute Stating the step of organizational structure is mapped as the fixed level corresponding destination organization framework includes:
If the organizational structure level is fixed level, it is determined that whether the organizational structure level is less than the first default level;
If the organizational structure is less than the first default level, the mapping relations based on the fixed mapping table are according to preset order The organizational structure is mapped as to the initial tissu framework of the organizational structure level, and generates the missing tissues framework lacked;
The initial tissu framework is combined with the missing tissues framework according to hierarchic sequence, to obtain the target group Stretching frame structure.
3. organizational structure method of adjustment as claimed in claim 2, which is characterized in that the Map Profile further includes adaptation Mapping table determines that the organizational structure level to be adapted to level, utilizes institute if the organizational structure is not fixed level The organizational structure is mapped as the corresponding destination organization framework of the adaptation level by the mapping relations stated in Map Profile The step of include:
If the organizational structure level is not fixed level, the organizational structure level is determined to be adapted to level, it is determined that institute State whether organizational structure is less than or equal to the second default level;
If the organizational structure is less than or equal to the second default level, by the fixed mapping table in the organizational structure The organizational structure of fixed level is mapped, to obtain fixing layer organizational structure;
Adaptation mapping is carried out to other organizational structures in the organizational structure by being adapted to mapping table, to obtain adaptation layer tissue frame Structure, wherein other organizational structures are organizational structure except fixed level in the organizational structure;
The fixing layer organizational structure and the adaptation layer organizational structure are combined according to hierarchic sequence, to obtain the mesh Mark organizational structure.
4. organizational structure method of adjustment as claimed in claim 3, which is characterized in that if the organizational structure level is not Fixed level determines the organizational structure level then to be adapted to level, it is determined that whether the organizational structure is less than or equal to the After the step of two default levels, the organizational structure method of adjustment further include:
If the organizational structure is greater than the described second default level, acquisition is not present in the adaptation mapping table and the fixation Organizational structure to be deleted in mapping table, and the organizational structure to be deleted is deleted, to obtain meeting the described second default level Organizational structure;
The organizational structure for meeting the described second default level is mapped as the destination organization framework using the mapping relations.
5. such as the described in any item organizational structure methods of adjustment of claim 1-2, which is characterized in that described to utilize mapping configuration text Before the step of organizational structure is mapped as the corresponding destination organization framework of the fixed level by mapping relations in part, institute State organizational structure method of adjustment further include:
Preset Map Profile is obtained, and detects current level in the fixed level and whether there is in mapping configuration In file;
If it exists, it thens follow the steps, is mapped as the organizational structure using the mapping relations in preset Map Profile The corresponding destination organization framework of the fixed level;
If it does not exist, then prompting message is sent to user, to prompt user to increase the management information of current level newly.
6. organizational structure method of adjustment as described in claim 1, which is characterized in that the user data for obtaining importing, and The step of determining the organizational structure level of organizational structure in user data include:
The user data imported is obtained, the user identity in the user data is verified;
If being verified, the position state of user is detected, determines whether the position state of user is on-job state;
If the position state of user is on-job state, the organizational structure level of organizational structure in the user data is obtained.
7. organizational structure method of adjustment as claimed in claim 6, which is characterized in that the user data for obtaining importing, it is right After the step of user identity in the user data is verified, the organizational structure method of adjustment further include:
If verifying does not pass through, whether the position state for detecting user is leaving office state;
If the position state for detecting user is leaving office state, the user data of user is updated, and by the login in database Information is set as failing, to forbid user to log in.
8. a kind of organizational structure adjusts device, which is characterized in that the organizational structure adjusts device and includes:
Data import modul for obtaining the user data imported, and determines the organizational structure layer of organizational structure in user data Grade;
Judgment module, for judging whether the organizational structure level is fixed level;
First mapping block utilizes the mapping in Map Profile if being fixed level for the organizational structure level The organizational structure is mapped as the corresponding destination organization framework of the fixed level by relationship;
Second mapping block determines that the organizational structure level is if not being fixed level for the organizational structure level It is adapted to level, the organizational structure is mapped as the adaptation level using the mapping relations in the Map Profile and is corresponded to Destination organization framework.
9. a kind of organizational structure adjusts equipment, which is characterized in that the organizational structure adjustment equipment include processor, memory, And it is stored in the organizational structure adjustment programme that can be executed on the memory and by the processor, wherein the organizational structure When adjustment programme is executed by the processor, realizing the organizational structure method of adjustment as described in any one of claims 1 to 7 Step.
10. a kind of readable storage medium storing program for executing, which is characterized in that organizational structure adjustment programme is stored on the readable storage medium storing program for executing, When wherein the organizational structure adjustment programme is executed by processor, the group stretching frame as described in any one of claims 1 to 7 is realized The step of structure method of adjustment.
CN201910044822.2A 2019-01-17 2019-01-17 Organizational structure method of adjustment, device, equipment and readable storage medium storing program for executing Pending CN109918053A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910044822.2A CN109918053A (en) 2019-01-17 2019-01-17 Organizational structure method of adjustment, device, equipment and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910044822.2A CN109918053A (en) 2019-01-17 2019-01-17 Organizational structure method of adjustment, device, equipment and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN109918053A true CN109918053A (en) 2019-06-21

Family

ID=66960328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910044822.2A Pending CN109918053A (en) 2019-01-17 2019-01-17 Organizational structure method of adjustment, device, equipment and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN109918053A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113269520A (en) * 2021-05-18 2021-08-17 挂号网(杭州)科技有限公司 Management method and device of mechanism system, electronic equipment and storage medium
CN114077428A (en) * 2020-08-13 2022-02-22 阿里巴巴集团控股有限公司 Data processing method and device, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793784A (en) * 2014-01-14 2014-05-14 广东倍智人才管理咨询有限公司 Method for leading in organizational structure for position value evaluation system
CN103971211A (en) * 2014-05-29 2014-08-06 中国银行股份有限公司 Information processing method and device
CN104850623A (en) * 2015-05-19 2015-08-19 杭州迅涵科技有限公司 Dynamic extension method and system for multidimensional data analysis model
CN106484716A (en) * 2015-08-27 2017-03-08 腾讯科技(北京)有限公司 Organizational structure method of adjustment and system
CN107679245A (en) * 2017-10-30 2018-02-09 山东浪潮通软信息科技有限公司 A kind of organizational structure method of adjustment and device
CN107741935A (en) * 2016-08-24 2018-02-27 腾讯科技(深圳)有限公司 Data lead-in method and data importing device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793784A (en) * 2014-01-14 2014-05-14 广东倍智人才管理咨询有限公司 Method for leading in organizational structure for position value evaluation system
CN103971211A (en) * 2014-05-29 2014-08-06 中国银行股份有限公司 Information processing method and device
CN104850623A (en) * 2015-05-19 2015-08-19 杭州迅涵科技有限公司 Dynamic extension method and system for multidimensional data analysis model
CN106484716A (en) * 2015-08-27 2017-03-08 腾讯科技(北京)有限公司 Organizational structure method of adjustment and system
CN107741935A (en) * 2016-08-24 2018-02-27 腾讯科技(深圳)有限公司 Data lead-in method and data importing device
CN107679245A (en) * 2017-10-30 2018-02-09 山东浪潮通软信息科技有限公司 A kind of organizational structure method of adjustment and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114077428A (en) * 2020-08-13 2022-02-22 阿里巴巴集团控股有限公司 Data processing method and device, electronic equipment and storage medium
CN113269520A (en) * 2021-05-18 2021-08-17 挂号网(杭州)科技有限公司 Management method and device of mechanism system, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US10289375B2 (en) Verification of shared display integrity in a desktop sharing system
CN105207996B (en) Account merging method and device
CN106127872B (en) Work attendance method, client and equipment based on mobile terminal
CN107291862A (en) Business datum storage method, device, storage medium and electronic equipment
CN103501374A (en) Telephone book sequencing method and device as well as terminal
CN106960143A (en) The recognition methods of user account and device, storage medium, electronic equipment
WO2021068518A1 (en) Identity authentication method and system, electronic equipment and storage medium
KR101566233B1 (en) System and Method for a Global Directory Service
CN106095814A (en) Contact person's processing method and server
CN109918053A (en) Organizational structure method of adjustment, device, equipment and readable storage medium storing program for executing
CN105607799B (en) Data processing method and device
CN110149363A (en) A kind of information push method, device and storage medium
CN106506459A (en) Identity information verification method and device
CN105205757A (en) Android-based elective system
CN110033399A (en) A kind of information publication, extracting method and the system of the wisdom class board based on recognition of face
CN110490651A (en) Information-pushing method, device, equipment and computer readable storage medium
CN109299909A (en) A kind of organizational structure managing device and method
CN110311891A (en) Account management method, device, computer equipment and storage medium
CN105894640A (en) Guest room door lock management method and device
CN110175439A (en) User management method, device, equipment and computer readable storage medium
CN104348613B (en) User verification method, apparatus and system
CN106920429B (en) Information processing method and device
CN106572095A (en) Account registration method, device and system
CN109669644A (en) A kind of method and apparatus of data storage
CN109726545A (en) A kind of information display method, equipment, computer readable storage medium and device

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190621

WD01 Invention patent application deemed withdrawn after publication