CN106201375B - Websocket-based network sharing printing control method - Google Patents
Websocket-based network sharing printing control method Download PDFInfo
- Publication number
- CN106201375B CN106201375B CN201610507401.5A CN201610507401A CN106201375B CN 106201375 B CN106201375 B CN 106201375B CN 201610507401 A CN201610507401 A CN 201610507401A CN 106201375 B CN106201375 B CN 106201375B
- Authority
- CN
- China
- Prior art keywords
- client
- data
- printer
- websocket
- 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.)
- Active
Links
- 238000007639 printing Methods 0.000 title claims abstract description 46
- 238000000034 method Methods 0.000 title claims abstract description 39
- 230000008569 process Effects 0.000 claims abstract description 20
- 230000005540 biological transmission Effects 0.000 claims description 15
- 238000004891 communication Methods 0.000 claims description 13
- 238000012545 processing Methods 0.000 claims description 7
- 238000012546 transfer Methods 0.000 claims description 4
- 238000012423 maintenance Methods 0.000 abstract description 2
- 239000011800 void material Substances 0.000 description 6
- 238000009434 installation Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1278—Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
- G06F3/1285—Remote printer device, e.g. being remote from client or server
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/12—Digital output to print unit, e.g. line printer, chain printer
- G06F3/1201—Dedicated interfaces to print systems
- G06F3/1223—Dedicated interfaces to print systems specifically adapted to use a particular technique
- G06F3/1237—Print job management
- G06F3/1253—Configuration of print job parameters, e.g. using UI at the client
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The invention discloses a network sharing printing control method based on WebSocket, which comprises the following concrete implementation processes: the method comprises the steps that a WebSocket protocol is used for communicating with a printing server of a network sharing printer through a set of functions and variables defined by JavaScript at a client based on HTML5, an ESC/POS instruction set is transmitted for printing control, and normal printing output of a plurality of printers is remotely controlled by a plurality of HTML5 application clients. Compared with the prior art, the network sharing printing control method based on the WebSocket can realize the output control of a plurality of clients and a plurality of remote printers only through the WebSocket protocol, can greatly reduce the operation and maintenance cost of an HTML5 application program, and has strong practicability, wide application range and easy popularization.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of network share based on WebSocket prints control
The method of system.
Background technique
In the prior art, for the print control of ESC/POS instruction set, it will usually straight by TCP/IP or COM agreement
Connect letter.In traditional office's Internet application environment, it usually needs realize that far call network is beaten in client installation control
The scene of print machine.Control is generally related with client operating system, and the cross-platform or client that cannot achieve real meaning is exempted to pacify
Dress maintenance.
Based on this, a kind of method of network share print control based on WebSocket is now provided, by being based on HTML5
WebSocket agreement, browser client be no longer dependent on printing driving and control, only need to pacify in a shared server
Installed printer shared service, can be realized multiple client and the output of more remote printers controls, and can substantially reduce HTML5
The operation expense of application program.
Summary of the invention
Technical assignment of the invention is place against the above deficiency, provides a kind of network share based on WebSocket and beats
Print the method for control.
A method of the network share print control based on WebSocket implements process are as follows: be based on
The client of HTML5 uses WebSocket agreement and network share by the JavaScript one group of function defined and variable
The print service end of printer is communicated, and transmission ESC/POS instruction set carries out print control, realizes multiple HTML5 application visitors
Family end remotely controls the output of plurality of printers normal print.
The detailed process of network share print control are as follows:
One, client data coffret function and variable based on WebSocket are set first;
Two, then the various interface functions and variable of printer sharing service are set;
Three, the logic control mode of finally setting transmission control print command;
In above-mentioned steps, client refers to the Internet-browser application object based on HTML5, by HTML5 and
Written in JavaScript, the client are both the client of Internet application and the WebSocket client of printer service
End;Printer service refers to the application program of connection client and printer, and realizes printing shared service by changing program.
The particular content of client data coffret function based on WebSocket includes:
Client defines WebSocket object relevant operation function with JavaScript, which advises according to business
Then, to guarantee the communications in application program operational process, and it includes establishing function, closing function, keep function,
These functions are to keep WebSocket object available;
The interface function of message is listened in the processing of client, and the data for obtaining server end are realized by the interface function,
And data are handled;
The interface function that the data of client are sent, by the interface function realize to server end send print data and
Print control instruction, server end complete target print task after obtaining data or instruction and return to corresponding state;
When client is online, by Session session connection variable, WebSocket example is defined at print service end
With the address of service WebSocket, with the Session session connection of guarantee and client, session connection is connected with online client
It counts and becomes, and real-time update quantity identity is changed according to client terminal quantity, server is by Session session connection come to difference
Client sends data and receives the data from different clients;
Print service end receives the interface function of client data, listens to port, Session session company according to server
The consistency policy connect is completed according to the specified logic of client to the corresponding of the network printer after receiving customer data
Control;
Printer service sends the function of data to client, and server-side returns to server end to printing by interface function
The data of machine control process, in time to the state of client reflection printer.
The various interface functions and variable of printer sharing service specifically include:
Printer initialization function, when the starting of shared print service, which completes printer initial configuration, so that
Printer carries out output control by WebSocket agreement with Web client;
Data control and print object transfer function, server receive data from client by Websocket, generate
Target print object, the function is in the server by the data of the description dynamic data defined to be adapted to different printers
Format change is sent to corresponding printer output at different target print objects, then by TCP/IP or COM agreement;
Printing server sends the function of data to printer, is passed from server-side to printer by different transport protocols
The print object of different data is passed, realizes printout.
The logic control mode of definition transmission control print command refers to for different control instructions or printing strategy, control
The different objective result of different printer outputs implements process are as follows:
The starting of print service end initializes WebSocket example and starts service and listen to, loaded according to configuration parameter different
Printer configuration information, into printer ready state;
When client uses HTML5 application program by browser, client and printing server establish one
Session session connection, print service end increases a Session session, and when client off-line, server-side disconnects one
Session session connection;
HTML5 client connect foundation with server-side when accessing Internet application, logical by WebSocket agreement and service
Letter, client call different printers according to different business scenarios, send out according to printing rule or printing strategy to server-side
The output data of unified format is sent, print service end returns to the corresponding state value of HTML5 client after receiving data;
Print service end is received data, according to the different print object of different target printer conversion generations or not
Then same printer control instruction passes through the printing that different transport protocols transmits different data from print service to printer
Object, printer control instruction, to export different objective results.
Compared to the prior art a kind of method of network share print control based on WebSocket of the invention, has
Below the utility model has the advantages that
A kind of method of network share print control based on WebSocket of the invention, allows the application journey based on HTML5
Sequence can call network share print service by WebSocket agreement, realize more when using ESC/POS instruction set printer
A client remote control plurality of printers normal print output, and HTML5 client does not have to the programs such as installation printer driver,
Only the network printer need to be realized by sharing print service, that is, remote controlled more supports ESC/POS instruction set printer
Shared service, realize the web application of real meaning exempt from installation printing driving or word depghi;Client need to only pass through
Multiple client can be realized in WebSocket agreement and the output of more remote printers controls, and can substantially reduce HTML5 application
The operation expense of program, it is practical, it is applied widely, it is easy to spread.
Detailed description of the invention
Attached drawing 1 is realization schematic diagram of the invention.
Specific embodiment
The present invention is further explained in the light of specific embodiments.
In order to guarantee that the print data of the application program based on HTML5 in the process of running can be in browser end and printing
The transmission of server end real-time synchronization needs to follow certain business rule and standard to define the data based on WebSocket and pass
Defeated interface function, as shown in Fig. 1, a kind of method of network share print control based on WebSocket of the invention, tool
Body realizes process are as follows: in the client based on HTML5 by the JavaScript one group of function defined and variable, uses
WebSocket agreement is communicated with the print service end of network share printer, and transmission ESC/POS instruction set is printed
Control realizes that multiple HTML5 applications clients remotely control the output of plurality of printers normal print.
The detailed process of network share print control are as follows:
One, client data coffret function and variable based on WebSocket are set first;
Two, then the various interface functions and variable of printer sharing service are set;
Three, the logic control mode of finally setting transmission control print command;
In above-mentioned steps, client refers to the Internet-browser application object based on HTML5, by HTML5 and
Written in JavaScript, the client are both the client of Internet application and the WebSocket client of printer service
End;Printer service refers to the application program of connection client and printer, and realizes printing shared service by changing program.
In order to guarantee that the print data of the application program based on HTML5 in the process of running can be in browser end and printing
The transmission of server end real-time synchronization needs to follow certain business rule and standard to define the data based on WebSocket and pass
Defeated interface function, content include following several component parts:
(1) HTML5 client defines WebSocket object relevant operation function with JavaScript, according to business rule,
To guarantee the communications in application program operational process, function is established in existing communication connection, and has communication connection
Function is closed, there are also communication connections to keep function, these functions are to keep WebSocket object available.
(2) interface function of message is listened in the processing of client, and the number for obtaining server end is realized by the interface function
According to, and data are handled.
(3) interface function that the data of client are sent is realized to send to printing server end by the interface function and be beaten
Printing evidence and print control instruction, server end complete target print task after obtaining data or instruction and return to corresponding state.
(4) online client Session session connection variable, print service end define WebSocket example with
The address of service WebSocket, to guarantee the Session session connection with client, session connection is with online client connection number
And become, and real-time update quantity identity is changed according to client terminal quantity, server is by Session session connection come to different visitors
Family end sends data and receives the data from different clients.
(5) print service end receives the interface function of client data, listens to port, Session meeting according to server
Talk about the consistency policy of connection.After receiving customer data, completed according to the specified logic of client to the network printer
Corresponding control.
(6) server sends the function of data to client, and print service end returns to server end pair by interface function
The data of printer control process, in time to the state of client reflection printer.
The various interface functions and variable for defining printer sharing service, receive different clients according to printing server
Print control data, realize and control the output of more network printers.
(1) printer initialization function, when the starting of shared print service, the automatic load networks printer of application program
Configuration information, and the synchronous data interaction by between TCP/IP or COM protocol realization server and printer.Printer is initial
After changing configuration successful, it is possible to provide printer carries out output control by WebSocket agreement to Web client.
(2) data control and print object transfer function, server receive data from client by Websocket,
Target print object is generated, in order to be adapted to different printers, defines a kind of data format for describing dynamic data, server
It is responsible for this unified data format being transformed into different target print objects, then is sent to by TCP/IP or COM agreement
Corresponding printer output.
(3) printing server sends the function of data to printer, and interface function can pass through from server-side to printer side
The print object of different transport protocol transmitting different data, realizes printout.
The logic control mode of definition transmission control print command, for different control instructions or printing strategy, control is not
The different objective result of same printer output.
(1) print service end first starts, and initializes WebSocket example and starts service and listen to, according to configuration parameter plus
Different printer configuration informations are carried, into printer ready state.
(2) when HTML5 client is online, client and printing server establish a Session session connection, server-side
Increase a Session session.When client off-line, server-side will disconnect a Session session connection.
(3) when HTML5 client access Internet application, while it being connect foundation with print service end, passes through WebSocket
Agreement and communication for service, client can call different printers according to different business scenarios, according to printing rule or printing
Strategy sends the output data of unified format to server-side, and server-side returns to corresponding state value after receiving data.
(4) received data are generated different print objects according to different target printer conversions by print service end
Or different printer control instruction.Then, server-side transmits different data by different transport protocols to printer side
Print object, printer control instruction.
The method provided through the invention allows the application program based on HTML5 using the network printing of ESC/POS instruction set
When machine, browser client is no longer dependent on printing driving or word depghi, realizes printer by transmitting ESC/POS instruction set
Control, realize the web application of real meaning exempt from installation printing driving or word depghi.Client need to only pass through
Multiple client can be realized in WebSocket agreement and the output of more remote printers controls, and can substantially reduce HTML5 application
The operation expense of program.
With reference to reference attached drawing 1 to a kind of WebSocket and clothes based on HTML5 provided by the invention for being embodied
The method of business device end printer control is described in detail.
Its specific embodiment includes: that data transmission interface function of the definition based on WebSocket and variable, definition are shared
The various interface functions and variable of printer service, definition transmission control the logic control mode of print command.
Define data transmission interface function and variable based on WebSocket:
(1) client defines WebSocket object relevant operation function with JavaScript, according to business rule, to
Guarantee the communications in application program operational process, function is established in existing communication connection, and has the closing of communication connection
Function, there are also communication connections to keep function, these functions are to keep WebSocket object available.
/**
* WebSocket relevant operation
*/
var WEBSOCKET = "ws://ip:port/ws/websocket";
var wsocket;
function initWebSocket() {
if (!wsocket)
wsocket = new window.WebSocket(WEBSOCKET);
// monitoring information
wsocket. {
messageListener(event.data);
};
// close WebSocket
wsocket. {
// WebSocket Status:: Socket Closed
};
// open WebSocket
wsocket. {
// WebSocket Status:: Socket Open
// send initialization handshake message
sendWebSocketMsg("handshake");
};
wsocket.>
// WebSocket Status:: Error was reported
};
}
(2) interface function of message is listened in the processing of client, and the number for obtaining server end is realized by the interface function
According to, and data are handled.
// processing Socket message
function messageListener (msg) {
// data processing
}
(3) interface function that the data of client are sent is realized to server end by the interface function and sends printing number
According to and print control instruction, server end complete target print task and to return to corresponding state after obtaining data or instruction.
// send Socket message
function sendWebSocketMsg(msg) {
wsocket.send(msg);
}
(4) online client Session session connection variable defines WebSocket example and WebSocket in server-side
Address of service, to guarantee the Session session connection with client, session connection becomes with online client connection number, and root
Change real-time update quantity identity according to client terminal quantity, server is sent by Session session connection to different clients
The data of data and reception from different clients.
@OnOpen
public void onOpen(Session session) {
this.session = session;
webSocketSet.add(this);// increase session
addOnlineCount();// in line number add 1
}
@OnClose
public void onClose() {
webSocketSet.remove(this);// delete session
subOnlineCount();// in line number subtract 1
}
(5) server-side receives the interface function of client data, listens to port, Session session company according to server
The consistency policy connect.After receiving customer data, completed according to the specified logic of client to the corresponding of the network printer
Control.
@OnMessage
public void onMessage(String message, Session session) throws
IOException,
InterruptedException {
// processing message, completes the corresponding control to the network printer according to message data
}
(6) server sends the function of data to client, and server-side returns to server end to printing by interface function
The data of machine control process, in time to the state of client reflection printer.
Define the interface function that data are sent to Session session client:
public void sendMessage(String message) throws IOException {
this.session.getBasicRemote().sendText(message);
}
Define the various interface functions and variable of printer sharing service:
(1) printer initialization function, when the starting of shared print service, the automatic load networks printer of application program
Configuration information, and the synchronous data interaction by between TCP/IP or COM protocol realization server and printer.Printer is initial
After changing configuration successful, it is possible to provide printer carries out output control by WebSocket agreement to Web client.
private void getPrinterConfig() {
string filename = Application.StartupPath.ToString() + "/" + "
PrinterConfig.xml";
XmlDocument xmlDoc = new XmlDocument();
Try {
xmlDoc.Load(filename);
XmlNodeList topM = xmlDoc.SelectNodes("//type");
for (int i = 0; i < topM.Count; i++) {
XmlNode element = topM[i];
String name = element.Attributes["name"].Value;
XmlNodeList printers = element.ChildNodes;
for (int j = 0; j < printers.Count; j++) {
// printer initialization process
}
}
} catch (Exception e) {
// display error message
}
}
(2) data control and print object transfer function, server receive data from client by Websocket,
Target print object is generated, in order to be adapted to different printers, defines a kind of data format for describing dynamic data, server
It is responsible for this unified data format being transformed into different target print objects, then is sent to by TCP/IP or COM agreement
Corresponding printer output.
private CustomerPage TransPrintObject(string data) {
CustomerPage cp = new CustomerPage();
// unified data format is transformed into different target print objects
return cp;
}
(3) server sends the function of data to printer, and interface function can pass through difference from server-side to printer side
Transport protocol transmitting different data print object, realize printout.
public void execPrint() {
foreach (var item in printerlist) {
String key = item.Key;// printer
printlist = item.Value;
count = 0;
if (key.Length>=2 && "IP".Equals(key.Substring(0,2))) {
// TODO:IP printer print logic
} else if (key.Length >3 && "COM".Equals(key.Substring
(0, 3))) {
// TODO: serial printer print logic
} else {
doc = new PrintDocument();
doc.PrinterSettings.PrinterName = key;
doc.DefaultPageSettings = new PageSettings();
// TODO: the print logic of compatible local printer
doc.Print();
}
}
}
The logic control mode of definition transmission control print command:
Logic control chart reference attached drawing 1 is realized in the method for the present invention, and is described in detail on this basis as follows:
(1) firstly, starting print service end, loads printer configuration parameter, and initialize WebSocket example, and open
Dynamic service waits client Session session into printer service ready state by fixed service port snooping client
Connection.
(2) when client is online using the Internet application based on HTML5 by browser, client passes through simultaneously
WebSocket agreement and printing server establish a Session session connection, will increase one at print service end
Session session.When client off-line, server-side can disconnect automatically reduces by a Session session connection.
(3) it after client connects foundation with print service end, can be carried out at any time by WebSocket agreement and service
Communication, it may be assumed that printing is ready.Client can call different print services according to different business scenarios, and according to printing rule
Or printing strategy sends the output data of unified format to server-side, to export different objective results, server-side receives data
After return to corresponding state value.
(4) received data are generated different print objects according to different target printer conversions by print service end
Or different printer control instructions, it is added in print queue and is lined up.
(5) data are read at printer service end from print queue, and are passed to printer side by different transport protocols
Print object, the printer control instruction of different data are passed, to print out different results.
The technical personnel in the technical field can readily realize the present invention with the above specific embodiments,.But it answers
Work as understanding, the present invention is not limited to above-mentioned specific embodiments.On the basis of the disclosed embodiments, the technical field
Technical staff can arbitrarily combine different technical features, to realize different technical solutions.
Except for the technical features described in the specification, it all is technically known to those skilled in the art.
Claims (3)
1. a kind of method of the network share print control based on WebSocket, which is characterized in that it implements process are as follows:
In the client based on HTML5 by the JavaScript one group of function defined and variable, WebSocket agreement and net are used
The print service end of network printer sharing is communicated, and transmission ESC/POS instruction set carries out print control, realizes multiple HTML5
Applications client remotely controls the output of plurality of printers normal print;
The detailed process of network share print control are as follows:
One, client data coffret function and variable based on WebSocket are set first;
Two, then the various interface functions and variable of printer sharing service are set;
Three, the logic control mode of finally setting transmission control print command;
In above-mentioned steps, client refers to the Internet-browser application object based on HTML5, by HTML5 and
Written in JavaScript, the client are both the client of Internet application and the WebSocket client of printer service
End;Printer service refers to the application program of connection client and printer, and realizes printing shared service by the program;
The logic control mode of definition transmission control print command refers to different for different control instructions or printing strategy, control
The different objective result of printer output, implement process are as follows:
The starting of print service end initializes WebSocket example and starts service and listen to, loads different printings according to configuration parameter
Machine configuration information, into printer ready state;
When client uses HTML5 application program by browser, client and printing server establish a Session meeting
Words connection, print service end increases a Session session, and when client off-line, server-side disconnects a Session session and connects
It connects;
HTML5 client connect foundation with server-side when accessing Internet application, by WebSocket agreement and communication for service,
Client calls different printers according to different business scenarios, sends and unites to server-side according to printing rule or printing strategy
The output data of one format, print service end return to the corresponding state value of HTML5 client after receiving data;
Print service end is converted according to different target printers and generates different print objects or different by received data
Then printer control instruction transmits the printing pair of different data from print service to printer by different transport protocols
As, printer control instruction, to export different objective results.
2. a kind of method of network share print control based on WebSocket according to claim 1, feature exist
In the particular content of the client data coffret function based on WebSocket includes:
Client defines WebSocket object relevant operation function with JavaScript, which uses according to business rule
To guarantee the communications in application program operational process, and it includes establishing function, closing function, keep function, these
Function is to keep WebSocket object available;
The interface function of message is listened in the processing of client, the data for obtaining server end is realized by the interface function, and right
Data are handled;
The interface function that the data of client are sent is realized to server end by the interface function and sends print data and printing
Control instruction, server end complete target print task after obtaining data or instruction and return to corresponding state;
When client is online, by Session session connection variable, print service end define WebSocket example with
The address of service WebSocket, to guarantee the Session session connection with client, session connection is with online client connection number
And become, and real-time update quantity identity is changed according to client terminal quantity, server is by Session session connection come to different visitors
Family end sends data and receives the data from different clients;
Print service end receives the interface function of client data, listens to port, Session session connection according to server
Consistency policy completes the corresponding control to the network printer according to the specified logic of client after receiving customer data;
Printer service sends the function of data to client, and server-side returns to server end to printer control by interface function
The data of process processed, in time to the state of client reflection printer.
3. a kind of method of network share print control based on WebSocket according to claim 1, feature exist
In the various interface functions and variable of printer sharing service specifically include:
Printer initialization function, when the starting of shared print service, which completes printer initial configuration, so that printing
Machine carries out output control by WebSocket agreement with Web client;
Data control and print object transfer function, server receive data from client by Websocket, generate target
Print object, the function is in the server by the data format of the description dynamic data defined to be adapted to different printers
It is transformed into different target print objects, then corresponding printer output is sent to by TCP/IP or COM agreement;
Printing server sends the function of data to printer, is transmitted not from server-side to printer by different transport protocols
With the print object of data, printout is realized.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610507401.5A CN106201375B (en) | 2016-07-01 | 2016-07-01 | Websocket-based network sharing printing control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610507401.5A CN106201375B (en) | 2016-07-01 | 2016-07-01 | Websocket-based network sharing printing control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106201375A CN106201375A (en) | 2016-12-07 |
CN106201375B true CN106201375B (en) | 2019-02-19 |
Family
ID=57462855
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610507401.5A Active CN106201375B (en) | 2016-07-01 | 2016-07-01 | Websocket-based network sharing printing control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106201375B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106790568A (en) * | 2016-12-27 | 2017-05-31 | 成都中科创达软件有限公司 | A kind of vehicular platform exchange method based on HTML5 |
CN106657393A (en) * | 2017-02-08 | 2017-05-10 | 浪潮(苏州)金融技术服务有限公司 | Device remote interaction system and method based on Websocket |
CN111176586B (en) * | 2018-11-09 | 2021-09-10 | 商派软件有限公司 | Multi-terminal virtual hardware and method for providing virtual hardware service |
CN110599296A (en) * | 2019-08-23 | 2019-12-20 | 达疆网络科技(上海)有限公司 | Method for realizing Web-end automatic order printing service based on Netty and WebSocket protocols |
CN111124323A (en) * | 2019-12-18 | 2020-05-08 | 山东浪潮通软信息科技有限公司 | Realization method for calling client printer interface based on Applet mode |
CN113238721B (en) * | 2021-05-11 | 2022-10-04 | 浪潮软件股份有限公司 | OFFICE template printing method for unified government affairs service |
CN115580606B (en) * | 2021-06-18 | 2024-09-10 | 中国联合网络通信集团有限公司 | Control method, device, equipment and storage medium for visual large screen |
CN114461427A (en) * | 2022-04-14 | 2022-05-10 | 中博信息技术研究院有限公司 | Method for sharing computer peripheral equipment by PMS (personal computer) in hotel |
CN115951848A (en) * | 2022-12-24 | 2023-04-11 | 广州天下大同网络科技有限公司 | Remote printing method, system, computer device and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546794A (en) * | 2011-12-30 | 2012-07-04 | 华为技术有限公司 | Method for directly communicating browser client with back-end server as well as gateway and communication system |
CN103685269A (en) * | 2013-12-12 | 2014-03-26 | Tcl集团股份有限公司 | Method and system for both-way communication between web browser and server |
CN104898995A (en) * | 2011-02-10 | 2015-09-09 | 精工爱普生株式会社 | NETWORK SYSTEM, METHOD OF CONTROLLING PRINTING ON AN NETWORK SYSTEM, client terminal and printer |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012063944A (en) * | 2010-09-15 | 2012-03-29 | Canon Inc | Printing system, control method, client terminal, print server, and program |
US20140098392A1 (en) * | 2012-10-08 | 2014-04-10 | Siow Kiat Tan | Photo editor in a multifunction printer |
-
2016
- 2016-07-01 CN CN201610507401.5A patent/CN106201375B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104898995A (en) * | 2011-02-10 | 2015-09-09 | 精工爱普生株式会社 | NETWORK SYSTEM, METHOD OF CONTROLLING PRINTING ON AN NETWORK SYSTEM, client terminal and printer |
CN105045545A (en) * | 2011-02-10 | 2015-11-11 | 精工爱普生株式会社 | Network system, Client terminal, and method of controlling device server |
CN102546794A (en) * | 2011-12-30 | 2012-07-04 | 华为技术有限公司 | Method for directly communicating browser client with back-end server as well as gateway and communication system |
CN103685269A (en) * | 2013-12-12 | 2014-03-26 | Tcl集团股份有限公司 | Method and system for both-way communication between web browser and server |
Non-Patent Citations (1)
Title |
---|
HTML5 WebSocket握手协议的研究与实现;陆晨等;《计算机应用与软件》;20150131;第32卷(第1期);第128-131页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106201375A (en) | 2016-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106201375B (en) | Websocket-based network sharing printing control method | |
CN102035904B (en) | Method for converting TCP network communication server into client | |
CN107018147B (en) | Internet of things communication method and system and gateway module | |
CN101138219B (en) | Communication method and system with client computer by network | |
CN105763619B (en) | The method and device that client and server-side are communicated | |
CN104065731B (en) | A kind of ftp file Transmission system and transmission method | |
CN110290185B (en) | Internet of things equipment integration system based on Agent and application method thereof | |
CN107395653A (en) | A kind of enterprise instant communication system and method based on safety isolation network gate | |
CN102594886B (en) | Method and device for direct communication between browsers, and communication system | |
CN104463670A (en) | Websocket-based bank preposition transaction system construction method | |
CN110278148B (en) | data compatibility gateway system | |
CN108667817A (en) | Message converting system and message forwarding method | |
CN109768912A (en) | A kind of method and device of real-time impression information | |
US20090193125A1 (en) | System and method for transmitting data via data networks with data conversion by a com automatic marshaller | |
JP2023515694A (en) | Internet-of-things interlocking device and method for existing fieldbus-based automatic control system | |
CN114089711B (en) | Industrial equipment control management method, electronic equipment and storage medium | |
CN110417875B (en) | Method, system, equipment and storage medium for docking between cloud servers | |
CN1973282A (en) | System and method for managing a change to a cluster configuration | |
CN102035903B (en) | Combined information processing system | |
TWI294087B (en) | Systems and methods for file transfer management | |
US20130136140A1 (en) | Relay server and relay communication system | |
CN107645567A (en) | A kind of method of remote control intelligent terminal | |
CN110430075B (en) | Method for managing logic configuration of support network controller | |
CN210274135U (en) | Remote connection system | |
CN103546513B (en) | The method and device of communication between a kind of customer terminal webpage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20230302 Address after: Room 1703, Building S01, 1036 Langsuo Chao Road, Jinan Area, China (Shandong) Pilot Free Trade Zone, Jinan, Shandong Province, 250000 Patentee after: SHANDONG LANGCHAO YIYUN ONLINE TECHNOLOGY Co.,Ltd. Address before: No. 1036, Shandong high tech Zone wave road, Ji'nan, Shandong Patentee before: Inspur Genersoft Co.,Ltd. |