Fault detection method and related device

By detecting and correcting the loop-forming problem in the relationship between employees' superiors and subordinates, the dead-cycle problem caused by the error input of employees' superiors and subordinates is solved, and the stability of the process and work efficiency are improved.

CN119484292APending Publication Date: 2025-02-18TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311017269.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-11
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

In the prior art, errors in the input of employee superior and subordinate relationships lead to the process order entering a dead cycle. How to eliminate the phenomenon of employee superior and subordinate relationships becoming a loop and avoid a series of problems.

Method used

By obtaining relevant information from the organization, we can determine whether the superior and subordinate relationship between the members of the organization is a loop. If it is a loop, the fault signal of the superior and subordinate relationship is displayed through the interactive interface, allowing staff to correct the loop part and eliminate the fault.

Benefits of technology

Effectively eliminate the faults in the relationship between superiors and subordinates among institutional members, avoid the problem of dead cycles, and improve work efficiency and process stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484292A_ABST
    Figure CN119484292A_ABST
Patent Text Reader

Abstract

The invention provides a fault detection method and a related device. The embodiment of the invention can be applied to the technical field of Internet. The method comprises the following steps: acquiring related information of an institution, acquiring superior and subordinate information among institution members, and generating a superior set of target members and a superior set of Kth superior of the target members according to the superior and subordinate information among the institution members; a superior set of the Kth superior of the target member comprises at least one of the Kth superior of the target member, it is considered that a superior-subordinate relationship fault exists between the superior of the target member and the subordinate of the target member, and a superior-subordinate relationship fault signal is displayed through an interactive interface. Therefore, the staff can correct the looping part in time according to the superior-subordinate relationship fault signal so as to eliminate superior-subordinate relationship faults among members of the mechanism, thereby avoiding a series of problems caused by the superior-subordinate relationship faults of the staff.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a fault detection method and related devices. Background Art

[0002] With the continuous development of Internet technology, the convenience provided by the Internet for life is reflected in all aspects. In life, social platforms provide convenience for communication between relatives and friends, shopping platforms put goods from all over the world in front of us, and map software provides more traffic guidance for our cross-regional travel. At work, various office platforms not only help us improve the communication efficiency between colleagues, but also help us quickly understand the internal organizational structure of the company. When we encounter cross-departmental collaboration, the office platform can help us contact the interface person of other departments.

[0003] When the office platform collects the company's internal organizational structure information, it is necessary to manually input the employee information of the company's employees and the hierarchical relationships between employees. In this way of collecting organizational structure information that relies entirely on manual input, if the hierarchical relationships between employees are entered incorrectly, the process sheet will enter an infinite loop. For example, employee A's superior is employee B, employee B's superior is employee C, and employee C's superior is mistakenly set to employee A. In this way, once A submits a resignation form or other process sheet that requires multiple signatures, the hierarchical relationships between employees A, B, and C will form a loop, which will cause the process sheet to enter an infinite loop. How to eliminate the phenomenon of loops in the hierarchical relationships of employees in an enterprise, so as to avoid a series of problems caused by the failure of the hierarchical relationships of employees. Summary of the invention

[0004] The embodiment of the present application provides a fault detection method and related devices for detecting relevant information of an organization to determine whether the superior-subordinate relationship between members of the organization forms a loop. When the superior-subordinate relationship between members of the organization forms a loop, a superior-subordinate relationship fault signal is displayed through an interactive interface, so that the staff can promptly correct the looped part according to the superior-subordinate relationship fault signal to eliminate the superior-subordinate relationship fault between members of the organization.

[0005] One aspect of the present application provides a fault detection method, comprising:

[0006] Obtain relevant information about the organization, including the hierarchical information between members of the organization;

[0007] Generate a superior set of the target member according to the superior-subordinate information between members of the organization, the superior set of the target member includes the K-th superior of the target member, the target member and the K-th superior of the target member are members of the organization, and K is a positive integer;

[0008] Generate the superior set of the K-th superior of the target member according to the superior-subordinate information between the members of the organization;

[0009] If the target member's superior set includes the target member, or the target member's K-th superior's superior set includes the target member's K-th superior, at least one of the following conditions is true, a superior-subordinate relationship fault signal is displayed through the interactive interface, and the superior-subordinate relationship fault signal indicates that there is a superior-subordinate relationship fault between the target member's superior and the target member's subordinate.

[0010] Another aspect of the present application provides a fault detection device, comprising:

[0011] An acquisition unit, used to acquire relevant information of an organization, wherein the relevant information of an organization includes information on superiors and subordinates between members of the organization;

[0012] A generating unit, used for generating a superior set of a target member according to the superior-subordinate information between members of the organization, wherein the superior set of the target member includes the K-th superior of the target member, the target member and the K-th superior of the target member are members of the organization, and K is a positive integer;

[0013] The generating unit is further used to generate a superior set of the Kth superior of the target member according to the superior-subordinate information between the members of the organization;

[0014] An interactive unit is used to display a superior-subordinate relationship fault signal through an interactive interface if at least one of the following conditions is true: the target member is included in the target member's superior set, or the target member's K-th superior is included in the superior set of the target member's K-th superior. The superior-subordinate relationship fault signal indicates that a superior-subordinate relationship fault exists between the target member's superior and the target member's subordinate.

[0015] In another implementation of the embodiment of the present application, the interaction unit is further used to add the target member's superior and subordinate information to the superior and subordinate information between the organization members in response to the input of the target member's superior and subordinate information.

[0016] In another implementation of the embodiment of the present application, the relevant information of the organization includes a member superior-subordinate relationship input rule of the organization, the member superior-subordinate relationship input rule indicates that at most M levels of consecutive superiors are set for the target member, the superior-subordinate information of the target member includes that the first member is the Nth level superior of the target member, M is a positive integer, N is a positive integer, M is greater than or equal to N, and the first member is a member of the organization;

[0017] The interaction unit is further used to obtain the member superior-subordinate relationship input rule in response to the operation on the member superior-subordinate relationship input rule.

[0018] In another implementation of the embodiment of the present application, K is less than or equal to X;

[0019] The interaction unit is also used to obtain the superior-subordinate relationship detection rule between members in response to the operation on the superior-subordinate relationship detection rule between members, and the superior-subordinate relationship detection rule between members indicates whether there is a superior-subordinate relationship failure among the consecutive X-level superiors of any member of the detection organization, where X is a positive integer.

[0020] In another implementation of the embodiment of the present application, the interaction unit is also used to respond to the operation of the process application form for the preset member, obtain the review process of the target process application form of the preset member, and the review process indicates that the target process application form needs to be reviewed by the first-level superior of the preset member, and the preset member is a member of the organization.

[0021] In another implementation of the embodiment of the present application, the device further includes a sending unit, configured to forward the target process application form to a first-level superior of a preset member, wherein the first-level superior of the preset member includes at least two members;

[0022] The interaction unit is also used to respond to any member of the first-level superior of the preset member entering the audit result, and the process of the target process application form ends.

[0023] In another implementation of the embodiment of the present application, the interaction unit is also used to respond to the operation of the process application form for the preset member, obtain the review process of the target process application form of the preset member, and the review process indicates that the target process application form requires Y consecutive levels of superiors of the preset member to review it. The preset member is a member of the organization, and Y is a positive integer.

[0024] In another implementation of the embodiment of the present application, the device further includes a sending unit, configured to:

[0025] Forward the target process application form to the first-level superior of the preset member;

[0026] If the review result of the preset member's first-level superior is approval, the target process application form will be forwarded to the preset member's Y-th-level superior in sequence;

[0027] If the review result of the preset member's first-level superior is rejection, the target process sheet will be returned to the preset member.

[0028] In another implementation of the embodiment of the present application, the interaction unit is further configured to obtain a superior-subordinate relationship fault recheck signal in response to an operation for superior-subordinate relationship fault recheck;

[0029] The device also includes a detection unit for rechecking the superior-subordinate relationship faults based on the superior-subordinate information between the members of the organization.

[0030] In another implementation of the embodiment of the present application, the detection device is specifically used to:

[0031] Generate the first-level superior set of the target member, the first-level superior set of the first member, the first-level superior set of the second member and the first-level superior set of the third member according to the superior-subordinate information between the members of the organization, the first-level superior set of the target member includes the third member, the first member, the second member, the third member and the target member are members of the organization, the first-level superior set of the target member includes A elements, the first-level superior set of the first member includes B elements, the first-level superior set of the second member includes C elements, the first-level superior set of the third member is an empty set, and A, B and C are positive integers;

[0032] The third member is deleted from the first-level superior set of the target member, and the number of first-level superiors of the third member is reduced by 1, and the first-level superior set of the target member includes A-1 elements;

