CN115473757A - Dynamic network card drive management system, method, device and equipment of intelligent terminal - Google Patents

Dynamic network card drive management system, method, device and equipment of intelligent terminal Download PDF

Info

Publication number
CN115473757A
CN115473757A CN202211202455.2A CN202211202455A CN115473757A CN 115473757 A CN115473757 A CN 115473757A CN 202211202455 A CN202211202455 A CN 202211202455A CN 115473757 A CN115473757 A CN 115473757A
Authority
CN
China
Prior art keywords
ipa
queue
core processors
network
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211202455.2A
Other languages
Chinese (zh)
Inventor
陈雅俊
李青胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202211202455.2A priority Critical patent/CN115473757A/en
Publication of CN115473757A publication Critical patent/CN115473757A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/58Changing or combining different scheduling modes, e.g. multimode scheduling

Abstract

The invention provides a dynamic network card drive management system of an intelligent terminal, which comprises: at least one CPU including a plurality of core processors, a network adapter card, and an IPA queue manager; wherein, IPA queue manager for according to the state of a plurality of core processor, the state of network adapter card to and the state of IPA queue, dynamic matchingly with network card drive IPA queue and different performance the core processor binds and/or unbinds, promotes CPU resource utilization and reduces the power consumption, and does not influence network rate.

Description

