Unlock instant, AI-driven research and patent intelligence for your innovation.

A printing method and system across network segments

A cross-network segment and printer technology, applied in the cross-network segment printing method and system field, can solve problems such as inconvenient operation, shielding of illegal external data packets, and inability to communicate directly, so as to improve convenience and realize printing sharing Effect

Active Publication Date: 2020-08-18
福建汇思博数字科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the rapid development of smart mobile terminals and the wider application scenarios, in the office environment, it is necessary to use the data or files stored in the smart mobile terminal for printing; It is inconvenient to operate by copying data lines and other methods to the PC with a printer, and printing with the help of the PC.
[0003] In the office scene, in the dual network segments in the internal LAN, assuming that one of the network segments is a subnet of the other network segment, the PC with the printer installed is in one of the network segments, while the smart mobile terminal is in the other network segment. Since the mobile terminal and the PC are in two network segments respectively, when the mobile terminal is in the parent network and the PC is in the subnet, the NAT device will block illegal external data packets, and the mobile terminal in the parent network cannot directly Initiate a UDP or TCP communication request to the PC in the subnet, so it cannot communicate directly, so the mobile terminal cannot directly perform printing operations through the PC

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A printing method and system across network segments
  • A printing method and system across network segments
  • A printing method and system across network segments

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] Please refer to figure 1 , Embodiment 1 of the present invention is:

[0061] A cross-segment printing method provided by the present invention comprises the following steps:

[0062] S1: The PC in the subnet and the mobile terminal in the parent network establish a UDP communication connection through network address translation technology;

[0063] The S1 is specifically:

[0064] The PC end that is in the subnet sends the first UDP packet, the source address of the first UDP packet is the IP address of the PC end, and the destination address of the first UDP packet is the IP address of the mobile terminal, so that the NAT device Change the source address in the first UDP data packet to a preset first address to obtain the second UDP data packet, and send it in groups to the second UDP data packet; the mobile terminal in the parent network receives the second UDP data packet data packet, and send the 3rd UDP data packet to NAT equipment, the destination address of ...

Embodiment 2

[0078] Please refer to figure 2 , the second embodiment of the present invention is:

[0079] First, the PC end opens the TCP (Transmission Control Protocol) service. If the PC end is in the subnet, the PC end sends UDP (User Datagram Protocol) packets to the network segment where the POS machine is located. Since the PC is in the subnet, the NAT A communication address mapping relationship will be generated, that is, when a PC accesses a terminal with a certain IP in the parent network (upper layer) network segment, NAT will convert the source communication address of the UDP packet into a legal communication address of the upper layer network segment, and the destination communication address will remain unchanged. The data packet can reach the terminal of the upper network segment, so that the POS machine located in the parent network can receive the UDP packet of the PC, and at the same time, the POS can use the source communication address of the UDP packet to access the...

Embodiment 3

[0085] Please refer to image 3, Embodiment three of the present invention is:

[0086] A cross-segment printing system provided by the present invention includes a PC end in a subnet and a mobile terminal in a parent network, the PC end includes a memory, a processor, and a computer stored in the memory and operable on the processor. A computer program, the processor implements the following steps when executing the program:

[0087] S1: The PC in the subnet and the mobile terminal in the parent network establish a UDP communication connection through network address translation technology;

[0088] The S1 is specifically:

[0089] The PC end that is in the subnet sends the first UDP packet, the source address of the first UDP packet is the IP address of the PC end, and the destination address of the first UDP packet is the IP address of the mobile terminal, so that the NAT device Change the source address in the first UDP data packet to a preset first address to obtain th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a cross-net-segment printing method and system. The method includes the steps that UDP communication is established between a PC in a subnet and a mobile terminal in a parent net with the network address translation technology; the PC sends the IP address of the PC, a TCP port and printer information to the mobile terminal based on the UDP communication protocol; after TCP communication is established between the PC and the mobile terminal, the PC acquires a to-be-printed document and printing parameters sent by the mobile terminal; the PC prints the to-be-printed document according to the printing parameters. By means of the method, the mobile terminal in the parent net can print the document through the PC, the convenience of printing in different net segments is improved, and printer sharing between different net segments is achieved.

Description

technical field [0001] The invention relates to the technical field of mobile communication, in particular to a cross-segment printing method and system. Background technique [0002] With the rapid development of smart mobile terminals and the wider application scenarios, in the office environment, it is necessary to use the data or files stored in the smart mobile terminal for printing; Data lines and other methods are copied to the PC terminal equipped with a printer, and printing is performed by means of the PC terminal, which is inconvenient in operation. [0003] In the office scene, in the dual network segments in the internal LAN, assuming that one of the network segments is a subnet of the other network segment, the PC with the printer installed is in one of the network segments, while the smart mobile terminal is in the other network segment. Since the mobile terminal and the PC are in two network segments respectively, when the mobile terminal is in the parent ne...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/12G07G5/00H04L29/08H04L29/12
CPCG06F3/1203G06F3/1236G06F3/1253G06F3/1288G07G5/00H04L61/2503H04L67/141
Inventor 黄有焱
Owner 福建汇思博数字科技有限公司