CN111107140A - System and method for controlling scanner by web application - Google Patents

System and method for controlling scanner by web application Download PDF

Info

Publication number
CN111107140A
CN111107140A CN201911273533.6A CN201911273533A CN111107140A CN 111107140 A CN111107140 A CN 111107140A CN 201911273533 A CN201911273533 A CN 201911273533A CN 111107140 A CN111107140 A CN 111107140A
Authority
CN
China
Prior art keywords
scanning
web application
identity authentication
scanner
request
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
CN201911273533.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.)
Shandong Inspur Genersoft Information Technology Co Ltd
Original Assignee
Shandong Inspur Genersoft 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 Shandong Inspur Genersoft Information Technology Co Ltd filed Critical Shandong Inspur Genersoft Information Technology Co Ltd
Priority to CN201911273533.6A priority Critical patent/CN111107140A/en
Publication of CN111107140A publication Critical patent/CN111107140A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • G06F9/4484Executing subprograms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/00127Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture
    • H04N1/00204Connection or combination of a still picture apparatus with another apparatus, e.g. for storage, processing or transmission of still picture signals or of information associated with a still picture with a digital computer or a digital computer system, e.g. an internet server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/04Scanning arrangements, i.e. arrangements for the displacement of active reading or reproducing elements relative to the original or reproducing medium, or vice versa

Abstract

The invention discloses a system and a method for controlling a scanner by web application, and belongs to the technical field of computers. The system for controlling the scanner by the web application comprises a data storage module, an identity authentication center, the web application and a scanner control center, wherein the data storage module is communicated with the identity authentication center; the scanner control center comprises a scanning component and scanning equipment, and the scanning component is communicated with the scanning equipment, the identity authentication center and the web application respectively. The system of the web application control scanner has the advantages of convenient and efficient scanning process, high scanning quality, high restoration degree of the scanned image file, high definition and good popularization and application values.

Description

