CN108256818A - Wages computational methods, application server and computer readable storage medium - Google Patents
Wages computational methods, application server and computer readable storage medium Download PDFInfo
- Publication number
- CN108256818A CN108256818A CN201711086616.5A CN201711086616A CN108256818A CN 108256818 A CN108256818 A CN 108256818A CN 201711086616 A CN201711086616 A CN 201711086616A CN 108256818 A CN108256818 A CN 108256818A
- Authority
- CN
- China
- Prior art keywords
- wages
- destination node
- target service
- service person
- algorithm
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/105—Human resources
- G06Q10/1057—Benefits or employee welfare, e.g. insurance, holiday or retirement packages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
- G06Q10/06393—Score-carding, benchmarking or key performance indicator [KPI] analysis
Abstract
The invention discloses a kind of wages computational methods, the method includes:Establish the structure tree of business personnel's information;Receive the input of target service person's identity information;Identity information according to the target service person performs breadth first algorithm to structure tree;The surroundings nodes of the destination node obtained by breadth first algorithm and destination node are stored in chained list;It reads the destination node of the chained list and the adjacent node of destination node and obtains the connection relation between the adjacent node of the destination node and the destination node;The wages data of wages computational algorithm acquisition target service person are run according to the connection relation.The present invention also provides a kind of application server and computer readable storage mediums.Wages computational methods provided by the invention, application server and computer readable storage medium, by the structure tree for building business personnel's information, the destination node for representing target service person and the relationship with surroundings nodes are found based on breadth first algorithm, realize that fast and accurately wages calculate.
Description
Technical field
It can the present invention relates to a kind of field of communication technology more particularly to wages computational methods, application server and computer
Read storage medium.
Background technology
At present in banking and insurance business field, the wages of each business personnel are settled accounts, significant portion is needed according to each business
Recommendation and/or incubation relationship between member, wherein it is the relationship recommended with being recommended to recommend relationship, and is bred as relationship and is primarily present
In relationship between the superior and the subordinate, including being directly bred as relationship and indirect incubation relationship, and relationship is recommended and/or be bred as to above-mentioned these
Be then directly affect business personnels at different levels wages clearing, wages clearing algorithm in one calculate the factor be exactly and the employee
Those relevant recommendations and/or incubation relationship, such as setting are directly bred as bonus and indirect incubation bonus ratio.However, in mesh
In the preceding wages settlement process for business personnel, the inquiry of recommendation and/or incubation relationship to some business personnel directly passes through knot
The inquiry of paper mulberry node, then the artificial enquiry node all recommendations and/be bred as relationship, this mode inefficiency is unfavorable for
The wages clearing of a large number of services person.
Invention content
In view of this, the present invention proposes a kind of wages computational methods, application server and computer readable storage medium, energy
Reach the structure tree by building business personnel's information, and based on breadth first algorithm searching represent target service person destination node and
With the relationship of surroundings nodes, and then realize fast and accurately wages calculate.
First, to achieve the above object, the present invention proposes a kind of application server, and the application server includes storage
Device, processor, the wages calculation procedure that can be run on the processor is stored on the memory, and the wages calculate journey
Sequence realizes following steps when being performed by the processor:
The structure tree of business personnel's information is established, the information of each node of the structure tree represents the letter of a business personnel
Breath;
Receive the input of target service person's identity information;
Identity information according to the target service person runs breadth first algorithm to the structure tree;
The surroundings nodes of the destination node obtained by breadth first algorithm and destination node are stored in a chained list;
It reads the destination node of the chained list and the adjacent node of destination node and obtains the destination node and the mesh
Mark the connection relation between the adjacent node of node;
The wages data of wages computational algorithm acquisition target service person are run according to the connection relation.
Optionally, the destination node is related for the target service person to the connection relation of the surroundings nodes of destination node
Recommendation and/or be bred as relationship.
Optionally, the wages calculation procedure further includes:
Establish the relevant recommendation of the target service person and/or incubation relationship and the correspondence for bonus of deducting a percentage;
The wages computational algorithm is base salary plus the recommendation and/or the corresponding deduction bonus of incubation relationship.
Optionally, it is described that the wages data that wages computational algorithms obtains target service person are run according to the connection relation
After step, the wages calculation procedure further includes:
Clear up the surroundings nodes of destination node and destination node described in the chained list.
In addition, to achieve the above object, the present invention also provides a kind of wages computational methods, applied to application server,
It is characterized in that, the described method comprises the following steps:
The structure tree of business personnel's information is established, the information of each node of the structure tree represents the letter of a business personnel
Breath;
Receive the input of target service person's identity information;
Identity information according to the target service person runs breadth first algorithm to the structure tree;
The surroundings nodes of the destination node obtained by breadth first algorithm and destination node are stored in a chained list;
It reads the destination node of the chained list and the adjacent node of destination node and obtains the destination node and the mesh
Mark the connection relation between the adjacent node of node;And
The wages data of wages computational algorithm acquisition target service person are run according to the connection relation.
Optionally, the destination node is related for the target service person to the connection relation of the surroundings nodes of destination node
Recommendation and/or be bred as relationship.
Optionally, the method further includes:
Establish the relevant recommendation of the target service person and/or incubation relationship and the correspondence for bonus of deducting a percentage.
Optionally, the wages computational algorithm is base salary plus the recommendation and/or the corresponding deduction of incubation relationship
Bonus.
Optionally, it is described that the wages data that wages computational algorithms obtains target service person are run according to the connection relation
After step, the method further includes:
Clear up the surroundings nodes of destination node and destination node described in the chained list.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers
Readable storage medium storing program for executing is stored with wages calculation procedure, and the wages calculation procedure can be performed by least one processor, so that institute
State the step of at least one processor performs wages computational methods as described above.
Compared to the prior art, wages computational methods proposed by the invention, application server and computer-readable storage
Medium, initially sets up the structure tree of business personnel's information, and the information of each node of the structure tree represents the letter of a business personnel
Breath;Then the input of target service person's identity information is received;Then according to the identity information of the target service person to the knot
Paper mulberry runs breadth first algorithm;It subsequently will be around the destination node and destination node that are obtained by breadth first algorithm
Node is stored in a chained list;And it reads the destination node of the chained list and the adjacent node of destination node and obtains the target section
Connection relation between point and the adjacent node of the destination node;Wages computational algorithm is finally run according to the connection relation
Obtain the wages data of target service person.By performing said program, it can quickly inquire the recommendation of target object and/or educate
Into relationship, according to the wages computational algorithm of corresponding incubation/recommendation relationship, the wages result of target service person is quickly generated.
Description of the drawings
Fig. 1 is the schematic diagram of one optional hardware structure of application server of the present invention;
Fig. 2 is the Program modual graph of wages calculation procedure first embodiment of the present invention;
Fig. 3 is the Program modual graph of wages calculation procedure second embodiment of the present invention;
Fig. 4 is the flow chart of wages computational methods first embodiment of the present invention;
Fig. 5 is the flow chart of wages computational methods second embodiment of the present invention;
Fig. 6 is the flow chart of wages computational methods 3rd embodiment of the present invention;
Fig. 7 is the flow chart of wages computational methods fourth embodiment of the present invention;
Fig. 8 is the flow chart of the 5th embodiment of wages computational methods of the present invention.
Reference numeral:
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
In order to make the purpose , technical scheme and advantage of the present invention be clearer, with reference to the accompanying drawings and embodiments, it is right
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not
For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before creative work is made
All other embodiments obtained are put, shall fall within the protection scope of the present invention.
It should be noted that the description for being related to " first ", " second " etc. in the present invention is only used for description purpose, and cannot
It is interpreted as indicating or implies its relative importance or imply the quantity of the technical characteristic indicated by indicating.Define as a result, " the
One ", at least one this feature can be expressed or be implicitly included to the feature of " second ".In addition, the skill between each embodiment
Art scheme can be combined with each other, but must can be implemented as basis with those of ordinary skill in the art, when technical solution
Will be understood that the combination of this technical solution is not present with reference to there is conflicting or can not realize when, also not the present invention claims
Protection domain within.
As shown in fig.1, it is the schematic diagram of 1 one optional hardware structure of application server.
The application server 1 can be rack-mount server, blade server, tower server or cabinet-type service
The computing devices such as device, the application server 1 can be the servers that independent server or multiple servers are formed
Cluster.
In the present embodiment, the application server 1 may include, but be not limited only to, and company can be in communication with each other by system bus
Connect memory 11, processor 12, network interface 13.
The application server 1 connects network by network interface 13, obtains information.The network can be enterprises
Net (Intranet), internet (Internet), global system for mobile communications (Global System of Mobile
Communication, GSM), wideband code division multiple access (Wideband Code Division Multiple Access,
WCDMA), the wirelessly or non-wirelessly network such as 4G networks, 5G networks, bluetooth (Bluetooth), Wi-Fi, speech path network.
It should be pointed out that Fig. 1 illustrates only the application server 1 with component 11-13, it should be understood that simultaneously
All components shown realistic are not applied, the more or less component of the implementation that can be substituted.
Wherein, the memory 11 includes at least a type of readable storage medium storing program for executing, and the readable storage medium storing program for executing includes
Flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memories etc.), random access storage device (RAM), it is static with
Machine accesses memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), may be programmed only
Read memory (PROM), magnetic storage, disk, CD etc..In some embodiments, the memory 11 can be described answers
With the hard disk or memory of the internal storage unit of server 1, such as the application server 1.In further embodiments, it is described to deposit
Reservoir 11 can also be the External memory equipment of the application server 1, such as the plug-in type that the application server 1 is equipped with is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Certainly, the memory 11 can also both include the internal storage unit of the application server 1 or wrap
Include its External memory equipment.In the present embodiment, the memory 11 is installed on the behaviour of the application server 1 commonly used in storage
Make system and types of applications software, such as program code of wages calculation procedure 200 etc..In addition, the memory 11 can be with
For temporarily storing the Various types of data that has exported or will export.
The processor 12 can be in some embodiments central processing unit (Central Processing Unit,
CPU), controller, microcontroller, microprocessor or other data processing chips.The processor 12 is answered commonly used in control is described
With the overall operation of server 1, such as execution data interaction or the relevant control of communication and processing etc..In the present embodiment, institute
Processor 12 is stated for running the program code stored in the memory 11 or processing data, such as run the wages
Calculation procedure 200 etc..
The network interface 13 may include radio network interface or wired network interface, which is commonly used in
Communication connection is established between the application server 1 and other electronic equipments.
In the present embodiment, installed in the application server 1 and run wages calculation procedure 200, when the wages meter
When calculating the operation of program 200, the application server 1 establishes the structure tree of business personnel's information, each node of the structure tree
Information represents the information of a business personnel;Receive the input of target service person's identity information;Body according to the target service person
Part information runs breadth first algorithm to the structure tree;By the destination node obtained by breadth first algorithm and target section
The surroundings nodes of point are stored in a chained list;It reads described in the destination node of the chained list and the adjacent node of destination node and acquisition
Connection relation between the adjacent node of destination node and the destination node;And wages are run according to the connection relation and are calculated
Algorithm obtains the wages data of target service person.In such manner, it is possible to the structure tree by building business personnel's information, and it is excellent based on range
First algorithm searching represents the destination node of target service person and the relationship with surroundings nodes, and then realize fast and accurately wages meter
It calculates.
So far, oneself is through describing the application environment of each embodiment of the present invention and the hardware configuration and work(of relevant device in detail
Energy.In the following, above application environment and relevant device will be based on, each embodiment of the present invention is proposed.
First, the present invention proposes a kind of wages calculation procedure 200.
As shown in fig.2, it is the Program modual graph of 200 first embodiment of wages calculation procedure of the present invention.
In the present embodiment, the wages calculation procedure 200 includes a series of computer being stored on memory 11
Program instruction when the computer program instructions are performed by processor 12, can realize the meter of the wages of various embodiments of the present invention
Calculate operation.In some embodiments, the specific operation realized based on the computer program instructions each section, the wages meter
One or more modules can be divided by calculating program 200.For example, in fig. 2, the wages calculation procedure 200 can be by
It is divided into and establishes module 201, receiving module 202, computing module 203, storage module 204 and read module 205.Wherein:
It is described to establish module 201, for establishing the structure tree of business personnel's information, the information of each node of the structure tree
Represent the information of a business personnel.
Specifically, the module 201 of establishing establishes the structure tree of business personnel's information mainly in the following manner:The foundation
Module 201 obtains structure tree-model;Then, all business personnel's information are imported;Finally according to structure tree-model and all business personnels
Automatically generate the structure tree of business personnel's information.
Wherein, it is described to establish module 201 to import all business personnel's information specific as follows:
The module 201 of establishing transfers the identity information of all business personnels from people's resource system and generates tables of data, and by institute
It states tables of data and imports the structure tree-model.
The receiving module 202, for receiving the input of target service person's identity information.
Specifically, target service person carries out the input of identity information by terminal installation, and the terminal installation can be moved
Mobile phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The movable equipment of (portable media player), navigation device, car-mounted device etc. and such as number TV, desk-top meter
The fixed terminal of calculation machine, notebook, server etc..In the present embodiment, the identity information of business personnel is preferably business personnel's
Work number, but in other embodiments, the identity information of business personnel can also be the biological informations of business personnel, such as iris
Information, finger print information etc., but corresponding digital code information after still these biological informations parsing of final input system.
The computing module 203 runs range for the identity information according to the target service person to the structure tree
Priority algorithm.
Specifically, the breadth first algorithm (Breadth-First Search), also known as breadth-first search or lateral
First search, abbreviation BFS are a kind of graphic searching algorithms.Briefly, BFS is since root node, along the width of tree
The node of tree is traversed, if it find that target, then calculate termination.The realization of breadth first search generally uses open-closed tables.
From the viewpoint of algorithm, because child node obtained from expanding node can be all added in the queue of a first in first out.It is general and
Speech, the node that neighbor node was not yet examined can be placed in a container referred to as open (such as queue or
Chained list), and the node being examined then is placed in the container (open-closed tables) for being referred to as closed.
The storage module 204, for destination node that breadth first algorithm obtains and the week of destination node will to be passed through
Node is enclosed to be stored in a chained list.
The read module 205, for reading the adjacent node of the destination node of the chained list and destination node and acquisition
Connection relation between the adjacent node of the destination node and the destination node.In the present embodiment, the destination node with
The connection relation of the surroundings nodes of destination node is the relevant recommendation of the target service person and/or incubation relationship.The present embodiment
In, the destination node represents the target service person.
The computing module 203 is additionally operable to run wages computational algorithm acquisition target service person according to the connection relation
Wages data.In the present embodiment, the wages computational algorithm should plus the recommendation and/or incubation relation pair for base salary
Deduction bonus.
Specifically, in the present embodiment, for example the connection relation of A-B-C, expression A are directly bred as B, and bis- generations of A are bred as C, then A
It deducts a percentage 20% from B, deducts a percentage 10% from C.Certain the example above is practical not take this as the standard only to illustrate scheme.
By above procedure module 201-205, wages calculation procedure 200 proposed by the invention first, establishes business personnel
The structure tree of information, the information of each node of the structure tree represent the information of a business personnel;Secondly, target service is received
The input of member's identity information;Then, structure tree operation breadth First is calculated according to the identity information of the target service person
Method;And, the surroundings nodes of the destination node obtained by breadth first algorithm and destination node are stored in a chained list again;Again
It is secondary, it reads the destination node of the chained list and the adjacent node of destination node and obtains the destination node and the destination node
Adjacent node between connection relation;Finally, wages computational algorithm is run according to the connection relation and obtains target service person
Wages data.In such manner, it is possible to the structure tree by building business personnel's information, and target is represented based on breadth first algorithm searching
The destination node of business personnel and the relationship with surroundings nodes, and then realize that fast and accurately wages calculate.
Further, the above-mentioned first embodiment based on wages calculation procedure 200 of the present invention proposes that the second of the present invention is real
Apply example (as shown in Figure 4).In the present embodiment, the wages calculation procedure 200, which further includes, removes module 206, wherein:
The removing module 206, for clearing up the surroundings nodes of destination node and destination node described in the chained list.
In the present embodiment, target is obtained when the computing module 203 runs wages computational algorithm according to the connection relation
After the step of wages data of business personnel, the removing module 206 clears up destination node and target described in the chained list
The surroundings nodes of node.The surroundings nodes of the destination node and destination node respectively refer to target service person and with the mesh
Mark business personnel has the business personnel of relevant recommendation and/or incubation relationship.
By above procedure module 206, wages calculation procedure 200 proposed by the invention can be removed in memory in time
The wages data of processed business personnel reduce the data storage in entire computer architecture to the greatest extent, promote entire wages
The efficiency of calculating improves data processing speed.
Further, the above-mentioned first embodiment of the data processor 200 calculated based on wages of the present invention, proposes this hair
Bright 3rd embodiment (as shown in Figure 3).In the present embodiment, the described of the wages calculation procedure 200 establishes module 201, also
For:
Establish the relevant recommendation of the target service person and/or incubation relationship and the correspondence for bonus of deducting a percentage.
In the present embodiment, by establishing the relevant recommendation of the target service person and/or incubation relationship and bonus of deducting a percentage
Correspondence can quickly inquire the recommendation of target object and/or be bred as relationship, according to the firewood of corresponding incubation/recommendation relationship
Computational algorithm is provided, quickly generates the wages result of target service person.
By above procedure module 201, wages calculation procedure 200 proposed by the invention can quickly inquire target pair
The recommendation of elephant and/or incubation relationship, according to the wages computational algorithm of corresponding incubation/recommendation relationship, quickly generate target service person
Wages result.
In addition, the present invention also proposes a kind of wages computational methods.
As shown in fig.4, it is the implementation process diagram of wages computational methods first embodiment of the present invention.In the present embodiment
In, according to different demands, the execution sequence of the step in flow chart shown in Fig. 4 can change, and certain steps can be omitted.
Step S401, establishes the structure tree of business personnel's information, and the information of each node of the structure tree represents an industry
The information of business person.Specifically, the specific steps of the structure tree for establishing business personnel's information will be in wages computational methods of the present invention
Fourth embodiment (Fig. 7) is described in detail.
Step S402 receives the input of target service person's identity information.
Specifically, target service person carries out the input of identity information by terminal installation, and the terminal installation can be moved
Mobile phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP
The movable equipment of (portable media player), navigation device, car-mounted device etc. and such as number TV, desk-top meter
The fixed terminal of calculation machine, notebook, server etc..
In the present embodiment, the identity information of business personnel is preferably the work number of business personnel, but in other embodiments, industry
The identity information of business person can also be the biological information of business personnel, such as iris information, finger print information etc., but final typing
Corresponding digital code information after still these biological informations parsing of system.
Step S403, the identity information according to the target service person run breadth first algorithm to the structure tree.
Specifically, the breadth first algorithm (Breadth-First Search), also known as breadth-first search or lateral
First search, abbreviation BFS are a kind of graphic searching algorithms.Briefly, BFS is since root node, along the width of tree
The node of tree is traversed, if it find that target, then calculate termination.The realization of breadth first search generally uses open-closed tables.
From the viewpoint of algorithm, because child node obtained from expanding node can be all added in the queue of a first in first out.It is general
In doing in fact, node that neighbor node was not yet examined can be placed in a container referred to as open (such as queue
Or chained list), and the node being examined then is placed in the container for being referred to as closed.(open-closed tables)
The surroundings nodes of the destination node obtained by breadth first algorithm and destination node are stored in one by step S404
In chained list.
The application server 1 reads the destination node of the chained list and the adjacent node of destination node and obtains the mesh
Mark the connection relation between node and the adjacent node of the destination node.In the present embodiment, the destination node and target section
The connection relation of the surroundings nodes of point is the relevant recommendation of the target service person and/or incubation relationship.It is described in the present embodiment
Destination node represents the target service person.
Step S405 runs the wages data of wages computational algorithm acquisition target service person according to the connection relation.This
In embodiment, the wages computational algorithm is base salary plus the recommendation and/or the corresponding deduction bonus of incubation relationship.
Specifically, in the present embodiment, for example the connection relation of A-B-C, expression A are directly bred as B, and bis- generations of A are bred as C, then A
It deducts a percentage 20% from B, deducts a percentage 10% from C.Certain the example above is practical not take this as the standard only to illustrate scheme.
By above-mentioned steps S401-405, wages computational methods proposed by the invention, first, the application server 1
The structure tree of business personnel's information is established, the information of each node of the structure tree represents the information of a business personnel;Secondly, it connects
Receive the input of target service person's identity information;Then, the structure tree is run according to the identity information of the target service person
Breadth first algorithm;And, the surroundings nodes of the destination node obtained by breadth first algorithm and destination node are stored in again
In one chained list;Again, the destination node of the chained list and the adjacent node of destination node are read and obtain the destination node with
Connection relation between the adjacent node of the destination node;Finally, wages computational algorithm is run according to the connection relation to obtain
Take the wages data of target service person.In such manner, it is possible to the structure tree by building business personnel's information, and based on breadth first algorithm
The destination node for representing target service person and the relationship with surroundings nodes are found, and then realizes that fast and accurately wages calculate.
As shown in fig.5, it is the implementation process diagram of wages computational methods second embodiment of the present invention.In the present embodiment
In, according to different demands, the execution sequence of the step in flow chart shown in fig. 5 can change, and certain steps can be omitted.
Step S501, establishes the structure tree of business personnel's information, and the information of each node of the structure tree represents an industry
The information of business person.
Step S502 receives the input of target service person's identity information.
Step S503, the identity information according to the target service person run breadth first algorithm to the structure tree.
The surroundings nodes of the destination node obtained by breadth first algorithm and destination node are stored in one by step S504
In chained list.
Step S505 runs the wages data of wages computational algorithm acquisition target service person according to the connection relation.
Step S506 clears up the surroundings nodes of destination node and destination node described in the chained list.
In the present embodiment, target is obtained when the application server 1 runs wages computational algorithm according to the connection relation
After the step of wages data of business personnel, the surroundings nodes of destination node and destination node described in the chained list are cleared up.
The surroundings nodes of the destination node and destination node respectively refer to target service person and have to the target service person related
Recommendation and/or be bred as relationship business personnel.
By above-mentioned steps S501-506, wages computational methods proposed by the invention can be removed in memory in time
The wages data of processed business personnel reduce the data storage in entire computer architecture to the greatest extent, promote entire wages
The efficiency of calculating improves data processing speed.
As shown in fig.6, it is the implementation process diagram of wages computational methods 3rd embodiment of the present invention.In the present embodiment
In, according to different demands, the execution sequence of the step in flow chart shown in fig. 6 can change, and certain steps can be omitted.
Step S601, establishes the structure tree of business personnel's information, and the information of each node of the structure tree represents an industry
The information of business person.
Step S602 receives the input of target service person's identity information.
Step S603, the identity information according to the target service person run breadth first algorithm to the structure tree.
The surroundings nodes of the destination node obtained by breadth first algorithm and destination node are stored in one by step S604
In chained list.
Step S605 establishes the corresponding pass of the relevant recommendation of the target service person and/or incubation relationship with bonus of deducting a percentage
System.
In the present embodiment, by establishing the relevant recommendation of the target service person and/or incubation relationship and bonus of deducting a percentage
Correspondence can quickly inquire the recommendation of target object and/or be bred as relationship, according to the firewood of corresponding incubation/recommendation relationship
Computational algorithm is provided, quickly generates the wages result of target service person.
Step S606 runs the wages data of wages computational algorithm acquisition target service person according to the connection relation.
By above-mentioned steps S601-606, wages computational methods proposed by the invention can quickly inquire target pair
The recommendation of elephant and/or incubation relationship, according to the wages computational algorithm of corresponding incubation/recommendation relationship, quickly generate target service person
Wages result.
As shown in fig.7, it is the implementation process diagram of wages computational methods fourth embodiment of the present invention.In the present embodiment
In, it is described establish business personnel's information structure tree the step of, including:
Step S701 obtains structure tree-model.
Step S702 imports all business personnel's information.Specifically, the specific steps for importing all business personnel's information will
It is described in detail in the 5th embodiment (Fig. 8) of wages computational methods of the present invention.
Step S703 automatically generates the structure tree of business personnel's information according to structure tree-model and all business personnels.
By above-mentioned steps S701-703, wages computational methods proposed by the invention, can according to structure tree-model and
All business personnels automatically generate the structure tree of business personnel's information.
Based on first to fourth embodiment of wages computational methods of the present invention, the wages computational methods of the present invention 5th of proposition are real
Apply example.
As shown in fig.8, it is the implementation process diagram of the 5th embodiment of wages computational methods of the present invention.In the present embodiment
In, described the step of importing all business personnel's information, including:
Step S801 transfers the identity information of all business personnels from people's resource system and generates tables of data.
The tables of data is imported the structure tree-model by step S802.
By above-mentioned steps S801-802, wages computational methods proposed by the invention can transfer institute from people's resource system
There is the identity information of business personnel and import all business personnel's information.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers
Readable storage medium storing program for executing is stored with wages calculation procedure, and the wages calculation procedure can be performed by least one processor, so that institute
State the step of at least one processor performs wages computational methods as described above.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), used including some instructions so that a station terminal equipment (can be mobile phone, computer takes
Be engaged in device, air conditioner or the network equipment etc.) perform method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
The equivalent structure or equivalent flow shift that bright specification and accompanying drawing content are made directly or indirectly is used in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of wages computational methods, applied to application server, which is characterized in that the described method comprises the following steps:
The structure tree of business personnel's information is established, the information of each node of the structure tree represents the information of a business personnel;
Receive the input of target service person's identity information;
Identity information according to the target service person runs breadth first algorithm to the structure tree;
The surroundings nodes of the destination node obtained by breadth first algorithm and destination node are stored in a chained list;
It reads the destination node of the chained list and the adjacent node of destination node and obtains the destination node and the target section
Connection relation between the adjacent node of point;And
The wages data of wages computational algorithm acquisition target service person are run according to the connection relation.
2. wages computational methods as described in claim 1, which is characterized in that saved around the destination node and destination node
The connection relation of point is the relevant recommendation of the target service person and/or incubation relationship.
3. wages computational methods as described in claim 1, which is characterized in that the method further includes:
Establish the relevant recommendation of the target service person and/or incubation relationship and the correspondence for bonus of deducting a percentage.
4. wages computational methods as claimed in claim 3, which is characterized in that the wages computational algorithm is added for base salary
The recommendation and/or the corresponding deduction bonus of incubation relationship.
5. wages computational methods as described in claim 1, which is characterized in that described that wages meter is run according to the connection relation
After calculating the step of algorithm obtains the wages data of target service person, the method further includes step:
Clear up the surroundings nodes of destination node and destination node described in the chained list.
6. a kind of application server, which is characterized in that the application server includes memory, processor, on the memory
The wages calculation procedure that can be run on the processor is stored with, it is real when the wages calculation procedure is performed by the processor
Existing following steps:
The structure tree of business personnel's information is established, the information of each node of the structure tree represents the information of a business personnel;
Receive the input of target service person's identity information;
Identity information according to the target service person performs breadth first algorithm to the structure tree;
The surroundings nodes of the destination node obtained by breadth first algorithm and destination node are stored in a chained list;
It reads the destination node of the chained list and the adjacent node of destination node and obtains the destination node and the target section
Connection relation between the adjacent node of point;And
The wages data of wages computational algorithm acquisition target service person are run according to the connection relation.
7. application server as claimed in claim 6, which is characterized in that the surroundings nodes of the destination node and destination node
Connection relation for the target service person it is relevant recommendation and/or incubation relationship.
8. application server as claimed in claim 6, which is characterized in that the wages calculation procedure is also held by the processor
Following steps are realized during row:
Establish the relevant recommendation of the target service person and/or incubation relationship and the correspondence for bonus of deducting a percentage;
The wages computational algorithm is base salary plus the recommendation and/or the corresponding deduction bonus of incubation relationship.
9. application server as claimed in claim 6, which is characterized in that described that wages calculating is run according to the connection relation
It is real when the wages calculation procedure is also performed by the processor after algorithm obtains the step of wages data of target service person
Existing following steps:
Clear up the surroundings nodes of destination node and destination node described in the chained list.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has wages calculation procedure, the firewood
Money calculation procedure can be performed by least one processor, so that at least one processor is performed as appointed in claim 1-5
The step of wages computational methods described in one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711086616.5A CN108256818A (en) | 2017-11-07 | 2017-11-07 | Wages computational methods, application server and computer readable storage medium |
PCT/CN2018/089704 WO2019091101A1 (en) | 2017-11-07 | 2018-06-03 | Salary calculation method, application server and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711086616.5A CN108256818A (en) | 2017-11-07 | 2017-11-07 | Wages computational methods, application server and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108256818A true CN108256818A (en) | 2018-07-06 |
Family
ID=62721551
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711086616.5A Pending CN108256818A (en) | 2017-11-07 | 2017-11-07 | Wages computational methods, application server and computer readable storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108256818A (en) |
WO (1) | WO2019091101A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108876327A (en) * | 2018-09-21 | 2018-11-23 | 罗刚 | A kind of deduction calculation method, device, terminal and storage medium based on keyword |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112825083A (en) * | 2019-11-20 | 2021-05-21 | 深圳云天励飞技术有限公司 | Method, device and equipment for constructing group relation network and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10105598A (en) * | 1996-09-26 | 1998-04-24 | Nec Software Kansai Ltd | Organization plan preparing device |
CN102130904A (en) * | 2011-01-20 | 2011-07-20 | 武汉大学 | Blood relationship description system for entity trust in information system |
CN102622658A (en) * | 2011-06-13 | 2012-08-01 | 苏州万戈软件科技有限公司 | Human resource management system |
CN105184448A (en) * | 2015-08-13 | 2015-12-23 | 盐城工学院 | Catering chain enterprise store salary management system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101070245B1 (en) * | 2009-02-09 | 2011-10-05 | 윤근수 | Calculation method of sales allowance using transformed coefficient in on-line, calculation system and recording medium thereof |
KR20160034725A (en) * | 2014-09-22 | 2016-03-30 | 지현 | Payment system for sales allowance of visiting sales and method of the same |
CN105591876B (en) * | 2016-03-04 | 2019-03-08 | 重庆邮电大学 | A kind of mapping method of virtual network |
-
2017
- 2017-11-07 CN CN201711086616.5A patent/CN108256818A/en active Pending
-
2018
- 2018-06-03 WO PCT/CN2018/089704 patent/WO2019091101A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10105598A (en) * | 1996-09-26 | 1998-04-24 | Nec Software Kansai Ltd | Organization plan preparing device |
CN102130904A (en) * | 2011-01-20 | 2011-07-20 | 武汉大学 | Blood relationship description system for entity trust in information system |
CN102622658A (en) * | 2011-06-13 | 2012-08-01 | 苏州万戈软件科技有限公司 | Human resource management system |
CN105184448A (en) * | 2015-08-13 | 2015-12-23 | 盐城工学院 | Catering chain enterprise store salary management system |
Non-Patent Citations (2)
Title |
---|
李成严等: "《人工智能》", 30 June 2009, 东北林业大学出版社 * |
汪金龙等: "《人力资源管理实验教程》", 31 August 2009, 天津大学出版社 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108876327A (en) * | 2018-09-21 | 2018-11-23 | 罗刚 | A kind of deduction calculation method, device, terminal and storage medium based on keyword |
Also Published As
Publication number | Publication date |
---|---|
WO2019091101A1 (en) | 2019-05-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105468742B (en) | The recognition methods of malice order and device | |
CN107038256B (en) | Business customizing device, method and computer readable storage medium based on data source | |
CN108428104A (en) | Wages computational methods, application server and computer readable storage medium | |
CN105335409B (en) | A kind of determination method, equipment and the network server of target user | |
CN112148987B (en) | Message pushing method based on target object activity and related equipment | |
CN105306495B (en) | user identification method and device | |
CN107909486A (en) | Commission management method, application server and computer-readable recording medium | |
CN110086877A (en) | Application program sharing, sharing information display methods, device, equipment and medium | |
CN109218352A (en) | The common recognition confirmation method and device of Transaction Information in a kind of block chain network | |
WO2019062081A1 (en) | Salesman profile formation method, electronic device and computer readable storage medium | |
CN104133765B (en) | The test case sending method of network activity and test case server | |
CN107908656A (en) | Increase channel method, application server and computer-readable recording medium | |
CN108038655A (en) | Recommendation method, application server and the computer-readable recording medium of department's demand | |
CN107908603A (en) | Dynamic generation document method and application server | |
CN107832291A (en) | Client service method, electronic installation and the storage medium of man-machine collaboration | |
CN107870986A (en) | User behavior analysis method, application server and computer-readable recording medium based on reptile data | |
CN107895273A (en) | Attend a banquet identity information display methods, application server and computer-readable recording medium | |
CN112231416A (en) | Knowledge graph ontology updating method and device, computer equipment and storage medium | |
CN113934983A (en) | Characteristic variable analysis method and device, computer equipment and storage medium | |
CN110457704B (en) | Target field determination method and device, storage medium and electronic device | |
CN108256818A (en) | Wages computational methods, application server and computer readable storage medium | |
CN108256986A (en) | Wages computational methods, application server and computer readable storage medium based on cloud computing | |
CN112434746A (en) | Pre-labeling method based on hierarchical transfer learning and related equipment thereof | |
CN106341440A (en) | Data updating method and device | |
CN107945034A (en) | Financial analysis method, application server and computer-readable recording medium based on microblogging finance and economics event |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180706 |