CN110457154B - Abnormal service processing method and device, storage medium and communication terminal - Google Patents

Abnormal service processing method and device, storage medium and communication terminal Download PDF

Info

Publication number
CN110457154B
CN110457154B CN201910677840.4A CN201910677840A CN110457154B CN 110457154 B CN110457154 B CN 110457154B CN 201910677840 A CN201910677840 A CN 201910677840A CN 110457154 B CN110457154 B CN 110457154B
Authority
CN
China
Prior art keywords
target service
target
service
function
abnormal
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
CN201910677840.4A
Other languages
Chinese (zh)
Other versions
CN110457154A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910677840.4A priority Critical patent/CN110457154B/en
Publication of CN110457154A publication Critical patent/CN110457154A/en
Application granted granted Critical
Publication of CN110457154B publication Critical patent/CN110457154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs

Abstract

The present disclosure relates to the field of wireless communication technologies, and in particular, to an abnormal service processing method, an abnormal service processing apparatus, a computer readable medium, and a communication terminal. The method comprises the following steps: acquiring abnormal data, and inquiring a call stack according to the abnormal data; when the call stack comprises target method information corresponding to target service, acquiring a target service identifier corresponding to the target service according to the target method information; and acquiring the corresponding function point switch of the target service according to the target service identifier, and closing the function point switch of the target service. According to the technical scheme, when the target service is judged to be abnormal, the corresponding function point switch is inquired, and the switch is closed, so that the abnormal target service is forbidden to continue to operate, the abnormal recurrence is prevented, the normal operation of the system is prevented from being influenced, and the user experience is improved.

Description

Abnormal service processing method and device, storage medium and communication terminal
Technical Field
The present disclosure relates to the field of wireless communication technologies, and in particular, to an abnormal service processing method, an abnormal service processing apparatus, a computer readable medium, and a communication terminal.
Background
In order to improve the use experience of a user on intelligent terminal equipment, the user operation is convenient, and a programmer can add new system functions on the basis of the original system source codes of the Android system. However, due to numerous users and complexity of application environments, some functions may have unstable problems, and the newly added functions may trigger stability problems in a certain operation mode of the users, which may seriously cause repeated crash of the system and even restart of the system.
For such abnormal problems, the problem can be solved only by upgrading the mobile phone OTA (Over the Air Technology, space downloading technology), and the whole period is long. Moreover, during the whole problem solving period, the same abnormality may be triggered again to influence the use of the intelligent terminal equipment by the user.
It should be noted that the information disclosed in the above background section is only for enhancing understanding of the background of the present disclosure and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to an abnormal service processing method, an abnormal service processing apparatus, a computer readable medium, and a wireless communication terminal, so as to provide a processing method for abnormal functions of a system, reduce the influence of an abnormality on a terminal device in a use process, and overcome the limitations and defects of the related art to a certain extent.
Other features and advantages of the present disclosure will be apparent from the following detailed description, or may be learned in part by the practice of the disclosure.
According to a first aspect of the present disclosure, there is provided an abnormal service processing method, including:
acquiring abnormal data, and inquiring a call stack according to the abnormal data;
when the call stack comprises target method information corresponding to target service, acquiring a target service identifier corresponding to the target service according to the target method information;
and acquiring the corresponding function point switch of the target service according to the target service identifier, and closing the function point switch of the target service.
According to a second aspect of the present disclosure, there is provided an abnormal service processing apparatus including:
the abnormal data identification module is used for acquiring abnormal data and inquiring a call stack according to the abnormal data;
the target service identification module is used for acquiring a target service identifier corresponding to the target service according to the target method information when the call stack comprises the target method information corresponding to the target service;
and the switch control module is used for acquiring the corresponding function point switch of the target service according to the target service identifier and closing the function point switch of the target service.
According to a third aspect of the present disclosure, there is provided a computer-readable medium having stored thereon a computer program which, when executed by a processor, implements the above-described abnormal service handling method.
According to a fourth aspect of the present disclosure, there is provided a wireless communication terminal comprising:
one or more processors;
and a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the exception service processing method described above.
In the method for processing the abnormal service provided by the embodiment of the disclosure, when the system is monitored to be abnormal, inquiring call stack data to judge whether a target method corresponding to the target service exists or not; therefore, whether the target service is abnormal or not can be judged according to the call stack data. If the target service is judged to be abnormal, the corresponding function point switch can be inquired, and the switch is closed, so that the abnormal target service is forbidden to continue to operate, the repeated occurrence of the abnormality is prevented, the normal operation of the system is prevented from being influenced, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure. It will be apparent to those of ordinary skill in the art that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived from them without undue effort.
FIG. 1 schematically illustrates a schematic diagram of an exception service handling method flow in an exemplary embodiment of the present disclosure;
FIG. 2 schematically illustrates a schematic diagram of a method flow of querying a call stack in an exemplary embodiment of the present disclosure;
fig. 3 schematically illustrates a composition diagram of an abnormal service processing apparatus in an exemplary embodiment of the present disclosure;
fig. 4 schematically illustrates a structural diagram of a computer system of a wireless communication device in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments may be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in software or in one or more hardware modules or integrated circuits or in different networks and/or processor devices and/or microcontroller devices.
In order to improve user experience and improve convenience of using intelligent terminal equipment by a user, a developer can modify source codes of Android or iOS native systems and add some special functions. These functions may have stability problems but are not found in earlier tests. However, due to the complex use environment of the user, the stability problem may be triggered in a certain operation mode or in a specific environment, for example, system anomalies such as a stuck, crash or restart may be caused. However, the user cannot directly find the cause of the system abnormality, but can only feed back log data to the developer on line through after-sales or on line in an active submitting mode, and then the staff filters and processes the abnormality information, compiles the abnormality problem and upgrades through subsequent OTAs. However, the period of the processing mode is too long, and the user may start abnormality again during the period, so that normal use is affected.
In order to overcome the disadvantages and shortcomings of the prior art, the present exemplary embodiment provides an abnormal service processing method, which can be applied to intelligent terminal devices such as mobile phones, tablet computers, notebook computers and the like. Referring to fig. 1, the above-described abnormal service processing method may include the steps of:
s11, acquiring abnormal data, and inquiring a call stack according to the abnormal data;
s12, when the call stack comprises target method information corresponding to target service, acquiring a target service identifier corresponding to the target service according to the target method information;
s13, acquiring the corresponding function point switch of the target service according to the target service identifier, and closing the function point switch of the target service.
In the network connection method provided in this example embodiment, on one hand, by monitoring a system anomaly in real time, and querying call stack data when monitoring the system anomaly, it is determined whether a target method corresponding to a target service exists; therefore, whether the target service is abnormal or not can be judged according to the call stack data. On the other hand, when the target service is judged to be abnormal, the corresponding function point switch can be inquired, and the switch is closed, so that the abnormal target service is forbidden to continue to operate, the repeated occurrence of the abnormality is prevented, the influence on the normal operation of the system is avoided, and the user experience is improved.
Hereinafter, each step of the abnormal service processing method in the present exemplary embodiment will be described in more detail with reference to the accompanying drawings and examples.
Step S10, responding to a preset control operation, configuring a corresponding function point switch for the newly added target service, and establishing a mapping relation between the target service and the corresponding function point switch.
In the present exemplary embodiment, the target service described above may be a function point capable of realizing a specified function. The user can add a certain function to the intelligent terminal equipment by means of updating a system, installing a plug-in or loading an application program installation package and the like. For example, the target service may be a newly added function point of the system, for example: the emergency help function can automatically dial an alarm call; the searching function can perform global searching on the local memory; the log collection function can automatically collect data packets of Bluetooth and WiFi; etc.
For each function point, a corresponding function point switch can be configured for each function point, a mapping relation between the function point and the corresponding function point switch is established, and the function point can be closed or opened by controlling the function point switch. Each newly added function point can be configured with a unique identification name, and a corresponding function point switch can be queried through the unique identification name. For the newly added functional point, there may be a corresponding executable target method and call paths corresponding to the target method. The mapping relation between the function point name and the calling path of the target method can be established, and the mapping relation is stored in a preset relation table. When inquiring, the corresponding function point name can be inquired by using the mapping relation in the relation table according to the method name in the call stack.
In addition, the above-mentioned function points may also include several sub-function points. Specifically, for a feature added to the system, the feature may include a plurality of small sub-function points, where each sub-function point may be independent from the other, and each sub-function point may implement a different function, and have a corresponding executable sub-target method, call path, and unique identification name. Each sub-function point also has a corresponding sub-function point switch. The corresponding sub-function point can be closed or opened through the sub-function point switch, and closing one sub-function point does not affect other sub-function points.
In addition, the function point or the sub-function point can be displayed in the equipment list, and the corresponding function point switch is displayed at the same time, so that a user can manually control whether to start the function.
And S11, acquiring abnormal data, and inquiring a call stack according to the abnormal data.
In this exemplary embodiment, for the terminal device, referring to fig. 2, real-time monitoring may be performed on the system anomaly, and specifically, step S11 may include:
step S111, monitoring system abnormal data;
and step S112, triggering dump service to print a call stack when system abnormal data exist in monitoring, and inquiring method data in the call stack.
For example, the system anomaly may be monitored in real time by an anomaly detection module of the system itself; it can also judge whether there is system abnormality through log data. The system anomalies described above may be: and (5) a condition such as a stuck condition, a crash condition or a system restart condition.
When detecting that the system is abnormal, the dump service can be utilized to print the call stack, and the name of the target method corresponding to the function point can be utilized to inquire.
Step S12, when the call stack comprises target method information corresponding to target service, acquiring a target service identifier corresponding to the target service according to the target method information.
In this example embodiment, specifically, what functions are specifically used and what processes are executed when a system exception occurs may be included in the call stack. After the specific data of the call stack is acquired, the method name can be used for inquiring whether the call stack contains the target method, for example, the target method name is matched with the method name in the call stack. When the query includes the target method, the preset relation table can be queried according to the name of the target method, so that the function point corresponding to the target service involved in the occurrence of the abnormality is further determined.
Step S13, obtaining the corresponding function point switch of the target service according to the target service identifier, and closing the function point switch of the target service.
In this example embodiment, when it is determined that the corresponding process when the system abnormality occurs includes the function point corresponding to the target service. And confirming the attribute of the function point, acquiring a path of the corresponding function point switch according to the mapping relation when the function point is a non-core function point, and closing the function point switch corresponding to the function point, so that the target service is closed. Therefore, when a serious abnormality problem occurs in the system, the non-core function is automatically closed, repeated crash is prevented, and user experience is improved. The problem that abnormality occurs again due to the operation of the function point in the using process of the terminal equipment is effectively avoided, and the normal operation of the system is not affected by closing the function point.
Based on the above, in the present exemplary embodiment, when the function point includes a plurality of sub-function points, when an abnormality occurs, the trace call stack finds that the abnormality point belongs to a default specific sub-function point, and only the sub-function point is turned off. Alternatively, it may be determined to shut down one or more sub-function points based on the particular process being performed or the function being invoked during a system exception, without having to shut down the entire function point. Therefore, the minimum influence on the user experience is realized, and more refined management and control is realized.
According to the method provided by the embodiment of the disclosure, the corresponding function point switch is configured for the function point in advance, the mapping relation between the function point and the corresponding method name and method path is established, and the mapping relation is stored, so that the subsequent inquiry and management are facilitated. When serious abnormal problems occur in actual use of a user, the corresponding abnormal function points are tracked through a call stack and the like, and can be dynamically closed through a function point switch to restore to a default state of the original system. And the terminal equipment upgrading system is opened after repairing the abnormality, so that the problems of repeated crash and the like of a user in the same application scene are prevented. Thereby improving the user experience.
It is noted that the above-described figures are only schematic illustrations of processes involved in a method according to an exemplary embodiment of the invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
Further, referring to fig. 3, in the embodiment of the present example, there is further provided an abnormal service processing apparatus 30, including: an abnormal data identification module 301, a target service identification module 302, and a switch control module 303. Wherein:
the abnormal data identification module 301 may be configured to obtain abnormal data, and query a call stack according to the abnormal data.
The target service identification module 302 may be configured to obtain, when the call stack includes target method information corresponding to a target service, a target service identifier corresponding to the target service according to the target method information.
The switch control module 303 may be configured to obtain a corresponding function point switch of the target service according to the target service identifier, and turn off the function point switch of the target service.
In one example of the present disclosure, the abnormal data identification module 301 may include: an exception listening module and a call stack query module (not shown). Wherein,
the anomaly monitoring module can be used for monitoring system anomaly data.
The call stack query module can be used for triggering dump service to print a call stack and querying method data in the call stack when system abnormal data exist in a monitoring mode.
In one example of the present disclosure, the target service is a non-core service.
In one example of the present disclosure, the apparatus may further include: a mapping relation establishment module (not shown in the figure).
The mapping relation establishing module may be configured to configure a corresponding function point switch for the newly added target service in response to a preset control operation, and establish a mapping relation between the target service and the corresponding function point switch.
In one example of the present disclosure, the mapping relationship establishing module may further include: a mapping relation storage module (not shown in the figure).
The mapping relation storage module can be used for establishing a mapping relation between the target service and a corresponding target method and a calling path corresponding to the target method, and storing the mapping relation in a preset relation table.
In one example of the present disclosure, the target service includes a number of target sub-services; the target sub-service is configured with a corresponding sub-function point switch.
In one example of the present disclosure, each of the target sub-services is independent of each other.
The specific details of each module in the above-mentioned abnormal service processing apparatus have been described in detail in the corresponding abnormal service processing method, so that the details are not repeated here.
It should be noted that although in the above detailed description several modules or units of a device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit in accordance with embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into a plurality of modules or units to be embodied.
Fig. 4 shows a schematic diagram of a computer system suitable for use in implementing embodiments of the present invention.
It should be noted that, the computer system 400 of the electronic device shown in fig. 4 is only an example, and should not impose any limitation on the functions and the application scope of the embodiments of the present invention.
As shown in fig. 4, the computer system 400 includes a central processing unit (Central Processing Unit, CPU) 401, which can perform various appropriate actions and processes according to a program stored in a Read-Only Memory (ROM) 402 or a program loaded from a storage section 408 into a random access Memory (Random Access Memory, RAM) 403. In the RAM 403, various programs and data required for the system operation are also stored. The CPU 401, ROM402, and RAM 403 are connected to each other by a bus 404. An Input/Output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output portion 407 including a Cathode Ray Tube (CRT), a liquid crystal display (Liquid Crystal Display, LCD), and the like, a speaker, and the like; a storage section 408 including a hard disk or the like; and a communication section 409 including a network interface card such as a LAN (Local Area Network ) card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. The drive 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage section 408 as needed.
In particular, according to embodiments of the present invention, the processes described below with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 409 and/or installed from the removable medium 411. When executed by a Central Processing Unit (CPU) 401, performs the various functions defined in the system of the present application.
It should be noted that, the computer readable medium shown in the embodiments of the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-Only Memory (ROM), an erasable programmable read-Only Memory (Erasable Programmable Read Only Memory, EPROM), flash Memory, an optical fiber, a portable compact disc read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units involved in the embodiments of the present invention may be implemented by software, or may be implemented by hardware, and the described units may also be provided in a processor. Wherein the names of the units do not constitute a limitation of the units themselves in some cases.
As another aspect, the present application also provides a computer-readable medium that may be contained in the electronic device described in the above embodiment; or may exist alone without being incorporated into the electronic device. The computer-readable medium carries one or more programs which, when executed by one of the electronic devices, cause the electronic device to implement the methods described in the embodiments below. For example, the electronic device may implement the steps shown in fig. 1.
Furthermore, the above-described drawings are only schematic illustrations of processes included in the method according to the exemplary embodiment of the present invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in the above figures do not indicate or limit the temporal order of these processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, for example, among a plurality of modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (7)

