Dynamic network card driver management system, method, device and equipment for intelligent terminal

Through the dynamic network card driver management system of the smart terminal, the CPU occupancy rate and network adapter card status are detected in real time, and the IPA queue and core processor are dynamically adjusted, which solves the problems of high CPU power consumption and network speed drop, and achieves the following steps Efficient CPU resource utilization and power consumption optimization.

CN115473757BActive Publication Date: 2024-12-13SPREADTRUM COMMUNICATION (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211202455.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-29
Publication Date
2024-12-13
Estimated Expiration
2042-09-29

AI Technical Summary

Technical Problem

The prior art is difficult to effectively reduce the CPU power consumption of smart terminal devices while meeting the network rate. When the CPU occupancy rate is high, bottlenecks may occur when processing network data, resulting in a decrease in network rate and an increase in power consumption when large core processing is interrupted. .

Method used

Design a dynamic network card driver management system for intelligent terminals, detect CPU occupancy and network adapter card status in real time through IPA queue manager, and dynamically match or unbind core processors with different performances to improve CPU resource utilization and reduce Power consumption, using scene judges and network speed measuring devices to realize single/multi-queue mode switching of IPA queues.

Benefits of technology

On the premise of meeting the network rate, greatly improve CPU resource utilization, reduce power consumption, avoid network rate drop caused by excessive CPU occupancy, and flexibly adjust CPU binding strategies in different network scenarios to optimize power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115473757B_ABST
    Figure CN115473757B_ABST
Patent Text Reader

Abstract

The present invention provides a dynamic network card driver management system for an intelligent terminal, comprising: at least one CPU including multiple core processors, a network adapter card, and an IPA queue manager; wherein the IPA queue manager is used to dynamically match and bind and / or unbind the network card driver IPA queue with the core processors of different performances according to the states of the multiple core processors, the state of the network adapter card, and the state of the IPA queue, thereby improving CPU resource utilization and reducing power consumption without affecting the network rate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network card driver management of intelligent terminal equipment, and in particular to a dynamic network card driver management system, method, device and equipment for intelligent terminals. Background Art

[0002] With the development of multiple technologies, mobile smart devices will be packaged with CPUs of different performances to complete different tasks. On the one hand, a CPU with a higher architecture level will bring better performance, but on the other hand, it will also bring higher power consumption. For example, at the same network rate of 1.6 Gbps, although one Cortex A76 or two Cortex A55s can meet the requirements of this network rate, if both are calculated at a main frequency of 0.65 Hz, the power consumption of the A76 core is 5 times greater than that of the A55. Here we only take the core processors of two types of CPUs with different performances as examples, and are not limited to the core processors of these two types of CPU architectures. The technical problem to be solved by the present invention is to minimize power consumption while meeting the operating network rate.

[0003] With the advent of the 5G era and the development of multi-CPU technology, the requirements for network speed are getting higher and higher, but the optimization of power consumption is also becoming more and more important. Especially for products like mobile phones, if you want to run a network speed of 1.6Gbps, if you directly use a CPU with an architecture like A76 to process network packets, although it is beneficial to the CPU occupancy rate, in fact, a CPU with an architecture like A55 can also meet this network speed requirement, and the power consumption is lower, and the user experience will be better.

[0004] The prior art of the present invention is to bind the interrupt of IPA (IP packet hardware accelerator) to the multi-core of CPU one by one, and trigger the corresponding interrupt when there is data in the queue of IPA, and call the corresponding CPU to process the interrupt.

[0005] The above existing solutions have two disadvantages:

[0006] 1. When the CPU usage of a core processor of a CPU is already very high due to the occupation of other threads, when a large amount of network data arrives, this CPU still has to handle related interrupts, and it will not be able to handle it all, affecting the network rate.

[0007] 2. When data comes from the queue of the IPA corresponding to the large core, the interrupt corresponding to the large core is triggered. At this time, the large core handles the interrupt, and the power consumption directly increases a lot. Summary of the invention

[0008] Based on the above situation, the present invention aims to design a solution that can automatically and dynamically handle the network card driver switching IPA single / multi-queue pairing of different core processors. It can solve the two technical problems of the above-mentioned prior art at the same time, and thus can greatly improve the CPU resource utilization and reduce power consumption without affecting the network speed.

[0009] In a first aspect, an embodiment of the present invention provides a dynamic network card driver management system for an intelligent terminal, comprising: at least one CPU including multiple core processors, a network adapter card, and an IPA queue manager; wherein the IPA queue manager is used to dynamically match and bind and / or unbind the network card driver IPA queue with the core processors of different performance (main frequency) according to the status of the multiple core processors, the status of the network adapter card, and the status of the IPA queue.

[0010] The beneficial effect of the dynamic network card driver management system for smart terminals provided by the embodiment of the present invention is that the present invention aims to dynamically, flexibly and intelligently bind the IPA queue to the core processor of the CPU by real-time detection of CPU occupancy, network adapter card mode, network speed, etc., thereby greatly improving CPU resource utilization and reducing CPU power consumption while meeting network speed.

[0011] In a further embodiment, the network adapter card comprises a (wireless) network adapter card.

[0012] Furthermore, in the system, the intelligent terminal includes a smart phone, a tablet computer, a handheld computer, a PC, a cellular phone, a PDA, a wearable device, a smart home device, a car computer, a game console, an AR device or a VR device.

[0013] In a further implementation, the system includes a scene judger. When the IPA is in a single queue, the scene judger needs to judge whether the IPA at this time is bound to a low-performance core processor or a high-performance core processor; when the IPA is in multiple queues, the scene judger needs to judge whether the IPA at this time is bound to multiple low-performance core processors or to both a low-performance core processor and a high-performance core processor.

[0014] In a further implementation, the CPU includes at least 3 high-performance core processors, such as CortexA76, and 4 low-performance core processors, such as CortexA55.

[0015] In some embodiments, the system further includes a network speed measuring device, and the network speed measuring device is used to measure the measured network speed of the network adapter card, that is, the real-time network speed at the measurement moment.

[0016] In some embodiments, the system further includes a CPU occupancy rate measuring device, and the CPU occupancy rate measuring device is used to measure the timing occupancy rate of all the core processors.

[0017] In some embodiments, the system further includes an IPA (network card) mode determiner, which is used to determine whether the IPA is in bypass mode or normal mode. Bypass can be understood as a direct mode, where network data is sent directly to the application processor (application process, ap) without going through hardware routing. Normal mode is an ordinary mode, which requires IPA hardware to do some routing. Bypass mode is mainly for mobile phone Internet access, and normal mode is for USB sharing scenarios.

[0018] Furthermore, the IPA queue manager is also used to switch the IPA queue and the binding relationship with the core processor in the corresponding CPU according to the measurement results of the network speed meter and the mode determiner.

[0019] In some other embodiments, the IPA queue manager is further used to switch the binding relationship between the IPA queue and the core processor corresponding to the low occupancy rate according to the measurement result of the CPU occupancy rate meter.

[0020] In the second aspect, an embodiment of the present invention also provides a dynamic network card driver management method for a smart terminal, which is applied to a smart terminal device, wherein the smart terminal device includes: a network adapter card and a CPU containing multiple core processors; a network speed meter is used to measure the measured network speed of the network adapter card, and provide a first judgment basis for the IPA queue manager; an IPA (network card) mode judger is used to judge the mode of the network adapter card, and provide a second judgment basis for the IPA queue manager; a CPU occupancy rate meter is used to measure the measured occupancy of the CPU, and provide a third judgment basis for the IPA queue manager; a scene judger is used to judge the current scene state of one of the four states; the IPA queue manager is used to dynamically switch the single / multi-queue mode of the IPA queue according to the current scene state and the first, second and third judgment bases, and bind it to the matching core processor.

[0021] It is worth mentioning that the method steps of obtaining the first judgment basis, obtaining the second judgment basis, obtaining the third judgment basis and obtaining the current scene state in the above steps do not strictly limit the order of implementation or the relationship between the previous and the next implementation.

[0022] Furthermore, during the initialization phase, the single queue mode of IPA is used, and the interrupt is bound to a low-performance core processor.

[0023] In some other embodiments, the current scene state includes an IPA single queue bound to a certain low-performance core processor, an IPA single queue bound to a certain high-performance core processor, an IPA multiple queues bound to multiple low-performance core processors in sequence, or an IPA multiple queues bound to both multiple low-performance core processors and multiple high-performance core processors.

[0024] In some further embodiments, the first judgment basis provided by the network speed measuring device is a comparison result between the network speed and a set first threshold value, such as 1 Gbps.

[0025] In some further embodiments, the network card mode determiner provides the second determination basis as that the IPA is in bypass mode or normal mode.

[0026] In some further embodiments, the third judgment basis provided by the CPU occupancy rate measuring device is a comparison result between the CPU occupancy rate and a set second threshold value, such as 70%.

[0027] In a third aspect, the present invention provides a management device for a dynamic network card driver, the device comprising:

[0028] A network speed measuring device, used to measure the network speed of the network adapter card;

[0029] A CPU occupancy rate measuring device, comprising a plurality of core processor CPU occupancy rate measuring devices, for measuring the timed occupancy rates of all the core processors;

[0030] A mode determiner, used to determine whether the IPA is in bypass mode or normal mode;

[0031] A scene determiner, used to determine the scene state of any of the core processors and the bound IPA queues;

[0032] The IPA queue manager is used to dynamically match and bind and / or unbind the network card driver IPA queue with the core processors of different performances according to the status of the multiple core processors, the status of the network adapter card, and the status of the IPA queue.

[0033] In a fourth aspect, an embodiment of the present invention further provides a dynamic IPA queue management device, including: the management device includes a CPU of multiple core processors, a network adapter card and a memory, the memory is used to store a computer program; the CPU is used to execute the computer program stored in the memory, so that the management device can implement any possible design method of the second aspect above. The management device is an intelligent terminal or a network device.

[0034] In the fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program runs on a computer-readable storage medium comprising a CPU and a network adapter card, the computer-readable storage medium executes any possible design method of the second aspect above.

[0035] In a sixth aspect, an embodiment of the present invention further provides a method comprising a computer program product, which, when the computer program product runs on a product, enables the product to execute any possible design method of the second aspect above.

[0036] For the beneficial effects of the second to sixth aspects, reference may be made to the description of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0038] Figure 1 A schematic diagram of a dynamic network card driver management system architecture of an intelligent terminal provided by an embodiment of the present invention;

