CN115934225A - Synthesis method, synthesis device, electronic device and storage medium - Google Patents

Synthesis method, synthesis device, electronic device and storage medium Download PDF

Info

Publication number
CN115934225A
CN115934225A CN202211490731.XA CN202211490731A CN115934225A CN 115934225 A CN115934225 A CN 115934225A CN 202211490731 A CN202211490731 A CN 202211490731A CN 115934225 A CN115934225 A CN 115934225A
Authority
CN
China
Prior art keywords
page
display screen
electronic device
synthesis
data
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
CN202211490731.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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202211490731.XA priority Critical patent/CN115934225A/en
Publication of CN115934225A publication Critical patent/CN115934225A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a synthesis method, a synthesis device, an electronic apparatus, and a storage medium. The method comprises the following steps: and synthesizing the first page to obtain a second page, wherein the second page is used for displaying in a plurality of display screens, and the plurality of display screens comprise a physical display screen and at least one virtual display screen of the electronic equipment. According to the method, the second page obtained by synthesizing the first page can be displayed in the plurality of display screens, namely, only one-time synthesis is needed to be carried out on the page when the same page is displayed on the plurality of display screens, so that the effect of one-time synthesis and multiple use of the page is realized, and compared with the method of respectively synthesizing the corresponding page for each display screen, the page synthesis efficiency is improved.

Description

