CN117633302A - Affinity determination method, device, equipment and medium based on nonlinear structure - Google Patents

Affinity determination method, device, equipment and medium based on nonlinear structure Download PDF

Info

Publication number
CN117633302A
CN117633302A CN202311630771.4A CN202311630771A CN117633302A CN 117633302 A CN117633302 A CN 117633302A CN 202311630771 A CN202311630771 A CN 202311630771A CN 117633302 A CN117633302 A CN 117633302A
Authority
CN
China
Prior art keywords
node
affinity
intimacy
nodes
determining
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
CN202311630771.4A
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.)
Agricultural Bank of China
Original Assignee
Agricultural Bank of China
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 Agricultural Bank of China filed Critical Agricultural Bank of China
Priority to CN202311630771.4A priority Critical patent/CN117633302A/en
Publication of CN117633302A publication Critical patent/CN117633302A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

The invention discloses a method, a device, equipment and a medium for determining intimacy based on a nonlinear structure, wherein the method for determining intimacy based on the nonlinear structure comprises the following steps: taking a mechanism of an object to be evaluated in a nonlinear structure as a first mechanism node; generating a intimacy node set based on the root mechanism nodes in the nonlinear structure and the first mechanism nodes, and determining a corresponding intimacy level for each node in the intimacy node set; determining the intimacy level of the mechanism nodes except the intimacy node set in the nonlinear structure according to the connection relation among the mechanism nodes in the nonlinear structure; and determining the final score of the object to be evaluated based on the intimacy level of each mechanism node in the nonlinear structure. Through the technical scheme, the flexibility and universality of the review mechanism are improved, meanwhile, the interference of subjective factors in the review result is reduced, and the objectivity of the review result is improved.

Description

