[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111124726A - Method and device for detecting abnormity of opened modem port - Google Patents

Method and device for detecting abnormity of opened modem port Download PDF

Info

Publication number
CN111124726A
CN111124726A CN201911251358.0A CN201911251358A CN111124726A CN 111124726 A CN111124726 A CN 111124726A CN 201911251358 A CN201911251358 A CN 201911251358A CN 111124726 A CN111124726 A CN 111124726A
Authority
CN
China
Prior art keywords
modem port
instruction
opening
port
screenshot
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.)
Granted
Application number
CN201911251358.0A
Other languages
Chinese (zh)
Other versions
CN111124726B (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

Images

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)
  • Debugging And Monitoring (AREA)
  • Telephonic Communication Services (AREA)

Abstract

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

Description

Method and device for detecting abnormity of opened modem port
Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for detecting abnormity of a port of a modem opened.
Background
Due to work requirements, the script performs operations of opening a modem port, executing an at instruction, reading a return value and closing the modem port.
In the related art, the modem port is directly opened for operation.
However, when the modem port is directly opened for operation, how to handle the abnormality occurring when the modem port is opened is often not considered, and the script directly reports an error and terminates, so that it cannot be determined what reason causes the error of opening the serial port, and an error reporting environment cannot be maintained, which not only delays progress, but also is inconvenient for developers to perform error positioning and analysis.
Disclosure of Invention
The present invention is directed to solving, at least to some extent, one of the technical problems in the related art. Therefore, a first objective of the present invention is to provide an open modem port anomaly detection method, which can keep an anomaly (error reporting) environment and capture the anomaly when the open modem port is abnormal, so as to facilitate developers to perform error location and analysis, and improve efficiency.
A second object of the present invention is to provide an open modem port anomaly detection apparatus.
In order to achieve the above object, an embodiment of a first aspect of the present invention provides an anomaly detection method for opening a modem port, including the following steps: opening a modem port based on a serial library; detecting and identifying abnormal opening of the modem port, and capturing and tracking the modem port through a try. And executing corresponding operation according to the abnormal type.
In addition, the method for detecting abnormal opening of the modem port according to the above embodiment of the present invention may further have the following additional technical features:
according to an embodiment of the present invention, 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 screenshot of a computer port management interface and a full-screen screenshot of a computer; determining whether the modem port is not mapped or whether the modem port number is changed or not or prompting unidentifiable universal serial bus usb equipment according to the computer port management interface screenshot and the computer full screen screenshot; the abnormal type is that the modem port is opened without permission, and the executing the corresponding operation according to the abnormal type comprises the following steps: acquiring a QCOM tool screenshot; and determining whether the modem port is opened or not according to the QCOM tool screenshot.
According to an embodiment of the present invention, the method further includes: detecting and recognizing that the opening of the modem port is not abnormal, writing an at instruction and reading a corresponding return value; recognizing that the return value is the same as a preset value, and ending the detection; and identifying that the return value has an ERROR character string, printing a prompt message of 'executing failure and returning ERROR', and finishing the 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; if the repeated execution times of the at instruction is 0, printing a prompt message that the specified return value is not found, and finishing detection; and if the repeated execution times of the at instruction is not 0, subtracting 1 from the repeated execution times of the at instruction until a corresponding return value is read, and if the return value contains 'ERROR' or the repeated execution times of the at instruction is 0, finishing the detection.
According to an embodiment of the present invention, before opening the modem port based on the serial library, the method further includes: and acquiring a preset loop value, wherein the preset loop value is the repeated execution times of the at instruction.
According to the method for detecting the abnormality of the opening of the modem port, which is disclosed by the embodiment of the invention, the modem port can be opened based on a serial library, and when the abnormality of the opening of the modem port is detected and recognized, the modem port is captured and tracked through try. Therefore, when the modem port is opened abnormally, an abnormal (error reporting) environment is reserved, and the abnormality is captured, so that developers can conveniently perform error positioning and analysis, and the efficiency is improved.
In order to achieve the above object, a second embodiment of the present invention provides an open modem port exception detection apparatus, 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 the abnormal opening of the modem port, and then 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 screenshot of a computer port management interface and a full-screen screenshot of a computer; determining whether the modem port is not mapped or whether the modem port number is changed or not or prompting unidentifiable 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 or not according to the QCOM tool screenshot.
According to an embodiment of the present invention, the above apparatus further includes: the reading module is used for detecting and recognizing that the opening of the modem port is not abnormal, 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 identification module is used for identifying that the returned value contains an ERROR character string, printing a prompt message of 'ERROR returned after failure execution', and finishing the detection.
According to an embodiment of the present invention, the above apparatus further includes: the judging module is used for judging whether the repeated execution times of the at instruction is 0 or not when the return value is not read; the printing module is used for printing a prompt message that the specified return value is not found when the repeated execution times of the at instruction is 0, and finishing detection; and the second execution module is used for subtracting 1 from the repeated execution times of the at instruction when the repeated execution times of the at instruction is not 0 until the return value is read, and ending the detection if the return value contains 'ERROR' or the value of the repeated execution times of the at instruction is 0.
According to an embodiment of the present invention, before the modem port is opened based on the serial library, the opening module is further configured to: and acquiring a preset loop value, wherein the preset loop value is the repeated execution times of the at instruction.
According to the device for detecting the abnormality of the opening of the 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 abnormally, an abnormal (error reporting) environment is reserved, and the abnormality is captured, so that developers 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 diagram of a method of open modem port exception detection according to an embodiment of the present invention;
FIG. 2 is a flow diagram of a method of open modem port exception detection according to one embodiment of the present invention;
figure 3 is a block schematic diagram of an open modem port exception detection apparatus according to one embodiment of the present invention.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
The following describes a method and a device for detecting abnormal opening of a modem port according to an embodiment of the present invention with reference to the accompanying drawings.
FIG. 1 is a flow chart of a method for detecting an anomaly in opening a modem port according to an embodiment of the present invention. As shown in fig. 1, the method for detecting an exception of opening a modem port includes:
and S1, opening the modem port based on the serial library.
It should be understood that a serial is a library function, and may perform operations such as opening, writing, reading, closing, and the like on a serial port, so as shown in fig. 2, in the embodiment of the present invention, a modem port may be opened through a serial library, and information such as baud rate, delay, and the like of the modem port is set.
S2, detecting and recognizing the abnormal opening of the modem port, and capturing and tracking the modem port through try.
Specifically, because the related art generally directly opens the modem port line, how to handle when the modem port is opened is not considered, and the script directly reports an error and terminates, it cannot be determined what reason causes the modem port to be opened and report an error, and cannot keep an error reporting environment, which delays progress and is inconvenient for a developer to perform error positioning and analysis.
Therefore, as shown in fig. 2, in the embodiment of the present invention, when a modem port open exception is recognized, an exception is captured through try.
And S3, executing corresponding operation according to the exception type.
In general, the exception type is not queried to the modem port, or is not authorized to open the modem port, as described in detail below with reference to specific embodiments.
In one example, according to an embodiment of the present invention, as shown in fig. 2, the exception type is not queried to the modem port, and performing the corresponding operation according to the exception type includes: acquiring a screenshot of a computer port management interface and a full-screen screenshot of a computer; and determining whether the modem port is not mapped or whether the modem port number is changed or not according to the computer port management interface screenshot and the computer full screen screenshot, or prompting the unidentifiable universal serial bus usb device.
Specifically, when the exception type is that the modem port cannot be found, screenshot can be performed on the computer port management interface and the computer full screen, so that whether the modem port is not mapped or whether the modem port number is changed or not is checked according to screenshot performed on the computer port management interface and the computer full screen, or unrecognizable universal serial bus usb equipment and the like is prompted.
It should be noted that, because the pyautogui module can capture a screenshot of the computer, and set a name, a size, a storage path, and the like of a picture file, the embodiment of the present invention can capture the screenshot of the computer by introducing the pyautogui module, so as to capture the screenshot of a designated program interface according to different captured exception types, so that a subsequent script writer can analyze the exception conveniently; for example, the exception type is that the modem port is not queried, and a screenshot of a computer port management interface and a screenshot of a computer full screen can be obtained.
In another example, according to an embodiment of the present invention, as shown in fig. 2, the exception type is a type that a modem port is opened without permission, and the performing the corresponding operation according to the exception type includes: acquiring a QCOM tool screenshot; and determining whether the modem port is opened or not according to the QCOM tool screenshot.
Specifically, when the exception type is that the designated port is not authorized to be opened, screenshot can be performed on the QCOM tool, so that a user can check that a certain designated port is opened according to the screenshot, and repeated opening errors are caused. The screenshot of the QCOM tool can also pass through the pyautogui module.
According to an embodiment of the present invention, the method further includes: detecting and recognizing that the opening of the modem port is not abnormal, 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 identifying that the character string of 'ERROR' exists in the return value, printing a prompt message 'ERROR is returned after the execution fails', and finishing the detection.
It should be understood that the preset value can be set according to actual conditions, if the modem port is opened without abnormality, the at command can be written, and the corresponding return value is read, if the return value is the same as the preset value, the read return value is correct, and the program can be terminated; if there is an "ERROR" character string in the return value, a print prompt message "ERROR is returned in failure of execution", 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; if the repeated execution times of the at instruction is 0, printing a prompt message that the specified return value is not found, and finishing the detection; if the repeated execution times of the at instruction is not 0, subtracting 1 from the repeated execution times of the at instruction until a corresponding return value is read, and if the return value contains 'ERROR' or the repeated execution times of the at instruction is 0, finishing the detection.
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 is set before the modem port is opened based on the serial library, and the preset cycle value is the number of times at instruction is repeatedly executed. If the cycle value is 0, printing a prompt message that the specified return value is not found, and terminating the program; if the cycle value is not 0, then subtracting 1 continues execution of the instruction until the return value is found, there is an "ERROR" in the return value, or the cycle value is 0, terminating the program.
According to the method for detecting the abnormality of the opening of the 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 abnormality of the opening of the modem port is detected and recognized, the modem port is captured and tracked through try. Therefore, when the modem port is opened abnormally, an abnormal (error reporting) environment is reserved, and the abnormality is captured, so that developers can conveniently perform error positioning and analysis, and the efficiency is improved.
Fig. 3 is a block schematic diagram of an open modem port exception detection apparatus according to an embodiment of the present invention. As shown in fig. 3, the open modem port exception detecting apparatus includes: the system comprises an opening module 100, an acquisition module 200 and a first execution module 300.
The opening module 100 is configured to open a modem port based on a serial library. The obtaining module 200 is configured to detect and recognize an abnormal opening of a modem port, and capture and track the modem port through a try. The first execution module 300 is configured to execute a corresponding operation according to the exception type.
According to an embodiment of the present invention, the exception type is not queried to the modem port, and the first execution module 300 is specifically configured to: acquiring a screenshot of a computer port management interface and a full-screen screenshot of a computer; determining whether a modem port is not mapped or whether a modem port number is changed or not or prompting unidentifiable universal serial bus usb equipment according to the computer port management interface screenshot and the computer full screen screenshot; the exception type is a modem port opened without permission, and the first execution module 300 is specifically configured to: acquiring a QCOM tool screenshot; and determining whether the modem port is opened or not according to the QCOM tool screenshot.
According to an embodiment of the present invention, the above apparatus further includes: the device comprises a reading module, a first identification module and a second identification module. And the reading module is used for detecting and recognizing that the opening of the modem port is not abnormal, writing the at instruction and reading the corresponding return value. And the first identification module is used for identifying that the return value is the same as the preset value, and ending the detection. And the second identification module is used for identifying that the character string of the ERROR exists in the return value, printing the prompt message of 'executing failure and returning the ERROR', and finishing the detection.
According to an embodiment of the present invention, the above apparatus further includes: the judging module is used for judging whether the repeated execution times of the at instruction is 0 or not when the return value is not read; the printing module is used for printing a prompt message that the specified return value is not found when the repeated execution times of the at instruction is 0, and finishing detection; and the second execution module is used for subtracting 1 from the repeated execution times of the at instruction when the repeated execution times of the at instruction is not 0 until a return value is read, and ending the detection if the return value contains 'ERROR' or the value of the repeated execution times of the at instruction is 0.
According to an 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 loop value, wherein the preset loop value is the repeated execution times of the at instruction.
It should be noted that the foregoing explanation of the embodiment of the method for detecting abnormality of opening a modem port is also applicable to the apparatus for detecting abnormality of opening a modem port in this embodiment, and is not repeated herein.
According to the device for detecting the abnormality of the opening of the modem port, which is provided by the embodiment of the invention, 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 abnormally, an abnormal (error reporting) environment is reserved, and the abnormality is captured, so that developers can conveniently perform error positioning and analysis, and the efficiency is improved.
In the description of the present invention, it is to be understood that the terms "central," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," "circumferential," and the like are used in the orientations and positional relationships indicated in the drawings for convenience in describing the invention and to simplify the description, and are not intended to indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and are therefore not to be considered limiting of the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," "secured," and the like are to be construed broadly and can, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the present invention, unless otherwise expressly stated or limited, the first feature "on" or "under" the second feature may be directly contacting the first and second features or indirectly contacting the first and second features through an intermediate. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean 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 invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer 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, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.