[0033] When the first-level superior of the fourth member is -1, and A-1, B, and C are all 1, the superior-subordinate relationship failure signal is displayed again through the interactive interface, and the fourth member is any member of the organization except the target member, the first member, and the second member.

[0034] In another implementation of the embodiment of the present application, the detection device is specifically used to:

[0035] Set the verification status of the target member to verifying;

[0036] According to the superior-subordinate information between members of the organization, the verification status of the first member is set to being verified, the first member is the first-level superior of the target member, and the first member is a member of the organization;

[0037] According to the superior-subordinate information between the members of the organization, the verification status of the second member is set to being verified, the second member is the first-level superior of the first member, and the second member is a member of the organization;

[0038] If the verification status of the first-level superior of the second member is in verification, the superior-subordinate relationship fault signal is displayed again through the interactive interface.

[0039] Another aspect of the present application provides a computer device, comprising:

[0040] memories, transceivers, processors, and bus systems;

[0041] Wherein, the memory is used to store programs;

[0042] The processor is used to execute the program in the memory, including executing the above-mentioned methods;

[0043] The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.

[0044] Another aspect of the present application provides a computer-readable storage medium, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer is enabled to execute the above-mentioned methods.

[0045] Another aspect of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided by the above aspects.

[0046] It can be seen from the above technical solutions that the embodiments of the present application have the following advantages:

[0047] The present application provides a method and related device for fault detection, which obtains the information of superiors and subordinates between members of the organization by acquiring relevant information of the organization, and generates the superior set of the target member and the superior set of the K-th superior of the target member according to the superior-subordinate information between the members of the organization. If the superior set of the target member includes the target member, and the superior set of the K-th superior of the target member includes at least one of the K-th superior of the target member, it is considered that there is a superior-subordinate relationship fault between the superior of the target member and the subordinate of the target member, and a superior-subordinate relationship fault signal is displayed through an interactive interface. This allows the staff to promptly correct the looped part according to the superior-subordinate relationship fault signal to eliminate the superior-subordinate relationship fault between the members of the organization, thereby avoiding a series of problems caused by the superior-subordinate relationship fault of employees. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 A schematic diagram of the architecture of a fault detection system provided in an embodiment of the present application;

[0049] Figure 2 A flowchart of a method for fault detection provided in one embodiment of the present application;

[0050] Figure 3 A schematic diagram of the superior-subordinate information of a target member provided in a certain embodiment of the present application;

[0051] Figure 4 A schematic diagram of a superior-subordinate relationship fault signal provided in a certain embodiment of the present application;

[0052] Figure 5a A schematic diagram of a process application provided for a certain embodiment of the present application;

[0053] Figure 5b A schematic diagram of a process application provided for a certain embodiment of the present application;

[0054] Figure 5cA schematic diagram of a process application provided for a certain embodiment of the present application;

[0055] Figure 6 A schematic diagram of the superior and subordinate information of preset members provided in a certain embodiment of the present application;

[0056] Figure 7 A flowchart of a method for fault detection provided in one embodiment of the present application;

[0057] Figure 8a A schematic diagram of the superior-subordinate information of a target member provided in a certain embodiment of the present application;

[0058] Figure 8b A schematic diagram of the superior-subordinate information of a target member provided in a certain embodiment of the present application;

[0059] Figure 9a A schematic diagram of the superior-subordinate information of organization members provided in a certain embodiment of the present application;

[0060] Figure 9b A schematic diagram of an array of superior-subordinate relationships of organization members provided in a certain embodiment of the present application;

[0061] Fig.10a A schematic diagram of providing superior-subordinate information of organization members for a certain embodiment of the present application;

[0062] Fig.10b A schematic diagram of an array of superior-subordinate relationships of organization members provided in a certain embodiment of the present application;

[0063] Fig.10c A schematic diagram of an array of superior-subordinate relationships of organization members provided in a certain embodiment of the present application;

[0064] Fig.10d A schematic diagram of an array of superior-subordinate relationships of organization members provided in a certain embodiment of the present application;

[0065] Fig.10e A schematic diagram of an array of superior-subordinate relationships of organization members provided in a certain embodiment of the present application;

[0066] Fig.11 A flowchart of a method for fault detection provided in one embodiment of the present application;

[0067] Fig.12 A schematic diagram of the structure of a fault detection device provided in one embodiment of the present application;

[0068] Fig.13 A schematic diagram of the structure of a fault detection device provided in one embodiment of the present application;

[0069] Fig.14A schematic diagram of the structure of a fault detection device provided in one embodiment of the present application;

[0070] Fig.15 A schematic diagram of a server structure provided for a certain embodiment of the present application. DETAILED DESCRIPTION

[0071] The embodiment of the present application provides a fault detection method and related devices for detecting relevant information of an organization to determine whether the superior-subordinate relationship between members of the organization forms a loop. When the superior-subordinate relationship between members of the organization forms a loop, a superior-subordinate relationship fault signal is displayed through an interactive interface, so that the staff can promptly correct the looped part according to the superior-subordinate relationship fault signal to eliminate the superior-subordinate relationship fault between members of the organization, thereby avoiding a series of problems caused by the superior-subordinate relationship fault among employees.

[0072] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "corresponding to" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0073] To facilitate understanding of the technical solutions provided in the embodiments of the present application, some key terms used in the embodiments of the present application are explained here:

[0074] Depth first search (DFS) starts from an unvisited vertex V in a graph containing multiple nodes, walks all the way to the end along a path, then backs up from the node at the end of the path to the previous node, and then starts from another path and walks to the end..., and repeats this process recursively until all vertices are traversed.

[0075] With the continuous development of Internet technology, the convenience provided by the Internet for life is reflected in all aspects. In life, social platforms provide convenience for communication between relatives and friends, shopping platforms put goods from all over the world in front of us, and map software provides more traffic guidance for our cross-regional travel. At work, various office platforms not only help us improve the communication efficiency between colleagues, but also help us quickly understand the internal organizational structure of the company. When we encounter cross-departmental collaboration, the office platform can help us contact the interface person of other departments.

[0076] When the office platform collects the company's internal organizational structure information, it is necessary to manually input the employee information of the company's employees and the hierarchical relationships between employees. This method of completely relying on manual input to collect organizational structure information will cause the process sheet to enter an infinite loop if the hierarchical relationships between employees are entered incorrectly. For example, employee A's superior is employee B, employee B's superior is employee C, and employee C's superior is mistakenly set to employee A. In this way, once A submits a resignation form or other process sheet that requires multiple signatures, the hierarchical relationships between employees A, B, and C will form a loop, causing the process sheet to enter an infinite loop. How to eliminate the series of problems caused by the hierarchical relationships between employees has become an urgent problem to be solved.

[0077] In response to the problems caused by the looping of the superior-subordinate relationship among members of an organization, the present application proposes that relevant information of the organization can be obtained, and based on the relevant information of the organization, it can be detected in sequence whether the organization member exists in the superior set of any member of the organization. If so, it is considered that there is a superior-subordinate relationship failure between the superiors and subordinates of the organization member, and the superior-subordinate relationship failure signal is displayed through an interactive interface, so that the staff can promptly correct the looped part according to the superior-subordinate relationship failure signal, so as to eliminate the superior-subordinate relationship failure between the organization members, thereby avoiding a series of problems caused by the superior-subordinate relationship failure of employees.

[0078] For easier understanding, see Figure 1 , Figure 1 FIG. 1 is an application environment diagram of the method for fault detection in an embodiment of the present application, such as Figure 1As shown, the method for fault detection in the embodiment of the present application is applied to a system for fault detection. The system for fault detection includes: a server and a terminal device; wherein the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms. The terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and the embodiments of the present application are not limited here.

[0079] The server first obtains relevant information of the organization, which includes the superior-subordinate information between members of the organization. Secondly, the server generates the superior set of the target member and the superior set of the K-th superior of the target member according to the superior-subordinate information between members of the organization. The target member and the K-th superior of the target member are members of the organization, and K is a positive integer. Finally, if the superior set of the target member includes the target member, or the superior set of the K-th superior of the target member includes the K-th superior of the target member, then there is a superior-subordinate relationship failure between the superior of the target member and the subordinate of the target member, and the superior-subordinate relationship failure signal is displayed through the interactive interface.

[0080] The following is an introduction to the fault detection method in this application from the perspective of the server. Figure 2 The fault detection method provided in the embodiment of the present application includes: step S110 to step S180. Specifically:

[0081] S110. Obtain relevant information of the institution;

[0082] Obtain relevant information about the organization, wherein the relevant information about the organization includes the hierarchical information between members of the organization.