Synthesis method, synthesis device, electronic device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a synthesis method, an apparatus, an electronic device, and a storage medium.
Background
With the continuous development of electronic devices, the demand scenes of interconnection and intercommunication among different electronic devices are more and more, and now, the requirements of interconnection and transmission of display interfaces are increasingly increased while being limited in the aspect of device control. For example, the interconnection between different electronic devices includes a mobile phone-computer interconnection, a mobile phone-television interconnection, a mobile phone-tablet interconnection, a mobile phone-vehicle interconnection, and the like.
In the related art, a page to be displayed in a physical display screen of an electronic device is synthesized, and the synthesized page is displayed, and when the electronic device has an interconnection requirement with other electronic devices, the electronic device creates a virtual display screen, and although the page displayed in the virtual display screen is the same as the page displayed in the physical display screen, the electronic device synthesizes the page to be displayed with respect to the virtual display screen, which is equivalent to twice synthesis of the same page with respect to the physical display screen and the virtual display screen, and the more the virtual display screen, the more the synthesis times, the same operation is repeatedly performed, and the page synthesis efficiency is low.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a synthesis method, an apparatus, an electronic device, and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a synthesis method applied to an electronic device, the method including:
synthesizing the first page to obtain a second page, wherein the second page is used for displaying in a plurality of display screens, and the plurality of display screens comprise a physical display screen and at least one virtual display screen of the electronic equipment;
in some embodiments, after the synthesizing the first page to obtain the second page, the method further includes:
and respectively storing the second page into a plurality of data areas, wherein each data area corresponds to one display screen one by one, and each data area is used for storing data to be displayed of the corresponding display screen.
In some embodiments, the first page includes a plurality of layers;
the synthesizing of the first page to obtain the second page comprises:
rendering the plurality of layers respectively to obtain a plurality of rendered layers;
and synthesizing the rendered layers to obtain the second page.
In some embodiments, the virtual display screen comprises a screen-recording virtual display screen;
the storing the second pages into a plurality of data regions respectively includes:
and responding to the detected screen recording operation of the electronic equipment, and storing the second page to a data area corresponding to the physical display screen and a data area corresponding to the screen recording virtual display screen.
In some embodiments, the virtual display screen comprises a projected virtual display screen;
the sending the second page to the data areas corresponding to the plurality of display screens respectively comprises:
and in response to the detection that the electronic equipment is interconnected with other electronic equipment, storing the second page to a data area corresponding to the physical display screen and a data area corresponding to the projection virtual display screen.
In some embodiments, the method further comprises:
and sending synthesized data to the other electronic equipment to enable the projection virtual display screen in the other electronic equipment to display the second page, wherein the synthesized data at least comprises image information for describing the second page.
According to a second aspect of the embodiments of the present disclosure, there is provided a synthesizing apparatus applied to an electronic device, the apparatus including:
the page composition module is configured to compose the first page to obtain a second page, wherein the second page is used for being displayed in a plurality of display screens, and the plurality of display screens comprise a physical display screen and at least one virtual display screen of the electronic equipment.
In some embodiments, the apparatus further comprises:
the page storage module is configured to store the second page to a plurality of data areas respectively, each data area corresponds to one display screen, each data area is used for storing data to be displayed of the corresponding display screen, and the plurality of display screens include a physical display screen and at least one virtual display screen of the electronic device.
In some embodiments, the first page includes a plurality of layers;
the page composition module comprises:
the layer rendering unit is configured to render the plurality of layers respectively to obtain a plurality of rendered layers;
and synthesizing the rendered layers to obtain the second page.
In some embodiments, the virtual display screen comprises a screen-recording virtual display screen;
the page storage module is configured to store the second page to a data area corresponding to the physical display screen and a data area corresponding to the screen recording virtual display screen in response to detecting screen recording operation of the electronic device.
In some embodiments, the virtual display screen comprises a projected virtual display screen;
the page storage module is configured to store the second page to a data area corresponding to the physical display screen and a data area corresponding to the projection virtual display screen in response to detecting that the electronic device is interconnected with other electronic devices.
In some embodiments, the apparatus further comprises:
a data sending module configured to send synthetic data to the other electronic devices to cause the projection virtual display screens in the other electronic devices to display the second page, where the synthetic data at least includes image information describing the second page.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the synthesis method according to any one of the first aspect of the embodiments of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform a synthesis method according to any one of the first aspect of embodiments of the present disclosure.
By adopting the method disclosed by the invention, the following beneficial effects are achieved:
according to the synthesis method provided by the embodiment of the disclosure, the first page is synthesized to obtain the second page, the second page is used for being displayed in a plurality of display screens, and the plurality of display screens comprise a physical display screen and at least one virtual display screen of the electronic equipment. According to the method, the second page obtained by synthesizing the first page can be displayed in the plurality of display screens, namely, only one-time synthesis is needed to be carried out on the page when the same page is displayed on the plurality of display screens, so that the effect of one-time synthesis and multiple use of the page is realized, and compared with the method of respectively synthesizing the corresponding page for each display screen, the page synthesis efficiency is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method of synthesis according to an exemplary embodiment;
FIG. 2 is a flow diagram illustrating a method of synthesis according to an exemplary embodiment;
FIG. 3 is a schematic diagram illustrating a physical display screen and a virtual display screen in accordance with an exemplary embodiment;
FIG. 4 is a schematic diagram of a synthesis process in a related art, according to an exemplary embodiment;
FIG. 5 is a schematic illustration of a manner of synthesis in a related art shown in accordance with an exemplary embodiment;
FIG. 6 is a schematic diagram illustrating one manner of synthesis provided by the present disclosure, according to an exemplary embodiment
FIG. 7 is an apparatus block diagram illustrating a compositing apparatus according to an exemplary embodiment;
FIG. 8 is a block diagram illustrating an electronic device in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. The following description refers to the accompanying drawings in which the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The synthesis method provided by the embodiment of the disclosure is applied to electronic equipment, and the electronic equipment can be equipment capable of displaying pages, such as a mobile phone, a tablet computer, a portable computer and the like.
Optionally, the electronic device needs to be interconnected with other electronic devices, and if the electronic device is a mobile phone, the interconnection between the electronic device and the other electronic devices includes mobile phone-computer interconnection, mobile phone-television interconnection, mobile phone-tablet interconnection, mobile phone-vehicle interconnection, and the like. Or, the electronic device synthesizes a page by the mobile phone in a screen recording scene, displays the page on the physical display screen of the mobile phone, displays the page on the virtual display screen of the mobile phone, and records the page displayed on the virtual display screen.
Fig. 1 is a flow chart illustrating a method of composition, performed by an electronic device, according to an exemplary embodiment, the method comprising the steps of, referring to fig. 1:
step S101, synthesizing the first page to obtain a second page, wherein the second page is used for displaying in a plurality of display screens, and the plurality of display screens comprise a physical display screen and at least one virtual display screen of the electronic equipment.
The first page refers to a page to be rendered and synthesized and then displayed, and the first page may include a plurality of layers, where each layer may include elements such as text, images, icons, and buttons. The first page may be any page to be displayed by the electronic device, for example, the first page is one page in an application installed in the electronic device, or the first page is a desktop of the electronic device, or the first page is a page including multiple pages of multiple applications. And synthesizing the first page to obtain a second page, wherein the second page is a page displayed in a display screen subsequently, and the synthesizing means synthesizing a plurality of layers corresponding to the first page into one layer.
After the second page is synthesized, the second page is used for displaying in the multiple display screens, that is, when the multiple display screens display the page, the second page obtained by the same synthesis is adopted, so that the effect of synthesizing the second page for multiple times at one time is realized. The virtual display screens comprise a projection virtual display screen and a screen recording virtual display screen, the projection virtual display screen is the virtual display screen of the electronic equipment displayed in other electronic equipment when the electronic equipment is interconnected with other electronic equipment, and the screen recording virtual display screen is the virtual display screen displayed when the electronic equipment records the screen.
According to the synthesis method provided by the embodiment of the disclosure, the first page is synthesized to obtain the second page, the second page is used for being displayed in a plurality of display screens, and the plurality of display screens comprise a physical display screen and at least one virtual display screen of the electronic equipment. According to the method, the second page obtained by synthesizing the first page can be displayed in the plurality of display screens, namely, only one-time synthesis is needed to be carried out on the page when the same page is displayed on the plurality of display screens, so that the effect of one-time synthesis and multiple use of the page is realized, and compared with the method of respectively synthesizing the corresponding page for each display screen, the page synthesis efficiency is improved.
The embodiment shown in fig. 1 briefly introduces the process of page composition, and the composition process is described below with reference to an actual application scenario.
Fig. 2 is a flow chart illustrating a method of composition, performed by an electronic device, according to an exemplary embodiment, the method comprising the steps of, referring to fig. 2:
step S201, rendering a plurality of layers included in the first page to obtain a plurality of rendered layers.
The first page refers to a page to be rendered and synthesized and then displayed, and may include a plurality of layers, where each layer may include elements such as text, images, icons, buttons, and the like. The first page may be any page to be displayed by the electronic device. And the rendering means determining the pixel value of each pixel point in the layer so as to display the layer according to the pixel value of each pixel point in the subsequent display.
Optionally, if the first page is an application page of an application program in the electronic device, rendering is performed on a plurality of layers in the application page respectively. Or the first page is multiple application pages of multiple application programs in the electronic device, for example, if the first page displays a floating window on an upper layer of the application page of the first application program, and the floating window includes an application page of a second application program, each layer in the application page of the first application program and each layer in the floating window are rendered respectively. Of course, other forms of the first page may exist, and the rendering of other forms of the first page by the embodiments of the present disclosure is not illustrated here.
Alternatively, the rendered layer may be referred to as an application GraphcBuffer object.
Step S202, synthesizing the rendered layers to obtain a second page.
Because the first page includes a plurality of layers, when the plurality of layers are displayed, overlapping portions in different layers affect each other, and in order to ensure a final display effect, pixel values of pixel points of the overlapping portions need to be recalculated, so that a better display effect is finally achieved. The synthesizing of the plurality of layers means that the plurality of layers obtained by rendering are synthesized into one layer, and the synthesized layer is the second page.
In some embodiments, after the rendered layers are obtained, the rendered layers are sent to a rendering and synthesizing module, and the rendering and synthesizing module synthesizes the rendered layers to obtain a second page. Optionally, the rendering and synthesizing module synthesizes the rendered multiple layers by using a surfaceFlinger process to obtain a second page.
Alternatively, the second page may also be referred to as a composite graphic buffer object.
It should be emphasized that, in the above steps S201 and S202, only one rendering and one composition are performed on the first page to obtain the second page.
Step S203, in response to detecting that the electronic device is interconnected with another electronic device, storing the second page in the data area corresponding to the physical display screen and the data area corresponding to the projection virtual display screen, so that the physical display screen and the projection virtual display screen respectively display the second page.
In the embodiment of the disclosure, the second page is stored in multiple data areas, and when the electronic device is interconnected with other electronic devices, the second page needs to be stored in the data area corresponding to the physical display screen and the data area corresponding to the projection virtual display screen, that is, the second page is transferred to the physical display screen and the projection virtual display screen, so that the physical display screen and the projection virtual display screen display the second page. The virtual projection display screen is a virtual display screen displayed in other electronic devices interconnected with the electronic device, and the number of the virtual projection display screens is determined according to the number of the other electronic devices interconnected with the electronic device, for example, if the mobile phone is interconnected with the computer, a virtual projection display screen displayed on the computer is provided, or if the mobile phone is interconnected with the computer and the flat panel at the same time, a virtual projection display screen displayed on the computer and a virtual projection display screen displayed on the flat panel are provided.
Each data area corresponds to one display screen one by one, each data area is used for storing data to be displayed of the corresponding display screen, and the data to be displayed can be a second page directly or can be image information describing the second page.
In some embodiments, the electronic device and the other electronic devices may be connected wirelessly or physically through a data line, and the connection manner between the electronic device and the other electronic devices is not limited in the embodiments of the present disclosure.
In some embodiments, after the second page is stored in the data area corresponding to the projection virtual display screen, the synthesized data is sent to the other electronic devices, so that the projection virtual display screen in the other electronic devices displays the second page. The composite data at least includes image information for describing the second page, and the composite data may further include device identifiers of the electronic devices and other information such as device identifiers of other electronic devices. For example, referring to fig. 3, a mobile phone and a computer are interconnected, a mobile phone desktop is displayed in a physical display screen of the mobile phone, and a same mobile phone desktop is displayed in a projection virtual display screen of the computer, and the mobile phone desktops displayed in the physical display screen and the projection virtual display screen are obtained through the same synthesis.
In some embodiments, after the electronic device synthesizes the second page, it detects whether the electronic device is interconnected with other electronic devices, and stores the second page in a data area corresponding to the physical display screen and a data area corresponding to the projection virtual display screen under the condition that the electronic device is interconnected with other electronic devices and the other electronic devices display the projection virtual display screen, and if the electronic device is not interconnected with other electronic devices, stores the second page in the data area corresponding to the physical display screen, so that the physical display screen displays the second page.
It should be emphasized that the second page displayed in the physical display screen and the projected virtual display screen in step S203 is obtained through one-time composition.
Step S204, in response to the detection of the screen recording operation of the electronic device, storing the second page into a data area corresponding to the physical display screen and a data area corresponding to the screen recording virtual display screen, so that the physical display screen and the screen recording virtual display screen respectively display the second page.
In the embodiment of the disclosure, the second page is stored in multiple data areas respectively, when the screen recording operation of the electronic device is detected, the second page needs to be stored in the data area corresponding to the physical display screen and the data area corresponding to the screen recording virtual display screen, that is, the second page is transferred to the physical display screen and the screen recording virtual display screen, so that the physical display screen and the screen recording virtual display screen display the second page, therefore, the second page obtained through one-time synthesis can be displayed in the two display screens, namely the physical display screen and the screen recording virtual display screen, and the effect of synthesizing multiple uses at one time is achieved. The screen recording virtual display screen is a virtual display screen displayed when the electronic equipment records the screen.
In some embodiments, after the electronic device synthesizes the second page, it is detected whether the electronic device is performing a screen recording operation at this time, and when the electronic device is performing the screen recording operation, the second page is stored in the data area corresponding to the physical display screen and the data area corresponding to the screen recording virtual display screen, and if the electronic device is not performing the screen recording operation, the second page is stored in the data area corresponding to the physical display screen, so that the physical display screen displays the second page.
It should be emphasized that the second page displayed in the physical display screen and the screen recording virtual display screen in step S204 is obtained through one-time composition.
It should be noted that, step S203 and step S204 are directed to two different scenes, and in some embodiments, when the two scenes occur simultaneously, that is, in response to detecting that the electronic device is interconnected with other electronic devices and the screen recording operation of the electronic device, the second page is stored in the data area corresponding to the physical display screen, the data area corresponding to the projection virtual display screen, and the data area corresponding to the screen recording virtual display screen, so that the physical display screen, the projection virtual display screen, and the screen recording virtual display screen respectively display the second page.
In the related art, page composition needs to be performed separately for a physical display screen and a different virtual display screen, for example, referring to a schematic diagram of a composition process in the related art shown in fig. 4, as can be seen from fig. 4, a stage 1, a stage 2, and a stage 3 are processes of composing a page three times. Wherein, the phase 1 and the phase 2 are processes of composing the page displayed in the virtual display screen, and the phase 3 is a process of composing the page displayed in the physical display screen. Although the three stages are different in details of the synthesized page, the display effect of the finally synthesized page is the same, so that repeated operation is obviously executed by adopting three times of synthesis, the synthesis efficiency is low, if the page is synthesized only once, then the physical display screen and the virtual display screen are displayed based on the page synthesized once, the synthesis efficiency can be improved, and the display effect of the original page cannot be influenced.
In addition, referring to fig. 5 and fig. 6, fig. 5 is a synthesis manner in the related art, fig. 6 is a synthesis manner provided by the present disclosure, taking a page to be displayed as a page after an a page and a D page in an application are synthesized, and it is necessary to display the page in a physical display screen, a projection virtual display screen, and a recording virtual display screen as an example, referring to fig. 5, in the related art, the a page and the D page are synthesized three times, and three synthesized pages are respectively obtained, and are sequentially displayed in the physical display screen, the projection virtual display screen, and the recording virtual display screen, that is, three times of page synthesis are performed for the three display screens, and the page synthesized each time is used only once, referring to fig. 6, in the present embodiment, the a page and the D page are synthesized once, so that one synthesized page is displayed in the physical display screen, the projection virtual display screen, and the recording virtual display screen, that is performed once page synthesis for the three display screens, and the page synthesized once is used for a plurality of times.
According to the synthesis method provided by the embodiment of the disclosure, a first page is synthesized to obtain a second page, the second page is respectively stored in a plurality of data areas, each data area corresponds to one display screen one by one, each data area is used for storing data to be displayed of the corresponding display screen, and the plurality of display screens comprise a physical display screen and at least one virtual display screen of an electronic device. According to the method, the page is synthesized for one time, and then the synthesized page is stored in the data area corresponding to each display screen, so that each display screen can display the page based on the data stored in the corresponding data area, the page is synthesized for one time when a plurality of display screens display the same page, the effect of synthesizing the page for multiple times is achieved, and compared with the method of synthesizing the corresponding page for each display screen, the page synthesis efficiency is improved.
Fig. 7 is a diagram illustrating a combining apparatus applied to an electronic device according to an exemplary embodiment, referring to fig. 7, the apparatus including:
the page composition module 701 is configured to compose the first page to obtain a second page, where the second page is used for displaying on multiple display screens, and the multiple display screens include a physical display screen and at least one virtual display screen of the electronic device.
According to the synthesis method provided by the embodiment of the disclosure, the first page is synthesized to obtain the second page, the second page is used for being displayed in a plurality of display screens, and the plurality of display screens comprise a physical display screen and at least one virtual display screen of the electronic equipment. According to the method, the second page obtained by synthesizing the first page can be displayed in the plurality of display screens, namely, only one-time synthesis is needed to be carried out on the page when the same page is displayed on the plurality of display screens, so that the effect of one-time synthesis and multiple use of the page is realized, and compared with the method of respectively synthesizing the corresponding page for each display screen, the page synthesis efficiency is improved.
In some embodiments, the apparatus further comprises:
the page storage module is configured to store the second page into a plurality of data areas respectively, each data area corresponds to one display screen one by one, and each data area is used for storing data to be displayed of the corresponding display screen.
In some embodiments, the first page includes a plurality of layers;
the page composition module 701 includes:
the image layer rendering unit is configured to respectively render the plurality of image layers to obtain a plurality of rendered image layers;
and synthesizing the rendered layers to obtain a second page.
In some embodiments, the virtual display screen comprises a screen-recording virtual display screen;
the page storage module is configured to store a second page to a data area corresponding to the physical display screen and a data area corresponding to the screen recording virtual display screen in response to the detection of the screen recording operation of the electronic device.
In some embodiments, the virtual display screen comprises a projected virtual display screen;
the page storage module is configured to store a second page to a data area corresponding to the physical display screen and a data area corresponding to the projection virtual display screen in response to detecting that the electronic device is interconnected with other electronic devices.
In some embodiments, the apparatus further comprises:
and the data sending module is configured to send the synthesized data to the other electronic equipment so as to enable the projection virtual display screen in the other electronic equipment to display the second page, and the synthesized data at least comprises image information for describing the second page.
With regard to the apparatus in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be described in detail here.
An embodiment of the present disclosure further provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the synthesis method in the above embodiments.
Fig. 8 is a block diagram illustrating an electronic device 800 in accordance with an exemplary embodiment.
Referring to fig. 8, electronic device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the electronic device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the electronic device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 806 provides power to the various components of the electronic device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the electronic device 800.
The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the electronic device 800 is in an operation mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the electronic device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the electronic device 800. For example, the sensor assembly 814 may detect an open/closed state of the electronic device 800, the relative positioning of components, such as a display and keypad of the electronic device 800, the sensor assembly 814 may also detect a change in the position of the electronic device 800 or a component of the electronic device 800, the presence or absence of user contact with the electronic device 800, orientation or acceleration/deceleration of the electronic device 800, and a change in the temperature of the electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the electronic device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the electronic device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The disclosed embodiments also provide a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the synthesis method in the above embodiments.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (10)

