Method and device for calling peripheral in cross-browser mode
A cross-browser and hardware device technology, applied in the field of cross-browser invoking peripherals, to improve security, save workflow, and save costs
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0048] Such as figure 1 As shown, a method for cross-browser peripheral calling, including steps:
[0049] S1: Receive the peripheral device operation request sent by the B / S system website through the HTTP protocol;
[0050] S2: Analyzing the peripheral device operation request;
[0051] S3: Operate the peripheral hardware device, and receive the operation result of the peripheral hardware device;
[0052] S4: The operation result is converted into HTTP protocol and returned to the B / S system website.
[0053] Because the present invention converts all requests to the peripherals through the browser plug-in into data requests based on the HTTP protocol, with the help of the good support of the browser to the HTTP protocol, the friendly access of the B / S system to the peripherals is completed. The B / S system's access to the peripherals is like calling resources under another website domain name. It does not require any plug-ins to be installed in the browser. The interactio...
Embodiment 2
[0062] Such as image 3 As shown, a cross-browser peripheral calling device using the method of Embodiment 1 includes:
[0063] Receiving module: receiving the peripheral operation request sent by the B / S system website through the HTTP protocol;
[0064] Parsing module: parsing the peripheral device operation request;
[0065] Operation module: operate the peripheral hardware device, and receive the operation result of the peripheral hardware device;
[0066] Return module: the operation result is converted into HTTP protocol and returned to the B / S system website.
[0067] The operation module calls the peripheral hardware device SDK to receive the operation result. The device and operating system for cross-browser peripheral calls are started at the same time.
[0068] Such as Figure 4 As shown, the parsing module includes:
[0069] Decomposition unit: decompose the source of peripheral operation requests;
[0070] Judgment unit: judge the security of the source;
...
Embodiment 3
[0075] Such as Figure 6 As shown, using the method for invoking cross-browser peripherals in Embodiment 1 and / or the application of the device for invoking cross-browser peripherals in Embodiment 2, run the installation program, and install the peripheral device and Web communication solution. Set the communication port and set those website domain names to access the peripherals. After the program is installed, a web service will be started on the machine. This web service will be started simultaneously with the operating system. This web service will run on the port set by the user to receive peripheral operation requests from the B / S system. Convert HTTP protocol requests into hardware operation requests that hardware peripherals can recognize. After the hardware operation processing is completed, the hardware operation result is converted into the HTTP protocol and returned to the B / S program.
[0076] Browser: A browser refers to a software that can display the content...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com