[0039] Figure 2 A schematic diagram of a process flow of a dynamic network card driver management method for an intelligent terminal provided by an embodiment of the present invention;

[0040] Figure 3 A schematic diagram of the structure of a dynamic network card driver management device provided by an embodiment of the present invention;

[0041] Figure 4 A schematic diagram of a process flow of a dynamic network card driver flexibly binding a core processor provided by an embodiment of the present invention;

[0042] Figure 5 A schematic diagram of a hardware configuration block of an intelligent terminal provided by an embodiment of the present invention;

[0043] Figure 6 A schematic diagram of the structure of a dynamic IPA queue management device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0044] The technical solutions in the embodiments of the present invention are described below in conjunction with the accompanying drawings in the embodiments of the present invention. Among them, in the description of the embodiments of the present invention, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear contrary indication in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more than two (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0045] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.

[0046] In the embodiments of the present invention, words such as "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present invention should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.

[0047] The dynamic network card driver management system 200 of the intelligent terminal provided in the embodiment of the present invention is as follows: Figure 1 The present invention provides a dynamic network card driver management system for a smart terminal.

[0048] At least one CPU 210 including multiple core processors, a network adapter card 220, and an IPA queue manager 110; wherein the IPA queue manager 110 is used to determine the status of the multiple core processors, the status of the network adapter card 220, and the status of the IPA (IP accelerator) queue;

