CN112783702A - Method for repairing abnormal USB connection based on mobile phone recovery machine - Google Patents

Method for repairing abnormal USB connection based on mobile phone recovery machine Download PDF

Info

Publication number
CN112783702A
CN112783702A CN202011636557.6A CN202011636557A CN112783702A CN 112783702 A CN112783702 A CN 112783702A CN 202011636557 A CN202011636557 A CN 202011636557A CN 112783702 A CN112783702 A CN 112783702A
Authority
CN
China
Prior art keywords
usb
repairing
mobile phone
abnormal
detection
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.)
Pending
Application number
CN202011636557.6A
Other languages
Chinese (zh)
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.)
Guangzhou Epbox Information Technology Co ltd
Original Assignee
Guangzhou Epbox Information Technology 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 Guangzhou Epbox Information Technology Co ltd filed Critical Guangzhou Epbox Information Technology Co ltd
Priority to CN202011636557.6A priority Critical patent/CN112783702A/en
Publication of CN112783702A publication Critical patent/CN112783702A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test buses, lines or interfaces, e.g. stuck-at or open line faults
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/30Administration of product recycling or disposal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W30/00Technologies for solid waste management
    • Y02W30/50Reuse, recycling or recovery technologies
    • Y02W30/82Recycling of waste of electrical or electronic equipment [WEEE]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02WCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO WASTEWATER TREATMENT OR WASTE MANAGEMENT
    • Y02W90/00Enabling technologies or technologies with a potential or indirect contribution to greenhouse gas [GHG] emissions mitigation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Human Resources & Organizations (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Sustainable Development (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Telephone Function (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention provides a method for repairing abnormal USB connection based on a mobile phone recovery machine, which comprises the following steps: the method comprises a USB repairing method and a USB detecting method, wherein the USB repairing method comprises the steps of adopting a USB detecting and repairing process to carry out circular detection on a terminal application program, and intercepting and repairing when abnormal hardware of USB equipment is detected in the process of recovering and detecting a mobile phone; the USB detection method comprises the steps of sending a general USB interface checking command to a server, obtaining the number of USB interfaces, initializing the connection of the USB interfaces when checking the USB interfaces each time, and judging whether the USB interfaces are initialized normally, whether power-on is normal, whether USB equipment can be started or not and the like as the basis of checking. The method is short in time consumption and quick in repair, manual clicking is not needed intelligently, the technical effect of timely finding and timely repairing can be achieved, the labor cost and the maintenance cost of equipment disassembly and assembly are greatly reduced, and the mobile phone recovery efficiency is improved.

Description

Method for repairing abnormal USB connection based on mobile phone recovery machine
Technical Field
The invention relates to a method for repairing abnormal USB connection based on a mobile phone recovery machine, and belongs to the technology of repairing abnormal USB connection.
Background
With the development of social economy, the quality of people's life pursuit is higher and higher, and environmental protection also becomes more and more the focus of people's attention, wherein the recovery problem of electronic products such as bad cell-phones, second-hand cell-phones, etc. is a part of content in environmental protection, the cell-phone is recovered the machine and is born as soon as possible, the machine of recovering the cell-phone is put in each place cell-phone business hall that comes soon; because the mobile phone is recovered by the machine, when the mobile phone is recovered, the recovery machine can detect the mobile phone which is recovered in advance, so that the mobile phone is inevitably contacted with the USB in the detection process, and the abnormal interruption of the USB can occur, for example, the abnormal connection of the USB line on the machine when the mobile phone is scanned by a scanner, the abnormal connection of the USB line when the camera takes a picture on the front side, and the like; at present, manual plugging and unplugging of a USB wire is the most common solution, but the manual plugging and unplugging of the USB wire has the following defects: 1. the USB cable is manually plugged, the time is long, and the plugging times are uncertain; 2. the method can not detect whether the USB line is normal in advance, and can only see the result when the USB line is used manually; 3. the disassembly, assembly, operation and maintenance cost of the machine is increased, and the recovery efficiency is reduced; 4. self-service terminal generally has the closure, unmanned on duty, and most USB interface all is inside the machine, and it is hard to open the machine time. Therefore, the method for repairing the abnormal connection of the USB is not only extremely inconvenient, but also long in time consumption and low in repairing efficiency, can not immediately know that the USB is abnormal, and simultaneously increases manpower and the cost for disassembling and assembling equipment and reduces the recovery efficiency; there is an urgent need for an intelligent solution to solve the above problems.
Disclosure of Invention
The invention aims to provide a method for repairing abnormal USB connection based on a mobile phone recovery machine, which solves the problems of low repair efficiency, reduction of mobile phone recovery rate, labor waste, equipment cost and the like by utilizing a mode of intercepting a USB line by a USB detection and repair process.
The method for repairing the abnormal USB connection based on the mobile phone recovery machine comprises a USB repairing method and a USB detecting method, wherein the USB repairing method comprises the steps of adopting a USB detecting and repairing process to carry out circular detection on a terminal application program, and intercepting and repairing abnormal hardware of USB equipment in the process of detecting and recovering the mobile phone by the recovery machine; the USB detection method comprises the steps of sending a general USB interface checking command to a server, obtaining the number of USB interfaces, initializing the connection of the USB interfaces when checking the USB interfaces each time, and judging whether the USB interfaces are initialized normally, whether power-on is normal, whether USB equipment can be started or not and the like as the basis of checking.
The hardware with the abnormal USB equipment is intercepted and repaired, the USB detection and repair process sends a single chip microcomputer USB debugging instruction through serial port debugging, the single chip microcomputer carries out USB power on-off through operating a relay, and finally reset of the USB equipment is achieved.
The USB detection and repair process processing device comprises: the device comprises a detection unit, a monitoring unit, a reset unit and a starting unit.
The relay is an electric switch, and the USB power supply is switched on and off by controlling the on-off of a driving coil of the relay, so that the reset of the USB equipment is realized.
The USB detection and repair process also comprises the step of setting a repair time threshold value in the terminal application program when the terminal application program performs cycle detection, judging whether the USB repair time is greater than the threshold value set by the terminal application program, if the USB repair time is greater than the threshold value set by the terminal application program, possibly damaging a USB line, uploading a USB abnormal result to a server, sending the server to a robot responsible person through a short message, switching the terminal application program to a machine alarm prompt interface and finishing the process; and if the USB repair times are not larger than the threshold value set by the terminal application program, continuing to execute the USB repair detection process.
The method for repairing abnormal USB connection based on a mobile phone recovery machine adopts a USB detection and repair method, namely a USB detection and repair process circularly detects and sends a universal command for checking a USB interface in a terminal application program, acquires the number of the USB interfaces, initializes the connection of the USB interface every time the USB interface is checked, judges whether the USB interface is initialized normally, whether power is on normally and whether USB equipment can be started or not and the like as the basis of the check, when the mobile phone recovery machine detects a mobile phone, the terminal application program prepares to start hardware with the USB equipment such as a camera and the like, the USB detection and repair process intercepts and detects a USB wire, if the hardware is detected to be abnormal, the USB repair and repair process sends a specific singlechip repair USB debugging command of the camera through serial port debugging, the singlechip repairs the USB debugging command by operating a relay, each USB singlechip repair USB debugging command corresponds to different relays for controlling the USB interface, the relay is an electrical switch, and the USB power supply is switched on and off by controlling the on-off of a driving coil of the relay, so that the USB equipment is reset finally. The method is short in time consumption, intelligent and free of manual clicking, labor cost and maintenance cost for disassembling and assembling the equipment are greatly reduced, and recovery efficiency is improved.
Drawings
FIG. 1 is a schematic overall flow chart of one embodiment of a method for repairing abnormal USB connection based on a mobile phone recycling machine according to the present invention;
FIG. 2 is a schematic structural diagram of a USB detection and repair process processing apparatus shown in FIG. 1;
fig. 3 is a system structure diagram of the method for repairing the abnormal USB connection based on the mobile phone recycling machine according to the present invention.
Detailed Description
Referring to fig. 1 to fig. 3, these three figures show a general flow chart of an embodiment of the method for recovering an abnormal USB connection based on a recycling machine of a mobile phone according to the present invention. The method comprises a USB repair method and a USB detection method, wherein the USB repair method comprises the steps of adopting a USB detection repair process to carry out circular detection on a terminal application program, and intercepting and repairing abnormal hardware of the USB equipment in the process of detecting and recovering the mobile phone by a recovery machine; the USB detection method comprises the steps of sending a general USB interface checking command to a server, obtaining the number of USB interfaces, initializing the connection of the USB interfaces when checking the USB interfaces each time, and judging whether the USB interfaces are initialized normally, whether power-on is normal, whether USB equipment can be started or not and the like as the basis of checking. The hardware with the abnormality for the USB equipment is intercepted and repaired, the USB detection and repair process sends a single chip microcomputer repair USB debugging instruction through serial port debugging, the single chip microcomputer operates a relay, the relay is an electric switch, the on-off of a relay driving coil is controlled, the on-off of a USB power supply is carried out through the on-off of the relay, and finally the reset of the USB equipment is realized.
The processing device for detecting the repair process by the USB comprises: the device comprises a detection unit, a monitoring unit, a reset unit and a starting unit. The USB detection and repair process further includes a step of setting a repair time threshold in the terminal application program when the terminal application program performs loop detection, and the following specifically describes the implementation process and steps with reference to fig. 1, taking the USB interface of the camera as an example:
1) mobile phone detection: opening a mobile phone recovery cabin door and putting the mobile phone into the cabin door for photographing detection;
2) detecting a USB interface by a USB detection and repair process: before starting the camera, the USB detection and repair process detects that the camera has a USB interface identifier, a universal command for checking the USB interface is sent, the number of the USB interfaces is searched, when the USB interface is checked each time, connection initialization is carried out on the USB interface, whether the USB interface is normally initialized or not and whether the camera can be started or not are judged as the basis of checking, and if the checking is abnormal, the camera is normally started;
3) if the abnormal connection of the camera and other devices with the USB interface is detected, the USB is restored and reset: the USB detection and repair process sends a camera specific single chip microcomputer repair USB debugging instruction through serial port debugging, the single chip microcomputer operates a relay, each USB single chip microcomputer repair USB debugging instruction corresponds to a relay of a different control USB interface, the relay is an electrical switch, and the USB power supply is switched on and off by controlling the on-off of a relay driving coil, so that the USB equipment is reset finally;
4) judging whether the USB repair times of the camera are larger than a threshold value set by a terminal application program or not, and if not, continuing to execute the step 2); if the abnormal result is larger than the set threshold value, the USB line is possibly damaged, the abnormal result of the camera USB is uploaded to a server, the server sends the abnormal result of the USB to a robot responsible person through a short message, and finally the terminal application program is switched to a machine alarm prompting interface and the process is ended;
5) if the USB interface of the camera is successfully repaired, the camera is normally started; and (3) monitoring the hardware of the USB equipment in real time by the USB detection and repair process, if the shooting process of the camera fails, temporarily stopping shooting by the camera, and entering the step 2).
The method is short in time consumption and quick in repair, manual clicking is not needed intelligently, timely repair can be found, labor cost and operation and maintenance cost of equipment disassembly and assembly are greatly reduced, and mobile phone recovery efficiency is improved.

Claims (5)

1. A method for restoring abnormal connection of a USB (universal serial bus) based on a mobile phone recovery machine is characterized by comprising the following steps:
the method comprises a USB repairing method and a USB detecting method, wherein the USB repairing method comprises the steps of adopting a USB detecting and repairing process to carry out circular detection on a terminal application program, and intercepting and repairing when abnormal hardware of USB equipment is detected in the process of recovering and detecting a mobile phone; the USB detection method comprises the steps of sending a general USB interface checking command to a server, obtaining the number of USB interfaces, initializing the connection of the USB interfaces when checking the USB interfaces each time, and judging whether the USB interfaces are initialized normally, whether power-on is normal, whether USB equipment can be started or not and the like as the basis of checking.
2. The method for repairing abnormal USB connection based on mobile phone recovery machine according to claim 1, wherein: the hardware with the abnormal USB equipment is intercepted and repaired, the USB detection and repair process sends a single chip microcomputer USB debugging instruction through serial port debugging, the single chip microcomputer carries out USB power on-off through operating a relay, and finally reset of the USB equipment is achieved.
3. The method for repairing abnormal USB connection based on mobile phone recovery machine according to claim 1, wherein: the USB detection and repair process processing device comprises: the device comprises a detection unit, a monitoring unit, a reset unit and a starting unit.
4. The method for repairing abnormal USB connection based on the mobile phone recovery machine according to claim 2, wherein: the relay is an electric switch, and the USB power supply is switched on and off by controlling the on-off of a driving coil of the relay, so that the reset of the USB equipment is realized.
5. The method for repairing abnormal USB connection based on mobile phone recovery machine according to claim 1, wherein: the USB detection and repair process also comprises a step of setting a repair frequency threshold value in the terminal application program when the terminal application program performs cycle detection, judging whether the USB repair frequency is greater than the threshold value set by the terminal application program, if the USB repair frequency is greater than the threshold value set by the terminal application program, the USB line is possibly damaged, uploading a USB abnormal result to a server, sending the server to a robot responsible person through a short message, switching the terminal application program to a machine alarm prompt interface and finishing the process; and if the USB repair times are not larger than the threshold value set by the terminal application program, continuing to execute the USB repair detection process.
CN202011636557.6A 2020-12-31 2020-12-31 Method for repairing abnormal USB connection based on mobile phone recovery machine Pending CN112783702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011636557.6A CN112783702A (en) 2020-12-31 2020-12-31 Method for repairing abnormal USB connection based on mobile phone recovery machine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011636557.6A CN112783702A (en) 2020-12-31 2020-12-31 Method for repairing abnormal USB connection based on mobile phone recovery machine

