Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

199 results about "WebSocket" patented technology

WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. The WebSocket protocol was standardized by the IETF as RFC 6455 in 2011, and the WebSocket API in Web IDL is being standardized by the W3C.

WebSocket-based instant message task assigning system

The invention discloses a WebSocket-based instant message task assigning system. The system comprises two parts, i.e., a server and clients, wherein the server is deployed on an application server and configured with ports for providing external services, and the server is then started; the clients comprises an APP client and a PC client; and information data transmission among the server, the APP client and the PC client is achieved based on the WebSocket protocol, that is, the server provides the instant messaging service, and the clients achieve acquisition of data from the server. Compared with the prior art, the system provided by the invention has the advantages that WebSocket-based instant message task assigning is achieved, and information can be synchronized between the information acquisition clients, so that high timeliness, effectiveness and safety of the information are ensured.
Owner:合肥市智享亿云信息科技有限公司

Voice transcription and summary generation method based on deep integrated security conference system

The invention relates to a voice transcription and summary generation method based on a deep integrated security conference system, belongs to the technical field of voice transcription and summary generation, and solves the problems that a traditional voice transcription and summary generation technology is low in efficiency, information is omitted and potential safety hazards exist. Comprising the steps that a voice recognition client side collects audio and sends the collected audio to a voice recognition server side through an audio sending thread; the voice recognition server side adopts a quantized off-line model paraform-offset-zh to carry out segmentation recognition and secondary whole segment recognition on the audio, a transfer text is generated, and a conference summary is generated based on the transfer text; the voice recognition client receives the transcription text generated by the voice recognition server through a transcription text receiving link; wherein the audio sending thread and the transliteration text receiving link of the client side are mutually independent, and transmission is carried out through WebSocket over TLS. Therefore, the conference summary is generated by real-time transfer of the conference voice.
Owner:BEIJING JINGHANG COMPUTING & COMM RES INST

Visual editing method based on Web

The invention discloses a Web-based visual editing method, belongs to the technical field of industrial configuration, and aims to solve the problems of complex deployment of traditional configuration software and insufficient Web scheme performance. The method comprises the following steps: constructing a front-end architecture (Vue. Js + Konva.js) containing a graphic element module, a canvas management module and the like; the primitive adopts JavaScript prototype chain inheritance + SVG / Canvas double-layer rendering, and a canvas is divided into four layers and is provided with a quadtree index; an editor and an expression engine are generated by using a factory pattern for attribute configuration; page management supports state capture recovery; real-time communication is based on WebSocket + PubSub, and data aggregation and incremental updating optimization are combined. Cross-platform zero deployment and Web environment near-desktop performance are achieved, editing efficiency is improved, industrial protocols such as OPC UA are compatible, and the method is suitable for the field of energy and intelligent manufacturing.
Owner:HAIER CONSUMER FINANCE CO LTD

Web end video monitoring distributed decoding method and system

The invention discloses a Web end video monitoring distributed decoding method and system, and belongs to the technical field of network video playing. The method comprises the following steps of: actively initiating WebSocket connection by a browser end through a local loopback address port (127.0. 0.1: 19022), and detecting whether a distributed decoding program is installed in a user terminal or not; calling a local FFmpeg library by a distributed decoding program, decoding a video stream in real time by utilizing a terminal CPU (Central Processing Unit), and converting decoded video key frames into an image format originally supported by a browser frame by frame through OpenCV; the distributed decoding program packages binary data of each frame of image and an address identifier of the binary data into a WebSocket message, the WebSocket message is actively pushed to the browser, and the browser refreshes and displays the WebSocket message in a specified area of a page in real time according to the address identifier; according to the method, zero-plug-in, low-delay, cross-platform, safe and controllable Web end video decoding is realized, the server load and the network delay are remarkably reduced, and the user experience and the system compatibility are improved.
Owner:BEIJING ZHONGYI YUETAI SCI & TECH

Content fetching by mobile device selected based on battery charge level

A method for fetching a content from a web server to a client device is disclosed, using tunnel devices serving as intermediate devices. The tunnel device is selected based on an attribute, such as IP Geolocation. A tunnel bank server stores a list of available tunnels that may be used, associated with values of various attribute types. The tunnel devices initiate communication with the tunnel bank server, and stays connected to it, for allowing a communication session initiated by the tunnel bank server. Upon receiving a request from a client to a content and for specific attribute types and values, a tunnel is selected by the tunnel bank server, and is used as a tunnel for retrieving the required content from the web server, using standard protocol such as SOCKS, WebSocket or HTTP Proxy. The client only communicates with a super proxy server that manages the content fetching scheme.
Owner:BRIGHT DATA LTD

