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

Method for CPU temperature acquisition of set top box

A CPU temperature, set-top box technology, applied in the field of linux system service execution script access memory, to achieve the effect of shortening response time, lowering access restrictions, improving real-time performance and effectiveness

Inactive Publication Date: 2017-08-04
GUIZHOU BROADCASTING & TV INFORMATION NETWORK
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a method for collecting CPU temperature of a set-top box, which aims to solve the shortcomings of large original physical memory access restrictions and slow response time, realize real-time controllable temperature acquisition, and reduce CPU operating pressure. To overcome the deficiencies of the existing technology

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
  • Method for CPU temperature acquisition of set top box
  • Method for CPU temperature acquisition of set top box

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] As shown in the figure, a method for collecting the CPU temperature of the set-top box involved in the present invention includes the following steps: S1, a built-in temperature sensor on the CPU, detects the CPU temperature, and writes the CPU temperature into the memory of the specified address; S2, The system service executes the temperature acquisition script, puts the temperature acquisition script in the specified directory, and runs the temperature acquisition script in real time by adding the temperature acquisition script to the system service to ensure the real-time and effectiveness of the temperature; S3, the temperature acquisition script accesses the memory, through the system The built-in temperature acquisition script bypasses the / dev / mem / mechanism, accesses the system memory to obtain the system temperature, saves the temperature in the specified system attribute, obtains the system temperature through the specified attribute access, and provides access...

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 relates to a method for CPU temperature acquisition of a set top box, and belongs to the field of script execution and memory access of a linux system service. The method comprises the steps that the value of physical memory access through temperature script acquisition is written into system properties; execution of the temperature script acquisition is added into a system service, and the system service is controlled in an application layer; the value of the system properties is read to acquire CPU temperature in real time. By means of the method, the access restrictions of CPU temperature acquisition are reduced, response time is shortened, and the real-time performance and the validity of CPU temperature acquisition of the set top box are improved.

Description

technical field [0001] The invention relates to the field of linux system service execution script access memory, in particular to a method for collecting CPU temperature of a set-top box. Background technique [0002] Linux's access to the memory address is completed through the full image dev / mem / of the physical memory, through open(" / dev / mem", O_RDWR|O_SYNC), then mmap, and then use the mmap address to access the physical memory. The response time of this method is slow because of the need for context switching to pass messages and actions between the user and the hardware. And because of the protection of the memory space, only privileged users can access the physical memory in this way, and the access restrictions are large. In addition, in the current collection and acquisition of the CPU temperature of the set-top box, the CPU often cannot be controlled at the application layer, and the operating pressure of the CPU is high. Contents of the invention [0003] The...

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): G06F11/30G06F11/22
CPCG06F11/2236G06F11/3058G06F11/3089
Inventor 曾敬鸿朱迪付守伟牟娇
Owner GUIZHOU BROADCASTING & TV INFORMATION NETWORK