[0083] Specifically, the organization can be a school, enterprise, hospital, etc. When the organization is a school, the organization members can be teachers, leaders, and students, etc. When the organization is an enterprise, the organization members can be employees of different levels; when the organization is a hospital, the organization members can be doctors and nurses, etc. In actual applications, the settings should be combined with specific application scenarios, and no restrictions are made here.

[0084] Specifically, the office platform can periodically perform superior-subordinate relationship fault detection on the organizations managed by the platform, and the office platform can periodically obtain relevant information of the organizations to perform subsequent operations, thereby realizing superior-subordinate relationship fault detection.

[0085] Optionally, the relevant information of the organization may also include review process options for process application forms of members of the organization, which is not limited here.

[0086] Optionally, the relevant information of the organization may also include the name of the organization, the management regulations of the organization, the input method of the superior-subordinate relationship of the organization, etc., which are not limited here.

[0087] It is understandable that the description of the specific content and timing of obtaining the relevant information of the organization here is only an example. In actual application, it should be set in combination with the specific application scenario and is not limited here.

[0088] S120, generating a superior set of the target member according to the superior-subordinate information between the members of the organization;

[0089] After obtaining relevant information of the organization, a superior set of the target member is generated according to the superior-subordinate information between the organization members. The target member is an organization member. The superior set of the target member includes the Kth superior of the target member, where K is a positive integer.

[0090] Specifically, after obtaining relevant information of the organization, any member of the organization is selected as the target member, and according to the superior-subordinate information between the members of the organization, the target member's direct superior (the target member's first-level superior), the target member's second-level superior, ..., until all the target member's superiors are searched in turn to generate a superior set of the target member.

[0091] For ease of understanding, the following is an example. Figure 3 The specific method of generating the parent set of the target member is introduced as follows:

[0092] Depend on Figure 3 It can be seen that members A and B are the direct superiors (first-level superiors) of the target member, and members C and D are the direct superiors of member B, that is, members C and D are the second-level superiors of the target member.

[0093] In the specific implementation, a root node corresponding to the target member is created, and the current level of the target member is recorded as 0. The information corresponding to the root node corresponding to the target member includes the target member ID, a pointer to the direct superior of the target member, and a pointer to the direct subordinate of the target member. The pointer to the direct superior of the target member is (member A, member B). Since the target member has no subordinates, the pointer to the direct subordinate of the target member is empty.

[0094] Create a node corresponding to member A and a node corresponding to member B, where the information corresponding to the node corresponding to member A includes the ID of member A, the pointer pointing to the direct superior of member A is empty, and the pointer pointing to the direct subordinate of member A is (target member); the information corresponding to the node corresponding to member B includes the ID of member B, the pointer pointing to the direct superior of member B is (member C, member D), and the pointer pointing to the direct subordinate of member B is (target member).

[0095] Create nodes corresponding to member C and member D, where the information corresponding to the node corresponding to member C includes the ID of member C, the pointer pointing to the direct superior of member C is null, and the pointer pointing to the direct subordinate of member C is (member B); the information corresponding to the node corresponding to member D includes the ID of member D, the pointer pointing to the direct superior of member D is null, and the pointer pointing to the direct subordinate of member D is (member B).

[0096] According to the information corresponding to each node, we continuously traverse the linked list along the pointer of the superior to generate the superior set of the target node (member A, member B, member C, member D). The superior set of member A is empty, the superior set of member B is (member C, member D), the superior set of member C is empty, and the superior set of member D is empty.

[0097] It is understandable that the description here of generating the target member's superior set based on the superior-subordinate information between the organization members is only an example. In actual application, the purpose of generating the target member's superior set should be achieved in combination with specific application scenarios, and no limitation is made here.

[0098] S130, generating a superior set of the Kth superior of the target member according to the superior-subordinate information between the organization members;

[0099] After the target member's superior set is generated, a superior set of the target member's K-th superior is generated according to the superior-subordinate information between the organization members, wherein the K-th superior can be any superior of the target member.

[0100] Specifically, the target member's Kth level superior may be the aforementioned Figure 3 Any one of member A, member B, member C and member D in the target member, the Kth level superior of the target member can be the aforementioned Figure 3 Any one of the parent set of member A, the parent set of member B, the parent set of member C and the parent set of member D, without limitation here.

[0101] It can be understood that the description of the K-th superior of the target member and the superior set of the K-th superior of the target member here is only an example. In actual application, it should be set in combination with specific application scenarios and is not limited here.

[0102] It should be noted that there is no clear order between step S130 and step S140. The description in the embodiment of the present application is only an example. In actual application, it should be set in combination with specific application scenarios, and no limitation is made here.

[0103] S140, determining whether the target member is included in the parent set of the target member;

[0104] After generating the target member's superior set according to the superior-subordinate information between the organization members, it is determined whether the target member is included in the target member's superior set.

[0105] If yes, execute step S160;

[0106] If not, execute step S150.

[0107] It should be noted that there is no clear order between step S130 and step S140, and there is no clear order between step S140 and step S150. Step S130 can be executed before step S150. The description in the embodiments of the present application is only an example. In actual applications, it should be set in combination with specific application scenarios and is not limited here.

[0108] S150, determining whether the target member's K-th level superior is included in the target member's K-th level superior's superior set;

[0109] After generating a superior set of the Kth superior of the target member according to the superior-subordinate information between the organization members, it is determined whether the superior set of the Kth superior of the target member includes the Kth superior of the target member.

[0110] If yes, execute step S160;

[0111] If not, execute step S170.

[0112] It should be noted that there is no clear order between step S140 and step S150, and step S130 can be executed before step S150. The description in the embodiment of the present application is only an example. In actual application, it should be set in combination with specific application scenarios, and no limitation is made here.

[0113] S160, displaying the fault signal of the superior-subordinate relationship through the interactive interface;

[0114] When the target member's superior set includes the target member, or the target member's K-th superior's superior set includes at least one of the target member's K-th superiors, a superior-subordinate relationship fault signal is displayed through the interactive interface, and the superior-subordinate relationship fault signal indicates that a superior-subordinate fault exists between the target member's superior and the target member's subordinate.

[0115] For example, the specific implementation of displaying the superior-subordinate relationship fault signal through the interactive interface can be as follows: Figure 4 As shown, while displaying the superior-subordinate relationship fault signal, the superior-subordinate information of the target member can be displayed, and the part of the superior-subordinate information of the target member where the superior-subordinate fault occurs can be marked.

[0116] It is understandable that the description of the specific form of displaying the superior-subordinate relationship fault signal through the interactive interface here is only an example. In actual application, it should be set in combination with specific application scenarios and requirements, and no limitation is made here.

[0117] S170, in response to the operation on the process application form of the preset member, obtaining the review process of the target process application form of the preset member;

[0118] If the target member's superior set does not include the target member, and the target member's K-th superior's superior set does not include the target member's K-th superior, in response to the operation of the process application form for the preset member, the review process of the target process application form of the preset member is obtained, wherein the preset member is an institutional member.

[0119] Optionally, the review process of the target process application form of the preset member indicates that the target process application form needs to be reviewed by the direct superior of the preset member, or the target process application form needs to be reviewed by Y consecutive superiors of the preset member, where Y is a positive integer.

[0120] Specifically, when a staff member needs to initiate a process application form for a preset member, he or she can initiate a process application form for the preset member through the interactive interface and Figure 5a In the interactive interface shown, the review process of the target process application form is selected as the designated superior review, and the office platform responds to the operation of the process application form of the preset member through the interactive interface setting to obtain the review process of the target process application form of the preset member.

[0121] Among them, the interactive interface can provide a variety of review processes for target process application forms for free selection. For example, the review process of the target process application form of the preset member indicates that the target process application form needs to be reviewed by the direct superior of the preset member, or the target process application form needs to be reviewed by the preset member's consecutive Y-level superiors.

[0122] For further information, see Figure 5b The interactive interface can also provide an option of "continuous multiple levels of superiors". When the "continuous multiple levels of superiors" audit option is selected, a specific end point can also be set. For example, "from bottom to top", "Yth level superior" Y can be a specific value, such as "second level superior", and there is no restriction here.