Platform to manipulate golf data to enable creation of broadcast production graphics

A bridge system may enable real-time broadcast graphics generation and receive live or near real-time event-related data from a web-based access module via a WebSocket protocol. Event-related data may be translated from a web-based API format to broadcast graphics hardware specific protocols. Two-way communication may be established between the web-based access module and broadcast graphics hardware by relaying messages from the access module to the graphics hardware via a first protocol and relaying messages from the graphics hardware back to the access module via a second protocol. Constructed graphics encoded with the translated event-related data may be automatically transmitted to the broadcast graphics hardware ready for live broadcast display.
Owner:PGA TOUR ENTERPRISES LLC

Selecting proxy device based on hardware resource utilization

A method for fetching a content from a web server to a client device is disclosed, using tunnel devices serving as intermediate devices. The tunnel device is selected based on an attribute, such as IP Geolocation. A tunnel bank server stores a list of available tunnels that may be used, associated with values of various attribute types. The tunnel devices initiate communication with the tunnel bank server, and stays connected to it, for allowing a communication session initiated by the tunnel bank server. Upon receiving a request from a client to a content and for specific attribute types and values, a tunnel is selected by the tunnel bank server, and is used as a tunnel for retrieving the required content from the web server, using standard protocol such as SOCKS, WebSocket or HTTP Proxy. The client only communicates with a super proxy server that manages the content fetching scheme.
Owner:BRIGHT DATA LTD

HTTP3-based GB / T28181 monitoring video stream transmission and decoding method and electronic equipment

The invention discloses a GB / T28181 monitoring video stream efficient transmission and decoding method based on HTTP3 (Hyper Text Transfer Protocol 3) and electronic equipment. According to the method, the problems of high delay and high resource consumption of a traditional GB / T 28181 video monitoring Web end playing scheme based on WebSocket are solved by utilizing a new generation Web API (Application Program Interface) of WebTransport and WebCodec. According to the invention, through the UDP transmission capability of WebTransport based on HTTP / 3, the direct transmission of the RTP data packet from the server to the Web client is realized, and protocol conversion does not need to be carried out; the WebCodes is adopted to realize efficient hardware acceleration decoding of the client; and meanwhile, a multiplexing real-time monitoring and self-adaptive video quality control mechanism is provided. Compared with the traditional scheme, the method has the advantages that the end-to-end delay is remarkably reduced, the resource consumption of the server is reduced, the concurrency capability is improved, the video parameters can be dynamically adjusted according to the network condition, and the method is suitable for video monitoring application in various network environments.
Owner:武汉市公安局科技信息化支队 +1

Message processing method and device for office system, equipment and medium

The invention relates to the technical field of information processing, and discloses a message processing method and device for an office system, equipment and a medium, which are used for ensuring the efficiency, security and confidentiality of information transmission of an internal OA system. When it is monitored that at least one to-do message exists in the message server cluster, obtaining target routing information and address port information of a target message server; the target message server is the message server with the minimum queue load value in the message server cluster; based on the target routing information and the address port information, obtaining a target to-be-handled message in the at least one to-be-handled message and a terminal identifier corresponding to the target to-be-handled message from a message queue of a target message server; determining a second terminal corresponding to the target to-be-handled message based on a terminal identifier corresponding to the target to-be-handled information; and sending the target to-be-handled message to the second terminal through the websocket service, so that the second terminal receives the target to-be-handled message and displays the target to-be-handled message on a display interface.
Owner:CHINA CONSTRUCTION BANK +1

Wireless multi-casting with virtual reality devices

A system may include a video encoder configured to receive and encode a video stream of content for display to a user of the virtual reality headset. The system may include a video buffer configured to store the encoded video stream for rendering and transmission. The system may include a WebSocket server coupled to the video buffer and configured to: establish and maintain independent, full-duplex, and wireless communication connections with a plurality of receiving client computing devices; and stream the encoded video stream stored in the video buffer concurrently to the plurality of receiving client computing devices via the communication connections.
Owner:INSPIRIT LEARNING INC

Conference document synchronization control method