1. An exception service handling method, comprising:
responding to a preset control operation, configuring a corresponding function point switch for the newly added target service, and establishing a mapping relation between the target service and the corresponding function point switch; establishing a mapping relation between the target service and a corresponding target method and between call paths corresponding to the target method, and storing the mapping relation in a preset relation table;
acquiring abnormal data, and inquiring a call stack according to the abnormal data;
when the call stack comprises target method information corresponding to target service, acquiring a target service identifier corresponding to the target service according to the target method information; the target service is a non-core service;
acquiring the corresponding function point switch of the target service according to the target service identifier, and closing the function point switch of the target service, wherein the method comprises the following steps: when the corresponding process when the system abnormality occurs is determined to contain a functional point corresponding to the target service, confirming the attribute of the functional point, and when the functional point is a non-core functional point, acquiring a path of the corresponding functional point switch according to the mapping relation, and closing the functional point switch corresponding to the functional point, so that the target service is closed; and
when the function point comprises a plurality of sub-function points, tracking the call stack to find that the abnormal point belongs to a default specific sub-function point when the abnormality occurs, and closing only the sub-function point; alternatively, the shutdown of one or more sub-function points is determined based on the particular process or function invoked during a system exception.
2. The method of claim 1, wherein the obtaining exception data, querying a call stack based on the exception data comprises:
monitoring abnormal data of the system;
when system abnormal data is monitored, triggering dump service to print a call stack, and inquiring method data in the call stack.
3. The method of claim 1, wherein the target service comprises a number of target sub-services; the target sub-service is configured with a corresponding sub-function point switch.
4. A method according to claim 3, wherein each of the target sub-services is independent of the other.
5. An abnormal service processing apparatus, comprising:
the mapping relation establishing module is used for responding to a preset control operation, configuring a corresponding function point switch for the newly added target service, and establishing a mapping relation between the target service and the corresponding function point switch;
the mapping relation storage module is used for establishing a mapping relation between the target service and a corresponding target method and a calling path corresponding to the target method, and storing the mapping relation in a preset relation table;
the abnormal data identification module is used for acquiring abnormal data and inquiring a call stack according to the abnormal data;
the target service identification module is used for acquiring a target service identifier corresponding to the target service according to the target method information when the call stack comprises the target method information corresponding to the target service;
the switch control module is used for acquiring the corresponding function point switch of the target service according to the target service identifier and closing the function point switch of the target service, and comprises the following steps: when the corresponding process when the system abnormality occurs is determined to contain a functional point corresponding to the target service, confirming the attribute of the functional point, and when the functional point is a non-core functional point, acquiring a path of the corresponding functional point switch according to the mapping relation, and closing the functional point switch corresponding to the functional point, so that the target service is closed; when the function point comprises a plurality of sub-function points, tracking the call stack to find that the abnormal point belongs to a default specific sub-function point when the abnormality occurs, and closing only the sub-function point; alternatively, the shutdown of one or more sub-function points is determined based on the particular process or function invoked during a system exception.
6. A computer readable medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the exception service handling method according to any one of claims 1 to 4.
7. A wireless communication terminal, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the exception service handling method of any of claims 1 to 4.
CN201910677840.4A 2019-07-25 2019-07-25 Abnormal service processing method and device, storage medium and communication terminal Active CN110457154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910677840.4A CN110457154B (en) 2019-07-25 2019-07-25 Abnormal service processing method and device, storage medium and communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910677840.4A CN110457154B (en) 2019-07-25 2019-07-25 Abnormal service processing method and device, storage medium and communication terminal