Claims (10)

1. An abnormal detection method for opening a modem port is characterized by comprising the following steps:
opening a modem port based on a serial library;
detecting and identifying abnormal opening of the modem port, and capturing and tracking the modem port through a try. And
and executing corresponding operation according to the abnormal type.
2. The method of claim 1, wherein the exception type is not queried for the modem port, and wherein performing the corresponding operation according to the exception type comprises:
acquiring a screenshot of a computer port management interface and a full-screen screenshot of a computer;
determining whether the modem port is not mapped or whether the modem port number is changed or not or prompting unidentifiable universal serial bus usb equipment according to the computer port management interface screenshot and the computer full screen screenshot;
the abnormal type is that the modem port is opened without permission, and the executing the corresponding operation according to the abnormal type comprises the following steps:
acquiring a QCOM tool screenshot;
and determining whether the modem port is opened or not according to the QCOM tool screenshot.
3. The method of claim 1, further comprising:
detecting and recognizing that the opening of the modem port is not abnormal, writing an at instruction and reading a corresponding return value;
recognizing that the return value is the same as a preset value, and ending the detection;
and identifying that the return value has an ERROR character string, printing a prompt message of 'executing failure and returning ERROR', and finishing the detection.
4. The method of claim 3, further comprising:
if the return value is not read, judging whether the repeated execution times of the at instruction is 0;
if the repeated execution times of the at instruction is 0, printing a prompt message that the specified return value is not found, and finishing detection;
and if the repeated execution times of the at instruction is not 0, subtracting 1 from the repeated execution times of the at instruction until a corresponding return value is read, and if the return value contains 'ERROR' or the repeated execution times of the at instruction is 0, finishing the detection.
5. The method according to any of claims 1-4, further comprising, prior to the serial-based library opening a modem port:
and acquiring a preset loop value, wherein the preset loop value is the repeated execution times of the at instruction.
6. An open modem port exception detection apparatus, 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 the abnormal opening of the modem port, and then capturing and tracking the modem port through try. And
and the first execution module is used for executing corresponding operation according to the abnormal type.
7. The apparatus of claim 6, wherein the exception type is not queried for the modem port, and wherein the first execution module is specifically configured to:
acquiring a screenshot of a computer port management interface and a full-screen screenshot of a computer;
determining whether the modem port is not mapped or whether the modem port number is changed or not or prompting unidentifiable 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 or not according to the QCOM tool screenshot.
8. The apparatus of claim 6, further comprising:
the reading module is used for detecting and recognizing that the opening of the modem port is not abnormal, 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 identification module is used for identifying that the returned value contains an ERROR character string, printing a prompt message of 'ERROR returned after failure execution', and finishing the detection.
9. The apparatus of claim 8, further comprising:
the judging module is used for judging whether the repeated execution times of the at instruction is 0 or not when the return value is not read;
the printing module is used for printing a prompt message that the specified return value is not found when the repeated execution times of the at instruction is 0, and finishing detection;
and the second execution module is used for subtracting 1 from the repeated execution times of the at instruction when the repeated execution times of the at instruction is not 0 until the return value is read, and ending the detection if the return value contains 'ERROR' or the value of the repeated execution times of the at instruction is 0.
10. The apparatus according to any of claims 6-9, wherein prior to the serial-based library opening modem port, the opening module is further configured to:
and acquiring a preset loop value, wherein the preset loop value is the repeated execution times 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 true CN111124726A (en) 2020-05-08
CN111124726B 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 (16)

