CN104516700B - Display method and electronic equipment - Google Patents
Display method and electronic equipment Download PDFInfo
- Publication number
- CN104516700B CN104516700B CN201310453028.6A CN201310453028A CN104516700B CN 104516700 B CN104516700 B CN 104516700B CN 201310453028 A CN201310453028 A CN 201310453028A CN 104516700 B CN104516700 B CN 104516700B
- Authority
- CN
- China
- Prior art keywords
- display
- image
- electronic device
- content
- rendering
- 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.)
- Active
Links
Images
Landscapes
- Digital Computer Display Output (AREA)
- Controls And Circuits For Display Device (AREA)
Abstract
The application discloses a display method and electronic equipment, wherein the method is applied to first electronic equipment which can communicate with second electronic equipment; the method comprises the following steps: receiving a program display instruction; generating corresponding display content according to the program display instruction; rendering the display content into a corresponding display image, wherein the display image is composed of a first image and a second image, and the first image is an image correspondingly displayed by the first electronic device; and sending the second image to the second electronic equipment for display.
Description
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a display method and an electronic device.
Background
At present, with the rapid development of the electronic age, more and more electronic devices enter the lives and the works of people, and the lives of people are greatly enriched.
In the prior art, a user often runs a plurality of application programs on one electronic device at the same time, so that the user can switch and call among the plurality of programs, and the operation efficiency of the electronic device is improved. For example, two display screens of two tablet computers are spliced into one display screen through a screen splicing technology, and at the moment, a user can obtain a better visual effect by browsing a webpage or watching a video through the display screen due to the fact that the display screen is enlarged.
In the prior art, in order to enable two electronic devices to be spliced together to display output content of an application program, a user needs to manually adjust display screens of the two electronic devices to enable the two display screens to jointly display a display object when being placed together. For example: when two electronic devices are required to display an image together, assuming that the first electronic device is placed on the left side of the second electronic device, the user is required to adjust the display contents of the first electronic device and the second electronic device, so that the first electronic device displays the left half of the image, the second electronic device displays the right half of the image, and the two electronic devices display the whole image together.
In order to enable a plurality of electronic devices to automatically adjust display contents so that the plurality of electronic devices run the same program, another scheme exists in the prior art: by writing related codes, the same application program with low requirement on time synchronization is driven to run on a plurality of electronic devices simultaneously, such as: the method comprises the steps of completing code writing on two electronic devices of the same application program needing to be operated, and operating the two sections of programs when the two electronic devices need to operate the application program simultaneously so as to realize that the same application program can be operated on the two electronic devices simultaneously.
However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the inventors of the present application find that the above-mentioned technology has at least the following technical problems:
the method is characterized in that a program is written into a plurality of electronic devices to run on the plurality of electronic devices simultaneously, related codes are written into the plurality of electronic devices in advance, and if one or more electronic devices do not have codes capable of supporting the simultaneous running of an application program, the application program cannot be run together with other electronic devices. Namely: in the prior art, an additional code needs to be specially written to enable two or more electronic devices to simultaneously run an application program, so that two or more display units jointly display output contents during program running.
Disclosure of Invention
The invention provides a display method and electronic equipment, which are used for solving the technical problem that two or more electronic equipment can simultaneously run an application program only by specially writing extra codes so as to enable two or more display units to jointly display output contents during the running of the program in the prior art.
In one aspect, the present invention provides the following technical solutions through an embodiment of the present application:
a display method is applied to a first electronic device, and the first electronic device can communicate with a second electronic device; the method comprises the following steps:
receiving a program display instruction;
generating corresponding display content according to the program display instruction;
rendering the display content into a corresponding display image, wherein the display image is composed of a first image and a second image, and the first image is an image correspondingly displayed by the first electronic device;
and sending the second image to the second electronic equipment for display.
Preferably, the display content is composed of a first display sub-content and a second display sub-content;
rendering the display content into a corresponding display image, specifically:
rendering the first display sub-content as the first image and concurrently rendering the second display sub-content as the second image.
Preferably, rendering the display content into a corresponding display image specifically includes:
rendering the first display sub-content as the first image;
rendering the second display sub-content as the second image after rendering the first display sub-content as the first image.
Preferably, the second electronic device comprises N second sub-devices, wherein N is greater than or equal to 1 and is an integer;
sending the second image to the second electronic device for display, including:
receiving the corresponding display area sizes sent by the N second sub-devices;
parsing the second image into N sub-images based on the display area size;
and sending the N sub-images to corresponding sub-equipment in the N sub-equipment for display.
In another aspect, the present invention provides, by another embodiment of the present application:
an electronic device that can communicate with a second electronic device; the electronic device includes:
the receiving unit is used for receiving a program display instruction;
the generating unit is used for generating corresponding display content according to the program display instruction;
the rendering unit is used for rendering the display content into a corresponding display image, wherein the display image is composed of a first image and a second image, and the first image is an image correspondingly displayed by the first electronic device;
and the sending unit is used for sending the second image to the second electronic equipment for displaying.
Preferably, the display content is composed of a first display sub-content and a second display sub-content;
the rendering unit is further specifically configured to render the first display sub-content into the first image, and simultaneously render the second display sub-content into the second image.
Preferably, the rendering unit is further specifically configured to:
rendering the first display sub-content as the first image;
rendering the second display sub-content as the second image after rendering the first display sub-content as the first image.
Preferably, the second electronic device comprises N second sub-devices, wherein N is greater than or equal to 1 and is an integer;
the sending unit specifically includes:
the receiving subunit is configured to receive the corresponding display area sizes sent by the N second sub-devices;
the analysis unit is used for analyzing the second image into N sub-images based on the size of the display area;
and the sending subunit is configured to send the N sub-images to corresponding sub-devices of the N sub-devices for display.
One or more of the above technical solutions have the following technical effects or advantages:
(1) the technical scheme provides a display method, and particularly the method is applied to first electronic equipment. The specific implementation process is as follows: firstly, receiving a program display instruction; then generating corresponding display content according to the program display instruction; secondly, rendering the display content into a corresponding display image, wherein the display image is composed of a first image and a second image, and the first image is an image correspondingly displayed by the first electronic device; and finally, sending the second image to the second electronic equipment for display. Furthermore, the technical scheme of the application renders the display content of the same program into images, the first image is displayed in the first electronic device, and the second image which cannot be displayed by the first electronic device is sent to the second electronic device for display, so that the second electronic device can be prevented from displaying the same program, and the two electronic devices can be enabled to display the same program without writing codes to control the two electronic devices.
(2) According to the technical scheme, the display content is sent to the second electronic device in an image mode to be displayed, the same program does not need to be displayed by the second electronic device, the picture which cannot be displayed by the first electronic device can be viewed, from the electronic device side, the situation that more programs are started to cause a CPU to break down can be avoided, and the use efficiency and the service life of the electronic device are guaranteed. From the user side, the user can synchronously run the same program by using two or more electronic devices, and the program is displayed in the other electronic device in the image format, so that the content of the program which is not displayed by the first electronic device can be observed in advance only by operating the first electronic device by the user, and the two devices do not need to be adjusted at the same time to ensure the consistency of data, thereby greatly improving the user experience.
Drawings
FIG. 1 is a process diagram of a display method in an embodiment of the present application;
fig. 2 is a schematic diagram of an electronic device in an embodiment of the present application.
Detailed Description
In order to solve the technical problem in the prior art that an additional code needs to be specially written to enable two or more electronic devices to simultaneously run an application program so that two or more display units jointly display output contents during program running, an embodiment of the present invention provides a display method and an electronic device.
The first embodiment is as follows:
in an embodiment of the present application, a display method is provided.
Specifically, the method is applied to the first electronic device.
More specifically, the first electronic device may communicate with a second electronic device.
In the embodiment of the present application, the first electronic device may be a computer, a mobile phone, a PAD, or other communication devices; the second electronic device may also be a computer, a mobile phone, a PAD, or other communication device. In addition, the first electronic device and the second electronic device may be devices of the same model or different types. The type of electronic device is not limited in this application.
In the embodiment of the present application, the display mode is specifically used in the first electronic device. In this case, the first electronic device may serve as a master device, and the second electronic device serves as a controlled device, and the electronic devices are numbered for convenience of distinguishing.
Additionally, a relative position of the first electronic device and the second electronic device.
First, for the second electronic device, N second sub-devices may be included (at this time, the type and size between the plurality of second sub-devices are not limited in this application).
If the second electronic device is only one device, the first electronic device and the second electronic device may be placed on top of each other or on the left and right.
If the second electronic device has a plurality of second sub-devices, there may be a plurality of placement manners between the first electronic device and the plurality of second sub-devices, and the application is not limited thereto.
Referring to fig. 1, an implementation process of the display method in the embodiment of the present application is as follows:
s101, a program display instruction is received.
And S102, generating corresponding display content according to the program display instruction.
S103, rendering the display content into a corresponding display image.
And S104, sending the second image to the second electronic equipment for display.
Specifically, in the implementation process of S101, the program refers to software that can be executed in the first electronic device, such as a QQ, a web page, a game, and image software. When a program needs to be displayed in the first electronic device, a program display instruction related to the program is received for the first electronic device.
In the implementation process of S102, the process,
when a program display instruction is received, corresponding display content is generated based on the instruction.
Taking the WORD document as an example, when a WORD document needs to be displayed in the first electronic device, the first electronic device receives a program display instruction for opening the WORD document, and then generates display content of the WORD document based on the instruction.
The display content is composed of a first display sub-content and a second display sub-content.
In particular, the first display sub-content is specifically content to be displayed in the first electronic device.
Taking WORD as an example, for a WORD document, when the display is maximized in the first electronic device, the first electronic device can only display a part of the display content in the WORD document, and the part of the display content displayed in the first electronic device is the first display sub-content. And the second display sub-content is the display content left in the WORD document, namely the content which cannot be displayed by the first electronic equipment.
In the implementation process of S103, the display content is further rendered into a corresponding display image.
Specifically, after rendering it as a display image, the user may then see the WORD document in the first electronic device.
The display image is composed of a first image and a second image, and the first image is an image correspondingly displayed by the first electronic device.
The first image at this time is an image obtained after rendering through the first display sub-content, and is displayed in the first electronic device.
And the second image is an image obtained after rendering through the second display sub-content, and is displayed in the second electronic device.
How to render the display content into the corresponding display image may have two different implementations.
The first method comprises the following steps:
rendering the first display sub-content as the first image and concurrently rendering the second display sub-content as the second image.
And the second method comprises the following steps:
rendering the first display sub-content as the first image.
Rendering the second display sub-content as the second image after rendering the first display sub-content as the first image.
In the implementation process of S104, the second electronic device includes N second sub-devices, where N ≧ 1 and is an integer.
Therefore, when the second electronic device is only one device, the first electronic device sends the second image directly to the second electronic device for display.
In a specific implementation, the first electronic device receives a display area size of the second electronic device. And then adjusting the second image to a size corresponding to the size of the display area of the second electronic equipment, and then sending the adjusted second image to the second electronic equipment for display. In addition, the first electronic device can also directly send the second image to the second electronic device, and the second electronic device adjusts the second image according to the size of the display area.
When the second electronic device has a plurality of devices, the specific implementation process is as follows:
and receiving the corresponding display area sizes sent by the N second sub-devices.
Parsing the second image into N sub-images based on the display area size.
And sending the N sub-images to corresponding sub-equipment in the N sub-equipment for display.
In summary, the above embodiments are specific implementation processes of the display method in the present invention, and based on the same inventive concept, the following embodiments describe an electronic device.
Example two:
in an embodiment of the present application, an electronic device is described.
Specifically, the electronic device may communicate with a second electronic device.
At this time, the electronic device in this application is a master device, and the second electronic device is a controlled device. The position relationship between the two is described in detail in the first embodiment, and is not described herein again.
Referring next to fig. 2, the electronic device includes:
the receiving unit 201 is configured to receive a program display instruction.
The generating unit 202 is configured to generate corresponding display content according to the program display instruction.
The rendering unit 203 is configured to render the display content into a corresponding display image, where the display image is composed of a first image and a second image, and the first image is an image correspondingly displayed by the first electronic device.
A sending unit 204, configured to send the second image to the second electronic device for display.
Further, the display content is composed of a first display sub-content and a second display sub-content.
The rendering unit 203 is further specifically configured to render the first display sub-content as the first image, and simultaneously render the second display sub-content as the second image.
Further, the rendering unit 203 is specifically further configured to:
rendering the first display sub-content as the first image.
Rendering the second display sub-content as the second image after rendering the first display sub-content as the first image.
Furthermore, the second electronic device comprises N second sub-devices, wherein N is greater than or equal to 1 and is an integer.
The sending unit 204 specifically includes:
and the receiving unit is used for receiving the corresponding display area sizes sent by the N second sub-devices.
And the analyzing unit is used for analyzing the second image into N sub-images based on the size of the display area.
And the sending subunit is configured to send the N sub-images to corresponding sub-devices of the N sub-devices for display.
Through one or more embodiments of the invention, the following technical effects can be achieved:
(1) the embodiment of the application provides a display method, and particularly, the method is applied to first electronic equipment. The specific implementation process is as follows: firstly, receiving a program display instruction; then generating corresponding display content according to the program display instruction; secondly, rendering the display content into a corresponding display image, wherein the display image is composed of a first image and a second image, and the first image is an image correspondingly displayed by the first electronic device; and finally, sending the second image to the second electronic equipment for display. Furthermore, the technical scheme of the application renders the display content of the same program into images, the first image is displayed in the first electronic device, and the second image which cannot be displayed by the first electronic device is sent to the second electronic device for display, so that the second electronic device can be prevented from displaying the same program, and the two electronic devices can be enabled to display the same program without writing codes to control the two electronic devices.
(2) In the embodiment of the application, the display content is sent to the second electronic device in an image mode for display, the picture which cannot be displayed by the first electronic device can be viewed without the need of displaying the same program by the second electronic device, and the problem that the CPU fails due to more program opening can be avoided from the electronic device side, so that the service efficiency and the service life of the electronic device are ensured. From the user side, the user can synchronously run the same program by using two or more electronic devices, and the program is displayed in the other electronic device in the image format, so that the content of the program which is not displayed by the first electronic device can be observed in advance only by operating the first electronic device by the user, and the two devices do not need to be adjusted at the same time to ensure the consistency of data, thereby greatly improving the user experience.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.
Claims (6)
1. A display method is applied to a first electronic device, the first electronic device can communicate with a second electronic device, and the second electronic device is an electronic device with processing capability; the method comprises the following steps:
receiving a program display instruction of a program, wherein the program runs in the first electronic device;
generating corresponding display content according to the program display instruction;
rendering the display content into a corresponding display image, wherein the display image is composed of a first image and a second image, the first image is an image correspondingly displayed by the first electronic device, the second image is an image which cannot be displayed in a display area of the first electronic device, and the first image and the second image are respectively different display parts of the same program; the second electronic device does not run the program to increase the service efficiency and the service life of the second electronic device;
and sending the second image to the second electronic equipment for display.
2. The method of claim 1, wherein the display content is comprised of a first display sub-content and a second display sub-content;
rendering the display content into a corresponding display image, specifically:
rendering the first display sub-content as the first image and concurrently rendering the second display sub-content as the second image.
3. The method according to claim 1, wherein rendering the display content into a corresponding display image is in particular:
rendering a first display sub-content as the first image;
rendering second display sub-content as the second image after rendering the first display sub-content as the first image.
4. An electronic device that can communicate with a second electronic device, the second electronic device being an electronic device with processing capabilities; the electronic device includes:
the device comprises a receiving unit, a processing unit and a display unit, wherein the receiving unit is used for receiving a program display instruction of a program, and the program runs in first electronic equipment;
the generating unit is used for generating corresponding display content according to the program display instruction;
the rendering unit is configured to render the display content into a corresponding display image, where the display image is composed of a first image and a second image, the first image is an image correspondingly displayed by the first electronic device, the second image is an image that is not displayed in a display area of the first electronic device, and the first image and the second image are different display portions of the same program respectively; the second electronic device does not run the program to increase the service efficiency and the service life of the second electronic device;
and the sending unit is used for sending the second image to the second electronic equipment for displaying.
5. The electronic device of claim 4, wherein the display content is comprised of a first display sub-content and a second display sub-content;
the rendering unit is further specifically configured to render the first display sub-content into the first image, and simultaneously render the second display sub-content into the second image.
6. The electronic device of claim 4, wherein the rendering unit is further specifically configured to: rendering a first display sub-content as the first image;
rendering second display sub-content as the second image after rendering the first display sub-content as the first image.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310453028.6A CN104516700B (en) | 2013-09-27 | 2013-09-27 | Display method and electronic equipment |
US14/228,487 US9899002B2 (en) | 2013-09-27 | 2014-03-28 | Information processing methods for displaying parts of an object on multiple electronic devices |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310453028.6A CN104516700B (en) | 2013-09-27 | 2013-09-27 | Display method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104516700A CN104516700A (en) | 2015-04-15 |
CN104516700B true CN104516700B (en) | 2020-07-24 |
Family
ID=52792077
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310453028.6A Active CN104516700B (en) | 2013-09-27 | 2013-09-27 | Display method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104516700B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101073050A (en) * | 2004-10-19 | 2007-11-14 | 索尼爱立信移动通讯股份有限公司 | Handheld wireless communicator, method fro operating the apparatus and computer program product displaying information on plurality of display screens |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8049678B2 (en) * | 2005-09-09 | 2011-11-01 | Lg Electronics, Inc. | Image capturing and displaying method and system |
CN101441085A (en) * | 2007-11-23 | 2009-05-27 | 佛山市顺德区顺达电脑厂有限公司 | Satellite navigation system |
CN101515226B (en) * | 2008-02-19 | 2011-07-27 | 联想(北京)有限公司 | Dual-system display method, notebook computer with assistant screen, and assistant display device |
CN101692335B (en) * | 2009-09-24 | 2011-12-21 | 广东威创视讯科技股份有限公司 | Image processing method and device thereof for achieving seamless splicing large screen display |
CN102222493A (en) * | 2010-04-19 | 2011-10-19 | 英业达股份有限公司 | Method and device for expanding display image |
-
2013
- 2013-09-27 CN CN201310453028.6A patent/CN104516700B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101073050A (en) * | 2004-10-19 | 2007-11-14 | 索尼爱立信移动通讯股份有限公司 | Handheld wireless communicator, method fro operating the apparatus and computer program product displaying information on plurality of display screens |
Also Published As
Publication number | Publication date |
---|---|
CN104516700A (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11164278B2 (en) | Screen capture method, terminal, and storage medium employing both parent application program and sub-application program | |
US9899002B2 (en) | Information processing methods for displaying parts of an object on multiple electronic devices | |
CN113225427B (en) | Image display method and terminal equipment | |
CN103853512B (en) | A kind of method and electronic equipment for realizing split screen | |
CN106528025B (en) | Multi-screen image projection method, terminal, server and system | |
EP2914040B1 (en) | Terminal and synchronization control method thereof | |
CN107027068B (en) | Rendering method, decoding method, and method and device for playing multimedia data stream | |
CN107079198B (en) | Display device, system and control method thereof | |
WO2017133475A1 (en) | Multimedia data playing method, apparatus and device, and interface rendering method, apparatus and device | |
CN103678526A (en) | Method and device for decoding images of browser and client | |
WO2017101416A1 (en) | Apparatus, system, and method for multi-terminal content publishing | |
CN105302608A (en) | Advertisement dynamic display method and device applied at moment of application starting | |
CN109218817B (en) | Method and device for displaying virtual gift prompting message | |
CN113467741A (en) | Screen transmission method, display device and screen transmission system thereof | |
CN105426076A (en) | Information processing method and electronic equipment | |
CN110557578A (en) | Subtitle display device and method for LED spliced screen and related equipment | |
CN104516696A (en) | Information processing method and electronic device | |
CN105678688A (en) | Picture processing method and device | |
CN106598526B (en) | Method, device and system for displaying PPT on spliced wall | |
CN105786434B (en) | A kind of control method and equipment remotely shown | |
CN104516700B (en) | Display method and electronic equipment | |
CN104516694B (en) | Image display method and electronic equipment | |
CN107450792B (en) | Information processing method and mobile terminal | |
CN108427544B (en) | single-screen and double-screen application switching method and interface | |
CN113268194B (en) | Split screen control interaction method and device based on mobile equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |