Method, device, equipment and storage medium for generating fault resolution instructions

By receiving fault guidance requests, user portraits are obtained for association and label alignment, similarity is calculated to predict user status, and fault resolution guidance is generated, which solves the problem of low fault guidance accuracy in the existing technology and achieves fault accuracy in different environments. solve.

CN115017409BActive Publication Date: 2024-09-03PING AN BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210587459.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-27
Publication Date
2024-09-03
Estimated Expiration
2042-05-27

AI Technical Summary

Technical Problem

In the existing technology, when the network environment is poor and the terminal equipment hardware is different, the problem of missing logs is prone to occur during fault analysis, resulting in low accuracy of fault guidance and difficulty in accurately troubleshooting.

Method used

By receiving fault guidance requests from target user terminals, fault information and user portraits are obtained, associated user searches and label alignment are performed, similarity is calculated, user status is predicted, and accurate fault resolution guidance is generated.

Benefits of technology

The accuracy of fault guidance is improved, and faults can be accurately located and solved under poor network environment and terminal device hardware differences, thereby improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115017409B
    Figure CN115017409B
Patent Text Reader

Abstract

The present invention relates to the field of big data, and discloses a method, device, equipment and storage medium for generating fault resolution guidance, which are used to improve the accuracy of fault resolution guidance. The method for generating fault resolution guidance includes: obtaining target fault information and original user portrait according to a fault resolution request; searching for associated users through the original user portrait to obtain multiple initial associated user portraits, and aligning the labels of the initial associated user portrait and the original user portrait according to the target fault information to obtain target associated user portraits and target user portraits; calculating the similarity of the target associated user portrait and the target user portrait to obtain similar user portraits; predicting the state of the target user to obtain the target state label of the target user; generating fault resolution guidance according to the target state label, and sending the fault resolution guidance to the target user terminal. In addition, the present invention also relates to blockchain technology, and the fault resolution guidance can be stored in a blockchain node.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of user behavior profiling, and in particular to a method, device, equipment and storage medium for generating fault resolution instructions. Background Art

[0002] With the development of Internet technology, various software products run on user terminal systems. Affected by factors such as the network operating environment and terminal device limitations, software products or terminal systems may fail. Usually, software products or terminal systems will report problems in a timely manner when failures occur, so that developers can solve the problems accordingly.

[0003] The existing technology usually analyzes faults based on system logs to locate and troubleshoot faults. However, this method is prone to log loss in cases of poor network environment and hardware differences of terminal devices, making it difficult to locate and troubleshoot faults. Users can only be notified of general instructions for solving faults, and it is difficult to accurately provide troubleshooting guidance according to the actual fault problem. It can be seen that the existing technology has a technical problem of low accuracy of fault guidance. Summary of the invention

[0004] The present invention provides a method, device, equipment and storage medium for generating fault resolution instructions, which are used to improve the accuracy of fault resolution instructions.

[0005] A first aspect of the present invention provides a method for generating a fault resolution guide, comprising:

[0006] Receive a fault guidance request sent by a target user terminal, and obtain target fault information and an original user portrait according to the fault guidance request;

[0007] Searching for associated users through the original user portrait to obtain multiple initial associated user portraits, and aligning labels of the multiple initial associated user portraits and the original user portrait according to the target fault information to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait;

[0008] Calculate the similarity between each target-associated user portrait and the target user portrait, and determine a similar user portrait corresponding to the target user from the multiple target-associated user portraits according to the similarity calculation result;

[0009] Performing state prediction on similar user portraits corresponding to the target user to obtain a target state label;

[0010] A fault resolution guide is generated according to the target status tag, and the fault resolution guide is sent to the target user terminal.

[0011] Optionally, in a first implementation manner of the first aspect of the present invention, obtaining target fault information and an original user portrait according to the fault guidance request includes:

[0012] Obtaining the operation log within a preset time period and the preset original user portrait through the fault guidance request;

[0013] Extracting operation abnormality information from the operation log to obtain operation fault information, and identifying missing data from the original user portrait to obtain portrait missing information, where the portrait missing information is used to indicate missing labels for the target user;

[0014] The operation fault information and the image missing information are combined to obtain target fault information.

[0015] Optionally, in a second implementation of the first aspect of the present invention, performing associated user search through the original user portrait to obtain multiple initial associated user portraits, and performing label alignment on the multiple initial associated user portraits and the original user portrait according to the target fault information to obtain target associated user portraits corresponding to each initial associated user portrait and a target user portrait corresponding to the original user portrait, including:

[0016] Extracting an associated user identifier of the target user according to the old-with-new label in the original user portrait, and extracting a plurality of initial associated user portraits corresponding to the associated user identifier from a preset user portrait system;

[0017] Performing fault type identification on the target fault information to obtain a target fault type, where the target fault type includes at least one of an operation fault type, a data fault type, or a network fault type;

[0018] Label alignment is performed on multiple initial associated user portraits and the original user portrait according to the target fault type to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait.

[0019] Optionally, in a third implementation manner of the first aspect of the present invention, label alignment is performed on a plurality of initial associated user portraits and the original user portrait according to the target fault type to obtain a target associated user portrait corresponding to each initial associated user portrait and a target user portrait corresponding to the original user portrait, including:

[0020] According to the target fault type, each of the initial associated user portraits and the original user portrait is screened for fault labels to obtain a first fault type label corresponding to each of the initial associated user portraits and a second fault type label corresponding to the original user portrait;

[0021] According to the missing portrait information in the target fault information, a placeholder generation process is performed on the missing labels in the original user portrait to obtain a placeholder label;

[0022] The first fault type labels corresponding to the initial associated user portraits are merged to obtain the target associated user portraits corresponding to the initial associated user portraits, and the second fault type label and the placeholder label are merged to obtain the target user portrait corresponding to the original user portrait.

[0023] Optionally, in a fourth implementation manner of the first aspect of the present invention, the calculating similarities between each target-associated user portrait and the target user portrait, and determining a similar user portrait corresponding to the target user from the multiple target-associated user portraits according to the result of the similarity calculation, includes:

[0024] Mapping each target-associated user portrait and the target user portrait into a feature vector, obtaining a first feature vector corresponding to the target user portrait and a second feature vector corresponding to each target-associated user portrait;

[0025] Calculate the similarity between the first feature vector corresponding to the target user portrait and the second feature vector corresponding to each target-associated user portrait to obtain a feature similarity value;

[0026] The target-associated user portrait whose feature similarity value is greater than a preset feature similarity threshold is set as the similar user portrait corresponding to the target user.

