Method and device for polling IO modules, storage medium and electronic device
A polling method and polling technology, applied in the field of mobile communications, can solve problems such as long polling time and low efficiency, and achieve the effect of improving polling efficiency and saving polling time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] The method embodiment provided in Embodiment 1 of the present application may be executed in a mobile terminal, a computer terminal, or a similar computing device. Taking running on a mobile terminal as an example, figure 1 It is a block diagram of the hardware structure of the mobile terminal of the polling method of the IO module in the embodiment of the present invention. like figure 1 As shown, the mobile terminal 10 may include one or more ( figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data. Optionally, the above-mentioned mobile terminal also A transmission device 106 for communication functions as well as input and output devices 108 may be included. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and does not limit the st...
Embodiment 2
[0039] In this embodiment, a polling device for an IO module is also provided, and the device is used to implement the above embodiments and preferred implementation modes, and those that have already been described will not be repeated. As used below, the term "module" may be a combination of software and / or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
[0040] Figure 4 It is a structural block diagram of the polling device of the IO module according to the embodiment of the present invention, such as Figure 4 As shown, the device is applied to the main control module, including: a first sending module 40, configured to send a first polling request to the first IO module, wherein the main control module is connected to the first data bus and the second data bus at t...
Embodiment 3
[0046] An embodiment of the present invention also provides a storage medium, in which a computer program is stored, wherein the computer program is set to execute the steps in any one of the above method embodiments when running.
[0047] Optionally, in this embodiment, the above-mentioned storage medium may be configured to store a computer program for performing the following steps:
[0048] S1, the main control module sends a first polling request to the first IO module, wherein the main control module is connected to the first data bus and the second data bus at the same time, and the first IO module is connected to the first data bus;
[0049] S2. While waiting for data feedback from the first IO module, the main control module sends a second polling request to the second IO module, wherein the second IO module is connected to the second data bus.
[0050] Optionally, the storage medium is also configured to store a computer program for performing the following steps:
...
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