CN113055921B - Fault processing method and terminal - Google Patents

Fault processing method and terminal Download PDF

Info

Publication number
CN113055921B
CN113055921B CN202110334645.9A CN202110334645A CN113055921B CN 113055921 B CN113055921 B CN 113055921B CN 202110334645 A CN202110334645 A CN 202110334645A CN 113055921 B CN113055921 B CN 113055921B
Authority
CN
China
Prior art keywords
information
state information
terminal
pieces
analysis result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110334645.9A
Other languages
Chinese (zh)
Other versions
CN113055921A (en
Inventor
肖征荣
张丽云
邢建兵
田新雪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110334645.9A priority Critical patent/CN113055921B/en
Publication of CN113055921A publication Critical patent/CN113055921A/en
Application granted granted Critical
Publication of CN113055921B publication Critical patent/CN113055921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Abstract

The application discloses a fault processing method and a terminal, and relates to the technical field of communication. The fault processing method comprises the following steps: acquiring state information of a terminal where a current client is located; sending the state information to the base station in the form of an out-of-band short message so that the base station forwards the state information to a voice mailbox server; recording the state information and the sending frequency of the state information, and generating a state information set; under the condition that the sending frequency is larger than the preset frequency threshold value, determining whether the terminal breaks down or not according to the state information in the state information set; and stopping sending the state information under the condition that the terminal is determined to have the fault. Unnecessary out-of-band short messages sent by the terminal to the server are reduced, the service processing performance of the server is improved, user complaints are avoided, and user experience is improved.

Description

Fault processing method and terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to a fault handling method and a terminal.
Background
The voice mailbox service is a service based on various networks and mainly has the function of voice information interaction, and provides services of storing, forwarding, extracting voice information and the like for users. On the basis of the characteristics of the service, the traditional voice mailbox can be visually improved (for example, various visual ways such as Web pages, client sides and multimedia forwarding message issuing are provided). The visualization of the voice mailbox enables the user to operate more conveniently, the user experience is better, and the method has wide commercial value.
However, when a client of the voice mailbox fails (for example, software conflict, terminal crash (crash) due to some reason, etc.), the client of the voice mailbox frequently sends out-of-band short messages to the server, so that the data processing amount of the server is increased sharply, and the processing performance of the server is reduced.
Disclosure of Invention
Therefore, the application provides a fault processing method and a terminal, and how to avoid the problem of unnecessary interaction of out-of-band short messages between the terminal and a server.
In order to achieve the above object, a first aspect of the present application provides a fault handling method, including: acquiring state information of a terminal where a current client is located; sending the state information to the base station in an out-of-band short message mode so that the base station forwards the state information to a voice mailbox server; recording the state information and the sending frequency of the state information, and generating a state information set; under the condition that the sending frequency is determined to be larger than the preset frequency threshold, whether the terminal breaks down or not is determined according to the state information in the state information set; and stopping sending the state information under the condition that the terminal is determined to have the fault.
In some implementations, in the case that it is determined that the terminal has failed, stopping sending the state information includes: setting the state information as invalid information and generating a sending stop identifier; and stopping sending the state message according to the stop sending identifier.
In some implementations, in a case where it is determined that the transmission frequency is greater than the preset frequency threshold, determining whether the terminal has a fault according to the state information in the state information set includes: under the condition that the sending frequency is determined to be greater than the preset frequency threshold, analyzing the state information in the state information set to obtain an analysis result; and detecting whether the terminal has a fault according to the analysis result.
In some implementations, the status information includes any one or more of location information of the terminal, registered user information corresponding to the terminal, and operator information corresponding to the terminal.
In some implementations, the set of state information includes N pieces of state information, N being an integer greater than or equal to 1; under the condition that the sending frequency is determined to be greater than the preset frequency threshold, analyzing the state information in the state information set to obtain an analysis result, wherein the analysis result comprises the following steps: under the condition that the sending frequency is determined to be larger than a preset frequency threshold, any one or more of position information, registered user information and operator information in the N pieces of state information are extracted; analyzing the N pieces of state information in the state information set, and determining any one or more of the following analysis results: analyzing the N position information to obtain a position analysis result; analyzing the N pieces of registered user information to obtain the information analysis result of the registered users; and analyzing the N operator information to obtain an operator information analysis result.
In some implementations, the location information includes latitude and longitude information; analyzing the N position information to obtain a position analysis result, wherein the position analysis result comprises the following steps: comparing the N pieces of position information pairwise to determine whether abnormal positions exist in the N pieces of position information or not, and obtaining a position analysis result; wherein the position analysis result comprises: the N pieces of position information are the same, or abnormal positions exist in the N pieces of position information.
In some implementations, the registered user information includes an international mobile subscriber identity number; analyzing the N pieces of registered user information to obtain the information analysis result of the registered users, wherein the information analysis result comprises the following steps: extracting any international mobile subscriber identity number in the N pieces of registered user information, and taking the extracted international mobile subscriber identity number as a preset number; searching N pieces of registered user information according to the preset number, determining whether a number different from the preset number exists in the N pieces of registered user information, and obtaining an analysis result of the registered user information.
In some implementations, the operator information includes preset operator information; analyzing the N operator information to obtain an operator information analysis result, wherein the operator information analysis result comprises the following steps: searching N operator information according to preset operator information, determining whether the N operator information are the same or not, and obtaining an operator information analysis result; wherein, the operator information analysis result comprises: the N pieces of operator information are all preset operator information, or the N pieces of operator information have operator information different from the preset operator information.
In some implementations, detecting whether the terminal has a fault according to the analysis result includes: determining the analysis result comprises: determining that the terminal fails under the condition that the position analysis result is that N pieces of position information are the same, the registered user information analysis result is that N pieces of registered user information are the same, and N pieces of operator information are the same; otherwise, determining that the terminal has no fault.
In order to achieve the above object, a second aspect of the present application provides a terminal comprising: the acquisition module is used for acquiring the state information of the terminal where the current client is located; the sending module is used for sending the state information to the base station in the form of the out-of-band short message so that the base station forwards the state information to the voice mailbox server; the recording module is used for recording the state information and the sending frequency of the state information and generating a state information set; the detection module is used for determining whether the terminal fails or not according to the state information in the state information set under the condition that the sending frequency is determined to be greater than the preset frequency threshold; and the processing module is used for stopping sending the state information under the condition that the terminal is determined to have a fault.
According to the fault processing method and the terminal, the state of the terminal (for example, whether an abnormality exists or not) can be obtained by collecting the state information of the terminal where the current client is located; sending the state information to the base station in an out-of-band short message mode so that the base station forwards the state information to the voice mailbox server and the voice mailbox server can obtain the state of the terminal in real time; recording the state information and the sending frequency of the state information, and generating a state information set; by recording the state information and the sending frequency of the state information, whether the reporting of the state information is normal (for example, whether the sending frequency of the state information is too slow or too fast or the like) can be known; under the condition that the sending frequency is determined to be larger than the preset frequency threshold, whether the terminal breaks down or not is determined according to the state information in the state information set; determining whether accidental conditions such as terminal downtime and the like occur in the terminal by sending frequency and state information, and ensuring the safety of the terminal; under the condition that the terminal is determined to have a fault, the sending of the state information is stopped, unnecessary out-of-band short messages sent by the terminal to the server is reduced, the service processing performance of the server is improved, the complaint of a user is avoided, and the user experience is improved.
Drawings
The accompanying drawings are included to provide a further understanding of the embodiments of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application. The above and other features and advantages will become more apparent to those skilled in the art by describing in detail exemplary embodiments thereof with reference to the attached drawings, in which:
fig. 1 shows a schematic flow chart of a fault handling method in an embodiment of the present application.
Fig. 2 is a schematic flow chart illustrating a fault handling method according to another embodiment of the present application.
Fig. 3 shows a block diagram of the terminal in the embodiment of the present application.
Fig. 4 shows a block diagram of the components of the fault handling system in the embodiment of the present application.
Fig. 5 is a flowchart illustrating a method for operating the fault handling system in the embodiment of the present application.
In the drawings:
301: the acquisition module 302: transmission module
303: the recording module 304: detection module
305: the processing module 401: terminal device
402: the server 403: base station
404: short message center server
Detailed Description
The following detailed description of embodiments of the present application will be made with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the preferred embodiment of the invention, are given by way of illustration and explanation only, not limitation. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
In the technical solution according to the present application, the acquisition of the personal information data of the user complies with the relevant national laws and regulations (e.g., "information security technology personal information security regulations"). Moreover, the information acquisition mode is that the user is explicitly informed, and a legal way is passed; the type of the obtained information is directly related to the service function of the product or service, and the obtained information is collected with the lowest frequency and the minimum quantity; collecting personal information without violating the autonomous will of the personal information subject; obtaining authorization approval when collecting personal information; when the personal information is obtained indirectly, or a data set is disclosed for a network, or obtained in other ways, and the specification requirement of obtaining the indirect personal information is met.
In the technical solution according to the present application, the storage of the user personal information data complies with the relevant national laws and regulations (e.g., "information security technology personal information security regulations"). If the technical solution involves some specific operations as follows, a corresponding processing manner that conforms to the following may be further selected: personal information storage time is minimized; the personal information has been subjected to a de-identification process; encrypting and storing the personal sensitive information; the personal biological information and the personal identity information are stored separately; the original personal biometric information is not stored, such as only the digest information is stored, or only used, or deleted after use.
The technical scheme is characterized in that the user data is used according to the relevant national laws and regulations (such as personal information safety regulations of information safety technology). Such as: the personal information access control takes corresponding prescribed measures; the display of personal information gives regulatory restrictions; the personal information use purpose is not beyond the direct or reasonable association range; and when the personal information is used, the definite identity directivity is eliminated, and the specific individual is prevented from being accurately positioned.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The voice mailbox (or voice message) can support any one or more of the following service functions: the system supports the traditional Interactive Voice Response (IVR) service, and can enable a website (or a client) to be in seamless connection with a traditional IVR Voice platform; a voice technology with the highest recognition rate and a characteristic language dual-display technology are adopted; the individual telephone prompt tone is flexibly set, and any telephone which is not wanted is rejected in politeness; the call forwarding is easily set, and any incoming call is not missed. When a user logs in to a voice mailbox using a client of a smart terminal (e.g., a smart phone, etc.), a registered account does not need to be used. However, when a user logs in a website using a device such as a PC, a registered account needs to be used. When the client of the intelligent terminal is not on line, the message can be sent to the intelligent terminal of the user in a short message form and can be synchronized to the IVR voice platform server of the user.
The user can view the message in two ways: 1) and downloading and installing voice mailbox software to the intelligent terminal for free, and checking the left message by using the voice mailbox software in the intelligent terminal. Wherein the traffic charge due to the use of the voice mailbox is charged by the operator (for example, the communication charge due to the use of the voice mailbox is the same as the communication charge directly used on the smart terminal, or the traffic charge is charged in a monthly contract system for the members of the voice mailbox service). 2) The state query or message leaving between the client and the server is performed by adopting an out-of-band short message mode, and the out-of-band short message is invisible to the intelligent terminal, so that an application (such as a voice mailbox app) corresponding to the intelligent terminal can intercept the out-of-band short message, and the server can push related message leaving data to the client.
Due to the fact that the notification is carried out in the out-of-band short message mode, when a client side of the voice mailbox breaks down (for example, when terminal software conflicts or terminal software crashes), the visual voice mailbox server can frequently receive a plurality of uplink out-of-band short messages sent by the intelligent terminal, unnecessary communication pressure can be brought to a communication network, and user complaints can be easily caused.
In view of the above problems, a first aspect of the present application provides a fault handling method. Fig. 1 shows a schematic flow chart of a fault handling method in an embodiment of the present application. The fault handling method can be applied to a terminal. As shown in fig. 1, the fault handling method includes the following steps:
step S101, collecting the state information of the terminal where the current client is located.
Wherein, the current client can be an Application program (app) of the voice mailbox, and the app of the voice mailbox is installed on the terminal, so that the app can be used for collecting the state information of the terminal where the client is located,
the state information may further include any one or more of a name of the terminal, a server address corresponding to the terminal, a port number of the server, and the like. The above status information is only an example, and may be specifically set according to an actual situation, and other status information that is not described is also within the protection scope of the present application, and is not described herein again.
Step S102, sending the state information to the base station in the form of an out-of-band short message, so that the base station forwards the state information to the voice mailbox server.
When data communication is performed, a data format for transmitting important data, for example, an out-of-band (OOB) format, is defined in the transport layer protocol. If a communication party has important data to inform the other party, the important data can be ensured to be quickly transmitted to the other party through a transport layer protocol. The out-of-band short message can be a short message sent in an OOB form, so that the base station can quickly obtain the state information reported by the terminal and forward the state information to the voice mailbox server.
Step S103, recording the state information and the sending frequency of the state information, and generating a state information set.
The transmission frequency can be obtained by the following method: in a preset time period (for example, 5 seconds, 10 seconds, etc.), the transmission frequency is determined according to the time information for transmitting the status information and the number of pieces of status information transmitted in the preset time period. And balancing the sending condition of the measurement state information by obtaining the average sending frequency in the preset time length.
It should be noted that the state information set includes a plurality of pieces of state information, for example, N pieces of state information may be included, where N is an integer greater than or equal to 1. And, each piece of state information may correspond to one transmission time.
And step S104, under the condition that the sending frequency is determined to be greater than the preset frequency threshold, determining whether the terminal fails according to the state information in the state information set.
The preset frequency threshold is a transmission frequency determined in advance according to historical data, and for example, the preset frequency threshold may be set to 10 pieces/second.
It should be noted that, when the terminal is in normal operation, the transmission frequency is not too fast, for example, the transmission frequency may be 5 pieces/second; however, when the terminal fails, the sending frequency is greater than the preset frequency threshold, for example, when the sending frequency is 20 pieces/second (that is, the sending frequency is greater than 10 pieces/second), it is characterized that the terminal may fail, and then, according to the analysis of the state information in the state information set, it is determined whether the state information is normal, and whether some or some state information is abnormal, and further, it is determined whether the terminal fails.
Step S105, when it is determined that the terminal has failed, stops transmitting the status information.
For example, when the voicemail app installed on the terminal crashes, an abnormal condition may exist in the state information, and at this time, it is necessary to stop sending the state information to the base station, so as to avoid that the communication resources are wasted due to excessive state information received by the base station, and the voicemail server receives a large amount of useless information.
In some implementations, in the case that it is determined that the terminal has failed, stopping sending the status information includes: setting the state information as invalid information and generating a sending stop identifier; and stopping sending the state message according to the stop sending identifier.
The terminal may further include a sending module, and when the sending module obtains the transmission stop flag, the status information set as the invalid information may be discarded and is no longer sent to the base station. And when the sending stopping identifier is set to be invalid until the fault of the terminal is solved, the sending module resumes sending the state information, thereby reducing the possibility that the terminal sends unnecessary out-of-band short messages.
In this embodiment, the state of the terminal (e.g., whether there is an abnormality, etc.) can be known by collecting the state information of the terminal where the current client is located; sending the state information to the base station in an out-of-band short message mode so that the base station forwards the state information to the voice mailbox server and the voice mailbox server can obtain the state of the terminal in real time; recording the state information and the sending frequency of the state information, and generating a state information set; by recording the state information and the sending frequency of the state information, whether the reporting of the state information is normal (for example, whether the sending frequency of the state information is too slow or too fast or the like) can be known; under the condition that the sending frequency is determined to be larger than the preset frequency threshold, whether the terminal breaks down or not is determined according to the state information in the state information set; determining whether terminal downtime and other accidents happen to the terminal through sending frequency and state information, and ensuring the safety of the terminal; under the condition that the terminal is determined to have a fault, the sending of the state information is stopped, the terminal is reduced from sending unnecessary out-of-band short messages to the server, the service processing performance of the server is improved, the complaint of a user is avoided, and the user experience is improved.
Fig. 2 is a schematic flow chart of a fault handling method in another embodiment of the present application. The fault handling method can be applied to a terminal. As shown in fig. 2, the fault handling method includes the following steps:
step S201, collecting the state information of the terminal where the current client is located.
The state information further includes any one or more of location information of the terminal, registered user information corresponding to the terminal, and operator information corresponding to the terminal.
For example, the location information may be latitude and longitude information, or may be a name of a landmark building corresponding to the location of the terminal. The user Identity information includes user Identity information, for example, user Identity information corresponding to the terminal obtained through information stored in a Subscriber Identity Module (SIM), and the operator information includes information of an operator providing a communication service for the terminal, for example, Public Land Mobile Network (PLMN) information and the like.
Step S202, sending the status information to the base station in the form of an out-of-band short message, so that the base station forwards the status information to the voice mailbox server.
Step S203 records the status information and the transmission frequency of the status information, and generates a status information set.
It should be noted that steps S202 to S203 in this embodiment are the same as steps S102 to S103 in the previous embodiment, and are not described again here.
And step S204, analyzing the state information in the state information set under the condition that the sending frequency is determined to be greater than the preset frequency threshold value, and obtaining an analysis result.
Wherein, the analysis result comprises: the status information is normal or the status information is abnormal. When the state information is abnormal, a fault may exist in the terminal, for example, a phenomenon that a voicemail app installed in the terminal crashes, and the like. And if the state information is normal, the representation terminal is not in fault and is in a normal working state.
In some implementations, the set of state information includes N pieces of state information, N being an integer greater than or equal to 1; under the condition that the sending frequency is determined to be greater than the preset frequency threshold, analyzing the state information in the state information set to obtain an analysis result, wherein the analysis result comprises the following steps: under the condition that the sending frequency is determined to be larger than a preset frequency threshold, any one or more of position information, registered user information and operator information in the N pieces of state information are extracted; analyzing the N pieces of state information in the state information set, and determining any one or more of the following analysis results: analyzing the N position information to obtain a position analysis result; analyzing the N pieces of registered user information to obtain the information analysis result of the registered users; and analyzing the N operator information to obtain an operator information analysis result.
Wherein, a strip of status information includes any one or more of a piece of location information, a piece of user identification information and a piece of operator information. When various information in the N pieces of state information is extracted, any one or more of N pieces of position information, N pieces of user identification information and N pieces of operator information can be obtained.
For example, N pieces of location information and N pieces of subscriber identification information, N pieces of subscriber identification information and N pieces of operator information, and the like may be extracted, and the terminal may be analyzed by extracting the minimum information to obtain an analysis result for the terminal. Save analysis time, promote the analysis efficiency to the terminal.
In some implementations, the location information includes latitude and longitude information; analyzing the N position information to obtain a position analysis result, wherein the position analysis result comprises the following steps: comparing the N pieces of position information pairwise to determine whether abnormal positions exist in the N pieces of position information or not and obtain a position analysis result; wherein the position analysis result comprises: the N pieces of position information are the same, or abnormal positions exist in the N pieces of position information.
Through pairwise comparison of the N position information, the N position information can be verified, and the verification accuracy of the position information is improved. And when the N position information is the same as the determined position analysis result, the representation terminal is not displaced and still is in the service range of the voice mailbox server. When the position analysis result is determined that abnormal position information exists in the N pieces of position information, the characteristic terminal has displacement and is possibly out of the service range of the voice mailbox server, and measures need to be taken by the voice mailbox server to improve the service effect of the terminal.
In some implementations, the registered user information includes an international mobile subscriber identity number; analyzing the N pieces of registered user information to obtain the information analysis result of the registered users, wherein the information analysis result comprises the following steps: extracting any international mobile subscriber identity number in the N pieces of registered user information, and taking the extracted international mobile subscriber identity number as a preset number; searching N pieces of registered user information according to the preset number, determining whether a number different from the preset number exists in the N pieces of registered user information, and obtaining an analysis result of the registered user information.
Whether a number different from a preset number exists in the N pieces of registered user information is searched, when the N pieces of registered user information are determined to be the same, the fact that a Subscriber Identity Module (SIM) is not replaced at the current terminal is represented, and the registered user information is not changed according to the analysis result of the registered user information; otherwise, if the number different from the preset number exists in the N pieces of registered user information, the registered user information representing the current terminal is changed.
In some implementations, the operator information includes preset operator information; analyzing the N operator information to obtain operator information analysis results, wherein the operator information analysis results comprise the following steps: searching N operator information according to preset operator information, determining whether the N operator information are the same or not, and obtaining an operator information analysis result; wherein, the operator information analysis result comprises: the N pieces of operator information are all preset operator information, or the N pieces of operator information have operator information different from the preset operator information.
The method comprises the steps of searching first operator information or second operator information in N pieces of operator information, and determining the types of operators included in the N pieces of operator information so as to determine whether the terminal has the condition of replacing the operators. If the obtained operator information analysis result indicates that the N pieces of operator information are all first operator information or the N pieces of operator information are all second operator information, representing that the terminal does not change the operators; if the obtained operator information analysis result shows that the N pieces of operator information comprise the first operator information and the second operator information, the fact that the operator of the terminal is changed is represented, and a communication path through which the voice mailbox server sends the message needs to be adjusted, so that the terminal can normally receive the message sent by the voice mailbox server, and user experience is improved.
Step S205, detecting whether the terminal has a fault according to the analysis result.
If the analysis result is that the state information is normal, determining that the terminal has no fault; and if the analysis result is that the state information is abnormal, determining that the terminal has a fault.
For example, the abnormal status information may appear as: the location information reported by the terminal changes many times, or there is abnormal information in the user identification information reported by the terminal, or the operator information changes (for example, the user moves from a certain serving cell to another serving cell, etc.). The above expressions of abnormal status information are only examples, and may be specifically set according to actual situations, and other expressions of abnormal status information that are not described are also within the scope of protection of the present application, and are not described herein again.
In some implementations, detecting whether the terminal has a fault according to the analysis result includes: determining the analysis result comprises: determining that the terminal fails under the condition that the position analysis result is that N pieces of position information are the same, the registered user information analysis result is that N pieces of registered user information are the same, and N pieces of operator information are the same; otherwise, determining that the terminal has no fault.
And measuring and detecting the terminal through a multi-dimensional analysis result, determining whether the terminal has a fault, and ensuring the detection accuracy of the terminal.
In step S206, when it is determined that the terminal has failed, transmission of the status information is stopped.
It should be noted that step S206 in this embodiment is the same as step S105 in the previous embodiment, and is not repeated herein.
In this embodiment, the terminal is analyzed and detected through the state information of a plurality of different dimensions to obtain an analysis result, and whether the terminal has a fault or not is determined according to the analysis result, so that the detection accuracy of the terminal is ensured. The method and the device can stop sending the state information under the condition that the terminal is determined to be in fault, reduce the number of the out-of-band short messages sent by the terminal, improve the service processing performance of the server, avoid complaints of users and improve the user experience.
A second aspect of the present application provides a terminal. Fig. 3 shows a block diagram of the terminal in the embodiment of the present application. As shown in fig. 3, the terminal includes the following modules:
the acquisition module 301 is configured to acquire state information of a terminal where a current client is located; a sending module 302, configured to send the status information to the base station in an out-of-band short message manner, so that the base station forwards the status information to the voice mailbox server; a recording module 303, configured to record the state information and a sending frequency of the state information, and generate a state information set; the detection module 304 is configured to determine whether the terminal fails according to the state information in the state information set when it is determined that the sending frequency is greater than the preset frequency threshold; the processing module 305 is configured to stop sending the status information if it is determined that the terminal has failed.
In this embodiment, the state information of the terminal where the current client is located is acquired through the acquisition module, so that the state of the terminal can be obtained; the sending module is used for sending the state information to the base station in an out-of-band short message mode, so that the base station forwards the state information to the voice mailbox server, and the voice mailbox server is guaranteed to be capable of obtaining the state of the terminal in real time; recording the state information and the sending frequency of the state information by using a recording module to generate a state information set; by recording the state information and the sending frequency of the state information, whether the reporting of the state information is normal (for example, whether the sending frequency of the state information is too slow or too fast or the like) can be known; the method comprises the steps that a detection module is used for determining whether a terminal fails or not according to state information in a state information set under the condition that the sending frequency is determined to be larger than a preset frequency threshold; determining whether terminal downtime and other accidents happen to the terminal through sending frequency and state information, and ensuring the safety of the terminal; the processing module stops sending the state information under the condition that the terminal is determined to be in fault, unnecessary out-of-band short messages sent by the terminal to the server are reduced, the service processing performance of the server is improved, user complaints are avoided, and user experience is improved.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present application, a unit that is not so closely related to solving the technical problem proposed by the present application is not introduced in the present embodiment, but it does not indicate that no other unit exists in the present embodiment.
A third aspect of the present application provides a fault handling system. Fig. 4 shows a block diagram of the components of the fault handling system in the embodiment of the present application. As shown in fig. 4, the fault handling system specifically includes the following devices: terminal 401, server 402, base station 403 and short message center server 404.
Server 402 needs to satisfy the interface definition of the Interactive Mail Access Protocol (IMAP). The server 402 may also access messages and data for visual voice mail (e.g., receive voice messages, set alert tones (Greeting), set Personal Identification Number (PIN) through a User Interface (UI) of the terminal, etc.). The Short Message center server 404 provides a Short Message Service (SMS) interface for receiving and sending Out-Of-Band (OOB) data between the terminal 401 and the server 402, and the server 402 provides the terminal 401 with relevant status information (e.g., inbox/alert tone updates, etc.) Of the visual voicemail box through the SMS interface. When the Out-Of-Band state (OOBS) is in an Active state, it indicates that the server 402 is available. When the terminal 401 sends a query status information request to the server 402, the server 402 must return a query result to the terminal 401. However, the terminal 401 may not necessarily receive the query result sent by the server 402 on time, and if the terminal 401 does not receive the query result fed back by the server 402 after timeout, the terminal 401 needs to resend the query status information request.
In some implementations, the server 402 may also provide the terminal 401 with an address of an available Short Message Service Center (SMSC) server, by which the terminal 401 can query its own voice mailbox status information. The SMSC address can be written into the terminal 401 in a preprogrammed manner.
It should be noted that the port address definition on the terminal 401 shall conform to the definitions of sections 9.2.3.24.3 and 9.2.3.24.4 in the short message service implementation protocol (i.e., Technical Specification of 3rd Generation Partnership Project (3 GPP TS) 23.040). For example, an SMS message sent by the terminal 401 may reach the 5499 port, which is only used for messaging for voicemail service. The terminal 401 may complete the setting of OOB data (e.g., setting of basic parameters, setting of operation and maintenance information for an account of a voice mailbox, etc.) which is data independent of the IMAP interface through the SMS interface.
In some implementations, when the terminal 401 performs the setting of the OOB data through the SMS interface, the data Type that can be adopted is Type 0SMS, and the short message Type in the Type of SMS is 0 or 1 (i.e., SMS with Class 0 or Class 1). To ensure that the SMS is not visible on a conventional terminal, a parameter "short message Protocol Identifier (TP-PID)" in a header of the SMS may be set to "ME data download" (ME data download) "e.g., the TP-PID is set to 0x 7D.
For example, the uplink query command of the terminal 401 may include:
1) an uplink query instruction when a voice mailbox button is activated for the first time includes a Device model (Device) and a Device Type (Type), for example, the Type is 1;
2) inserting a mobile phone card instruction, wherein the instruction comprises a Device and a Type, and the Type is 2;
3) the mobile phone power-on instruction comprises a Device and a Type, and the Type is 3, for example.
It should be noted that, when the terminal 401 sends any one of the above three instructions, the server 402 needs to return an inquiry response. When the server 402 does not feed back the inquiry response, the terminal 401 has to set its own status to be offline.
When the status of the user's voicemail account changes, the server 402 will issue a status message; meanwhile, the terminal 401 may transmit any one of the uplink query commands 1) to 3) to the server 402.
In one particular implementation, the STATE message may include any one or more of the following key fields:
state < STATE information, e.g., Active STATE, or Inactive STATE (Inactive) >
name < IMAP Login name >
server < IMAP Server Address >
Port < Port number of IMAP Server >
pw < password of IMAP Server >
Location < user's Location information, e.g., latitude and longitude information, etc. >
newSIM < information on whether it is a new SIM >
PLMN < PLMN information of operator where user resides >
When the STATE message received by the server 402 is an Active STATE message, it indicates that the voice message in the voice mailbox has an update, or that the alert tone has an update, etc.
Fig. 5 is a flowchart illustrating a method of operating a fault handling system in an embodiment of the present application. As shown in fig. 5, the working method of the fault handling system includes the following steps:
in step S501, the terminal 401 reads its own location information (e.g., latitude and longitude information), reads whether new SIM information is available, and determines PLMN information, and then writes the above three information in the STATE message.
Step S502, the terminal 401 sends the STATE message to the base station 403 in an out-of-band short message manner, so that the base station 403 forwards the STATE message to the server 402.
During the forwarding process of the message, the STATE message also passes through the short message center server 404, so that the server 402 and the terminal 401 on different network segments can communicate.
In step S503, the app of the voice mailbox installed in the terminal 401 records the transmission frequency of the transmission STATE message (in the form of an out-of-band short message), and monitors whether the transmission frequency exceeds a preset frequency threshold.
For example, the preset frequency threshold is set to be 20 pieces/second, and when the terminal 401 detects that the frequency of sending the STATE short message is greater than 20 pieces/second, it is determined to start the STATE monitoring and judging module of the terminal 401, so that the STATE monitoring and judging module judges whether the terminal 401 has a fault.
Step S504, the STATE monitoring and determining module of the terminal 401 analyzes each sent STATE short message, extracts the terminal geographical location information in each STATE short message, and whether to insert new SIM information, and the operator network PLMN information registered by the user.
Step S505, if the STATE monitoring and determining module of the terminal 401 determines that the geographic location information in each sent STATE short message is the same, and is not an inserted new SIM card, or is not registered in a new operator network, it determines that the terminal 401 has a fault, the fault cause may be a user terminal software conflict, or an out-of-band short message sent by the voicemail app due to a terminal software system crash is too much, and determines that the STATE short message sent by the terminal 401 is a useless message.
Step S506, the terminal 401 stops sending the uplink STATE short message in the form of the out-of-band short message.
In this embodiment, the state of the terminal (e.g., whether there is an abnormality, etc.) can be known by acquiring the state information of the terminal where the current client is located; sending the state information to the base station in the form of an out-of-band short message so that the base station forwards the state information to the voice mailbox server and ensures that the voice mailbox server can obtain the state of the terminal in real time; recording the state information and the sending frequency of the state information, and generating a state information set; by recording the state information and the sending frequency of the state information, whether the reporting of the state information is normal (for example, whether the sending frequency of the state information is too slow or too fast or the like) can be known; under the condition that the sending frequency is determined to be larger than the preset frequency threshold, whether the terminal breaks down or not is determined according to the state information in the state information set; determining whether accidental conditions such as collapse of the app installed on the terminal occur in the terminal or not by sending frequency and state information, and ensuring the safety of the terminal; under the condition that the terminal is determined to have a fault, the sending of the state information is stopped, the terminal is reduced from sending unnecessary out-of-band short messages to the server, the service processing performance of the server is improved, the complaint of a user is avoided, and the user experience is improved.
It is to be understood that the above embodiments are merely exemplary embodiments that are employed to illustrate the principles of the present application, and that the present application is not limited thereto. It will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the application, and these changes and modifications are to be considered as the scope of the application.