[0027] Optionally, in a fifth implementation manner of the first aspect of the present invention, the performing state prediction on the similar user portrait corresponding to the target user to obtain a target state label includes:

[0028] Generating a log according to preset portrait data, extracting status labels for the similar user portrait and the target user portrait respectively, and obtaining a plurality of first status labels corresponding to the similar user portrait and a plurality of second status labels corresponding to the target user portrait;

[0029] Performing vectorization processing on each of the first state tags and a plurality of second state tags corresponding to the target user portrait, respectively, to obtain a first state vector corresponding to each first state tag and a second state vector corresponding to each second state tag;

[0030] Calculate the similarity between the first state vector corresponding to each first state label and the second state vector corresponding to each second state label to obtain a state similarity value;

[0031] The first state tag whose state similarity value is greater than a preset state similarity threshold is set as the target state tag of the target user.

[0032] Optionally, in a sixth implementation manner of the first aspect of the present invention, generating a fault resolution guide according to the target status label, and sending the fault resolution guide to the target user terminal includes:

[0033] Obtaining a preset set of fault resolution guidance templates, wherein the fault resolution guidance templates include a fault question, a plurality of fault question options, and a fault resolution guidance corresponding to each fault question option;

[0034] According to the target state label, obtaining a target guidance template from the fault resolution guidance template set, and generating a corresponding fault resolution guidance based on the target guidance template;

[0035] The fault resolution guide is sent to the target user terminal.

[0036] A second aspect of the present invention provides a device for generating a fault resolution guide, comprising:

[0037] A receiving module, configured to receive a fault guidance request sent by a target user terminal, and obtain target fault information and an original user portrait according to the fault guidance request;

[0038] An alignment module is used to search for associated users through the original user portrait to obtain multiple initial associated user portraits, and to perform label alignment on the multiple initial associated user portraits and the original user portrait according to the target fault information to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait;

[0039] A calculation module, used to calculate the similarity between each target-associated user portrait and the target user portrait, and determine a similar user portrait corresponding to the target user from multiple target-associated user portraits according to the result of the similarity calculation;

[0040] A prediction module is used to predict the status of similar user portraits corresponding to the target user to obtain a target status label;

[0041] A generating module is used to generate a fault resolution guide according to the target status tag, and send the fault resolution guide to the target user terminal.

[0042] Optionally, in a first implementation manner of the second aspect of the present invention, the receiving module is specifically configured to:

[0043] Receiving a fault guidance request sent by a target user terminal, and obtaining an operation log within a preset time period and a preset original user portrait through the fault guidance request;

[0044] Extracting operation abnormality information from the operation log to obtain operation fault information, and identifying missing data from the original user portrait to obtain portrait missing information, where the portrait missing information is used to indicate missing labels for the target user;

[0045] The operation fault information and the image missing information are combined to obtain target fault information.

[0046] Optionally, in a second implementation of the second aspect of the present invention, the alignment module includes:

[0047] An extraction unit, configured to extract an associated user identifier of a target user according to the old-with-new label in the original user portrait, and extract a plurality of initial associated user portraits corresponding to the associated user identifier from a preset user portrait system;

[0048] an identification unit, configured to identify a fault type of the target fault information to obtain a target fault type, wherein the target fault type includes at least one of an operation fault type, a data fault type, or a network fault type;

[0049] The alignment unit is used to perform label alignment on multiple initial associated user portraits and the original user portrait according to the target fault type, so as to obtain a target associated user portrait corresponding to each initial associated user portrait and a target user portrait corresponding to the original user portrait.

[0050] Optionally, in a third implementation manner of the second aspect of the present invention, the alignment unit is specifically configured to:

[0051] According to the target fault type, each of the initial associated user portraits and the original user portrait is screened for fault labels to obtain a first fault type label corresponding to each of the initial associated user portraits and a second fault type label corresponding to the original user portrait;

[0052] According to the missing portrait information in the target fault information, a placeholder generation process is performed on the missing label in the original user portrait to obtain a placeholder label;

[0053] The first fault type labels corresponding to the initial associated user portraits are merged to obtain the target associated user portraits corresponding to the initial associated user portraits, and the second fault type label and the placeholder label are merged to obtain the target user portrait corresponding to the original user portrait.

[0054] Optionally, in a fourth implementation manner of the second aspect of the present invention, the calculation module is specifically used to:

[0055] Mapping each target-associated user portrait and the target user portrait into a feature vector, obtaining a first feature vector corresponding to the target user portrait and a second feature vector corresponding to each target-associated user portrait;

[0056] Calculate the similarity between the first feature vector corresponding to the target user portrait and the second feature vector corresponding to each target-associated user portrait to obtain a feature similarity value;

[0057] The target-associated user portrait whose feature similarity value is greater than a preset feature similarity threshold is set as the similar user portrait corresponding to the target user.

[0058] Optionally, in a fifth implementation of the second aspect of the present invention, the prediction module is specifically used to:

[0059] Generating a log according to preset portrait data, extracting status labels for the similar user portrait and the target user portrait respectively, and obtaining a plurality of first status labels corresponding to the similar user portrait and a plurality of second status labels corresponding to the target user portrait;

[0060] Performing vectorization processing on each of the first state tags and a plurality of second state tags corresponding to the target user portrait, respectively, to obtain a first state vector corresponding to each first state tag and a second state vector corresponding to each second state tag;

[0061] Calculate the similarity between the first state vector corresponding to each first state label and the second state vector corresponding to each second state label to obtain a state similarity value;

[0062] The first state tag whose state similarity value is greater than a preset state similarity threshold is set as the target state tag of the target user.

[0063] Optionally, in a sixth implementation of the second aspect of the present invention, the generating module is specifically configured to:

[0064] Obtaining a preset set of fault resolution guidance templates, wherein the fault resolution guidance templates include a fault question, a plurality of fault question options, and a fault resolution guidance corresponding to each fault question option;

[0065] According to the target state label, obtaining a target guidance template from the fault resolution guidance template set, and generating a corresponding fault resolution guidance based on the target guidance template;

[0066] The fault resolution guide is sent to the target user terminal.

[0067] The third aspect of the present invention provides a device for generating fault-solving instructions, comprising: a memory and at least one processor, wherein the memory stores a computer program; the at least one processor calls the computer program in the memory so that the device for generating fault-solving instructions executes the above-mentioned method for generating fault-solving instructions.

[0068] A fourth aspect of the present invention provides a computer-readable storage medium, in which a computer program is stored, which, when executed on a computer, enables the computer to execute the above-mentioned method for generating troubleshooting instructions.

[0069] In the technical solution provided by the present invention, a fault guidance request sent by a target user terminal is received, and target fault information and an original user portrait are obtained according to the fault guidance request; associated users are searched through the original user portrait to obtain multiple initial associated user portraits, and according to the target fault information, label alignment is performed on the multiple initial associated user portraits and the original user portrait respectively to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait; similarity calculation is performed on each target associated user portrait and the target user portrait, and a similar user portrait corresponding to the target user is determined from the multiple target associated user portraits according to the result of the similarity calculation; state prediction is performed on the similar user portrait corresponding to the target user to obtain a target state label; fault resolution guidance is generated according to the target state label, and the fault resolution guidance is issued to the target user terminal. In an embodiment of the present invention, the target fault information and the original user portrait of the target user are obtained through the fault guidance request sent by the target user terminal, and then the associated user is searched through the original user portrait to obtain the initial associated user portrait associated with the target user, and the labels in the initial associated user portrait and the original user portrait are aligned according to the target fault information to obtain the associated user portrait and the target user portrait. In order to screen out similar users with high state similarity with the target user from the associated user portrait, the similarity of the target associated user portrait and the target user portrait is calculated to obtain a similar user portrait, and the state of the target user is predicted through the similar user portrait to obtain the target state label of the target user, and finally a fault resolution guide is generated based on the target state label. The present invention can improve the accuracy of fault guidance. BRIEF DESCRIPTION OF THE DRAWINGS

[0070] Figure 1 A schematic diagram of an embodiment of a method for generating a fault resolution guide in an embodiment of the present invention;

[0071] Figure 2 A schematic diagram of another embodiment of a method for generating a fault resolution guide in an embodiment of the present invention;

[0072] Figure 3 A schematic diagram of an embodiment of a device for generating a fault resolution guide in an embodiment of the present invention;

[0073] Figure 4 A schematic diagram of another embodiment of a device for generating a fault resolution guide in an embodiment of the present invention;

[0074] Figure 5 A schematic diagram of an embodiment of a device for generating a fault resolution guide in an embodiment of the present invention. DETAILED DESCRIPTION

[0075] The embodiments of the present invention provide a method, apparatus, device and storage medium for generating a fault resolution guide, which are used to improve the accuracy of the fault resolution guide.

[0076] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention 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 interchanged where appropriate, so that the embodiments described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "including" or "having" and any variations thereof 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.

[0077] It is understandable that the execution subject of the present invention may be a device for generating fault resolution instructions, or may be a terminal or a server, which is not limited here. The embodiment of the present invention is described by taking a server as the execution subject as an example.

[0078] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , an embodiment of a method for generating a fault resolution guide in an embodiment of the present invention includes:

[0079] 101. Receive a fault guidance request sent by a target user terminal, and obtain target fault information and an original user portrait according to the fault guidance request;

[0080] It should be noted that when a terminal user encounters a fault problem, a fault guidance request can be sent through the terminal to obtain fault resolution guidance through the fault guidance request. For example, if the terminal application data loading speed is slow, the user can be guided to switch the network to solve the problem encountered by the terminal user. In one embodiment, the target fault information can be the application fault information of the target user terminal, or it can be the system fault information of the target user terminal, which is not specifically limited, so that the fault guidance application range of the terminal is wider.

[0081] In one implementation, the fault guidance request can be actively sent by the user. For example, if a fault occurs in the target user terminal during the use of the terminal application, the user sends a fault guidance request through a fault feedback button. The fault guidance request can also be automatically sent through a fault information collection script installed in the target user terminal. For example, if a system crash occurs in the target user terminal during the use of the terminal system, the fault information collection script captures the system crash record and automatically sends a fault guidance request to obtain fault resolution guidance. The specific implementation is not limited. This implementation can flexibly send fault guidance instructions, so that most of the fault problems encountered by the terminal user can obtain guidance, thereby improving the user experience.

[0082] In one embodiment, if the target fault information is application fault information of the target user terminal, then the original user portrait is obtained through the application registration information of the target user in the target application; if the target fault information is system fault information of the target user terminal, then the original user portrait is obtained through the system registration information of the target user in the terminal system. There is no specific limitation. This embodiment can flexibly obtain user portrait information to improve the accuracy of fault guidance.

[0083] 102. Search for associated users through the original user portrait to obtain multiple initial associated user portraits, and perform label alignment on the multiple initial associated user portraits and the original user portrait according to the target fault information to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait;

[0084] In one embodiment, the server searches for the associated user identifier corresponding to the target user through the associated user tag in the original user portrait, and obtains multiple initial associated user portraits through the associated user identifier. In another embodiment, the server generates a target fault tag according to the target fault information, and searches for associated users through the historical fault tags in the preset user portrait system to obtain multiple initial associated user portraits, wherein the historical fault tag is used to indicate the same fault tag as the target fault tag. Specifically, the server searches for user portraits with the same historical fault tags from the preset user portrait system, and sets the user portraits with the same historical fault tags as associated user portraits to obtain multiple initial associated user portraits. If the target fault tag is a "system crash tag", then the server searches for the initial associated user portraits with the "system crash tag" from the preset user portrait system to obtain associated users who have encountered similar fault problems, and further performs association analysis to generate accurate fault resolution guidance.

[0085] In one embodiment, the server generates a target fault tag based on the target fault information, and obtains a target tag set corresponding to the target fault tag. For example, the target fault tag generated by the server through the target fault information is a "location fault tag", then the target tag set corresponding to the "location fault tag" can be a tag set related to the geographic location, such as the store address where the transaction occurs, the start and end point information of the navigation software, etc., without specific limitation. Then, based on the target label set, label alignment is performed on each initial associated user portrait and the original user portrait respectively, and the target associated user portrait corresponding to each initial associated user portrait and the target user portrait corresponding to the original user portrait are obtained, wherein label alignment refers to the alignment of labels with the same attributes, such as an initial associated user portrait includes target labels A1, target labels A2 and target labels A3, and the original user portrait includes target labels B1, target labels B2, target labels B3 and target labels B4, wherein A1 and B1 are the same attributes, A2 and B2 are the same attributes, and A3 and B3 are the same attributes, then, after the alignment of the initial associated user portrait, the target associated user portrait includes an ordered label set: target label A1, target label A2 and target label A3, and the target user portrait includes an ordered label set: target label B1, target label B2, target label B3. This implementation method can perform label denoising and alignment on the target user's portrait and the associated user's portrait through fault information, reduce the amount of data processing, and improve the efficiency of generating subsequent fault resolution guidance.