Affinity determination method, device, equipment and medium based on nonlinear structure
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a medium for determining intimacy based on a nonlinear structure.
Background
In order to facilitate management in the enterprise at present, a plurality of institutions are usually arranged under the enterprise, each institution further comprises a plurality of sub-institutions to form an institution hierarchy, and the sub-institutions at the bottom layer comprise staff belonging to the institution in the enterprise. In the process of evaluating staff in an enterprise, the colleagues of the same organization are more preferable to the colleagues of the same organization in theory, so that the evaluation result is not objective and is not acceptable, and a standardized evaluation criterion is lacked. Therefore, it is necessary to design a method for determining the intimacy, which quantitatively analyzes the association degree between the institutions to which the staff belong to ensure the compliance of the comparison result.
Disclosure of Invention
The invention provides a intimacy determining method, device, equipment and medium based on a nonlinear structure, which are used for realizing the relationship between quantized staff and converting nonlinear staff relationship into linear relationship.
According to an aspect of the present invention, there is provided a method of determining intimacy based on a nonlinear structure, the method comprising:
taking a mechanism of an object to be evaluated in a nonlinear structure as a first mechanism node; wherein the nonlinear structure is a tree-shaped storage structure;
generating an intimacy node set based on root nodes in the nonlinear structure and the first mechanism nodes, and determining a corresponding intimacy level for each node in the intimacy node set; wherein the intimate node set comprises a root mechanism node, the first mechanism node, and an intermediate mechanism node between the root node and the first mechanism node;
determining the intimacy level of the mechanism nodes except the intimacy node set in the nonlinear structure according to the connection relation among the mechanism nodes in the nonlinear structure;
and determining the final score of the object to be evaluated based on the intimacy level of each mechanism node in the nonlinear structure.
According to another aspect of the present invention, there is provided a intimacy determining apparatus based on a nonlinear structure, the apparatus comprising:
the first mechanism determining module is used for taking a mechanism of the object to be evaluated in the nonlinear structure as a first mechanism node; wherein the nonlinear structure is a tree-shaped storage structure;
the first intimacy determining module is used for generating a intimacy node set based on root nodes in the nonlinear structure and the first mechanism nodes, and determining a corresponding intimacy level for each node in the intimacy node set; wherein the intimate node set comprises a root mechanism node, the first mechanism node, and an intermediate mechanism node between the root node and the first mechanism node;
the second intimacy determining module is used for determining intimacy levels of the mechanism nodes except the intimacy node set in the nonlinear structure according to the connection relation among the mechanism nodes in the nonlinear structure;
and the score determining module is used for determining the final score of the object to be evaluated based on the intimacy level of each mechanism node in the nonlinear structure.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the non-linear structure-based affinity determination method of any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the method for determining intimacy based on a nonlinear structure according to any one of the embodiments of the present invention when executed.
According to the technical scheme, the affiliated mechanism of the object to be evaluated in the nonlinear structure is determined, the intimacy node set is constructed based on the affiliated mechanism, the intimacy level of each mechanism node in the intimacy node set is determined, the intimacy level of the mechanism nodes except the intimacy node set in the nonlinear structure is further determined according to the connection relation among the mechanism nodes in the nonlinear structure, the personnel structure relation in the nonlinear structure is converted into the linear personnel structure relation, the association relation among personnel is quantized, a standardized evaluation mechanism is provided based on the intimacy level, the flexibility and universality of the evaluation mechanism are improved, the interference of subjective factors in the evaluation result is reduced, and the objectivity of the evaluation result is improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1a is a flow chart of a method for determining intimacy based on a nonlinear structure according to a first embodiment of the present invention;
FIG. 1b is a schematic diagram of a nonlinear structure according to a first embodiment of the present invention;
FIG. 2 is a flow chart of a method for determining intimacy based on a nonlinear structure according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a intimacy determining apparatus based on a nonlinear structure according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing a method for determining affinity based on a nonlinear structure according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1a is a flowchart of a method for determining a intimacy based on a nonlinear structure according to an embodiment of the present invention, where the method may be performed by a intimacy determining device based on a nonlinear structure, which may be implemented in hardware and/or software, and the intimacy determining device based on a nonlinear structure may be configured in various general-purpose computing devices. As shown in fig. 1a, the method comprises:
s110, taking a mechanism of the object to be evaluated in the nonlinear structure as a first mechanism node.
The object to be evaluated can be an employee object participating in evaluation in the enterprise; the nonlinear structure may be a tree-like memory structure; alternatively, as shown in fig. 1b, the nonlinear storage structure may be stored in a tree structure in the basic data structure of the computer, so that the upper-level mechanism and the lower-level mechanism form a one-to-many correspondence; the upper mechanism is a parent node of the lower mechanism, and the child mechanism arranged below the parent mechanism form a subtree of the parent node; the staff in the organization is stored under the sub-organization nodes at the bottom layer, the staff forms the leaf nodes of the tree-shaped storage structure, and the staff and the sub-organization nodes at the bottom layer form a many-to-one relationship, for example, a certain function group under a certain door is a sub-organization of the department, and the staff in the function group is the leaf nodes under the sub-organization. The tree-shaped storage structure is used for storing personnel information, so that information of a mechanism to which personnel belong, a superior mechanism of the mechanism to which the personnel belong and the like can be displayed more intuitively, and the management architecture of an enterprise can be expressed more clearly.
Specifically, the mechanism of the object to be evaluated in the nonlinear storage structure can be determined, and the mechanism is taken as a first mechanism node.
S120, generating an intimacy node set based on the root mechanism nodes in the nonlinear structure and the first mechanism nodes, and determining a corresponding intimacy level for each node in the intimacy node set.
The root mechanism node may refer to the uppermost node (root node) in the nonlinear structure, and in the embodiment of the present invention, the root mechanism node may refer to the uppermost enterprise mechanism node in the nonlinear structure.
The set of affinity nodes may be used to characterize a subtree in which the first organization node is located in the nonlinear structure, and may include a root organization node, the first organization node, and an intermediate organization node located between the root organization node and the first organization node. For example, as shown in fig. 1b, if the object to be evaluated is employee a, the affinity node set may include a sub-organization 1.1 node (first organization node), an organization 1 node (middle organization node), and an enterprise organization node (root organization node). It should be noted that, the organization nodes in the intimate node set are determined by recording based on the parent level relationship, and a parent level relationship is provided between two adjacent organization nodes in the intimate node set, for example, the parent organization of the child organization 1.1 is organization 1, and the parent organization of the organization 1 is enterprise organization.
The affinity level may be used to characterize the affinity of the person to whom the corresponding institution node belongs with the object to be evaluated.
Specifically, a set of affinity nodes for a subtree in which a first mechanism node is located may be generated according to a root mechanism node and the first mechanism node in a nonlinear structure, and a corresponding affinity level may be determined for the mechanism nodes in the set of affinity nodes.
Optionally, determining a corresponding affinity level for each node in the set of affinity nodes includes: and determining the intimacy level corresponding to each mechanism node in the intimacy node set according to the node distance between each mechanism node in the intimacy node set and the first mechanism node.
The affinity level may be used to characterize an affinity between a person to whom the corresponding organization node belongs and an object to be evaluated. The affinity is inversely related to the affinity level, and the higher the affinity level is, the farther the affinity is.
Specifically, the affinity level corresponding to each mechanism node in the affinity combination may be determined according to the node distance between each mechanism node in the affinity node set and the first mechanism node. It should be noted that, the farther the organization node in the affinity node set is from the first organization node, the higher the affinity level is. For example, in the nonlinear structure shown in fig. 1b, if the employee a is an object to be evaluated, the affinity level corresponding to the employee a is 0 (the score of the employee a has no reference value on the employee a), the affinity level of the sub-organization 1.1 to which the employee a belongs is 1, the affinity level of the organization 1 is 2, and the affinity of the enterprise organization is 3.
Optionally, after determining the corresponding affinity level for each node in the set of affinity nodes, further comprising: determining each mechanism node in the intimacy node set and the intimacy level corresponding to each mechanism node as a group of key value pairs respectively, and generating a intimacy dictionary; determining corresponding affinity coefficients for each affinity level in the affinity dictionary;
the affinity dictionary may be used to characterize a correspondence of organization nodes in the affinity node set to affinity levels.
Specifically, a affinity dictionary may be generated by recording each mechanism node in the affinity node set and the affinity corresponding to each structure node in a set of key value pairs, and determining respective affinity coefficients for each affinity level in the affinity dictionary. Alternatively, the determination of the affinity coefficient may be adaptively set by those skilled in the art. The affinity coefficient is positively correlated with the affinity class.
By setting the affinity dictionary, the affinity level corresponding to the organization of the staff in the nonlinear structure and the affinity coefficient corresponding to the staff can be rapidly determined, and the operation resources of the system are greatly saved.
S130, determining the intimacy level of the mechanism nodes except the intimacy node set in the nonlinear structure according to the connection relation among the mechanism nodes in the nonlinear structure.
Specifically, the affinity level of the mechanism nodes in the nonlinear structure other than the mechanism nodes included in the affinity node combination can be determined according to the connection relationship between the mechanism nodes in the nonlinear structure.
Optionally, determining the affinity level of the mechanism nodes except the affinity node set in the nonlinear structure according to the connection relationship between the mechanism nodes in the nonlinear structure includes: according to the connection relation of all mechanism nodes in the nonlinear structure, if a plurality of sub-mechanism nodes exist in the mechanism nodes in the intimacy node set, the intimacy level of the rest sub-mechanism nodes is the same as that of the parent mechanism node except for the sub-mechanism nodes recorded in the intimacy node set.
Specifically, according to the connection relationship between the mechanism nodes in the nonlinear structure, if a plurality of sub-mechanism nodes exist in the mechanism nodes recorded in the affinity node set, the affinity level of the rest sub-mechanism nodes is the same as the affinity level of the parent mechanism nodes except for the sub-mechanism nodes recorded in the affinity node combination, that is, if the "keys" of the non-linear structure, which are not present in the affinity dictionary, of the mechanism belonging to the person to be reviewed are not matched, whether the parent mechanism of the mechanism in the nonlinear structure is matched with the "keys" in the affinity dictionary is judged until whether the parent mechanism or an upper mechanism (parent mechanism) of the mechanism is matched with the "keys" in the affinity dictionary is judged, so as to determine the affinity level of the mechanism of the person to be reviewed in the nonlinear structure. Illustratively, in the non-linear storage structure shown in FIG. 1b, the affinity level of the organization 2 node and the organization 3 node is the same as the affinity level of the enterprise organization node, and the child nodes of the organization 2 node and the child nodes of the organization 3 node are the same as the affinity level of the enterprise organization node.
And S140, determining the final score of the object to be evaluated based on the intimacy level of each mechanism node in the nonlinear structure.
Specifically, based on the affinity level of each mechanism node in the nonlinear structure, a corresponding weight can be determined for the initial score of the object to be evaluated given by the person belonging to each mechanism node, and a final score of the object to be evaluated can be determined.
According to the technical scheme, the affiliated mechanism of the object to be evaluated in the nonlinear structure is determined, the intimacy node set is constructed based on the affiliated mechanism, the intimacy level of each mechanism node in the intimacy node set is determined, the intimacy level of the mechanism nodes except the intimacy node set in the nonlinear structure is further determined according to the connection relation among the mechanism nodes in the nonlinear structure, the personnel structure relation in the nonlinear structure is converted into the linear personnel structure relation, the association relation among personnel is quantized, a standardized evaluation mechanism is provided based on the intimacy level, the flexibility and universality of the evaluation mechanism are improved, meanwhile, the interference of subjective factors of staff in the evaluation result is reduced, and the objectivity of the evaluation result is improved.
Example two
Fig. 2 is a flowchart of a intimacy determination method based on a nonlinear structure according to a second embodiment of the present invention, where the embodiment is further refined on the basis of the foregoing embodiment, and provides a specific step of determining a final score of an object to be evaluated based on intimacy levels of nodes of each mechanism in the nonlinear structure. It should be noted that, in the embodiments of the present invention, the details of the description of other embodiments may be referred to, and will not be described herein. As shown in fig. 2, the method includes:
s210, taking a mechanism of the object to be evaluated in the nonlinear structure as a first mechanism node.
S220, generating an intimacy node set based on the root mechanism nodes in the nonlinear structure and the first mechanism nodes, and determining a corresponding intimacy level for each node in the intimacy node set.
S230, determining the intimacy level of the mechanism nodes except the intimacy node set in the nonlinear structure according to the connection relation among the mechanism nodes in the nonlinear structure.
S240, determining a intimacy coefficient corresponding to the intimacy level of each mechanism node in the intimacy node set based on the intimacy dictionary.
Specifically, the affinity level corresponding to each mechanism node in the affinity node set can be determined through the key value relationship between the mechanism node and the affinity level recorded in the affinity dictionary, and the affinity coefficient corresponding to the affinity level can be further determined according to the affinity level.
S250, determining an evaluation coefficient of the affinity level according to the affinity coefficient.
Specifically, the evaluation coefficient of the affinity level may be determined according to the affinity coefficient of each affinity level.
Alternatively, the evaluation coefficient of the affinity level may be determined by the following formula:
wherein θ i The affinity coefficient corresponding to the affinity level of the mechanism i in the affinity node set is x, the number of the mechanism nodes in the affinity node set is eta, and the affinity coefficient is the number of the mechanism nodes in the affinity node set i The evaluation coefficient corresponding to the intimacy level of the institution i in the intimacy node set.
S260, determining the final score of the object to be evaluated based on the evaluation coefficient of the intimacy level and the intimacy level of each mechanism node in the nonlinear structure.
Specifically, the final score of the object to be evaluated may be determined based on the evaluation coefficient corresponding to each affinity level, the affinity level of each mechanism node in the nonlinear structure, and the initial score of the person in each mechanism node in the nonlinear structure.
Alternatively, the final score may be determined by the following formula:
wherein W is the final score of the object to be evaluated, n is the number of people in each structural node of the nonlinear structure, eta i For evaluating the coefficient, S i Initial scores are given to individuals in each structural node of the nonlinear structure.
According to the technical scheme provided by the embodiment of the invention, the affinity coefficient corresponding to the affinity level is determined based on the affinity dictionary, and the evaluation coefficient corresponding to the structure of the person in the nonlinear structure is determined according to the affinity coefficient corresponding to the affinity level, so that the nonlinear person relationship is converted into the linear person relationship, the flexibility and universality of a review mechanism are improved, meanwhile, the interference of subjective factors in the review result is reduced, and the objectivity of the review result is improved.
Example III
Fig. 3 is a schematic structural diagram of a intimacy determining apparatus based on a nonlinear structure according to a third embodiment of the present invention. As shown in fig. 3, the apparatus includes:
a first mechanism determining module 310, configured to take a mechanism to which the object to be evaluated belongs in the nonlinear structure as a first mechanism node; wherein the nonlinear structure is a tree-shaped storage structure;
a first affinity determination module 320, configured to generate an affinity node set based on root nodes in the nonlinear structure and the first mechanism nodes, and determine a corresponding affinity level for each node in the affinity node set; the intimacy node set comprises a root mechanism node, a first mechanism node and an intermediate mechanism node positioned between the root node and the first mechanism node;
the second affinity determining module 330 determines an affinity level of the mechanism nodes except the affinity node set in the nonlinear structure according to the connection relationship between the mechanism nodes in the nonlinear structure;
the score determining module 340 is configured to determine a final score of the object to be evaluated based on the affinity level of each organization node in the nonlinear structure.
According to the technical scheme, the affiliated mechanism of the object to be evaluated in the nonlinear structure is determined, the intimacy node set is constructed based on the affiliated mechanism, the intimacy level of each mechanism node in the intimacy node set is determined, the intimacy level of the mechanism nodes except the intimacy node set in the nonlinear structure is further determined according to the connection relation among the mechanism nodes in the nonlinear structure, the personnel structure relation in the nonlinear structure is converted into the linear personnel structure relation, the association relation among personnel is quantized, a standardized evaluation mechanism is provided based on the intimacy level, the flexibility and universality of the evaluation mechanism are improved, the interference of subjective factors in the evaluation result is reduced, and the objectivity of the evaluation result is improved.
Optionally, the first affinity determining module 320 includes:
the first intimacy determining unit is used for determining the intimacy level corresponding to each mechanism node in the intimacy node set according to the node distance between each mechanism node in the intimacy node set and the first mechanism node; the affinity level is used for representing the affinity between the affiliated person of the corresponding mechanism node and the object to be evaluated, and the affinity is inversely related to the affinity level.
Optionally, the mechanism nodes in the intimate node set record based on a parent relationship, and a parent relationship is provided between two adjacent mechanism nodes in the intimate node set.
Optionally, the second affinity determination module 330 includes:
and the second intimacy determining unit is used for determining the intimacy level of the rest child mechanism nodes except the child mechanism nodes recorded in the intimacy node set in the plurality of child mechanism nodes according to the connection relation of all mechanism nodes in the nonlinear structure, if the mechanism nodes in the intimacy node set have a plurality of child mechanism nodes, wherein the intimacy level of the rest child mechanism nodes is the same as that of the parent mechanism nodes.
Optionally, the score determination module 340 includes:
the affinity coefficient determining unit is used for determining an affinity coefficient corresponding to the affinity level of each mechanism node in the affinity node set based on the affinity dictionary;
an evaluation coefficient determination unit for determining an evaluation coefficient of the affinity level according to the affinity coefficient;
and the final score determining unit is used for determining the final score of the object to be evaluated based on the evaluation coefficient of the intimacy level and the intimacy level of each mechanism node in the nonlinear structure.
Alternatively, the evaluation coefficient determination unit may be specifically configured to determine the evaluation coefficient of the density-requesting level by the following formula:
wherein θ i The affinity coefficient corresponding to the affinity level of the mechanism i in the affinity node set is x, the number of the mechanism nodes in the affinity node set is eta, and the affinity coefficient is the number of the mechanism nodes in the affinity node set i The evaluation coefficient corresponding to the intimacy level of the institution i in the intimacy node set.
Optionally, the device further includes:
the affinity dictionary generating module is used for respectively determining each mechanism node in the affinity node set and the affinity level corresponding to each mechanism node as a group of key value pairs to generate an affinity dictionary;
the affinity coefficient determining module is used for determining the corresponding affinity coefficient for each affinity level in the affinity dictionary; wherein, the affinity coefficient is positively correlated with the affinity class.
The intimacy determining device based on the nonlinear structure provided by the embodiment of the invention can execute the intimacy determining method based on the nonlinear structure provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Example IV
Fig. 4 shows a schematic diagram of an electronic device 410 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 410 includes at least one processor 411, and a memory, such as a Read Only Memory (ROM) 412, a Random Access Memory (RAM) 413, etc., communicatively connected to the at least one processor 411, wherein the memory stores computer programs executable by the at least one processor, and the processor 411 may perform various suitable actions and processes according to the computer programs stored in the Read Only Memory (ROM) 412 or the computer programs loaded from the storage unit 418 into the Random Access Memory (RAM) 413. In the RAM 413, various programs and data required for the operation of the electronic device 410 may also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other through a bus 414. An input/output (I/O) interface 415 is also connected to bus 414.
Various components in the electronic device 410 are connected to the I/O interface 415, including: an input unit 416 such as a keyboard, a mouse, etc.; an output unit 417 such as various types of displays, speakers, and the like; a storage unit 418, such as a magnetic disk, optical disk, or the like; and a communication unit 419 such as a network card, modem, wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The processor 411 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 411 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 411 performs the various methods and processes described above, such as a intimacy determination method based on a nonlinear structure.
In some embodiments, the non-linear structure based affinity determination method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as storage unit 418. In some embodiments, some or all of the computer program may be loaded and/or installed onto the electronic device 410 via the ROM 412 and/or the communication unit 419. When the computer program is loaded into RAM 413 and executed by processor 411, one or more steps of the nonlinear structure-based affinity determination method described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured to perform a non-linear structure based affinity determination method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above can be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for determining intimacy based on a nonlinear structure, comprising:
taking a mechanism of an object to be evaluated in a nonlinear structure as a first mechanism node; wherein the nonlinear structure is a tree-shaped storage structure;
generating a intimacy node set based on root mechanism nodes in the nonlinear structure and the first mechanism nodes, and determining a corresponding intimacy level for each node in the intimacy node set; wherein the set of intimate nodes includes the root mechanism node, the first mechanism node, and an intermediate mechanism node between the root mechanism node and the first mechanism node;
determining the intimacy level of the mechanism nodes except the intimacy node set in the nonlinear structure according to the connection relation among the mechanism nodes in the nonlinear structure;
and determining the final score of the object to be evaluated based on the intimacy level of each mechanism node in the nonlinear structure.
2. The method of claim 1, wherein said determining a corresponding affinity level for each node in the set of affinity nodes comprises:
determining the intimacy level corresponding to each mechanism node in the intimacy node set according to the node distance between each mechanism node in the intimacy node set and the first mechanism node; the affinity level is used for representing the affinity between the person belonging to the corresponding mechanism node and the object to be evaluated, and the affinity is inversely related to the affinity level.
3. The method of claim 1, wherein mechanism nodes in the set of intimate nodes are recorded based on parent relationships and two adjacent mechanism nodes in the set of intimate nodes have parent relationships therebetween.
4. The method of claim 1, wherein determining the affinity level of the mechanism nodes in the nonlinear structure other than the set of affinity nodes based on the connection between the mechanism nodes in the nonlinear structure comprises:
according to the connection relation of all mechanism nodes in the nonlinear structure, if a plurality of sub-mechanism nodes exist in the mechanism nodes in the intimate node set, the intimacy level of the rest sub-mechanism nodes is the same as that of the parent mechanism nodes except for the sub-mechanism nodes recorded in the intimate node set.
5. The method of claim 1, wherein determining the final score for the object to be evaluated based on the affinity level of each organization node in the nonlinear structure comprises:
based on the affinity dictionary, determining an affinity coefficient corresponding to an affinity level of each mechanism node in the affinity node set;
determining an evaluation coefficient of the affinity level according to the affinity coefficient;
and determining the final score of the object to be evaluated based on the evaluation coefficient of the intimacy level and the intimacy level of each mechanism node in the nonlinear structure.
6. The method of claim 5, wherein said determining an evaluation coefficient of an affinity class from said affinity coefficient comprises:
the evaluation coefficient of the intimacy level is determined by the following formula:
wherein θ i The affinity coefficient corresponding to the affinity level of the mechanism i in the affinity node set is x, the number of the mechanism nodes in the affinity node set is eta, and the affinity coefficient is the number of the mechanism nodes in the affinity node set i The evaluation coefficient corresponding to the intimacy level of the institution i in the intimacy node set.
7. The method of claim 1, further comprising, after determining a corresponding affinity level for each node in the set of affinity nodes:
determining each mechanism node in the intimacy node set and the intimacy level corresponding to each mechanism node as a group of key value pairs respectively, and generating a intimacy dictionary;
determining corresponding affinity coefficients for each affinity level in the affinity dictionary; wherein the affinity coefficient is positively correlated with the affinity class.
8. A device for determining intimacy based on a nonlinear structure, comprising:
the first mechanism determining module is used for taking a mechanism of the object to be evaluated in the nonlinear structure as a first mechanism node; wherein the nonlinear structure is a tree-shaped storage structure;
the first intimacy determining module is used for generating a intimacy node set based on root nodes in the nonlinear structure and the first mechanism nodes, and determining a corresponding intimacy level for each node in the intimacy node set; wherein the intimate node set comprises a root mechanism node, the first mechanism node, and an intermediate mechanism node between the root node and the first mechanism node;
the second intimacy determining module is used for determining intimacy levels of the mechanism nodes except the intimacy node set in the nonlinear structure according to the connection relation among the mechanism nodes in the nonlinear structure;
and the score determining module is used for determining the final score of the object to be evaluated based on the intimacy level of each mechanism node in the nonlinear structure.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the non-linear structure based affinity determination method of any one of claims 1-7.
10. A computer readable storage medium storing computer instructions for causing a processor to implement the non-linear structure based affinity determination method of any one of claims 1-7 when executed.
CN202311630771.4A 2023-11-30 2023-11-30 Affinity determination method, device, equipment and medium based on nonlinear structure Pending CN117633302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311630771.4A CN117633302A (en) 2023-11-30 2023-11-30 Affinity determination method, device, equipment and medium based on nonlinear structure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311630771.4A CN117633302A (en) 2023-11-30 2023-11-30 Affinity determination method, device, equipment and medium based on nonlinear structure