The invention relates to a conference document synchronization control method, a computer readable storage medium and electronic equipment. The conference document synchronization control method comprises the following steps: uploading a conference document to a server; in response to opening of the conference document by the host terminal, generating an instruction for indicating document opening operation by the host terminal and transmitting the instruction to the server; forwarding an instruction for indicating a document opening operation to the conference participating terminal through the server so as to enable the conference participating terminal to open the conference document; in response to a first operation performed on the conference document by the host terminal, the host terminal generates a first instruction for indicating the first operation and transmits the first instruction to the server; a first instruction is forwarded to the conference participating terminal through the server, so that the conference participating terminal executes operation corresponding to the first operation, the first instruction is in a JSON format and comprises a conference identifier, a conference participating terminal identifier, a conference document identifier and a first operation identifier, and the server and the conference participating terminal establish communication connection through a WebSocket protocol; and a SockJS library is utilized to initiate a communication connection established through a WebSocket protocol, the communication connection uses STOMP as a sub-protocol, and the server adopts RabbitMQ as a message agent to transmit the first instruction.
Owner:E-CAPITAL TRANSFER CO LTD

A novel centralized remote infusion management method and system for insulin

This invention discloses a novel centralized remote insulin infusion management method and system, relating to the field of diabetes telemedicine technology. The invention employs a dual-platform architecture separating monitoring and intervention, with the cloud server and dedicated monitoring station as independent cloud subsystems. A persistent WebSocket connection is established between the cloud and the execution terminal to complete identity verification and communication key negotiation. Remote commands are sequentially checked for legality and concurrent conflicts, and command issuance is controlled by a distributed concurrent lock at specified time intervals to prevent deadlock. After completing local security verification, the execution terminal forwards the command to the insulin pump, synchronizing the execution status to the cloud and management terminal in real time, achieving closed-loop control throughout the entire process. This invention significantly improves the real-time performance and security of remote insulin infusion, overcoming the shortcomings of traditional SMS remote control solutions, such as cumbersome processes, unreliable communication, and inability to adapt to centralized management.
Owner:SHENZHEN AIBAOWEI BIOTECHNOLOGY CO LTD

Decision-making system and method based on Dores database

PendingCN121935307AImprove real-time processing performancereal time monitoringDatabase updatingFinanceData synchronizationData aggregator
The invention discloses a decision-making system and method based on a Dores database, and the system comprises a data access layer which is used for accessing multi-source heterogeneous financial data in real time, a Dores storage calculation layer, and achieves the data storage, column-type bucket separation and materialized view pre-calculation based on the Dores database; the visual application layer is used for providing bidirectional interactive financial data visualization and decision support; wherein the data access layer acquires data in real time through a streaming computing engine and transmits the data to the Dores storage computing layer, and the visual application layer performs real-time data interaction with the Dores storage computing layer through a two-way communication protocol. According to the method, the synchronous delay of financial data is shortened from 6 hours to 1 second, second-level real-time integration is realized, the aggregation query response time of billion-level data is reduced to be within 1 second based on a Dores column type storage and materialized view technology, the user interaction response delay is lower than 500 milliseconds through WebSocket two-way communication, and real-time adjustment of parameters and dynamic refreshing of a billboard are supported.
Owner:商飞软件有限公司 +1

WebSocket connection callback methods, devices, storage media, and processors

The application provides a WebSocket connection callback method and device, a storage medium and a processor, and relates to the technical field of computers. The method comprises the following steps: establishing a listening event and a WebSocket connection between a front end and a back end; when multiple front end pages call the WebSocket connection, triggering the listening event in a corresponding callback method of each front end page, respectively; writing a general method and a homepage use method corresponding to each front end page into the listening event, respectively, to obtain a callback event corresponding to each front end page, so that the back end can call the callback event corresponding to each page in the listening event to realize the callback of each front end page. The method avoids the situation that multiple pages need to repeatedly modify the callback method, has low code repeatability and high expandability. The method does not affect the processing of other pages, and makes the code engineering more expandable and the componentization higher.
Owner:CHINA CONSTRUCTION BANK +1

A communication method, cloud platform, edge device and client device

PendingCN122160367ASecuring communicationWebSocketSecure Shell
The embodiment of the application provides a communication method, a cloud platform, an edge device and a client device, which can multiplex websocket channels to transmit messages between the cloud platform and the edge device, thereby greatly reducing the number of websocket channels between the cloud platform and the edge device, reducing the network bandwidth resources occupied by the websocket channels, and allowing more client devices to remotely and safely log in on the edge device. The communication method comprises the following steps: after the cloud platform receives a websocket connection request sent by a client device, the cloud platform sends a first websocket message to an edge device through a preset websocket channel; after the edge device establishes a secure shell connection, the cloud platform receives a second websocket message sent by the edge device through the websocket channel; and then the cloud platform sends a websocket connection response to the client device according to a connection identifier in the second websocket message.
Owner:CHENGDU HUAWEI TECH CO LTD