[0086] It should be noted that after the server performs label alignment on multiple initial associated user portraits and original user portraits respectively, the target associated user portrait and the target user portrait obtained are portrait data with the same label type and the same number of labels. For example, if there is a "geolocation label" in the target associated user portrait, then there is also a "geolocation label" in the target user portrait. If there are 100 labels in the target associated user portrait, then there are also 100 labels in the target user portrait, without specific limitation. However, the label values ​​corresponding to each label in the target associated user portrait and the target user portrait may be different. For example, the label value corresponding to the "geolocation label" in the target associated user portrait is "Beijing", while the label value corresponding to the "geolocation label" in the target user portrait can be "Beijing" or other, without specific limitation. This implementation method can improve data processing efficiency through label alignment, thereby improving the efficiency of generating fault resolution instructions.

[0087] 103. Calculate the similarity between each target-associated user portrait and the target user portrait, and determine a similar user portrait corresponding to the target user from the multiple target-associated user portraits according to the similarity calculation result;

[0088] In one embodiment, after the server obtains multiple target associated user portraits and target user portraits after noise reduction and alignment, it vectorizes each target associated user portrait and target user portrait through unique hot encoding to obtain multiple associated user vectors and target user vectors, wherein each associated user vector is used to indicate the portrait feature of the corresponding associated user, and the server then calculates the similarity of each associated user vector and the target user vector through the cosine similarity algorithm to obtain the similarity value corresponding to each associated user vector, and determines whether the similarity value corresponding to each associated user vector is greater than a preset similarity threshold, and sets the associated user vector corresponding to the associated user vector whose similarity value is greater than the preset similarity threshold as the target associated user vector, and then sets the target associated user portrait corresponding to the target associated user vector as the similar user portrait corresponding to the target user. This embodiment can perform similarity calculation through digitally processed portrait data, thereby obtaining the associated user most similar to the target user, and then generating more accurate fault resolution guidance.

[0089] It should be noted that the server vectorizes each target-associated user portrait and target user portrait through one-hot encoding to obtain multiple associated user vectors and target user vectors. Specifically, the server encodes the corresponding labels and label values ​​in each target-associated user portrait and target user portrait to obtain the associated user vector corresponding to each target-associated user portrait and the target user vector corresponding to the target user portrait. For example, the "gender label" in a target-associated user portrait and the target user portrait is encoded according to the label sequence number. Assuming that the label sequence number is "123", the label value is encoded. For example, if the label value is "male", it is encoded as "1", and the label value is encoded as "female", it is encoded as "0". Then, one of the associated user vectors or the target user vector can be [123,0], or [123,1], without specific limitation.

[0090] 104. Perform state prediction on similar user portraits corresponding to the target user to obtain a target state label;

[0091] It should be noted that after obtaining the similar user portrait that is most similar to the target user, the server predicts the state of the target user through the similar user portrait, thereby obtaining the target state label of the target user, wherein the target state label is used to indicate the environment state, device state, network state, etc. of the target user terminal, which are labels reflecting the state of the target user terminal. For example, by predicting the state of the target user, the target state label of the target user is obtained as "abroad", then the corresponding overseas network fault resolution guidance can be generated through the target state label, thereby accurately resolving the fault problems encountered by the target user.

[0092] In one embodiment, the server predicts the status of the target user through the status tag in the similar user portrait. Since the similar user portrait is the user portrait most similar to the target user, the server sets the status tag in the similar user portrait as the status tag of the target user, thereby obtaining the target status tag of the target user, which can quickly determine the current status of the target user and generate accurate troubleshooting guidance. For example, if the status tag of the similar user portrait is "in a mountainous area", then the target status tag of the target user is also "in a mountainous area", without specific limitation.

[0093] 105. Generate a fault resolution guide based on the target status tag, and send the fault resolution guide to the target user terminal.

[0094] It should be noted that the server generates a troubleshooting guide based on the target status label. In one embodiment, the troubleshooting guide further determines the troubleshooting problem encountered by the target user in the form of a questionnaire. For example, if the target status label is "abroad", then a questionnaire "Are you abroad?" is generated. If the user selects "yes", the troubleshooting guide for the overseas environment is sent to the target user terminal to accurately solve the troubleshooting problem encountered by the target user terminal.

[0095] Furthermore, the server stores the troubleshooting instructions in the blockchain database, which is not specifically limited here.

[0096] In an embodiment of the present invention, the target fault information and the original user portrait of the target user are obtained through the fault guidance request sent by the target user terminal, and then the associated user is searched through the original user portrait to obtain the initial associated user portrait associated with the target user, and the labels in the initial associated user portrait and the original user portrait are aligned according to the target fault information to obtain the associated user portrait and the target user portrait. In order to screen out similar users with high state similarity with the target user from the associated user portrait, the similarity of each target associated user portrait and the target user portrait is calculated to obtain a similar user portrait, and the state of the target user is predicted through the similar user portrait to obtain the target state label of the target user, and finally a fault resolution guide is generated based on the target state label. The present invention can improve the accuracy of fault guidance.

[0097] See also Figure 2 Another embodiment of the method for generating a fault resolution guide in the embodiment of the present invention includes:

[0098] 201. Receive a fault guidance request sent by a target user terminal, and obtain an operation log within a preset time period and a preset original user portrait through the fault guidance request;

[0099] In this implementation, in order to accurately identify the fault problem encountered by the target user terminal, the server obtains the operation log within a preset time period and the preset original user portrait, wherein the original user portrait is used to indicate the portrait data of the target user, and the operation log within the preset time period, such as the operation log within 1 day, wherein the operation log can be an application operation log or a system operation log, without specific limitation.

[0100] 202. Extracting operation abnormality information from the operation log to obtain operation fault information, and identifying missing data from the original user portrait to obtain portrait missing information, where the portrait missing information is used to indicate missing labels of the target user;

[0101] It should be noted that the server extracts abnormal information in the operation log through a preset regular expression to obtain operation failure information, such as system crash information, network abnormality information, etc. In some terminal failures, the user portrait data collection of the target user will fail. The server obtains the missing information of the failed collection by identifying the missing data of the original user portrait. Specifically, the server compares the labels of the original user portrait with the preset benchmark user portrait to obtain the missing label information, and sets the missing label information as the missing portrait information. The missing portrait information is used to indicate the missing label of the target user. This embodiment can obtain the user portrait data of the failed collection to further determine the fault problem encountered by the target user and accurately generate fault resolution guidance.

[0102] 203. Merge the operation fault information and the image missing information to obtain target fault information;

