Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

An automatic repair method for driving peripheral communication

An automatic repair and communication technology, applied in the direction of software reuse, creation/generation of source code, etc., can solve the problems of low code reuse rate and low efficiency, and achieve the effect of improving platform standardization, facilitating management and control, and improving repair efficiency

Active Publication Date: 2022-08-09
INSPUR FINANCIAL INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The general method uses a separate module to reset or close and open when the device is abnormal, and try to re-establish the connection. Each module maintains and repairs itself, but there are many shortcomings: such as the code reuse rate is low, and the same function needs to be implemented separately by each module; For composite devices, such as 2-in-1, 3-in-1, etc., the device port is shared, and repeated repairs are performed during runtime, which is inefficient

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • An automatic repair method for driving peripheral communication

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0011] The present invention will be described below with reference to the accompanying drawings.

[0012] as attached figure 1 Shown is an automatic repair method for driving peripheral communication according to the present invention, which includes the following steps: 1. All module drivers use a common device base class, all modules use the same device base class, and any module will be created when it is opened. The only object, the platform layer performs unified control by recording each object instance, and can intelligently identify different modules that share ports, and realize the shared management and rapid synchronization of handles; second, based on the inheritance feature of object-oriented development based on the driver architecture, through the STL standard template Library, the general function is implemented by the base class, and the subclass is used directly; 3. After the communication is abnormal, set the communication exception flag of the self and the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an automatic repairing method for driving peripheral device communication, comprising the following steps: firstly, all module drivers use a common device base class, which can intelligently identify different modules sharing a port, so as to realize shared management and rapid synchronization of handles; , based on the inheritance feature of object-oriented development based on the driver architecture, through the STL standard template library, the general functions are implemented by the base class, and the subclasses are used directly; 3. After the communication is abnormal, set the communication exception flag of itself and the shared port module; 4. Try to repair , through the shared device base class, the composite module of itself and the shared port only needs to be repaired once; 5. If the repair is successful, set the connection success flag, and then set the shared port module connection success flag, and feedback and repair it through the base class; If the repair fails, the repair is directly terminated, and the repair is attempted after re-detection; the present invention improves the repair efficiency, improves the code reuse rate, and facilitates management and control.

Description

technical field [0001] The invention relates to an automatic repair method for driving peripheral communication, belonging to the technical field of self-service equipment. Background technique [0002] Self-service equipment is generally connected to various types and models of hardware modules, and communication abnormalities will inevitably occur during use. However, in order to ensure the continued use of the equipment, a flexible and fast recovery mechanism for disconnection and reconnection is required to improve equipment operation. Efficiency and reduce human operating costs. [0003] The general method uses a separate module to reset or turn off the device when the device is abnormal, try to re-establish the connection, and each module maintains and repairs by itself, but there are many shortcomings: For example, the code reuse rate is low, and the same function needs to be implemented separately for each module; For composite devices, such as two-in-one, three-in-...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/30G06F8/36
CPCG06F8/30G06F8/36
Inventor 王红娟王思栋生伟
Owner INSPUR FINANCIAL INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products