System and method for controlling scanner by web application
Technical Field
The invention relates to the technical field of computers, and particularly provides a system and a method for controlling a scanner by web application.
Background
In recent years, the ERP system in the traditional industry has changed greatly, and various enterprises put more demands and use scenes on paperless office and electronic images, wherein the development of the electronic image system is greatly facilitated by the use of a scanner. The scanner is used as a scanning tool and can perform scanning, storing and processing work on images. In the past, it was common practice to use desktop software to complete all scanning operations, then open their own working platform (service system), and upload the images stored locally to a database for processing and storage. The method is undoubtedly inefficient, and in order to pursue higher efficiency, the functions called by the scanner are directly integrated in the business system, so that the use efficiency of the terminal user can be improved, and the image scanning work is more convenient and efficient.
Disclosure of Invention
The technical task of the invention is to provide a system for controlling a scanner by using a web application, which has the advantages of convenience, high efficiency, high scanning quality, high restoration of scanned image files and high definition in the scanning process aiming at the existing problems.
It is a further technical task of the present invention to provide a method for a web application to control a scanner.
In order to achieve the purpose, the invention provides the following technical scheme:
a system for controlling a scanner by web application comprises a data storage module, an identity authentication center, the web application and a scanner control center, wherein the data storage module is communicated with the identity authentication center which is communicated with the web application; the scanner control center comprises a scanning component and scanning equipment, and the scanning component is communicated with the scanning equipment, the identity authentication center and the web application respectively.
The system of the web application control scanner is based on a B/S (browser/server) framework, and a B end refers to a browser capable of analyzing and executing JavaScript; the S-side is a local service local to the client. The browser at the PC side is directly communicated with the service on the local, and the service is communicated with the driving interface of the scanner. The image scanning small program is directly downloaded in the webpage, and the starting service is installed, so that the scanner can be called in the webpage to perform the scanning processing operation of the image file. After the scanning is finished, the data are directly stored in the disk space corresponding to the local service, and when the data are scanned in a large batch, the data are not limited by the size of the memory, the risk of memory overflow is avoided, and the safety is guaranteed.
Preferably, the data storage module is used for sending a retrieval request to the identity authentication center and storing data.
Preferably, the identity authentication center is used for sending a retrieval identity verification request to the web application, and the web application uploads identity verification to the identity authentication center.
Preferably, the web application is configured to send a scanning request to the scanning component, the scanning component records the scanning request and sends a scanning instruction to control the scanning device to perform scanning, and the scanning device stores a scanning result to an instruction specified position according to the scanning instruction and returns the scanning result to the scanning component.
Preferably, the web application sends the scan request with scan type information, and the scan component records the scan type information of the scan request.
Preferably, the scanning component is configured to receive a completion instruction, return a scanning result to the web application, or perform authentication and upload the result to the data storage module.
A method for controlling a scanner by a web application is characterized in that the web application uploads and previews files through an identity authentication center and a data storage module, and data collection is realized through a scanning control center.
Preferably, the method specifically comprises the following steps:
s1, the web application sends a scanning request to the scanning component, and the scanning component records the request type and sends a scanning instruction to control the scanning device to scan;
s2, the scanning device stores the scanning result to the instruction specified position according to the scanning instruction, and returns the scanning result to the scanning component;
s3, the scanning component receives the completion instruction and processes the scanning result: returning web application or performing identity authentication and uploading the result to the data storage module, and returning failure if the identity authentication fails;
and S4, the web application displays the scanning result, and the operator determines to upload the scanning result to the data storage module or discard the scanning result for reuse.
Preferably, the web application sends the scan request with scan type information, and the scan component records the scan type information of the scan request.
Compared with the prior art, the method for controlling the scanner by the web application has the following outstanding beneficial effects:
firstly, a user only needs to download and install a web application program without installing and knowing complicated programs of client desktop software and ensures that the local scanner service is started to finish the calling of the scanner;
the method realizes calling the scanner in the webpage through the interface, can compatibly support the current mainstream browser IE, Google, 360 browser and the like and the mainstream operating system, and can meet most commercial solutions;
and (III) the process of calling the scanner is simple to operate, convenient and efficient, and the obtained scanning image is high in definition and high in recognition rate, so that the method has good popularization and application values.
Drawings
FIG. 1 is a flow chart of a method of a web application controlling a scanner in accordance with the present invention.
Detailed Description
The system and method for controlling a scanner by a web application according to the present invention will be described in further detail with reference to the accompanying drawings and embodiments.
Examples
The system for controlling the scanner by the web application comprises a data storage module, an identity authentication center, the web application and a scanner control center.
The data storage module is communicated with an identity authentication center, and the identity authentication center is communicated with the web application; the scanner control center comprises a scanning component and scanning equipment, and the scanning component is communicated with the scanning equipment, the identity authentication center and the web application respectively.
The data storage module is used for sending a retrieval request to the identity authentication center and storing data.
The identity authentication center is used for sending a retrieval identity authentication request to the web application, and the web application uploads identity authentication to the identity authentication center.
The web application is used for sending a scanning request to the scanning component, the scanning component records the scanning request and sends a scanning instruction to control the scanning device to scan, the scanning device stores a scanning result to an instruction specified position according to the scanning instruction, and the scanning result is returned to the scanning component. The scanning request sent by the web application is provided with scanning type information, and the scanning component records the scanning type information of the scanning request.
The scanning component is used for receiving the completion instruction, returning the scanning result to the web application or carrying out identity verification and uploading the result to the data storage module.
The system of the web application control scanner is based on a B/S (browser/server) framework, and a B end refers to a browser capable of analyzing and executing JavaScript; the S-side is a local service local to the client. The browser at the PC side is directly communicated with the service on the local, and the service is communicated with the driving interface of the scanner. The image scanning small program is directly downloaded in the webpage, and the starting service is installed, so that the scanner can be called in the webpage to perform the scanning processing operation of the image file. After the scanning is finished, the data are directly stored in the disk space corresponding to the local service, and when the scanning is carried out in a large batch, the limitation of the size of the memory is avoided, and the risk of memory overflow is avoided.
As shown in fig. 1, in the method for controlling a scanner by a web application of the present invention, the web application uploads and previews a file through an identity authentication center and a data storage module, and data acquisition is realized through a scanning control center.
The method specifically comprises the following steps:
s1, the web application sends a scanning request to the scanning component, and the scanning component records the request type and sends a scanning instruction to control the scanning device to scan.
Wherein the scanning request sent by the web application is provided with the scanning type information, and the scanning component records the scanning type information of the scanning request.
The specific code sent by the scan request is as follows:
Figure BDA0002314900170000041
the specific code sent by the scan instruction is as follows:
Figure BDA0002314900170000051
and S2, the scanning device stores the scanning result to the specified position of the instruction according to the scanning instruction and returns the scanning result to the scanning component.
S3, the scanning component receives the completion instruction and processes the scanning result: and returning the web application or uploading the result to the data storage module for authentication, and returning failure if the authentication fails.
An example of an authentication interface is as follows:
authorization identity authentication token
Public TokenInfo GetToken(string appid,string username,stringpassword)
Identity validity verification interface
Public bool IsValid(string appid,string appsercet,string token)。
And S4, the web application displays the scanning result, and the operator determines to upload the scanning result to the data storage module or discard the scanning result for reuse.
The above-described embodiments are merely preferred embodiments of the present invention, and general changes and substitutions by those skilled in the art within the technical scope of the present invention are included in the protection scope of the present invention.

