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

Information acquisition method, processor and communication apparatus

A processor and configuration information technology, which is applied to register devices, machine execution devices, multi-program devices, etc., can solve the problem of high processor resource occupancy, improve practicability and operability, and solve resource occupancy. High, resource-saving effect

Inactive Publication Date: 2018-11-02
HUAWEI TECH CO LTD
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides an information acquisition method, a processor and a communication device. The processor only needs to read the photoelectric module information from the logic device through the high-speed bus, so that the processor occupancy rate is not affected by direct access to the low-speed bus controller and low-speed devices. So as to solve the problem of excessive processor resource occupancy

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
  • Information acquisition method, processor and communication apparatus
  • Information acquisition method, processor and communication apparatus
  • Information acquisition method, processor and communication apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0112] Embodiment 1, obtain the photoelectric module information of a single period (single polling);

[0113] see Figure 4 , Figure 4 It is a schematic diagram of an embodiment of the method 100 for information acquisition in the embodiment of this application. The method 100 includes:

[0114] 101. The processor obtains the first information, wherein the first information is used to instruct the processor to obtain the first photoelectric module information obtained by the logic device, and the first photoelectric module information is obtained by the logic device from the first photoelectric module according to the data reading rule of;

[0115] In this embodiment, the processor (specifically, it may be a CPU) first generates first information, and the first information may be obtained in the following two ways:

[0116] Mode 1, after the processor is powered on, the software program automatically generates the first information;

[0117] Method 2, the first message a...

Embodiment 2

[0176] Embodiment 2, obtaining multiple cycles of photoelectric module information (multiple polling);

[0177] see Image 6 , Image 6 It is a schematic diagram of another embodiment of the method 300 for information acquisition in the embodiment of the present application. The method 300 includes:

[0178] 301. The processor obtains first information, wherein the first information is used to instruct the processor to obtain the first photoelectric module information obtained by the logic device, and the first photoelectric module information is obtained by the logic device from the first photoelectric module according to the data reading rule of;

[0179] Step 301 is the same as above Figure 4 Step 101 in the corresponding embodiment is similar, and details are not repeated here.

[0180] 302. The processor obtains the information of the first photoelectric module from the logic device through the high-speed bus;

[0181] Step 302 is the same as above Figure 4 Step 1...

Embodiment 3

[0191] Embodiment three, experimental data.

[0192] Based on the methods described in Embodiment 1 and Embodiment 2, after testing, an SFP single board containing 48 ports uses the information acquisition method provided by this application, and the CPU occupancy rate is reduced to about 10% of the original solution. . When the electrical module visits regularly, the CPU occupation rate is reduced to about 2.5% of the original.

[0193] It should be noted that, in a reasonable scenario, the more photoelectric modules accessed through the bus agent module, the more obvious the effect of reducing the CPU occupancy rate.

[0194] Figure 7 is a schematic structural diagram of the processor 40 in the embodiment of the present application. The processor 40 includes a storage unit 420 , a processing unit 430 and a bus system 440 . Processor 40 is used to execute Figure 4-Figure 6 Relevant operations performed by the processor in the methods of each embodiment.

[0195] The s...

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 an information acquisition method. The method comprises the steps of acquiring first information by a processor, wherein the first information is used for instructing the processor to obtain first photoelectric module information obtained by a logic device, and the first photoelectric module information is obtained from a first photoelectric module by the logic device; andaccording to an instruction of the first information, obtaining the first photoelectric module information from the logic device through a high-speed bus by the processor, wherein the processor is connected with the logic device through the high-speed bus. The invention furthermore provides the processor and a communication apparatus. According to the method, the problem of excessively high resource occupancy rate due to direct access of the processor to a low-speed bus controller and a low-speed device can be effectively solved.

Description

technical field [0001] The present application relates to the technical field of communication, and in particular to an information acquisition method, processor and communication device. Background technique [0002] Network devices such as routers, transmission devices, and wireless devices need to regularly obtain information about the optical modules of the network interface through polling, such as optical power, temperature, voltage, bias current, and link status, in order to regularly monitor the working status of the optical modules. The polling method is to allow the central processing unit (CPU) to query each photoelectric module in a certain cycle in order. If there is a request for data input or output, it will perform the corresponding input or output service. If there is no data input or output output request, the CPU then inquires the next photoelectric module. [0003] At present, a common way of CPU polling mode is as follows figure 1 shown, see figure 1 ...

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 Applications(China)
IPC IPC(8): G06F9/50G06F13/12G06F13/366G06F9/30
CPCG06F9/30098G06F9/5027G06F13/124G06F13/366
Inventor 秦海林
Owner HUAWEI TECH CO LTD