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

Method for automatically repairing peripheral communication of driver

An automatic repair and communication technology, applied in 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: 2020-02-14
INSPUR FINANCIAL INFORMATION TECH CO LTD +1
View PDF3 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
  • Method for automatically repairing peripheral communication of driver

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0011] The present invention is described below in conjunction with accompanying drawing.

[0012] as attached figure 1 Shown is an automatic repair method for driver peripheral communication described in the present invention, including the following steps, one, drive all modules to 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, can intelligently identify different modules of the shared port, and realizes the shared management and fast synchronization of the handle; second, based on the driver architecture, using the inheritance feature of object-oriented development, through the STL standard template Library, common functions are implemented using the base class, and subclasses are used directly; 3. After the communication is abnormal, set the communication exception flag of itself and the shared port mo...

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 a method for automatically repairing peripheral communication of a driver, which comprises the following steps of: 1, driving all modules to use a common equipment base class to intelligently identify different modules of a shared port so as to realize shared management and quick synchronization of handles; 2, based on a drive architecture, using an object-oriented development inheritance characteristic, through an STL standard template library, using a base class to realize a general function, and directly using a subclass; 3, after the communication is abnormal, setting a communication abnormality identifier of a self and shared port module; 4, attempting to repair, and only needing to repair the composite module of the shared equipment base class and the shared port once; 5, if the repair is successful, setting a connection success identifier, then setting a connection success identifier of the shared port module, and feeding back and repairing the shared port module through the base class; if the repair fails, directly ending the repair, and trying to repair after re-detection; the repair efficiency is improved, the code reuse rate is increased, and management and control are facilitated.

Description

technical field [0001] The invention relates to an automatic repair method for driving peripheral device communication, which belongs 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, reduce human operation cost. [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 de...

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 Applications(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