Claims (6)

1. A method of fault handling, the method comprising:
acquiring state information of a terminal where a current client is located; the state information comprises any one or more of position information of the terminal, registered user information corresponding to the terminal and operator information corresponding to the terminal;
sending the state information to a base station in an out-of-band short message mode so that the base station forwards the state information to a voice mailbox server;
recording the state information and the sending frequency of the state information to generate a state information set;
under the condition that the sending frequency is determined to be larger than a preset frequency threshold, determining whether the terminal fails according to the state information in the state information set;
under the condition that the terminal is determined to have a fault, stopping sending the state information;
the determining, according to the state information in the state information set, whether the terminal has a fault when it is determined that the transmission frequency is greater than a preset frequency threshold includes:
under the condition that the sending frequency is determined to be greater than a preset frequency threshold, analyzing the state information in the state information set to obtain an analysis result;
detecting whether the terminal has a fault according to the analysis result;
the state information set comprises N pieces of state information, wherein N is an integer greater than or equal to 1;
under the condition that the sending frequency is determined to be greater than the preset frequency threshold, analyzing the state information in the state information set to obtain an analysis result, including:
under the condition that the sending frequency is determined to be larger than a preset frequency threshold value, any one or more of position information, the registered user information and the operator information in the N pieces of state information are extracted;
analyzing the N pieces of state information in the state information set, and determining any one or more of the following analysis results:
analyzing the N pieces of position information to obtain position analysis results;
analyzing the N pieces of registered user information to obtain the information analysis result of the registered users;
analyzing the N operator information to obtain operator information analysis results;
the detecting whether the terminal has a fault according to the analysis result includes:
determining the analysis result comprises: determining that the terminal fails under the condition that the position analysis result is that N pieces of position information are the same, the registered user information analysis result is that N pieces of registered user information are the same, and N pieces of operator information are the same;
otherwise, determining that the terminal has no fault.
2. The method of claim 1, wherein the stopping the sending of the status information in case of determining that the terminal has failed comprises:
setting the state information as invalid information and generating a sending stop identifier;
and stopping sending the state information according to the sending stopping identification.
3. The method of claim 1, wherein the location information comprises latitude and longitude information;
the analyzing the N pieces of location information to obtain a location analysis result includes:
comparing every two of the N pieces of position information to determine whether abnormal positions exist in the N pieces of position information, and obtaining the position analysis result;
wherein the location analysis result comprises: the N pieces of position information are the same, or abnormal positions exist in the N pieces of position information.
4. The method of claim 1, wherein the registered subscriber information includes an international mobile subscriber identity number;
the analyzing the N pieces of registered user information to obtain a registered user information analysis result includes:
extracting any one international mobile subscriber identity number in the N pieces of registered user information, and taking the extracted international mobile subscriber identity number as a preset number;
searching N pieces of registered user information according to the preset number, determining whether a number different from the preset number exists in the N pieces of registered user information, and obtaining an analysis result of the registered user information.
5. The method of claim 1, wherein the operator information comprises preset operator information;
the analyzing the N pieces of operator information to obtain an operator information analysis result includes:
searching N pieces of operator information according to the preset operator information, determining whether the N pieces of operator information are the same or not, and obtaining an operator information analysis result;
wherein the operator information analysis result comprises: the N pieces of operator information are the preset operator information, or the N pieces of operator information have operator information different from the preset operator information.
6. A terminal, characterized in that it comprises:
the acquisition module is used for acquiring the state information of the terminal where the current client is located; the state information comprises any one or more of position information of the terminal, registered user information corresponding to the terminal and operator information corresponding to the terminal;
the sending module is used for sending the state information to a base station in an out-of-band short message mode so that the base station can forward the state information to a voice mailbox server;
the recording module is used for recording the state information and the sending frequency of the state information and generating a state information set;
the detection module is used for determining whether the terminal fails or not according to the state information in the state information set under the condition that the sending frequency is determined to be greater than a preset frequency threshold value;
the processing module is used for stopping sending the state information under the condition that the terminal is determined to have a fault;
the detection module is specifically configured to:
under the condition that the sending frequency is determined to be greater than a preset frequency threshold, analyzing the state information in the state information set to obtain an analysis result;
detecting whether the terminal has a fault according to the analysis result;
the state information set comprises N pieces of state information, wherein N is an integer greater than or equal to 1;
under the condition that the sending frequency is determined to be greater than the preset frequency threshold, analyzing the state information in the state information set to obtain an analysis result, including:
under the condition that the sending frequency is determined to be larger than a preset frequency threshold value, any one or more of position information, the registered user information and the operator information in the N pieces of state information are extracted;
analyzing the N pieces of state information in the state information set, and determining any one or more of the following analysis results:
analyzing the N pieces of position information to obtain position analysis results;
analyzing the N pieces of registered user information to obtain the information analysis result of the registered users;
analyzing the N pieces of operator information to obtain operator information analysis results;
the detecting whether the terminal has a fault according to the analysis result includes:
determining the analysis result comprises: determining that the terminal fails when the position analysis result is that the N pieces of position information are the same, the registered user information analysis result is that the N pieces of registered user information are the same, and the N pieces of operator information are the same;
otherwise, determining that the terminal has no fault.
CN202110334645.9A 2021-03-29 2021-03-29 Fault processing method and terminal Active CN113055921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110334645.9A CN113055921B (en) 2021-03-29 2021-03-29 Fault processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110334645.9A CN113055921B (en) 2021-03-29 2021-03-29 Fault processing method and terminal

