CN110362375A - Display methods, device, equipment and the storage medium of desktop data - Google Patents

Display methods, device, equipment and the storage medium of desktop data Download PDF

Info

Publication number
CN110362375A
CN110362375A CN201910625833.XA CN201910625833A CN110362375A CN 110362375 A CN110362375 A CN 110362375A CN 201910625833 A CN201910625833 A CN 201910625833A CN 110362375 A CN110362375 A CN 110362375A
Authority
CN
China
Prior art keywords
desktop
desktop data
data
application program
display
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
CN201910625833.XA
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.)
Guangzhou Huya Technology Co Ltd
Original Assignee
Guangzhou Huya Technology 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 Guangzhou Huya Technology Co Ltd filed Critical Guangzhou Huya Technology Co Ltd
Priority to CN201910625833.XA priority Critical patent/CN110362375A/en
Publication of CN110362375A publication Critical patent/CN110362375A/en
Pending legal-status Critical Current

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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a kind of display methods of desktop data, device, equipment and storage medium, the display methods of desktop data includes: to receive the operation of display desktop data;The state of specified application program is determined in response to the operation;Desktop data is exported to the application program when the state is operation;The desktop data is shown in desktop.It realizes and desktop data is directly output to the specified application program being currently running when receiving the Rendering operations of display desktop data, it is exported again without carrying out screenshot to the desktop data after display by GDI to specified application program, avoid by GDI screenshot record desktop data there are low efficiencys, the problem of data are unsmooth and high time delay, since the desktop data in video memory to be directly output to specified application program, without screenshot, both the collecting efficiency of desktop data had been improved, reduce time delay, in turn ensure that the frame per second of desktop data does not change, smoothness can be obtained, smooth desktop data.

Description