Dynamic network card drive management system, method, device and equipment of intelligent terminal
Technical Field
The invention relates to the field of network card drive management of intelligent terminal equipment, in particular to a dynamic network card drive management system, method, device and equipment of an intelligent terminal.
Background
With the development of multiple technologies, CPUs with different performances are packaged on mobile phone intelligent equipment to complete different tasks. A CPU with a higher level of architecture will, on the one hand, result in better performance and, on the other hand, also in higher power consumption. For example, at the same network rate of 1.6Gbps, even though 1 CortexA76 or 2 CortexA55 can meet the requirement of the network rate, if the core in a76 consumes 5 times more power than a55 when calculated with the main frequency of 0.65 Hz. The core processors of the CPUs with two performances are taken as an example, and the core processors of the CPUs with two architectures are not limited. The invention aims to solve the technical problem of reducing power consumption as much as possible on the premise of meeting the network running speed.
With the coming of the 5G era and the development of multi-CPU technology, the requirement for network speed is higher and higher, but the optimization of power consumption is more and more important. Especially for products in the form of mobile phones, assuming that a network rate of 1.6Gbps is required to run, if a CPU in the architecture of a76 is directly used to process a network packet, although the CPU occupancy is beneficial, a CPU in the architecture of a55 can also meet the requirement of the network rate, and the power consumption is lower, so that the user can feel better in use.
The prior art of the invention is as follows: the interrupt of IPA (IP packet hardware accelerator) is bound with the multi-core of the CPU one by one, and the corresponding interrupt is triggered when data is listed in a queue of the IPA, and the corresponding CPU is called to process the interrupt.
The disadvantages of the prior art include two:
1. when a core processor of a CPU is occupied by another thread, the CPU occupancy is already high, and a large amount of network data is coming, and the CPU still processes related interrupts, a phenomenon of failure in processing occurs, and the network rate is affected.
And 2, the IPA corresponds to the queue of the big core to receive data, the interrupt corresponding to the big core is triggered, the big core processes the interrupt at the moment, and the power consumption is directly increased greatly.
Disclosure of Invention
Based on the current situation, the invention aims to design a scheme capable of automatically and dynamically processing network card drive switching IPA single/multiple queue pairing different core processors. The 2 technical problems of the prior art can be solved simultaneously, so that the utilization rate of CPU resources can be greatly improved, the power consumption is reduced, and the network speed is not influenced.
In a first aspect, an embodiment of the present invention provides a dynamic network card driver management system for an intelligent terminal, including: at least one CPU including a plurality of core processors, a network adapter card, and an IPA queue manager; the IPA queue manager is used for binding and/or unbinding the network card driving IPA queue with the core processors with different performances (main frequencies) in a dynamic matching manner according to the states of the plurality of core processors, the state of the network adapter card and the state of the IPA queue.
The dynamic network card drive management system of the intelligent terminal provided by the embodiment of the invention has the beneficial effects that: the invention aims to dynamically, flexibly and intelligently bind the IPA queue to the core processor of the CPU to greatly improve the utilization rate of CPU resources by detecting the conditions of CPU occupancy rate, network adapter card mode, network speed and the like in real time, and reduce the CPU power consumption on the premise of meeting the network speed.
In a further embodiment, the network adapter card comprises a (wireless) network adapter card.
Further, in the system, the smart 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 vehicle-mounted computer, a game machine, an AR device, or a VR device.
In a further embodiment, the system includes a scenario judger that needs to judge when IPA is in the single queue: whether the IPA is bound on the low-performance core processor or the high-performance core processor at the moment; when IPA is in the multi-queue, the scene judger needs to judge: the IPA at this time is bound to multiple low performance core processors or bound to both low performance core processors and high performance core processors.
In further embodiments, the CPU includes at least 3 high performance core processors, such as CortexA76, and 4 low performance core processors, such as CortexA55.
In some embodiments, the system further includes a network speed measurer, and the network speed measurer is configured to measure a measured network speed of the network adapter card, that is, a real-time network speed at a measurement time.
In some embodiments, the system further comprises a CPU occupancy measurer for measuring the occupancy on time of all the core processors.
In some embodiments, the system further comprises an IPA (network card) mode determiner for determining whether the IPA is in bypass mode or normal mode. Bypass can be understood as a direct mode, network data is directly sent to an application processor (ap) without being routed through hardware, and a normal mode is a common mode and needs IPA hardware to do some routing. The Bypass mode mainly aims at the scene that a mobile phone is used for surfing the Internet and the normal mode aims at the scene that a USB (universal serial bus) shares
Still further, the IPA queue manager is further configured to switch the IPA queue and the binding relationship corresponding to the core processor in the CPU according to the determination results of the network speed measurer and the mode determiner.
In other embodiments, the IPA queue manager is further configured to switch the IPA queue and the binding relationship with the core processor corresponding to the low occupancy rate through the determination result of the CPU occupancy measurer.
In a second aspect, an embodiment of the present invention further provides a method for managing a dynamic network card driver of an intelligent terminal, where the method is applied to an intelligent terminal device, and the intelligent terminal device includes: the system comprises a network adapter card and a CPU (central processing unit) comprising a plurality of core processors; the network speed measurer is used for measuring the time measurement network speed of the network adapter card and providing a first judgment basis for the IPA queue manager; the IPA (network card) mode judger is used for judging the mode of the network adapter card and providing a second judgment basis for the IPA queue manager; the CPU occupancy rate measurer is used for measuring the time measurement occupancy rate of the CPU and providing a third judgment basis for the IPA queue manager; the scene judger is used for judging the current scene state of one of the 4 states; the IPA queue manager is used for dynamically switching a single/multiple queue mode of an IPA queue according to the current scene state and the first, second and third judgment bases, and binding the IPA queue with the matched core processor.
It should be noted that the method steps of obtaining the first determination criterion, obtaining the second determination criterion, obtaining the third determination criterion, and obtaining the current scene state in the above steps do not strictly limit the implementation sequence or the forward and backward implementation.
Further, during initialization phase, a single queue mode of IPA is used and interrupts are bound to some low performance core processor.
In some other embodiments, the current context state includes an IPA single queue and bound to some low performing core processor, an IPA single queue and bound to some high performing core processor, an IPA multi queue and bound in sequence to a plurality of low performing core processors, or an IPA multi queue and bound to both a plurality of low performing core processors and a plurality of high performing core processors.
In still other embodiments, the first determination provided by the wire speed measurer is based on a comparison of the wire speed with a first threshold, such as 1 Gbps.
In some further embodiments, the network card mode determiner provides the second determination that the IPA is in bypass mode or normal mode.
In some further embodiments, the third determination provided by the CPU occupancy measurer is a comparison result between the CPU occupancy and a set second threshold, such as 70%.
In a third aspect, the present invention provides a management device for a dynamic network card driver, where the device includes:
the network speed measurer is used for measuring the time measurement network speed of the network adapter card;
the CPU occupancy rate measurer comprises a plurality of core processor CPU occupancy rate measurers and is used for measuring the time measurement occupancy rates of all the core processors;
a mode determiner for determining whether the IPA is in a bypass mode or normal mode;
a scenario judger for judging the scenario status of any one of the core processors and the bound IPA queue;
and the IPA queue manager is used for binding and/or unbinding the network card driving IPA queue with the core processors with different performances in a dynamic matching manner according to the states of the plurality of core processors, the state of the network adapter card and the state of the IPA queue.
In a fourth aspect, an embodiment of the present invention further provides a dynamic IPA queue management apparatus, including: the management equipment comprises CPUs (central processing units) of a plurality of core processors, a network adapter card and a memory, wherein the memory is used for storing computer programs; the CPU is adapted to execute the computer program stored by the memory to enable the management device to implement any of the possible design methods of the second aspect described above. The management device is an intelligent terminal and can also be a network device.
In a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program runs on the computer-readable storage medium including a CPU and a network adapter card, the computer-readable storage medium is caused to execute the method of any one of the possible designs of the second aspect.
In a sixth aspect, an embodiment of the present invention further provides a computer program product, which, when run on a product, causes the product to perform any one of the possible design methods of the second aspect.
As for the advantageous effects of the above second to sixth aspects, reference may be made to the description in the above first aspect.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of a dynamic network card drive management system architecture of an intelligent terminal according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a dynamic network card drive management method for an intelligent terminal according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a management device driven by a dynamic network card according to an embodiment of the present invention;
fig. 4 is a schematic flow diagram of a dynamic network card driver flexibly binding a core processor according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware configuration block of an intelligent terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a dynamic IPA queue management apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention are described below with reference to the drawings in the embodiments of the present invention. In the description of the embodiments of the present invention, the terminology used in the following embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of the present application. As used in the specification of the present application and the appended claims, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, such as "one or more", unless the context clearly indicates otherwise. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" means one or more than two (including two). The term "and/or" is used to describe an association relationship that associates objects, meaning that three relationships may exist; for example, a and/or B, may represent: a exists singly, A and B exist simultaneously, and B exists singly, wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather mean "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise. The term "coupled" includes direct coupling and indirect coupling, unless otherwise noted. "first" and "second" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
In the embodiments of the present invention, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present relevant concepts in a concrete fashion.
As shown in fig. 1, which is a schematic view of a dynamic network card driver management system 200 of an intelligent terminal provided in an embodiment of the present invention, the system includes
At least one CPU210 including a plurality of core processors, a network adapter card 220, and an IPA queue manager 110; the IPA queue manager 110 is configured to determine a status of each of the plurality of core processors, the network adapter card 220, and an IPA (IP accelerator) queue according to the statuses of the plurality of core processors;
and dynamically and adaptively binding and/or unbinding the network card driving IPA queue with the core processors with different performances (main frequencies), for example, an embodiment provided by the invention includes 2M 4 core processors, 2 high-performance CortexA76 core processors, and 4 low-performance CortexA55 core processors for 8 cores of the Exynos9820 CPU.
In the system, the intelligent terminal further comprises a smart phone, a tablet computer, a handheld computer, a PC, a cellular phone, a notebook computer, a PDA, a wearable device, an intelligent household device, a vehicle-mounted computer, a game machine, an AR device or a VR device.
In some possible embodiments, based on the dynamic network card driver management system and the dynamic network card driver management device shown in fig. 1 or fig. 3, an embodiment of the present invention provides a flow diagram of a dynamic network card driver management method for an intelligent terminal, and as shown in fig. 2, an initialization stage S100 includes: the single queue mode of IPA is used and interrupts are bound to some core processor CPU0, specifically some a55.
A dynamic network card driving management method of an intelligent terminal is applied to intelligent terminal equipment, and the intelligent terminal equipment comprises: the system comprises a network adapter card and a CPU (central processing unit) comprising a plurality of core processors; the management method further includes the step S200 of: the network speed measurer is used for measuring the time measurement network speed of the network adapter card and providing a first judgment basis for the IPA queue manager; s300, a mode judger is used for judging the mode of the network adapter card and providing a second judgment basis for the IPA queue manager; and S400: the CPU occupancy rate measurer is used for measuring the time measurement occupancy rate of the CPU and providing a third judgment basis for the IPA queue manager; s500, a scene judger is used for judging the current scene state in the 4 states; the IPA queue manager is used for dynamically switching a single/multiple queue mode of an IPA queue according to the current scene state and the first, second and third judgment bases, and binding the IPA queue with the matched core processor.
It should be noted that the method steps of steps S200\ S300 and S400 do not strictly limit the implementation precedence relationship, for example, the third determination basis of the occupancy data may be obtained first, and then the first determination basis of the network speed data may be obtained. The current scene states and the first, second and third judgment bases do not emphasize the precedence relationship, and can be obtained or measured at the same time or sequentially.
In some embodiments, the dynamic network card driver management method includes: the current scenario state includes an IPA single queue and bound on a certain low performance core processor, an IPA single queue and bound on a certain high performance core processor, an IPA multi queue and bound with a plurality of low performance core processors in turn or an IPA multi queue and bound with a plurality of low performance core processors and a plurality of high performance core processors. The scene judger is used for determining the current scene state from the 4 states.
In a possible case, the dynamic network card driver management method includes: the first judgment basis provided by the network speed measurer is a comparison result of the network speed and a set first threshold, specifically 1 Gbps.
In one possible implementation, the dynamic network card driver management method includes: the network card mode judger provides the second judgment basis that the IPA is in the bypass mode or normal mode.
In a possible implementation, the third determination provided by the CPU occupancy measurer is a comparison result between the CPU occupancy and a set second threshold, specifically, 70%.
In addition, in a possible implementation manner, as shown in fig. 4, which is a schematic flow diagram of a dynamic network card driver flexibly bound to a core processor according to an embodiment of the present invention, the method includes a management method of a dynamic network card driver of an intelligent terminal, in an initialization stage, using a single queue mode of IPA, and binding an interrupt to a core processor CPU0, specifically a core processor a55.CPU 0-CPU 1 are serial numbers of CPUs with different performances, and core 0-core 6 are serial numbers of a core processor. IPA (IP accelerator) is the hardware accelerator for IP packets. In another embodiment provided by the present invention, a CPU includes 4A 55 core processors and 3A 76 core processors.
After a data transmission, it is traversed every second. At the present stage, there are 4 states: IPA single queue and bound on a certain a55, IPA single queue and bound on a certain a76, IPA multi queue and bound with 4 a55 in turn, IPA multi queue and bound with both a55 and a 76. The following 4 states are mainly available: IPA is single queue and binds on a certain a55, 2 IPA is single queue and binds on a76, IPA multi queue and binds with 4 a55 in turn and IPA multi queue and binds with both a55 and a 76.
Scenario state 1. Traversal program finds that at this time the IPA is a single queue and bound to a certain A55
(1) When the network speed is less than 1Gbps, a core processor with low occupancy rate is selected from 4A 55 to be bound to the interrupt.
(2) When the network rate is less than 1Gbps but the occupancy rate of each core is high or the network rate is greater than 1Gbps, if the mode is bypass mode, the mode is switched to the IPA multi-queue and is bound with the 4A 55 in sequence, and if the mode is normal mode, the mode is switched to the IPA single queue and is bound on the A76.
Scenario state 2. The traversal program finds that at this point the IPA is a single queue and bound to A76
(1) When the network rate is less than 1Gbps, a CPU with low occupancy rate is selected from 4A 55 to be bound to the interrupt.
(2) And when the network rate is higher than 1Gbps, if the network rate is in the bypass mode, switching to the IPA multi-queue and binding with 4A 55 in sequence, if the network rate is in the normal mode, traversing the 4A 55, and selecting one A55 with the lowest occupancy rate to bind with the interrupt.
Scenario state 3. Traversal program finds the IPA multiple queue at this time and binds to 4 a55 in turn
(1) When the network rate is less than 1Gbps, cutting the network into a single queue, and selecting one CPU with low occupancy rate from 4A 55 to bind to an interrupt.
(2) When the network rate is greater than 1Gbps, if the network rate is in the normal mode, switching to a single queue, traversing the occupancy rate of A76, and selecting a CPU with the lowest occupancy rate and interrupting the binding; and if the bypass mode is adopted, binding to A55 and A76 according to the occupancy rate.
Scenario state 4. The traversal program finds the IPA Multi-queue at this time and binds to both A55 and A76
(1) When the network speed is less than 1Gbps, the network is cut into a single queue, and one CPU with low occupancy rate is selected from 4A 55 to be bound to the interrupt.
(2) When the network rate is greater than 1Gbps, if the network rate is in a bypass mode, the occupancy rate of A76 is less than 70 percent, and the occupancy rates of 4A 55 are all less than 70 percent, maintaining an IPA multi-queue and binding the 4A 55 and 4 interrupts in sequence; if normal mode, switch to IPA Single queue and bind on A76.
Therefore, the overall idea of flexible multi-queue is to flexibly process the binding of the interrupt and different CPUs according to the network rate and the occupancy rate of the CPUs. For the user environment, if uploading and downloading at a high network rate occur, a CPU with a higher main frequency may be switched; if only ordinary WeChat chat or the like, the CPU with low main frequency is switched back.
It should be noted that the Bypass mode can be understood as a direct mode, network data is directly sent to the core processor without being routed through hardware, and the normal mode is a normal mode and requires some routing by IPA hardware. The Bypass mode mainly aims at the mobile phone internet surfing, the normal mode aims at the USB sharing scene, and the USB sharing scene is adopted. The data is also transferred from the network adapter card through the network card drive and then transferred to the PC or the intelligent hardware through the USB.
In a further embodiment, as shown in fig. 3, which is a schematic structural diagram of a management device for a dynamic network card driver according to an embodiment of the present invention, a management device 100 for a dynamic network card driver includes:
the network speed measurer 150 is used for measuring the time measurement network speed of the network adapter card;
a CPU occupancy measurer 140, comprising a plurality of core processor CPU occupancy measurers, for measuring the time-measuring occupancy of all the core processors;
a mode determiner 130 for determining whether the IPA is in a bypass mode or normal mode;
a scenario determiner 120 for determining the scenario state of any one of the core processors and the bound IPA queues;
the IPA queue manager 110 is configured to dynamically match the network card driving IPA queues to bind and/or unbind the network card driving IPA queues to the core processors with different capabilities according to the states of the core processors, the states of the network adapter cards, and the states of the IPA queues.
In one possible implementation, the scene judger 130 needs to judge: whether the IPA is bound on the low-performance core processor or the high-performance core processor at the moment; when IPA is in the multi-queue, the scene judger needs to judge: the IPA at this time is bound to multiple low-performance core processors or both low-performance and high-performance core processors.
The system also comprises a network speed measurer, wherein the network speed measurer is used for measuring the time measurement network speed of the network adapter card and providing a first judgment basis for the IPA queue manager.
In a possible implementation manner, the system further comprises a CPU occupancy measurer, wherein the CPU occupancy measurer is used for ergodically measuring the hour time occupancy of all the core processors, and providing a third judgment basis for the IPA queue manager.
In a possible embodiment, the system further comprises an IPA (network card) mode determiner, configured to determine whether the IPA is in the bypass mode or normal mode at the time, and provide a second determination criterion for the IPA queue manager.
In a possible embodiment, the IPA queue manager in the system is further configured to dynamically switch the IPA queue and the binding relationship corresponding to the CPU according to the determination results of the network speed measurer and the mode determiner.
In other embodiments, fig. 5 shows a block diagram of a hardware configuration of the smart terminal 30.
The smart terminal 30 includes a tuner 310, a mobile communication module 320, a wireless communication module 330 including at least one of 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 a USB interface.
The mobile communication module 320 may provide a solution including wireless communication of 2G/3G/4G/5G, etc. applied on 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), and the like. The mobile communication module 320 may receive electromagnetic waves from the antenna, filter, amplify, etc. the received electromagnetic waves, and transmit the filtered electromagnetic waves to the tuning demodulator 310 for demodulation. The mobile communication module 320 may also amplify the signal modulated by the tuning demodulator 310, and convert the signal into electromagnetic wave through the antenna to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 320 may be provided in the controller 360. In some embodiments, at least some of the functional modules of the mobile communication module 320 may be provided in the same device as at least some of the modules of the controller 360.
The wireless communication module 330 may provide a solution for wireless communication applied to the smart terminal 30, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 330 may be one or more devices integrating at least one communication processing module. The wireless communication module 330 receives electromagnetic waves via an antenna, performs frequency modulation and filtering on electromagnetic wave signals, and transmits the processed signals to the controller 360. The wireless communication module 330 can also receive a signal to be transmitted from the controller 360, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna to radiate the electromagnetic waves.
In other embodiments, the collector 340 is used for collecting external environment or signals interacting with the outside. For example, collector 340 includes a light receiver, a sensor for collecting the intensity of ambient light; alternatively, the collector 340 includes an image collector, such as a camera, which may be used to collect external environment scenes, attributes of the user, or user interaction gestures, or the collector 340 includes a sound collector, such as a microphone, which is used to receive external sounds.
In still other embodiments, external device interface 350 may include, but is not limited to, the following: high Definition Multimedia Interface (HDMI), analog or data high definition component input interface (component), composite video input interface (CVBS), USB input interface, RGB port, and the like. The interface may be a composite input/output interface formed by the plurality of interfaces.
In other embodiments, the controller 360 and the modem 310 may be located in different separate devices, that is, the modem 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.
In still other embodiments, the controller 360 controls the operation of the display device and responds to user actions through various software control programs stored in memory. The controller 360 controls the overall operation of the smart terminal 30. For example: in response to receiving a user command for selecting a UI object displayed on the display 370, the controller 360 may perform an operation related to the object selected by the user command.
In some possible embodiments, the controller 360 includes at least one of a Central Processing Unit (CPU), a video processor, an audio processor, a Graphic Processing Unit (GPU), a RAM, a ROM, first to nth interfaces for input/output, a communication Bus (Bus), and the like.
In some possible embodiments, the smart terminal may include more than one central processing unit CPU for executing operating system and application program instructions stored in the memory, and executing various application programs, data and contents according to various interactive instructions receiving external input, so as to finally display and play various audio-video contents. The central processing unit CPU may further include a plurality of core processors. E.g. comprising one main processor and one or more sub-processors, or alternatively 2 high frequency core processors and 4 low frequency core processors.
In some embodiments, a graphics processor GPU is used to generate various graphics objects, such as: at least one of an icon, an operation menu, and a user input instruction display figure. The graphic processor comprises an arithmetic unit, which performs operation by receiving various interactive instructions input by a user and displays various objects according to display attributes; the system also comprises a renderer which renders various objects obtained based on the arithmetic unit, and the rendered objects are used for being displayed on a display.
In some embodiments, the video processor is configured to receive an external video signal, and perform at least one of video processing such as decompression, decoding, scaling, noise reduction, frame rate conversion, resolution conversion, and image synthesis according to a standard codec protocol of the input signal, so as to obtain a signal that can be directly displayed or played on the smart terminal 30.
In some embodiments, the video processor includes at least one of a demultiplexing module, a video decoding module, an image composition module, a frame rate conversion module, a display formatting module, and the like. The demultiplexing module is used for demultiplexing the input audio and video data stream. And the video decoding module is used for processing the demultiplexed video signal, including decoding, scaling and the like. And the image synthesis module, such as an image synthesizer, is used for performing superposition mixing processing on the graphical generator and the video image after the zooming processing according to the graphical user interface signal input by the user or generated by the graphical generator and generating an image signal for display. And the frame rate conversion module is used for converting the frame rate of the input video. And the display formatting module is used for converting the received video output signal after the frame rate conversion, and changing the signal to be in accordance with the signal of the display format, such as an output RGB data signal.
In some embodiments, a user may enter user commands on a graphical user interface displayed on display 370, and the user input interface receives the user input commands through the graphical user interface. Alternatively, the user may input the 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 the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. The graphical user interface refers to a user interface related to computer operation which is displayed in a graphical manner. It may be an interface element such as an icon, window, control, etc. displayed in a display screen of the electronic device, where the control may include at least one of an icon, button, menu, tab, text box, dialog box, status bar, navigation bar, etc. visual interface element.
In some embodiments, the display 370 includes a display screen component for displaying pictures, and a driving component for driving image display, a component for receiving image signals from the controller output, and displaying video content, image content, and menu manipulation interface, and a user manipulation interface.
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.
In still other embodiments, audio output interface 380 includes speakers, external audio output electronics, and the like.
In some embodiments, the user interface is an interface that can be used to receive control inputs (e.g., physical keys on the body of the display device, or the like).
In specific implementation, the intelligent terminal 30 may 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 (e.g., a smart watch), an intelligent household device (e.g., a television), a vehicle-mounted computer, a game machine, and an Augmented Reality (AR) \ Virtual Reality (VR) device, etc., and this embodiment does not specially limit the specific device form of the intelligent terminal 30.
In some embodiments of the present application, an embodiment of the present invention further discloses a dynamic IPA queue management apparatus, as shown in fig. 6, which includes: the management apparatus 800 comprises a CPU801 with multiple core processors, a network adapter 803, and a memory for storing computer programs; the CPU is used for executing the computer program stored in the memory, so that the computer program comprises any one of the intelligent terminal dynamic network card drive management methods.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus and the unit described above, reference may be made to the corresponding processes in the foregoing method embodiments, and details are not described here again.
Each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be implemented in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) or a processor to execute all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media that can store program code, such as flash memory, removable hard drive, read-only memory, random-access memory, magnetic or optical disk, etc.
The above description is only a specific implementation of the embodiments of the present invention, but the scope of the embodiments of the present invention is not limited thereto, and any changes or substitutions within the technical scope disclosed by the embodiments of the present invention should be covered within the scope of the embodiments of the present invention. Therefore, the protection scope of the embodiments of the present invention shall be subject to the protection scope of the claims.