Model context protocol invocation method based on edge-cloud cooperation and related device

ActiveCN121239673BReduce manual interventionReduce the overhead of full retriesTransmissionExecution planStreaming data
This invention provides a model context protocol invocation method and related apparatus based on edge-cloud collaboration, relating to the field of distributed system technology in cloud computing and edge computing. It generates a rollbackable workflow through a cloud-based MCP-Client, establishes a WebSocket connection with the user terminal, and sequentially sends multiple execution steps in the rollbackable workflow to the user terminal one step at a time. For each execution step, if the execution result is a failure, it rolls back to a specified rollback anchor point and dynamically replans the unexecuted steps based on the current state. This invention allows the cloud to dynamically adjust subsequent execution plans based on intermediate results through independently executable steps. The rollbackable workflow data format reduces the overhead of manual intervention and full retries, avoiding execution deviations and data inconsistencies. The use of WebSocket reduces latency and improves the real-time performance and interactivity of task scheduling.
Owner:SHANG FEI ZHI NENG JI SHU YOU XIAN GONG SI

Medical instrument distribution center scheduling system and scheduling method based on intelligent queue management

PendingCN121882568AChecking apparatusPush technologyEmergency medical care
The invention relates to the technical field of medical instrument delivery management, in particular to a medical instrument delivery center scheduling system and scheduling method based on intelligent queue management, and the technical scheme provided by the invention has the following beneficial effects: through a multi-order aggregation number taking function, a plurality of orders of the same supplier are allowed to be merged and processed, and the number taking efficiency is improved. One-time number taking of multiple orders is achieved, workers can process homologous orders in batches, suppliers do not need to go back and forth for many times, and the waiting cost is remarkably reduced. An intelligent queuing algorithm is realized based on order attributes, a first surgical instrument is preferentially processed, the operation is ensured to be carried out on time, urgent orders are automatically jumped, emergency medical requirements are met, a processing sequence is dynamically adjusted according to order importance, and resource allocation is more reasonable; distributed cache and WebSocket push technologies are adopted, real-time synchronization of queue states is realized, suppliers can check queuing progress and predicted waiting time in real time, information is more transparent, and high availability of services is ensured by a distributed architecture.
Owner:SINOPHARM JIENUO MEDICAL SERVICE CO LTD

A hot rolling process casting and rolling connection area simulation system and method based on a B / S architecture

The application discloses a hot rolling process casting and rolling connection area simulation system based on a B / S architecture. The system comprises a server end, a database end and a Web end. The server end is built by using a SpringBoot framework and is used for completing mathematical model solving. The database end is used for storing information of users, information of continuous casting machines, information of rolling mills and information of billets and the like and is used for performing data interaction with the server end. The Web end at least comprises a parameter setting area, a simulation animation display area and a dynamic information area. The Web end uses a WebSocket protocol as a data transmission channel, sends hot rolling process casting and rolling connection area parameter setting information to the server end, and the server end pushes all billet position information, temperature calculation values and billet statistical information to the Web end.
Owner:HUATIAN ENG & TECH CORP MCC +1

Multi-terminal data interaction method and device based on long connection

The embodiment of the invention discloses a multi-terminal data interaction method and device based on long connection, and relates to the technical field of data interaction, and the method comprises the steps: controlling a client to access a data collaboration center through WebSocket long connection, and obtaining the type information of the client; according to the type information, determining permission information of the client according to a preset rule, and verifying the client based on the permission information; if the verification is passed, controlling the data collaboration center to obtain request information sent by the client based on a message sending channel; when the request information is used for calling real-time data, controlling the data collaboration center to send a data request corresponding to the request information to a real-time data source based on a real-time data request channel, and controlling the data collaboration center to receive corresponding real-time data based on a real-time data return channel; and controlling the data collaboration center to send the real-time data to the client based on a data push channel to complete multi-terminal data interaction.
Owner:DALIAN FUTURES INFORMATION TECH

Wooden door informatization production system and operation method