Display methods, device, equipment and the storage medium of desktop data
Technical field
The present embodiments relate to technical field of data processing more particularly to a kind of display methods of desktop data, desktop Display device, equipment and the storage medium of data.
Background technique
Online live streaming has become one of the mode of cybertimes people's amusement and recreation interaction, education live streaming, game live streaming Or viewing film live streaming when, usually main broadcaster end screen show ponder the time record screen generation live video data after send out It send to viewer end, is broadcast live with being realized in viewer end playing video data.
Currently, mainly using GDI (Graphics Device disclosed in the Microsoft in desktop acquisition technique Interface Plus, graphical device interface) screenshot mode realize record screen, GDI screenshot is to the desktop number shown on screen According to screenshotss are carried out, the frame per second that GDI screenshot acquires desktop data is lower, the low efficiency of desktop data is acquired, when what is shown on screen When the frame per second of desktop data is higher, the data for causing GDI screenshot to generate lose frame, and time delay is high.
In conclusion by GDI screenshot recording desktop data, there are low efficiency, data unsmooth and high time delays to ask at present Topic.
Summary of the invention
The embodiment of the present invention provides a kind of display methods of desktop data, the display device of desktop data, equipment and storage Medium, to solve the problems, such as that there are low efficiencys, the unsmooth and high time delay of data by GDI screenshot recording desktop data.
In a first aspect, the embodiment of the invention provides a kind of display methods of desktop data, comprising:
Receive the operation of display desktop data;
In response to the operation, the state of specified application program is determined;
When the state is operation, desktop data is exported to the application program;
The desktop data is shown in desktop.
Second aspect, the embodiment of the invention provides a kind of display methods of desktop data, comprising:
Dynamic link library file is injected into Desktop Window Manager, the dynamic link library file has record screen function;
Determine that rendering function, the rendering function are used to show the desktop data in video memory in desktop;
Function replacement module, for the rendering function to be replaced with the record screen function, the record screen function is for connecing Receive the operation of display desktop data;In response to the operation, the state of specified application program is determined;When the state is operation When, desktop data is exported to the application program;The desktop data is shown in desktop.
The third aspect, the embodiment of the invention provides a kind of display devices of desktop data, comprising:
Receiving module is operated, for receiving the operation of display desktop data;
State determining module, for determining the state of specified application program in response to the operation;
Desktop data output module, for when the state is operation, desktop data to be exported to the application program;
Display module, for showing the desktop data in desktop.
Fourth aspect, the embodiment of the invention provides a kind of display devices of desktop data, comprising:
Library file injection module, for dynamic link library file to be injected into Desktop Window Manager, the dynamic link Library file has record screen function;
Function determination module is rendered, for determining that rendering function, the rendering function are used to show in video memory in desktop Desktop data;
Function replacement module, for the rendering function to be replaced with the record screen function, the record screen function is for connecing Receive the operation of display desktop data;In response to the operation, the state of specified application program is determined;When the state is operation When, desktop data is exported to the application program;The desktop data is shown in desktop.
5th aspect, the embodiment of the invention provides a kind of equipment, the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes the display methods of desktop data described in any embodiment of the present invention.
6th aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored thereon with computer journey Sequence realizes the display methods of desktop data described in any embodiment of the present invention when the program is executed by processor.
The embodiment of the present invention determines the state of specified application program in response to the operation of display desktop data, specified Application program state be operation when, desktop data is exported to specified application program, realizes and is receiving display table The desktop data in video memory is directly output to the specified application program being currently running when the Rendering operations of face data, without logical It crosses GDI to export to specified application program the desktop data progress screenshot after display again, avoids and recorded by GDI screenshot There is the unsmooth and high time delay of low efficiency, data in desktop data, due to being directly output to the desktop data in video memory Specified application program is not necessarily to screenshot, had both improved the collecting efficiency of desktop data, and reduced time delay, and in turn ensured desktop number According to frame per second do not change, smooth, smooth desktop data can be obtained.
Detailed description of the invention
Fig. 1 is a kind of flow chart of the display methods for desktop data that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of the display methods of desktop data provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow chart of the display methods for desktop data that the embodiment of the present invention three provides;
Fig. 4 is a kind of flow chart of the display methods for desktop data that the embodiment of the present invention four provides;
Fig. 5 is a kind of structural block diagram of the display device for desktop data that the embodiment of the present invention five provides;
Fig. 6 is a kind of structural block diagram of the display device for desktop data that the embodiment of the present invention six provides;
Fig. 7 is a kind of structural block diagram for equipment that the embodiment of the present invention seven provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is a kind of flow chart of the display methods for desktop data that the embodiment of the present invention one provides, the embodiment of the present invention It is applicable to the case where recording to the data that desktop is shown, this method can be executed by the display device of desktop data, The device can be realized by way of software and/or hardware, and be integrated in the equipment for executing this method, specifically, such as Shown in Fig. 1, this method be may include steps of:
S101, the operation for receiving display desktop data.
In embodiments of the present invention, operating system can pass through GPU (graphics processor, Graphics Processing Unit) accelerate the display of desktop data, GPU be used in PC, work station, game machine and mobile device (such as tablet computer, Smart phone etc.) etc. the microprocessor of image operation work is carried out on electronic equipments, GPU can will be shown required for operating system Registration provides line scan signals to display according to carrying out conversion driving, controls the correct display of display.
GPU possesses 2D or 3D figure acceleration function, and CPU (central processing unit, Central Processing Unit) needs When the display data of display operation system, need to show that data are sent to GPU with instruction type, GPU can calculate display The all pixels of the display data, and designated position is shown over the display.
In practical applications, operating system generates the corresponding video memory data of a desktop images in GPU, is used for display Display receives the operation of display desktop data, optionally, the behaviour when CPU issues the idsplay order for being directed to the video memory data When can be update desktop data, Rendering operations of the GPU to the desktop data execution in video memory.
The state of S102, the application program specified in response to the operation, determination.
In embodiments of the present invention, whether the state of application program can refer to application program currently in the shape run State can also be the state of triggering recording desktop data after the specified application program of user's starting.Wherein, specified application program It can be the pre-set application program of user, for example, specified application program can be live streaming application program, short Video Applications Program etc., can when receiving the operation of display desktop data in order to export desktop data to specified application program To determine the state of specified application program, if the state of application program is positive at runtime, S103 is executed, is otherwise directly existed Desktop shows desktop data.
S103, when the state be operation when, desktop data is exported to the application program.
It, can be using the video memory data in GPU as desktop data, and by the table when specified application program is currently running Face data is exported to specified application program, then can will be in GPU for example, specified application program is live streaming application program The duplication of video memory data, and the calling interface by the way that application program is broadcast live is exported to live streaming application program, in live streaming application program Live video data is generated when operation, which can play in direct broadcasting room, to realize in direct broadcasting room to main broadcaster The display desktop operated carries out record screen live streaming.
S104, the desktop data is shown in desktop.
Desktop data is being exported to specified application program, the video memory data in GPU can rendered, by wash with watercolours Data after dye are exported to display, to show desktop data over the display, i.e., when needing to record desktop data, are realized First desktop data is exported to specified application program, then shows desktop data in desktop.
The embodiment of the present invention determines the state of specified application program in response to the operation of display desktop data, specified Application program state be operation when, desktop data is exported to specified application program, realizes and is receiving display table When the Rendering operations of face data, the desktop data in video memory is directly output to the specified application program being currently running, is not necessarily to Screenshot is carried out to the desktop data after display by GDI to be exported again to specified application program, is avoided and is recorded by GDI screenshot There is the unsmooth and high time delay of low efficiency, data in desktop data processed, due to directly exporting the desktop data in video memory To specified application program, it is not necessarily to after desktop data is shown screenshot again, had both improved the collecting efficiency of desktop data, is reduced Time delay, in turn ensures that the frame per second of desktop data does not change, and can obtain smooth, smooth desktop data.
Embodiment two
Fig. 2 is a kind of flow chart of the display methods of desktop data provided by Embodiment 2 of the present invention, and the present invention is aforementioned Output desktop data to application program and display desktop data are optimized on the basis of embodiment one, specifically, such as Fig. 2 institute Show, this method may include steps of:
S201, the operation for receiving display desktop data.
The state of S202, the application program specified in response to the operation, determination.
It, can be by appointing for Windows system after the operation for receiving display desktop data in the embodiment of the present invention Business manager obtains the state of each application program, and Windows task manager provides the information of computer performance, and shows The details of the application program and process that are run on computer, pass through the available specified application journey of task manager The state of sequence executes S203-S206, in specified application program when the state of specified application program is operating status When state is not running state, S206 is executed.
Certainly, for Android system, the operating status of each application program can be obtained by application manager, for not Same operating system can obtain the state of application program by different modes, and the embodiment of the present invention is to acquisition application program The mode of state is without restriction.
S203, desktop data is searched in the video memory of graphics processor.
In practical applications, video memory and GPU are a part of video card, and for storing data relevant to figure, video memory is deposited Ephemeral data is stored up, video memory is higher compared to internal storage data transmission speed, and video memory can store the vertex before rendering pipeline processing, line The initial data such as textures are managed, also can store the pixel data obtained after processing.Such as a texture mapping, first it is loaded into Then memory reloads in video memory, the texture mapping in video memory, which passes through the pixel data generated after rendering pipeline, to be stored in In video memory, display then is output to by DVI, DP or other interfaces and is shown.Therefore, in practical applications, operation system System is that video memory is arranged to store and need desktop data to be shown in GPU, can be after the desktop data stored in the video memory is rendered Display shows that can search in video memory before desktop data renders needs desktop data to be shown.
S204, the duplication desktop data.
Specifically, it after finding desktop data in the video memory of image processor, can export in the desktop data to aobvious Before showing device, the data in the video memory are replicated, the desktop data that this is copied to is exported to specified application program.
S205, the desktop data after duplication is exported to the application program.
In the alternative embodiment of the embodiment of the present invention, specified application program can be live streaming application program, work as live streaming It, can be by the desktop after duplication when application program is operating status and needs to record desktop data generation live video data Data are exported by data call interface to live streaming application program, to generate live streaming view in the operational process of live streaming application program Frequency evidence.
S206, rendering function is called, the rendering function is for showing the desktop data in the video memory of graphics processor To desktop.
It exports by desktop data to specified application program, or when specified application program is in not running state, Rendering function rendering desktop data can be called to be shown in desktop, it specifically, can be by rendering function in video memory Desktop data rendered, obtain the corresponding all pixels of desktop data, according to pixel generate control display control believe Number, and then display is controlled by control signal, desktop data is shown.
The embodiment of the present invention determines the state of specified application program in response to the operation of display desktop data, specified Application program state be operation when, desktop data is searched in the video memory of graphics processor, and desktop is replicated from video memory Desktop data after duplication is exported to specified application program, finally calls rendering function by the desktop number in video memory by data It according to display to desktop, realizes when receiving the Rendering operations of display desktop data, desktop data and defeated is replicated from video memory Out to the specified application program being currently running, without by GDI to the desktop data after display carry out screenshot export again to Specified application program avoids and records desktop data by GDI screenshot there are low efficiency, data unsmooth and high time delays to ask Topic is not necessarily to screenshot, both improves desktop data since the desktop data in video memory to be directly output to specified application program Collecting efficiency reduces time delay, in turn ensures that the frame per second of desktop data does not change, and can obtain smooth, smooth desktop Data.
Embodiment three
Fig. 3 is a kind of flow chart of the display methods for desktop data that the embodiment of the present invention three provides, the embodiment of the present invention It is applicable to the case where recording to the data that desktop is shown, this method can be executed by the display device of desktop data, The device can be realized by way of software and/or hardware, and be integrated in the equipment for executing this method, specifically, such as Shown in Fig. 3, this method be may include steps of:
S301, dynamic link library file is injected into Desktop Window Manager, the dynamic link library file has record screen Function.
Wherein, Desktop Window Manager (DWM, Desktop Window Manager) is used to be responsible for life at Windows At desktop images, dynamic link library file can be not executable binary program file, and dynamic link library file allows journey Sequence is shared to execute code necessary to special duty and other resources.Containing in the dll file that Windows is provided allows to be based on The function and resource that the program of Windows operates under a windows environment, to the program run under Windows operating system Code, data or function are provided.In embodiments of the present invention, the dynamic link library file of desktop data acquisition will can be used for DWMCapture.dll is injected into Desktop Window Manager dwm.exe, wherein dynamic link library file DWMCapture.dll Record screen function CDWMCapture::IDXGISwapChainDWM_Present is contained, which can be to Windows Desktop data in lower video memory is replicated and is sent to specified application program.
S302, determine that rendering function, the rendering function are used to show the desktop data in video memory in desktop.
In embodiments of the present invention, Desktop Window Manager carries out wash with watercolours to the desktop data in video memory by rendering function Dye, can analyze Desktop Window Manager, determine that Desktop Window Manager generates the exchanging chain interface of desktop, exchanging chain Interface has virtual table, and Virtual Function (Virtual Function) is realized by a virtual table, virtual table In the Virtual Function comprising a class address table, be assigned in the example for the class for having Virtual Function the pointer for being directed toward virtual table Memory, virtual table specify the function that practical institute should call.In embodiments of the present invention, exchanging chain interface can be determined Specific items in virtual table are to render the address of function.
S303, the rendering function is replaced with to the record screen function, the record screen function is for receiving display desktop number According to operation;In response to the operation, the state of specified application program is determined;When the state is operation, by desktop number According to output to the application program;The desktop data is shown in desktop.
After determining rendering function, rendering letter can be replaced using the record screen function for including in dynamic link library file Number, specifically, the address in the specific items in the virtual table of exchanging chain interface can be changed to record by the address of rendering function The address of screen function, so that record screen function is first called when exchanging chain interface calls rendering function, so that record screen function is receiving To display desktop data operation when, the state of specified application program is determined in response to operation, and when state is operation, will Desktop data exports to application program and shows desktop data in desktop.
The embodiment of the present invention will be injected into Desktop Window Manager comprising the dynamic link library file for recording screen function, in determination After rendering function for showing the desktop data in video memory, using record screen function replacement rendering function, so that record screen function connects When receiving the operation of display desktop data, the state of specified application program is determined in response to operation, it will when state is operation Desktop data is exported to the application program, and shows desktop data in desktop, can be direct in video memory by record screen function Duplication desktop data is output to specified application program, defeated again without carrying out screenshot to the desktop data after display by GDI Out to specified application program, avoid by GDI screenshot record desktop data there are low efficiency, data are unsmooth and Gao Shiyan The problem of, since the desktop data in video memory to be directly output to specified application program, it is not necessarily to screenshot, had both improved desktop number According to collecting efficiency, reduce time delay, in turn ensure that the frame per second of desktop data does not change, can obtain smooth, smooth Desktop data.
Example IV
Fig. 4 is a kind of flow chart of the display methods for desktop data that the embodiment of the present invention four provides, and the present invention is to aforementioned Determine that rendering function and the mode of replacement rendering function optimize in embodiment three, specifically, as shown in figure 4, this method can To include the following steps:
S401, dynamic link library file is injected into Desktop Window Manager, the dynamic link library file has record screen Function.
S402, the factor interface for generating graphical device interface, the factor interface include exchange chain creation interface.
DXGI (Microsoft DirectX picture frame, Microsoft DirectX can be passed through in Windows Graphics Infrastructure) accelerate to provide desktop picture, DXGI is bottom under user mode in windows system Graphical device interface, can pass through DXGI generate graphical device interface factor interface DXGIFactory, the factor interface DXGIFactory includes exchange chain creation interface DXGIFactoryDWM, and exchange chain creation interface DXGIFactoryDWM is used for It is created that exchanging chain interface.
S403, exchanging chain interface is created by the exchange chain creation interface, the exchanging chain interface has virtual table.
Specifically, exchanging chain interface can be created that by exchanging chain creation interface DXGIFactoryDWM IDXGISwapChainDWM, exchanging chain interface IDXGISwapChainDWM have virtual table, and virtual table specifies friendship The function that chain interface IDXGISwapChainDWM should actually be called is changed, for example, containing exchanging chain interface in virtual table Address where the function that IDXGISwapChainDWM is called.
S404, determine that the project specified in the virtual table is to render the address of function.
In embodiments of the present invention, the 8th in the virtual table of exchanging chain interface IDXGISwapChainDWM is operation System generates the execution point Present of desktop images, i.e., the 8th is the address for rendering function.
The record screen function is written in the dynamic link library file in S405, the project specified in the virtual table In address, with replace it is described rendering function address.
Specifically, the 8th value in the virtual table of exchanging chain interface IDXGISwapChainDWM is revised as dynamic The address of screen function CDWMCapture::IDXGISwapChainDWM_Present is recorded in chain library file DWMCapture.dll, When Desktop Window Manager dwm.exe calls Virtual Function IDXGISwapChainDWM::Present, due to virtual table 8th has been modified to the address of record screen function, and Desktop Window Manager dwm.exe is called arrive DWMCapture.dll's first Screen function CDWMCapture::IDXGISwapChainDWM_Present is recorded, the desktop number in video memory is replicated by record screen function According to and export to specified application program, finally recall IDXGISwapChainDWM::Present to the desktop number in video memory According to being rendered and be sent to desktop to refresh desktop.
The embodiment of the present invention will be injected into Desktop Window Manager comprising the dynamic link library file for recording screen function, in determination After rendering function for showing the desktop data in video memory, using the address of the address replacement rendering function of record screen function, make Desktop Window Manager receive display desktop data operation when, in response to operate first call record screen function duplication video memory in Desktop data and export to specified application program, render desktop data then to show in desktop, record screen letter can be passed through Number directly replicates desktop data in video memory and is output to specified application program, without passing through GDI to the desktop number after display According to carry out screenshot exported again to specified application program, avoid by GDI screenshot record desktop data there are low efficiencys, data The problem of unsmooth and high time delay, is not necessarily to screenshot since the desktop data in video memory to be directly output to specified application program, Both the collecting efficiency for having improved desktop data, reduces time delay, in turn ensures that the frame per second of desktop data does not change, can obtain Obtain smooth, smooth desktop data.
Embodiment five
Fig. 5 is a kind of structural block diagram of the display device for desktop data that the embodiment of the present invention five provides, and the present invention is implemented The display device of the desktop data of example can specifically include following module:
Receiving module 501 is operated, for receiving the operation of display desktop data;
State determining module 502, for determining the state of specified application program in response to the operation;
Desktop data output module 503, for when the state is operation, desktop data to be exported to described using journey Sequence;
First display module 504, for showing the desktop data in desktop.
Optionally, further includes:
Second display module, for showing the desktop data in desktop when the state is not running.
Optionally, the desktop data output module 503 includes:
Desktop data searches submodule, for searching desktop data in the video memory of graphics processor;
Desktop data replicates submodule, for replicating the desktop data;
Desktop data output sub-module, for exporting the desktop data after duplication to the application program.
Optionally, the application program is live streaming application, and the desktop data output sub-module includes:
Desktop data output unit is applied for exporting the desktop data after duplication to the live streaming, with life At live video data.
Optionally, first display module 504 includes:
Function call submodule is rendered, for calling rendering function, the rendering function is used for the aobvious of graphics processor Desktop data in depositing is shown to desktop.
The embodiment of the present invention one or embodiment two can be performed in the display device of desktop data provided by the embodiment of the present invention The display methods of provided desktop data has the corresponding functional module of execution method and beneficial effect.
Embodiment six
Fig. 6 is a kind of structural block diagram of the display device for desktop data that the embodiment of the present invention six provides, and the present invention is implemented The display device of the desktop data of example can specifically include following module:
Library file injection module 601, for dynamic link library file to be injected into Desktop Window Manager, the dynamic chain Connecing library file has record screen function;
Function determination module 602 is rendered, for determining that rendering function, the rendering function are used to show in video memory in desktop Desktop data;
Function replacement module 603, for the rendering function to be replaced with the record screen function, the record screen function is used for Receive the operation of display desktop data;In response to the operation, the state of specified application program is determined;When the state is fortune When row, desktop data is exported to the application program;The desktop data is shown in desktop.
Optionally, the rendering function determination module 602 includes:
Factor interface generates submodule, and for generating the factor interface of graphical device interface, the factor interface includes handing over Change chain creation interface;
Exchanging chain interface creates submodule, for creating exchanging chain interface, the friendship by the exchange chain creation interface Chain interface is changed with virtual table;
Rendering function address determines submodule, for determining that the project specified in the virtual table is the ground for rendering function Location.
Optionally, the function replacement module 603 includes:
Submodule is written in address, and the record screen function is written described in the project for specifying in the virtual table Address in dynamic link library file, to replace the address of the rendering function.
The embodiment of the present invention three or example IV can be performed in the display device of desktop data provided by the embodiment of the present invention The display methods of provided desktop data has the corresponding functional module of execution method and beneficial effect.
Embodiment seven
Referring to Fig. 7, the structural schematic diagram of one of an example of the present invention equipment is shown.As shown in fig. 7, the equipment Can specifically include: processor 70, memory 71, the display screen 72 with touch function, input unit 73, output device 74 with And communication device 75.The quantity of processor 70 can be one or more in the equipment, be with a processor 70 in Fig. 7 Example.The quantity of memory 71 can be one or more in the equipment, in Fig. 7 by taking a memory 71 as an example.The equipment Processor 70, memory 71, display screen 72, input unit 73, output device 74 and communication device 75 can by bus or Person's other modes connect, in Fig. 7 for being connected by bus.
Memory 71 is used as a kind of computer readable storage medium, can be used for storing software program, journey can be performed in computer Sequence and module, the corresponding program instruction/module of the display methods of desktop data as described in the embodiments of the present invention is (on for example, State operation receiving module 501, state determining module 502,503 and of desktop data output module in the display device of desktop data First display module 504), the corresponding program instruction/module of the display methods of desktop data is (for example, above-mentioned desktop data is aobvious Library file injection module 601, rendering function determination module 602 and function replacement module 603 in showing device).Memory 71 can It mainly include storing program area and storage data area, wherein storing program area can store needed for operating device, at least one function Application program;Storage data area, which can be stored, uses created data etc. according to equipment.In addition, memory 71 may include High-speed random access memory can also include nonvolatile memory, for example, at least disk memory, a flash memories Part or other non-volatile solid state memory parts.In some instances, memory 71 can further comprise relative to processor 70 Remotely located memory, these remote memories can pass through network connection to equipment.The example of above-mentioned network includes but not It is limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Display screen 72 is the display screen 72 with touch function, can be capacitance plate, electromagnetic screen or infrared screen.Generally For, display screen 72 is used to show data according to the instruction of processor 70, is also used to receive the touch behaviour for acting on display screen 72 Make, and corresponding signal is sent to processor 70 or other devices.Optionally, it when display screen 72 is infrared screen, also wraps Infrared touch frame is included, which is arranged in the surrounding of display screen 72, can be also used for receiving infrared signal, and should Infrared signal is sent to processor 70 or other equipment.
Communication device 75 communicates to connect for establishing with other equipment, can be wire communication device and/or channel radio T unit.
Input unit 73 can be used for receiving the number or character information of input, and generate with the user setting of equipment with And the related key signals input of function control, it can also be the camera for obtaining image and obtain the pickup of audio data Equipment.Output device 74 may include the audio frequency apparatuses such as loudspeaker.It should be noted that input unit 73 and output device 74 Concrete composition may be set according to actual conditions.
Software program, instruction and the module that processor 70 is stored in memory 71 by operation, thereby executing equipment Various function application and data processing, that is, realize the display methods of above-mentioned desktop data.
Specifically, in embodiment, when processor 70 executes the one or more programs stored in memory 71, specific implementation The step of display methods of desktop data provided in an embodiment of the present invention.
The embodiment of the present invention also provides a kind of computer readable storage medium, and the instruction in the storage medium is by equipment When processor executes, enable a device to execute the display methods of the desktop data as described in above method embodiment.
It should be noted that for device, equipment, storage medium embodiment, since it is basic with embodiment of the method Similar, so being described relatively simple, the relevent part can refer to the partial explaination of embodiments of method.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but in many cases, the former is more Good embodiment.Based on this understanding, technical solution of the present invention substantially in other words contributes to the prior art Part can be embodied in the form of software products, which can store in computer readable storage medium In, floppy disk, read-only memory (Read-Only Memory, ROM), random access memory (Random such as computer Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set Standby (can be robot, personal computer, server or the network equipment etc.) executes table described in any embodiment of that present invention The display methods of face data.
It is worth noting that, in the display device of above-mentioned desktop data, included each unit and module only according to What function logic was divided, but be not limited to the above division, as long as corresponding functions can be realized;In addition, each The specific name of functional unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction executing device with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.

Claims (12)

1. a kind of display methods of desktop data characterized by comprising
Receive the operation of display desktop data;
In response to the operation, the state of specified application program is determined;
When the state is operation, desktop data is exported to the application program;
The desktop data is shown in desktop.
2. display methods according to claim 1, which is characterized in that further include:
When the state is not running, the desktop data is shown in desktop.
3. display methods according to claim 1, which is characterized in that described to export desktop data to described using journey Sequence, comprising:
Desktop data is searched in the video memory of graphics processor;
Replicate the desktop data;
The desktop data after duplication is exported to the application program.
4. display methods according to claim 3, which is characterized in that the application program be live streaming with application, it is described will The desktop data after duplication is exported to the application program, comprising:
The desktop data after duplication is exported to the live streaming and is applied, to generate live video data.
5. display methods according to claim 1-4, which is characterized in that described to show the desktop number in desktop According to, comprising:
Rendering function is called, the rendering function is for showing the desktop data in the video memory of graphics processor to desktop.
6. a kind of display methods of desktop data characterized by comprising
Dynamic link library file is injected into Desktop Window Manager, the dynamic link library file has record screen function;
Determine that rendering function, the rendering function are used to show the desktop data in video memory in desktop;
The rendering function is replaced with into the record screen function, the record screen function is used to receive the operation of display desktop data; In response to the operation, the state of specified application program is determined;When the state is operation, desktop data is exported to institute State application program;The desktop data is shown in desktop.
7. display methods according to claim 6, which is characterized in that the determining rendering function, comprising:
The factor interface of graphical device interface is generated, the factor interface includes exchange chain creation interface;
Exchanging chain interface is created by the exchange chain creation interface, the exchanging chain interface has virtual table;
Determine that the project specified in the virtual table is to render the address of function.
8. display methods according to claim 7, which is characterized in that described that the rendering function is replaced with the record screen Function, comprising:
Address of the record screen function in the dynamic link library file is written in the project specified in the virtual table, To replace the address of the rendering function.
9. a kind of display device of desktop data characterized by comprising
Receiving module is operated, for receiving the operation of display desktop data;
State determining module, for determining the state of specified application program in response to the operation;
Desktop data output module, for when the state is operation, desktop data to be exported to the application program;
Display module, for showing the desktop data in desktop.
10. a kind of display device of desktop data characterized by comprising
Library file injection module, for dynamic link library file to be injected into Desktop Window Manager, the dynamic link library text Part has record screen function;
Function determination module is rendered, for determining that rendering function, the rendering function are used to show the desktop in video memory in desktop Data;
Function replacement module, for the rendering function to be replaced with the record screen function, the record screen function is aobvious for receiving Show the operation of desktop data;In response to the operation, the state of specified application program is determined;When the state is operation, Desktop data is exported to the application program;The desktop data is shown in desktop.
11. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real Now such as the display methods of desktop data as claimed in any one of claims 1 to 5 and/or such as desktop as claimed in claim 6 to 8 The display methods of data.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor It realizes when execution such as the display methods of desktop data as claimed in any one of claims 1 to 5 and/or such as any institute of claim 6-8 The display methods for the desktop data stated.
CN201910625833.XA 2019-07-11 2019-07-11 Display methods, device, equipment and the storage medium of desktop data Pending CN110362375A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910625833.XA CN110362375A (en) 2019-07-11 2019-07-11 Display methods, device, equipment and the storage medium of desktop data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910625833.XA CN110362375A (en) 2019-07-11 2019-07-11 Display methods, device, equipment and the storage medium of desktop data

Publications (1)

Publication Number Publication Date
CN110362375A true CN110362375A (en) 2019-10-22

Family

ID=68219142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910625833.XA Pending CN110362375A (en) 2019-07-11 2019-07-11 Display methods, device, equipment and the storage medium of desktop data

Country Status (1)

Country Link
CN (1) CN110362375A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476273A (en) * 2020-03-11 2020-07-31 西安万像电子科技有限公司 Image processing method and device
CN114610405A (en) * 2022-03-03 2022-06-10 深圳盛显科技有限公司 Multi-application screen capture and network code output method, device, medium and product
CN114741081A (en) * 2022-06-13 2022-07-12 北京麟卓信息科技有限公司 Cross-operation environment display output sharing method based on heterogeneous cache access
CN111476273B (en) * 2020-03-11 2024-06-07 西安万像电子科技有限公司 Image processing method and device

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164227A (en) * 2013-03-28 2013-06-19 北京视博云科技有限公司 Collection method and collection device of window images
CN105099881A (en) * 2012-06-28 2015-11-25 北京奇虎科技有限公司 Information sharing method and device in instant messaging
CN105843573A (en) * 2016-03-22 2016-08-10 惠州Tcl移动通信有限公司 Realization method and system for synchronously sharing content in main screen to multiple sub-screens
CN107340954A (en) * 2017-07-03 2017-11-10 国家计算机网络与信息安全管理中心 A kind of information extracting method and device
CN107368293A (en) * 2017-05-24 2017-11-21 阿里巴巴集团控股有限公司 Page structure generation method, page screenshot report method, apparatus and system
CN107509052A (en) * 2017-09-08 2017-12-22 广州视源电子科技股份有限公司 Double-current video-meeting method, device, electronic equipment and system
CN107665305A (en) * 2016-07-29 2018-02-06 卡巴斯基实验室股份制公司 Stop the system and method for the access to shielded application program
CN107846609A (en) * 2017-10-19 2018-03-27 威创集团股份有限公司 Control room real-time data transmission methods, devices and systems
CN108446146A (en) * 2018-03-22 2018-08-24 北京奇艺世纪科技有限公司 A kind of game data acquisition method and device
CN108717354A (en) * 2018-05-17 2018-10-30 广州多益网络股份有限公司 Acquisition method, device and the storage device of mobile phone games rendering data
CN109213607A (en) * 2017-06-30 2019-01-15 武汉斗鱼网络科技有限公司 A kind of method and apparatus of multithreading rendering
CN109246480A (en) * 2018-08-24 2019-01-18 苏州玩友时代科技股份有限公司 A kind of game screen record screen method and device based on IOS system
CN109644294A (en) * 2017-12-29 2019-04-16 腾讯科技(深圳)有限公司 A kind of method, relevant device and system that live streaming is shared
CN109814903A (en) * 2019-01-09 2019-05-28 广州视源电子科技股份有限公司 A kind of image display method, system, device, storage medium and mainboard

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105099881A (en) * 2012-06-28 2015-11-25 北京奇虎科技有限公司 Information sharing method and device in instant messaging
CN103164227A (en) * 2013-03-28 2013-06-19 北京视博云科技有限公司 Collection method and collection device of window images
CN105843573A (en) * 2016-03-22 2016-08-10 惠州Tcl移动通信有限公司 Realization method and system for synchronously sharing content in main screen to multiple sub-screens
CN107665305A (en) * 2016-07-29 2018-02-06 卡巴斯基实验室股份制公司 Stop the system and method for the access to shielded application program
CN107368293A (en) * 2017-05-24 2017-11-21 阿里巴巴集团控股有限公司 Page structure generation method, page screenshot report method, apparatus and system
CN109213607A (en) * 2017-06-30 2019-01-15 武汉斗鱼网络科技有限公司 A kind of method and apparatus of multithreading rendering
CN107340954A (en) * 2017-07-03 2017-11-10 国家计算机网络与信息安全管理中心 A kind of information extracting method and device
CN107509052A (en) * 2017-09-08 2017-12-22 广州视源电子科技股份有限公司 Double-current video-meeting method, device, electronic equipment and system
CN107846609A (en) * 2017-10-19 2018-03-27 威创集团股份有限公司 Control room real-time data transmission methods, devices and systems
CN109644294A (en) * 2017-12-29 2019-04-16 腾讯科技(深圳)有限公司 A kind of method, relevant device and system that live streaming is shared
CN108446146A (en) * 2018-03-22 2018-08-24 北京奇艺世纪科技有限公司 A kind of game data acquisition method and device
CN108717354A (en) * 2018-05-17 2018-10-30 广州多益网络股份有限公司 Acquisition method, device and the storage device of mobile phone games rendering data
CN109246480A (en) * 2018-08-24 2019-01-18 苏州玩友时代科技股份有限公司 A kind of game screen record screen method and device based on IOS system
CN109814903A (en) * 2019-01-09 2019-05-28 广州视源电子科技股份有限公司 A kind of image display method, system, device, storage medium and mainboard

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张羽乔: "2.1.4 创建交换链", 《2.1.4 创建交换链 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111476273A (en) * 2020-03-11 2020-07-31 西安万像电子科技有限公司 Image processing method and device
CN111476273B (en) * 2020-03-11 2024-06-07 西安万像电子科技有限公司 Image processing method and device
CN114610405A (en) * 2022-03-03 2022-06-10 深圳盛显科技有限公司 Multi-application screen capture and network code output method, device, medium and product
CN114610405B (en) * 2022-03-03 2024-03-29 深圳盛显科技有限公司 Multi-application screen capturing and network code output method, equipment, medium and product
CN114741081A (en) * 2022-06-13 2022-07-12 北京麟卓信息科技有限公司 Cross-operation environment display output sharing method based on heterogeneous cache access
CN114741081B (en) * 2022-06-13 2022-08-09 北京麟卓信息科技有限公司 Cross-operation environment display output sharing method based on heterogeneous cache access

Similar Documents

Publication Publication Date Title
CN110427094B (en) Display method, display device, electronic equipment and computer readable medium
CN101896940B (en) Framework for dynamic configuration of hardware resources
US7667704B2 (en) System for efficient remote projection of rich interactive user interfaces
CN103562862A (en) Global composition system
WO2022048097A1 (en) Single-frame picture real-time rendering method based on multiple graphics cards
EP3311565B1 (en) Low latency application streaming using temporal frame transformation
CN112114916B (en) Method and device for compatibly running Android application on Linux operating system
WO2021169236A1 (en) Rendering method and apparatus
CN105190701B (en) Synthesis system based on primitive and method
CN110955499B (en) Processor core configuration method, device, terminal and storage medium
CN102053871A (en) Application program image display method and device
CN116185743B (en) Dual graphics card contrast debugging method, device and medium of OpenGL interface
CN114972607B (en) Data transmission method, device and medium for accelerating image display
CN112950757B (en) Image rendering method and device
CN111124668A (en) Memory release method and device, storage medium and terminal
CN110362375A (en) Display methods, device, equipment and the storage medium of desktop data
CN114710702A (en) Video playing method and device
CN115220906A (en) Cloud execution of audio/video synthesis applications
CN114119901A (en) Building information model debugging method and related device
CN112799801A (en) Method, device, equipment and medium for drawing simulation mouse pointer
CN102934071A (en) Updating graphical display content
WO2023035619A1 (en) Scene rendering method and apparatus, device and system
CN111243069B (en) Scene switching method and system of Unity3D engine
US10719286B2 (en) Mechanism to present in an atomic manner a single buffer that covers multiple displays
US8587599B1 (en) Asset server for shared hardware graphic data

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191022