Publications (1)

Publication Number Publication Date
CN112783702A true CN112783702A (en) 2021-05-11

Family

ID=75754914

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011636557.6A Pending CN112783702A (en) 2020-12-31 2020-12-31 Method for repairing abnormal USB connection based on mobile phone recovery machine

Country Status (1)

Country Link
CN (1) CN112783702A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11922467B2 (en) 2020-08-17 2024-03-05 ecoATM, Inc. Evaluating an electronic device using optical character recognition
US12033454B2 (en) 2020-08-17 2024-07-09 Ecoatm, Llc Kiosk for evaluating and purchasing used electronic devices

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070150758A1 (en) * 2005-12-22 2007-06-28 Ncr Corporation Power control interface for a self-service apparatus
CN101727359A (en) * 2008-10-20 2010-06-09 阿尔派株式会社 Electronic equipment and reset method thereof
KR101091115B1 (en) * 2010-10-18 2011-12-09 (주)백광정밀 A defect-inspecting apparatus of usb
CN109459654A (en) * 2018-09-20 2019-03-12 华为技术有限公司 A kind of method, apparatus and system that connection is extremely determining
CN209029951U (en) * 2018-11-26 2019-06-25 铜陵迈维电子科技有限公司 A kind of mobile power source based on power-off protection
CN110413451A (en) * 2019-07-22 2019-11-05 苏州桦汉科技有限公司 A kind of USB device automatic recovery method, apparatus and system
CN111930546A (en) * 2020-07-22 2020-11-13 浪潮金融信息技术有限公司 Automatic recovery method for driving disconnection reconnection of equipment under new architecture

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070150758A1 (en) * 2005-12-22 2007-06-28 Ncr Corporation Power control interface for a self-service apparatus
CN101727359A (en) * 2008-10-20 2010-06-09 阿尔派株式会社 Electronic equipment and reset method thereof
KR101091115B1 (en) * 2010-10-18 2011-12-09 (주)백광정밀 A defect-inspecting apparatus of usb
CN109459654A (en) * 2018-09-20 2019-03-12 华为技术有限公司 A kind of method, apparatus and system that connection is extremely determining
CN209029951U (en) * 2018-11-26 2019-06-25 铜陵迈维电子科技有限公司 A kind of mobile power source based on power-off protection
CN110413451A (en) * 2019-07-22 2019-11-05 苏州桦汉科技有限公司 A kind of USB device automatic recovery method, apparatus and system
CN111930546A (en) * 2020-07-22 2020-11-13 浪潮金融信息技术有限公司 Automatic recovery method for driving disconnection reconnection of equipment under new architecture

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11922467B2 (en) 2020-08-17 2024-03-05 ecoATM, Inc. Evaluating an electronic device using optical character recognition
US12033454B2 (en) 2020-08-17 2024-07-09 Ecoatm, Llc Kiosk for evaluating and purchasing used electronic devices