[0103] It should be noted that the server merges the operation fault information and the portrait missing information to obtain the target fault information, and the target fault information is used for subsequent similar user identification and further determination of the fault problem encountered by the target user.

[0104] 204. Search for associated users through the original user portrait to obtain multiple initial associated user portraits, and perform label alignment on the multiple initial associated user portraits and the original user portrait according to the target fault information to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait;

[0105] Specifically, the server extracts an associated user identifier of the target user based on the old-with-new label in the original user portrait, and extracts multiple initial associated user portraits corresponding to the associated user identifier from a preset user portrait system; the server identifies the fault type of the target fault information to obtain a target fault type, which includes at least one of an operation fault type, a data fault type, or a network fault type; the server performs label alignment on multiple initial associated user portraits and the original user portrait according to the target fault type, to obtain a target associated user portrait corresponding to each initial associated user portrait and a target user portrait corresponding to the original user portrait.

[0106] In this implementation, since there is a scenario of MGM (member getting member) in application registration, and the referral is usually a mutual recommendation between users with a close relationship, such as couples or besties, the initial associated user portrait associated with the target user can be accurately obtained through the "member getting member" label in the original user portrait, thereby improving the accuracy of subsequent status prediction of the target user through the initial associated user portrait, and further improving the accuracy of generating troubleshooting guidance.

[0107] In this implementation, in order to further determine the type of fault encountered by the target user terminal, the server identifies the fault type in the target fault information through a preset regular expression to obtain a target fault type, wherein the target fault type includes at least one of an operation fault type, a data fault type, or a network fault type. The operation fault type refers to an application fault or a system fault that occurs during the operation of the application or system, the data fault type refers to a data transmission fault, and the network fault type refers to a network access fault. Different target fault types correspond to different target label sets, such as an operation fault type can correspond to a terminal device label set, a data fault type can correspond to a terminal application label set, and a network fault type can correspond to a terminal network environment set, without collective limitation.

[0108] In this implementation, the server performs label alignment on the initial associated user portrait and the original user portrait according to the target label set corresponding to the target fault type to obtain an aligned target associated user portrait and a target user portrait, wherein the aligned target associated user portrait and the target user portrait include user labels of the same type and the same number.

[0109] Furthermore, label alignment is performed on multiple initial associated user portraits and original user portraits according to the target fault type to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait, including: the server screens the fault labels of each initial associated user portrait and the original user portrait according to the target fault type to obtain a first fault type label corresponding to each initial associated user portrait and a second fault type label corresponding to the original user portrait; the server generates placeholders for the missing labels in the original user portrait according to the portrait missing information in the target fault information to obtain a placeholder label; the server merges the first fault type labels corresponding to each initial associated user portrait to obtain a target associated user portrait corresponding to each initial associated user portrait, and merges the second fault type label with the placeholder label to obtain a target user portrait corresponding to the original user portrait.

[0110] It should be noted that the server performs label fault label screening on the initial associated user portrait and the original user portrait according to the target label set corresponding to the target fault type, and obtains the first fault type label corresponding to each initial associated user portrait and the second fault type label corresponding to the original user portrait, wherein the first fault type label and the second fault type label both contain multiple labels in the target label set, but do not contain labels outside the target label set, that is, the first fault type label and the second fault type label are subsets of the target label set. In order to further improve the subsequent data processing efficiency, the server generates a placeholder for the missing label in the second fault type label according to the missing information of the portrait in the target fault information, and obtains a placeholder label, wherein the placeholder label is used to indicate the missing label of the second fault type label relative to the first fault type label, such as the first fault type label includes {a,b,c,d,e}, and the second fault type label includes {a,c,e}, then the placeholder label is {b,d}, which is not specifically limited. It should be noted that the placeholder label does not indicate a specific label value, but only serves as a position. The placeholder label indicates both the missing information of the portrait in the target fault information and the placeholder of the missing label in the second fault type label. The server finally sets the first fault type label as the label set of the target associated user portrait, and sets the second fault type label and the placeholder label as the label set of the target user portrait, so that the initial associated user portrait and the original user portrait labels are aligned, improving the efficiency of subsequent data processing.

[0111] 205. Calculate the similarity between each target-associated user portrait and the target user portrait, and determine a similar user portrait corresponding to the target user from the multiple target-associated user portraits according to the result of the similarity calculation;

[0112] Specifically, the server maps each target-associated user portrait and the target user portrait into a feature vector, and obtains a first feature vector corresponding to the target user portrait and a second feature vector corresponding to each target-associated user portrait; the server calculates the similarity between the first feature vector corresponding to the target user portrait and the second feature vector corresponding to each target-associated user portrait, and obtains a feature similarity value; the server sets the target-associated user portrait whose feature similarity value is greater than a preset feature similarity threshold as a similar user portrait corresponding to the target user.

[0113] It should be noted that in order to measure the similarity between each associated user portrait in the target associated user portrait and the target user portrait, the server vectorizes each associated user portrait in the target associated user portrait and the target user portrait to obtain a first feature vector corresponding to the target user portrait and a second feature vector corresponding to each associated user portrait in the target associated user portrait. The server then performs segmentation processing on the first feature vector and each second feature vector to obtain multiple segments of first feature components corresponding to the first feature vector and multiple segments of second feature components corresponding to each second feature vector, and then performs one-to-one segmentation similarity calculation on the multiple segments of first feature components corresponding to the first feature vector and the multiple segments of second feature components corresponding to each second feature vector to obtain a first similarity value corresponding to each segment of the second feature component in each second feature vector. For example, the first feature vector includes a first feature component A1, a first feature component A2, and a first feature component A3, and the second feature vector includes a second feature component B1, a second feature component B2, and a second feature component B3. Then, the first feature component A1 is calculated one-to-one with the second feature component B1 for similarity to obtain a first similarity value between A1 and B1, the first feature component A2 is calculated with the second feature component B2 for similarity to obtain a first similarity value between A2 and B2, and the first feature component A3 is calculated with the second feature component B3 for similarity to obtain a first similarity value between A3 and B3. Next, the server calculates the mean of the first similarity values ​​corresponding to each segment of the second feature component in each second feature vector, obtains the mean similarity values ​​corresponding to each second feature vector, that is, the target similarity values ​​corresponding to each second feature vector and the first feature vector, and then determines whether the target similarity values ​​corresponding to each second feature vector and the first feature vector are greater than the preset similarity threshold, and sets the target-associated user portrait whose feature similarity value is greater than the preset feature similarity threshold as the similar user portrait corresponding to the target user. This embodiment calculates the similarity between feature vectors through a segmented similarity algorithm, which can improve the efficiency of similarity calculation, and thus improve the efficiency of generating subsequent fault resolution instructions.