[0123] Among them, from bottom to top (referring to querying from the applicant's immediate superior upwards): applicant, immediate superior, second-level superior, third-level superior, fourth-level superior,..., tenth-level superior.

[0124] From top to bottom (referring to querying from the applicant's highest superior downwards): highest superior, second-level superior, third-level superior, fourth-level superior, ..., applicant

[0125] For example, when employee Xiao Chen is a preset member, his first-level superior from bottom to top is Xiao Li, his second-level superior is Xiao Liu, his third-level superior is Xiao Chen, and his fourth-level superior is Xiao Wang. When the "second-level superior" of "from bottom to top" is selected as the approval end point, the target process application form is initiated by Xiao Zhang, and the review process of the target process application form ends after approval by Xiao Li and Xiao Liu.

[0126] In addition, see Figure 5c , after selecting the "Continuous multiple levels of superiors" option, you can also set the specified end point to the "direct superior" or "highest superior" from "bottom to top".

[0127] For example, when employee Xiao Chen is a preset member, his first-level superior from bottom to top is Xiao Li, his second-level superior is Xiao Liu, his third-level superior is Xiao Chen, and his fourth-level superior is Xiao Wang. When the "highest superior" of "from bottom to top" is selected as the approval end point, the target process application form is initiated by Xiao Zhang, and the review process of the target process application form ends after approval by Xiao Li, Xiao Liu, Xiao Chen and Xiao Wang.

[0128] In some possible situations, when the staff sets the type of the target process application form through the interactive interface, the office platform determines the specific value of Y based on the correspondence between the type of the process application form and the review process of the process application form, and there is no restriction here.

[0129] For example, the target process application form of the resignation type is bound to the "continuous multi-level superiors" review, and the target process application form of the personal leave type is bound to the "immediate superior" review.

[0130] Optionally, the interactive interface can also provide an "other" option for staff to set up according to actual needs, and there is no restriction here.

[0131] It can be understood that the description of the method of obtaining the review process of the target process application form of the preset member and the specific method of the review process of the target process application form here is only an example. In actual application, it should be set in combination with the specific application scenario and is not limited here.

[0132] In an embodiment of the present application, by displaying the review process of the process application form on the interactive interface, it provides convenience for the staff to set the review path of the process application form when initiating the process application form, so that the staff can flexibly set the review process of the process application form according to needs, thereby improving the flexibility of the solution.

[0133] S180. Process the target process application form according to the review process of the target process application form.

[0134] After obtaining the review process of the target process application form of the preset member, the target process application form is processed according to the review process of the target process application form.

[0135] Exemplarily, when the review process of the target process application form indicates that the target process application form needs to be reviewed by the direct superior of the preset member, the target process application form is forwarded to the first-level superior of the preset member. In response to the first-level superior of the preset member entering the review result, the review result of the first-level superior of the preset member is obtained. If the review result of the first-level superior of the preset member is "approved", the process of the target process application form ends. If the review result of the first-level superior of the preset member is "rejected", the process of the target process application form ends, and the target process application form is returned to the preset member.

[0136] Optionally, when the review process of the target process application form indicates that the target process application form needs to be reviewed by the direct superior of the preset member, and the first-level superiors of the preset member are at least two members, the target process application form is forwarded to the first-level superiors of the preset member, and in response to the input of the review result by any member of the first-level superiors of the preset member, the review result of the first-level superior of the preset member is obtained. If the review result of the first-level superior of the preset member is "approved", the process of the target process application form is terminated; if the review result of the first-level superior of the preset member is "rejected", the process of the target process application form is terminated, and the target process application form is returned to the preset member.

[0137] In the embodiment of the present application, the review process for the target process application form indicates that the target process application form needs to be reviewed by the direct superior of the preset member, and when there are at least two direct superiors of the preset member, any one of the at least two direct superiors of the preset member is required to process the target process application form, and the other direct superiors of the preset member do not need to process the target process application form, and the target process application form process can be deemed to be completed. This avoids the occurrence of confusion in the review process when multiple direct superiors appear, and improves the processing efficiency of the target process application form.

[0138] Optionally, when the review process of the target process application form indicates that the target process application form needs to be reviewed by the direct superior of the preset member, and the first-level superiors of the preset member are at least two members, the target process application form is forwarded to any one of the first-level superiors of the preset member, and in response to the input of the review result by any one of the first-level superiors of the preset member, the review result of the first-level superior of the preset member is obtained; if the review result of the first-level superior of the preset member is "approved", the process of the target process application form is terminated; if the review result of the first-level superior of the preset member is "rejected", the process of the target process application form is terminated, and the target process application form is returned to the preset member.

[0139] Exemplarily, when the review process of the target process application form indicates that the target process application form needs to be reviewed by Y consecutive level superiors of the preset member, the target process application form is forwarded to the first level superior of the preset member. If the review result of the first level superior of the preset member is "approved", the target process application form is forwarded to the second level superior of the preset member; if the review result of the second level superior of the preset member is "approved", the target process application form is forwarded to the third level superior of the preset member, until the target process form is forwarded to the Yth level superior of the preset member; if the review result of the first level superior of the preset member is "rejected", the target process application form is returned to the preset member.

[0140] In an embodiment of the present application, by displaying the review process of the process application form on the interactive interface, it provides convenience for the staff to set the review path of the process application form when initiating the process application form, so that the staff can flexibly set the review process of the process application form according to needs, thereby improving the flexibility of the solution.

[0141] In an embodiment of the present application, when the review process of the target process application form indicates that the target process application form requires continuous Y-level superior review by a preset member, a specific review process is provided for the target process application form, thereby avoiding the occurrence of confusion in the review process and improving the processing efficiency of the target process application form.

[0142] For ease of understanding, the following is an example Figure 6 , the review process of the target process application form indicates that the target process application form needs to be reviewed by Y consecutive superiors of the preset member, and any superior of the Y consecutive superiors of the preset member includes at least two members.

[0143] Depend on Figure 6 It can be seen that the first-level superiors of the preset members include direct superior A, direct superior B and direct superior C, among which the superiors of direct superior B are second-level superior D, third-level superior E, fourth-level superior F and fifth-level superior G respectively; the superiors of direct superior C are second-level superior E, third-level superior F and fourth-level superior G respectively.

[0144] Since there are multiple first-level superiors of the preset member, they can be sorted according to the first letter of the name of the direct superior field, and the first member is taken as the reviewer of the current level.

[0145] Or, based on the staff's order of multiple members, the first member is taken as the current level reviewer. Taking the above figure as an example, the first-level superiors of the preset members are direct superior A, direct superior B and direct superior C. In the first-level superior field, the order set by the staff is direct superior B, direct superior A and direct superior C. Then the link of direct superior B is taken as the approval link of consecutive multiple-level superiors.

[0146] It is understandable that the description of the review process of the target process application form and the specific processing method of the target process application form here is only an example. In actual application, it should be set in combination with the specific application scenario, and no limitation is made here.

[0147] In the embodiment of the present application, by acquiring relevant information of the organization, the superior-subordinate information between the members of the organization is obtained, and the superior set of the target member and the superior set of the K-th superior of the target member are generated according to the superior-subordinate information between the members of the organization. If the superior set of the target member includes the target member, and the superior set of the K-th superior of the target member includes at least one of the K-th superior of the target member, it is considered that there is a superior-subordinate relationship failure between the superior of the target member and the subordinate of the target member, and a superior-subordinate relationship failure signal is displayed through an interactive interface. This allows the staff to promptly correct the looped part according to the superior-subordinate relationship failure signal to eliminate the superior-subordinate relationship failure between the members of the organization, thereby avoiding a series of problems caused by the superior-subordinate relationship failure of employees.

[0148] It should be noted that the above solutions are all introduced from the perspective of the target member's superior. If the target member's superior is replaced by the target member's subordinate, the implementation method of this solution is the same as the above. Figure 2 Similar, no further description is given here.

[0149] In addition, the solution provided in this application can also be triggered by the staff adding the target personnel's superior-subordinate relationship to the organization, please refer to Figure 7 The fault detection method provided in the embodiment of the present application includes: step S210 to step S290.

[0150] S210, in response to the operation on the member superior-subordinate relationship input rule, obtaining the member superior-subordinate relationship input rule;

[0151] In response to the operation on the member superior-subordinate relationship input rule, the member superior-subordinate relationship input rule is obtained.

[0152] Exemplarily, in response to an operation on inputting rules for member hierarchical relationships, the office platform obtains member hierarchical relationships input rules common to organizations within the office platform, or obtains member hierarchical relationships input rules for the organization where the target member is located, which is not limited here. The target member is a member of the organization.

[0153] Specifically, the member superior-subordinate relationship input rule may indicate setting the Qth superior for the target member, or setting M consecutive superiors for the target member, which is not limited here. Wherein, M is a positive integer, and Q is an integer greater than 1.

[0154] It is understandable that the descriptions of obtaining the member superior-subordinate relationship input rules and the specific contents of the member superior-subordinate relationship input rules here are examples. In actual applications, they should be set in combination with specific application scenarios and are not limited here.

[0155] In the embodiment of the present application, by inputting the member superior-subordinate relationship input rules, the process of superior-subordinate relationship fault detection after the staff inputs the member's superior-subordinate relationship information provides a clearer direction and improves the real-time efficiency of the solution.

[0156] S220, in response to input of the superior-subordinate information of the target member, adding the superior-subordinate information of the target member to the superior-subordinate information between the members of the organization;

[0157] After obtaining the member superior-subordinate relationship input rule, in response to the input of the superior-subordinate information of the target member, the superior-subordinate information of the target member is added to the superior-subordinate information between the organization members.

[0158] Exemplarily, when the member superior-subordinate relationship input rule is to set the Q-level superior for the target member, the superior-subordinate information of the target member includes that the first member is the N-level superior of the target member, where N is equal to Q. The first member is a member of the organization. That is, any level of superior can be set for the target member.

[0159] Optionally, when the member superior-subordinate relationship input rule is to set M consecutive superiors for the target member, and M is equal to 1, the superior-subordinate information of the target member includes the first member as the direct superior of the target member. The first member is a member of the organization. That is, a direct superior can be set for the target member.

[0160] Optionally, when the member superior-subordinate relationship input rule is to set M-level continuous superiors for the target member, and M is an integer greater than 1, the first member is the N-th level superior of the target member, and N is less than M. The first member is a member of the organization. That is, continuous multiple levels of superiors can be set for the target member.

[0161] It is understandable that the description of the target member's superior and subordinate information here is only an example. In actual application, it should be set in combination with specific application scenarios and is not limited here.

[0162] S230, obtaining relevant information of the institution;

[0163] After adding the target member's superior-subordinate information to the superior-subordinate information between members of the organization, the relevant information of the organization is obtained, wherein the relevant information of the organization includes the superior-subordinate information between members of the organization.

[0164] Exemplarily, after obtaining the superior-subordinate information of the target member added by the staff through the interactive interface, the office platform searches for the organization corresponding to the target member in the information stored in the office platform to obtain relevant information of the organization.

[0165] It is understandable that the description of the method for obtaining relevant information of an organization here is only an example. In actual application, it should be set in combination with specific application scenarios and is not limited here.

[0166] It should be noted that there is no clear order between S230 and S240. The description of S230 and S240 here is only an example. In actual application, they should be set in combination with specific application scenarios, and no limitation is made here.

[0167] S240, in response to the operation on the superior-subordinate relationship detection rule between members, obtaining the superior-subordinate relationship detection rule between members;

[0168] In response to the operation on the superior-subordinate relationship detection rule between members, the superior-subordinate relationship detection rule between members is obtained.

[0169] Optionally, the superior-subordinate relationship detection rule between members may be to detect whether there are superior-subordinate relationship faults among X consecutive superiors of any member of the detection organization, where X is a positive integer and K is less than or equal to X.

[0170] Furthermore, X may be greater than or equal to M, and there is no limitation here.

[0171] Optionally, the superior-subordinate relationship detection rule between members may be to detect whether there is a superior-subordinate relationship failure among all superiors of any member of the detection organization.

[0172] It is understandable that the description of the content of the superior-subordinate relationship detection rules for members here is only an example. In actual application, it should be set in combination with specific application scenarios and is not limited here.

[0173] In the embodiment of the present application, by reasonably setting the superior-subordinate relationship detection rules between members, the detection direction of the superior-subordinate relationship failure is narrowed, the occupation of computing resources is reduced, and the support provided by the superior-subordinate relationship failure detection for the stable operation of the office platform can still be guaranteed.

[0174] It should be noted that there is no clear order between S230 and S240. The description of S230 and S240 here is only an example. In actual application, they should be set in combination with specific application scenarios, and no limitation is made here.

[0175] S250, detecting whether the superior-subordinate relationship failure occurs in the superior-subordinate relationship information of the target member according to the relevant information of the organization;

[0176] After obtaining the superior-subordinate relationship detection rules between members, the superior-subordinate information of the target member is detected based on the relevant information of the organization to see if there is a superior-subordinate relationship failure.

[0177] For ease of understanding, the following is an example. Figure 8a and Figure 8b For example, Figure 8a For example, the superior-subordinate relationship between the target member and member A is the original member relationship. Figure 8b The superior-subordinate relationships between the target member and member B, member C and member D are the superior-subordinate relationships newly added in step S220.

[0178] A root node corresponding to the target member is created, and the current level of the target member is recorded as 0. The information corresponding to the root node corresponding to the target member includes the target member ID, a pointer to the direct superior of the target member, and a pointer to the direct subordinate of the target member.

[0179] Read the original member relationship in the database, and obtain that the direct superior of the target member is member A. Combined with the newly added superior-subordinate relationship in S220, the direct superior of the target member is member B, and the pointer of the root node corresponding to the target member pointing to the direct superior is (member A, member B). Since the target member has no subordinates, the pointer to the direct subordinate of the target member is empty.

[0180] The root node corresponding to the target member is used as a fixed point, and the linked list traversal is performed continuously along the pointer pointing to the superior. If the target member does not appear on the entire link, it means that there is no superior-subordinate relationship failure between the members. If the target member appears on the link, it means that there is a superior-subordinate relationship failure between the members, and step S260 is executed.

[0181] If the target member does not appear on the entire link, create a node corresponding to member A and a node corresponding to member B, where the information corresponding to the node corresponding to member A includes the ID of member A, the pointer pointing to the direct superior of member A is empty, and the pointer pointing to the direct subordinate of member A is (target member); the information corresponding to the node corresponding to member B includes the ID of member B, the pointer pointing to the direct superior of member B is (member C, member D), and the pointer pointing to the direct subordinate of member B is (target member).

[0182] The node corresponding to member A is used as a fixed point, and the linked list traversal is performed continuously along the pointer pointing to the superior. If member A does not appear on the entire link, it means that there is no superior-subordinate relationship failure between the members. If member A appears on the link, it means that there is a superior-subordinate relationship failure between the members, and step S260 is executed.

[0183] The node corresponding to member B is used as a fixed point, and the linked list traversal is performed continuously along the pointer pointing to the superior. If B does not appear in the entire link, it means that there is no superior-subordinate relationship failure between the members. If member B appears in the link, it means that there is a superior-subordinate relationship failure between the members, and step S260 is executed.

[0184] Create nodes corresponding to member C and member D, where the information corresponding to the node corresponding to member C includes the ID of member C, the pointer pointing to the direct superior of member C is null, and the pointer pointing to the direct subordinate of member C is (member B); the information corresponding to the node corresponding to member D includes the ID of member D, the pointer pointing to the direct superior of member D is null, and the pointer pointing to the direct subordinate of member D is (member B).

[0185] The nodes corresponding to member C and member D are used as fixed points, and the linked list traversal is performed continuously along the pointer pointing to the superior. If it is found that member C and member D no longer have direct superiors, it is confirmed that there is no superior-subordinate relationship failure in the superior-subordinate information of the target member.

[0186] Furthermore, if the target object has more than X levels of superiors, the process stops automatically, and the superiors added by the user for the target member through the interactive interface exceed the upper limit of the level, for example, X is 10.

[0187] It is understandable that the description here of detecting whether the target member's superior-subordinate relationship failure occurs based on the relevant information of the organization is only an example. In actual application, it should be set in combination with specific application scenarios and is not limited here.

[0188] S260, if a fault occurs, display the fault signal of the superior-subordinate relationship through the interactive interface;

[0189] If a superior-subordinate relationship failure occurs in the superior-subordinate information of the target member, a superior-subordinate relationship failure signal is displayed through the interactive interface, and the superior-subordinate relationship failure signal indicates that a superior-subordinate relationship failure exists between the superior of the target member and the subordinate of the target member.

[0190] For example, the specific implementation of displaying the fault signal of the superior-subordinate relationship through the interactive interface is similar to the above Figure 4 The form and content are similar and will not be repeated here.

[0191] It is understandable that the description of the specific form of displaying the superior-subordinate relationship fault signal through the interactive interface here is only an example. In actual application, it should be set in combination with specific application scenarios and requirements, and no limitation is made here.

[0192] S270, in response to the operation of rechecking the upper-lower relationship fault, obtaining a rechecking signal for the upper-lower relationship fault;

[0193] After the superior-subordinate relationship fault signal is displayed through the interactive interface, in response to an operation for rechecking the superior-subordinate relationship fault, a superior-subordinate relationship fault recheck signal is obtained.

[0194] Specifically, after the office platform displays the superior-subordinate relationship fault signal to the staff through the interactive interface, the office platform provides the staff with the option of rechecking the superior-subordinate relationship fault through the interactive interface. The staff can select the superior-subordinate relationship fault recheck option according to needs, so that the office platform responds to the operation of rechecking the superior-subordinate relationship fault and obtains the superior-subordinate relationship fault recheck signal.

[0195] It can be understood that the description of the form of the superior-subordinate relationship fault recheck signal here is only an example. In actual applications, the superior-subordinate relationship fault recheck signal can appear in any form and is not limited here.

[0196] In the embodiment of the present application, an option of rechecking the superior-subordinate relationship fault is provided to the staff through an interactive interface, so that when the staff has doubts about the superior-subordinate relationship fault signal, they can choose to recheck the superior-subordinate relationship fault, thereby improving the reliability of the solution.

[0197] S280, rechecking the superior-subordinate relationship fault according to the superior-subordinate information of the target member;

[0198] After obtaining the superior-subordinate relationship fault recheck signal, the superior-subordinate relationship fault recheck is performed according to the superior-subordinate information of the target member.

[0199] Optionally, for ease of understanding, the implementation process of the superior-subordinate relationship fault recheck is introduced below with reference to the accompanying drawings.

[0200] See also Figure 9a , Figure 9aThe diagram is a diagram of the superior-subordinate relationship of the organization members. It includes the target member, the first member, the second member and the third member. Among them, the target member's direct superior is the first member, the first member's direct superior is the second member, the second member's direct superior is the first member, and the third member's direct superior is the first member.

[0201] First, according to Figure 9a The organization member relationship diagram shown can be used to learn the current first-level superior situation of each member, and make an array such as Figure 9b .

[0202] Among them, the number corresponding to the target member is 1, the number corresponding to the first member is 2, the number corresponding to the second member is 1, and the number corresponding to the third member is 0.

[0203] Secondly, the calculation starts from the member whose corresponding number is 0. The third member is removed from the first-level superior set of the first member, and the number corresponding to the first-level superior of the third member is reduced by 1, that is, the number corresponding to the first member is reduced by 1.

[0204] Then, the members with the corresponding number of 0 are removed, and the number corresponding to the first superior of the member with the corresponding number of 0 is reduced by 1. Since the numbers corresponding to the other members except the target member, the first member and the second member are all negative 1, and the numbers corresponding to the target member, the first member and the second member are all 1, subsequent operations cannot be performed at this time, and it is determined that there is a superior-subordinate relationship failure in the superior-subordinate relationship of the target member. Execute step S290.

[0205] It can be understood that the example of the method of rechecking the superior-subordinate relationship fault based on the superior-subordinate information of the target members is an explanation of the minimum unit. In actual applications, the superior-subordinate information of the target members may include more members, and the relationship between members may be more complicated, which is not limited here.

[0206] In the embodiment of the present application, a topological sorting method is used to verify whether there is a superior-subordinate relationship failure in the superior-subordinate information of the target member, which efficiently realizes the superior-subordinate relationship failure inspection, improves the feasibility of the solution, and lays the foundation for the reliability of the solution.

[0207] For example, in order to further understand the method of using the topological sorting method to determine whether there is a superior-subordinate relationship failure. Fig.10a , Fig.10b , Fig.10c , Fig.10d and Fig.10e A method of using topological sorting to determine whether there is a superior-subordinate relationship failure is introduced.

[0208] Depend on Fig.10aIt can be seen that among the members of the organization, C1’s direct superiors are C8 and C3, C2’s direct superiors are C3 and C5, C8’s direct superior is C9, C3’s direct superior is C4, C5’s direct superiors are C4 and C6, C9’s direct superior is C7, C4’s direct superior is C6, C7’s direct superior is empty, and C6’s direct superior is empty.

[0209] First, according to Fig.10a The information of each member can be used to obtain the current direct superior of each member, and an array is generated according to the direct superior of each member, such as Fig.10b As shown, the number corresponding to C1 is 0, the number corresponding to C2 is 0, the number corresponding to C3 is 2, the number corresponding to C4 is 2, the number corresponding to C5 is 1, the number corresponding to C6 is 2, the number corresponding to C7 is 2, the number corresponding to C8 is 1, and the number corresponding to C9 is 1. The vertex set is empty.

[0210] Secondly, calculate the member with the lowest number, that is, C1, delete C1 from the member superior-subordinate relationship diagram, put C1 into the vertex set, and reduce the number of C1's direct superiors C8 and C3 by 1, and get the following Fig.10c The direct superior situation array of the member shown. At this time, the corresponding numbers of C2 and C8 are 0, and C2 and C8 are put into the stack to be processed.

[0211] Next, delete C2 from the member superior-subordinate relationship diagram, put C2 into the vertex set, and reduce the number of C2's direct superiors C3 and C5 by 1, and obtain the following: Fig.10d The direct superior situation array of the member shown. At this time, the corresponding numbers of C3 and C5 are 0, and C3 and C8 are put into the stack to be processed.

[0212] Finally, according to the above steps, after all members in the member superior-subordinate relationship diagram are calculated, the result is as follows: Fig.10e As shown, it is found that the final number of nodes in the vertex set is consistent with the original number of nodes, indicating that there is no superior-subordinate relationship failure in the entire link.

[0213] In addition to the aforementioned Figure 9a and Figure 9b The method of using topological sorting to determine whether there is a superior-subordinate relationship failure introduced in the text can also use the depth-first search method to traverse all members in the superior-subordinate information of the target member to determine whether there is a superior-subordinate relationship failure.

[0214] First, different nodes are set for the members involved in the target member's superior-subordinate information, where the target member's superior-subordinate information involves the target member, the first member, and the second member, and the node corresponding to the target member, the node corresponding to the first member, and the node corresponding to the third member are obtained. The first member is the first-level superior of the target member, and the second member is the first-level superior of the first member.

[0215] Secondly, the state of the node corresponding to the member involved in the superior and subordinate information of the target member is set to be accessed.

[0216] Again, select any member involved in the target member's superior-subordinate information to start a depth-first search. For example, set the target member's verification status to verifying, and set the first member's verification status to verifying according to the target member's superior-subordinate information. Since the second member is the first-level superior of the first member, the second member's verification status is also set to verifying. If the second member's first-level superior's verification status is verifying, there is a superior-subordinate relationship failure in the target member's superior-subordinate information.

[0217] In the embodiment of the present application, by utilizing the depth-first search method to traverse all members in the superior-subordinate information of the target member, it is determined whether there is a superior-subordinate relationship failure, thereby efficiently implementing the superior-subordinate relationship failure inspection, improving the feasibility of the solution, and laying the foundation for the reliability of the solution.

[0218] S290. If the re-inspection result is that a fault has occurred, the superior-subordinate relationship fault signal is displayed again through the interactive interface.

[0219] If the re-inspection result shows that a fault has occurred, the superior-subordinate relationship fault signal is displayed again through the interactive interface.

[0220] Specifically, the form and content of the fault signal of the superior-subordinate relationship are displayed again through the interactive interface. Figure 4 Similar to , no restriction is made here.

[0221] In the embodiment of the present application, adding the target member's superior-subordinate information to the organization members' superior-subordinate information triggers a check on whether there is a superior-subordinate relationship fault in the organization members' superior-subordinate information, and displaying a superior-subordinate relationship fault signal through an interactive platform when there is a superior-subordinate relationship fault, ensuring that each time a member's superior-subordinate information is added to the organization members' superior-subordinate information, a superior-subordinate relationship fault check is performed, without the need for regular inspections, and during the period when the organization members' superior-subordinate information is relatively stable, the computing power demand is reduced, thereby improving the efficiency of checking superior-subordinate relationship faults.

[0222] It should be noted that the above schemes are introduced from the perspective of the superior of the target member and the superior of the preset member. If the superior of the target member is replaced by the subordinate of the target member, and / or the superior of the preset member is replaced by the subordinate of the preset member, the execution method of this scheme is the same as the above Figure 7 Similar, no further description is given here.

[0223] For ease of understanding, the following will combine Fig.11 A fault detection method applied to an office platform is introduced. A staff member determines the superior information of a target member in an interactive unit and clicks to confirm.

[0224] The interaction unit calls the acquisition unit, and the acquisition unit acquires the superior and subordinate information of the organization members corresponding to the target member from the storage unit.

[0225] Furthermore, the acquisition unit can also read a large amount of superior and subordinate information of the organization members corresponding to the target member from the storage unit by means of a coroutine, so as to achieve the purpose of high-speed acquisition.

[0226] After acquiring the superior-subordinate information of the organization members corresponding to the target member, the acquisition unit uses the generation unit to process the superior-subordinate information of the organization members to generate the superior information corresponding to each member.

[0227] After mapping out the superior information corresponding to each member, the superior information corresponding to each member is transmitted to the detection unit to execute the algorithm process.

[0228] After the detection unit completes the algorithm execution, it will feedback the detection results to the staff through the interactive unit, that is, the video that needs further review.

[0229] The following is a detailed description of the fault detection device in this application. Fig.12 . Fig.12 The present invention is a schematic diagram of an embodiment of a fault detection device 10 in an embodiment of the present application. The fault detection device 10 includes:

[0230] An acquisition unit 110 is used to acquire relevant information of an organization, wherein the relevant information of an organization includes information on superiors and subordinates between members of the organization;

[0231] A generating unit 120, configured to generate a superior set of a target member according to superior-subordinate information between members of an organization, wherein the superior set of the target member includes a K-th superior of the target member, the target member and the K-th superior of the target member are members of the organization, and K is a positive integer;

[0232] The generating unit 120 is further used to generate a superior set of the Kth superior of the target member according to the superior-subordinate information between the organization members;

[0233] The interaction unit 130 is used to display a superior-subordinate relationship fault signal through an interactive interface if at least one of the following conditions is true: the target member is included in the superior set of the target member, or the K-th superior of the target member is included in the superior set of the K-th superior of the target member, and the superior-subordinate relationship fault signal indicates that a superior-subordinate relationship fault exists between the superior of the target member and the subordinate of the target member.

[0234] In the embodiment of the present application, by acquiring relevant information of the organization, the superior-subordinate information between the members of the organization is obtained, and the superior set of the target member and the superior set of the K-th superior of the target member are generated according to the superior-subordinate information between the members of the organization. If the superior set of the target member includes the target member, and the superior set of the K-th superior of the target member includes at least one of the K-th superior of the target member, it is considered that there is a superior-subordinate relationship failure between the superior of the target member and the subordinate of the target member, and a superior-subordinate relationship failure signal is displayed through an interactive interface. This allows the staff to promptly correct the looped part according to the superior-subordinate relationship failure signal to eliminate the superior-subordinate relationship failure between the members of the organization, thereby avoiding a series of problems caused by the superior-subordinate relationship failure of employees.

[0235] In this application Fig.12 In an optional embodiment of the fault detection device provided by the corresponding embodiment, the interaction unit 130 is also used to add the target member's superior and subordinate information to the superior and subordinate information between the organization members in response to the input of the target member's superior and subordinate information.

[0236] In the embodiment of the present application, adding the target member's superior-subordinate information to the organization members' superior-subordinate information triggers a check on whether there is a superior-subordinate relationship fault in the organization members' superior-subordinate information, and displaying a superior-subordinate relationship fault signal through an interactive platform when there is a superior-subordinate relationship fault, ensuring that each time a member's superior-subordinate information is added to the organization members' superior-subordinate information, a superior-subordinate relationship fault check is performed, without the need for regular inspections, and during the period when the organization members' superior-subordinate information is relatively stable, the computing power demand is reduced, thereby improving the efficiency of checking superior-subordinate relationship faults.

[0237] In this application Fig.12 In an optional embodiment of the fault detection device provided by the corresponding embodiment, the relevant information of the organization includes a member superior-subordinate relationship input rule of the organization, the member superior-subordinate relationship input rule indicates that at most M levels of consecutive superiors are set for the target member, the superior-subordinate information of the target member includes that the first member is the Nth level superior of the target member, M is a positive integer, N is a positive integer, M is greater than or equal to N, and the first member is a member of the organization;

[0238] The interaction unit 130 is further configured to obtain the member superior-subordinate relationship input rule in response to an operation on the member superior-subordinate relationship input rule.

[0239] In the embodiment of the present application, by inputting the member superior-subordinate relationship input rules, the process of superior-subordinate relationship fault detection after the staff inputs the member's superior-subordinate relationship information provides a clearer direction and improves the real-time efficiency of the solution.

[0240] In this application Fig.12 In an optional embodiment of the fault detection device provided by the corresponding embodiment, K is less than or equal to X;

[0241] The interaction unit 130 is also used to obtain the superior-subordinate relationship detection rule between members in response to the operation on the superior-subordinate relationship detection rule between members, and the superior-subordinate relationship detection rule between members indicates whether there is a superior-subordinate relationship failure among the consecutive X superiors of any member of the detection organization, where X is a positive integer.

[0242] In the embodiment of the present application, by reasonably setting the superior-subordinate relationship detection rules between members, the detection direction of the superior-subordinate relationship failure is narrowed, the occupation of computing resources is reduced, and the support provided by the superior-subordinate relationship failure detection for the stable operation of the office platform can still be guaranteed.

[0243] In this application Fig.12 In an optional embodiment of the fault detection device provided by the corresponding embodiment, the interaction unit 130 is also used to respond to the operation of the process application form for the preset member, obtain the review process of the target process application form of the preset member, and the review process indicates that the target process application form needs to be reviewed by the first-level superior of the preset member, and the preset member is a member of the organization.

[0244] In an embodiment of the present application, by displaying the review process of the process application form on the interactive interface, it provides convenience for the staff to set the review path of the process application form when initiating the process application form, so that the staff can flexibly set the review process of the process application form according to needs, thereby improving the flexibility of the solution.

[0245] In this application Fig.12 In an optional embodiment of the fault detection device provided in the corresponding embodiment, please refer to Fig.13 , the device further includes a sending unit 140, which is used to forward the target process application form to the first-level superior of the preset member, and the first-level superior of the preset member includes at least two members;

[0246] The interaction unit 130 is also used to respond to any member of the first-level superior of the preset member inputting the review result, and the process of the target process application form is terminated.

[0247] In the embodiment of the present application, the review process for the target process application form indicates that the target process application form needs to be reviewed by the direct superior of the preset member, and when there are at least two direct superiors of the preset member, any one of the at least two direct superiors of the preset member is required to process the target process application form, and the other direct superiors of the preset member do not need to process the target process application form, and the target process application form process can be deemed to be completed. This avoids the occurrence of confusion in the review process when multiple direct superiors appear, and improves the processing efficiency of the target process application form.

[0248] In this application Fig.12 In an optional embodiment of the fault detection device provided by the corresponding embodiment, the interaction unit is also used to respond to the operation of the process application form for the preset member, obtain the review process of the target process application form of the preset member, and the review process indicates that the target process application form requires Y consecutive levels of superiors of the preset member to review it, the preset member is a member of the organization, and Y is a positive integer.

[0249] In an embodiment of the present application, by displaying the review process of the process application form on the interactive interface, it provides convenience for the staff to set the review path of the process application form when initiating the process application form, so that the staff can flexibly set the review process of the process application form according to needs, thereby improving the flexibility of the solution.

[0250] In this application Fig.12 In an optional embodiment of the fault detection device provided in the corresponding embodiment, please refer to Fig.13 The device further includes a sending unit 140, configured to:

[0251] Forward the target process application form to the first-level superior of the preset member;

[0252] If the review result of the preset member's first-level superior is approval, the target process application form will be forwarded to the preset member's Y-th-level superior in sequence;

[0253] If the review result of the preset member's first-level superior is rejection, the target process sheet will be returned to the preset member.

[0254] In an embodiment of the present application, when the review process of the target process application form indicates that the target process application form requires continuous Y-level superior review by a preset member, a specific review process is provided for the target process application form, thereby avoiding the occurrence of confusion in the review process and improving the processing efficiency of the target process application form.

[0255] In this application Fig.12 In an optional embodiment of the fault detection device provided in the corresponding embodiment, please refer to Fig.14The interaction unit 130 is further configured to obtain a superior-subordinate relationship fault recheck signal in response to an operation for rechecking a superior-subordinate relationship fault;

[0256] The device also includes a detection unit 150 for rechecking the superior-subordinate relationship fault according to the superior-subordinate information between the members of the organization.

[0257] In the embodiment of the present application, an option of rechecking the superior-subordinate relationship fault is provided to the staff through an interactive interface, so that when the staff has doubts about the superior-subordinate relationship fault signal, they can choose to recheck the superior-subordinate relationship fault, thereby improving the reliability of the solution.

[0258] In this application Fig.14 In an optional embodiment of the fault detection device provided by the corresponding embodiment, the detection unit 150 is specifically configured to:

[0259] Generate the first-level superior set of the target member, the first-level superior set of the first member, the first-level superior set of the second member and the first-level superior set of the third member according to the superior-subordinate information between the members of the organization, the first-level superior set of the target member includes the third member, the first member, the second member, the third member and the target member are members of the organization, the first-level superior set of the target member includes A elements, the first-level superior set of the first member includes B elements, the first-level superior set of the second member includes C elements, the first-level superior set of the third member is an empty set, and A, B and C are positive integers;

[0260] The third member is deleted from the first-level superior set of the target member, and the number of first-level superiors of the third member is reduced by 1, and the first-level superior set of the target member includes A-1 elements;

[0261] When the first-level superior of the fourth member is -1, and A-1, B, and C are all 1, the superior-subordinate relationship failure signal is displayed again through the interactive interface, and the fourth member is any member of the organization except the target member, the first member, and the second member.

[0262] In the embodiment of the present application, a topological sorting method is used to verify whether there is a superior-subordinate relationship failure in the superior-subordinate information of the target member, which efficiently realizes the superior-subordinate relationship failure inspection, improves the feasibility of the solution, and lays the foundation for the reliability of the solution.

[0263] In this application Fig.14 In an optional embodiment of the fault detection device provided by the corresponding embodiment, the detection unit 150 is specifically configured to:

[0264] Set the verification status of the target member to verifying;

[0265] According to the superior-subordinate information between members of the organization, the verification status of the first member is set to being verified, the first member is the first-level superior of the target member, and the first member is a member of the organization;

[0266] According to the superior-subordinate information between the members of the organization, the verification status of the second member is set to being verified, the second member is the first-level superior of the first member, and the second member is a member of the organization;

[0267] If the verification status of the first-level superior of the second member is in verification, the superior-subordinate relationship fault signal is displayed again through the interactive interface.

[0268] In the embodiment of the present application, by utilizing the depth-first search method to traverse all members in the superior-subordinate information of the target member, it is determined whether there is a superior-subordinate relationship failure, thereby efficiently implementing the superior-subordinate relationship failure inspection, improving the feasibility of the solution, and laying the foundation for the reliability of the solution.

[0269] Fig.15 : is a schematic diagram of a server structure provided in an embodiment of the present application. The server 300 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 322 (for example, one or more processors) and memory 332, and one or more storage media 330 (for example, one or more mass storage devices) storing application programs 342 or data 344. Among them, the memory 332 and the storage medium 330 can be short-term storage or permanent storage. The program stored in the storage medium 330 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 322 can be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the server 300.

[0270] The server 300 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input and output interfaces 358, and / or one or more operating systems 341, such as Windows Server 2000. TM , Mac OS X TM , Unix TM ,Linux TM , FreeBSD TM etc.

[0271] The steps performed by the server in the above embodiment can be based on the Fig.15 The server structure shown.

[0272] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0273] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0274] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0275] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0276] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc., and other media that can store program codes.