Similar Documents

Publication Publication Date Title
CN112783702A (en) Method for repairing abnormal USB connection based on mobile phone recovery machine
CN104199755B (en) A kind of method and system that hardware module failure is diagnosed based on indicator lamp
CN110996060A (en) Industrial automation intelligent linkage system and method
CN105807155A (en) Testing device and method for power cut and starting of electric devices
CN109445981B (en) Computer running state monitoring device
CN104268041A (en) Automatic closed loop test method for frequent startup and shutdown of vehicle-mounted display
CN109031104B (en) Relay contact performance detection device for relay protection device
CN101207519A (en) Version server, operation maintenance unit and method for restoring failure
CN114378862A (en) Robot abnormity automatic repairing method and device based on cloud platform and robot
CN111246199A (en) Control method and device for camera test, terminal equipment and storage medium
CN115395885B (en) Control method for cutting off fault component in photovoltaic power generation system
CN114116315B (en) USB failure recovery method and system applied to industrial information security mainboard
CN102290866A (en) Control method and control system of intelligent releaser
CN201657197U (en) Intelligent power supply management video monitoring equipment
CN111023441B (en) Air conditioner control method and system, storage medium and air conditioner
CN110189313B (en) Electrical fault image recognition pre-judgment method based on infrared thermal imaging technology
CN113339935A (en) Method and device for determining fault reason and fault detection system
CN104267286A (en) LED display screen detection method and system
CN105811371A (en) Direct current motor control system fault diagnosis method and device
CN105391575A (en) Treasury control method and system
CN111416442A (en) UPS power distribution cabinet monitoring method and system based on WeChat small program
CN110191035A (en) The method and system that a kind of pair of intelligent electric appliance is controlled
CN115343994B (en) Device control system and method
CN209028601U (en) Computer operation condition monitoring device
CN217063248U (en) Integrated protection circuit board for internal device of oil separation 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