CN109343954A - Electronic device works method and system - Google Patents

Electronic device works method and system Download PDF

Info

Publication number
CN109343954A
CN109343954A CN201811018901.8A CN201811018901A CN109343954A CN 109343954 A CN109343954 A CN 109343954A CN 201811018901 A CN201811018901 A CN 201811018901A CN 109343954 A CN109343954 A CN 109343954A
Authority
CN
China
Prior art keywords
memory
video card
video
mode
read
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.)
Granted
Application number
CN201811018901.8A
Other languages
Chinese (zh)
Other versions
CN109343954B (en
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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201811018901.8A priority Critical patent/CN109343954B/en
Publication of CN109343954A publication Critical patent/CN109343954A/en
Application granted granted Critical
Publication of CN109343954B publication Critical patent/CN109343954B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/5011Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
    • G06F9/5016Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

Present disclose provides a kind of electronic equipment working methods, wherein electronic equipment includes at least video card, video memory and memory, and electronic device works method includes: to obtain the operating parameter of target hardware, and wherein target hardware includes video card and/or video memory;The operating mode of video card is controlled according to the operating parameter of target hardware, wherein operating mode includes at least first mode and second mode, and in the flrst mode, video card is written and read video memory, and under the second mode, video card is written and read memory and video memory.The disclosure additionally provides a kind of electronic equipment work system.

Description

Electronic device works method and system
Technical field
This disclosure relates to a kind of electronic equipment working method and system.
Background technique
Video card is as the bridge between host and display, the main display content output for controlling computer, in coming from The data of central processor transmission are handled, and will treated that data are transferred to display shows.Video card is in processing number According to when, need for data to be stored temporarily in video memory, to assist completing data processing work.With the development of computer technology, The processing capacity of video card is stronger and stronger, and the requirement to other hardware such as video memory is also higher and higher.
But current either conventional desktop, all-in-one machine or notebook, if using independent display card, collocation is shown Depositing capacity is usually fixation, so that the use of a variety of applications is restricted.
Summary of the invention
An aspect of this disclosure provides a kind of electronic equipment working method, wherein above-mentioned electronic equipment includes at least Video card, video memory and memory, the above method include the operating parameter for obtaining target hardware, wherein above-mentioned target hardware includes above-mentioned aobvious Card and/or above-mentioned video memory;The operating mode of above-mentioned video card is controlled according to the operating parameter of above-mentioned target hardware, wherein above-mentioned work Operation mode includes at least first mode and second mode, and under above-mentioned first mode, above-mentioned video card is written and read above-mentioned video memory Operation, under above-mentioned second mode, above-mentioned video card is written and read above-mentioned memory and above-mentioned video memory.
Optionally, above-mentioned electronic equipment further includes central processing unit, is above-mentioned the in the operating mode for controlling above-mentioned video card In the case where two modes, above-mentioned video card is written and read the number including above-mentioned video card by the first agreement of support to above-mentioned memory It is instructed according to channel to above-mentioned central processing unit transmission read-write operation;And above-mentioned central processing unit passes through the number of support second protocol The instruction of above-mentioned read-write operation is based on according to channel to be written and read above-mentioned memory.
Optionally, in the case where above-mentioned target hardware is above-mentioned video memory, above-mentioned operating parameter includes that above-mentioned video memory is current Idle storage space, above-mentioned video memory is included according to the operating mode that the operating parameter of above-mentioned target hardware controls above-mentioned video card In the case that current idle storage space is less than Tidle threshold, the operating mode for controlling above-mentioned video card is second mode, so that Above-mentioned video card is obtained to be written and read above-mentioned video memory and above-mentioned memory.
Optionally, in the case where above-mentioned target hardware is above-mentioned video card, above-mentioned operating parameter includes above-mentioned video card to upper Working frequency when video memory is written and read is stated, the Working mould of above-mentioned video card is controlled according to the operating parameter of above-mentioned target hardware In the case that formula is included in above-mentioned working frequency overfrequency threshold value, the operating mode for controlling above-mentioned video card is second mode, with So that above-mentioned video card is written and read above-mentioned video memory and above-mentioned memory.
Optionally, in the case where above-mentioned target hardware is above-mentioned video card, above-mentioned operating parameter includes above-mentioned video card to upper Temperature when video memory is written and read is stated, the operating mode packet of above-mentioned video card is controlled according to the operating parameter of above-mentioned target hardware Including and controlling the operating mode of above-mentioned video card in the case where above-mentioned temperature is more than temperature threshold is second mode, so that above-mentioned Video card is written and read above-mentioned video memory and above-mentioned memory.
Optionally, in the case where above-mentioned target hardware is above-mentioned video card and above-mentioned video memory, according to above-mentioned target hardware Operating parameter control above-mentioned video card operating mode include operating parameter and above-mentioned video memory according to above-mentioned video card operating parameter The operating mode of the above-mentioned video card of co- controlling.
Optionally, the above method further includes configuring predetermined storage area in above-mentioned memory in advance, so that when above-mentioned aobvious In the case that the operating mode of card is above-mentioned second mode, it can be written and read in above-mentioned predetermined storage area.
Another aspect of the disclosure provides a kind of electronic equipment work system, wherein above-mentioned electronic equipment at least wraps Video card, video memory and memory are included, above system includes obtaining module, for obtaining the operating parameter of target hardware, wherein above-mentioned mesh Marking hardware includes above-mentioned video card and/or above-mentioned video memory;Control module, for being controlled according to the operating parameter of above-mentioned target hardware State the operating mode of video card, wherein above-mentioned operating mode includes at least first mode and second mode, in above-mentioned first mode Under, above-mentioned video card is written and read above-mentioned video memory, and under above-mentioned second mode, above-mentioned video card is to above-mentioned memory and above-mentioned aobvious It deposits and is written and read.
Optionally, above-mentioned electronic equipment further includes central processing unit, and above-mentioned control module is in the work for controlling above-mentioned video card In the case that mode is above-mentioned second mode, it includes: that above-mentioned video card passes through branch that above-mentioned video card, which is written and read above-mentioned memory, The data channel for holding the first agreement is instructed to above-mentioned central processing unit transmission read-write operation;And above-mentioned central processing unit passes through branch The data channel for holding second protocol is based on the instruction of above-mentioned read-write operation and is written and read to above-mentioned memory.
Optionally, in the case where above-mentioned target hardware is above-mentioned video memory, above-mentioned operating parameter includes that above-mentioned video memory is current Idle storage space, above-mentioned control module be used for the current idle storage space of above-mentioned video memory be less than Tidle threshold the case where Under, the operating mode for controlling above-mentioned video card is second mode, so that above-mentioned video card reads above-mentioned video memory and above-mentioned memory Write operation.
Optionally, in the case where above-mentioned target hardware is above-mentioned video card, above-mentioned operating parameter includes above-mentioned video card to upper Working frequency when video memory is written and read is stated, above-mentioned control module is used for the feelings in above-mentioned working frequency overfrequency threshold value Under condition, the operating mode for controlling above-mentioned video card is second mode, so that above-mentioned video card carries out above-mentioned video memory and above-mentioned memory Read-write operation.
Optionally, in the case where above-mentioned target hardware is above-mentioned video card, above-mentioned operating parameter includes above-mentioned video card to upper Temperature when video memory is written and read is stated, above-mentioned control module is used for the control in the case where above-mentioned temperature is more than temperature threshold The operating mode for making above-mentioned video card is second mode, so that above-mentioned video card is written and read behaviour to above-mentioned video memory and above-mentioned memory Make.
Optionally, in the case where above-mentioned target hardware is above-mentioned video card and above-mentioned video memory, above-mentioned control module is used for root According to the operating mode of the above-mentioned video card of operating parameter co- controlling of the operating parameter and above-mentioned video memory of above-mentioned video card.
Optionally, above system further includes configuration module, for configuring predetermined storage area in above-mentioned memory in advance, with So that can be read in above-mentioned predetermined storage area in the case that the operating mode of above-mentioned video card is above-mentioned second mode Write operation.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to It enables, described instruction is when executed for realizing method as described above.
Detailed description of the invention
In order to which the disclosure and its advantage is more fully understood, referring now to being described below in conjunction with attached drawing, in which:
Fig. 1 diagrammatically illustrates the application scenarios of the electronic device works method according to the embodiment of the present disclosure;
Fig. 2 diagrammatically illustrates the flow chart of the electronic device works method according to the embodiment of the present disclosure;
Fig. 3, which is diagrammatically illustrated, internally deposits the flow chart being written and read according to the video card of the embodiment of the present disclosure;
Fig. 4, which is diagrammatically illustrated, internally deposits the schematic diagram being written and read according to the video card of the embodiment of the present disclosure;
Fig. 5 diagrammatically illustrates the flow chart of the electronic device works method according to another embodiment of the disclosure;
Fig. 6 diagrammatically illustrates the schematic diagram for configuring predetermined storage area in memory according to the embodiment of the present disclosure;
Fig. 7 diagrammatically illustrates the block diagram of the electronic device works system according to the embodiment of the present disclosure;
Fig. 8 diagrammatically illustrates the block diagram of the electronic device works system according to another embodiment of the disclosure;And
Fig. 9 diagrammatically illustrates the frame of the computer system for being adapted for carrying out disclosed method according to the embodiment of the present disclosure Figure.
Specific embodiment
Hereinafter, will be described with reference to the accompanying drawings embodiment of the disclosure.However, it should be understood that these descriptions are only exemplary , and it is not intended to limit the scope of the present disclosure.In the following detailed description, to elaborate many specific thin convenient for explaining Section is to provide the comprehensive understanding to the embodiment of the present disclosure.It may be evident, however, that one or more embodiments are not having these specific thin It can also be carried out in the case where section.In addition, in the following description, descriptions of well-known structures and technologies are omitted, to avoid Unnecessarily obscure the concept of the disclosure.
Term as used herein is not intended to limit the disclosure just for the sake of description specific embodiment.It uses herein The terms "include", "comprise" etc. show the presence of the feature, step, operation and/or component, but it is not excluded that in the presence of Or add other one or more features, step, operation or component.
There are all terms (including technical and scientific term) as used herein those skilled in the art to be generally understood Meaning, unless otherwise defined.It should be noted that term used herein should be interpreted that with consistent with the context of this specification Meaning, without that should be explained with idealization or excessively mechanical mode.
It, in general should be according to this using statement as " at least one in A, B and C etc. " is similar to Field technical staff is generally understood the meaning of the statement to make an explanation (for example, " system at least one in A, B and C " Should include but is not limited to individually with A, individually with B, individually with C, with A and B, with A and C, have B and C, and/or System etc. with A, B, C).Using statement as " at least one in A, B or C etc. " is similar to, generally come Saying be generally understood the meaning of the statement according to those skilled in the art to make an explanation (for example, " having in A, B or C at least One system " should include but is not limited to individually with A, individually with B, individually with C, with A and B, have A and C, have B and C, and/or the system with A, B, C etc.).It should also be understood by those skilled in the art that substantially arbitrarily indicating two or more The adversative conjunction and/or phrase of optional project shall be construed as either in specification, claims or attached drawing A possibility that giving including one of these projects, either one or two projects of these projects.For example, phrase " A or B " should A possibility that being understood to include " A " or " B " or " A and B ".
Shown in the drawings of some block diagrams and/or flow chart.It should be understood that some sides in block diagram and/or flow chart Frame or combinations thereof can be realized by computer program instructions.These computer program instructions can be supplied to general purpose computer, The processor of special purpose computer or other programmable data processing units, so that these instructions are when executed by this processor can be with Creation is for realizing function/operation device illustrated in these block diagrams and/or flow chart.
Therefore, the technology of the disclosure can be realized in the form of hardware and/or software (including firmware, microcode etc.).Separately Outside, the technology of the disclosure can take the form of the computer program product on the computer-readable medium for being stored with instruction, should Computer program product uses for instruction execution system or instruction execution system is combined to use.
Embodiment of the disclosure provides a kind of electronic equipment working method and system, wherein electronic equipment includes at least Video card, video memory and memory, electronic device works method include obtaining the operating parameter of target hardware, and wherein target hardware includes aobvious Card and/or video memory;The operating mode of video card is controlled according to the operating parameter of target hardware, wherein operating mode includes at least the One mode and second mode, in the flrst mode, video card is written and read video memory, and under the second mode, video card is to memory It is written and read with video memory.
Fig. 1 diagrammatically illustrates the application scenarios of the electronic device works method according to the embodiment of the present disclosure.
As shown in Figure 1, electronic equipment 100 includes at least video card 101, video memory 102 and memory 103.Video card 101 is used as host Bridge between display, controls the data visualization output of computer, such as converts figure for data by display Shape.It is also higher and higher to the operational efficiency requirement of video card as the complexity of graphic picture is higher and higher, for example, large-scale playing When game, the figure of presentation is extremely complex, and the requirement to video card is also corresponding higher, and the appearance of the video memory carried in the related technology Amount size is fixed, and has biggish limitation to the operational efficiency of video card, if improving the capacity of video memory, is needed replacing aobvious It deposits, while price is also very high, with the rapid development of smart terminal product, the demand of video memory is excessive, appearance shortage, and single The particle of 1GB is from 6 U.S. dollar hurricanes of two years ago to current 10+ U.S. dollar.
According to an embodiment of the invention, the data of processing can be stored in video memory 102 and memory 103 by video card 101, lead to The operating parameter for obtaining video card 101 and/or video memory 102 is crossed, is then controlled according to the operating parameter of video card 101 and/or video memory 102 The operating mode of video card 101, wherein operating mode includes at least first mode and second mode, in the flrst mode, video card 101 pairs of video memorys 102 are written and read, and under the second mode, video card 101 is written and read memory 103 and video memory 102. It is designed according to an embodiment of the invention, can be triggered by condition, the resource of calling system memory is as the dynamic of fixed video memory State extension.Even if in the case where the insufficient memory of video memory reading and writing data behaviour can be carried out by the space of memory Make.
Embodiment through the invention controls the operating mode of video card according to the operating parameter of video card and/or video memory, makes Obtaining video card has different operating modes, can be written and read to memory and video memory.Due to video card in the related technology The video memory capacity of collocation is usually fixation, so that the use of a variety of applications is restricted, passes through the money of calling system memory Source therefore can solve the memory space for being difficult to easily extend video memory in the related technology as the dynamic expansion of fixed video memory The problem of.
It should be noted that being only the example that can apply the scene of the embodiment of the present disclosure shown in Fig. 1, to help this field Technical staff understands the technology contents of the disclosure, but be not meant to the embodiment of the present disclosure may not be usable for other equipment, system, Environment or scene.
Fig. 2 diagrammatically illustrates the flow chart of the electronic device works method according to the embodiment of the present disclosure.
According to an embodiment of the invention, electronic equipment includes at least video card, video memory and memory, as shown in Fig. 2, this method packet Include operation S210~S220.
In operation S210, the operating parameter of target hardware is obtained, wherein target hardware includes video card and/or video memory.
According to an embodiment of the invention, the operating parameter of video card can only be obtained, for example, the work frequency of available video card Rate, temperature etc.;Operating parameter that video memory can also only be obtained, for example, the working frequency of available video memory, video memory is current Residual memory space, temperature etc.;The operating parameter of video card and video memory can also be obtained simultaneously, and details are not described herein.
In operation S220, the operating mode of video card is controlled according to the operating parameter of target hardware, wherein operating mode is at least Including first mode and second mode, in the flrst mode, video card is written and read video memory, under the second mode, video card Memory and video memory are written and read.
According to an embodiment of the invention, the operating parameter of video card and/or video memory is for determining whether to need to switch work The reference conditions of operation mode, for example, the operating parameter for getting video memory is the residual memory space of current video memory, if current aobvious It, at this time can be with the operating mode of switching video card, for example, being switched to the from first mode when the residual memory space deposited is less than threshold value Two modes, that is, video memory is written and read to be switched to by video card memory and video memory are written and read, so as to reach Extend the purpose of the memory space of video memory.
According to an embodiment of the invention, in the case where target hardware is video card and video memory, according to the operating parameter of video card With the operating mode of the operating parameter co- controlling video card of video memory.Can more Rational Decision whether switching working mode.
According to an embodiment of the invention, under default conditions memory can be used as Installed System Memory use, when detecting video card and/or The operating parameter of video memory can be switched to the state of extension video memory when meeting certain condition.
According to an embodiment of the invention, after being switched to second mode from first mode, if meeting preset condition, example Such as, operating parameter can be switched to first mode by second mode in the case where video memory is able to bear again.
According to an embodiment of the invention, the type of electronic equipment is not construed as limiting, including but not limited to smart phone, notebook Computer, tablet computer, desktop computer, the electronic equipments such as television set.
Embodiment through the invention controls the operating mode of video card according to the operating parameter of video card and/or video memory, makes Obtaining video card has different operating modes, can be written and read to memory and video memory.Due to video card in the related technology The video memory capacity of collocation is usually fixation, so that the use of a variety of applications is restricted, passes through the money of calling system memory Source therefore can solve the memory space for being difficult to easily extend video memory in the related technology as the dynamic expansion of fixed video memory The problem of.
Below with reference to Fig. 3~Fig. 6, method shown in Fig. 2 is described further in conjunction with specific embodiments.
Fig. 3, which is diagrammatically illustrated, internally deposits the flow chart being written and read according to the video card of the embodiment of the present disclosure.
According to an embodiment of the invention, electronic equipment further includes central processing unit, as shown in figure 3, in the work of control video card In the case that operation mode is second mode, video card, which is internally deposited, to be written and read including operating S221~S222.
In operation S221, video card is by supporting the data channel of the first agreement transmits read-write operation to central processing unit to refer to It enables.
In operation S222, central processing unit is by supporting the data channel of second protocol is based on read-write operation to instruct to memory It is written and read.
According to an embodiment of the invention, for example, video card can be made to pass through on the basis of video card original arranges in pairs or groups fixed video memory PCI-E bus access central processing unit, central processing unit can internally be deposited with DDR agreement and be written and read.According to the present invention Embodiment, the size of memory is not construed as limiting, such as the size of single capacity is led till now from 1GB/2GB/4GB/8GB before The 16GB of stream is ok.
Fig. 4, which is diagrammatically illustrated, internally deposits the schematic diagram being written and read according to the video card of the embodiment of the present disclosure.
As shown in figure 4, according to an embodiment of the invention, the base of video memory (VRAM) can be fixed in former arrange in pairs or groups of video card (dGPU) It on plinth, be written and read video card (dGPU) can with DDR agreement to memory (DDR) by PCI-E bus access CPU, CPU Operation.Video card is contained in Fig. 4, and read-write operation instruction is transmitted to central processing unit by the data channel of the first agreement of support, with And central processing unit is by supporting the data channel of second protocol is based on internal deposit of read-write operation instruction to be written and read.
Embodiment through the invention transmits data by different agreements, can support the application scenarios of independent display card.
According to an embodiment of the invention, operating parameter includes the current sky of video memory in the case where target hardware is video memory Not busy memory space includes: the idle storage current in video memory according to the operating mode that the operating parameter of target hardware controls video card In the case that space is less than Tidle threshold, the operating mode for controlling video card is second mode, so that video card is to video memory and memory It is written and read.
According to an embodiment of the invention, the current idle storage space of video memory can be monitored in real time, if video memory is current In the case that idle storage space is less than Tidle threshold, control video card is written and read video memory and memory.For example, video memory is worked as Preceding idle storage space is 200M, but preset Tidle threshold is 250M, therefore, in order to guarantee video card work hours according to reading It writes normally, can control video card and video memory and memory are written and read.
Embodiment through the invention illustrates video memory if the current idle storage space of video memory is less than Tidle threshold Capacity is inadequate, cannot reach the calculating requirement of video card, the operating mode of video card is switched to second mode, so that video card is to video memory It is written and read with memory, it is ensured that the computation rate of video card reaches higher video card utilization efficiency, reached intelligence and cut Change the effect of video card operating mode.
According to an embodiment of the invention, in the case where target hardware is video card, operating parameter include video card to video memory into Working frequency when row read-write operation includes: in work frequency according to the operating mode that the operating parameter of target hardware controls video card In the case where rate overfrequency threshold value, the operating mode for controlling video card is second mode, so that video card is to video memory and interior deposits into Row read-write operation.
According to an embodiment of the invention, the working frequency of video card can be obtained by the driving of video card itself, or obtain Voltage or current when video card works determines the working frequency of video card.
According to an embodiment of the invention, in the case where working frequency overfrequency threshold value, control video card is to video memory and interior It deposits and is written and read.For example, the current working frequency of video memory is 1200HZ, but within preset frequency threshold 1000HZ, Therefore, in order to guarantee that video card work hours are normal according to read-write, it can control video card and video memory and memory be written and read.
Embodiment through the invention, can more Rational Decision whether switching working mode, it is aobvious to have reached intelligent switching The effect of card operating mode.
According to an embodiment of the invention, in the case where target hardware is video card, operating parameter include video card to video memory into It is more than temperature that temperature when row read-write operation, which includes: in temperature according to the operating mode that the operating parameter of target hardware controls video card, In the case where spending threshold value, the operating mode for controlling video card is second mode, so that video card is written and read behaviour to video memory and memory Make.
According to an embodiment of the invention, temperature when video card is written and read video memory is higher, illustrate video card work consumption Can be big, the working frequency of video card also can be high at this time.The temperature of video card can be detected by temperature sensor, it is true by test of many times Determine temperature threshold.
Embodiment through the invention, the temperature by obtaining video card determine whether switching working mode, realize simply, also Video memory capacity can be extended.
Fig. 5 diagrammatically illustrates the flow chart of the electronic device works method according to another embodiment of the disclosure.
It should be noted that further including operation described in attached drawing 2 in this embodiment other than operating S230 S210~S220.For purpose of brevity for description, it is omitted here the description to operation S210~S220.
As shown in figure 5, this method further includes operation S230.
In operation S230, predetermined storage area is configured in memory in advance, so that when the operating mode of video card is second In the case where mode, it can be written and read in predetermined storage area.
According to an embodiment of the invention, predetermined storage area can be configured from memory in advance by system bios, for example, By system bios using low address position 2G as optional state, in the case that the operating mode of video card is second mode, energy It is enough to be written and read in the low address position storage region.
Embodiment through the invention configures predetermined storage area in memory, and it is pre- that data storage can be deposited this by video card Determine in storage region, it is ensured that the computation rate of video card reaches higher video card utilization efficiency, is equivalent to and extends video memory Capacity.
Fig. 6 diagrammatically illustrates the schematic diagram for configuring predetermined storage area in memory according to the embodiment of the present disclosure.
As shown in fig. 6, the total capacity of two root memory items is 32GB, each 16GB capacity can will a wherein root memory Memory space in item is divided into multistage, such as can preset the part that the memory headroom of 2 or 4GB can choose as video card.
Fig. 7 diagrammatically illustrates the block diagram of the electronic device works system according to the embodiment of the present disclosure.
As shown in Figure 7, wherein electronic equipment includes at least video card, video memory and memory, and electronic device works system 300 is wrapped It includes and obtains module 310 and control module 320.
The operating parameter that module 310 is used to obtain target hardware is obtained, wherein target hardware includes video card and/or video memory.
Control module 320 is used to control the operating mode of video card according to the operating parameter of target hardware, wherein operating mode Including at least first mode and second mode, in the flrst mode, video card is written and read video memory, under the second mode, Video card is written and read memory and video memory.
Embodiment through the invention controls the operating mode of video card according to the operating parameter of video card and/or video memory, makes Obtaining video card has different operating modes, can be written and read to memory and video memory.Due to video card in the related technology The video memory capacity of collocation is usually fixation, so that the use of a variety of applications is restricted, passes through the money of calling system memory Source therefore can solve the memory space for being difficult to easily extend video memory in the related technology as the dynamic expansion of fixed video memory The problem of.
In accordance with an embodiment of the present disclosure, electronic equipment further includes central processing unit, work of the control module 320 in control video card In the case that operation mode is second mode, video card internally deposits the data being written and read including video card by the first agreement of support Channel is instructed to central processing unit transmission read-write operation;And central processing unit is by supporting the data channel of second protocol to be based on Read-write operation instruction, which is internally deposited, to be written and read.
Embodiment through the invention transmits data by different agreements, can support the application scenarios of independent display card.
In accordance with an embodiment of the present disclosure, in the case where target hardware is video memory, operating parameter includes the current sky of video memory Not busy memory space, control module 320 are used in the case where the current idle storage space of video memory is less than Tidle threshold, and control is aobvious The operating mode of card is second mode, so that video card is written and read video memory and memory.
In accordance with an embodiment of the present disclosure, in the case where target hardware is video card, operating parameter include video card to video memory into Working frequency when row read-write operation, control module 320 are used in the case where working frequency overfrequency threshold value, control video card Operating mode be second mode so that video card is written and read video memory and memory.
In accordance with an embodiment of the present disclosure, in the case where target hardware is video card, operating parameter include video card to video memory into Temperature when row read-write operation, control module 320 are used to control the Working mould of video card in the case where temperature is more than temperature threshold Formula is second mode, so that video card is written and read video memory and memory.
In accordance with an embodiment of the present disclosure, in the case where target hardware is video card and video memory, control module 320 is used for basis The operating mode of the operating parameter co- controlling video card of the operating parameter and video memory of video card.
Fig. 8 diagrammatically illustrates the block diagram of the electronic device works system according to another embodiment of the disclosure.
As shown in figure 8, electronic device works system 300 further includes configuration module 330, for configuration to be pre- in memory in advance Storage region is determined, so that can carry out in predetermined storage area in the case that the operating mode of video card is second mode Read-write operation.
Embodiment through the invention configures predetermined storage area in memory, and it is pre- that video card can store data in this Determine in storage region, it is ensured that the computation rate of video card reaches higher video card utilization efficiency, is equivalent to and extends video memory Capacity.
It is module according to an embodiment of the present disclosure, submodule, unit, any number of or in which any more in subelement A at least partly function can be realized in a module.It is single according to the module of the embodiment of the present disclosure, submodule, unit, son Any one or more in member can be split into multiple modules to realize.According to the module of the embodiment of the present disclosure, submodule, Any one or more in unit, subelement can at least be implemented partly as hardware circuit, such as field programmable gate Array (FPGA), programmable logic array (PLA), system on chip, the system on substrate, the system in encapsulation, dedicated integrated electricity Road (ASIC), or can be by the hardware or firmware for any other rational method for integrate or encapsulate to circuit come real Show, or with any one in three kinds of software, hardware and firmware implementations or with wherein any several appropriately combined next reality It is existing.Alternatively, can be at least by part according to one or more of the module of the embodiment of the present disclosure, submodule, unit, subelement Ground is embodied as computer program module, when the computer program module is run, can execute corresponding function.
For example, obtaining module 310, any number of in control module 320 and configuration module 330 may be incorporated in a mould It is realized in block or any one module therein can be split into multiple modules.Alternatively, one or more in these modules At least partly function of a module can be combined at least partly function of other modules, and be realized in a module.Root According to embodiment of the disclosure, obtaining at least one of module 310, control module 320 and configuration module 330 can be at least by portion Ground is divided to be embodied as hardware circuit, such as field programmable gate array (FPGA), programmable logic array (PLA), system on chip, base The system in system, encapsulation, specific integrated circuit (ASIC) on plate, or can be by carrying out times that be integrated or encapsulating to circuit The hardware such as what other rational method or firmware realize, or with software, hardware and with any one in three kinds of implementations of part Kind or several appropriately combined realized with wherein any.Alternatively, obtaining module 310, control module 320 and configuration module 330 At least one of can at least be implemented partly as computer program module, when the computer program module is run, Corresponding function can be executed.
Fig. 9 diagrammatically illustrates the frame of the computer system for being adapted for carrying out disclosed method according to the embodiment of the present disclosure Figure.Computer system shown in Fig. 9 is only an example, should not function to the embodiment of the present disclosure and use scope bring and appoint What is limited.
As shown in figure 9, computer system 400 includes central processing unit 410, computer readable storage medium 420, video card 430 and video memory 440.The computer system 400 can execute the method according to the embodiment of the present disclosure.
Specifically, central processing unit 410 or video card 430 for example may include general purpose microprocessor, instruction set processor And/or related chip group and/or special microprocessor (for example, specific integrated circuit (ASIC)), etc..Central processing unit 410 It can also include the onboard storage device for caching purposes.
Video card 430 can be the single treatment list of the different movements for executing the method flow according to the embodiment of the present disclosure First or multiple processing units.
Computer readable storage medium 420, such as can be times can include, store, transmitting, propagating or transmitting instruction Meaning medium.For example, readable storage medium storing program for executing can include but is not limited to memory, such as random access memory (RAM).
Video memory 440 may include computer program 441, which may include that code/computer is executable Instruction.
Computer program 441 can be configured to have the computer program code for example including computer program module.Example Such as, in the exemplary embodiment, the code in computer program 441 may include one or more program modules, for example including 441A, module 441B ....It should be noted that the division mode and number of module are not fixation, those skilled in the art can To be combined according to the actual situation using suitable program module or program module, the combination of these program modules is executed by video card 430.
In accordance with an embodiment of the present disclosure, video card 430 can be interacted with central processing unit 410, to execute according to this public affairs Open the method or its any deformation of embodiment.
It can according to an embodiment of the invention, obtaining at least one of module 310, control module 320 and configuration module 330 To be embodied as the computer program module with reference to Fig. 9 description, when being executed by video card 430, phase described above may be implemented It should operate.
Another aspect of the present disclosure provides a kind of computer program, and the computer program, which includes that computer is executable, to be referred to It enables, described instruction is when executed for realizing method as described above.
In accordance with an embodiment of the present disclosure, computer readable storage medium can be computer-readable signal media or calculating Machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but it is unlimited In system, device or the device of --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, or any above combination.At this In open, computer readable storage medium can be any tangible medium for including or store program, which can be commanded Execution system, device or device use or in connection.And in the disclosure, computer-readable signal media can To include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying computer-readable program generation Code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, optical signal or above-mentioned any Suitable combination.Computer-readable signal media can also be any computer-readable other than computer readable storage medium Medium, the computer-readable medium can be sent, propagated or transmitted for being used by instruction execution system, device or device Or program in connection.The program code for including on computer-readable medium can pass with any suitable medium It is defeated, including but not limited to: wireless, wired, optical cable, radiofrequency signal etc. or above-mentioned any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
It will be understood by those skilled in the art that the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations or/or combination, even if such combination or combination are not expressly recited in the disclosure.Particularly, exist In the case where not departing from disclosure spirit or teaching, the feature recorded in each embodiment and/or claim of the disclosure can To carry out multiple combinations and/or combination.All these combinations and/or combination each fall within the scope of the present disclosure.
Although the disclosure, art technology has shown and described referring to the certain exemplary embodiments of the disclosure Personnel it should be understood that in the case where the spirit and scope of the present disclosure limited without departing substantially from the following claims and their equivalents, A variety of changes in form and details can be carried out to the disclosure.Therefore, the scope of the present disclosure should not necessarily be limited by above-described embodiment, But should be not only determined by appended claims, also it is defined by the equivalent of appended claims.

Claims (10)

1. a kind of electronic equipment working method, wherein the electronic equipment includes at least video card, video memory and memory, the method Include:
The operating parameter for obtaining target hardware, wherein the target hardware includes the video card and/or the video memory;
The operating mode of the video card is controlled according to the operating parameter of the target hardware, wherein the operating mode at least wraps First mode and second mode are included, in the first mode, the video card is written and read the video memory, described Under two modes, the video card is written and read the memory and the video memory.
2. controlling described show according to the method described in claim 1, wherein, the electronic equipment further includes central processing unit In the case that the operating mode of card is the second mode, the video card, which is written and read the memory, includes:
The video card is by supporting the data channel of the first agreement to transmit read-write operation instruction to the central processing unit;And
The central processing unit is by supporting the data channel of second protocol to be based on the read-write operation and instruct interior to deposit into described Row read-write operation.
3. according to the method described in claim 1, wherein, in the case where the target hardware is the video memory, the operation Parameter includes the current idle storage space of the video memory, and the work of the video card is controlled according to the operating parameter of the target hardware Operation mode includes:
In the case where the current idle storage space of the video memory is less than Tidle threshold, the operating mode for controlling the video card is Second mode, so that the video card is written and read the video memory and the memory.
4. according to the method described in claim 1, wherein, in the case where the target hardware is the video card, the operation Parameter includes the working frequency when video card is written and read the video memory, according to the operating parameter of the target hardware The operating mode for controlling the video card includes:
In the case where the working frequency overfrequency threshold value, the operating mode for controlling the video card is second mode, so that The video card is obtained to be written and read the video memory and the memory.
5. according to the method described in claim 1, wherein, in the case where the target hardware is the video card, the operation Parameter includes the temperature when video card is written and read the video memory, is controlled according to the operating parameter of the target hardware The operating mode of the video card includes:
In the case where the temperature is more than temperature threshold, the operating mode for controlling the video card is second mode, so that institute Video card is stated to be written and read the video memory and the memory.
6. according to the method described in claim 1, wherein, the case where the target hardware is the video card and the video memory Under, include: according to the operating mode that the operating parameter of the target hardware controls the video card
The operating mode of the video card according to the operating parameter co- controlling of the operating parameter of the video card and the video memory.
7. according to the method described in claim 1, wherein, the method also includes:
Predetermined storage area is configured in the memory in advance, so that when the operating mode of the video card is the second mode In the case where, it can be written and read in the predetermined storage area.
8. a kind of electronic equipment work system, wherein the electronic equipment includes at least video card, video memory and memory, the system Include:
Module is obtained, for obtaining the operating parameter of target hardware, wherein the target hardware includes the video card and/or described Video memory;
Control module, for controlling the operating mode of the video card according to the operating parameter of the target hardware, wherein the work Operation mode includes at least first mode and second mode, and in the first mode, the video card is written and read the video memory Operation, in the second mode, the video card is written and read the memory and the video memory.
9. system according to claim 8, wherein the electronic equipment further includes central processing unit, the control module In the case where controlling the operating mode of the video card is the second mode, the video card is written and read the memory Include:
The video card is by supporting the data channel of the first agreement to transmit read-write operation instruction to the central processing unit;And
The central processing unit is by supporting the data channel of second protocol to be based on the read-write operation and instruct interior to deposit into described Row read-write operation.
10. system according to claim 8, wherein the system also includes:
Configuration module, for configuring predetermined storage area in the memory in advance, so that working as the operating mode of the video card In the case where for the second mode, it can be written and read in the predetermined storage area.
CN201811018901.8A 2018-08-31 2018-08-31 Electronic equipment working method and system Active CN109343954B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811018901.8A CN109343954B (en) 2018-08-31 2018-08-31 Electronic equipment working method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811018901.8A CN109343954B (en) 2018-08-31 2018-08-31 Electronic equipment working method and system

Publications (2)

Publication Number Publication Date
CN109343954A true CN109343954A (en) 2019-02-15
CN109343954B CN109343954B (en) 2022-10-25

Family

ID=65292342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811018901.8A Active CN109343954B (en) 2018-08-31 2018-08-31 Electronic equipment working method and system

Country Status (1)

Country Link
CN (1) CN109343954B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112925572A (en) * 2021-03-01 2021-06-08 联想(北京)有限公司 Control method and device and electronic equipment
WO2021254526A1 (en) * 2020-06-16 2021-12-23 深圳Tcl新技术有限公司 Memory operating-frequency adjustment method, smart terminal, and storage medium
CN116521112A (en) * 2023-05-15 2023-08-01 摩尔线程智能科技(北京)有限责任公司 Parameter adjusting method, display card, electronic equipment and storage medium
CN117455750A (en) * 2023-12-26 2024-01-26 芯瞳半导体技术(山东)有限公司 Video memory management method, device, system, medium and equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6271866B1 (en) * 1998-12-23 2001-08-07 Honeywell International Inc. Dual port memory system for buffering asynchronous input to a raster scanned display
CN102331918A (en) * 2011-07-07 2012-01-25 曙光信息产业股份有限公司 LoongSon blade integrated display card
CN103002445A (en) * 2012-11-08 2013-03-27 张维加 Safe mobile electronic equipment for providing application services
CN103902460A (en) * 2012-12-27 2014-07-02 鸿富锦精密工业(深圳)有限公司 Video card memorizer control system and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6271866B1 (en) * 1998-12-23 2001-08-07 Honeywell International Inc. Dual port memory system for buffering asynchronous input to a raster scanned display
CN102331918A (en) * 2011-07-07 2012-01-25 曙光信息产业股份有限公司 LoongSon blade integrated display card
CN103002445A (en) * 2012-11-08 2013-03-27 张维加 Safe mobile electronic equipment for providing application services
CN103902460A (en) * 2012-12-27 2014-07-02 鸿富锦精密工业(深圳)有限公司 Video card memorizer control system and electronic device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
《电脑迷》杂志社: "《电脑迷2005合订版》", 30 September 2005 *
晓峰: "DVMT技术让集成显卡"少吃饭多干活"", 《电脑爱好者》 *
月之茧: "独辟蹊径还是殊途同归——HyperMemory VS TurboCache", 《大众硬件》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021254526A1 (en) * 2020-06-16 2021-12-23 深圳Tcl新技术有限公司 Memory operating-frequency adjustment method, smart terminal, and storage medium
CN112925572A (en) * 2021-03-01 2021-06-08 联想(北京)有限公司 Control method and device and electronic equipment
CN112925572B (en) * 2021-03-01 2023-05-23 联想(北京)有限公司 Control method and device and electronic equipment
CN116521112A (en) * 2023-05-15 2023-08-01 摩尔线程智能科技(北京)有限责任公司 Parameter adjusting method, display card, electronic equipment and storage medium
CN117455750A (en) * 2023-12-26 2024-01-26 芯瞳半导体技术(山东)有限公司 Video memory management method, device, system, medium and equipment
CN117455750B (en) * 2023-12-26 2024-04-02 芯瞳半导体技术(山东)有限公司 Video memory management method, device, system, medium and equipment

Also Published As

Publication number Publication date
CN109343954B (en) 2022-10-25

Similar Documents

Publication Publication Date Title
CN109343954A (en) Electronic device works method and system
CN107957831B (en) Data processing method, device and processing equipment for displaying interface content
US10296217B2 (en) Techniques to configure a solid state drive to operate in a storage mode or a memory mode
CN109388595B (en) High bandwidth memory system and logic die
US20220121603A1 (en) Network-on-chip data processing method and device
KR102176645B1 (en) Method for managing applicationand electronic device implementing the same
CN103946789A (en) Rendering mode selection in graphics processing units
CN103348320A (en) Computational resource pipelining in general purpose graphics processing unit
CN110321189B (en) Method and equipment for presenting hosted program in hosted program
CN110827061B (en) Method and equipment for providing presentation information in novel reading process
CN104267801A (en) Power consumption and bandwidth reducing method and system
EP2945126B1 (en) Graphics processing method and graphics processing apparatus
CN111080761B (en) Scheduling method and device for rendering tasks and computer storage medium
CN103999044A (en) Techniques for multiple pass rendering
US20190156245A1 (en) Platform as a service cloud server and machine learning data processing method thereof
EP3129953B1 (en) Improved banked memory access efficiency by a graphics processor
US10643252B2 (en) Banner display method of electronic device and electronic device thereof
WO2021022979A1 (en) Information flow display method and device
CN104054049A (en) Reducing number of read/write operations performed by CPU to duplicate source data to enable parallel processing on source data
US9959598B2 (en) Method of processing image and electronic device thereof
US20180357190A1 (en) Memory sharing for application offload from host processor to integrated sensor hub
CN109360142B (en) Multi-channel graphic output control method based on ZYNQ
US20220334888A1 (en) Methods and apparatus to synchronize threads
CN107656702A (en) Accelerate the method and its system and electronic equipment of disk read-write
CN102200961B (en) Expansion method of sub-units in dynamically reconfigurable processor

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
GR01 Patent grant
GR01 Patent grant