[0049] , dynamically matching the network card driver IPA queue to bind and / or unbind the core processors with different performance (main frequency). An embodiment provided by the present invention is specifically that the 8 cores of the Exynos9820CPU include 2 M4 core processors, 2 high-performance CortexA76 core processors, and 4 low-performance CortexA55 core processors.

[0050] In the system, the intelligent terminal further includes a smart phone, a tablet computer, a handheld computer, a PC, a cellular phone, a laptop computer, a PDA, a wearable device, a smart home device, a car computer, a game console, an AR device or a VR device.

[0051] In some possible embodiments, based on Figure 1 or Figure 3 The dynamic network card driver management system and the dynamic network card driver management device shown in the embodiment of the present invention provide a flow chart of a method for managing a dynamic network card driver of an intelligent terminal, such as Figure 2 As shown, in the initialization phase S100, the single queue mode of IPA is used, and the interrupt is bound to a core processor CPU0, such as a certain A55.

[0052] A method for managing a dynamic network card driver for an intelligent terminal is applied to an intelligent terminal device, wherein the intelligent terminal device comprises: a network adapter card and a CPU comprising multiple core processors; the management method further comprises step S200: a network speed measuring device is used to measure the measured network speed of the network adapter card, and provide a first judgment basis for the IPA queue manager; step S300: a mode judge is used to judge the mode of the network adapter card, and provide a second judgment basis for the IPA queue manager; step S400: a CPU occupancy rate measuring device is used to measure the measured occupancy rate of the CPU, and provide a third judgment basis for the IPA queue manager; step S500: a scene judge is used to judge the current scene state among four states; the IPA queue manager is used to dynamically switch the single / multi-queue mode of the IPA queue according to the current scene state and the first, second and third judgment bases, and bind with the matching core processor.

[0053] It is worth mentioning that the method steps of the above steps S200\S300 and S400 do not strictly limit the order of implementation. For example, the third judgment basis of occupancy data can be obtained first, and then the first judgment basis of network speed data can be obtained. There is no emphasis on the order of these current scene states and the first, second and third judgment bases. They can be obtained or measured at the same time or in sequence.