Claims (19)

1. The utility model provides an intelligent terminal's dynamic network card drive management system which characterized in that includes: at least one CPU including a plurality of core processors, a network adapter card, and an IPA queue manager; wherein the content of the first and second substances,
the IPA queue manager is used for managing the state of the plurality of core processors, the state of the network adapter card and the state of an IPA queue;
dynamically and matchingly binding and/or unbinding the network card driving IPA queue with the core processors with different performances.
2. The system of claim 1, wherein the intelligent terminal comprises a wireless network adapter card; the CPU comprising a plurality of core processors comprises at least one core processor with a high main frequency and two core processors with a low main frequency.
3. The system of claim 2, wherein the smart terminal comprises a smartphone, tablet, handheld computer, PC, cellular phone, laptop, PDA, wearable device, smart home device, car computer, game console, AR device, or VR device.
4. The system of claim 1, wherein the system comprises a scenario judger that needs to judge when IPA is in the single queue: whether the IPA is bound on the low-performance core processor or the high-performance core processor at the moment; when IPA is in the multi-queue, the scene judger needs to judge: the IPA at this time is bound to multiple low-performance core processors or both low-performance and high-performance core processors.
5. The system of claim 1, wherein the CPUs include at least 2 high performance core processors and 4 low performance core processors.
6. The system of claim 4, further comprising a net speed measurer for measuring a net speed at time of the network adapter card.
7. The system of claim 4, further comprising a CPU occupancy measurer, wherein the CPU occupancy measurer is configured to measure the hourly occupancy of all of the core processors.
8. The system of claim 4, further comprising a mode determiner configured to determine whether the IPA is in bypass mode or normal mode.
9. The system according to any one of claims 4 to 8, wherein the IPA queue manager is further configured to switch the IPA queue and the binding relationship corresponding to the CPU according to the determination results of the wire speed measurer and the mode determiner.
10. The system of claim 9, wherein the IPA queue manager is further configured to switch the IPA queue and the binding relationship with the corresponding low-occupancy core processor according to the determination result of the CPU occupancy measurer.
11. A dynamic network card driving management method for an intelligent terminal is applied to intelligent terminal equipment, and is characterized in that the intelligent terminal equipment comprises: the system comprises a network adapter card and at least one CPU (central processing unit) comprising a plurality of core processors;
the network speed measurer is used for measuring the time measurement network speed of the network adapter card and providing a first judgment basis for the IPA queue manager;
the network card mode judger is used for judging the mode of the network adapter card and providing a second judgment basis for the IPA queue manager;
the CPU occupancy rate measurer is used for measuring the time measurement occupancy rate of the CPU and providing a third judgment basis for the IPA queue manager;
the scene judger is used for judging the current scene state of any core processor and the bound IPA queue;
the IPA queue manager is used for dynamically switching a single/multiple queue mode of an IPA queue according to the current scene state and the first, second and third judgment bases, and binding the IPA queue with the matched core processor.
12. The method of claim 11, further comprising:
during the initialization phase, a single queue mode of IPA is used and interrupts are bound to some low performance core processor.
13. The method of claim 11, wherein the current context state comprises an IPA single queue bound to some low-performing core processor, an IPA single queue bound to some high-performing core processor, an IPA multi queue bound to multiple low-performing core processors in turn, or an IPA multi queue bound to both multiple low-performing core processors and multiple high-performing core processors.
14. The method of claim 11, wherein the providing the first determination provided by the wire speed measurer is a comparison of a wire speed and a set first threshold.
15. The method of claim 11 wherein the network card mode determiner provides the second determination that the IPA is in bypass mode or normal mode.
16. The method according to claim 11, wherein the third determination provided by the CPU occupancy measurer is a comparison result of the CPU occupancy with a set second threshold.
17. A management device for a dynamic network card driver, the device comprising:
the network speed measurer is used for measuring the time measurement network speed of the network adapter card;
the CPU occupancy rate measurer comprises a plurality of core processor CPU occupancy rate measurers and is used for measuring the time measurement occupancy rates of all the core processors;
a mode determiner for determining whether the IPA is in a bypass mode or normal mode;
a scenario judger for judging the scenario status of any one of the core processors and the bound IPA queue;
and the IPA queue manager is used for binding and/or unbinding the network card driving IPA queue with the core processors with different performances in a dynamic matching manner according to the states of the plurality of core processors, the state of the network adapter card and the state of the IPA queue.
18. A dynamic IPA queue management apparatus comprising: the system comprises a CPU comprising a plurality of core processors, a network adapter card and a memory, wherein the memory is used for storing a computer program; the CPU is configured to execute the computer program stored by the memory to cause the management device to perform the method of any one of claims 11 to 16.
19. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 11 to 16.
CN202211202455.2A 2022-09-29 2022-09-29 Dynamic network card drive management system, method, device and equipment of intelligent terminal Pending CN115473757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211202455.2A CN115473757A (en) 2022-09-29 2022-09-29 Dynamic network card drive management system, method, device and equipment of intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211202455.2A CN115473757A (en) 2022-09-29 2022-09-29 Dynamic network card drive management system, method, device and equipment of intelligent terminal