[0114] 206. Perform state prediction on similar user portraits corresponding to the target user to obtain a target state label;

[0115] Specifically, the server generates logs according to preset portrait data, extracts state tags for similar user portraits and target user portraits respectively, and obtains multiple first state tags corresponding to similar user portraits and multiple second state tags corresponding to target user portraits; the server vectorizes each first state tag and multiple second state tags corresponding to the target user portraits respectively, and obtains a first state vector corresponding to each first state tag and a second state vector corresponding to each second state tag; the server calculates the similarity between the first state vector corresponding to each first state tag and the second state vector corresponding to each second state tag, and obtains a state similarity value; the server sets the first state tag whose state similarity value is greater than a preset state similarity threshold as the target state tag of the target user.

[0116] It should be noted that since the similar user portrait is portrait data with a highly similar state to the target user, the similar user portrait and the target user portrait have state tags with high similarity, and these state tags with high similarity can indicate the state of the target user, such as "being abroad". Then, the server generates the generation time of the portrait data in the preset portrait data generation log, extracts the state tags in the similar user portrait and the target user portrait whose generation time is later than the preset generation time, and obtains multiple first state tags corresponding to the similar user portrait and multiple second state tags corresponding to the target user portrait, and then converts the multiple first state tags corresponding to the similar user portrait and the multiple second state tags corresponding to the target user portrait into vectors, and obtains the first state vector corresponding to each first state tag and the second state vector corresponding to each second state tag, and obtains the state similarity value by calculating the similarity between the first state vector corresponding to each first state tag and the second state vector corresponding to each second state tag, and sets the first state tag whose state similarity value is greater than the preset state similarity threshold as the target state tag of the target user. For example, the first state label A1, the first state label A2 and the first state label A3, the second state label B1, the second state label B2 and the second state label B3, the target similarity value of A1 and B1 is 88%, the target similarity value of A2 and B2 is 98%, the target similarity value of A3 and B3 is 70%, and the preset similarity threshold is 90%, then A2 and A2 are set as the target state labels of the target user.

[0117] 207. Generate a fault resolution guide based on the target status tag, and send the fault resolution guide to the target user terminal.

[0118] Specifically, the server obtains a preset fault solving guidance template set, where the fault solving guidance template includes a fault question, multiple fault question options, and fault solving guidance corresponding to each fault question option; the server obtains a target guidance template from the fault solving guidance template set according to the target status label, and generates a corresponding fault solving guidance based on the target guidance template; the server sends the fault solving guidance to the target user terminal.

[0119] It should be noted that different status labels correspond to different fault resolution guidance templates. The server obtains the target guidance template from the preset fault resolution guidance template library according to the target status label, wherein the fault resolution guidance template includes a fault question, multiple fault question options and a fault resolution guidance corresponding to each fault question option. For example, a fault question in a fault resolution guidance template is "Are you abroad?", and the fault question options are "Yes" and "No". When the fault question option is "Yes", the corresponding fault resolution guidance may be "Please check in for international roaming network access settings", and when the fault question option is "No", the corresponding fault resolution guidance may be "Please switch the network mode to flight mode and then restart the network". The server finally sends the fault resolution guidance to the target user terminal, so that the target user selects the fault question option according to the fault question in the fault resolution guidance and obtains the corresponding resolution guidance. This implementation method can accurately generate fault resolution guidance.

[0120] In an embodiment of the present invention, a running log is obtained through a fault guidance request sent by a target user terminal, and abnormal information is extracted from the running log to obtain running fault information indicating a running fault, and then missing data is identified for the original user portrait to obtain missing portrait information, and target fault information is obtained by merging the running fault information and the missing portrait information, and then an associated user search is performed through the original user portrait to obtain an initial associated user portrait associated with the target user, and the labels in the initial associated user portrait and the original user portrait are aligned according to the target fault information to obtain an associated user portrait and a target user portrait, and in order to filter out similar users with high state similarity to the target user from the associated user portrait, similarity calculation is performed on the target associated user portrait and the target user portrait to obtain a similar user portrait, and the state of the target user is predicted through the similar user portrait to obtain a target state label of the target user, and finally a fault resolution guide is generated based on the target state label. The present invention can improve the accuracy of fault guidance.

[0121] The above describes the method for generating a fault solution guide in an embodiment of the present invention. The following describes the device for generating a fault solution guide in an embodiment of the present invention. Figure 3 In one embodiment of the present invention, a device for generating a fault resolution guide includes:

[0122] The receiving module 301 is used to receive a fault guidance request sent by a target user terminal, and obtain target fault information and an original user portrait according to the fault guidance request;

[0123] An alignment module 302 is used to search for associated users through the original user portrait to obtain multiple initial associated user portraits, and to perform label alignment on the multiple initial associated user portraits and the original user portrait according to the target fault information to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait;

[0124] The calculation module 303 is used to calculate the similarity between each target-associated user portrait and the target user portrait, and determine the similar user portrait corresponding to the target user from the multiple target-associated user portraits according to the result of the similarity calculation;

[0125] A prediction module 304 is used to perform state prediction on a similar user portrait corresponding to the target user to obtain a target state label;

[0126] The generating module 305 is used to generate a fault resolution guide according to the target status tag, and send the fault resolution guide to the target user terminal.

[0127] Furthermore, the troubleshooting instructions are stored in the blockchain database, which is not specifically limited here.

[0128] In an embodiment of the present invention, the target fault information and the original user portrait of the target user are obtained through the fault guidance request sent by the target user terminal, and then the associated user is searched through the original user portrait to obtain the initial associated user portrait associated with the target user, and the labels in the initial associated user portrait and the original user portrait are aligned according to the target fault information to obtain the associated user portrait and the target user portrait. In order to screen out similar users with high state similarity with the target user from the associated user portrait, the similarity of the target associated user portrait and the target user portrait is calculated to obtain a similar user portrait, and the state of the target user is predicted through the similar user portrait to obtain the target state label of the target user, and finally a fault resolution guide is generated based on the target state label. The present invention can improve the accuracy of fault guidance.

[0129] See also Figure 4 Another embodiment of the device for generating a fault resolution guide in the embodiment of the present invention includes:

[0130] The receiving module 301 is used to receive a fault guidance request sent by a target user terminal, and obtain target fault information and an original user portrait according to the fault guidance request;

[0131] An alignment module 302 is used to search for associated users through the original user portrait to obtain multiple initial associated user portraits, and to perform label alignment on the multiple initial associated user portraits and the original user portrait according to the target fault information to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait;