[0054] In some embodiments, the dynamic network card driver management method includes: the current scene state includes an IPA single queue and is bound to a certain low-performance core processor, an IPA single queue and is bound to a certain high-performance core processor, an IPA multiple queue and is bound to multiple low-performance core processors in sequence, or an IPA multiple queue and is bound to multiple low-performance core processors and multiple high-performance core processors. The scene judger is used to determine the current scene state from the above four states.

[0055] In a possible case, the dynamic network card driver management method includes: the first judgment basis provided by the network speed measuring device is a comparison result of the network speed and a set first threshold, specifically, 1 Gbps.

[0056] In a possible implementation manner, the dynamic network card driver management method includes: a network card mode determiner provides the second determination basis that the IPA is in bypass mode or normal mode.

[0057] In a possible implementation, the third judgment basis provided by the CPU occupancy rate measuring device is a comparison result between the CPU occupancy rate and a set second threshold value, such as 70%.

[0058] In addition, in a possible implementation, as Figure 4 As shown in the flowchart of a dynamic network card driver flexibly binding a core processor provided by an embodiment of the present invention, it includes a method for managing a dynamic network card driver for a smart terminal. In the initialization phase, the single queue mode of IPA is used, and the interrupt is bound to a certain kernel core processor CPU0, such as a certain A55. CPU0~CPU1 are the serial numbers of CPUs with different performances, and core0~core6 are the serial numbers of the core processors. IPA (IP accelerator) is a hardware accelerator for IP packets. In another embodiment provided by the present invention, a CPU includes 4 A55 core processors and 3 A76 core processors.

[0059] When there is data transmission, it is traversed once per second. At this stage, there are 4 states: IPA single queue and bound to a certain A55, IPA single queue and bound to a certain A76, IPA multiple queues and bound to 4 A55s in sequence, IPA multiple queues and bound to both A55 and A76. There are mainly 4 states: 1. IPA is a single queue and bound to a certain A55, 2. IPA is a single queue and bound to A76, IPA multiple queues and bound to 4 A55s in sequence, and IPA multiple queues and bound to both A55 and A76.

[0060] Scenario status 1. Traversing the program, it is found that IPA is a single queue and bound to a certain A55

[0061] (1) When the network rate is less than 1 Gbps, a core processor with low occupancy is selected from the four A55s and bound to the interrupt.

[0062] (2) When the network rate is less than 1 Gbps but the occupancy of each core is high or the network rate is greater than 1 Gbps, if it is in bypass mode, switch to IPA multi-queue and bind to four A55s in sequence. If it is in normal mode, switch to IPA single queue and bind to A76.

[0063] Scene state 2. Traversing the program, it is found that IPA is a single queue and bound to A76 at this time

[0064] (1) When the network rate is less than 1 Gbps, select a CPU with low occupancy among the four A55s and bind it to the interrupt.

[0065] (2) When the network rate is greater than 1 Gbps, if it is in bypass mode, switch to IPA multi-queue and bind to the four A55s in sequence. If it is in normal mode, traverse the four A55s and select an A55 with the lowest occupancy rate to bind to the interrupt.

[0066] Scene state 3. Traversing the program, it is found that IPA has multiple queues and is bound to 4 A55s in sequence

[0067] (1) When the network rate is less than 1 Gbps, it is cut into a single queue and a CPU with low occupancy is selected from the four A55s to be bound to the interrupt.

[0068] (2) When the network rate is greater than 1 Gbps, if it is in normal mode, switch to single queue, traverse the occupancy of A76, select a CPU with the lowest occupancy and bind it to the interrupt; if it is in bypass mode, bind it to A55 and A76 according to the occupancy.

[0069] Scene state 4. Traversing the program, it is found that IPA has multiple queues and is bound to both A55 and A76

[0070] (1) When the network rate is less than 1 Gbps, it is cut into a single queue and a CPU with low occupancy is selected from the four A55s to be bound to the interrupt.

[0071] (2) When the network rate is greater than 1 Gbps, if it is in bypass mode, and the occupancy rate of A76 is less than 70% and the occupancy rates of the four A55s are all less than 70%, maintain the IPA multi-queue and bind the four A55s and the four interrupts in sequence; if it is in normal mode, switch to the IPA single queue and bind it to A76.

[0072] Therefore, the overall idea of ​​flexible multi-queue is to flexibly bind interrupts to different CPUs according to the network rate and CPU occupancy. For the user environment, if there is a high network rate upload or download, it may be switched to a CPU with a higher main frequency; if it is just a normal WeChat chat, it will be switched back to a CPU with a lower main frequency.

[0073] It is worth mentioning that Bypass mode can be understood as a direct mode, where network data is sent directly to the core processor without going through hardware routing, and normal mode is a normal mode that requires IPA hardware to do some routing. Bypass mode is mainly for mobile Internet access, and normal mode is for USB sharing scenarios. Data is also transferred from the network adapter card through the network card driver, and then transferred to the USB to the PC or smart hardware.