[0277] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some of the technical features therein by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims

1. A method for fault detection, characterized in that: include: Obtaining relevant information of an organization, wherein the relevant information of the organization includes information on the superiors and subordinates of members of the organization; Generate a superior set of the target member according to the superior-subordinate information between the members of the organization, wherein the superior set of the target member includes the K-th superior of the target member, the target member and the K-th superior of the target member are members of the organization, and K is a positive integer; Generate a superior set of the Kth superior of the target member according to the superior-subordinate information between the members of the organization; If the target member is included in the target member's superior set, or if the target member's K-th superior is included in the superior set of the target member's K-th superior, at least one of the following conditions is true, a superior-subordinate relationship fault signal is displayed through the interactive interface, and the superior-subordinate relationship fault signal indicates that there is a superior-subordinate relationship fault between the target member's superior and the target member's subordinate.

2. The method according to claim 1, characterized in that Before obtaining the relevant information of the organization, the method further includes: In response to input of the target member's superior and subordinate information, the target member's superior and subordinate information is added to the superior and subordinate information between the organization members.

3. The method according to claim 2, characterized in that The relevant information of the organization includes a member superior-subordinate relationship input rule of the organization, the member superior-subordinate relationship input rule indicates that at most M levels of consecutive superiors are set for the target member, the superior-subordinate information of the target member includes that the first member is the Nth level superior of the target member, M is a positive integer, N is a positive integer, M is greater than or equal to N, and the first member is a member of the organization; In response to the input of the superior-subordinate information of the target member, before adding the superior-subordinate information of the target member to the superior-subordinate information between the members of the organization, the method further includes: In response to the operation on the member superior-subordinate relationship input rule, the member superior-subordinate relationship input rule is obtained.

