A method and device for realizing data processing of multi-process shared port

A data processing and multi-process technology, applied in the Internet field, can solve problems such as port usage conflicts, and achieve the effect of reducing waste

Inactive Publication Date: 2018-02-06
WUXI TVMINING MEDIA SCI & TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The invention provides a data processing method and device for realizing multi-process shared port, which is used to solve the problem of port use conflict when multiple processes are started, so that there is no need to set an independent receiving port for each process; network resources and computer resources are reduced. waste of system resources

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 method and device for realizing data processing of multi-process shared port
  • A method and device for realizing data processing of multi-process shared port
  • A method and device for realizing data processing of multi-process shared port

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The preferred embodiments of the present invention will be described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

[0056] The embodiment of the present disclosure provides a data processing method for realizing multi-process shared port, which is used to improve the efficiency of data processing for realizing multi-process shared port and realize fast video search. like figure 1 As shown, the method includes steps S10-S30:

[0057] In step S10, a network notification message is received through a designated shared port and stored in a message queue. In one embodiment, the message queue is a circular queue. After the network notification message is received through the shared port, it is sequentially stored in the message queue; and in an embodiment of the present disclosure, a...

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 discloses a data processing method and device for realizing multi-process shared ports, which are used to reduce the waste of network resources and computer system resources. The method includes: receiving network notification messages through a designated shared port and storing them in a message queue; the application process continuously polls the message queue to obtain unprocessed network notification messages; The service process corresponding to the obtained network notification message. This solution enables different processes in the same computer to share the same port to receive network notification messages, which solves the problem of port usage conflicts when multiple processes are started, so that there is no need to set an independent receiving port for each process, reducing network resources and computer systems. Waste of resources.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for realizing data processing of a multi-process shared port. Background technique [0002] After the development of Internet technology in recent years, in the same network application system, it usually happens that multiple application processes run on the same computer at the same time and need to receive the same notification message. Usually, an application process opens After the network port is set, other programs will not be able to use this port, so a network port conflict occurs. In the prior art, network port conflicts are usually avoided by configuring a network port for each application program process; but this solution makes the same network notification occupy a large amount of network bandwidth and computer network ports, resulting in network resources and computer systems. Waste of resources. Contents of the invention [0003] The i...

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): H04L12/863H04L29/08
Inventor 张俊伟
Owner WUXI TVMINING MEDIA SCI & TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products