1. A synthesis method, applied to an electronic device, the method comprising:
and synthesizing the first page to obtain a second page, wherein the second page is used for displaying in a plurality of display screens, and the plurality of display screens comprise a physical display screen and at least one virtual display screen of the electronic equipment.
2. The method of claim 1, wherein after the synthesizing of the first page into the second page, the method further comprises:
and respectively storing the second page into a plurality of data areas, wherein each data area corresponds to one display screen one by one, and each data area is used for storing data to be displayed of the corresponding display screen.
3. The method of synthesis according to claim 1,
the first page comprises a plurality of layers;
the synthesizing of the first page to obtain the second page comprises:
rendering the plurality of layers respectively to obtain a plurality of rendered layers;
and synthesizing the rendered layers to obtain the second page.
4. A composition method according to claim 2, wherein the virtual display screen comprises a screen-recording virtual display screen;
the storing the second pages into a plurality of data regions respectively includes:
and responding to the detected screen recording operation of the electronic equipment, and storing the second page to a data area corresponding to the physical display screen and a data area corresponding to the screen recording virtual display screen.
5. A compositing method as recited in claim 2, wherein the virtual display screen comprises a projected virtual display screen;
the sending the second page to the data areas corresponding to the multiple display screens respectively includes:
and in response to the detection that the electronic equipment is interconnected with other electronic equipment, storing the second page to a data area corresponding to the physical display screen and a data area corresponding to the projection virtual display screen.
6. The method of synthesis of claim 5, further comprising:
and sending synthesized data to the other electronic equipment to enable the projection virtual display screen in the other electronic equipment to display the second page, wherein the synthesized data at least comprises image information for describing the second page.
7. A composition apparatus, applied to an electronic device, the apparatus comprising:
the page composition module is configured to compose the first page to obtain a second page, wherein the second page is used for being displayed in a plurality of display screens, and the plurality of display screens comprise a physical display screen and at least one virtual display screen of the electronic equipment.
8. The synthesis device of claim 7, wherein the device further comprises:
the page storage module is configured to store the second page into a plurality of data areas respectively, each data area corresponds to one display screen one by one, and each data area is used for storing data to be displayed of the corresponding display screen.
9. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the synthesis method of any of claims 1-6.
10. A non-transitory computer readable storage medium, wherein instructions in the storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the composition method of any of claims 1-6.
CN202211490731.XA 2022-11-25 2022-11-25 Synthesis method, synthesis device, electronic device and storage medium Pending CN115934225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211490731.XA CN115934225A (en) 2022-11-25 2022-11-25 Synthesis method, synthesis device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211490731.XA CN115934225A (en) 2022-11-25 2022-11-25 Synthesis method, synthesis device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN115934225A true CN115934225A (en) 2023-04-07