[0132] The calculation module 303 is used to calculate the similarity between each target-associated user portrait and the target user portrait, and determine the similar user portrait corresponding to the target user from the multiple target-associated user portraits according to the result of the similarity calculation;

[0133] A prediction module 304 is used to perform state prediction on a similar user portrait corresponding to the target user to obtain a target state label;

[0134] The generating module 305 is used to generate a fault resolution guide according to the target status tag, and send the fault resolution guide to the target user terminal.

[0135] Optionally, the receiving module 301 is specifically used for:

[0136] Receiving a fault guidance request sent by a target user terminal, and obtaining an operation log within a preset time period and a preset original user portrait through the fault guidance request;

[0137] Extracting operation abnormality information from the operation log to obtain operation fault information, and identifying missing data from the original user portrait to obtain portrait missing information, where the portrait missing information is used to indicate missing labels for the target user;

[0138] The operation fault information and the image missing information are combined to obtain target fault information.

[0139] Optionally, the alignment module 302 includes:

[0140] An extraction unit 3021 is used to extract an associated user identifier of a target user according to the old-with-new label in the original user portrait, and extract a plurality of initial associated user portraits corresponding to the associated user identifier from a preset user portrait system;

[0141] An identification unit 3022 is used to identify the fault type of the target fault information to obtain a target fault type, where the target fault type includes at least one of an operation fault type, a data fault type, or a network fault type;

[0142] The alignment unit 3023 is used to perform label alignment on multiple initial associated user portraits and the original user portrait according to the target fault type, so as to obtain a target associated user portrait corresponding to each initial associated user portrait and a target user portrait corresponding to the original user portrait.

[0143] Optionally, the alignment unit 3023 is specifically used for:

[0144] According to the target fault type, each of the initial associated user portraits and the original user portrait is screened for fault labels to obtain a first fault type label corresponding to each of the initial associated user portraits and a second fault type label corresponding to the original user portrait;

[0145] According to the missing portrait information in the target fault information, a placeholder generation process is performed on the missing labels in the original user portrait to obtain a placeholder label;

[0146] The first fault type labels corresponding to the initial associated user portraits are merged to obtain the target associated user portraits corresponding to the initial associated user portraits, and the second fault type label and the placeholder label are merged to obtain the target user portrait corresponding to the original user portrait.

[0147] Optionally, the calculation module 303 is specifically used for:

[0148] Mapping each target-associated user portrait and the target user portrait into a feature vector, obtaining a first feature vector corresponding to the target user portrait and a second feature vector corresponding to each target-associated user portrait;

[0149] Calculate the similarity between the first feature vector corresponding to the target user portrait and the second feature vector corresponding to each target-associated user portrait to obtain a feature similarity value;

[0150] The target-associated user portrait whose feature similarity value is greater than a preset feature similarity threshold is set as the similar user portrait corresponding to the target user.

[0151] Optionally, the prediction module 304 is specifically used for:

[0152] Generating a log according to preset portrait data, extracting status labels for the similar user portrait and the target user portrait respectively, and obtaining a plurality of first status labels corresponding to the similar user portrait and a plurality of second status labels corresponding to the target user portrait;

[0153] Performing vectorization processing on each of the first state tags and a plurality of second state tags corresponding to the target user portrait, respectively, to obtain a first state vector corresponding to each first state tag and a second state vector corresponding to each second state tag;

[0154] Calculate the similarity between the first state vector corresponding to each first state label and the second state vector corresponding to each second state label to obtain a state similarity value;

[0155] The first state tag whose state similarity value is greater than a preset state similarity threshold is set as the target state tag of the target user.

[0156] Optionally, the generating module 305 is specifically used for:

[0157] Obtaining a preset set of fault resolution guidance templates, wherein the fault resolution guidance templates include a fault question, a plurality of fault question options, and a fault resolution guidance corresponding to each fault question option;

[0158] According to the target state label, obtaining a target guidance template from the fault resolution guidance template set, and generating a corresponding fault resolution guidance based on the target guidance template;

[0159] The fault resolution guide is sent to the target user terminal.

[0160] In an embodiment of the present invention, a running log is obtained through a fault guidance request sent by a target user terminal, and abnormal information is extracted from the running log to obtain running fault information indicating a running fault, and then missing data is identified for the original user portrait to obtain missing portrait information, and target fault information is obtained by merging the running fault information and the missing portrait information, and then an associated user search is performed through the original user portrait to obtain an initial associated user portrait associated with the target user, and the labels in the initial associated user portrait and the original user portrait are aligned according to the target fault information to obtain an associated user portrait and a target user portrait, and in order to filter out similar users with high state similarity to the target user from the associated user portrait, similarity calculation is performed on the target associated user portrait and the target user portrait to obtain a similar user portrait, and the state of the target user is predicted through the similar user portrait to obtain a target state label of the target user, and finally a fault resolution guide is generated based on the target state label. The present invention can improve the accuracy of fault guidance.

[0161] above Figure 3 and Figure 4 The apparatus for generating a fault solution guide in the embodiment of the present invention is described in detail from the perspective of modular functional entities. The device for generating a fault solution guide in the embodiment of the present invention is described in detail from the perspective of hardware processing.

[0162] Figure 51 is a schematic diagram of the structure of a device for generating a fault resolution guide provided by an embodiment of the present invention. The device 500 for generating a fault resolution guide may have relatively large differences due to different configurations or performances, and may include one or more processors (central processing units, CPU) 510 (for example, one or more processors) and a memory 520, and one or more storage media 530 (for example, one or more mass storage devices) storing application programs 533 or data 532. Among them, the memory 520 and the storage medium 530 may be temporary storage or permanent storage. The program stored in the storage medium 530 may include one or more modules (not shown in the figure), and each module may include a series of computer program operations in the device 500 for generating a fault resolution guide. Furthermore, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of computer program operations in the storage medium 530 on the device 500 for generating a fault resolution guide.

[0163] The troubleshooting guide generating device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 560, and / or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. It will be appreciated by those skilled in the art that Figure 5 The structure of the device for generating a fault-solving guide shown does not constitute a limitation on the device for generating a fault-solving guide, and may include more or less components than those shown in the figure, or may combine certain components, or may have different arrangements of components.

[0164] The present invention also provides a computer device, which includes a memory and a processor, wherein a computer-readable computer program is stored in the memory, and when the computer-readable computer program is executed by the processor, the processor executes the steps of the method for generating fault-solving instructions in the above-mentioned embodiments.

[0165] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program runs on a computer, the computer executes the steps of the method for generating troubleshooting instructions.

