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

An information processing method and electronic device

An information processing method and technology for electronic equipment, applied in the field of information processing, can solve the problems of low bus usage efficiency, waste of bus cycles, etc., and achieve the effect of improving bus usage efficiency and improving bus usage efficiency.

Active Publication Date: 2020-07-24
LENOVO (BEIJING) LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides an information processing method, which is applied to an electronic device. The solution in the embodiment of the present application can effectively solve the problem that the electronic device bus arbitration scheme in the prior art uses a pseudo-master device to maintain the bus, and a certain bus cycle is blocked. Wasted, resulting in the technical problem of low bus usage efficiency, to achieve the technical effect of improving and improving the bus usage efficiency

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
  • An information processing method and electronic device
  • An information processing method and electronic device
  • An information processing method and electronic device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] In a specific implementation process, the information processing method can be applied to an electronic device, and the electronic device can be a mobile phone, a tablet computer, a notebook computer, or other electronic devices, and no examples are given here. In the above-mentioned electronic device, a system-on-chip (SoC) or a microcomputer system and other computer systems may be integrated, which is not specifically limited in this application.

[0068] Please refer to figure 1 , an embodiment of the present invention provides an information processing method, including:

[0069] S101: Obtain N master devices connected to the bus in the electronic device;

[0070] S102: Identify the N master devices, and identify one of the N master devices as a first-type bus master according to a predetermined rule, where N is an integer greater than or equal to 1;

[0071] S103: Detect the state of the bus, and obtain a detection result;

[0072] S104: When the detection resu...

specific Embodiment approach

[0088] After the processor has identified the default bus master, the specific implementation process also includes step S103: detecting the state of the bus and obtaining a detection result, please refer to Figure 5 , the specific implementation is as follows:

[0089] S501: Judging whether the i-th master device among the N master devices has occupied the bus, and obtaining a first sub-judgment result, wherein, i is any integer between 1 and N;

[0090] S502: Judging whether there is a j-th master device applying for the bus among the N master devices, and obtaining a second sub-judgment result, wherein j is any integer between 1 and N different from i;

[0091] S503: Obtain a judgment result based on the first sub-judgment result and the second sub-judgment result;

[0092] Wherein, when the result of the first sub-judgment and / or the result of the second sub-judgment is negative, it indicates that the bus is in the idle state.

[0093]In the specific implementation proc...

Embodiment 2

[0100] Please refer to Image 6 , the embodiment of the present application also provides an electronic device, including:

[0101] Processor 10, configured to obtain N master devices connected to the bus in the electronic device; and to identify the N master devices, and to select one of the N master devices according to a predetermined rule Identified as the first type of bus master, where N is an integer greater than or equal to 1;

[0102] A bus arbiter 20, configured to detect the state of the bus and obtain a detection result; and to authorize the bus to the first type of bus master when the detection result indicates that the bus is in an idle state .

[0103] Optionally, the processor 10 is specifically configured to: determine the first master device that executes the first preset program with the highest calling frequency value from the N master devices; identify the first master device as the first master device A class of bus masters.

[0104] Optionally, the p...

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 processing method and a piece of electronic equipment, wherein the method comprises the following steps: acquiring N primary devices connected to a bus of the electronic equipment; marking the N primary devices, and marking one of the N primary devices as a first class bus main primary device according to a preset rule; detecting the state of the bus to acquire a detection result; authorizing the bus to the first class bus primary device when the detection result shows that the bus is at an idle state. The provided method is used for solving the technical problem of low use efficiency of the bus in the bus arbitration scheme for the electronic equipment in the prior art, and the technical effect of improving and increasing the use efficiency of the bus is achieved.

Description

technical field [0001] The invention relates to the field of electronic technology, in particular to an information processing method and electronic equipment. Background technique [0002] With the continuous progress of science and technology, SoC (System-on-Chip) has become an important direction of today's digital integrated circuit design. The existence of multiple masters will lead to bus arbitration problems. In order to solve the problem of bus arbitration, a pseudo-master (or master dummy) is generally set. Since the pseudo-master will not initiate bus operations, the bus can be maintained In the idle state, and then maintain the bus control signal when no master device applies for the bus. [0003] In the process of implementing the technical solutions in the embodiments of the present application, the inventors of the present application found that the prior art has at least the following technical problems: [0004] Since the false master device needs to occupy...

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): G06F13/38
Inventor 王海洋张喆鹏谢巍纪纲
Owner LENOVO (BEIJING) 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