Information processing method and device
By automatically sharing and parsing fault diagnosis information in electronic devices, the problem of users in the existing technology that need to manually enter fault codes is solved, and a simpler and more efficient fault diagnosis process is achieved, improving the user experience.
Patent Information
- Application Number
- CN202110349822.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-31
- Publication Date
- 2025-04-22
- Estimated Expiration
- 2041-03-31
AI Technical Summary
Existing electronic equipment fault diagnosis devices require users to manually enter error codes, which are complex in operation and are prone to code input errors, and have poor user experience.
By obtaining the fault diagnosis information of the first electronic device and giving it to the second electronic device in a certain sharing manner, the second electronic device can determine the cause of the fault of the first electronic device based on the fault diagnosis information, and realize fault diagnosis without the need for a user to manually enter the fault code.
Simplified the fault diagnosis operation, improved the intelligence level of fault diagnosis, and significantly improved the user experience.
Smart Images

Figure CN113051119B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of fault diagnosis, and in particular to an information processing method and device. Background Art
[0002] With the development of fault diagnosis technology, electronic devices such as workstations, desktop computers, laptops and smart phones are usually equipped with fault diagnosis devices. When a fault occurs in an electronic device, the fault diagnosis device can diagnose the fault of the electronic device by itself. Under normal circumstances, the fault diagnosis device can display an error code through the display unit of the electronic device, requiring the user to manually input the error code into other electronic devices and query the cause of the fault and the solution through the other electronic devices. However, this makes the operation complicated and prone to code input errors, resulting in a poor user experience. Summary of the invention
[0003] The present application provides an information processing method and device. The technical solutions adopted in the embodiments of the present application are as follows:
[0004] The first aspect of the present application provides an information processing method, comprising:
[0005] Acquiring fault diagnosis information of the first electronic device;
[0006] The fault diagnosis information is provided to a second electronic device in a determined sharing manner, so that the second electronic device determines the cause of the fault of the first electronic device based on the fault diagnosis information, wherein the communication status between the first electronic device and the second electronic device is different, and the determined sharing manner is different.
[0007] In some embodiments, the obtaining the fault diagnosis information of the first electronic device includes:
[0008] In response to a fault occurring in the first electronic device, a fault diagnosis callback routine is called, and a fault diagnosis operation is performed on the first electronic device through the fault diagnosis callback routine to obtain the fault diagnosis information.
[0009] In some embodiments, the method further comprises:
[0010] Acquire first information of the communication unit of the first electronic device; wherein the first information can represent the communication state of the communication unit of the first electronic device;
[0011] determining, based on the first information, a communication state between the first electronic device and the second electronic device;
[0012] The sharing mode is determined according to a preset logical relationship based on the communication state between the first electronic device and the second electronic device.
[0013] In some embodiments, providing the fault diagnosis information to the second electronic device in a determined sharing manner includes:
[0014] Obtaining a confirmation instruction for a first sharing method, and generating a first identifier based on the fault diagnosis information;
[0015] displaying the first identifier through a display unit of the first electronic device, so that the second electronic device obtains the fault diagnosis information by identifying the first identifier; or
[0016] Acquire a confirmation instruction for the second sharing mode, and establish a communication connection with the second electronic device;
[0017] transmitting the fault diagnosis information to the second electronic device based on the communication connection; or
[0018] A determination instruction for a third sharing method is obtained, and a radio frequency signal is transmitted based on the fault diagnosis information so that the second electronic device receives the radio frequency signal, and obtains the fault diagnosis information based on the radio frequency signal.
[0019] In some embodiments, generating a first identifier based on the fault diagnosis information includes:
[0020] Acquire a fault code and fault description information of the first electronic device, and generate a QR code based on the fault code and the fault description information.
[0021] In some embodiments, the method further comprises:
[0022] A feedback signal generated by the second electronic device is received, and a display unit of the first electronic device is controlled to stop displaying the first identifier, or a display unit of the first electronic device is controlled to display a second identifier, wherein the second identifier is generated based on another fault diagnosis information.
[0023] In some embodiments, the receiving the feedback signal generated by the second electronic device includes:
[0024] receiving a light flashing signal generated by the second electronic device; or
[0025] Identify a third identifier displayed by a display unit of the second electronic device.
[0026] In some embodiments, the providing the fault diagnosis information to the second electronic device in a determined sharing manner so that the second electronic device determines the fault cause of the first electronic device based on the fault diagnosis information includes:
[0027] The fault diagnosis information is provided to the second electronic device in a determined sharing manner, so that the second electronic device is driven to determine the fault cause based on the fault diagnosis information, and determine a fault solution based on the fault cause.
[0028] In some embodiments, the sharing of the fault diagnosis information to the second electronic device in a determined manner so that the second electronic device determines the cause of the fault of the first electronic device based on the fault diagnosis information further includes:
[0029] driving the second electronic device to determine the fault type of the first electronic device based on the fault cause;
[0030] In the case where the first electronic device has a first type of fault, driving the display unit of the second electronic device to display the fault solution;
[0031] In the case that the first electronic device has a second type of fault, the fault solution transmitted by the second electronic device is received, and a fault repair operation is performed based on the fault solution.
[0032] A second aspect of the present application provides an information processing device, including:
[0033] A processing module, used to obtain fault diagnosis information of the first electronic device;
[0034] A sharing module is used to provide the fault diagnosis information to a second electronic device in a determined sharing manner, so that the second electronic device determines the cause of the fault of the first electronic device based on the fault diagnosis information, wherein the communication status between the first electronic device and the second electronic device is different, and the determined sharing manner is different.
[0035] The third aspect of the present application provides an electronic device, comprising at least a memory and a processor, wherein an executable program is stored in the memory, and the processor implements the following steps when executing the executable program in the memory:
[0036] Obtain fault diagnosis information of electronic equipment;
[0037] The fault diagnosis information is provided to a second electronic device in a determined sharing manner, so that the second electronic device determines the cause of the fault of the electronic device based on the fault diagnosis information, wherein the communication status between the electronic device and the second electronic device is different, and the determined sharing manner is different.
[0038] A fourth aspect of the present application provides a storage medium storing a computer program, which implements the following steps when the computer program is executed:
[0039] Acquiring fault diagnosis information of the first electronic device;
[0040] The fault diagnosis information is provided to a second electronic device in a determined sharing manner, so that the second electronic device determines the cause of the fault of the first electronic device based on the fault diagnosis information, wherein the communication status between the first electronic device and the second electronic device is different, and the determined sharing manner is different.
[0041] The information processing method of the embodiment of the present application obtains fault diagnosis information of the first electronic device when a fault occurs in the first electronic device, and can share the fault diagnosis information with the second electronic device in a determined manner, so that the second electronic device can determine the cause of the fault of the first electronic device based on the fault diagnosis information. There is no need for the user to manually transfer the fault diagnosis information between the first electronic device and the second electronic device by, for example, manually entering a fault code, which can simplify the fault diagnosis operation, improve the intelligence level of the fault diagnosis, and significantly improve the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 This is a flowchart of a first embodiment of the information processing method of the present application;
[0043] Figure 2 A flowchart of an embodiment of step S1 of the information processing method of an embodiment of the present application;
[0044] Figure 3 A scene diagram of the information processing method of an embodiment of the present application;
[0045] Figure 4 A flowchart of a second embodiment of the information processing method of the embodiment of the present application;
[0046] Figure 5 This is a structural block diagram of an information processing device according to an embodiment of the present application. DETAILED DESCRIPTION
[0047] Various aspects and features of the present application are described herein with reference to the accompanying drawings.
[0048] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.
[0049] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0050] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.
[0051] It should also be understood that although the present application has been described with reference to some specific examples, those skilled in the art will be able to readily implement many other equivalent forms of the present application.
[0052] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
[0053] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.
[0054] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.
[0055] The present application provides an information processing method, including:
[0056] Acquiring fault diagnosis information of the first electronic device;
[0057] The fault diagnosis information is provided to a second electronic device in a determined sharing manner, so that the second electronic device determines the cause of the fault of the first electronic device based on the fault diagnosis information, wherein the communication status between the first electronic device and the second electronic device is different, and the determined sharing manner is different.
[0058] The information processing method of the embodiment of the present application obtains fault diagnosis information of the first electronic device when a fault occurs in the first electronic device, and can share the fault diagnosis information with the second electronic device in a determined manner, so that the second electronic device can determine the cause of the fault of the first electronic device based on the fault diagnosis information. There is no need for the user to manually transfer the fault diagnosis information between the first electronic device and the second electronic device by, for example, manually entering a fault code, which can simplify the fault diagnosis operation, improve the intelligence level of the fault diagnosis, and significantly improve the user experience.
[0059] The steps and principles of the information processing method of the embodiment of the present application are described in detail below in conjunction with the specific implementation manner and the drawings in the specification.
[0060] Figure 1 This is a flowchart of the first embodiment of the information processing method of the present application embodiment, see Figure 1 As shown, the information processing method of the embodiment of the present application specifically includes the following steps:
[0061] S1, obtaining fault diagnosis information of the first electronic device 10.
[0062] Among them, the first electronic device 10 can be an electronic device such as a laptop computer, a tablet computer, an all-in-one computer, a smart phone, and a smart car. In the case that the first electronic device 10 fails, a fault diagnosis operation can be performed on the first electronic device 10 through, for example, a fault diagnosis system to obtain fault diagnosis information. Alternatively, the fault diagnosis information generated by the fault diagnosis system can also be obtained from the fault diagnosis system of the first electronic device 10. Alternatively, in the case that the first electronic device 10 fails, the fault diagnosis device of the peripheral device can be connected to the first electronic device 10 through an interface, and a fault diagnosis operation is performed on the first electronic device 10 to generate fault diagnosis information. The acquisition of the fault diagnosis information of the first electronic device 10 described here can be to obtain the fault diagnosis information from the fault diagnosis device of the peripheral device. The fault diagnosis information may include information that can identify or describe the fault condition of the first electronic device 10.
[0063] S2, providing the fault diagnosis information to the second electronic device 20 in a determined sharing manner, so that the second electronic device 20 determines the fault cause of the first electronic device 10 based on the fault diagnosis information, wherein the communication status between the first electronic device 10 and the second electronic device 20 is different, and the determined sharing manner is different.
[0064] In the case of obtaining the fault diagnosis information of the first electronic device 10, the communication state between the first electronic device 10 and the second electronic device 20 may be determined. The communication state between the first electronic device 10 and the second electronic device 20 may include the state of the communication connection between the first electronic device 10 and the second electronic device 20 when the first electronic device 10 is in a fault state. For example, it may include a state in which the first electronic device 10 and the second electronic device 20 have established a communication connection when the first electronic device 10 is currently in a fault state; or a state in which the first electronic device 10 and the second electronic device 20 have not established a communication connection, but the first electronic device 10 can establish a communication connection with the second electronic device 20 through one or more communication methods; or a state in which the first electronic device 10 cannot establish a communication connection with the second electronic device 20.
[0065] In a specific implementation, the communication state between the first electronic device 10 and the second electronic device 20 can be determined based on the first information of the communication unit of the first electronic device 10. The communication unit is used to transmit information with an external device, and the communication unit may include one or more sub-communication units, each of which can communicate with an external device such as the second electronic device 20 through its own unique communication method. The first information may include information that can characterize the communication state of the communication unit of the first electronic device 10, such as information that can characterize the driving state or response state of the communication unit, or information that can characterize the driving state or response state of one or more sub-communication units. If it is determined based on the first information that the driver program of the communication unit of the first electronic device 10 fails to start, or the communication unit of the first electronic device 10 is unresponsive, it can be determined that in the current fault state of the first electronic device 10, the first electronic device 10 and the second electronic device 20 are in a state where a communication connection cannot be established. If it is determined based on the first information that the first electronic device 10 has not established a communication connection with the second electronic device 20, but the driver programs of one or more sub-communication units in the communication unit have been started, and the one or more sub-communication units have responded, it can be determined that the first electronic device 10 and the second electronic device 20 are in a state where they can communicate through one or more communication methods. Alternatively, based on the first information, it can be determined that a communication connection has been established between the first electronic device 10 and the second electronic device 20, and communication can be performed based on the communication connection.
[0066] In the case of determining the communication state between the first electronic device 10 and the second electronic device 20, the sharing method can be determined based on the communication state between the first electronic device 10 and the second electronic device 20. The sharing method may include information transmission methods that do not require manual participation of the user, such as text, sound, electrical signal, image, color, light, etc. Specifically, the sharing method can be determined according to a preset logical relationship based on the communication state between the first electronic device 10 and the second electronic device 20. The preferred sharing method between the first electronic device 10 and the second electronic device 20 can be determined by the preset logical relationship. For example, in the case where the first electronic device 10 has established a communication connection with the second electronic device 20, it can be determined based on the preset logical relationship that the established communication connection is used to send fault diagnosis information to the second electronic device 20. When the first electronic device 10 is in a state where a communication connection can be established with the second electronic device 20 through multiple communication methods, a preferred communication method can be selected from them based on the preset logical relationship to establish a communication connection with the second electronic device 20, and then the fault diagnosis information is sent to the second electronic device 20 based on the established communication connection. The preferred communication method can be a communication method that is easy to connect, or a communication method with a large bandwidth, or a communication method with a fast data transmission speed, etc. When the first electronic device 10 cannot establish a communication connection with the second electronic device 20 , the fault diagnosis information can be transmitted to the second electronic device 20 by means of, for example, sound, image, light, etc.
[0067] In the case where the second electronic device 20 obtains the fault diagnosis information, the second electronic device 20 may determine the fault cause of the first electronic device 10 based on the fault diagnosis information. Specifically, the second electronic device 20 may determine the fault cause of the first electronic device 10 based on the fault diagnosis information and the locally stored data. For example, the second electronic device 20 may store a fault relationship table locally, and the fault relationship table may record the association relationship between the fault diagnosis information and the fault cause. In the case of obtaining the fault diagnosis information, the fault relationship table may be retrieved, and the fault cause may be found from the fault relationship table based on the fault diagnosis information. The second electronic device 20 may also interact with a third electronic device based on the fault diagnosis information to obtain the fault cause. The third electronic device may be, for example, a server, a cloud server, or a fault repair system. In the case of obtaining the fault diagnosis information, a search request may be generated based on the fault diagnosis information, and a search request may be sent to a server so that the server can find the fault cause based on the fault diagnosis information, and then the fault cause fed back by the server is received. Among them, the fault cause may include the cause of the first electronic device 10 failing, for example, the fault cause may include the first electronic device 10 failing due to a specific hardware failure, or the first electronic device 10 failing due to a specific software failure.
[0068] The information processing method of the embodiment of the present application obtains fault diagnosis information of the first electronic device 10 when a fault occurs in the first electronic device 10, and can share the fault diagnosis information with the second electronic device 20 in a determined manner, so that the second electronic device 20 can determine the cause of the fault of the first electronic device 10 based on the fault diagnosis information. There is no need for the user to manually transfer the fault diagnosis information between the first electronic device 10 and the second electronic device 20 by, for example, manually entering a fault code, which can simplify the fault diagnosis operation, improve the intelligence level of the fault diagnosis, and significantly improve the user experience.
[0069] In some embodiments, the acquiring the fault diagnosis information of the first electronic device 10 includes:
[0070] In response to a fault occurring in the first electronic device 10 , a fault diagnosis callback routine is called, and a fault diagnosis operation is performed on the first electronic device 10 through the fault diagnosis callback routine to obtain the fault diagnosis information.
[0071] Cooperate Figure 2 As shown, in a specific implementation, a fault diagnosis driver can be configured, and when the operating system of the first electronic device 10 is started, the fault diagnosis driver is loaded, and after the fault diagnosis driver is started, a fault diagnosis callback routine is created. If the creation of the fault diagnosis callback routine fails, the controller 11 such as an embedded controller can be notified, and the controller 11 drives the fault diagnosis driver to recreate the fault diagnosis callback routine. In the case that the first electronic device 10 does not have a fault, the fault diagnosis callback routine can be suspended to prevent the fault diagnosis callback routine from occupying memory resources and system resources.
[0072] In the event that a fault occurs in the first electronic device 10, the fault diagnosis callback routine can be called back, and a callback operation can be performed through the fault diagnosis callback routine to perform a fault diagnosis operation on the first electronic device 10 to obtain fault diagnosis information. In the event that the fault diagnosis information is obtained, the fault diagnosis information can be sent to the controller 11, and the controller 11 gives the fault diagnosis information to the second electronic device 20 in a determined sharing manner, so that the second electronic device 20 determines the cause of the fault of the first electronic device 10 based on the fault diagnosis information. In addition, the controller 11 can also store the fault diagnosis information locally, and in the event that the fault of the first electronic device 10 is repaired, the fault diagnosis information can be stored in a storage device through the operating system of the first electronic device 10. Through such a method, a fault diagnosis method is provided for the first electronic device 10 without the assistance of an external diagnostic device, which is simple and easy to implement.
[0073] In an optional embodiment, the fault diagnosis callback routine may also be called back in response to an operation instruction for the fault diagnosis routine. For example, when the user believes that the first electronic device 10 has a fault during the use of the electronic device, or the user needs to perform regular inspections on the first electronic device 10, the user may operate, for example, a fault diagnosis button or icon on the first electronic device 10 to call back the fault diagnosis callback routine, and perform fault diagnosis on the first electronic device 10 through the fault diagnosis callback routine to obtain fault diagnosis information. At this time, the fault diagnosis information may also indicate that the first electronic device 10 has no faults.
[0074] In another optional embodiment, the first electronic device 10 may be configured with multiple fault diagnosis systems, for example, the multiple fault diagnosis systems may include a hardware fault diagnosis system, a software fault diagnosis system, etc. In the case of a fault in the first electronic device 10, the first electronic device 10 may be pre-diagnosed to determine the fault type of the first electronic device 10, and then the fault diagnosis system to be used is determined based on the fault type of the first electronic device 10. For example, if it is determined that the first electronic device 10 has a hardware fault, the hardware fault diagnosis system may be called, and if it is determined that the first electronic device 10 has a software fault, the software fault diagnosis system may be called, so as to diagnose the fault of the first electronic device 10 in a targeted and accurate manner.
[0075] Cooperate Figure 3 As shown, in some embodiments, providing the fault diagnosis information to the second electronic device 20 in a determined sharing manner includes:
[0076] Obtaining a confirmation instruction for a first sharing method, and generating a first identifier based on the fault diagnosis information;
[0077] The first identifier is displayed by the display unit 12 of the first electronic device 10, so that the second electronic device 20 obtains the fault diagnosis information by identifying the first identifier.
[0078] In the case where it is determined to adopt the first sharing mode based on the communication state between the first electronic device 10 and the second electronic device 20, a determination instruction for the first sharing mode may be generated. For example, when the communication state between the first electronic device 10 and the second electronic device 20 is that the first electronic device 10 cannot establish a communication connection with the second electronic device 20, that is, the first electronic device 10 cannot send fault diagnosis information to the second electronic device 20 based on the communication connection, it may be determined to adopt the first sharing mode, and a determination instruction for the first sharing mode may be generated.
[0079] When a confirmation instruction for the first sharing method is obtained, a first identifier can be generated based on the fault diagnosis information, and the first identifier can be displayed by the display unit 12 of the first electronic device 10, so that the second electronic device 20 can obtain the fault diagnosis information by identifying the first identifier. For example, when the first electronic device 10 cannot communicate with the second electronic device 20, the first identifier can be generated based on the fault diagnosis information by the embedded controller. The user can scan the first identifier through the mobile phone camera to obtain the fault diagnosis information.
[0080] In specific implementation, the first identifier may have various forms. Specifically, the first identifier may be a text identifier, an image identifier, or other identifiers that can be displayed by the display unit 12 of the first electronic device 10 and can be recognized by the second electronic device 20 .
[0081] In an optional embodiment, generating a first identifier based on the fault diagnosis information includes:
[0082] The fault code and fault description information of the first electronic device 10 are acquired, and a QR code is generated based on the fault code and the fault description information.
[0083] That is, the fault diagnosis information may include a fault code and fault description information, wherein the fault code is used to identify the fault type of the first electronic device 10, and the fault description information is used to describe the fault condition of the first electronic device 10, or may also include a simple description of the fault type.
[0084] Specifically, after the fault diagnosis system performs fault diagnosis on the first electronic device 10, it can generate a fault code and a fault description information corresponding to the fault code based on, for example, a preset relationship table, and send the fault code and the fault description information to the embedded controller, which generates a two-dimensional code based on the fault code and the fault description information. The second electronic device 20 can identify the two-dimensional code through an image acquisition device such as a camera to obtain fault diagnosis information including the fault code and the fault description information.
[0085] The amount of information contained in the two-dimensional code is relatively large, so the second electronic device 20 can obtain relatively detailed fault diagnosis information, which is beneficial for the second electronic device 20 to accurately find the cause of the fault based on the fault diagnosis information.
[0086] In an optional embodiment, the method further comprises:
[0087] Receive a feedback signal generated by the second electronic device 20, control the display unit 12 of the first electronic device 10 to stop displaying the first identifier, or control the display unit 12 of the first electronic device 10 to display a second identifier, wherein the second identifier is generated based on another fault diagnosis information.
[0088] When the second electronic device 20 obtains fault diagnosis information by identifying the first identifier, the second electronic device 20 can generate feedback information to inform the first electronic device 10 that the fault diagnosis information has been obtained and there is no need to continue displaying the first identifier. When the first electronic device 10 receives the feedback signal generated by the second electronic device 20, it can control its display unit 12 to stop displaying the first identifier to avoid wasting power.
[0089] When multiple faults are found during fault diagnosis for the first electronic device 10, and multiple fault diagnosis information is obtained, if the first electronic device 10 receives a feedback signal generated by the second electronic device 20, the display unit 12 is controlled to display a second identifier generated based on another fault diagnosis information. The second identifier may be a text identifier, an image identifier, or other identifier that can be displayed by the display unit 12 of the first electronic device 10 and can be recognized by the second electronic device 20. For example, the second identifier may also be a QR code. And so on, until the second electronic device 20 obtains multiple fault diagnosis information, the display unit 12 is controlled to stop displaying the content, so that the second electronic device 20 can continuously obtain multiple fault diagnosis information.
[0090] For example, the first identifier may include, in addition to the fault diagnosis information, an instruction for instructing the second electronic device 20 to generate a feedback signal, so that the second electronic device 20 obtains the fault diagnosis information and the instruction by identifying the first identifier, and then generates a feedback signal based on the instruction. For another example, when the fault diagnosis program running on the second electronic device 20 obtains the fault diagnosis information, it may generate an instruction to instruct the second electronic device 20 to generate the feedback signal.
[0091] In an optional embodiment, the receiving the feedback signal generated by the second electronic device 20 includes:
[0092] The light flashing signal generated by the second electronic device 20 is received.
[0093] In a specific implementation, when the fault diagnosis information is obtained, the second electronic device 20 can generate a light flashing signal through a device such as a flash light. The first electronic device 10 can be provided with a sensor 13 capable of sensing light, and the sensor 13 can identify the light flashing signal, and when the light flashing signal is identified, a signal is sent to, for example, an embedded controller, so that the display unit 12 of the first electronic device 10 of the embedded controller stops displaying the first mark, or controls the display unit 12 of the first electronic device 10 to display the second mark.
[0094] The light flashing signal may be a light signal that flashes at a specific frequency, specific duration and / or specific number of times. For example, when the second electronic device 20 determines that fault diagnosis information has been obtained, the light may be turned on for a duration of t1 and off for a duration of t2, and the light may be flashed alternately multiple times. However, the first electronic device 10 may be configured to identify three times of alternating flashing lights, and determine that the light flashing signal generated by the second electronic device 20 has been received.
[0095] In an optional embodiment, the receiving the feedback signal generated by the second electronic device 20 includes:
[0096] The third identifier displayed on the display unit of the second electronic device 20 is identified.
[0097] When the fault diagnosis information is obtained, the second electronic device 20 may also display the third identifier through the display unit. The first electronic device 10 may identify the third identifier displayed by the second electronic device 20 through an image acquisition device such as a camera, and control the display unit 12 of the first electronic device 10 to stop displaying the first identifier, or control the display unit 12 of the first electronic device 10 to display the second identifier.
[0098] The third identifier may be a text identifier, an image identifier or other identifier that can be displayed by the display unit of the second electronic device 20 and can be recognized by the first electronic device 10. For example, the third identifier may also be a QR code.
[0099] In some embodiments, providing the fault diagnosis information to the second electronic device 20 in a determined sharing manner includes:
[0100] Acquire a confirmation instruction for the second sharing mode, and establish a communication connection with the second electronic device 20;
[0101] The fault diagnosis information is transmitted to the second electronic device 20 based on the communication connection.
[0102] In the case where it is determined that the first electronic device 10 can establish a communication connection with the second electronic device 20 through one or more communication methods, it can be determined to adopt the one communication method, or a communication method can be selected from the multiple communication methods, and a selection instruction for the second sharing method can be generated. For example, the first electronic device 10 has a Bluetooth module and an infrared module, the drivers of the Bluetooth module and the infrared module are both started normally, the Bluetooth module and the infrared module are both responded normally, and it is found through search that the second electronic device 20 also has a Bluetooth module and an infrared module. At this time, the controller 11 can select a Bluetooth communication method with better communication quality from Bluetooth communication and infrared communication as the second sharing method, generate a determination instruction for the Bluetooth communication method, and based on the determination instruction for the Bluetooth communication method, drive the Bluetooth module to establish a Bluetooth communication connection with the second electronic device 20 through, for example, the driver of the Bluetooth module, and drive the Bluetooth module through the driver to transmit the fault diagnosis information to the second electronic device 20.
[0103] Still taking the example of the first electronic device 10 having a Bluetooth module and an infrared module, when the Bluetooth module does not respond due to the current fault of the first electronic device 10, but the infrared module can respond normally, and through search it is found that the second electronic device 20 also has an infrared module, the controller 11 can generate a determination instruction for the infrared communication mode, and based on the determination instruction for the infrared communication mode, drive the infrared module to establish an infrared communication connection with the second electronic device 20 through, for example, a driver program of the infrared module, and transmit the fault diagnosis information to the second electronic device 20 through the driver program to the infrared module.
[0104] In some embodiments, providing the fault diagnosis information to the second electronic device 20 in a determined sharing manner includes:
[0105] A selection instruction for the third sharing mode is obtained, and a radio frequency signal is transmitted based on the fault diagnosis information so that the second electronic device 20 receives the radio frequency signal, and obtains the fault diagnosis information based on the radio frequency signal.
[0106] In the case where the first electronic device 10 has a radio frequency module, and the radio frequency module of the first electronic device 10 receives the radio frequency signal transmitted by the second electronic device 20, a selection instruction for the third sharing method can be generated, a radio frequency signal is generated based on the fault diagnosis information, and the radio frequency signal is transmitted by the radio frequency module of the first electronic device 10 to form a radio frequency field, so that the second electronic device 20 can receive the radio frequency signal and obtain the fault diagnosis information based on the radio frequency signal. For example, in the case where the first electronic device 10 has a near field communication (NFC) module, and the NFC module receives the radio frequency signal transmitted by the second electronic device 20, a selection instruction for the third sharing method can be generated, and the embedded controller can drive the NFC module to generate a radio frequency signal based on the fault diagnosis information through a driver, and transmit the radio frequency signal outwardly through the NFC module, so that the NFC module of the second electronic device 20 can receive the radio frequency signal and obtain the fault diagnosis information based on the radio frequency signal.
[0107] The RF module has good stability and can transmit RF signals to the outside in an active manner or in a passive manner. When the passive manner is adopted, the RF signal of the second electronic device 20 is received, and the RF module can convert the RF signal into electrical energy to power itself based on electromagnetic induction, and can transmit RF signals to the outside based on the data in its own storage unit. In this way, as long as the fault diagnosis information is stored in the storage unit of the RF module, even if the first electronic device 10 stops running completely, the fault diagnosis information can be sent to the second electronic device 20 through the RF module.
[0108] Cooperate Figure 4 As shown, in some embodiments, the providing the fault diagnosis information to the second electronic device 20 in a determined sharing manner so that the second electronic device 20 determines the fault cause of the first electronic device 10 based on the fault diagnosis information includes:
[0109] The fault diagnosis information is provided to the second electronic device 20 in a determined sharing manner, so as to drive the second electronic device 20 to determine the fault cause based on the fault diagnosis information, and determine a fault solution based on the fault cause.
[0110] That is, the second electronic device 20 determines the fault cause based on the fault diagnosis information and also determines a fault solution based on the fault cause. For example, when it is determined that the fault cause of the first electronic device 10 is a fault in a specific hardware, if it is repairable, the hardware repair solution can be obtained, and the user is advised to try to repair the specific hardware that has failed according to the repair solution; if it is not repairable, a list of hardware that needs to be replaced can be obtained, and the user is advised to replace the specific hardware in the list.
[0111] For another example, when it is determined that the cause of the failure of the first electronic device 10 is a failure of a specific software, a maintenance plan can be obtained for the software failure. When the operation of the first electronic device 10 can be restored by replacing or reinstalling part of the program, the maintenance plan may include the plug-in name of the plug-in to be replaced, the download address of the plug-in, and the target location of the plug-in; or, the maintenance plan may include the download address of the program to be reinstalled, and installation instructions and other information.
[0112] For electronic equipment of a specific brand or company, the maintenance plan also includes the address information and contact number of the fixed maintenance point of the brand or company.
[0113] Continue to cooperate Figure 4 As shown, in some embodiments, the providing the fault diagnosis information to the second electronic device 20 in a determined sharing manner so that the second electronic device 20 determines the fault cause of the first electronic device 10 based on the fault diagnosis information further includes:
[0114] driving the second electronic device 20 to determine the fault type of the first electronic device 10 based on the fault cause;
[0115] In the case where the first electronic device 10 has a first type of fault, driving the display unit of the second electronic device 20 to display the fault solution;
[0116] In the case that the first electronic device 10 belongs to the second type of fault, the fault solution transmitted by the second electronic device 20 is received, and a fault repair operation is performed based on the fault solution.
[0117] Among them, the first type of fault is a fault that the first electronic device 10 cannot repair by itself, and the second type of fault is a fault that the first electronic device 10 can repair by itself. The self-repairable fault mentioned here refers to a fault that the first electronic device 10 can repair itself under the control of, for example, the controller 11 without the need for user or external device access.
[0118] That is, the second electronic device 20 determines the fault type of the first electronic device 10 based on the fault cause determined based on the fault diagnosis information, and determines whether the fault of the first electronic device 10 belongs to the first type of fault or the second type of fault based on the fault type. In the case where it is determined that the first electronic device 10 belongs to the first type of fault that cannot be repaired by itself, the display unit of the second electronic device 20 is driven to display a fault solution, so that the user can repair the first electronic device 10 manually or through external repair equipment by viewing the fault solution. In the case where it is determined that the first electronic device 10 belongs to the second type of fault that can be repaired by itself, the fault solution can be sent to the first electronic device 10, so that the first electronic device 10 performs a fault repair operation based on the fault solution, thereby achieving self-repair.
[0119] For example, when the second electronic device 20 determines that the first electronic device 10 has a hardware failure and needs to replace the hardware or repair the hardware, it can be determined that the first electronic device 10 has a first type of failure, and the second electronic device 20 is driven to display a fault solution so that the user can replace the hardware by viewing the fault solution. When the second electronic device 20 determines that the first electronic device 10 has a software failure that cannot be repaired by itself, such as an operating system, it can also be determined that the first electronic device 10 has a first type of failure, and the second electronic device 20 is driven to display a fault solution so that the user can reinstall or repair software such as an operating system by viewing the fault solution. When the second electronic device 20 determines that the first electronic device 10 has a failure that can be repaired by itself, such as a plug-in error or a data error, it can be determined that the first electronic device 10 has a second type of failure, and a fault solution is sent to the first electronic device 10 so that the first electronic device 10 can perform self-repair based on the fault solution.
[0120] In a specific implementation, the first electronic device 10 can receive the fault solution sent by the second electronic device 20 based on the communication path between the first electronic device 10 and the second electronic device 20. For example, the first electronic device 10 can receive the fault solution based on a Bluetooth communication path or an infrared communication path. The first electronic device 10 can also receive a radio frequency signal sent by the second electronic device 20 and obtain a fault solution based on the radio frequency signal. For example, the first electronic device 10 can receive the radio frequency signal through an NFC module and obtain the fault solution.
[0121] See also Figure 5 As shown, the embodiment of the present application also provides an information processing device, including:
[0122] The processing module 31 is used to obtain fault diagnosis information of the first electronic device 10;
[0123] The sharing module 32 is used to provide the fault diagnosis information to the second electronic device 20 in a determined sharing method, so that the second electronic device 20 determines the fault cause of the first electronic device 10 based on the fault diagnosis information, wherein the communication status between the first electronic device 10 and the second electronic device 20 is different, and the determined sharing method is different.
[0124] In some embodiments, the processing module 31 is specifically used for:
[0125] In response to a fault occurring in the first electronic device 10 , a fault diagnosis callback routine is called, and a fault diagnosis operation is performed on the first electronic device 10 through the fault diagnosis callback routine to obtain the fault diagnosis information.
[0126] In some embodiments, the processing module 31 may also be used to:
[0127] Acquire first information of the communication unit of the first electronic device 10; wherein the first information can represent the communication state of the communication unit of the first electronic device 10;
[0128] Determine, based on the first information, a communication state between the first electronic device 10 and the second electronic device 20;
[0129] The sharing mode is determined according to a preset logical relationship based on the communication state between the first electronic device 10 and the second electronic device 20 .
[0130] In some embodiments, the sharing module 32 is specifically used for:
[0131] Obtaining a confirmation instruction for a first sharing method, and generating a first identifier based on the fault diagnosis information;
[0132] Displaying the first identifier through the display unit 12 of the first electronic device 10, so that the second electronic device 20 obtains the fault diagnosis information by identifying the first identifier; or
[0133] Acquire a confirmation instruction for the second sharing mode, and establish a communication connection with the second electronic device 20;
[0134] transmitting the fault diagnosis information to the second electronic device 20 based on the communication connection; or
[0135] A determination instruction for the third sharing mode is obtained, and a radio frequency signal is transmitted based on the fault diagnosis information so that the second electronic device 20 receives the radio frequency signal, and obtains the fault diagnosis information based on the radio frequency signal.
[0136] In some embodiments, the sharing module 32 is specifically used for:
[0137] The fault code and fault description information of the first electronic device 10 are acquired, and a QR code is generated based on the fault code and the fault description information.
[0138] In some embodiments, the processing module 31 is further used for:
[0139] Receive a feedback signal generated by the second electronic device 20, control the display unit 12 of the first electronic device 10 to stop displaying the first identifier, or control the display unit 12 of the first electronic device 10 to display a second identifier, wherein the second identifier is generated based on another fault diagnosis information.
[0140] In some embodiments, the processing module 31 is specifically used for:
[0141] receiving a light flashing signal generated by the second electronic device 20; or
[0142] The third identifier displayed on the display unit of the second electronic device 20 is identified.
[0143] In some embodiments, the sharing module 32 is specifically used for:
[0144] The fault diagnosis information is provided to the second electronic device 20 in a determined sharing manner, so as to drive the second electronic device 20 to determine the fault cause based on the fault diagnosis information, and determine a fault solution based on the fault cause.
[0145] In some embodiments, the sharing module 32 is further used to:
[0146] driving the second electronic device 20 to determine the fault type of the first electronic device 10 based on the fault cause;
[0147] In the case where the first electronic device 10 has a first type of fault, driving the display unit of the second electronic device 20 to display the fault solution;
[0148] In the case that the first electronic device 10 belongs to the second type of fault, the fault solution transmitted by the second electronic device 20 is received, and a fault repair operation is performed based on the fault solution.
[0149] An embodiment of the present application further provides an electronic device, comprising at least a memory and a processor, wherein an executable program is stored in the memory, and the processor implements the method described in any of the above embodiments when executing the executable program in the memory.
[0150] An embodiment of the present application further provides a storage medium storing a computer program, which implements the method described in any of the above embodiments when the computer program is executed.
[0151] The above embodiments are only exemplary embodiments of the present application and are not intended to limit the present application. The protection scope of the present application is defined by the claims. Those skilled in the art may make various modifications or equivalent substitutions to the present application within the essence and protection scope of the present application, and such modifications or equivalent substitutions shall also be deemed to fall within the protection scope of the present application.
Claims
1. An information processing method, comprising: Acquiring fault diagnosis information of the first electronic device; The fault diagnosis information is provided to a second electronic device in a determined sharing mode, so that the second electronic device determines the fault cause of the first electronic device based on the fault diagnosis information, wherein the communication states between the first electronic device and the second electronic device are different, and the determined sharing modes are different; The communication state includes a state in which a communication connection has been established between the first electronic device and the second electronic device, a state in which a communication connection has not been established but a communication connection can be established, and a state in which a communication connection cannot be established; The sharing method includes at least one of the information transmission methods of text, sound, electrical signal, image, color, and light; Acquire first information of the communication unit of the first electronic device; wherein the first information can represent the communication state of the communication unit of the first electronic device; determining, based on the first information, a communication state between the first electronic device and the second electronic device; The sharing mode is determined according to a preset logical relationship based on the communication state between the first electronic device and the second electronic device.
2. The method according to claim 1, wherein: The obtaining of fault diagnosis information of the first electronic device includes: In response to a fault occurring in the first electronic device, a fault diagnosis callback routine is called, and a fault diagnosis operation is performed on the first electronic device through the fault diagnosis callback routine to obtain the fault diagnosis information.
3. The method according to claim 1, wherein: The step of providing the fault diagnosis information to the second electronic device in a determined sharing manner includes: Obtaining a confirmation instruction for a first sharing method, and generating a first identifier based on the fault diagnosis information; displaying the first identifier through a display unit of the first electronic device, so that the second electronic device obtains the fault diagnosis information by identifying the first identifier; or Acquire a confirmation instruction for the second sharing mode, and establish a communication connection with the second electronic device; transmitting the fault diagnosis information to the second electronic device based on the communication connection; or A determination instruction for a third sharing method is obtained, and a radio frequency signal is transmitted based on the fault diagnosis information so that the second electronic device receives the radio frequency signal, and obtains the fault diagnosis information based on the radio frequency signal.
4. The method according to claim 3, wherein: The generating a first identifier based on the fault diagnosis information includes: Acquire a fault code and fault description information of the first electronic device, and generate a QR code based on the fault code and the fault description information.
5. The method according to claim 3, wherein: The method further comprises: A feedback signal generated by the second electronic device is received, and a display unit of the first electronic device is controlled to stop displaying the first identifier, or a display unit of the first electronic device is controlled to display a second identifier, wherein the second identifier is generated based on another fault diagnosis information.
6. The method according to claim 5, wherein: The receiving the feedback signal generated by the second electronic device includes: receiving a light flashing signal generated by the second electronic device; or Identify a third identifier displayed by a display unit of the second electronic device.
7. The method according to claim 1, wherein: The step of providing the fault diagnosis information to the second electronic device in a determined sharing manner so that the second electronic device determines the fault cause of the first electronic device based on the fault diagnosis information, includes: The fault diagnosis information is provided to the second electronic device in a determined sharing manner, so that the second electronic device determines the fault cause based on the fault diagnosis information and determines a fault solution based on the fault cause.
8. The method according to claim 7, wherein: The step of providing the fault diagnosis information to the second electronic device in a determined sharing manner so that the second electronic device determines the fault cause of the first electronic device based on the fault diagnosis information, further includes: driving the second electronic device to determine the fault type of the first electronic device based on the fault cause; In the case where the first electronic device has a first type of fault, driving the display unit of the second electronic device to display the fault solution; In the case that the first electronic device has a second type of fault, the fault solution transmitted by the second electronic device is received, and a fault repair operation is performed based on the fault solution.
9. An information processing device, comprising: a processing module, used to obtain fault diagnosis information of a first electronic device, and to obtain first information of a communication unit of the first electronic device; wherein the first information can represent a communication state of the communication unit of the first electronic device; based on the first information, determine a communication state between the first electronic device and a second electronic device; based on the communication state between the first electronic device and the second electronic device, determine a sharing method according to a preset logical relationship; A sharing module, used for providing the fault diagnosis information to a second electronic device in a determined sharing method, so that the second electronic device determines the cause of the fault of the first electronic device based on the fault diagnosis information, wherein the communication status between the first electronic device and the second electronic device is different, and the determined sharing method is different; the communication status includes a state in which a communication connection has been established between the first electronic device and the second electronic device, a state in which a communication connection is not established but can be established, and a state in which a communication connection cannot be established; the sharing method includes an information transmission method through at least one of text, sound, electrical signal, image, color, and light.
Citation Information
Patent Citations
Method and device for sharing information
CN104144203A
System and method for transferring states between electronic devices
CN104169899A
Method for diagnosing and solving fault of mobile terminal, and device
CN104836697A
Intelligent robot fault diagnosis method based on artificial intelligence, device and system
CN105095817A
Image forming apparatus, information processing system and information processing method
CN110830672A