* 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
US20030023905A1 (en) * 2001-07-18 2003-01-30 Eli Boling Exception handling system and method
JP2003162380A (en) * 2001-11-27 2003-06-06 Pfu Ltd Raid device and error recovering method
US20080130863A1 (en) * 2006-10-31 2008-06-05 Level 3 Communications Llc Functionalities for local number portability in a telecommunications network
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

Patent Citations (16)

* 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
US20030023905A1 (en) * 2001-07-18 2003-01-30 Eli Boling Exception handling system and method
JP2003162380A (en) * 2001-11-27 2003-06-06 Pfu Ltd Raid device and error recovering method
US20080130863A1 (en) * 2006-10-31 2008-06-05 Level 3 Communications Llc Functionalities for local number portability in a telecommunications network
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下异常捕获及处理", 电脑学习, no. 05 *

Also Published As

Publication number Publication date
CN111124726B (en) 2024-01-26

Similar Documents

Publication Publication Date Title
Stocco et al. Visual web test repair
CN106844217B (en) Method and device for embedding point of applied control and readable storage medium
CN102117660B (en) For testing the tester of data storage device
US20150324478A1 (en) Detection method and scanning engine of web pages
CN108491321B (en) Method and device for determining test case range and storage medium
CN103049373B (en) A kind of localization method of collapse and device
CN103699480A (en) WEB dynamic security flaw detection method based on JAVA
CN104699617A (en) Automated testing method for games
CN105635313A (en) Medical equipment state monitoring system and method
CN111160824A (en) Engineering data detection method and device, computer equipment and storage medium
CN108021791A (en) Data guard method and device
CN110457220A (en) Simulator detection method, intelligent terminal and storage medium based on android system
CN111124726A (en) Method and device for detecting abnormity of opened modem port
US7415560B2 (en) Method of automatically monitoring computer system debugging routine
KR101774815B1 (en) Cursor location recognition test automation system and test automation method using the same
CN113900926A (en) Batch test method, system and medium for test cases
CN105653455A (en) Program vulnerability detection method and detection system
JP5545771B2 (en) Diagnostic device, diagnostic method, and diagnostic program diagnostic method
US20080115016A1 (en) System and method for analyzing unknown file format to perform software security test
CN112612882B (en) Review report generation method, device, equipment and storage medium
CN113037521B (en) Method for identifying state of communication equipment, communication system and storage medium
CN113792017A (en) Method and system for checking template content imported into excel
CN108845932B (en) Unit testing method and device of network library, storage medium and terminal
CN112395619A (en) Vulnerability scanning method and device
CN118430635B (en) Method, device, equipment and storage medium for adjusting chip memory

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