Family

ID=86651882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211490731.XA Pending CN115934225A (en) 2022-11-25 2022-11-25 Synthesis method, synthesis device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN115934225A (en)

Similar Documents

Publication Publication Date Title
US11010020B2 (en) Method, apparatus and storage medium for displaying shortcut operation panel
US11445255B2 (en) Operation method, device, apparatus and storage medium of playing video
CN105955607B (en) Content sharing method and device
CN107526494B (en) Keyboard display method, device, terminal and storage medium
US11183153B1 (en) Image display method and device, electronic device, and storage medium
US20170304735A1 (en) Method and Apparatus for Performing Live Broadcast on Game
US20170293403A1 (en) Method and device for displaying pages in application program and computer-readable medium
CN110231901B (en) Application interface display method and device
EP3147802B1 (en) Method and apparatus for processing information
US10771691B2 (en) Mobile terminal and controlling method thereof
CN111338536B (en) Screen recording method and device of multi-screen electronic equipment, multi-screen electronic equipment and storage medium
CN106775235B (en) Screen wallpaper display method and device
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN111614910B (en) File generation method and device, electronic equipment and storage medium
CN107967233B (en) Electronic work display method and device
CN112698684A (en) Screen display device, screen display control method, screen display control device, and storage medium
CN111246012B (en) Application interface display method and device and storage medium
CN114827721A (en) Video special effect processing method and device, storage medium and electronic equipment
CN113919311A (en) Data display method and device, electronic equipment and storage medium
CN109981729B (en) File processing method and device, electronic equipment and computer readable storage medium
CN115934225A (en) Synthesis method, synthesis device, electronic device and storage medium
CN106604088B (en) Method, device and equipment for processing data in buffer area
CN114691000B (en) Multi-screen linkage method, device, equipment and storage medium
US20220291890A1 (en) Method for interaction between devices and medium
CN110876013B (en) Method and device for determining image resolution, electronic equipment and storage medium

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