[0074] In a further embodiment, Figure 3 As shown in the structural diagram of a dynamic network card driver management device provided by an embodiment of the present invention, a dynamic network card driver management device 100 includes:

[0075] A network speed measuring device 150, used to measure the network speed of the network adapter card;

[0076] The CPU occupancy rate measuring device 140 includes a plurality of core processor CPU occupancy rate measuring devices, and is used to measure the time-measured occupancy rates of all the core processors;

[0077] A mode determiner 130, used to determine whether the IPA is in bypass mode or normal mode;

[0078] A scene determiner 120, used to determine the scene state of any of the core processors and the bound IPA queues;

[0079] The IPA queue manager 110 is used to dynamically match and bind and / or unbind the network card driver IPA queue with the core processors of different performances according to the status of the multiple core processors, the status of the network adapter card, and the status of the IPA queue.

[0080] In a possible implementation, the scenario judger 120 needs to judge whether the IPA at this time is bound to a low-performance core processor or a high-performance core processor; when the IPA is in multiple queues, the scenario judger needs to judge whether the IPA at this time is bound to multiple low-performance core processors or to both a low-performance core processor and a high-performance core processor.

[0081] The system also includes a network speed measuring device, which is used to measure the network speed of the network adapter card and provide a first judgment basis for the IPA queue manager.

[0082] In a possible implementation, the system further includes a CPU occupancy rate measuring device, which ergodicly measures the time-measured occupancy rates of all the core processors to provide a third judgment basis for the IPA queue manager.

[0083] In a possible implementation, the system further includes an IPA (network card) mode determiner, which is used to determine whether the mode of the IPA at that time is bypass mode or normal mode, and provide a second judgment basis for the IPA queue manager.

[0084] In a possible implementation manner, the IPA queue manager in the system is further used to dynamically switch the IPA queue and the binding relationship with the corresponding CPU according to the measurement results of the network speed meter and the mode determiner.

[0085] In other embodiments, Figure 5 A hardware configuration block diagram of the intelligent terminal 30 is shown.

[0086] The intelligent terminal 30 includes a tuner and demodulator 310, a mobile communication module 320, and a wireless communication module 330, which includes a (wireless) network adapter card, a collector 340, an external device interface 350, a controller 360, a display 370, an audio output interface 380, a memory, a power supply, and a user interface including at least one of a USB interface.

[0087] The mobile communication module 320 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the smart terminal 30. The mobile communication module 320 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 320 can receive electromagnetic waves by an antenna, and filter, amplify, and process the received electromagnetic waves, and transmit them to the tuner and demodulator 310 for demodulation. The mobile communication module 320 can also amplify the signal modulated by the tuner and demodulator 310, and convert it into electromagnetic waves for radiation through the antenna. In some embodiments, at least some of the functional modules of the mobile communication module 320 can be set in the controller 360. In some embodiments, at least some of the functional modules of the mobile communication module 320 can be set in the same device as at least some of the modules of the controller 360.

[0088] The wireless communication module 330 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the smart terminal 30. The wireless communication module 330 can be one or more devices integrating at least one communication processing module. The wireless communication module 330 receives electromagnetic waves via an antenna, modulates and filters the electromagnetic wave signals, and sends the processed signals to the controller 360. The wireless communication module 330 can also receive the signal to be sent from the controller 360, modulate the frequency, amplify it, and convert it into electromagnetic waves for radiation through the antenna.

[0089] In some other embodiments, the collector 340 is used to collect signals of the external environment or external interaction. For example, the collector 340 includes a light receiver, a sensor for collecting the intensity of ambient light; or, the collector 340 includes an image collector, such as a camera, which can be used to collect external environment scenes, user attributes or user interaction gestures; or, the collector 340 includes a sound collector, such as a microphone, etc., for receiving external sounds.

[0090] In some other embodiments, the external device interface 350 may include, but is not limited to, any one or more of the following interfaces: a high-definition multimedia interface (HDMI), an analog or digital high-definition component input interface (component), a composite video input interface (CVBS), a USB input interface, an RGB port, etc. It may also be a composite input / output interface formed by the above multiple interfaces.

[0091] In some other embodiments, the controller 360 and the tuner-demodulator 310 may be located in different separate devices, that is, the tuner-demodulator 310 may also be located in an external device of the main device where the controller 360 is located, such as an external set-top box.

[0092] In some other embodiments, the controller 360 controls the operation of the display device and responds to user operations through various software control programs stored in the memory. The controller 360 controls the overall operation of the intelligent terminal 30. For example, in response to receiving a user command for selecting a UI object to be displayed on the display 370, the controller 360 can perform operations related to the object selected by the user command.

[0093] In some possible embodiments, the controller 360 includes at least one of a central processing unit (CPU), a video processor, an audio processor, a graphics processing unit (GPU), RAM, ROM, a first interface to an nth interface for input / output, a communication bus, etc.

[0094] In some possible embodiments, the intelligent terminal may include more than one central processing unit (CPU), which is used to execute operating system and application instructions stored in the memory, and to execute various applications, data and content according to various interactive instructions received from external input, so as to finally display and play various audio and video content. The central processing unit (CPU) may further include multiple core processors. For example, it may include a main processor and one or more sub-processors, or it may include two high-frequency core processors and four low-frequency core processors.

[0095] In some embodiments, the graphics processor GPU is used to generate various graphic objects, such as at least one of icons, operation menus, and user input command display graphics. The graphics processor includes an operator, which performs operations by receiving various interactive instructions input by the user and displays various objects according to display attributes; and also includes a renderer, which renders various objects obtained based on the operator, and the rendered objects are used to be displayed on the display.

[0096] In some embodiments, the video processor is used to receive an external video signal and perform at least one of the following video processing operations, such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis, according to the standard codec protocol of the input signal, to obtain a signal that can be directly displayed or played on the smart terminal 30.

[0097] In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image synthesis module, a frame rate conversion module, and a display formatting module. The demultiplexing module is used to demultiplex the input audio and video data stream. The video decoding module is used to process the demultiplexed video signal, including decoding and scaling. The image synthesis module, such as an image synthesizer, is used to superimpose and mix the graphical user interface signal generated by the graphics generator according to the user input or itself with the scaled video image to generate an image signal for display. The frame rate conversion module is used to convert the input video frame rate. The display formatting module is used to receive the video output signal after frame rate conversion and change the signal to conform to the display format signal, such as outputting RGB data signals.

[0098] In some embodiments, the user may input a user command in a graphical user interface displayed on the display 370, and the user input interface receives the user input command through the graphical user interface. Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through a sensor.

[0099] In some embodiments, "user interface" is a medium interface for interaction and information exchange between an application or operating system and a user, which realizes the conversion between the internal form of information and the form acceptable to the user. A graphical user interface refers to a user interface related to computer operation that is displayed in a graphical manner. It can be an interface element such as an icon, window, control, etc. displayed on the display screen of an electronic device, wherein a control may include at least one of the visual interface elements such as an icon, button, menu, tab, text box, dialog box, status bar, navigation bar, etc.

[0100] In some embodiments, the display 370 includes a display screen component for presenting images, and a driving component for driving image display, a component for receiving image signals output from a controller, and a component for displaying video content, image content, and a menu control interface and a user control interface.

[0101] In some other embodiments, the display 370 may be at least one of a liquid crystal display, an organic light emitting diode (OLED) display, and a projection display, and may also be a projection device and a projection screen.

[0102] In some other embodiments, the audio output interface 380 includes a speaker, external audio output electronics, etc.

[0103] In some embodiments, the user interface is an interface that can be used to receive control input (such as a physical button on the display device body, or other interfaces).

[0104] In a specific implementation, the above-mentioned smart terminal 30 can be a mobile phone, a tablet computer, a handheld computer, a personal computer (PC), a cellular phone, a personal digital assistant (PDA), a wearable device (such as a smart watch), a smart home device (such as a TV), a car computer, a game console, and an augmented reality (AR) / virtual reality (VR) device, etc. This embodiment does not impose any special restrictions on the specific device form of the smart terminal 30.

[0105] In some embodiments of the present application, the present invention also discloses a dynamic IPA queue management device, such as Figure 6 A dynamic IPA queue management device structure is shown in a schematic diagram, including: the management device 800 includes a CPU 801 with multiple core processors, a network adapter card 803 and a memory, and the memory is used to store computer programs; the CPU is used to execute the computer program stored in the memory, so that the computer program includes any one of the smart terminal dynamic network card driver management methods.

[0106] Through the description of the above implementation methods, technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0107] Each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0108] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as flash memory, mobile hard disk, read-only memory, random access memory, disk or optical disk.

[0109] The above is only a specific implementation of the embodiment of the present invention, but the protection scope of the embodiment of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed in the embodiment of the present invention should be included in the protection scope of the embodiment of the present invention. Therefore, the protection scope of the embodiment of the present invention should be based on the protection scope of the claims.

Claims

