Fault handling method, device, equipment and storage medium
By receiving server signaling messages and extracting target configuration information, terminal fault parameters are updated remotely, which solves the problem of high cost and cumbersome process of terminal equipment fault handling, and achieves efficient fault handling and cost reduction.
Patent Information
- Application Number
- CN202111671132.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-31
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2041-12-31
AI Technical Summary
In the existing technology, the cost of troubleshooting terminal equipment is high and the process is cumbersome. Especially in remote areas, it is difficult to achieve effective FOTA upgrade or local upgrade.
By receiving the signaling message sent by the server, it determines and extracts the target configuration information, remotely updates the terminal's fault parameters, and implements voice calls to complete the update of fault parameters and avoid on-site processing.
It improves the efficiency of troubleshooting, reduces troubleshooting costs, simplifies the troubleshooting process, and reduces the need for on-site repair of terminal equipment.
Smart Images

Figure CN114465876B
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of communications, and in particular to a fault handling method, apparatus, device and storage medium. Background Art
[0002] When a module in a terminal device fails and the fault parameters need to be updated, the usual method is to upgrade the module version through FOTA or local upgrade.
[0003] However, the FOTA upgrade solution requires the construction and maintenance of the FOTA upgrade server, and the terminal device must be able to send and receive data normally. If there is no FOTA server, or the module's own data service is abnormal, the FOTA upgrade cannot be performed. The local upgrade module solution requires on-site upgrades of terminal devices. Since many terminals are installed in very remote areas and are difficult to disassemble, the cost of troubleshooting is high and the processing process is cumbersome. Summary of the invention
[0004] In view of this, in order to solve the above-mentioned technical problems of high fault handling cost and complicated handling process, the embodiments of the present invention provide a fault handling method, device, equipment and storage medium.
[0005] In a first aspect, an embodiment of the present invention provides a fault handling method, which is applied to a terminal, including:
[0006] Receive a first signaling message sent by a server, where the first signaling message carries multiple information elements;
[0007] Determining a first target information element from the first signaling message, and extracting first target configuration information from the first target information element;
[0008] The fault parameters of the terminal are updated according to the first target configuration information, so that the updated state of the terminal is restored to normal.
[0009] In a possible implementation manner, before the step of extracting the first target configuration information from the first target information element, the method further includes:
[0010] When it is determined that the first target information element includes configuration information, extracting first target configuration information from the first target information element;
[0011] When it is determined that the first target information element does not include configuration information, a normal voice call is performed.
[0012] In a possible implementation manner, after the step of extracting the first target configuration information from the first target information element, the method further includes:
[0013] Performing an integrity check on the first target configuration information;
[0014] When it is determined that the first target configuration information is incomplete, receiving a second signaling message sent by the server, where the second signaling message carries a plurality of information elements;
[0015] Determining a second target information element from the second signaling message, and extracting second target configuration information from the second target information element;
[0016] The fault parameters of the terminal are updated according to the second target configuration information, so that the updated state of the terminal is restored to normal.
[0017] In a possible implementation, the method further includes:
[0018] When it is determined that the first target configuration information is complete, generating a third signaling message;
[0019] The third signaling message is sent to the service end to control the voice call to end.
[0020] In a possible implementation manner, the first target configuration information includes: a type field, a length field, and a data field;
[0021] The updating of the fault parameters of the terminal according to the first target configuration information so that the updated state of the terminal is restored to normal includes:
[0022] Parsing the data field in the first target configuration information using the length field to obtain identification parameters and configuration parameters;
[0023] Searching for a fault parameter in the terminal according to the type field and the identification parameter;
[0024] The fault parameters are updated using the configuration parameters so that the updated state of the terminal is restored to normal.
[0025] In a second aspect, an embodiment of the present invention provides a fault handling method, which is applied to a server, including:
[0026] When it is determined that a terminal fails, generating target configuration information based on the failure parameters of the terminal, wherein the configuration information is used to update the failure parameters;
[0027] generating a signaling message based on the target configuration information;
[0028] The signaling message is sent to the terminal.
[0029] In a third aspect, an embodiment of the present invention provides a fault handling device, including:
[0030] A receiving module, used to receive a signaling message sent by a server, wherein the signaling message carries a plurality of information elements;
[0031] A determination module, configured to determine a target information element from the signaling message, and extract target configuration information from the target information element;
[0032] An updating module is used to update the fault parameters of the terminal according to the target configuration information so that the updated state of the terminal is restored to normal.
[0033] In a fourth aspect, an embodiment of the present invention provides a fault handling device, including:
[0034] A first generating module, configured to generate target configuration information based on the fault parameters of the terminal when it is determined that the terminal fails, wherein the configuration information is used to update the fault parameters;
[0035] A second generating module, configured to generate a signaling message based on the target configuration information;
[0036] A sending module is used to send the signaling message to the terminal.
[0037] In a fifth aspect, an embodiment of the present invention provides an electronic device, comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0038] Memory, used to store computer programs;
[0039] The processor is used to implement the steps of the fault handling method described in any one of the first aspects above when executing the program stored in the memory.
[0040] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, characterized in that when the computer program is executed by a processor, the steps of the fault handling method described in any one of the first aspects above are implemented.
[0041] The fault handling solution provided in the embodiment of the present invention is applied to a terminal, and receives a first signaling message sent by a service end, wherein the first signaling message carries multiple information elements; determines a first target information element from the first signaling message, and extracts first target configuration information from the first target information element; updates the fault parameters of the terminal according to the first target configuration information, so that the updated state of the terminal is restored to normal. This enables the remote update of the fault parameters of the terminal through a voice call, without the need to update the fault parameters of the terminal on site, thereby improving the efficiency of fault handling and reducing the cost of fault handling. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] Figure 1 A flowchart of a fault handling method provided by an embodiment of the present invention;
[0043] Figure 2 A flowchart of another fault handling method provided by an embodiment of the present invention;
[0044] Figure 3 A flowchart of another fault handling method provided by an embodiment of the present invention;
[0045] Figure 4 A schematic diagram of the structure of a fault handling device provided by an embodiment of the present invention;
[0046] Figure 5 A schematic diagram of the structure of another fault handling device provided by an embodiment of the present invention;
[0047] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0048] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0049] The method provided in the embodiment of the present application can be applied to an electronic device, which can be a module capable of realizing a communication function or a terminal device including the module, etc. The terminal device can be a mobile terminal or a smart terminal. The mobile terminal can be at least one of a mobile phone, a tablet computer, a laptop computer, etc.; the smart terminal can be a terminal including a wireless communication module such as a smart car, a smart watch, a shared bicycle, a smart cabinet, etc.; the module can be a wireless communication module, such as any one of a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, etc.
[0050] To facilitate understanding of the embodiments of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings. The embodiments do not constitute a limitation on the embodiments of the present invention.
[0051] Figure 1 A flowchart of a fault handling method provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the method specifically includes:
[0052] S11. Receive a first signaling message sent by a server, wherein the first signaling message carries multiple information elements.
[0053] The fault handling method provided by the embodiment of the present invention is applied to a terminal. For example, the terminal can be: a smart car, a smart watch, a shared bicycle, a shared power bank, a smart cabinet, an intercom, a POS machine, a claw machine and other devices. The terminal includes a communication module, through which a voice call can be executed. Specifically, the fault parameters in the terminal can be updated by means of a voice call.
[0054] Furthermore, the server is a device that can execute a voice call, and the server can generate a first signaling message carrying multiple information elements, and one of the multiple information elements carries configuration information for updating the fault parameters of the terminal.
[0055] Specifically, when it is determined that a terminal failure occurs, the terminal performs a voice call with the server, and the terminal receives a first signaling message sent by the server. For example, the first signaling message may be a SETUP message, and the first signaling message carries multiple information elements, and any one of the multiple information elements carries configuration information.
[0056] S12. Determine a first target information element from the first signaling message, and extract first target configuration information from the first target information element.
[0057] In this embodiment, one of the multiple information elements carried by the first signaling message carries configuration information, and the first target information element is an information element carrying the first target configuration information. For example, the first target information element can be a User-user Information Element, and the first target configuration information for updating fault parameters is stored in the User-user Information Element.
[0058] Specifically, the first signaling message is parsed to obtain a first target information element, and the first target configuration information is extracted from the first target information element.
[0059] S13. Update the fault parameters of the terminal according to the first target configuration information, so that the updated state of the terminal is restored to normal.
[0060] In this embodiment, after obtaining the first target configuration information, the first target configuration information is used to execute an update of a faulty module in the terminal. The faulty module may be a module in a terminal communication module (for example, a baseband processor, a radio frequency module, a power management module, etc.). Accordingly, the fault parameter may be a parameter in which a fault occurs in a module of the terminal.
[0061] Furthermore, the fault parameters of the faulty module in the terminal are updated using the first target configuration information, so that the faulty module can resume normal operation, and thus the state of the terminal is restored to normal.
[0062] The fault handling method provided by the embodiment of the present invention receives a first signaling message sent by a server, wherein the first signaling message carries multiple information elements; determines a first target information element from the first signaling message, and extracts first target configuration information from the first target information element; updates the fault parameters of the terminal according to the first target configuration information, so that the updated state of the terminal is restored to normal. This realizes remote updating of the fault parameters of the device, without the need to handle the fault through the server or repair the faulty device on site, thereby improving the efficiency of fault handling and reducing the cost of fault handling.
[0063] In the embodiment of the present invention, the voice call performed by the terminal and the server may include: a circuit switched (Circuit Switch, CS) voice call and a packet switched (Packet Switch, PS) voice call. The type of the voice call can be determined according to the actual application scenario, and this embodiment does not make any specific limitation on this.
[0064] The following description will be given by taking the case where the voice call is a CS voice call and the first signaling message is a SETUP message as an example.
[0065] Figure 2 A flowchart of another fault handling method provided by an embodiment of the present invention is shown as follows: Figure 2 As shown, the method specifically includes:
[0066] S21. Receive the SETUP message sent by the server.
[0067] In this embodiment, the server pre-generates the first target configuration information, and in the process of generating a SETUP message, selects an information element (first target information element) from multiple information elements, and inserts the first target configuration information into the information element (first target information element), thereby generating a SETUP message carrying the first target configuration information.
[0068] Furthermore, when a terminal fails, the server sends a SETUP message to the terminal via a CS voice call. The SETUP message carries multiple information elements, one of which (the first target information element) stores first target configuration information for updating fault parameters. The first target information element can be: User-userInformation Element.
[0069] In an optional solution in the embodiment of the present invention, a target identifier is set for the first target information element carrying the first target configuration information. The server and the terminal pre-set and agree on the target identifier so that the terminal can quickly find the first target information element when receiving the SETUP message.
[0070] S22: Determine a first target information element from the SETUP message, and judge whether the first target information element contains configuration information.
[0071] In this embodiment, when it is determined that the first target information element includes configuration information, first target configuration information is extracted from the first target information element.
[0072] In this embodiment, after receiving the SETUP message, the terminal parses the SETUP message to obtain multiple information elements, searches for the first target information element from the multiple information elements, and determines whether the first target information element contains configuration information.
[0073] When it is determined that the first target information element includes configuration information, S23 is executed; when it is determined that the first target information element does not include configuration information, S24 is executed.
[0074] S23: When it is determined that the first target information element contains configuration information, extract first target configuration information from the first target information element.
[0075] In an embodiment of the present invention, the first target information element may be a User-user Information Element. It is determined whether the User-user Information Element stores configuration information for updating fault parameters. When it is determined that the first target information element contains configuration information, the first target configuration information is extracted from the User-user Information Element.
[0076] S24: When it is determined that the first target information element does not include configuration information, perform a normal voice call.
[0077] S25. Perform an integrity check on the first target configuration information.
[0078] In this embodiment, an integrity check is performed on the extracted first target configuration information. The integrity check can ensure that the fault is solved once and for all, thereby avoiding the situation where the fault is not completely solved.
[0079] S26. When it is determined that the first target configuration information is complete, the data field in the first target configuration information is parsed using the length field to obtain identification parameters and configuration parameters; the fault parameters in the terminal are searched according to the type field and the identification parameters; and the fault parameters are updated using the configuration parameters so that the updated state of the terminal is restored to normal.
[0080] In this embodiment, the first target configuration information includes multiple fields, which may include: a type field, a length field, and a data field, wherein the type field is used to characterize the parameter type of the fault parameter, the length field characterizes the length of the data field, and the data field includes an identification parameter and a configuration parameter. The identification parameter can characterize the location of the fault parameter, and the configuration parameter is the correct parameter for updating the fault parameter.
[0081] In one example, the first target configuration information is parsed into multiple fields, the first field is a type field, the second field is a length field, and the third field is a data field. The data field is parsed into identification parameters and configuration parameters, where the configuration parameter is the last byte in the data field, and the identification parameter is the bytes in the data field except the last byte.
[0082] Further, the byte length of the data field is determined according to the length field, and the data field is parsed according to the byte length, and the data field is parsed into the last byte and multiple bytes except the last byte, and the multiple bytes except the last byte are used as identification parameters, and the last byte is used as a configuration parameter. For example, if the length represented by the length field is 5, then it is determined that there are 5 bytes in the data field, and the first byte to the fourth byte are identification parameters, and the fifth byte is a configuration parameter.
[0083] The type of the fault parameter is determined according to the type field, and the location of the fault parameter in the terminal is determined according to the identification parameter. The fault parameter can be an NV parameter or other configuration files in the terminal. For example, the NV parameter can be radio frequency calibration information, International Mobile Equipment Identity (IMEI), serial number (SN) and other parameters.
[0084] Further, after determining the type and location of the fault parameter, the fault parameter is updated to a configuration parameter so that the faulty module can resume normal operation, and thus the state of the terminal can be restored to normal.
[0085] S27. When it is determined that the first target configuration information is complete, generate a third signaling message.
[0086] S28. Send the third signaling message to the server to control the voice call to end.
[0087] In an embodiment of the present invention, when it is determined that the first target configuration information is complete, it can be understood that the fault update can be completed by using the first target configuration information when it is complete. At this time, the terminal device generates a third signaling message, which can be used to indicate the end of the voice call (that is, the terminal side hangs up the voice communication), and the third signaling message can be a Release message.
[0088] Furthermore, after the terminal device generates a Release message, it sends the Release message to the server, thereby controlling the voice call to end.
[0089] The fault handling method provided in this embodiment receives a SETUP message sent by a server, determines the first target information element from the SETUP message, and determines whether the first target information element contains configuration information; when it is determined that the first target information element contains configuration information, extracts the first target configuration information from the first target information element; when it is determined that the first target information element does not contain configuration information, performs a normal voice call; performs integrity check on the first target configuration information; when it is determined that the first target configuration information is complete, uses the length field to parse the data field in the first target configuration information to obtain identification parameters and configuration parameters; searches for fault parameters in the terminal according to the type field and the identification parameter; uses the configuration parameter to update the fault parameters so that the updated state of the terminal is restored to normal; when it is determined that the first target configuration information is complete, generates a third signaling message; and sends the third signaling message to the server to control the end of the voice call. In order to realize the handling of faults in the device through CS voice calls, there is no need to handle faults by setting up a server or handling faults on site, which simplifies the fault handling process and reduces the handling cost.
[0090] In an optional solution of the embodiment of the present invention, when it is determined that the first target configuration information is incomplete, the terminal fault parameter may be updated through a second signaling message.
[0091] The following description will be made by taking the voice call being a CS call, the first signaling message being a SETUP message, and the second signaling message being a USERINFORMATION message as an example.
[0092] Figure 3 A flowchart of another fault handling method provided by an embodiment of the present invention is shown as follows: Figure 3 As shown, the method specifically includes:
[0093] S31. When it is determined that a terminal fails, generate configuration information based on a fault parameter of the terminal, where the configuration information is used to update the fault parameter.
[0094] The fault handling method provided in the embodiment of the present invention is applied to a server, which includes a communication module, through which a voice call can be executed, and specifically, the fault parameters in the terminal can be updated by means of the voice call.
[0095] Furthermore, when determining that a fault occurs in the terminal, the server generates target configuration information for updating the fault parameters according to the type and position of the fault parameters. The target configuration information may include a type field, a length field, and a data field.
[0096] S32: Generate a SETUP message based on the configuration information, and the server sends the SETUP message to the terminal.
[0097] S33: Determine the first target information element from the SETUP message, and judge whether the first target information element contains configuration information.
[0098] S34. When it is determined that the first target information element contains configuration information, extract first target configuration information from the first target information element.
[0099] S35: When it is determined that the first target information element does not include configuration information, perform a normal voice call.
[0100] S36: Perform integrity check on the first target configuration information.
[0101] S37. When it is determined that the first target configuration information is complete, the data field in the first target configuration information is parsed using the length field to obtain identification parameters and configuration parameters; the fault parameters in the terminal are searched according to the type field and the identification parameters; and the fault parameters are updated using the configuration parameters so that the updated state of the terminal is restored to normal.
[0102] S38. When it is determined that the first target configuration information is complete, generate a third signaling message; and send the third signaling message to the server to control the end of the voice call.
[0103] In this embodiment, S32-S38 and Figure 2 S21-S28 are similar, please refer to Figure 2 For the sake of brevity, the relevant description is omitted here.
[0104] S39. When it is determined that the first target configuration information is incomplete, receiving a USERINFORMATION message sent by the server.
[0105] In this embodiment, when the first target configuration information is incomplete, that is, the first target configuration information cannot be used to complete the update of the terminal fault and the terminal status cannot be restored to normal, at this time, the fault update step is performed again by receiving a second signaling message from the service end. Further, the second signaling message is different from the first signaling message type, but the second signaling message and the first signaling message both contain multiple information elements, and any one of the multiple information elements may carry configuration information, which is used to update the fault parameters. Accordingly, the second signaling message may be a USER INFORMATION message, and the USER INFORMATION message carries the second target configuration information.
[0106] It should be noted that the generation method of the second signaling message (USER INFORMATION message) is similar to that of the first signaling message. Figure 2 Related description in .
[0107] S40, determining a second target information element from the USER INFORMATION message, and extracting second target configuration information from the second target information element; updating the fault parameters of the terminal according to the second target configuration information, so that the updated state of the terminal is restored to normal.
[0108] In this embodiment, after receiving the USER INFORMATION message, the terminal parses the USER INFORMATION message to obtain multiple information elements, searches for the second target information element from the multiple information elements, parses the second target information element, and extracts the second target configuration information from the parsed second target information element. The second target information element can be a User-user Information Element, and the second target configuration information is a parameter used to update the fault parameters of the terminal.
[0109] Specifically, the USER INFORMATION message is parsed to obtain the second target information element, and the second target configuration information is extracted from the second target information element.
[0110] Further, after obtaining the second target configuration information, the second target configuration information is used to execute the update of the faulty module in the terminal, and the faulty module may be a module in the terminal communication module (for example, a baseband processor, a radio frequency module, a power management module, etc.), and accordingly, the fault parameter may be a parameter of a module of the terminal that fails. The second target configuration information may be understood as the complete first target configuration information.
[0111] The fault parameters of the faulty module in the terminal are updated using the second target configuration information, so that the faulty module can resume normal operation, and thus the state of the terminal is restored to normal.
[0112] In an optional solution of the embodiment of the present invention, after obtaining the second target configuration information, the second target configuration information is subjected to an integrity check. The steps of the integrity check of the second target configuration information are similar to the steps of the integrity check of the first target configuration information. For details, please refer to Figure 2 The relevant description of S25 is not repeated here.
[0113] In an optional solution of the embodiment of the present invention, the first target configuration information may include part of the configuration information, and the second target configuration information may include part of the configuration information, and the first target configuration information and the second target configuration information are combined to obtain complete configuration information.
[0114] Specifically, after extracting the first target configuration information from the first target information element, extracting the second target configuration information from the second target information element, combining the first target configuration information and the second target configuration information, and using the combined configuration information to update the fault parameters of the faulty module in the terminal, so that the faulty module resumes normal operation, and then the state of the terminal is restored to normal.
[0115] S41. When it is determined that the second target configuration information is complete, generate a third signaling message; and send the third signaling message to the server to control the voice call to end.
[0116] In an embodiment of the present invention, when it is determined that the second target configuration information is complete, it can be understood that the fault update can be completed by using the second target configuration information when it is complete. At this time, the terminal device generates a third signaling message, which can be used to indicate the end of the voice call (that is, the terminal side hangs up the voice communication), and the third signaling message can be a Release message.
[0117] Furthermore, after the terminal device generates a Release message, it sends the Release message to the server, thereby controlling the voice call to end.
[0118] In the fault handling method provided by the embodiment of the present invention, a SETUP message sent by a service end is received, the SETUP message carries multiple information elements; a first target information element is determined from the SETUP message, and first target configuration information is extracted from the first target information element; integrity check is performed on the first target configuration information; when it is determined that the first target configuration information is incomplete, a USER INFORMATION message sent by a service end is received, the USER INFORMATION message carries multiple information elements; a second target information element is determined from the USER INFORMATION message, and second target configuration information is extracted from the second target information element; the fault parameters of the terminal are updated according to the second target configuration information, so that the updated state of the terminal is restored to normal. This realizes receiving the second target configuration information when the configuration information is incomplete, reduces restrictions on the configuration information, enhances the fault handling capability, and improves the fault handling efficiency.
[0119] Figure 4 A schematic diagram of a fault handling device provided by an embodiment of the present invention is shown in FIG. Figure 4 As shown, the device specifically includes:
[0120] The receiving module 41 is used to receive a signaling message sent by the server, wherein the signaling message carries a plurality of information elements;
[0121] A determination module 42, configured to determine a target information element from the signaling message, and extract target configuration information from the target information element;
[0122] The updating module 43 is used to update the fault parameters of the terminal according to the target configuration information, so that the updated state of the terminal is restored to normal.
[0123] In a possible implementation manner, the determining module 42 is specifically configured to extract the first target configuration information from the first target information element when it is determined that the first target information element includes configuration information;
[0124] When it is determined that the first target information element does not include configuration information, a normal voice call is performed.
[0125] In a possible implementation manner, the determining module 42 is specifically configured to perform integrity check on the first target configuration information;
[0126] The receiving module 41 is specifically configured to receive a second signaling message sent by the server when it is determined that the first target configuration information is incomplete, wherein the second signaling message carries a plurality of information elements;
[0127] The determining module 42 is specifically configured to determine a second target information element from the second signaling message, and extract second target configuration information from the second target information element;
[0128] The updating module 43 is specifically configured to update the fault parameters of the terminal according to the second target configuration information, so that the updated state of the terminal is restored to normal.
[0129] In a possible implementation manner, the apparatus further includes a generating module 44, configured to generate a third signaling message when it is determined that the first target configuration information is complete;
[0130] The device further comprises a sending module 45, configured to send the third signaling message to the service end to control the voice call to end.
[0131] In a possible implementation manner, the determination module 42 is specifically configured to parse the data field in the first target configuration information using the length field to obtain the identification parameter and the configuration parameter;
[0132] Searching for a fault parameter in the terminal according to the type field and the identification parameter;
[0133] The updating module 43 is specifically configured to update the fault parameters using the configuration parameters, so that the updated state of the terminal is restored to normal.
[0134] The fault handling device provided in this embodiment may be as follows Figure 4 The device shown in FIG. 1 can perform the following steps: Figure 1-3 All steps of the troubleshooting method in the Figure 1-3 For details, please refer to Figure 1-3 For the sake of brevity, the relevant description is not repeated here.
[0135] Figure 5 A schematic diagram of the structure of another fault handling device provided by an embodiment of the present invention is shown in FIG. Figure 5 As shown, the device specifically includes:
[0136] A first generating module 51 is used to generate target configuration information based on the fault parameters of the terminal when it is determined that the terminal fails, wherein the configuration information is used to update the fault parameters;
[0137] A second generating module 52, configured to generate a signaling message based on the target configuration information;
[0138] The sending module 53 is used to send the signaling message to the terminal.
[0139] The fault handling device provided in this embodiment may be as follows Figure 5 The device shown in FIG. 1 can perform the following steps: Figure 1-3 All steps of the troubleshooting method in the Figure 1-3 For details, please refer to Figure 1-3 For the sake of brevity, the relevant description is not repeated here.
[0140] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, Figure 6 The electronic device 600 shown includes: at least one processor 601, a memory 602, at least one network interface 604 and other user interfaces 603. The various components in the electronic device 600 are coupled together via a bus system 605. It is understood that the bus system 605 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 605 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 605 is not shown in FIG. Figure 6 Various buses are labeled as bus system 605 .
[0141] The user interface 603 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0142] It can be understood that the memory 602 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 602 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0143] In some implementations, the memory 602 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 6021 and an application 6022 .
[0144] The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 6022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present invention can be included in the application 6022.
[0145] In the embodiment of the present invention, by calling the program or instruction stored in the memory 602, specifically, the program or instruction stored in the application 6022, the processor 601 is used to execute the method steps provided by each method embodiment, for example, including:
[0146] Receive a first signaling message sent by a server, where the first signaling message carries multiple information elements;
[0147] Determining a first target information element from the first signaling message, and extracting first target configuration information from the first target information element;
[0148] The fault parameters of the terminal are updated according to the first target configuration information, so that the updated state of the terminal is restored to normal.
[0149] In a possible implementation, when it is determined that the first target information element includes configuration information, first target configuration information is extracted from the first target information element;
[0150] When it is determined that the first target information element does not include configuration information, a normal voice call is performed.
[0151] In a possible implementation, performing an integrity check on the first target configuration information;
[0152] When it is determined that the first target configuration information is incomplete, receiving a second signaling message sent by the server, where the second signaling message carries a plurality of information elements;
[0153] Determining a second target information element from the second signaling message, and extracting second target configuration information from the second target information element;
[0154] The fault parameters of the terminal are updated according to the second target configuration information, so that the updated state of the terminal is restored to normal.
[0155] In a possible implementation, when it is determined that the first target configuration information is complete, a third signaling message is generated;
[0156] The third signaling message is sent to the service end to control the voice call to end.
[0157] In a possible implementation manner, updating the fault parameters of the terminal according to the first target configuration information so that the updated state of the terminal is restored to normal includes:
[0158] Parsing the data field in the first target configuration information using the length field to obtain identification parameters and configuration parameters;
[0159] Searching for a fault parameter in the terminal according to the type field and the identification parameter;
[0160] The fault parameters are updated using the configuration parameters so that the updated state of the terminal is restored to normal.
[0161] In a possible implementation, when it is determined that a terminal fails, target configuration information is generated based on a fault parameter of the terminal, where the configuration information is used to update the fault parameter;
[0162] generating a signaling message based on the target configuration information;
[0163] The signaling message is sent to the terminal.
[0164] The method disclosed in the above embodiment of the present invention can be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 601 or the instruction in the form of software. The above processor 601 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present invention can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and completes the steps of the above method in combination with its hardware.
[0165] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions described in the present application, or a combination thereof.
[0166] For software implementation, the technology described herein can be implemented by a unit that performs the functions described herein. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0167] The electronic device provided in this embodiment may be Figure 6 The electronic device shown in FIG. 1 may perform the following steps: Figure 1-3 All steps of the troubleshooting method in the Figure 1-3 For details, please refer to Figure 1-3 For the sake of brevity, the relevant description is not repeated here.
[0168] The embodiment of the present invention also provides a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0169] When one or more programs in the storage medium can be executed by one or more processors, the fault handling method executed on the device side can be implemented.
[0170] The processor is used to execute the fault handling program stored in the memory to implement the following steps of the fault handling method performed on the fault handling device side:
[0171] Receive a first signaling message sent by a server, where the first signaling message carries multiple information elements;
[0172] Determining a first target information element from the first signaling message, and extracting first target configuration information from the first target information element;
[0173] The fault parameters of the terminal are updated according to the first target configuration information, so that the updated state of the terminal is restored to normal.
[0174] In a possible implementation, when it is determined that the first target information element includes configuration information, first target configuration information is extracted from the first target information element;
[0175] When it is determined that the first target information element does not include configuration information, a normal voice call is performed.
[0176] In a possible implementation, performing an integrity check on the first target configuration information;
[0177] When it is determined that the first target configuration information is incomplete, receiving a second signaling message sent by the server, where the second signaling message carries a plurality of information elements;
[0178] Determining a second target information element from the second signaling message, and extracting second target configuration information from the second target information element;
[0179] The fault parameters of the terminal are updated according to the second target configuration information, so that the updated state of the terminal is restored to normal.
[0180] In a possible implementation, when it is determined that the first target configuration information is complete, a third signaling message is generated;
[0181] The third signaling message is sent to the service end to control the voice call to end.
[0182] In a possible implementation manner, updating the fault parameters of the terminal according to the first target configuration information so that the updated state of the terminal is restored to normal includes:
[0183] Parsing the data field in the first target configuration information using the length field to obtain identification parameters and configuration parameters;
[0184] Searching for a fault parameter in the terminal according to the type field and the identification parameter;
[0185] The fault parameters are updated using the configuration parameters so that the updated state of the terminal is restored to normal.
[0186] In a possible implementation, when it is determined that a terminal fails, target configuration information is generated based on a fault parameter of the terminal, where the configuration information is used to update the fault parameter;
[0187] generating a signaling message based on the target configuration information;
[0188] The signaling message is sent to the terminal.
[0189] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to the function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0190] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0191] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for troubleshooting, It is characterized in that Applied to terminals, including: Receiving a first signaling message sent by a service end for executing a voice call, wherein the first signaling message carries a plurality of information elements; Determining a first target information element from the first signaling message, and extracting first target configuration information from the first target information element; updating the fault parameters of the terminal according to the first target configuration information so that the updated state of the terminal is restored to normal; Before the step of extracting the first target configuration information from the first target information element, the method further includes: When it is determined that the first target information element includes configuration information, extracting first target configuration information from the first target information element; When it is determined that the first target information element does not include configuration information, a normal voice call is performed.
2. The method according to claim 1, It is characterized in that After the step of extracting the first target configuration information from the first target information element, the method further includes: Performing an integrity check on the first target configuration information; When it is determined that the first target configuration information is incomplete, receiving a second signaling message sent by the server, where the second signaling message carries a plurality of information elements; Determining a second target information element from the second signaling message, and extracting second target configuration information from the second target information element; The fault parameters of the terminal are updated according to the second target configuration information, so that the updated state of the terminal is restored to normal.
3. The method according to claim 2, It is characterized in that The method further comprises: When it is determined that the first target configuration information is complete, generating a third signaling message; The third signaling message is sent to the service end to control the voice call to end.
4. The method according to claim 1, It is characterized in that The first target configuration information includes: a type field, a length field and a data field; The updating of the fault parameters of the terminal according to the first target configuration information so that the updated state of the terminal is restored to normal includes: Parsing the data field in the first target configuration information using the length field to obtain identification parameters and configuration parameters; Searching for a fault parameter in the terminal according to the type field and the identification parameter; The fault parameters are updated using the configuration parameters so that the updated state of the terminal is restored to normal.
5. A method for troubleshooting, It is characterized in that Applied to the server, including: When it is determined that a terminal fails, generating target configuration information based on the failure parameters of the terminal, wherein the configuration information is used to update the failure parameters; generating a signaling message based on the target configuration information; The signaling message is sent to the terminal so that the terminal receives a first signaling message sent by the server for executing a voice call, and when it is determined that the first target information element of the first signaling message contains configuration information, the first target configuration information is extracted from the first target information element, and when it is determined that the first target information element does not contain configuration information, a normal voice call is executed.
6. A fault handling device, It is characterized in that include: A receiving module, configured to receive a first signaling message sent by a server for executing a voice call, wherein the first signaling message carries a plurality of information elements; A determination module, configured to extract first target configuration information from the first target information element when it is determined that the first target information element contains configuration information; When it is determined that the first target information element does not include configuration information, performing a normal voice call; Determining a first target information element from the first signaling message, and extracting first target configuration information from the first target information element; An updating module is used to update the fault parameters of the device according to the first target configuration information so that the updated state of the device is restored to normal.
7. A fault handling device, It is characterized in that include: A first generating module, configured to generate target configuration information based on the fault parameters of the terminal when it is determined that the terminal fails, wherein the configuration information is used to update the fault parameters; A second generating module, configured to generate a signaling message based on the target configuration information; A sending module is used to send the signaling message to the terminal so that the terminal receives the first signaling message sent by the device for executing a voice call, and when it is determined that the first target information element of the first signaling message contains configuration information, extract the first target configuration information from the first target information element, and when it is determined that the first target information element does not contain configuration information, execute a normal voice call.
8. An electronic device, It is characterized in that include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; A processor is used to implement the steps of the fault handling method described in any one of claims 1 to 5 when executing a program stored in a memory.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the fault handling method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Product fault processing method and device, computer equipment and storage medium
CN110442478A
