CN111124726B - Method and device for detecting abnormality of open modem port - Google Patents

Method and device for detecting abnormality of open modem port Download PDF

Info

Publication number
CN111124726B
CN111124726B CN201911251358.0A CN201911251358A CN111124726B CN 111124726 B CN111124726 B CN 111124726B CN 201911251358 A CN201911251358 A CN 201911251358A CN 111124726 B CN111124726 B CN 111124726B
Authority
CN
China
Prior art keywords
modem port
instruction
port
return value
module
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
CN201911251358.0A
Other languages
Chinese (zh)
Other versions
CN111124726A (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.)
Quectel Wireless Solutions Co Ltd
Original Assignee
Quectel Wireless Solutions 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 Quectel Wireless Solutions Co Ltd filed Critical Quectel Wireless Solutions Co Ltd
Priority to CN201911251358.0A priority Critical patent/CN111124726B/en
Publication of CN111124726A publication Critical patent/CN111124726A/en
Application granted granted Critical
Publication of CN111124726B publication Critical patent/CN111124726B/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/079Root cause analysis, i.e. error or fault diagnosis
    • 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/0766Error or fault reporting or storing
    • G06F11/0787Storage of error reports, e.g. persistent data storage, storage using memory protection

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Telephonic Communication Services (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method and a device for detecting abnormality of an open modem port, wherein the method comprises the following steps: opening the modem port based on the serial library; detecting and identifying the opening abnormality of the modem port, and capturing and tracking the modem port through try. And executing corresponding operation according to the exception type. According to the method for detecting the abnormality of the open modem port, provided by the embodiment of the invention, the abnormality (error reporting) environment can be reserved and the abnormality can be captured when the open modem port is abnormal, so that a developer can conveniently perform error positioning and analysis, and the efficiency is improved.

Description

Method and device for detecting abnormality of open modem port
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for detecting an abnormality of an open modem port.
Background
The script performs operations of opening the modem port, executing at instruction, reading return value, closing the modem port, due to work requirements.
In the related art, the modem port is generally opened directly for operation.
However, when the modem port is directly opened for operation, how the abnormality occurs during the opening of the modem port is often not considered, and the script directly reports errors and terminates, so that it cannot be judged what causes the serial port to be opened for reporting errors, and the reporting environment cannot be reserved, so that the progress is delayed, and the error positioning and analysis by a developer are inconvenient.
Disclosure of Invention
The present invention aims to solve at least one of the technical problems in the related art to some extent. Therefore, a first object of the present invention is to provide a method for detecting an abnormality of an open modem port, which can preserve an abnormality (error reporting) environment and capture the abnormality when the open modem port is abnormal, thereby facilitating error localization and analysis by a developer and improving efficiency.
A second object of the present invention is to provide an apparatus for detecting an abnormality of an open modem port.
In order to achieve the above objective, an embodiment of a first aspect of the present invention provides a method for detecting an abnormality of an open modem port, including the following steps: opening the modem port based on the serial library; detecting and identifying the modem port opening abnormality, and capturing and tracking the modem port through try. And executing corresponding operation according to the abnormal type.
In addition, the method for detecting the abnormality of the port of the open modem according to the embodiment of the present invention may further have the following additional technical features:
according to one embodiment of the present invention, the exception type is that the modem port is not queried, and the performing the corresponding operation according to the exception type includes: acquiring a computer port management interface screenshot and a computer full screen screenshot; determining whether the modem port is not mapped or whether the modem port number is changed or prompting unrecognizable universal serial bus usb equipment according to the computer port management interface screenshot and the computer full screen screenshot; the exception type is that the modem port is opened without permission, and the executing the corresponding operation according to the exception type comprises: acquiring a QCOM tool screenshot; and determining whether the modem port is opened according to the QCOM tool screenshot.
According to an embodiment of the present invention, the method further includes: detecting and identifying that the modem port opening has no abnormality, writing an at instruction, and reading a corresponding return value; identifying that the return value is the same as a preset value, and ending the detection; and identifying that the character string of 'ERROR' exists in the return value, printing prompt information of 'failure execution return ERROR', and ending detection.
According to an embodiment of the present invention, the method further includes: if the return value is not read, judging whether the repeated execution times of the at instruction is 0 or not; if the repeated execution times of the at instruction are 0, printing prompt information that a designated return value is not found, and ending detection; and if the number of times of repeated execution of the at instruction is not 0, subtracting 1 from the number of times of repeated execution of the at instruction until a corresponding return value is read, and if the return value has 'ERROR' or the value of the number of times of repeated execution of the at instruction is 0, ending detection.
According to one embodiment of the present invention, before the modem port is opened based on the serial library, the method further includes: and acquiring a preset cyclic value, wherein the preset cyclic value is the repeated execution times of the at instruction.
According to the method for detecting the abnormality of the open modem port, which is disclosed by the embodiment of the invention, the open operation of the modem port can be performed based on the serial library, and when the open abnormality of the modem port is detected and identified, the modem port is captured and tracked through try. Therefore, when the modem port is opened to be abnormal, an abnormal (error reporting) environment is reserved, and the abnormality is captured, so that a developer can conveniently perform error positioning and analysis, and the efficiency is improved.
In order to achieve the above object, an embodiment of a second aspect of the present invention provides an open modem port abnormality detection device, including: the opening module is used for opening the modem port based on the serial library; the acquisition module is used for detecting and identifying that the modem port is opened abnormally, and capturing and tracking the modem port through try. And the first execution module is used for executing corresponding operation according to the abnormal type.
According to an embodiment of the present invention, the exception type is that the modem port is not queried, and the first execution module is specifically configured to: acquiring a computer port management interface screenshot and a computer full screen screenshot; determining whether the modem port is not mapped or whether the modem port number is changed or prompting unidentified universal serial bus (Universal Serial Bus, abbreviated as USB) equipment according to the computer port management interface screenshot and the computer full screen screenshot; the exception type is that the modem port is opened without permission, and the first execution module is specifically configured to: acquiring a QCOM tool screenshot; and determining whether the modem port is opened according to the QCOM tool screenshot.
According to an embodiment of the present invention, the apparatus further includes: the reading module is used for detecting and identifying that the modem port is opened and no abnormality exists, writing an at instruction and reading a corresponding return value; the first identification module is used for identifying that the return value is the same as a preset value, and ending the detection; and the second recognition module is used for recognizing that the ERROR character string exists in the return value, printing prompt information of 'execution failure return ERROR', and ending detection.
According to an embodiment of the present invention, the apparatus further includes: the judging module is used for judging whether the repeated execution times of the at instruction are 0 or not when the return value is not read; the printing module is used for printing prompt information that a designated return value is not found when the repeated execution times of the at instruction is 0, and ending detection; and the second execution module is used for subtracting 1 from the number of times of repeated execution of the at instruction when the number of times of repeated execution of the at instruction is not 0 until the return value is read, and ending detection if the return value has 'ERROR' or the value of the number of times of repeated execution of the at instruction is 0.
According to one embodiment of the present invention, before the serial library-based modem port opening operation, the opening module is further configured to: and acquiring a preset cyclic value, wherein the preset cyclic value is the repeated execution times of the at instruction.
According to the device for detecting the abnormality of the open modem port, the opening module can be used for opening the modem port based on the serial library, the acquisition module is used for capturing and tracking the modem port through try. Therefore, when the modem port is opened to be abnormal, an abnormal (error reporting) environment is reserved, and the abnormality is captured, so that a developer can conveniently perform error positioning and analysis, and the efficiency is improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
FIG. 1 is a flow chart of a method of open modem port anomaly detection in accordance with an embodiment of the present invention;
FIG. 2 is a flow chart of a method of open modem port anomaly detection in accordance with one embodiment of the present invention;
fig. 3 is a block diagram of an open modem port anomaly detection device according to one embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
The following describes a method and a device for detecting an abnormality of an open modem port according to an embodiment of the present invention with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for detecting an abnormality of an open modem port according to an embodiment of the present invention. As shown in fig. 1, the method for detecting the abnormality of the open modem port includes:
s1, opening the modem port based on the serial library.
It should be understood that, the serial port is a library function, and operations such as opening, writing, reading, closing and the like can be performed on the serial port, so as shown in fig. 2, the embodiment of the present invention can perform an opening operation on the modem port through the serial port library, and set information such as baud rate, delay and the like of the modem port.
S2, detecting and identifying the modem port opening abnormality, and capturing and tracking the modem port through try.
Specifically, since the related technology generally directly opens the modem port row operation, how to process the operation when the opening of the modem port is abnormal is not considered, and the script directly reports errors and terminates, it cannot be judged for what reason the opening of the modem port reports errors, the error reporting environment cannot be reserved, the progress is delayed, and the error positioning and analysis by developers are inconvenient.
Therefore, as shown in fig. 2, when the modem port is identified to be opened abnormally, the embodiment of the invention can capture the abnormality through try.
S3, executing corresponding operation according to the abnormal type.
Typically, the exception type will have no query to the modem port or no authority to open the modem port, as will be described in more detail below in connection with a specific embodiment.
In one example, according to one embodiment of the present invention, as shown in fig. 2, the exception type is that the modem port is not queried, and performing the corresponding operation according to the exception type includes: acquiring a computer port management interface screenshot and a computer full screen screenshot; and determining whether the modem port is not mapped or whether the modem port number is changed or prompting the unrecognizable universal serial bus usb device according to the computer port management interface screenshot and the computer full screen screenshot.
Specifically, when the abnormal type is that the modem port cannot be found, the computer port management interface and the computer full screen can be subjected to screenshot, so that whether the modem port is not mapped or whether the modem port number is changed or whether unrecognizable universal serial bus usb equipment is prompted or the like is checked according to the computer port management interface and the computer full screen screenshot.
It should be noted that, because the pyautotugi module can perform screenshot on the computer and set the naming, the size, the storage path and the like of the picture file, the embodiment of the invention can perform screenshot on the computer by introducing the pyautotugi module, so that the specified program interface is subjected to screenshot according to different captured exception types, thereby facilitating the analysis of the exception by the subsequent script writer; for example, the exception type is that the modem port is not queried, and a computer port management interface screenshot and a computer full screen screenshot can be obtained.
In another example, as shown in fig. 2, according to one embodiment of the present invention, the exception type is a non-authority open modem port, and performing a corresponding operation according to the exception type includes: acquiring a QCOM tool screenshot; from the QCOM tool screenshot, it is determined whether the modem port has been opened.
Specifically, when the exception type is that the designated port is opened and no authority exists, the QCOM tool can be subjected to screenshot, so that the fact that a certain designated port is opened according to the screenshot is checked, and repeated opening errors are caused. The QCOM tool may also be screenshot through pyaugui module.
According to an embodiment of the present invention, the method further includes: detecting and recognizing that the modem port is opened without abnormality, writing an at instruction, and reading a corresponding return value; if the identification return value is the same as the preset value, ending the detection; and recognizing that an ERROR character string exists in the return value, printing prompt information of 'failure in execution return ERROR', and ending detection.
It should be understood that the preset value can be set according to the actual situation, if the modem port is opened and no abnormality exists, an at instruction can be written, and a corresponding return value is read, if the return value is the same as the preset value, the fact that the read return value is correct can be indicated, and the program can be terminated; if the returned value has an ERROR character string, the printing prompt message of 'failure execution returns ERROR', and the program is terminated.
According to an embodiment of the present invention, the method further includes: if the return value is not read, judging whether the repeated execution times of the at instruction is 0 or not; if the number of times of repeated execution of the at instruction is 0, printing prompt information that a designated return value is not found, and ending detection; if the number of times of repeated execution of the at instruction is not 0, the number of times of repeated execution of the at instruction is reduced by 1 until the corresponding return value is read, and if the return value has 'ERROR' or the value of the number of times of repeated execution of the at instruction is 0, the detection is ended.
Specifically, if the specified return value is not found and there is no "ERROR" in the return value, it may be determined whether the value of cycle is 0, where cycle is a preset cycle value, and the preset cycle value is at instruction repetition execution times before the modem port is opened based on the serial library. If the cycle value is 0, printing prompt message 'no appointed return value' and ending the program; if the value of cycle is not 0, then decrementing 1 continues executing instructions until a specified return value is found, there is an "ERROR" or cycle value of 0 in the return value, and the program is terminated.
According to the method for detecting the abnormality of the open modem port, which is provided by the embodiment of the invention, the modem port can be opened based on the serial library, and when the opening abnormality of the modem port is detected and identified, the modem port is captured and tracked through the try. Therefore, when the modem port is opened to be abnormal, an abnormal (error reporting) environment is reserved, and the abnormality is captured, so that a developer can conveniently perform error positioning and analysis, and the efficiency is improved.
Fig. 3 is a block diagram of an open modem port abnormality detection apparatus according to an embodiment of the present invention. As shown in fig. 3, the open modem port abnormality detection apparatus includes: the module 100 is opened, the module 200 is acquired and the module 300 is executed first.
The opening module 100 is configured to perform an opening operation on the modem port based on the serial library. The obtaining module 200 is configured to detect and identify an abnormality of the modem port opening, and capture and track the modem port through try. The first execution module 300 is configured to execute a corresponding operation according to the exception type.
According to one embodiment of the present invention, the exception type is a modem port not queried, and the first execution module 300 is specifically configured to: acquiring a computer port management interface screenshot and a computer full screen screenshot; determining whether a modem port is not mapped or whether the modem port number is changed or prompting a universal serial bus usb device which cannot be identified according to the computer port management interface screenshot and the computer full screen screenshot; the exception type is a non-authority opening modem port, and the first execution module 300 is specifically configured to: acquiring a QCOM tool screenshot; from the QCOM tool screenshot, it is determined whether the modem port has been opened.
According to an embodiment of the present invention, the apparatus further includes: the device comprises a reading module, a first identification module and a second identification module. The reading module is used for detecting and identifying that the modem port is opened and no abnormality exists, writing an at instruction and reading a corresponding return value. The first recognition module is used for recognizing that the return value is the same as the preset value, and ending the detection. And the second recognition module is used for recognizing that the character string of 'ERROR' exists in the return value, printing prompt information of 'execution failure return ERROR', and ending detection.
According to an embodiment of the present invention, the apparatus further includes: the judging module is used for judging whether the repeated execution times of the at instruction are 0 or not when the return value is not read; the printing module is used for printing prompt information that a designated return value is not found when the repeated execution times of the at instruction is 0, and ending detection; and the second execution module is used for subtracting 1 from the number of times of repeated execution of the at instruction when the number of times of repeated execution of the at instruction is not 0 until a return value is read, and ending detection if the return value has 'ERROR' or the value of the number of times of repeated execution of the at instruction is 0.
According to one embodiment of the present invention, before the modem port is opened based on the serial library, the opening module 100 is further configured to: and acquiring a preset cyclic value, wherein the preset cyclic value is the number of times of repeated execution of the at instruction.
It should be noted that the foregoing explanation of the embodiment of the method for detecting an abnormality of an open modem port is also applicable to the device for detecting an abnormality of an open modem port in this embodiment, and will not be repeated here.
According to the device for detecting the abnormality of the open modem port, which is provided by the embodiment of the invention, the opening operation can be performed on the modem port based on the serial library through the opening module, when the opening abnormality of the modem port is detected and identified through the acquisition module, the modem port is captured and tracked through try. Therefore, when the modem port is opened to be abnormal, an abnormal (error reporting) environment is reserved, and the abnormality is captured, so that a developer can conveniently perform error positioning and analysis, and the efficiency is improved.
In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present invention, unless expressly stated or limited otherwise, a first feature "up" or "down" a second feature may be the first and second features in direct contact, or the first and second features in indirect contact via an intervening medium. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (8)

1. The method for detecting the abnormality of the open modem port is characterized by comprising the following steps:
opening the modem port based on the serial library;
detecting and identifying the modem port opening abnormality, and capturing and tracking the modem port through try. And
executing corresponding operation according to the abnormal type;
the exception type is that the modem port is not queried, and the executing the corresponding operation according to the exception type includes:
acquiring a computer port management interface screenshot and a computer full screen screenshot;
determining whether the modem port is not mapped or whether the modem port number is changed or prompting unrecognizable universal serial bus usb equipment according to the computer port management interface screenshot and the computer full screen screenshot;
the exception type is that the modem port is opened without permission, and the executing the corresponding operation according to the exception type comprises:
acquiring a QCOM tool screenshot;
and determining whether the modem port is opened according to the QCOM tool screenshot.
2. The method as recited in claim 1, further comprising:
detecting and identifying that the modem port opening has no abnormality, writing an at instruction, and reading a corresponding return value;
identifying that the return value is the same as a preset value, and ending the detection;
and identifying that the character string of 'ERROR' exists in the return value, printing prompt information of 'failure execution return ERROR', and ending detection.
3. The method as recited in claim 2, further comprising:
if the return value is not read, judging whether the repeated execution times of the at instruction is 0 or not;
if the repeated execution times of the at instruction are 0, printing prompt information that a designated return value is not found, and ending detection;
and if the number of times of repeated execution of the at instruction is not 0, subtracting 1 from the number of times of repeated execution of the at instruction until a corresponding return value is read, and if the return value has 'ERROR' or the value of the number of times of repeated execution of the at instruction is 0, ending detection.
4. The method of any of claims 1-3, further comprising, prior to the opening of a modem port based on a serial library:
and acquiring a preset cyclic value, wherein the preset cyclic value is the number of times of repeated execution of the at instruction.
5. An open modem port anomaly detection device, comprising:
the opening module is used for opening the modem port based on the serial library;
the acquisition module is used for detecting and identifying that the modem port is opened abnormally, and capturing and tracking the modem port through try. And
the first execution module is used for executing corresponding operation according to the abnormal type;
the exception type is that the modem port is not queried, and the first execution module is specifically configured to:
acquiring a computer port management interface screenshot and a computer full screen screenshot;
determining whether the modem port is not mapped or whether the modem port number is changed or prompting unrecognizable universal serial bus usb equipment according to the computer port management interface screenshot and the computer full screen screenshot;
the exception type is that the modem port is opened without permission, and the first execution module is specifically configured to:
acquiring a QCOM tool screenshot;
and determining whether the modem port is opened according to the QCOM tool screenshot.
6. The apparatus as recited in claim 5, further comprising:
the reading module is used for detecting and identifying that the modem port is opened and no abnormality exists, writing an at instruction and reading a corresponding return value;
the first identification module is used for identifying that the return value is the same as a preset value, and ending the detection;
and the second recognition module is used for recognizing that the ERROR character string exists in the return value, printing prompt information of 'execution failure return ERROR', and ending detection.
7. The apparatus as recited in claim 6, further comprising:
the judging module is used for judging whether the repeated execution times of the at instruction are 0 or not when the return value is not read;
the printing module is used for printing prompt information that a designated return value is not found when the repeated execution times of the at instruction is 0, and ending detection;
and the second execution module is used for subtracting 1 from the number of times of repeated execution of the at instruction when the number of times of repeated execution of the at instruction is not 0 until the return value is read, and ending detection if the return value has 'ERROR' or the value of the number of times of repeated execution of the at instruction is 0.
8. The apparatus of any of claims 5-7, wherein, prior to the serial library-based opening operation of a modem port, the opening module is further to:
and acquiring a preset cyclic value, wherein the preset cyclic value is the number of times of repeated execution of the at instruction.
CN201911251358.0A 2019-12-09 2019-12-09 Method and device for detecting abnormality of open modem port Active CN111124726B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911251358.0A CN111124726B (en) 2019-12-09 2019-12-09 Method and device for detecting abnormality of open modem port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911251358.0A CN111124726B (en) 2019-12-09 2019-12-09 Method and device for detecting abnormality of open modem port

Publications (2)

Publication Number Publication Date
CN111124726A CN111124726A (en) 2020-05-08
CN111124726B true CN111124726B (en) 2024-01-26

Family

ID=70497928

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911251358.0A Active CN111124726B (en) 2019-12-09 2019-12-09 Method and device for detecting abnormality of open modem port

Country Status (1)

Country Link
CN (1) CN111124726B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926820A (en) * 1995-07-07 1997-01-28 Matsushita Electric Works Ltd Facility abnormality cause tracing method
JP2003162380A (en) * 2001-11-27 2003-06-06 Pfu Ltd Raid device and error recovering method
CN101599039A (en) * 2008-06-03 2009-12-09 华为技术有限公司 Abnormality eliminating method and device under the embedded type C language environment
CN101924667A (en) * 2010-08-17 2010-12-22 福建师范大学 Modem anomaly detecting and power-off restarting control method based on serial port
CN102163174A (en) * 2008-06-03 2011-08-24 华为技术有限公司 Methods and devices for quitting and deleting thread or process in embedded C language environment
CN102567268A (en) * 2010-12-31 2012-07-11 重庆重邮信科通信技术有限公司 Detection method for USB to virtual serial port/MODEM
CN102612053A (en) * 2012-02-24 2012-07-25 深圳市高视数字技术有限公司 Method and system for realizing multi-card dialing by automatically detecting USB modem network mode
CN104679625A (en) * 2013-12-02 2015-06-03 鸿富锦精密工业(深圳)有限公司 Computer system and method for testing computer system
WO2016127600A1 (en) * 2015-02-12 2016-08-18 中兴通讯股份有限公司 Exception handling method and apparatus
CN107465551A (en) * 2017-08-24 2017-12-12 深圳互联先锋科技有限公司 port detecting method and device
WO2018090934A1 (en) * 2016-11-15 2018-05-24 华为技术有限公司 Event reporting method and apparatus
CN108920379A (en) * 2018-07-18 2018-11-30 苏州思必驰信息科技有限公司 The method and apparatus for capturing lua code exception
CN109032933A (en) * 2018-07-09 2018-12-18 上海亨钧科技股份有限公司 A kind of capture of software error message or replay method
CN109086158A (en) * 2018-08-29 2018-12-25 腾讯科技(深圳)有限公司 A kind of Analysis on Abnormal method, apparatus and server

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7007198B2 (en) * 2001-07-18 2006-02-28 Borland Software Corporation Method for handling exceptions of applications
US20080130863A1 (en) * 2006-10-31 2008-06-05 Level 3 Communications Llc Functionalities for local number portability in a telecommunications network

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0926820A (en) * 1995-07-07 1997-01-28 Matsushita Electric Works Ltd Facility abnormality cause tracing method
JP2003162380A (en) * 2001-11-27 2003-06-06 Pfu Ltd Raid device and error recovering method
CN101599039A (en) * 2008-06-03 2009-12-09 华为技术有限公司 Abnormality eliminating method and device under the embedded type C language environment
CN102163174A (en) * 2008-06-03 2011-08-24 华为技术有限公司 Methods and devices for quitting and deleting thread or process in embedded C language environment
CN101924667A (en) * 2010-08-17 2010-12-22 福建师范大学 Modem anomaly detecting and power-off restarting control method based on serial port
CN102567268A (en) * 2010-12-31 2012-07-11 重庆重邮信科通信技术有限公司 Detection method for USB to virtual serial port/MODEM
CN102612053A (en) * 2012-02-24 2012-07-25 深圳市高视数字技术有限公司 Method and system for realizing multi-card dialing by automatically detecting USB modem network mode
CN104679625A (en) * 2013-12-02 2015-06-03 鸿富锦精密工业(深圳)有限公司 Computer system and method for testing computer system
WO2016127600A1 (en) * 2015-02-12 2016-08-18 中兴通讯股份有限公司 Exception handling method and apparatus
WO2018090934A1 (en) * 2016-11-15 2018-05-24 华为技术有限公司 Event reporting method and apparatus
CN107465551A (en) * 2017-08-24 2017-12-12 深圳互联先锋科技有限公司 port detecting method and device
CN109032933A (en) * 2018-07-09 2018-12-18 上海亨钧科技股份有限公司 A kind of capture of software error message or replay method
CN108920379A (en) * 2018-07-18 2018-11-30 苏州思必驰信息科技有限公司 The method and apparatus for capturing lua code exception
CN109086158A (en) * 2018-08-29 2018-12-25 腾讯科技(深圳)有限公司 A kind of Analysis on Abnormal method, apparatus and server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Windows2000、XP下异常捕获及处理;赵海东, 蔡东齐, 郭治国;电脑学习(05);全文 *

Also Published As

Publication number Publication date
CN111124726A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
CN108427613B (en) Abnormal interface positioning method and device, computer equipment and storage medium
CN108491321B (en) Method and device for determining test case range and storage medium
CN105022694B (en) Method for generating test case and system for mobile terminal test
CN112100048B (en) Self-adaptive inspection method and device for server
CN109643271B (en) Identifying unstable testing
CN110457220A (en) Simulator detection method, intelligent terminal and storage medium based on android system
CN104699617A (en) Automated testing method for games
CN105635313A (en) Medical equipment state monitoring system and method
US8898644B2 (en) Efficient unified tracing of kernel and user events with multi-mode stacking
CN111124726B (en) Method and device for detecting abnormality of open modem port
De Stefano et al. cASpER: A plug-in for automated code smell detection and refactoring
CN110780198B (en) Waveform identification method and equipment for servo welding system motion
CN107203466B (en) API test method and device
CN110619215B (en) Code security scanning method and system
US7415560B2 (en) Method of automatically monitoring computer system debugging routine
CN112529883A (en) Patch detection method and device based on image edge recognition
CN109408951A (en) A kind of the part inspection method and relevant apparatus of PCB
CN112887295B (en) Block chain-based data transmission safety detection method, system, device and medium
CN113037521B (en) Method for identifying state of communication equipment, communication system and storage medium
CN114327981A (en) Safety verification system, method and device of function safety mechanism
CN111737158B (en) Abnormal assertion processing method and device, electronic equipment and storage medium
CN112395619A (en) Vulnerability scanning method and device
CN108845932B (en) Unit testing method and device of network library, storage medium and terminal
CN105183552A (en) System for positioning potential interruption safety hazard in operation system and application of system
CN111212029A (en) Sensitive data monitoring and tracking method

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