Publications (2)

Publication Number Publication Date
CN113055921A CN113055921A (en) 2021-06-29
CN113055921B true CN113055921B (en) 2022-09-23

Family

ID=76516039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110334645.9A Active CN113055921B (en) 2021-03-29 2021-03-29 Fault processing method and terminal

Country Status (1)

Country Link
CN (1) CN113055921B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114844995A (en) * 2022-04-07 2022-08-02 中国联合网络通信集团有限公司 Information processing method, server and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024933A (en) * 2014-04-22 2015-11-04 腾讯科技(深圳)有限公司 Request packet sending frequency control method and apparatus
CN106375152A (en) * 2016-08-31 2017-02-01 北京信而泰科技股份有限公司 Method for processing communication abnormality of Client/Server (C/S) architecture
CN106817267A (en) * 2015-11-27 2017-06-09 华为技术有限公司 A kind of fault detection method and equipment
WO2018010507A1 (en) * 2016-07-11 2018-01-18 广东欧珀移动通信有限公司 Awakening monitoring method of terminal system, storage medium, terminal, and electronic device
CN109561487A (en) * 2017-09-25 2019-04-02 中兴通讯股份有限公司 Reduce the method, apparatus and mobile terminal of mobile terminal energy consumption

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105024933A (en) * 2014-04-22 2015-11-04 腾讯科技(深圳)有限公司 Request packet sending frequency control method and apparatus
CN106817267A (en) * 2015-11-27 2017-06-09 华为技术有限公司 A kind of fault detection method and equipment
WO2018010507A1 (en) * 2016-07-11 2018-01-18 广东欧珀移动通信有限公司 Awakening monitoring method of terminal system, storage medium, terminal, and electronic device
CN106375152A (en) * 2016-08-31 2017-02-01 北京信而泰科技股份有限公司 Method for processing communication abnormality of Client/Server (C/S) architecture
CN109561487A (en) * 2017-09-25 2019-04-02 中兴通讯股份有限公司 Reduce the method, apparatus and mobile terminal of mobile terminal energy consumption

