Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Multi-core cpu load balancing method and device

A load balancing and multi-core technology, applied in the direction of multi-programming devices, program control design, instruments, etc., can solve problems such as inability to effectively achieve multi-core CPU load balancing, and achieve the effect of improving capabilities

Active Publication Date: 2018-12-07
ZHEJIANG UNIVIEW TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a multi-core CPU load balancing method and device to solve the problem that load balancing between multi-core CPUs cannot be effectively realized in the prior art, and further improve the ability of network equipment to process media stream data in parallel

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
  • Multi-core cpu load balancing method and device
  • Multi-core cpu load balancing method and device
  • Multi-core cpu load balancing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] To facilitate the understanding of the present invention, specific embodiments will be further explained below in conjunction with the accompanying drawings, and the embodiments do not constitute a limitation on the protection scope of the present invention.

[0023] The technical method provided by the embodiments of the present invention can be applied to the fields of multimedia communication technologies such as the video surveillance field and the video-on-demand field, see figure 1 , Is a schematic diagram of an application scenario of an embodiment of the present invention:

[0024] figure 1 Each media stream sending end communicates with a network device through a network. In the present invention, the network device has a multi-core CPU. Among them, in the field of video surveillance, the media stream sending end can be IPC (IP Camera, network camera), the network device can be NVR (Network Video Recorder, network video recorder) equipment, or DVR (Digital Video Reco...

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 multicore CPU (Central Processing Unit) load balancing method and device. The method comprises the following steps: receiving media stream data sent from each media stream transmitting end by network equipment; analyzing the media stream data sent from each media stream transmitting end, and obtaining a destination port of the media stream data of each media stream transmitting end; according to the destination port, obtaining a processing CPU corresponding to the media stream data of each media stream transmitting end, wherein the processing CPU corresponding to the media stream data is a determined CPU with the minimum load when the media stream data of each media stream transmitting end is subjected to CPU processing time consumption prediction in network equipment after the network equipment carries out the CPU processing time consumption prediction on the media stream data sent from a plurality of media stream transmitting ends within unit time; and using the processing CPU to process the media stream data. When the multicore CPU load balancing method and device is applied, the load balancing between the multicore CPUs can be effectively realized, and the capability of the network equipment to carry out parallel processing on the media stream data is improved.

Description

Technical field [0001] The present invention relates to the technical field of multimedia communication, in particular to a method and device for multi-core CPU load balancing. Background technique [0002] In the field of multimedia communication technology, the data that needs to be transmitted or processed is very large, so the data throughput capability of network devices is high. For network devices that include multi-core CPUs, improving the load balance between multi-core CPUs is an effective way to increase the data throughput of network devices. [0003] In the prior art, a network device can calculate the hash value of the source IP address, destination IP address, and port number of a data packet by using a hash function, and send data packets with different hash values ​​to the receiving data packet queue of the corresponding CPU. In the process, the CPU receives and processes the data packet to realize the balanced processing of the data packet among the multi-core CP...

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): G06F9/50
CPCG06F9/5083G06F2209/5019
Inventor 蒋飞扬何成成张磊
Owner ZHEJIANG UNIVIEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products