Publications (2)

Publication Number Publication Date
CN110457154A CN110457154A (en) 2019-11-15
CN110457154B true CN110457154B (en) 2023-12-22

Family

ID=68483447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910677840.4A Active CN110457154B (en) 2019-07-25 2019-07-25 Abnormal service processing method and device, storage medium and communication terminal

Country Status (1)

Country Link
CN (1) CN110457154B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866514A (en) * 2019-11-22 2020-03-06 安徽小眯当家信息技术有限公司 Abnormal state identification method, device, client, server and computer readable medium
CN111078342A (en) * 2019-12-06 2020-04-28 拉扎斯网络科技(上海)有限公司 Information display method and device, electronic equipment and computer readable storage medium
CN111178888A (en) * 2019-12-30 2020-05-19 中国银行股份有限公司 Management method and system for payment service
CN117112292A (en) * 2023-01-20 2023-11-24 荣耀终端有限公司 Abnormal restarting processing method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004287618A (en) * 2003-03-19 2004-10-14 Ntt Data Corp Starting control method of operating system, program making computer execute its method, and starting control device of operating system
EP2189906A1 (en) * 2008-11-20 2010-05-26 Huawei Device Co., Ltd. Method and apparatus for abnormality recovering of data card, and data card
CN102866930A (en) * 2012-08-22 2013-01-09 北京奇虎科技有限公司 Blue screen repairing method, device and system
CN106095621A (en) * 2016-06-12 2016-11-09 Tcl集团股份有限公司 The restoration methods of Launcher operation exception and system in a kind of Android system
WO2018107891A1 (en) * 2016-12-13 2018-06-21 广东欧珀移动通信有限公司 Network-communication function exception processing method, application processor, and computer storage medium
US10042695B1 (en) * 2015-09-28 2018-08-07 Amazon Technologies, Inc. Program exception recovery
WO2018227822A1 (en) * 2017-06-12 2018-12-20 平安科技(深圳)有限公司 Acquisition method and apparatus for abnormal stack information, and computer readable storage medium
CN109710324A (en) * 2018-12-29 2019-05-03 360企业安全技术(珠海)有限公司 Processing method and processing device that blue screen is shown, storage medium, terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050015579A1 (en) * 2003-07-15 2005-01-20 Rajeev Grover Handling exceptions
CN100492301C (en) * 2005-12-23 2009-05-27 国际商业机器公司 Method and system for avoiding software conflict
US20090013208A1 (en) * 2008-03-31 2009-01-08 Dimuzio Thomas M Real time automated exception notification and reporting solution

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004287618A (en) * 2003-03-19 2004-10-14 Ntt Data Corp Starting control method of operating system, program making computer execute its method, and starting control device of operating system
EP2189906A1 (en) * 2008-11-20 2010-05-26 Huawei Device Co., Ltd. Method and apparatus for abnormality recovering of data card, and data card
CN102866930A (en) * 2012-08-22 2013-01-09 北京奇虎科技有限公司 Blue screen repairing method, device and system
US10042695B1 (en) * 2015-09-28 2018-08-07 Amazon Technologies, Inc. Program exception recovery
CN106095621A (en) * 2016-06-12 2016-11-09 Tcl集团股份有限公司 The restoration methods of Launcher operation exception and system in a kind of Android system
WO2018107891A1 (en) * 2016-12-13 2018-06-21 广东欧珀移动通信有限公司 Network-communication function exception processing method, application processor, and computer storage medium
WO2018227822A1 (en) * 2017-06-12 2018-12-20 平安科技(深圳)有限公司 Acquisition method and apparatus for abnormal stack information, and computer readable storage medium
CN109710324A (en) * 2018-12-29 2019-05-03 360企业安全技术(珠海)有限公司 Processing method and processing device that blue screen is shown, storage medium, terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Android系统服务漏洞挖掘技术研究;邹圳;周安民;;现代计算机(第13期);全文 *
Pre-stack basis pursuit seismic inversion for brittleness of shale;Xing-Yao Yin;Xiao-Jing Liu;Zhao-Yun Zong;;Petroleum Science(第04期);全文 *