Also Published As

Publication number Publication date
CN113055921A (en) 2021-06-29

Similar Documents

Publication Publication Date Title
US8819149B2 (en) Systems and methods for notifying a computing device of a communication addressed to a user based on an activity or presence of the user
EP2454898B1 (en) Method and apparatus for verification of a telephone number
EP1763261A1 (en) Implementing method for short message service
KR20050033421A (en) Method and system for web-based event notification
US20120174144A1 (en) System and Method for Capturing Parameters and Register of Events in Portable Devices With Digital Television Receiver, Method for Remote Setting the Service of Parameter Capture and Events Register in Portable Devices, Respective Server and Portable Device
WO2016041171A1 (en) Method and apparatus for determining terminal roaming status, terminal and server
US8626121B2 (en) Tracking mobile communication devices
CN113055921B (en) Fault processing method and terminal
KR101404448B1 (en) Method and system for guiding package data protocol activation
US9510180B2 (en) Mobile management message distribution and active on-network determination
CN105430623A (en) Monitoring method, device and system for RCS junk message
CN101715176A (en) Short message router, short message monitoring system and short message monitoring method
CN113114862B (en) Fault processing method and server of voice mailbox
CN101834749B (en) Method and device for acquiring data, method and device for monitoring business service quality
CN114710757B (en) Information processing method, network side equipment and terminal
KR20150065083A (en) Message transmission apparatus, message server and message receipt appratus
CN110365831B (en) Incoming call response method, device, system, storage medium and electronic device
CN108632053B (en) Service information processing method and device
CN108600971B (en) Device and method for monitoring multimedia message receiving result
US11304243B2 (en) System and method to identify user equipment device type connected to a wireless network using a single characteristic indicator based on classmark
EP3509283A1 (en) Communication information hiding realization method and realization system
KR100631683B1 (en) Maintenance management method and system using short message
CN110958164B (en) Communication network control method
CN110602301B (en) Incoming call processing method, terminal device and computer readable storage medium
CN108600036B (en) Message notification method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant