CN110730208A - Local device calling method and device, storage medium and device - Google Patents

Local device calling method and device, storage medium and device Download PDF

Info

Publication number
CN110730208A
CN110730208A CN201910871194.5A CN201910871194A CN110730208A CN 110730208 A CN110730208 A CN 110730208A CN 201910871194 A CN201910871194 A CN 201910871194A CN 110730208 A CN110730208 A CN 110730208A
Authority
CN
China
Prior art keywords
local
browser
equipment
server
desktop server
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
CN201910871194.5A
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.)
Shenzhen Guoxin Synthetic Technology Co Ltd
Original Assignee
Shenzhen Guoxin Synthetic 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 Shenzhen Guoxin Synthetic Technology Co Ltd filed Critical Shenzhen Guoxin Synthetic Technology Co Ltd
Priority to CN201910871194.5A priority Critical patent/CN110730208A/en
Publication of CN110730208A publication Critical patent/CN110730208A/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]
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a local device calling method, a local device calling device, a storage medium and a local device. The method is applied to operating a browser on user equipment, so that the browser calls the local equipment through a desktop server on the user equipment, and comprises the following steps: the browser receives a request for calling local equipment; the browser sends a local equipment control instruction to the desktop server according to the local equipment calling request and based on the HTTP; the desktop server calls the local equipment to work according to the local equipment control instruction, and meanwhile, response information is sent to the browser based on the HTTP, wherein the response information comprises a cross-domain access permission mark; the desktop server receives equipment work information sent by local equipment, wherein the equipment work information comprises equipment work feedback information and file data; and the desktop server side sends the equipment work feedback information to the browser according to the equipment work information and based on the HTTP. Therefore, the invention has high adaptability, the function is not limited by the browser, and the invention is easy to deploy and maintain.

Description

Local device calling method and device, storage medium and device
Technical Field
The present invention relates to the technical field of cross-local device control, and in particular, to a local device calling method, apparatus, storage medium, and device.
Background
At present, the mainstream enterprise management information system adopts more B/S (browser/server) architectures, and has higher advantages in deployment convenience and access usability. Based on the system with the framework, logic is compiled at a server side, when a user accesses the system through a browser, contents such as html webpage, js script, data form and the like are issued to the browser through an HTTP (hyper text transport protocol), the browser is responsible for operations such as page rendering, data display and the like, and all interactive operations of the user need to depend on the browser. Common browsers include IE, chord, FireFox, Safari, etc., and the business system can call related functions of the browsers by JavaScript scripts to implement front-end interactive operations, such as form data filtering and checking, dynamic interactive form submission, animation display effects, etc. But each browser has control over the system script code authority and is not allowed to operate the native hardware equipment.
In many service systems, various peripheral devices need to be synchronously controlled in service requirements, for example: controlling the label printer to print a receipt when the receipt is confirmed; the received invoice is output by a scanner and automatically submitted to a server; and when the applicant transacts the registration service, controlling the identity card reader to acquire the identity card information. These operational scenarios all require the use of a computer peripheral, while the browser itself does not provide the functional interface associated with interfacing with the peripheral. In order to realize the control of the system to the equipment (such as a scanner and a camera), the functions of the browser need to be expanded.
A common method in the prior art is to develop browser plug-ins, where different browsers have their own plug-in interfaces: IE supports ActiveX control technology based on COM mechanism, and Chrome, Firefox and Safari also provide respective plug-in technology. The peripheral control scheme based on the plug-in has the following problems: (1) the adaptability is low: each browser product has own plug-in specification, plug-ins need to be developed according to different browsers, at present, mainstream browsers include IE, Chrome, FireFox, Safari and the like, and if each browser is adapted, the development workload is huge. (2) The function is more limited: although the plug-in is local code, the plug-in still runs in the browser process and is restricted by various safety of the browser; (3) not easy to deploy: for example, an IE-based ActiveX control needs to implement a secure call interface and can be installed at a default security level after a trusted signature is added, an authority problem often occurs during installation, the security level of a browser needs to be manually adjusted, a detailed security control item and the like can be normally installed, a lot of operation and maintenance problems occur in a large-scale system, and a large amount of operation and maintenance workload is increased.
Therefore, it is very important to develop a local device calling method with good compatibility and easy maintenance.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method, an apparatus, a storage medium, and a device for local device invocation, which address the above issues.
In a first aspect, the present invention provides a local device invoking method, which is applied to operate a browser on a user equipment, so that the browser invokes the local device through a desktop server on the user equipment, and the method includes:
the browser receives a request for calling local equipment;
the browser sends a local equipment control instruction to the desktop server according to the local equipment calling request and based on an HTTP (hyper text transport protocol);
the desktop server calls local equipment to work according to the local equipment control instruction, and sends response information to the browser based on an HTTP (hyper text transport protocol), wherein the response information comprises a cross-domain access permission mark;
the desktop server receives equipment work information sent by local equipment, wherein the equipment work information comprises equipment work feedback information and file data;
and the desktop server side sends the equipment work feedback information to a browser according to the equipment work information and based on an HTTP (hyper text transport protocol).
In one embodiment, the local device control directives include at least one of local printer control directives, local scanner control directives, local camera control directives, local USB interface control directives;
the local printer control instruction is used for the desktop server to call a local printer to work through an interface of the local printer;
the local scanner control instruction is used for the desktop server to call the local scanner to work through a TWain interface protocol of the local scanner;
the local camera control instruction is used for the desktop server to call the local camera to work through a communication interface of an operating system;
and the local USB interface control instruction is used for establishing a data channel between the desktop server and the USB interface.
In one embodiment, the local device control instruction further includes a data uploading instruction and a data downloading instruction;
the method further comprises the following steps:
when the local equipment control instruction is a data uploading instruction, the desktop server uploads a file to a server based on an HTTP (hyper text transport protocol) according to the data uploading instruction, and sends feedback information of the uploaded file to a browser based on the HTTP;
and when the local equipment control instruction is a data downloading instruction, the desktop server downloads a file from the server based on the HTTP according to the data downloading instruction, and sends feedback information of the downloaded file to the browser based on the HTTP.
In one embodiment, the desktop server is provided with a local file cache address, and a file in a folder corresponding to the local file cache address has a unique file identifier;
the method further comprises the following steps:
the desktop server stores the file downloaded from the server in a folder corresponding to the local file cache address;
the desktop server stores the received file data sent by the local equipment in a folder corresponding to the local file cache address;
the desktop server sends the equipment work feedback information and the downloaded file feedback information to a browser based on an HTTP (hyper text transport protocol), wherein the downloaded file feedback information comprises a file identification list of files downloaded from a server, and the equipment work feedback information comprises a file identification list of files sent by local equipment;
the browser generates a file access address according to the file identification list and the local file cache address;
and the browser accesses the files in the folder corresponding to the local file cache address through the desktop server according to the file access address.
In one embodiment, before the browser receives a request to invoke a local device, the method includes:
the browser receives a server access request, wherein the server access request carries an address of a server;
and the browser accesses the server according to the request of the access server and receives a page and a script sent by the server, wherein the script comprises a code for accessing the desktop server by adopting AJAX or HTML5Websocket technology.
In one embodiment, before the browser sends a local device control instruction to the desktop server according to the request for invoking a local device and based on an HTTP protocol, the method further includes:
the browser receives a server access request, wherein the server access request carries an address of a server;
the browser requests to access the server according to the access server, and receives a page and a script sent by the server;
the browser receives a request for calling local equipment;
and the browser acquires a script containing a code for accessing the desktop server by adopting AJAX or HTML5Websocket technology from a server according to the request for calling the local equipment.
In one embodiment, the local device control instruction is a message in a predefined format, and the message in the predefined format includes an operation identifier, a device name, an interface name, and an interface parameter.
In a second aspect, the present invention further provides a local device invoking apparatus, where the apparatus includes a browser and a desktop server;
the browser is used for receiving a request for calling local equipment, and sending a local equipment control instruction to the desktop server side according to the request for calling the local equipment and based on an HTTP (hyper text transport protocol);
the desktop server is used for calling local equipment to work according to the local equipment control instruction, sending response information to the browser based on an HTTP (hyper text transport protocol), receiving equipment work information sent by the local equipment, wherein the response information comprises a cross-domain access permission mark, and sending the equipment work feedback information to the browser by the desktop server according to the equipment work information and based on the HTTP.
In a third aspect, the present invention also provides a storage medium storing a computer program of instructions, which, when executed by a processor, causes the processor to perform the steps of the method according to any one of the first aspect.
In a fourth aspect, the present invention also proposes a computer device comprising at least one memory storing a computer program of instructions, at least one processor, which, when executed by the processor, causes the processor to carry out the steps of the method of any one of the first aspects.
To sum up, the local device calling method of the invention is applied to operating a browser on user equipment, so that the browser calls the local device through a desktop server on the user equipment; the method comprises the steps that after receiving a request for calling local equipment, the browser sends a local equipment control instruction to a desktop server based on an HTTP (hyper text transport protocol), the desktop server calls the local equipment to work according to the local equipment control instruction, meanwhile, response information is sent to the browser based on the HTTP, and after receiving equipment work information sent by the local equipment, the desktop server sends equipment work feedback information to the browser based on the HTTP. The browser sends a local equipment control instruction to the desktop server based on the HTTP protocol, so that the compatibility is good; the local equipment control instruction adopts a message with a predefined format, is irrelevant to the brand and the technology of the browser, can call the local equipment through the desktop server as long as the local equipment control instruction sent by the browser meets the format requirement of the message with the predefined format, has high adaptability to different browsers and does not need to be adaptively adjusted aiming at the browsers; the desktop server and the browser are both installed on the user equipment and are two independent software products, the functions of the desktop server are not restricted by the safety of the browser, and the desktop server can be upgraded independently, so that the functions of the desktop server are not limited by the browser, and the desktop server is easy to deploy and maintain. Therefore, the method has high adaptability to different browsers, the functions are not limited by the browsers, and the method is easy to deploy and maintain.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
FIG. 1 is a flow diagram of a local device invocation method in one embodiment;
FIG. 2 is a flow diagram of a method for local device invocation in another embodiment;
FIG. 3 is a flowchart of data upload and download of the local device calling method of FIG. 1;
FIG. 4 is a flow diagram of a file flow service of the local device call method of FIG. 1;
FIG. 5 is a flow diagram of a method for local device invocation in one embodiment;
FIG. 6 is a flow diagram of a method for local device invocation in another embodiment;
FIG. 7 is a block diagram showing the structure of a local device calling apparatus according to one embodiment;
FIG. 8 is a block diagram of a computer device in one embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
A browser, also known as a web browser, is an application for retrieving and presenting information resources of the world wide web, such as web pages, pictures, videos, and other content, which are identified by uniform resource identifiers. Hyperlinks in information resources allow users to conveniently browse relevant information, such as main-stream browsers IE, Chrome, FireFox, Safari, by way of example and not by way of limitation.
The desktop server is an independent software product installed on the user equipment, is developed for different operating systems, is irrelevant to brands and technologies of the browser, and communicates with the browser through a local equipment control instruction conforming to a message in a predefined format and based on an http protocol.
As shown in fig. 1, in an embodiment, a local device invoking method is provided, which is applied to operate a browser on a user equipment, so that the browser invokes the local device through a desktop server on the user equipment, and the method includes:
s102, the browser receives a request for calling local equipment;
specifically, the browser receives a request for calling a local device, which is sent by a user in the browser.
The request for invoking the local device is sent by a user browsing information resources in a browser.
S104, the browser sends a local equipment control instruction to the desktop server according to the local equipment calling request and based on an HTTP (hyper text transport protocol);
specifically, the browser forms a local device control instruction according to the format requirement of the message of the calling local device request in the predefined format of the desktop server, and sends the local device control instruction to the desktop server based on an HTTP protocol.
The HTTP protocol is a simple request-response protocol, which typically runs on top of TCP, that specifies what messages a client may send to a server and what responses to get. The headers of the request and response messages are given in ASCII code form; and the message content has a format like MIME (multipurpose internet mail extension type).
The local device control command needs to meet the format requirement of the message with the defined format preset by the desktop server.
S106, the desktop server calls local equipment to work according to the local equipment control instruction, and sends response information to the browser based on an HTTP (hyper text transport protocol), wherein the response information comprises a cross-domain access permission mark;
specifically, the desktop server analyzes the equipment to be called and the function to be realized according to the local equipment control instruction, calls the local equipment control instruction according to the function to be realized to analyze the equipment to be called to call the local equipment to work, and sends response information to the browser calling the local equipment based on an HTTP (hyper text transport protocol), wherein the response information comprises a cross-domain access permission mark.
The response information further includes: the information that the local device control instruction meets the specification and/or the information that the desktop server starts to invoke the local device to work may be understood that there may be other desktop servers responding to other information of the browser, which is not specifically limited in this example.
In order to avoid security problems under the condition that a client is completely unaware, the HTTP protocol can only access the resources of the same website by one webpage in principle. The browser and the desktop server communicate on the basis of the HTTP, information resources displayed in the browser are downloaded from the server on the basis of the HTTP, and in order to avoid security problems, the browser is not allowed to directly access the desktop server on the basis of the HTTP from a webpage downloaded from the server on the basis of the HTTP in principle, therefore, response information sent by the desktop server comprises a cross-domain access permission mark, and related resources provided by the desktop server are allowed to be directly accessed on the basis of the HTTP from the webpage downloaded from the server on the basis of the HTTP.
The allow cross-domain access flag is added in the HTTP response header.
S108, the desktop server receives equipment working information sent by local equipment, wherein the equipment working information comprises equipment working feedback information and file data;
specifically, the desktop server receives device work information corresponding to the function to be realized, which is sent by the local device after the function to be realized is executed.
The device work feedback information includes call work completion information, and it is understood that there may be other feedback information related to calling the local device, which is not specifically limited by the example herein.
The file data is a file formed after the local device executes a function work that needs to be implemented, for example, the file data is a scanned file when the browser calls the scanner through the desktop server, and the file data is a photographed file when the browser calls the camera through the desktop server, which is not limited in this example.
And S110, the desktop server side sends the equipment work feedback information to the browser according to the equipment work information and based on an HTTP protocol.
Specifically, the desktop server sends the device work feedback information in the device work information to the browser calling the local device this time based on the HTTP protocol.
It can be understood that the browser and the desktop server of the present embodiment are installed on the same user equipment and are based on the same operating system. When a plurality of operating systems are installed on the same user equipment, desktop servers corresponding to the operating systems are installed for different operating systems, so that the local equipment calling method of the embodiment can be realized under different operating systems of the same user equipment.
The local device calling method of the embodiment is applied to operating a browser on user equipment, so that the browser calls the local device through a desktop server on the user equipment; the method comprises the steps that after receiving a request for calling local equipment, the browser sends a local equipment control instruction to a desktop server based on an HTTP (hyper text transport protocol), the desktop server calls the local equipment to work according to the local equipment control instruction, meanwhile, response information is sent to the browser based on the HTTP, and after receiving equipment work information sent by the local equipment, the desktop server sends equipment work feedback information to the browser based on the HTTP. The browser sends a local equipment control instruction to the desktop server based on the HTTP protocol, so that the compatibility is good; the local equipment control instruction adopts a message with a predefined format, is irrelevant to the brand and the technology of the browser, can call the local equipment through the desktop server as long as the local equipment control instruction sent by the browser meets the format requirement of the message with the predefined format, has high adaptability to different browsers and does not need to be adaptively adjusted aiming at the browsers; the desktop server and the browser are both installed on the user equipment and are two independent software products, the functions of the desktop server are not restricted by the safety of the browser, and the desktop server can be upgraded independently, so that the functions of the desktop server are not limited by the browser, and the desktop server is easy to deploy and maintain.
As shown in fig. 2, in another embodiment, a local device invoking method is provided, which is applied to operate a browser on a user equipment, so that the browser invokes the local device through a desktop server on the user equipment, and the method includes:
s202, the browser receives a request for calling local equipment;
s204, the browser sends a local equipment control instruction to the desktop server according to the local equipment calling request and based on an HTTP (hyper text transport protocol);
s206, the desktop server calls local equipment to work according to the local equipment control instruction, and sends response information to the browser based on an HTTP (hyper text transport protocol), wherein the response information comprises a cross-domain access permission mark, the desktop server receives equipment work information sent by the local equipment, the equipment work information comprises equipment work feedback information and file data, and the desktop server sends the equipment work feedback information to the browser according to the equipment work information and based on the HTTP.
In one embodiment, the browser sends an information feedback request to the desktop server according to preset time; and the desktop server sends feedback information to the browser according to the information feedback request, wherein the feedback information comprises response information, equipment work feedback information, uploaded file feedback information and downloaded file feedback information.
In another embodiment, after receiving the feedback information, the desktop server sends the feedback information to the browser sending the local device control instruction based on the HTTP protocol.
In one embodiment, a plurality of browsers are operated in the same operating system of the same user equipment, local equipment is called to work through a desktop server at time-sharing intervals based on an HTTP protocol by the plurality of browsers, and response information and/or equipment work feedback information are sent to the browser calling the local equipment after the local equipment is called to work, so that the plurality of browsers in the same operating system of the same user equipment call the local equipment to work through the desktop server at time-sharing intervals, the efficiency is improved, and the user experience is improved.
In one embodiment, the local device control directives include at least one of local printer control directives, local scanner control directives, local camera control directives, local USB interface control directives;
the local printer control instruction is used for the desktop server to call a local printer to work through an interface of the local printer;
the local scanner control instruction is used for the desktop server to call the local scanner to work through a TWain interface protocol of the local scanner;
the local camera control instruction is used for the desktop server to call the local camera to work through a communication interface of an operating system;
and the local USB interface control instruction is used for establishing a data channel between the desktop server and the USB interface.
The functions that the local printer control instruction calls the local printer to realize mainly comprise batch printing and printing progress display, the functions that the local scanner control instruction calls the local scanner to realize mainly comprise scanning parameter setting, scanning and image acquisition, the functions that the local camera control instruction calls the local camera to realize mainly comprise acquiring photos and/or images through the camera, the functions that the local USB interface control instruction calls the local USB interface to realize mainly comprise establishing a data channel between a desktop server and the local USB interface so as to realize that the desktop server performs data transmission between the local USB interface and a peripheral, and the functions can be realized only by setting a local equipment control instruction according to a message format of a predefined format by a browser calling a local equipment request according to a user.
The peripheral equipment comprises a USB flash disk, a mobile hard disk, a mobile phone, a mobile computer and other equipment which can carry out file input and output with a USB interface.
The twain (technology Without An interfacing name) interface protocol is a communication standard between software and image input devices such as digital cameras and scanners.
As shown in fig. 3, in an embodiment, a local device invoking method is proposed, which is applied to operate a browser on a user equipment, so that the browser invokes the local device through a desktop server on the user equipment;
s302, the browser receives a request for calling local equipment;
s304, the browser sends a local device control instruction to the desktop server according to the local device calling request and based on an HTTP (hyper text transport protocol), wherein the local device control instruction comprises a data uploading instruction and a data downloading instruction;
the data uploading instruction refers to an instruction for uploading a file of a specified folder of the desktop server to the server, and the instruction needs to be set according to a message format of a predefined format.
The data downloading instruction refers to an instruction for downloading a file of a server to a specified folder of a desktop server, and the instruction needs to be set according to a message format of a predefined format.
S306, when the local equipment control instruction is a data uploading instruction, the desktop server uploads a file to a server based on an HTTP (hyper text transport protocol) according to the data uploading instruction, and sends feedback information of the uploaded file to a browser based on the HTTP;
specifically, when the local device control instruction is a data uploading instruction, the desktop server uploads a file of a file folder designated by the desktop server to the server based on the HTTP protocol according to the data uploading instruction, and sends uploading file feedback information to the browser which calls the local device this time based on the HTTP protocol.
The feedback information of the uploaded files includes file uploading completion information, and it can be understood that there may be other feedback information related to file uploading, which is not limited in this example.
The file includes a photo, a video, an audio, Word, PDF, etc., which are not specifically limited by way of example.
S308, when the local device control instruction is a data downloading instruction, the desktop server downloads a file from a server based on an HTTP (hyper text transport protocol) according to the data downloading instruction, and sends feedback information of the downloaded file to the browser based on the HTTP.
Specifically, when the local device control instruction is a data downloading instruction, the desktop server downloads a file of the server to a desktop server specified folder based on an HTTP (hyper text transport protocol) protocol according to the data downloading instruction, and sends downloading file feedback information to a browser calling the local device at this time based on the HTTP protocol;
the feedback information of the downloaded file includes file downloading completion information, and it can be understood that there may be other feedback information related to file downloading, which is not limited in this example.
As shown in fig. 4, in an embodiment, the desktop server is provided with a local file cache address, and a file in a folder corresponding to the local file cache address has a unique file identifier;
the local file cache address is a default file cache address of the desktop server, and the folder corresponding to the local file cache address stores files downloaded by the desktop server from the server and files uploaded by the local device.
And when the file name of the file to be stored is repeated with the file name of the file in the folder corresponding to the local file cache address, the desktop server changes the file name of the file to be stored and then stores the file into the folder corresponding to the local file cache address. For example, a number or a serial number is added after the existing file name, and the example is not limited in detail here.
The method further comprises the following steps:
s402, the desktop server stores the file downloaded from the server in a folder corresponding to the local file cache address;
it can be understood that it is necessary to ensure that the file in the folder corresponding to the local file cache address has a unique file identifier.
S404, the desktop server stores the received file data sent by the local device in a folder corresponding to the local file cache address;
it can be understood that it is necessary to ensure that the file in the folder corresponding to the local file cache address has a unique file identifier.
S406, the desktop server sends the device work feedback information and the downloaded file feedback information to a browser based on an HTTP (hyper text transport protocol), wherein the downloaded file feedback information comprises a file identification list of files downloaded from a server, and the device work feedback information comprises a file identification list of files sent by local devices;
the file identification list of the file downloaded from the server includes an original name of the file and a storage name of the file.
The file identification list of the file sent by the local device includes a file storage name.
S408, the browser generates a file access address according to the file identification list and the local file cache address;
specifically, the browser generates a unique file access address according to the file storage name of the file identification list of the file downloaded from the server and/or the file storage name of the file identification list of the file sent by the local device and the local file cache address.
And S410, the browser accesses the files in the folder corresponding to the local file cache address through the desktop server according to the file access address.
Specifically, the browser sends a local device control instruction according to the file access address, wherein the local device control instruction further comprises a file access instruction, and the file access instruction carries the file access address; the desktop server side finds a file according to the folder corresponding to the local file cache address, sends the file to the browser calling the local equipment at this time based on an HTTP (hyper text transport protocol), and the browser previews and/or displays the received file at a preset position in a webpage, so that file streaming service is realized. The workload of the browser for downloading large files from the server is reduced through the file flow service, so that the working efficiency of the browser is improved, and the user experience is improved.
As shown in fig. 5, a local device invoking method is proposed, which is applied to operate a browser on a user equipment, so that the browser invokes the local device through a desktop server on the user equipment, and the method includes:
s502, the browser receives a server access request, wherein the server access request carries an address of a server;
specifically, the browser receives a request for accessing a server from a user in the browser. For example, when a search key is pressed while a web address is input in the web address input field, a request for accessing the server is issued.
The address of the server includes a web address and an IP address, which is not limited in this example.
S504, the browser accesses the server according to the request of the access server, and receives a page and a script sent by the server, wherein the script comprises a code for accessing the desktop server by adopting an AJAX or HTML5Websocket technology;
the code which comprises the code for accessing the desktop server side by adopting AJAX or HTML5Websocket technology is downloaded simultaneously when the page (webpage) and the script are downloaded, so that static updating is realized, and the interaction with the server is reduced.
WebSocket is a protocol which is provided by HTML5 and used for full-duplex communication on a single TCP connection, so that data exchange between a client and a server is simpler, and the server is allowed to actively push data to the client. In the WebSocket API, the browser and the server only need to complete one handshake, and persistent connection can be directly established between the browser and the server, and bidirectional data transmission is carried out. In the local equipment calling method, the browser and the desktop server can perform bidirectional data transmission only by completing one handshake, so that the handshake operation of requesting connection is reduced, the efficiency is improved, and the user experience is improved.
AJAX (Asynchronous JavaScript and XML) is a technique for creating a fast dynamic web page, which can update a part of the web page without reloading the entire web page. By the technology, the webpage can call the working condition of the local equipment through the desktop server side, and partial dynamic update of the webpage can be performed.
S506, the browser receives a request for calling local equipment;
s508, the browser sends a local equipment control instruction to the desktop server according to the local equipment calling request and based on an HTTP (hyper text transport protocol);
s510, the desktop server calls local equipment to work according to the local equipment control instruction, and sends response information to the browser based on an HTTP (hyper text transport protocol), wherein the response information comprises a cross-domain access permission mark;
s512, the desktop server receives equipment working information sent by local equipment, wherein the equipment working information comprises equipment working feedback information and file data;
and S514, the desktop server side sends the equipment work feedback information to the browser according to the equipment work information and based on an HTTP (hyper text transport protocol).
As shown in fig. 6, in another embodiment, a local device invoking method is proposed, which is applied to operate a browser on a user device, so that the browser invokes a local device through a desktop server on the user device, and the method includes:
s602, the browser receives a server access request, wherein the server access request carries an address of a server;
s604, the browser accesses the server according to the request of accessing the server and receives the page and the script sent by the server;
s606, the browser receives a request for calling local equipment;
s608, the browser obtains a script containing a code for accessing the desktop server by adopting an AJAX or HTML5Websocket technology from a server according to the request for calling the local equipment;
and downloading codes containing the codes for accessing the desktop server by adopting AJAX or HTML5Websocket technology according to the request for calling the local equipment, so that dynamic updating is realized, the number of scripts downloaded from the server is reduced, and the speed of displaying the webpage by the browser is improved.
S610, the browser sends a local device control instruction to the desktop server according to the local device calling request and based on an HTTP (hyper text transport protocol);
s612, the desktop server calls local equipment to work according to the local equipment control instruction, and sends response information to the browser based on an HTTP (hyper text transport protocol), wherein the response information comprises a cross-domain access permission mark;
s614, the desktop server receives equipment working information sent by local equipment, wherein the equipment working information comprises equipment working feedback information and file data;
and S616, the desktop server side sends the equipment work feedback information to the browser according to the equipment work information and based on an HTTP protocol.
In one embodiment, the local device control instruction is a message in a predefined format, and the message in the predefined format includes an operation identifier, a device name, an interface name, and an interface parameter. It is understood that the message in the predefined format may also have other formats, which is not specifically limited by the examples herein.
The operation identifier is used for uniquely identifying a local equipment control instruction, the desktop server returns a corresponding result according to the unique identifier maintained by the calling party.
The device name comprises WEBSCAN, CAMERA, Printer and USB, wherein the WEBSCAN is a scanner, the CAMERA is a CAMERA, the Printer is a Printer, and the USB is a USB interface.
The interface name and the interface parameter are the interface name which needs to be called when the scanner and/or the camera and/or the printer and/or the USB interface is called to work and the parameters required by the interface.
As shown in fig. 7, in an embodiment, a local device invocation apparatus is provided, where the apparatus includes a browser, a desktop server;
the browser is used for receiving a request for calling local equipment, and sending a local equipment control instruction to the desktop server side according to the request for calling the local equipment and based on an HTTP (hyper text transport protocol);
the desktop server is used for calling local equipment to work according to the local equipment control instruction, sending response information to the browser based on an HTTP (hyper text transport protocol), receiving equipment work information sent by the local equipment, wherein the response information comprises a cross-domain access permission mark, and sending the equipment work feedback information to the browser by the desktop server according to the equipment work information and based on the HTTP.
The local device calling device of the embodiment is applied to operating a browser on user equipment, so that the browser calls the local device through a desktop server on the user equipment; the method comprises the steps that after receiving a request for calling local equipment, the browser sends a local equipment control instruction to a desktop server based on an HTTP (hyper text transport protocol), the desktop server calls the local equipment to work according to the local equipment control instruction, meanwhile, response information is sent to the browser based on the HTTP, and after receiving equipment work information sent by the local equipment, the desktop server sends equipment work feedback information to the browser based on the HTTP. The browser sends a local equipment control instruction to the desktop server based on the HTTP protocol, so that the compatibility is good; the local equipment control instruction adopts a message with a predefined format, is irrelevant to the brand and the technology of the browser, can call the local equipment through the desktop server as long as the local equipment control instruction sent by the browser meets the format requirement of the message with the predefined format, has high adaptability to different browsers and does not need to be adaptively adjusted aiming at the browsers; the desktop server and the browser are both installed on the user equipment and are two independent software products, the functions of the desktop server are not restricted by the safety of the browser, and the desktop server can be upgraded independently, so that the functions of the desktop server are not limited by the browser, and the desktop server is easy to deploy and maintain.
In one embodiment, the desktop server comprises a file cache submodule;
the file caching submodule is used for storing a file downloaded from a server in a folder corresponding to the local file caching address, storing received file data sent by local equipment in the folder corresponding to the local file caching address, wherein the file in the folder corresponding to the local file caching address has a unique file identifier, and when the file name of the file to be stored is repeated with the file name of the file in the folder corresponding to the local file caching address, the desktop server changes the file name of the file to be stored and then stores the file into the folder corresponding to the local file caching address.
In one embodiment, the desktop server comprises a file stream service submodule;
the file stream service sub-module is used for sending the equipment work feedback information and the downloaded file feedback information to the browser based on an HTTP (hyper text transport protocol), wherein the downloaded file feedback information comprises a file identification list of files downloaded from a server, and the equipment work feedback information comprises a file identification list of files sent by local equipment;
the browser is further used for generating a file access address according to the file identification list and the local file cache address, and accessing the file in the folder corresponding to the local file cache address according to the file access address.
In one embodiment, the local device control directives include at least one of local printer control directives, local scanner control directives, local camera control directives, local USB interface control directives;
the desktop server also comprises a scanner control submodule, a printer control submodule, a camera control submodule and a USB interface control submodule;
the scanner control submodule is used for calling the local scanner to work through a TWain interface protocol of the local scanner according to the local scanner control instruction;
the printer control submodule is used for calling the local printer to work through an interface of the local printer according to the local printer control instruction;
the camera control submodule is used for calling a local camera to work through a communication interface of an operating system according to the local camera control instruction;
and the USB interface control submodule is used for establishing a data channel with the USB interface according to the local USB interface control instruction.
FIG. 8 is a diagram illustrating an internal structure of a computer device in one embodiment. The computer device may specifically be a server and a terminal device, where the server includes but is not limited to a high-performance computer and a high-performance computer cluster; the terminal devices include, but are not limited to, mobile terminal devices including, but not limited to, mobile phones, tablet computers, smart watches, and laptops, and desktop terminal devices including, but not limited to, desktop computers and in-vehicle computers. As shown in fig. 8, the computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium of the computer device stores an operating system and may also store a computer program that, when executed by the processor, causes the processor to implement a local device invocation method. The internal memory may also have stored therein a computer program that, when executed by the processor, causes the processor to perform a local device invocation method. Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a local device calling method provided herein may be implemented in the form of a computer program that is executable on a computer device such as that shown in fig. 8. The memory of the computer device may store program templates constituting a local device invocation means. For example, the system comprises a browser, a desktop server, a file cache submodule, a file stream service submodule, a scanner control submodule, a printer control submodule, a camera control submodule and a USB interface control submodule.
In one embodiment, a storage medium is proposed, storing a computer program of instructions which, when executed by a processor, causes the processor to carry out the following method steps when executed:
the browser receives a request for calling local equipment;
the browser sends a local equipment control instruction to the desktop server according to the local equipment calling request and based on an HTTP (hyper text transport protocol);
the desktop server calls local equipment to work according to the local equipment control instruction, and sends response information to the browser based on an HTTP (hyper text transport protocol), wherein the response information comprises a cross-domain access permission mark;
the desktop server receives equipment work information sent by local equipment, wherein the equipment work information comprises equipment work feedback information and file data;
and the desktop server side sends the equipment work feedback information to a browser according to the equipment work information and based on an HTTP (hyper text transport protocol).
The method steps are applied to operating the browser on the user equipment, so that the browser calls the local equipment through a desktop server on the user equipment.
The method of the embodiment is applied to operating a browser on user equipment, so that the browser calls local equipment through a desktop server on the user equipment; the method comprises the steps that after receiving a request for calling local equipment, the browser sends a local equipment control instruction to a desktop server based on an HTTP (hyper text transport protocol), the desktop server calls the local equipment to work according to the local equipment control instruction, meanwhile, response information is sent to the browser based on the HTTP, and after receiving equipment work information sent by the local equipment, the desktop server sends equipment work feedback information to the browser based on the HTTP. The browser sends a local equipment control instruction to the desktop server based on the HTTP protocol, so that the compatibility is good; the local equipment control instruction adopts a message with a predefined format, is irrelevant to the brand and the technology of the browser, can call the local equipment through the desktop server as long as the local equipment control instruction sent by the browser meets the format requirement of the message with the predefined format, has high adaptability to different browsers and does not need to be adaptively adjusted aiming at the browsers; the desktop server and the browser are both installed on the user equipment and are two independent software products, the functions of the desktop server are not restricted by the safety of the browser, and the desktop server can be upgraded independently, so that the functions of the desktop server are not limited by the browser, and the desktop server is easy to deploy and maintain.
In one embodiment, the present invention also proposes a computer device comprising at least one memory, at least one processor, the memory storing a computer program of instructions which, when executed by the processor, causes the processor to carry out the following method steps:
the browser receives a request for calling local equipment;
the browser sends a local equipment control instruction to the desktop server according to the local equipment calling request and based on an HTTP (hyper text transport protocol);
the desktop server calls local equipment to work according to the local equipment control instruction, and sends response information to the browser based on an HTTP (hyper text transport protocol), wherein the response information comprises a cross-domain access permission mark;
the desktop server receives equipment work information sent by local equipment, wherein the equipment work information comprises equipment work feedback information and file data;
and the desktop server side sends the equipment work feedback information to a browser according to the equipment work information and based on an HTTP (hyper text transport protocol).
The method steps are applied to operating the browser on the user equipment, so that the browser calls the local equipment through a desktop server on the user equipment.
The method of the embodiment is applied to operating a browser on user equipment, so that the browser calls local equipment through a desktop server on the user equipment; the method comprises the steps that after receiving a request for calling local equipment, the browser sends a local equipment control instruction to a desktop server based on an HTTP (hyper text transport protocol), the desktop server calls the local equipment to work according to the local equipment control instruction, meanwhile, response information is sent to the browser based on the HTTP, and after receiving equipment work information sent by the local equipment, the desktop server sends equipment work feedback information to the browser based on the HTTP. The browser sends a local equipment control instruction to the desktop server based on the HTTP protocol, so that the compatibility is good; the local equipment control instruction adopts a message with a predefined format, is irrelevant to the brand and the technology of the browser, can call the local equipment through the desktop server as long as the local equipment control instruction sent by the browser meets the format requirement of the message with the predefined format, has high adaptability to different browsers and does not need to be adaptively adjusted aiming at the browsers; the desktop server and the browser are both installed on the user equipment and are two independent software products, the functions of the desktop server are not restricted by the safety of the browser, and the desktop server can be upgraded independently, so that the functions of the desktop server are not limited by the browser, and the desktop server is easy to deploy and maintain.
It should be noted that the above-mentioned local device invoking method, a local device invoking apparatus, storage medium and computer device belong to a general inventive concept, and the contents in the embodiments of a local device invoking method, a local device invoking apparatus, storage medium and computer device are mutually applicable.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A local device calling method is applied to operate a browser on a user device, so that the browser calls the local device through a desktop server on the user device, and the method comprises the following steps:
the browser receives a request for calling local equipment;
the browser sends a local equipment control instruction to the desktop server according to the local equipment calling request and based on an HTTP (hyper text transport protocol);
the desktop server calls local equipment to work according to the local equipment control instruction, and sends response information to the browser based on an HTTP (hyper text transport protocol), wherein the response information comprises a cross-domain access permission mark;
the desktop server receives equipment work information sent by local equipment, wherein the equipment work information comprises equipment work feedback information and file data;
and the desktop server side sends the equipment work feedback information to a browser according to the equipment work information and based on an HTTP (hyper text transport protocol).
2. The method of claim 1, wherein the local device control directives comprise at least one of local printer control directives, local scanner control directives, local camera control directives, local USB interface control directives;
the local printer control instruction is used for the desktop server to call a local printer to work through an interface of the local printer;
the local scanner control instruction is used for the desktop server to call the local scanner to work through a TWain interface protocol of the local scanner;
the local camera control instruction is used for the desktop server to call the local camera to work through a communication interface of an operating system;
and the local USB interface control instruction is used for establishing a data channel between the desktop server and the USB interface.
3. The method of claim 2, wherein the local device control instructions further comprise data upload instructions, data download instructions;
the method further comprises the following steps:
when the local equipment control instruction is a data uploading instruction, the desktop server uploads a file to a server based on an HTTP (hyper text transport protocol) according to the data uploading instruction, and sends feedback information of the uploaded file to a browser based on the HTTP;
and when the local equipment control instruction is a data downloading instruction, the desktop server downloads a file from the server based on the HTTP according to the data downloading instruction, and sends feedback information of the downloaded file to the browser based on the HTTP.
4. The method according to claim 3, wherein the desktop server is provided with a local file cache address, and the files in the folder corresponding to the local file cache address have unique file identifiers;
the method further comprises the following steps:
the desktop server stores the file downloaded from the server in a folder corresponding to the local file cache address;
the desktop server stores the received file data sent by the local equipment in a folder corresponding to the local file cache address;
the desktop server sends the equipment work feedback information and the downloaded file feedback information to a browser based on an HTTP (hyper text transport protocol), wherein the downloaded file feedback information comprises a file identification list of files downloaded from a server, and the equipment work feedback information comprises a file identification list of files sent by local equipment;
the browser generates a file access address according to the file identification list and the local file cache address;
and the browser accesses the files in the folder corresponding to the local file cache address through the desktop server according to the file access address.
5. The method of any of claims 1 to 4, prior to the browser receiving a request to invoke a local device, comprising:
the browser receives a server access request, wherein the server access request carries an address of a server;
and the browser accesses the server according to the request of the access server and receives a page and a script sent by the server, wherein the script comprises a code for accessing the desktop server by adopting AJAX or HTML5Websocket technology.
6. The method according to any one of claims 1 to 4, before the browser sends a local device control instruction to the desktop server according to the request for invoking a local device and based on an HTTP protocol, further comprising:
the browser receives a server access request, wherein the server access request carries an address of a server;
the browser requests to access the server according to the access server, and receives a page and a script sent by the server;
the browser receives a request for calling local equipment;
and the browser acquires a script containing a code for accessing the desktop server by adopting AJAX or HTML5Websocket technology from a server according to the request for calling the local equipment.
7. The method according to any one of claims 1 to 4, wherein the local device control command is a message in a predefined format, and the message in the predefined format includes an operation identifier, a device name, an interface name, and an interface parameter.
8. A local equipment calling device is characterized by comprising a browser and a desktop server;
the browser is used for receiving a request for calling local equipment, and sending a local equipment control instruction to the desktop server side according to the request for calling the local equipment and based on an HTTP (hyper text transport protocol);
the desktop server is used for calling local equipment to work according to the local equipment control instruction, sending response information to the browser based on an HTTP (hyper text transport protocol), receiving equipment work information sent by the local equipment, wherein the response information comprises a cross-domain access permission mark, and sending the equipment work feedback information to the browser by the desktop server according to the equipment work information and based on the HTTP.
9. A storage medium storing a computer program of instructions which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
10. A computer device comprising at least one memory storing a program of computer instructions which, when executed by the processor, causes the processor to perform the steps of the method of any one of claims 1 to 7, at least one processor.
CN201910871194.5A 2019-09-16 2019-09-16 Local device calling method and device, storage medium and device Pending CN110730208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910871194.5A CN110730208A (en) 2019-09-16 2019-09-16 Local device calling method and device, storage medium and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910871194.5A CN110730208A (en) 2019-09-16 2019-09-16 Local device calling method and device, storage medium and device

Publications (1)

Publication Number Publication Date
CN110730208A true CN110730208A (en) 2020-01-24

Family

ID=69219080

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910871194.5A Pending CN110730208A (en) 2019-09-16 2019-09-16 Local device calling method and device, storage medium and device

Country Status (1)

Country Link
CN (1) CN110730208A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355783A (en) * 2020-02-19 2020-06-30 樊果(上海)教育科技有限公司 Online education system based on browser driver
CN111669450A (en) * 2020-07-27 2020-09-15 中国平安人寿保险股份有限公司 Remote control method, device and system based on HTTP (hyper text transport protocol)
CN111831368A (en) * 2020-05-25 2020-10-27 武汉烽火众智数字技术有限责任公司 Method, system and storage medium for interaction between browser application and desktop application
CN112379938A (en) * 2020-11-06 2021-02-19 福建亿榕信息技术有限公司 Cross-browser safe local application calling method based on domestic operating system
CN112860336A (en) * 2021-01-26 2021-05-28 重庆广播电视大学重庆工商职业学院 File scanning preview and file uploading method for Web application
CN113691531A (en) * 2021-08-24 2021-11-23 深圳市思迪信息技术股份有限公司 Data transmission method, system, equipment and storage medium based on WebSocket protocol
CN113900756A (en) * 2021-10-13 2022-01-07 珠海市新德汇信息技术有限公司 C-embedded B desktop application method based on browser kernel
CN114221947A (en) * 2022-02-21 2022-03-22 浪潮通用软件有限公司 Method, system, equipment and storage medium for computer peripheral equipment data acquisition
CN114253878A (en) * 2021-11-22 2022-03-29 航天信息股份有限公司广州航天软件分公司 Universal method and device for accessing browser to peripheral
CN114640750A (en) * 2022-03-23 2022-06-17 深圳市乐凡信息科技有限公司 Transmission control method, device and equipment of high-speed shooting instrument and storage medium
CN115086393A (en) * 2022-06-13 2022-09-20 卫宁健康科技集团股份有限公司 Interface calling method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2367342A1 (en) * 2010-03-17 2011-09-21 Samsung Electronics Co., Ltd. Method and apparatus for accessing services of a device
CN105094921A (en) * 2015-08-18 2015-11-25 刘毅 Method and device for calling peripheral in cross-browser mode
CN105812323A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Method and device for accessing data by crossing network domains
CN107111465A (en) * 2014-12-19 2017-08-29 Zih公司 Method for the communication between enabled user equipment browser and local device
CN107368601A (en) * 2017-07-26 2017-11-21 成都三零盛安信息系统有限公司 local data access method and device
CN107622127A (en) * 2017-09-28 2018-01-23 金蝶软件(中国)有限公司 A kind of data processing method and its terminal device
CN109688280A (en) * 2018-08-21 2019-04-26 平安科技(深圳)有限公司 Request processing method, request processing equipment, browser and storage medium
CN109787963A (en) * 2018-12-28 2019-05-21 广州亚信技术有限公司 Business handling method, apparatus, computer equipment and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2367342A1 (en) * 2010-03-17 2011-09-21 Samsung Electronics Co., Ltd. Method and apparatus for accessing services of a device
CN107111465A (en) * 2014-12-19 2017-08-29 Zih公司 Method for the communication between enabled user equipment browser and local device
CN105812323A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Method and device for accessing data by crossing network domains
CN105094921A (en) * 2015-08-18 2015-11-25 刘毅 Method and device for calling peripheral in cross-browser mode
CN107368601A (en) * 2017-07-26 2017-11-21 成都三零盛安信息系统有限公司 local data access method and device
CN107622127A (en) * 2017-09-28 2018-01-23 金蝶软件(中国)有限公司 A kind of data processing method and its terminal device
CN109688280A (en) * 2018-08-21 2019-04-26 平安科技(深圳)有限公司 Request processing method, request processing equipment, browser and storage medium
CN109787963A (en) * 2018-12-28 2019-05-21 广州亚信技术有限公司 Business handling method, apparatus, computer equipment and storage medium

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355783A (en) * 2020-02-19 2020-06-30 樊果(上海)教育科技有限公司 Online education system based on browser driver
CN111831368A (en) * 2020-05-25 2020-10-27 武汉烽火众智数字技术有限责任公司 Method, system and storage medium for interaction between browser application and desktop application
CN111669450B (en) * 2020-07-27 2023-07-28 中国平安人寿保险股份有限公司 Remote control method, device and system based on HTTP (hyper text transport protocol)
CN111669450A (en) * 2020-07-27 2020-09-15 中国平安人寿保险股份有限公司 Remote control method, device and system based on HTTP (hyper text transport protocol)
CN112379938A (en) * 2020-11-06 2021-02-19 福建亿榕信息技术有限公司 Cross-browser safe local application calling method based on domestic operating system
CN112860336A (en) * 2021-01-26 2021-05-28 重庆广播电视大学重庆工商职业学院 File scanning preview and file uploading method for Web application
CN113691531A (en) * 2021-08-24 2021-11-23 深圳市思迪信息技术股份有限公司 Data transmission method, system, equipment and storage medium based on WebSocket protocol
CN113691531B (en) * 2021-08-24 2023-08-01 深圳市思迪信息技术股份有限公司 WebSocket protocol-based data transmission method, system, equipment and storage medium
CN113900756A (en) * 2021-10-13 2022-01-07 珠海市新德汇信息技术有限公司 C-embedded B desktop application method based on browser kernel
CN114253878A (en) * 2021-11-22 2022-03-29 航天信息股份有限公司广州航天软件分公司 Universal method and device for accessing browser to peripheral
CN114221947A (en) * 2022-02-21 2022-03-22 浪潮通用软件有限公司 Method, system, equipment and storage medium for computer peripheral equipment data acquisition
CN114640750A (en) * 2022-03-23 2022-06-17 深圳市乐凡信息科技有限公司 Transmission control method, device and equipment of high-speed shooting instrument and storage medium
CN115086393A (en) * 2022-06-13 2022-09-20 卫宁健康科技集团股份有限公司 Interface calling method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110730208A (en) Local device calling method and device, storage medium and device
CN107809492B (en) Method and system for generating shared information
KR101362384B1 (en) The method and system for browsing things of internet of things on ip using web platform
CN109842617B (en) Advertisement blocking method and device and storage medium
US9753888B2 (en) Information processing device and conference system
US20150227496A1 (en) Method and system for microblog resource sharing
US20120084402A1 (en) Image processing system, processing method, image processing apparatus, and relay apparatus
US10339199B2 (en) Methods, systems, and computer readable media for capturing and storing a web page screenshot
CN102473171A (en) Communicating information about a local machine to a browser application
US11445005B2 (en) Expedited sub-resource loading
CN109542366B (en) Printing method, device, equipment and storage medium based on browser
CN104376090A (en) Screen synchronization equipment of browser in computing equipment and mobile terminal
CN105786476B (en) Data processing method and system between mobile client and server
US9110962B2 (en) Data providing apparatus for implementing script, electronic apparatus for implementing script, data processing system for implementing script, and method of data processing for implementing script
CN106973081A (en) A kind of method and apparatus for issuing cloud resource
JP2015141473A (en) Server system, method for controlling server system, and program
KR20130065777A (en) Apparatus and method for sharing web contents using inspector script
CN112818270B (en) Data cross-domain transfer method and device and computer equipment
CN107967412B (en) Method for controlling limited access of PDF file
US11252135B2 (en) Method of processing data
CN111241438B (en) Cartoon picture display method, cartoon picture display device, cartoon picture display computer readable storage medium and cartoon picture display computer equipment
KR20110118000A (en) Apparatus for interoperability between web-browser and local-resources in the mobile device and method thereof
CN116827637A (en) Canvas-based data encryption transmission method, system, equipment and medium
US20190180489A1 (en) Systems and methods for digital content delivery over a network
KR101724076B1 (en) System and method for html control using user server

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

Application publication date: 20200124