Publications (1)

Publication Number Publication Date
CN117633302A true CN117633302A (en) 2024-03-01

Family

ID=90021141

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311630771.4A Pending CN117633302A (en) 2023-11-30 2023-11-30 Affinity determination method, device, equipment and medium based on nonlinear structure

Country Status (1)

Country Link
CN (1) CN117633302A (en)

Similar Documents

Publication Publication Date Title
CN113343803B (en) Model training method, device, equipment and storage medium
US20230186607A1 (en) Multi-task identification method, training method, electronic device, and storage medium
CN114580916A (en) Enterprise risk assessment method and device, electronic equipment and storage medium
CN115422028A (en) Credibility evaluation method and device for label portrait system, electronic equipment and medium
CN115794916A (en) Data processing method, device, equipment and storage medium for multi-source data fusion
CN113627361B (en) Training method and device for face recognition model and computer program product
JP6581282B1 (en) Bankruptcy probability calculation system using artificial intelligence
CN116468479A (en) Method for determining page quality evaluation dimension, and page quality evaluation method and device
CN117633302A (en) Affinity determination method, device, equipment and medium based on nonlinear structure
CN113360672A (en) Methods, apparatus, devices, media and products for generating a knowledge graph
CN113360798B (en) Method, device, equipment and medium for identifying flooding data
CN117648999B (en) Federal learning regression model loss function evaluation method and device and electronic equipment
CN117010947B (en) NPS investigation method, device, equipment and storage medium based on business activity
CN115471893B (en) Face recognition model training, face recognition method and device
CN113536751B (en) Processing method and device of form data, electronic equipment and storage medium
CN117131197B (en) Method, device, equipment and storage medium for processing demand category of bidding document
CN114936802A (en) Index system construction method and device, storage medium and electronic equipment
CN117632617A (en) Method, device, equipment and medium for determining chaotic experiment treatment mode
CN118051670A (en) Service recommendation method, device, equipment and medium
CN117670554A (en) Method, device, electronic equipment and storage medium for determining data asset tag
CN117633226A (en) Classification method and device, storage medium and electronic equipment
CN117592618A (en) Active user prediction method, device, server and storage medium
CN115392399A (en) Method, device, equipment and medium for training and using process timeout prediction model
CN116777660A (en) User mapping method and device, electronic equipment and storage medium
CN117495285A (en) Approval method, device, electronic equipment and storage medium for applying for 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