4. The method according to claim 1, characterized in that Said K is less than or equal to X; Before generating the target member's superior set according to the superior-subordinate information between the members of the organization, the method further includes: In response to an operation on a superior-subordinate relationship detection rule between members, the superior-subordinate relationship detection rule between members is obtained, and the superior-subordinate relationship detection rule between members indicates detecting whether there is a superior-subordinate relationship failure in X consecutive superiors of any member of the organization, where X is a positive integer.

5. The method according to any one of claims 1 to 4, characterized in that: If there is no superior-subordinate relationship failure in the superior-subordinate information between the members of the organization, the method further includes: In response to an operation on a process application form of a preset member, an audit process of a target process application form of the preset member is obtained, wherein the audit process indicates that the target process application form requires audit by a first-level superior of the preset member, who is a member of the organization.

6. The method according to claim 5, characterized in that After obtaining the review process of the target process application form of the preset member in response to the operation on the process application form of the preset member, the method further includes: Forwarding the target process application form to the first-level superior of the preset member, where the first-level superior of the preset member includes at least two members; In response to any member of the first-level superior of the preset member entering the audit result, the process of the target process application form is completed.

7. The method according to any one of claims 1 to 4, characterized in that: If there is no superior-subordinate relationship failure in the superior-subordinate information between the members of the organization, the method further includes: In response to the operation on the process application form of the preset member, the review process of the target process application form of the preset member is obtained, and the review process indicates that the target process application form requires continuous Y-level superior review of the preset member, the preset member is a member of the organization, and Y is a positive integer.

