File scanning preview and file uploading method for Web application

A file scanning and file uploading technology, applied in the field of network communication, can solve problems such as incompatibility and increasing the difficulty of software operation

Pending Publication Date: 2021-05-28
CHONGQING RADIO & TV UNIV
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the ActiveX plug-in is a technology based on the Component Object Model (COM) introduced by Microsoft, it is not compatible with non-IE core browsers such as firefox (Firefox), Chrome, and Apple Safari, and some browsers even prohibit the use of ActiveX controls.
In addition, to embed ActiveX plug-ins in Web applications, you need to enable the initialization settings of ActiveX and other security settings in the browser's custom security level, which not only increases the difficulty of using the software for users, but also provides attacks to other unsafe ActiveX plug-ins. Security Vulnerabilities of the Local Computer

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
  • File scanning preview and file uploading method for Web application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] In order to make the purpose, technical solution and advantages of the present invention clearer, the present invention will be further elaborated below in conjunction with the accompanying drawings.

[0019] In this example, see figure 1 As shown, the present invention proposes a file scanning preview and a file upload method of a Web application, comprising steps:

[0020] S10, start the Windows scanning service program;

[0021] S20, the WebSocket client sends scanning information to the Windows scanning service program;

[0022] S30, complete the file scanning by the Windows scanning service program, and return the scanned file information list to the WebSocket client;

[0023] S40, the WebApi reads the returned scan file information list to complete the scan preview of the file;

[0024] S50, the WebApi reads the returned scanned file information list to complete uploading of file scanned data.

[0025] As an optimization scheme of the above-mentioned embodimen...

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 file scanning preview and file uploading method for Web application, which comprises the following steps of: a Windows scanning service program is started; a WebSocket client side sends scanning information to the Windows scanning service program; the Windows scanning service program completes file scanning, and a scanned file information list is returned to the WebSocket client side; WebApi reads the returned scanned file information list to complete scanning preview of the file; and the WebApi reads the returned scanned file information list to complete file scanning data uploading. The browser compatibility problem caused by using an ActiveX plug-in in a Web application and the system security risk caused by using the ActiveX plug-in are avoided, the security setting operation of a user on the browser is removed, and the usability of software is enhanced.

Description

technical field [0001] The invention belongs to the technical field of network communication, and in particular relates to a file scanning preview and file uploading method of a Web application. Background technique [0002] At present, in various systems of Web applications, to realize file scanning preview and file uploading functions, most Web applications embed ActiveX plug-ins in Web pages, call the ActiveX plug-in function to control the scanner on the local computer, and realize file scanning. Scan function and scan file upload function. Because the ActiveX plug-in is a technology based on the Component Object Model (COM) introduced by Microsoft, it is not compatible in non-IE core browsers such as firefox (Firefox), Chrome, and Apple Safari, and some browsers even prohibit the use of ActiveX controls. In addition, to embed ActiveX plug-ins in Web applications, you need to enable the initialization settings of ActiveX and other security settings in the browser's cust...

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): G06F9/445G06F16/958H04L29/08
CPCG06F9/44526G06F16/958H04L67/02H04L67/06
Inventor 刘玉皎
Owner CHONGQING RADIO & TV UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products