The invention discloses a wooden door informatization production system and an operation method. The wooden door informatization production system comprises an order management module, a process management module, a production execution module, a material management module, a quality inspection module, a data billboard module, a digital twinning body module and a data center module. An order is received through RESTful API, after the order is split through an AI intelligent order splitting algorithm, a gRPC interface is matched with a standard process, process parameters are optimized through a machine learning model, and then tasks are issued through Kafka; and after station code scanning confirmation, SOAP / XML format material distribution is triggered, production data are collected through OPC UA / MQTT, defects are recognized in real time through a multi-mode AI detection model, the workpiece flow direction is controlled through WebSocket feedback, and full-process management and control are achieved in combination with a digital twinborn body and a data middle table. The method solves the problems that traditional production information is isolated, the technology depends on manpower, quality tracing is difficult and the like, production standardization, transparency and intelligence are achieved, and production efficiency and quality are improved.
Owner:NANJING FORESTRY UNIV

Cross-platform data processing system and method for AI healthy ecology and medium

The invention discloses an AI healthy ecology-oriented cross-platform data processing system and method and a storage medium, and belongs to the technical field of Internet of Things and artificial intelligence. The method comprises the following steps: an intelligent wearable device (A1) sends a standardized data packet to a terminal (B1) through a predefined GATT service; a terminal loads a Web application through a browser (B1), a JavaScript SDK (B2) and a WebAssembly module (D1) are used for carrying out analysis (C1), quality evaluation (C4) and safety processing (C5) on data, and an uplink data stream (E1) is formed and uploaded to a cloud end (F1) through WebSocket; the cloud side analyzes the AI model (H1) corresponding to the data packet type routing call (G1), generates a result (I1) and returns the result (I1) in a downlink mode; and the result is visually displayed through a browser or an SDK (D3) embedded in a third-party page (D4). Data islands are broken through a standardized protocol, cross-platform installation-free deployment is realized by utilizing browser capability, low-delay and high-reliability communication is guaranteed by means of WebSocket and edge calculation, a model is updated through federal learning (S1), privacy is protected, AI is rapidly endowed for wearable equipment, and an open AI healthy ecosystem is constructed.
Owner:SHENZHEN SHOUYUE TECHNOLOGY CO LTD

Three-dimensional scene collaborative construction method and system based on metadata and remote server

The invention belongs to the technical field of computer three-dimensional scene construction, and provides a three-dimensional scene collaborative construction method and system based on metadata and a remote server, and the system comprises a user side and a remote server platform, the user side is used for a user to carry out the interactive operation of three-dimensional scene construction, and the remote server platform is used for carrying out remote server construction. The remote server platform receives instructions and data information of the user side and carries out corresponding processing, and the remote server platform and the user side carry out collaborative data synchronization by adopting HTTPS and WebSocket links. According to the three-dimensional scene construction method and system disclosed by the invention, the article objects in the three-dimensional scene are all stored in the form of metadata, and efficient collaboration is realized through metadata storage and dynamic branch management.
Owner:BEIJING TENGYUE CHENGHUI TECHNOLOGY CO LTD

Virtual physical experiment method and system based on light-weight front-end architecture

PendingCN122365970AComputational scienceHTML5
This invention discloses a virtual physics experiment method and system based on a lightweight front-end architecture. It employs a lightweight front-end architecture using a Python backend combined with JavaScript, HTML5 Canvas, and CSS. Through standardized operation parsing and real-time communication via WebSocket, it calls multi-dimensional physical models for frame-by-frame calculation at 60fps. Layered collaborative rendering using Canvas and CSS enables physics-driven vector drawing, and parameterized vector scale generation solves the problem of magnification blurring. A semantic control mechanism for experimental specifications is constructed, supporting incremental circuit topology recognition and free construction. A multi-model instance pool reuse scheduling mechanism enables rapid switching between multiple scenarios. This invention can run smoothly on multiple terminals without plugins, balancing simulation realism with teaching interactivity.
Owner:HUIZHOU UNIV

Front-end-driven multi-channel video stream dynamic filtering and rendering method and system

The invention discloses a front-end-driven multi-channel video stream dynamic filtering and rendering method and system, belongs to the technical field of computer communication, and aims to solve the technical problem of how to solve member state synchronization abnormity and picture residue caused by network fluctuation and detection delay. Comprising the following steps: establishing a persistent bidirectional connection between a client and a converged communication message service background through a WebSocket protocol; many-to-many real-time communication is realized based on a WebRTC and MCU scheme; in combination with a WebSocket automatic reconnection mechanism and a WebRTC packet loss recovery mechanism, the reliability and stability of connection between the client and the converged communication message service background in a high-concurrency environment are enhanced; a Vue.js framework is used for front-end development, and a componentized and responsive user interface is achieved; front-end calculation is carried out, and signaling-service double-track data difference detection is triggered when members change; and the screen fusion service is requested again, and screen fusion video stream rendering is carried out.
Owner:浪潮智慧城市科技有限公司 +1