8. The method according to claim 7, characterized in that After obtaining the review process of the target process application form of the preset member in response to the operation on the process application form of the preset member, the method further includes: Forwarding the target process application form to the first-level superior of the preset member; If the review result of the first-level superior of the preset member is approval, the target process application form is forwarded to the Y-th-level superior of the preset member in sequence; If the review result of the first-level superior of the preset member is rejection, the target process sheet is returned to the preset member.

9. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: In response to an operation for rechecking a superior-subordinate relationship fault, obtaining a superior-subordinate relationship fault recheck signal; Recheck the superior-subordinate relationship faults based on the superior-subordinate information between the members of the organization.

10. The method according to claim 9, characterized in that The rechecking of the superior-subordinate relationship fault according to the superior-subordinate information between the members of the organization includes: Generate the first-level superior set of the target member, the first-level superior set of the first member, the first-level superior set of the second member and the first-level superior set of the third member according to the superior-subordinate information between the members of the organization, the first-level superior set of the target member includes the third member, the first member, the second member, the third member and the target member are members of the organization, the first-level superior set of the target member includes A elements, the first-level superior set of the first member includes B elements, the first-level superior set of the second member includes C elements, the first-level superior set of the third member is an empty set, and A, B and C are positive integers; Deleting the third member from the first-level superior set of the target member, and reducing the number of first-level superiors of the third member by 1, the first-level superior set of the target member including the A-1 elements; When the first-level superior of the fourth member is -1, and A-1, B and C are all 1, the superior-subordinate relationship fault signal is displayed again through the interactive interface, and the fourth member is any member of the organization except the target member, the first member and the second member.

11. The method according to claim 9, characterized in that The rechecking of the superior-subordinate relationship fault according to the superior-subordinate information between the members of the organization includes: Setting the verification status of the target member to verifying; According to the superior-subordinate information between members of the organization, the verification status of the first member is set to being verified, the first member is the first-level superior of the target member, and the first member is a member of the organization; According to the superior-subordinate information between the members of the organization, the verification status of the second member is set to being verified, the second member is the first-level superior of the first member, and the second member is a member of the organization; If the verification status of the first-level superior of the second member is in verification, the superior-subordinate relationship fault signal is displayed again through the interactive interface.

12. A fault detection device, characterized in that: include: An acquisition unit, used to acquire relevant information of an organization, wherein the relevant information of the organization includes information on superiors and subordinates between members of the organization; A generating unit, used for generating a superior set of a target member according to the superior-subordinate information between members of the organization, wherein the superior set of the target member includes a K-th superior of the target member, the target member and the K-th superior of the target member are members of the organization, and K is a positive integer; The generating unit is further used to generate a superior set of the Kth superior of the target member according to the superior-subordinate information between the members of the organization; An interactive unit is used to display a superior-subordinate relationship fault signal through an interactive interface if at least one of the following conditions is true: the target member is included in the superior set of the target member, or the K-th superior of the target member is included in the superior set of the K-th superior of the target member, and the superior-subordinate relationship fault signal indicates that a superior-subordinate relationship fault exists between the superior of the target member and the subordinate of the target member.

13. A computer device, characterized in that: include: memories, transceivers, processors, and bus systems; Wherein, the memory is used to store programs; The processor is used to execute the program in the memory, including executing the fault detection method according to any one of claims 1 to 11; The bus system is used to connect the memory and the processor so that the memory and the processor can communicate with each other.

14. A computer-readable storage medium comprising instructions, which, when executed on a computer, causes the computer to execute the fault detection method according to any one of claims 1 to 11.

15. A computer program product comprising a computer program, characterized in that The computer program is used by a processor to execute the fault detection method according to any one of claims 1 to 11.