Claims (9)

1. A system for a web application to control a scanner, comprising: the system comprises a data storage module, an identity authentication center, a web application and a scanner control center, wherein the data storage module is communicated with the identity authentication center, and the identity authentication center is communicated with the web application; the scanner control center comprises a scanning component and scanning equipment, and the scanning component is communicated with the scanning equipment, the identity authentication center and the web application respectively.
2. The system of web application controlled scanners of claim 1, wherein: the data storage module is used for sending a retrieval request to the identity authentication center and storing data.
3. The system of web application controlled scanners of claim 2, characterized in that: the identity authentication center is used for sending a retrieval identity authentication request to the web application, and the web application uploads identity authentication to the identity authentication center.
4. The system of web application controlled scanners of claim 3, characterized in that: the web application is used for sending a scanning request to the scanning component, the scanning component records the scanning request and sends a scanning instruction to control the scanning device to scan, the scanning device stores a scanning result to an instruction specified position according to the scanning instruction, and the scanning result is returned to the scanning component.
5. The system of web application controlled scanners of claim 4, wherein: the scanning request sent by the web application is provided with scanning type information, and the scanning component records the scanning type information of the scanning request.
6. The system of web application controlled scanners of claim 5, wherein: the scanning component is used for receiving the completion instruction, returning the scanning result to the web application or carrying out identity verification and uploading the result to the data storage module.
7. A method for a web application to control a scanner, comprising: in the method, the web application realizes file uploading and previewing through the identity authentication center and the data storage module, and realizes data acquisition through the scanning control center.
8. The method of web application controlling a scanner of claim 7, wherein: the method specifically comprises the following steps:
s1, the web application sends a scanning request to the scanning component, and the scanning component records the request type and sends a scanning instruction to control the scanning device to scan;
s2, the scanning device stores the scanning result to the instruction specified position according to the scanning instruction, and returns the scanning result to the scanning component;
s3, the scanning component receives the completion instruction and processes the scanning result: returning web application or performing identity authentication and uploading the result to the data storage module, and returning failure if the identity authentication fails;
and S4, the web application displays the scanning result, and the operator determines to upload the scanning result to the data storage module or discard the scanning result for reuse.
9. The method of web application controlling a scanner of claim 8, wherein: the scanning request sent by the web application is provided with scanning type information, and the scanning component records the scanning type information of the scanning request.
CN201911273533.6A 2019-12-12 2019-12-12 System and method for controlling scanner by web application Pending CN111107140A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911273533.6A CN111107140A (en) 2019-12-12 2019-12-12 System and method for controlling scanner by web application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911273533.6A CN111107140A (en) 2019-12-12 2019-12-12 System and method for controlling scanner by web application