1. A dynamic network card driver management system for an intelligent terminal, characterized in that: include: At least one CPU including multiple core processors, a network adapter card, and an IPA queue manager; the IPA queue manager is used to dynamically match and bind and / or unbind the network card driver IPA queue with the core processors of different performances according to the status of the multiple core processors, the status of the network adapter card, and the status of the IPA queue, including: When the current scenario state is IPA single queue and bound to a low-performance core processor, if the network rate is less than the first threshold, a core processor with low occupancy is selected from all low-performance core processors and bound to the interrupt; if the network rate is less than the first threshold but the occupancy of each core processor is high, or the network rate is greater than the first threshold, if IPA is in bypass mode, switch to IPA multi-queue and bind to multiple low-performance core processors in sequence; if IPA is in normal mode, switch to IPA single queue and bind to a high-performance core processor; When the current scenario state is IPA single queue and bound to a high-performance core processor, if the network rate is less than the first threshold, select a core processor with low occupancy rate from all low-performance core processors and bind it to the interrupt; if the network rate is greater than the first threshold, if IPA is in bypass mode, switch to IPA multi-queue and bind to multiple low-performance core processors in sequence; if IPA is in normal mode, traverse all low-performance core processors and select a low-performance core processor with the lowest occupancy rate to bind to the interrupt; When the current scenario state is IPA multi-queue and multiple low-performance core processors are bound in sequence, if the network rate is less than the first threshold, it is cut into a single queue, and a core processor with low occupancy is selected from all low-performance core processors to be bound to the interrupt; if the network rate is greater than the first threshold, if IPA is in bypass mode, it is bound to the low-performance core processor and the high-performance core processor according to the occupancy; if IPA is in normal mode, it is cut into a single queue, and all high-performance core processors are traversed, and a high-performance core processor with the lowest occupancy is selected to be bound to the interrupt; When the current scenario state is IPA multi-queue and is bound to multiple low-performance core processors and multiple high-performance core processors, if the network rate is less than the first threshold, it is cut into a single queue, and a core processor with low occupancy is selected from all low-performance core processors and bound to the interrupt; if the network rate is greater than the first threshold, if IPA is in bypass mode, and the occupancy of all core processors is less than the second threshold, the IPA multi-queue is maintained and multiple low-performance core processors and interrupts are bound in sequence; if IPA is in normal mode, it is cut into a single queue, and the high-performance core processor is bound to the interrupt.

2. The system according to claim 1, characterized in that The intelligent terminal includes a wireless network adapter card; the CPU including multiple core processors includes at least one core processor with a high main frequency and two core processors with a low main frequency.

3. The system according to claim 2, characterized in that The intelligent terminal includes a smart phone, a tablet computer, a handheld computer, a PC, a cellular phone, a laptop computer, a PDA, a wearable device, a smart home device, a car computer, a game console, an AR device or a VR device.

4. The system according to claim 1, characterized in that The system includes a scene judger. When the IPA is in a single queue, the scene judger needs to judge whether the IPA is bound to a low-performance core processor or a high-performance core processor at this time; when the IPA is in multiple queues, the scene judger needs to judge whether the IPA is bound to multiple low-performance core processors or to both a low-performance core processor and a high-performance core processor.

5. The system according to claim 1, characterized in that The CPU includes at least 2 high-performance core processors and 4 low-performance core processors.

6. The system according to claim 4, characterized in that The system also includes a network speed measuring device, which is used to measure the network speed of the network adapter card.

7. The system according to claim 4, characterized in that The system also includes a CPU occupancy rate measuring device, and the CPU occupancy rate measuring device is used to measure the timing occupancy rate of all the core processors.

8. The system according to claim 4, characterized in that The system further includes a mode determiner, which is used to determine whether the IPA is in a bypass mode or a normal mode.