[0166] Furthermore, the computer-readable storage medium may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created according to the use of the blockchain node, etc.

[0167] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0168] 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.

[0169] 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 invention is essentially 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. The computer software product is stored in a storage medium, including several computer programs to enable a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0170] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced 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 invention.

Claims

1. A method for generating a fault resolution guide, characterized in that: The method for generating the fault resolution guide includes: Receive a fault guidance request sent by a target user terminal, and obtain target fault information and an original user portrait according to the fault guidance request; Searching for associated users through the original user portrait to obtain multiple initial associated user portraits, and aligning labels of the multiple initial associated user portraits and the original user portrait according to the target fault information to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait; Calculate the similarity between each target-associated user portrait and the target user portrait, and determine a similar user portrait corresponding to the target user from the multiple target-associated user portraits according to the similarity calculation result; Generating a log according to preset portrait data, extracting status labels for the similar user portrait and the target user portrait respectively, and obtaining a plurality of first status labels corresponding to the similar user portrait and a plurality of second status labels corresponding to the target user portrait; Performing vectorization processing on each of the first state tags and a plurality of second state tags corresponding to the target user portrait, respectively, to obtain a first state vector corresponding to each first state tag and a second state vector corresponding to each second state tag; Calculate the similarity between the first state vector corresponding to each first state label and the second state vector corresponding to each second state label to obtain a state similarity value; The first state tag whose state similarity value is greater than a preset state similarity threshold is set as a target state tag of the target user; Obtaining a preset fault solving guidance template set, wherein the fault solving guidance template includes a fault question, a plurality of fault question options, and a fault solving guidance corresponding to each fault question option; According to the target state label, obtaining a target guidance template from the fault resolution guidance template set, and generating a corresponding fault resolution guidance based on the target guidance template; The fault resolution guide is sent to the target user terminal.

2. The method for generating a troubleshooting guide according to claim 1, characterized in that: The acquiring target fault information and the original user portrait according to the fault guidance request includes: Obtaining the operation log within a preset time period and the preset original user portrait through the fault guidance request; Extracting operation abnormality information from the operation log to obtain operation fault information, and identifying missing data from the original user portrait to obtain portrait missing information, where the portrait missing information is used to indicate missing labels for the target user; The operation fault information and the image missing information are combined to obtain target fault information.

3. The method for generating a troubleshooting guide according to claim 2, characterized in that: The associated user search is performed through the original user portrait to obtain a plurality of initial associated user portraits, and according to the target fault information, label alignment is performed on the plurality of initial associated user portraits and the original user portrait respectively to obtain a target associated user portrait corresponding to each initial associated user portrait and a target user portrait corresponding to the original user portrait, including: Extracting an associated user identifier of the target user according to the old-with-new label in the original user portrait, and extracting a plurality of initial associated user portraits corresponding to the associated user identifier from a preset user portrait system; Performing fault type identification on the target fault information to obtain a target fault type, where the target fault type includes at least one of an operation fault type, a data fault type, or a network fault type; Label alignment is performed on multiple initial associated user portraits and the original user portrait according to the target fault type to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait.

4. The method for generating a troubleshooting guide according to claim 3, characterized in that: The step of performing label alignment on a plurality of initial associated user portraits and the original user portrait according to the target fault type to obtain a target associated user portrait corresponding to each initial associated user portrait and a target user portrait corresponding to the original user portrait includes: According to the target fault type, each of the initial associated user portraits and the original user portrait is screened for fault labels to obtain a first fault type label corresponding to each of the initial associated user portraits and a second fault type label corresponding to the original user portrait; According to the missing portrait information in the target fault information, a placeholder generation process is performed on the missing label in the original user portrait to obtain a placeholder label; The first fault type labels corresponding to the initial associated user portraits are merged to obtain the target associated user portraits corresponding to the initial associated user portraits, and the second fault type label and the placeholder label are merged to obtain the target user portrait corresponding to the original user portrait.

5. The method for generating a troubleshooting guide according to claim 1, characterized in that: The similarity calculation of each target-associated user portrait and the target user portrait to obtain a similar user portrait corresponding to the target user includes: Mapping each target-associated user portrait and the target user portrait into a feature vector, obtaining a first feature vector corresponding to the target user portrait and a second feature vector corresponding to each target-associated user portrait; Calculate the similarity between the first feature vector corresponding to the target user portrait and the second feature vector corresponding to each target-associated user portrait to obtain a feature similarity value; The target-associated user portrait whose feature similarity value is greater than a preset feature similarity threshold is set as the similar user portrait corresponding to the target user.

6. A device for generating a troubleshooting guide, characterized in that: The device for generating the fault resolution guide comprises: A receiving module, configured to receive a fault guidance request sent by a target user terminal, and obtain target fault information and an original user portrait according to the fault guidance request; An alignment module is used to search for associated users through the original user portrait to obtain multiple initial associated user portraits, and to perform label alignment on the multiple initial associated user portraits and the original user portrait according to the target fault information to obtain target associated user portraits corresponding to each initial associated user portrait and target user portraits corresponding to the original user portrait; A calculation module, used to calculate the similarity between each target-associated user portrait and the target user portrait, and determine a similar user portrait corresponding to the target user from multiple target-associated user portraits according to the result of the similarity calculation; A prediction module is used to generate logs according to preset portrait data, extract state labels for the similar user portraits and the target user portraits respectively, and obtain multiple first state labels corresponding to the similar user portraits and multiple second state labels corresponding to the target user portraits; vectorize each of the first state labels and multiple second state labels corresponding to the target user portraits respectively to obtain a first state vector corresponding to each first state label and a second state vector corresponding to each second state label; calculate the similarity between the first state vector corresponding to each first state label and the second state vector corresponding to each second state label to obtain a state similarity value; set the first state label whose state similarity value is greater than a preset state similarity threshold as the target state label of the target user; A generation module is used to obtain a preset fault solving guidance template set, wherein the fault solving guidance template includes a fault question, multiple fault question options, and a fault solving guidance corresponding to each fault question option; according to the target state label, a target guidance template is obtained from the fault solving guidance template set, and a corresponding fault solving guidance is generated based on the target guidance template; and the fault solving guidance is sent to the target user terminal.

7. A device for generating troubleshooting instructions, characterized in that: The device for generating the fault resolution guide comprises: a memory and at least one processor, wherein the memory stores a computer program; The at least one processor calls the computer program in the memory to enable the fault-solving guide generation device to execute the fault-solving guide generation method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for generating a fault resolution guide as described in any one of claims 1 to 5 is implemented.