Also Published As

Publication number Publication date
CN110457154A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
CN110457154B (en) Abnormal service processing method and device, storage medium and communication terminal
CN111090536B (en) Method, device, medium and electronic equipment for acquiring memory leakage information
CN111045901A (en) Container monitoring method and device, storage medium and electronic equipment
US20220052866A1 (en) Smart home system control method and apparatus, electronic device
CN103440091A (en) Method for realizing shortcut operation and mobile terminal
CN106713608B (en) Application function state modification method and device and terminal
CN110377341B (en) Method, device, medium and electronic equipment for monitoring no-response exception
CN108121560A (en) Difference bag upgrade method, device, terminal and computer readable storage medium
CN109684112B (en) Program file operation method, device, terminal and storage medium
CN111061448A (en) Log information display method and device, electronic equipment and storage medium
CN111190761B (en) Log output method and device, storage medium and electronic equipment
CN112579369A (en) Multithreading flashing system, method, device, equipment and storage medium
CN108874381B (en) Method and device for outputting page view controller and electronic equipment
CN114968776A (en) Application program detection method and device
CN113515299A (en) Software development kit SDK hot upgrading method, device, equipment and storage medium
CN108809763B (en) Network performance parameter acquisition method, terminal device and storage medium
CN112214404A (en) Mobile application testing method and device, storage medium and electronic equipment
CN113453376A (en) Network configuration method, related device, equipment and storage medium
CN116225576B (en) Application program data environment switching method and device, electronic equipment and medium
CN112463515A (en) Data acquisition method and device based on small program, storage medium and electronic equipment
CN112306723A (en) Operation information acquisition method and device applied to small program
CN111885194B (en) Communication method and device for communication application and electronic equipment
CN111432401B (en) Method and apparatus for turning on/off roaming data network for mobile terminal
CN110311815B (en) Method, device, equipment and storage medium for realizing switching of Ethernet working mode
CN110908701B (en) Firmware version switching method and device, storage medium and electronic equipment

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