9. A method for managing a dynamic network card driver of an intelligent terminal, applied to an intelligent terminal device, characterized in that: The intelligent terminal device includes: an IPA queue manager, a network adapter card and a CPU including multiple core processors; The network speed measuring device measures the network speed of the network adapter card to provide a first judgment basis for the IPA queue manager; the first judgment basis is a comparison result between the network speed and a set first threshold; The network card mode determiner determines the mode of the network adapter card, and provides a second determination basis for the IPA queue manager; the second determination basis is that the IPA is in bypass mode or normal mode; The CPU occupancy rate measuring device measures the CPU's timed occupancy rate and provides a third judgment basis for the IPA queue manager; the third judgment basis is a comparison result of the CPU occupancy rate and a set second threshold value; The scene judger judges the current scene state of any of the core processors and the bound IPA queues; The IPA queue manager dynamically switches the single / multi-queue mode of the IPA queue according to the current scene state and the first, second and third judgment criteria, and binds with the matching core processor, including: When the current scenario state is IPA single queue and bound to a low-performance core processor, if the network rate is less than the first threshold, a core processor with low occupancy is selected from all low-performance core processors and bound to the interrupt; if the network rate is less than the first threshold but the occupancy of each core processor is high, or the network rate is greater than the first threshold, if IPA is in bypass mode, switch to IPA multi-queue and bind to multiple low-performance core processors in sequence; if IPA is in normal mode, switch to IPA single queue and bind to a high-performance core processor; When the current scenario state is IPA single queue and bound to a high-performance core processor, if the network rate is less than the first threshold, select a core processor with low occupancy rate from all low-performance core processors and bind it to the interrupt; if the network rate is greater than the first threshold, if IPA is in bypass mode, switch to IPA multi-queue and bind to multiple low-performance core processors in sequence; if IPA is in normal mode, traverse all low-performance core processors and select a low-performance core processor with the lowest occupancy rate to bind to the interrupt; When the current scenario state is IPA multi-queue and multiple low-performance core processors are bound in sequence, if the network rate is less than the first threshold, it is cut into a single queue, and a core processor with low occupancy is selected from all low-performance core processors to be bound to the interrupt; if the network rate is greater than the first threshold, if IPA is in bypass mode, it is bound to the low-performance core processor and the high-performance core processor according to the occupancy; if IPA is in normal mode, it is cut into a single queue, and all high-performance core processors are traversed, and a high-performance core processor with the lowest occupancy is selected to be bound to the interrupt; When the current scenario state is IPA multi-queue and is bound to multiple low-performance core processors and multiple high-performance core processors, if the network rate is less than the first threshold, it is cut into a single queue, and a core processor with low occupancy is selected from all low-performance core processors and bound to the interrupt; if the network rate is greater than the first threshold, if IPA is in bypass mode, and the occupancy of all core processors is less than the second threshold, the IPA multi-queue is maintained and multiple low-performance core processors and interrupts are bound in sequence; if IPA is in normal mode, it is cut into a single queue, and the high-performance core processor is bound to the interrupt.

10. The method according to claim 9, characterized in that The method further comprises: During the initialization phase, the single queue mode of IPA is used, and the interrupt is bound to a low-performance core processor.

11. A management device for a dynamic network card driver, characterized in that: The device comprises: Network speed meter, used to measure the network speed of the network adapter card; CPU occupancy rate meter, including multiple core processor CPU occupancy rate meter, used to measure the timing occupancy rate of all core processors; Mode judger, used to judge whether the IPA is in bypass mode or normal mode; The scene judger is used to judge the scene status of any core processor and the bound IPA queue; The IPA queue manager is used to dynamically match and bind and / or unbind the network card driver IPA queue with the core processors of different performances according to the status of multiple core processors, the status of the network adapter card, and the status of the IPA queue, including: When the current scenario state is IPA single queue and bound to a low-performance core processor, if the network rate is less than the first threshold, a core processor with low occupancy is selected from all low-performance core processors and bound to the interrupt; if the network rate is less than the first threshold but the occupancy of each core processor is high, or the network rate is greater than the first threshold, if IPA is in bypass mode, switch to IPA multi-queue and bind to multiple low-performance core processors in sequence; if IPA is in normal mode, switch to IPA single queue and bind to a high-performance core processor; When the current scenario state is IPA single queue and bound to a high-performance core processor, if the network rate is less than the first threshold, select a core processor with low occupancy rate from all low-performance core processors and bind it to the interrupt; if the network rate is greater than the first threshold, if IPA is in bypass mode, switch to IPA multi-queue and bind to multiple low-performance core processors in sequence; if IPA is in normal mode, traverse all low-performance core processors and select a low-performance core processor with the lowest occupancy rate to bind to the interrupt; When the current scenario state is IPA multi-queue and multiple low-performance core processors are bound in sequence, if the network rate is less than the first threshold, it is cut into a single queue, and a core processor with low occupancy is selected from all low-performance core processors to be bound to the interrupt; if the network rate is greater than the first threshold, if IPA is in bypass mode, it is bound to the low-performance core processor and the high-performance core processor according to the occupancy; if IPA is in normal mode, it is cut into a single queue, and all high-performance core processors are traversed, and a high-performance core processor with the lowest occupancy is selected to be bound to the interrupt; When the current scenario state is IPA multi-queue and is bound to multiple low-performance core processors and multiple high-performance core processors, if the network rate is less than the first threshold, it is cut into a single queue, and a core processor with low occupancy is selected from all low-performance core processors and bound to the interrupt; if the network rate is greater than the first threshold, if IPA is in bypass mode, and the occupancy of all core processors is less than the second threshold, the IPA multi-queue is maintained and multiple low-performance core processors and interrupts are bound in sequence; if IPA is in normal mode, it is cut into a single queue, and the high-performance core processor is bound to the interrupt.

12. A dynamic IPA queue management device, characterized in that: It comprises: a CPU including multiple core processors, a network adapter card and a memory, wherein the memory is used to store computer programs; the CPU is used to execute the computer programs stored in the memory, so that the management device executes the method described in any one of claims 9 or 10.

13. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 9 or 10 is implemented.