Publications (1)

Publication Number Publication Date
CN111107140A true CN111107140A (en) 2020-05-05

Family

ID=70421749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911273533.6A Pending CN111107140A (en) 2019-12-12 2019-12-12 System and method for controlling scanner by web application

Country Status (1)

Country Link
CN (1) CN111107140A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860336A (en) * 2021-01-26 2021-05-28 重庆广播电视大学重庆工商职业学院 File scanning preview and file uploading method for Web application

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030145200A1 (en) * 2002-01-31 2003-07-31 Guy Eden System and method for authenticating data transmissions from a digital scanner
US20040025187A1 (en) * 2002-08-02 2004-02-05 Cross Match Technologies Web-enabled live scanner and method for control
CN1536807A (en) * 2003-04-07 2004-10-13 西科姆株式会社 Document safety transfer system and method
CN101075243A (en) * 2007-06-26 2007-11-21 中国移动通信集团福建有限公司 Method for scanning files by webpage
CN102905052A (en) * 2012-11-01 2013-01-30 苏州佳世达电通有限公司 Scanning method and system and scanner

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030145200A1 (en) * 2002-01-31 2003-07-31 Guy Eden System and method for authenticating data transmissions from a digital scanner
US20040025187A1 (en) * 2002-08-02 2004-02-05 Cross Match Technologies Web-enabled live scanner and method for control
CN1536807A (en) * 2003-04-07 2004-10-13 西科姆株式会社 Document safety transfer system and method
CN101075243A (en) * 2007-06-26 2007-11-21 中国移动通信集团福建有限公司 Method for scanning files by webpage
CN102905052A (en) * 2012-11-01 2013-01-30 苏州佳世达电通有限公司 Scanning method and system and scanner

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112860336A (en) * 2021-01-26 2021-05-28 重庆广播电视大学重庆工商职业学院 File scanning preview and file uploading method for Web application

Similar Documents

Publication Publication Date Title
CN108228119B (en) Printing method based on HXML, terminal equipment and storage medium
US20140244455A1 (en) Presentation of image of source of tax data through tax preparation application
CN109768961A (en) Wechat small routine login method, device and the storage medium led to based on an account
CN1474986A (en) System and method for providing supervision of plurality of financial services terminals
US7540416B2 (en) Smart card authentication system with multiple card and server support
CN1755645A (en) System and method for selecting test case execution behaviors for reproducible test automation
WO2019127893A1 (en) Electronic signature method, electronic device, and computer readable storage medium
US11695756B2 (en) Display system, display method, and recording medium
CN1845119A (en) Storage and management of authentication information and method and system for proxy authentication
CN102163204B (en) Document management apparatus and document management method
JP2008293152A5 (en)
CN111070662B (en) 3D printing method, device and storage medium
CN111107140A (en) System and method for controlling scanner by web application
CN111047147B (en) Automatic business process acquisition method and intelligent terminal
CN113094418A (en) Business processing method and system based on enterprise WeChat and computer equipment
CN111142744A (en) Two-dimensional graph drawing method and system
US20120001935A1 (en) Method for image rendering in a computer network
US20220043774A1 (en) Systems, methods, and storage media for transferring data files
JP6436704B2 (en) Test execution device, test execution method, and computer program
CN113468446A (en) Method, system and equipment for supporting identification of third-party two-dimensional code data
CN111651147B (en) Method for quickly building assembly by system
CN1370308A (en) System and method for managing phirality of accounts of internet sites by ising integrated circuit card
CN115291968B (en) Service processing method, system and computer equipment
CN113486269B (en) WEB-based electronic form data processing method, computing device and storage medium
TWI742667B (en) Device and method of wiring transfer based on rich communication services

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200505

RJ01 Rejection of invention patent application after publication