Embedded device video preview method and device suitable for various browsers and medium

PendingCN121841932ATransmissionWebSocketServer
The invention relates to the field of video preview, in particular to an embedded device video preview method and device suitable for various browsers and a medium. According to the method, a traditional plug-in is optimized, an Activex plug-in and a WS plug-in are written, meanwhile, in order to prevent the plug-in operation problem, a Websocket server is deployed at an embedded equipment end, a user is prompted to replace a preview mode in real time according to the plug-in downloading condition and the network load condition of a user computer end, and video preview of various types of browsers in different modes is achieved.
Owner:SHANDONG SHEENRUN OPTICS & ELECTRONICS CO LTD

Efficient streaming for client-side medical rendering applications based on user interactions

A server-side application is provided that transfers images associated with a medical study. The application receives a request to view a medical study and in response opens a WebSocket or a WebTransp
Owner:CHANGE HEALTHCARE HOLDINGS LLC

HTTP-based message broker architectures for communications between a cloud-based controller and network devices of a wireless communications network and related methods

An application of a cloud-based controller forwards a message to a message broker of the cloud-based controller. The message is then transmitted to a network device of a wireless communications network over a WebSocket tunnel connection. Thereafter, an acknowledgment is received in response to transmitting the message at a gRPC proxy for the message broker.
Owner:RUCKUS IP HOLDINGS LLC

Multi-service collaborative management system and method based on UE streaming

The invention discloses a multi-service collaborative management system based on UE streaming. The multi-service collaborative management system comprises an automatic deployment module, a monitoring keep-alive module, an instance scheduling module, a log module, an interaction and command module and a distributed stream pushing module, a Coturn file directory and a PixelStreaming file directory are pre-integrated in the deployment management module, a WebSocket Server is built in the deployment management module, and a digital twin file directory is positioned through a configuration file or a distributed plug flow module and is used for service initialization and starting; the monitoring keep-alive module performs dual verification on the service survival state through a process handle and a WebSocket heartbeat packet; the instance scheduling module dynamically adjusts the number of digital twin application instances; the log module records and displays system operation related information; the interaction and command module provides console interaction and command operation functions; the distributed plug flow module is a subsystem capable of being deployed independently and cooperates with the main system to achieve cross-server management. The invention provides a multi-service collaborative management system and method based on UE streaming, and solves the problems of tedious deployment, poor stability, low resource utilization rate, difficult monitoring, limited expansibility and missing operation interaction in the existing UE streaming management.
Owner:THREE GORGES SMART WATER TECH CO LTD

Data reading method and device, front-end device and storage medium

Embodiments of the present application provide a data reading method and device, a front-end device and a storage medium, and relate to the field of data processing. The method comprises the following steps: first, generating a data reading request according to the data reading operation of a background personnel on the data reading page. Then, sending the data reading request to the back-end server through a WebSocket client, so that the back-end server acquires the data of the electric meter device and returns the data to the WebSocket client. Finally, the WebSocket client sends the data to the data reading page for display. Since the WebSocket client is installed on the front end, the data reading request generated by the front-end device can be sent to the back-end server through the WebSocket client, thereby improving the real-time performance of data reading under the premise of reducing system pressure.
Owner:NINGBO SANXING INTELLIGENT ELECTRIC

C #-based Linux shared printing control method and system, medium and product

The invention discloses a C #-based Linux shared printing control method and system, a medium and a product, and relates to the technical field of printing control. The method comprises the following steps: creating and operating a WebSocket server through a printing daemon; analyzing a JSON format printing instruction in the printing message through the printing daemon, and obtaining canvas parameters and a content drawing instruction; creating a virtual canvas in a memory based on the canvas parameters, generating to-be-printed image data according to the content drawing instruction, and adding a printing task containing the to-be-printed image data into a concurrent queue; and the printing tasks in the concurrent queue are sequentially processed through the printing daemon, and for each printing task, after the printing task is packaged into a bottom-layer instruction in a preset format through the USB interface with the obtained permission and the user-mode USB communication library, the bottom-layer instruction is directly sent to a printer to execute printing. By implementing the technical scheme, the effect of efficient, flexible and stable Linux shared printing control is achieved.
Owner:BEIJING SHUOFANG INFORMATION TECH CO LTD