Publications (1)

Publication Number Publication Date
CN115473757A true CN115473757A (en) 2022-12-13

Family

ID=84334504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211202455.2A Pending CN115473757A (en) 2022-09-29 2022-09-29 Dynamic network card drive management system, method, device and equipment of intelligent terminal

Country Status (1)

Country Link
CN (1) CN115473757A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116483013A (en) * 2023-06-19 2023-07-25 成都实时技术股份有限公司 High-speed signal acquisition system and method based on multichannel collector

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984085A (en) * 2012-11-21 2013-03-20 网神信息技术(北京)股份有限公司 Mapping method and device
US20170228337A1 (en) * 2014-10-31 2017-08-10 Huawei Technologies Co., Ltd. Network interface card configuration method and resource management center
CN109284192A (en) * 2018-09-29 2019-01-29 网宿科技股份有限公司 Method for parameter configuration and electronic equipment
CN114490085A (en) * 2022-02-16 2022-05-13 北京火山引擎科技有限公司 Network card configuration method, device, equipment and storage medium
CN114780463A (en) * 2022-03-01 2022-07-22 阿里巴巴(中国)有限公司 Interrupt control method, device, distributed system and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984085A (en) * 2012-11-21 2013-03-20 网神信息技术(北京)股份有限公司 Mapping method and device
US20170228337A1 (en) * 2014-10-31 2017-08-10 Huawei Technologies Co., Ltd. Network interface card configuration method and resource management center
CN109284192A (en) * 2018-09-29 2019-01-29 网宿科技股份有限公司 Method for parameter configuration and electronic equipment
CN114490085A (en) * 2022-02-16 2022-05-13 北京火山引擎科技有限公司 Network card configuration method, device, equipment and storage medium
CN114780463A (en) * 2022-03-01 2022-07-22 阿里巴巴(中国)有限公司 Interrupt control method, device, distributed system and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
齐战胜;林立友;: "基于多核架构和多收发队列的高速捕包模型研究", 网络安全技术与应用, no. 02, 15 February 2013 (2013-02-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116483013A (en) * 2023-06-19 2023-07-25 成都实时技术股份有限公司 High-speed signal acquisition system and method based on multichannel collector
CN116483013B (en) * 2023-06-19 2023-09-05 成都实时技术股份有限公司 High-speed signal acquisition system and method based on multichannel collector

Similar Documents

Publication Publication Date Title
US8605048B2 (en) Method and apparatus for controlling multimedia contents in realtime fashion
CN111913628B (en) Sharing method and device and electronic equipment
US11711623B2 (en) Video stream processing method, device, terminal device, and computer-readable storage medium
WO2019001347A1 (en) Screen projection method for mobile device, storage medium, terminal and screen projection system
US20220398059A1 (en) Multi-window display method, electronic device, and system
CN114339332B (en) Mobile terminal, display device and cross-network screen projection method
CN114339339A (en) Display device, external device and play mode switching method
CN112104905B (en) Server, display device and data transmission method
CN113490042B (en) Display equipment and channel searching method
CN111836104B (en) Display apparatus and display method
US20230333803A1 (en) Enhanced Screen Sharing Method and System, and Electronic Device
CN115473757A (en) Dynamic network card drive management system, method, device and equipment of intelligent terminal
CN112153440A (en) Display device and display system
CN111954059A (en) Screen saver display method and display device
CN111899175A (en) Image conversion method and display device
CN112954419B (en) Display device and display method
WO2024022391A1 (en) Multimedia data transmission method and apparatus, and electronic device and storage medium
CN112637957A (en) Display device and communication method of display device and wireless sound box
CN112269668A (en) Application resource sharing and display equipment
CN112040309A (en) Channel switching method and display device
WO2023134509A1 (en) Video stream pushing method and apparatus, and terminal device and storage medium
CN114968167A (en) Audio processing method, device, medium and terminal equipment
WO2021248988A1 (en) Cross-terminal screen recording method, terminal device, and storage medium
CN112839007B (en) Network attack defense method and device
CN114302070A (en) Display device and audio output method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination