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.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com