CN110933494A - Picture sharing method and electronic equipment - Google Patents

Picture sharing method and electronic equipment Download PDF

Info

Publication number
CN110933494A
CN110933494A CN201911202358.1A CN201911202358A CN110933494A CN 110933494 A CN110933494 A CN 110933494A CN 201911202358 A CN201911202358 A CN 201911202358A CN 110933494 A CN110933494 A CN 110933494A
Authority
CN
China
Prior art keywords
electronic device
picture
display
electronic equipment
electronic
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
CN201911202358.1A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911202358.1A priority Critical patent/CN110933494A/en
Publication of CN110933494A publication Critical patent/CN110933494A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • H04N21/440272Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA for performing aspect ratio conversion

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention provides a picture sharing method and electronic equipment, wherein the picture sharing method comprises the following steps: under the condition that a first electronic device is connected with a second electronic device and the display parameters of the first electronic device are not matched with those of the second electronic device, performing target processing on a first picture displayed by the first electronic device to obtain a second picture; sending the second picture to the second electronic equipment; and the second picture is matched with the display parameters of the second electronic equipment. The scheme can ensure that the display parameters of the shared picture are adaptive to the display parameters of the second electronic equipment, thereby avoiding the following steps: the display parameters of the shared picture are not suitable for the display parameters of the second electronic equipment, so that the second electronic equipment is caused to display the conditions of reduced quality, abnormal display and the like of the shared picture; the problem that the picture sharing scheme in the prior art is abnormal in display is well solved.

Description

Picture sharing method and electronic equipment
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a method for sharing a frame and an electronic device.
Background
With the development of electronic devices, the life style of people is also changed, and people gradually start to play videos, karaoke games and the like on the internet. As the social engagement on the internet is increasing, sharing and collaboration of applications among different electronic devices is also becoming more important.
The current video picture sharing only projects the picture of the master device to the slave device. Therefore, when the screen of the master device is rotated, even if the state of the slave device is not changed, the displayed screen thereof is simultaneously rotated, which causes display quality degradation, display abnormality, and the like, and increases user experience with trouble.
Disclosure of Invention
The invention aims to provide a picture sharing method and electronic equipment to solve the problem of abnormal display in a picture sharing scheme in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a picture sharing method, applied to a first electronic device, including:
under the condition that a first electronic device is connected with a second electronic device and the display parameters of the first electronic device are not matched with those of the second electronic device, performing target processing on a first picture displayed by the first electronic device to obtain a second picture;
sending the second picture to the second electronic equipment;
and the second picture is matched with the display parameters of the second electronic equipment.
In a second aspect, an embodiment of the present invention further provides a picture sharing method, applied to a second electronic device, including:
receiving a second picture sent by the first electronic equipment;
displaying the second picture;
the second picture is obtained by the first electronic equipment through target processing aiming at the first picture; the second picture is matched with the display parameters of the second electronic equipment.
In a third aspect, an embodiment of the present invention further provides an electronic device, where the electronic device is a first electronic device, and the electronic device includes:
the first processing module is used for performing target processing on a first picture displayed by first electronic equipment to obtain a second picture under the condition that the first electronic equipment is connected with second electronic equipment and the display parameters of the first electronic equipment are not matched with the display parameters of the second electronic equipment;
the first sending module is used for sending the second picture to the second electronic equipment;
and the second picture is matched with the display parameters of the second electronic equipment.
In a fourth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device is a second electronic device, and the electronic device includes:
the second receiving module is used for receiving a second picture sent by the first electronic equipment;
the first display module is used for displaying the second picture;
the second picture is obtained by the first electronic equipment through target processing aiming at the first picture; the second picture is matched with the display parameters of the second electronic equipment.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, where the electronic device is a first electronic device or a second electronic device, and includes a processor, a memory, and a computer program stored in the memory and executable on the processor, where when the electronic device is the first electronic device, the computer program is executed by the processor to implement the step of implementing the picture sharing method on the first electronic device side; or, when the electronic device is a second electronic device, the computer program is executed by the processor to implement the screen sharing method on the second electronic device side.
In a sixth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the above-mentioned picture sharing method on the first electronic device side or the second electronic device side.
In the embodiment of the invention, under the condition that a first electronic device is connected with a second electronic device and the display parameters of the first electronic device are not matched with those of the second electronic device, a first picture displayed by the first electronic device is subjected to target processing to obtain a second picture; sending the second picture to the second electronic equipment; the second picture is matched with the display parameters of the second electronic equipment; the display parameters of the shared picture can be ensured to be adapted to the display parameters of the second electronic device, so that the following steps are avoided: the display parameters of the shared picture are not suitable for the display parameters of the second electronic equipment, so that the second electronic equipment is caused to display the conditions of reduced quality, abnormal display and the like of the shared picture; the problem that the picture sharing scheme in the prior art is abnormal in display is well solved.
Drawings
FIG. 1 is a first flowchart illustrating a picture sharing method according to an embodiment of the present invention;
FIG. 2 is a second flowchart illustrating a picture sharing method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a specific application of the image sharing method according to an embodiment of the present invention;
FIG. 4 is a first schematic structural diagram of an electronic device according to an embodiment of the present invention;
FIG. 5 is a second schematic structural diagram of an electronic device according to an embodiment of the invention;
FIG. 6 is a third schematic structural diagram of an electronic device according to an embodiment of the invention;
fig. 7 is a fourth schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The present invention provides a picture sharing method, applied to a first electronic device, for solving the problem of abnormal display in the picture sharing scheme in the prior art, as shown in fig. 1, including:
step 11: under the condition that a first electronic device is connected with a second electronic device and the display parameters of the first electronic device are not matched with those of the second electronic device, performing target processing on a first picture displayed by the first electronic device to obtain a second picture.
The performing target processing on the first picture displayed by the first electronic device to obtain a second picture may specifically include: and adjusting the display parameters of the first picture so that the display parameters of the first picture are matched with the display parameters of the second electronic equipment.
Step 11 may specifically be: and under the condition that the first electronic equipment is connected with the second electronic equipment and a picture sharing instruction is obtained, and the display parameters of the first electronic equipment are not matched with those of the second electronic equipment, performing target processing on a first picture displayed by the first electronic equipment to obtain a second picture.
The frame sharing instruction can be a voice instruction or a non-voice instruction, the non-voice instruction can be a text instruction, a preset operation instruction and the like, and the preset operation instruction can be a preset sliding track instruction, a preset knocking operation instruction and the like.
The picture may be a picture or a video picture, etc.
Step 12: sending the second picture to the second electronic equipment; and the second picture is matched with the display parameters of the second electronic equipment.
Specifically, the matching of the display parameters of the second image and the second electronic device may be understood as matching of the display parameters of the second image and the display parameters of the second electronic device.
That is, the picture to be shared (i.e., the second picture obtained from the first picture) whose display parameters match the display parameters of the second electronic device is sent to the second electronic device, and specifically, the picture can be sent to the second electronic device in a preset manner, where the preset manner may be a bluetooth communication manner, a radio frequency communication manner, and/or a data line connection communication manner.
According to the picture sharing method provided by the embodiment of the invention, under the condition that a first electronic device is connected with a second electronic device and the display parameters of the first electronic device are not matched with those of the second electronic device, a first picture displayed by the first electronic device is subjected to target processing to obtain a second picture; sending the second picture to the second electronic equipment; the second picture is matched with the display parameters of the second electronic equipment; the display parameters of the shared picture (i.e. the second picture) can be ensured to be adapted to the display parameters of the second electronic device, so as to avoid: the display parameters of the shared picture are not suitable for the display parameters of the second electronic equipment, so that the second electronic equipment is caused to display the conditions of reduced quality, abnormal display and the like of the shared picture; the problem that the picture sharing scheme in the prior art is abnormal in display is well solved.
Wherein the display parameters include at least one of: display aspect ratio, display orientation, display size, and resolution.
Therefore, the display parameters of the first picture can be adjusted to be completely matched with the display parameters of the second electronic equipment, and the second picture is obtained.
Further, the display parameters include a display length-width ratio and a display direction, and before the first picture displayed by the first electronic device is subjected to target processing to obtain a second picture, the picture sharing method further includes: receiving the horizontal and vertical screen states of the second electronic equipment sent by the second electronic equipment; and determining the display length-width ratio and the display direction of the second electronic equipment according to the horizontal and vertical screen states.
This can ensure normal execution of the operation "subject the first screen displayed by the first electronic device to the target process".
The horizontal and vertical screen states comprise a first vertical screen state in which the top end of the electronic device faces upwards, a second vertical screen state in which the top end of the electronic device faces downwards, a first horizontal screen state in which the top end of the electronic device faces left, or a second horizontal screen state in which the top end of the electronic device faces right.
This can make this scheme laminate practical application condition more.
Specifically, the horizontal and vertical screen states are horizontal and vertical screen states of the second electronic device at a first moment; the first moment is a moment when the connection between the first electronic device and the second electronic device is completed, or a moment when the updating of the horizontal and vertical screen states of the second electronic device is completed.
The first time may also be a periodic time after the connection between the first electronic device and the second electronic device is completed, or a time when an acquisition instruction for acquiring the horizontal and vertical screen states of the second electronic device is received, which is not limited herein.
Therefore, the display parameters of the first picture can be adjusted in real time along with the state change of the second electronic equipment, and the obtained display parameters of the second picture are always matched with the display parameters of the second electronic equipment.
In the embodiment of the present invention, the display size and the resolution of the second electronic device may be received together with the horizontal and vertical screen states of the second electronic device when the connection between the first electronic device and the second electronic device is completed; or the horizontal and vertical screen states of the first electronic device and the second electronic device are respectively and independently received when the connection between the first electronic device and the second electronic device is completed; or may be pre-stored locally; and is not limited herein.
In the embodiment of the present invention, when the horizontal and vertical screen states of the first electronic device are consistent with the horizontal and vertical screen states of the second electronic device, the adjusted display parameter of the first screen includes at least one of a display size and a resolution; alternatively, the first and second electrodes may be,
under the condition that the horizontal and vertical screen states of the first electronic device are inconsistent with the horizontal and vertical screen states of the second electronic device, adjusting display parameters of the first picture, wherein the display parameters are as follows:
including display aspect ratio, display orientation, and display size, or,
including display aspect ratio, display orientation, display size and resolution, or,
including display aspect ratio and display size, or,
including display aspect ratio, display size and resolution, or,
including the display orientation and display size, or,
including display orientation, display size, and resolution.
It can also be understood that: when the horizontal and vertical screen states of the first electronic equipment are consistent with the horizontal and vertical screen states of the second electronic equipment, scaling the size of a first picture according to the display size of the second electronic equipment; and/or adjusting the resolution of the first picture according to the resolution of the second electronic equipment; alternatively, the first and second electrodes may be,
when the horizontal and vertical screen states of the first electronic device are inconsistent with the horizontal and vertical screen states of the second electronic device:
modifying, rotating and scaling the length-width ratio of the first picture according to the display length-width ratio, the display direction and the display size of the second electronic equipment; alternatively, the first and second electrodes may be,
modifying, rotating and scaling the length-width ratio of the first picture according to the display length-width ratio, the display direction and the display size of the second electronic equipment; according to the resolution of the second electronic equipment, performing resolution adjustment on the first picture; alternatively, the first and second electrodes may be,
modifying the length-width ratio and scaling the size of the first picture according to the display length-width ratio and the display size of the second electronic equipment; alternatively, the first and second electrodes may be,
modifying the length-width ratio and scaling the size of the first picture according to the display length-width ratio and the display size of the second electronic equipment; according to the resolution of the second electronic equipment, performing resolution adjustment on the first picture; alternatively, the first and second electrodes may be,
rotating and scaling the first picture according to the display direction and the display size of the second electronic equipment; alternatively, the first and second electrodes may be,
rotating and scaling the first picture according to the display direction and the display size of the second electronic equipment; and adjusting the resolution of the first picture according to the resolution of the second electronic equipment.
Therefore, the display parameters of the second picture can be always matched with the display parameters of the second electronic equipment.
The scheme provided by the embodiment of the invention can specifically avoid the following steps: the display parameters of the picture to be shared, which are caused by the state change of the first electronic device, are not adapted to the display parameters of the second electronic device after being changed, so that the display quality of the picture to be shared is reduced, abnormal display is caused, and the like by the second electronic device; the problem that the picture sharing scheme in the prior art is abnormal in display is well solved.
An embodiment of the present invention further provides a picture sharing method, applied to a second electronic device, as shown in fig. 2, including:
step 21: and receiving a second picture sent by the first electronic equipment.
The second picture can be received in a preset mode, wherein the preset mode can be a Bluetooth communication mode, a radio frequency communication mode and/or a data line connection communication mode.
Step 22: displaying the second picture; the second picture is obtained by the first electronic equipment through target processing aiming at the first picture; the second picture is matched with the display parameters of the second electronic equipment.
The target process may be an adjustment process for a display parameter of the first screen.
That is, the picture to be shared (i.e. the second picture obtained from the first picture) whose display parameters match those of the second electronic device is received, so that the display quality of the picture can be ensured and abnormal display does not occur.
The picture sharing method provided by the embodiment of the invention receives a second picture sent by first electronic equipment; displaying the second picture; the second picture is obtained by the first electronic equipment through target processing aiming at the first picture; the second picture is matched with the display parameters of the second electronic equipment; the display parameters of the shared picture can be ensured to be adapted to the display parameters of the second electronic device, so that the following steps are avoided: the display parameters of the shared picture are not suitable for the display parameters of the second electronic equipment, so that the second electronic equipment is caused to display the conditions of reduced quality, abnormal display and the like of the shared picture; the problem that the picture sharing scheme in the prior art is abnormal in display is well solved.
Wherein the display parameters include at least one of: display aspect ratio, display orientation, display size, and resolution.
Therefore, the display parameters of the first picture can be adjusted to be completely matched with the display parameters of the second electronic equipment, and the second picture is obtained.
Further, before receiving the second screen sent by the first electronic device, the screen sharing method further includes: sending the horizontal and vertical screen states of the second electronic equipment at a first moment to the first electronic equipment; the first moment is a moment when the connection between the first electronic device and the second electronic device is completed, or a moment when the updating of the horizontal and vertical screen states of the second electronic device is completed.
Wherein, the updating of the horizontal and vertical screen states of the second electronic device means: and the horizontal and vertical screen states of the second electronic equipment at the previous moment are inconsistent with the horizontal and vertical screen states of the second electronic equipment at the current moment.
Thus, the normal execution of the operation "target processing the first screen displayed by the first electronic device" on the first electronic device side can be ensured, and the matching of the second screen and the display parameters of the second electronic device is ensured.
Meanwhile, the display parameters of the first picture can be adjusted in real time by the first electronic equipment along with the state change of the second electronic equipment, and the display parameters of the obtained second picture are always matched with the display parameters of the second electronic equipment.
The first time may also be a periodic time after the connection between the first electronic device and the second electronic device is completed, or a time when a sending instruction for sending the horizontal and vertical screen states of the second electronic device to the first electronic device is received, which is not limited herein.
In the embodiment of the present invention, the horizontal and vertical screen states include a first vertical screen state where the top end of the electronic device faces upward, a second vertical screen state where the top end of the electronic device faces downward, a first horizontal screen state where the top end of the electronic device faces left, or a second horizontal screen state where the top end of the electronic device faces right.
This can make this scheme laminate practical application condition more.
In the embodiment of the present invention, regarding the display size and the resolution of the second electronic device, the display size and the resolution may be sent to the first electronic device together with the horizontal and vertical screen states of the second electronic device when the connection between the first electronic device and the second electronic device is completed; or the connection between the first electronic device and the second electronic device may be separately sent to the first electronic device when the connection is completed; the method can also be transmitted to a related device (such as the first electronic device) for being stored in the first electronic device in advance before the scheme is executed; and is not limited herein.
The scheme provided by the embodiment of the invention can specifically avoid the following steps: the display parameters of the picture to be shared, which are caused by the state change of the first electronic device, are not adapted to the display parameters of the second electronic device after being changed, so that the display quality of the picture to be shared is reduced, abnormal display is caused, and the like by the second electronic device; the problem that the picture sharing scheme in the prior art is abnormal in display is well solved.
The picture sharing method provided by the embodiment of the invention is further described below with reference to the first electronic device and the second electronic device.
In view of the foregoing technical problems, an embodiment of the present invention provides a picture sharing method, which can be implemented to provide an application cooperation mode in which a projection picture is based on a state of a slave device (i.e., the second electronic device), so as to solve the problem that a picture transition of a master device (i.e., the first electronic device) causes a trouble and an abnormal display to the slave device. The scheme provided by the embodiment of the invention can be shown in fig. 3, and comprises the following steps:
the slave equipment sends the current horizontal and vertical screen states of the slave equipment to the master equipment; the master equipment judges whether the current horizontal and vertical screen state of the master equipment is consistent with the current horizontal and vertical screen state of the slave equipment; if the first picture is consistent with the second picture, directly sending the data of the first picture to be shared to the slave equipment; if the images are not consistent, adjusting the first image to obtain a second image to be shared, and sending data of the second image to the slave equipment; the shared screen is output from the device.
Wherein, specifically relate to:
(1) when the master device and the slave device establish connection, the slave device sends a horizontal and vertical screen state at least once, and the master device performs cutting (such as zooming, scale changing and the like) and/or rotation and the like on a first picture (such as a picture or a video picture and the like) according to the state of the slave device and the state (the horizontal and vertical screen state) of the master device, and then shares the first picture to the slave device.
(2) And when the horizontal and vertical screen states of the slave equipment are changed every time, the slave equipment sends the horizontal and vertical screen states to the master equipment at least once, and the master equipment performs corresponding cutting and/or rotation and the like on the first picture and then sends the first picture to the slave equipment.
For a specific case of adjusting the first screen according to the horizontal and vertical screen states of the master device and the slave device, the following description is given by way of example:
1) when the horizontal and vertical screen states of the master device and the slave device are consistent, the screen picture (namely, the first picture) of the master device can be transmitted to the slave device without any processing;
2) and when the master equipment is in the first horizontal screen state and the slave equipment is in the first vertical screen state, the master equipment scales the screen picture, changes the length-width ratio, rotates the screen picture for 90 degrees leftwards and then sends the screen picture to the slave equipment.
3) And when the master equipment is in the first vertical screen state and the slave equipment is in the first horizontal screen state, the master equipment scales the screen picture, changes the length-width ratio, rotates the screen picture by 90 degrees to the right and then sends the screen picture to the slave equipment.
4) When the master device is in the first horizontal screen state and the slave device is in the second horizontal screen state, the master device rotates the screen picture by 180 degrees to the left (or right), and then sends the screen picture to the slave device.
In the embodiment of the present invention, there are 16 cases (each device has the above four horizontal and vertical screen states) according to the horizontal and vertical screen states of both the master device and the slave device, and the processing method for the case not referred to in the above example is similar to the above example, and is not described again here.
As can be seen from the above, the embodiments of the present invention provide a solution such that: when the shared video image application is used, the slave equipment can normally display along with the horizontal and vertical screen states of the slave equipment, and the display effect of the slave equipment is prevented from being influenced by the picture state of the master equipment.
An embodiment of the present invention further provides an electronic device, where the electronic device is a first electronic device, as shown in fig. 4, and the electronic device includes:
the first processing module 41 is configured to, when a first electronic device is connected to a second electronic device and a display parameter of the first electronic device is not matched with a display parameter of the second electronic device, perform target processing on a first picture displayed by the first electronic device to obtain a second picture;
a first sending module 42, configured to send the second picture to the second electronic device;
and the second picture is matched with the display parameters of the second electronic equipment.
In the electronic device provided by the embodiment of the invention, under the condition that a first electronic device is connected with a second electronic device and the display parameters of the first electronic device are not matched with those of the second electronic device, a first picture displayed by the first electronic device is subjected to target processing to obtain a second picture; sending the second picture to the second electronic equipment; the second picture is matched with the display parameters of the second electronic equipment; the display parameters of the shared picture (i.e. the second picture) can be ensured to be adapted to the display parameters of the second electronic device, so as to avoid: the display parameters of the shared picture are not suitable for the display parameters of the second electronic equipment, so that the second electronic equipment is caused to display the conditions of reduced quality, abnormal display and the like of the shared picture; the problem that the picture sharing scheme in the prior art is abnormal in display is well solved.
Wherein the display parameters include at least one of: display aspect ratio, display orientation, display size, and resolution.
Further, the display parameters include a display length-width ratio and a display direction, and the electronic device further includes: the first receiving module is used for receiving the horizontal and vertical screen states of the second electronic equipment sent by the second electronic equipment before the first picture displayed by the first electronic equipment is subjected to target processing to obtain a second picture; and the first determining module is used for determining the display length-width ratio and the display direction of the second electronic equipment according to the horizontal and vertical screen states.
Specifically, the horizontal and vertical screen states are horizontal and vertical screen states of the second electronic device at a first moment; the first moment is a moment when the connection between the first electronic device and the second electronic device is completed, or a moment when the updating of the horizontal and vertical screen states of the second electronic device is completed.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment of the first electronic device side in fig. 1 and fig. 3, and is not described herein again to avoid repetition.
An embodiment of the present invention further provides an electronic device, where the electronic device is a second electronic device, and as shown in fig. 5, the electronic device includes:
a second receiving module 51, configured to receive a second picture sent by the first electronic device;
a first display module 52, configured to display the second picture;
the second picture is obtained by the first electronic equipment through target processing aiming at the first picture; the second picture is matched with the display parameters of the second electronic equipment.
The electronic equipment provided by the embodiment of the invention receives the second picture sent by the first electronic equipment; displaying the second picture; the second picture is obtained by the first electronic equipment through target processing aiming at the first picture; the second picture is matched with the display parameters of the second electronic equipment; the display parameters of the shared picture can be ensured to be adapted to the display parameters of the second electronic device, so that the following steps are avoided: the display parameters of the shared picture are not suitable for the display parameters of the second electronic equipment, so that the second electronic equipment is caused to display the conditions of reduced quality, abnormal display and the like of the shared picture; the problem that the picture sharing scheme in the prior art is abnormal in display is well solved.
Further, the electronic device further includes: the second sending module is used for sending the horizontal and vertical screen states of the second electronic equipment at a first moment to the first electronic equipment before receiving a second picture sent by the first electronic equipment; the first moment is a moment when the connection between the first electronic device and the second electronic device is completed, or a moment when the updating of the horizontal and vertical screen states of the second electronic device is completed.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment of the second electronic device side in fig. 2 and fig. 3, and is not described herein again to avoid repetition.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention, where the electronic device is a first electronic device, and the electronic device 60 includes, but is not limited to: radio frequency unit 61, network module 62, audio output unit 63, input unit 64, sensor 65, display unit 66, user input unit 67, interface unit 68, memory 69, processor 610, and power supply 611. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 610 is configured to perform target processing on a first picture displayed by a first electronic device to obtain a second picture when the first electronic device is connected with a second electronic device and a display parameter of the first electronic device is not matched with a display parameter of the second electronic device; sending the second picture to the second electronic equipment; and the second picture is matched with the display parameters of the second electronic equipment.
In the embodiment of the invention, under the condition that a first electronic device is connected with a second electronic device and the display parameters of the first electronic device are not matched with those of the second electronic device, a first picture displayed by the first electronic device is subjected to target processing to obtain a second picture; sending the second picture to the second electronic equipment; the second picture is matched with the display parameters of the second electronic equipment; the display parameters of the shared picture (i.e. the second picture) can be ensured to be adapted to the display parameters of the second electronic device, so as to avoid: the display parameters of the shared picture are not suitable for the display parameters of the second electronic equipment, so that the second electronic equipment is caused to display the conditions of reduced quality, abnormal display and the like of the shared picture; the problem that the picture sharing scheme in the prior art is abnormal in display is well solved.
Optionally, the display parameter includes at least one of: display aspect ratio, display orientation, display size, and resolution.
Optionally, the display parameters include a display length-width ratio and a display direction, and the processor 610 is further configured to receive a horizontal and vertical screen state of the second electronic device sent by the second electronic device before performing target processing on a first screen displayed by the first electronic device to obtain a second screen; and determining the display length-width ratio and the display direction of the second electronic equipment according to the horizontal and vertical screen states.
Optionally, the horizontal and vertical screen states are horizontal and vertical screen states of the second electronic device at a first moment; the first moment is a moment when the connection between the first electronic device and the second electronic device is completed, or a moment when the updating of the horizontal and vertical screen states of the second electronic device is completed.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 61 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 610; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 61 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 61 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 62, such as to assist the user in sending and receiving e-mail, browsing web pages, and accessing streaming media.
The audio output unit 63 may convert audio data received by the radio frequency unit 61 or the network module 62 or stored in the memory 69 into an audio signal and output as sound. Also, the audio output unit 63 may also provide audio output related to a specific function performed by the electronic device 60 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 63 includes a speaker, a buzzer, a receiver, and the like.
The input unit 64 is used to receive an audio or video signal. The input Unit 64 may include a Graphics Processing Unit (GPU) 641 and a microphone 642, and the Graphics processor 641 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 66. The image frames processed by the graphic processor 641 may be stored in the memory 69 (or other storage medium) or transmitted via the radio frequency unit 61 or the network module 62. The microphone 642 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 61 in case of the phone call mode.
The electronic device 60 also includes at least one sensor 65, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 661 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 661 and/or the backlight when the electronic device 60 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 65 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 66 is used to display information input by the user or information provided to the user. The Display unit 66 may include a Display panel 661, and the Display panel 661 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 67 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 67 includes a touch panel 671 and other input devices 672. The touch panel 671, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 671 (e.g., operations by a user on or near the touch panel 671 using a finger, a stylus, or any other suitable object or attachment). The touch panel 671 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 610, receives a command from the processor 610, and executes the command. In addition, the touch panel 671 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 671, the user input unit 67 may also include other input devices 672. In particular, the other input devices 672 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 671 can be overlaid on the display panel 661, and when the touch panel 671 detects a touch operation on or near the touch panel 671, the touch panel 671 can be transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 can provide a corresponding visual output on the display panel 661 according to the type of the touch event. Although the touch panel 671 and the display panel 661 are shown as two separate components in fig. 6 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 671 and the display panel 661 can be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 68 is an interface for connecting an external device to the electronic apparatus 60. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 68 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic equipment 60 or may be used to transmit data between the electronic equipment 60 and the external device.
The memory 69 may be used to store software programs as well as various data. The memory 69 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 69 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 610 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 69 and calling data stored in the memory 69, thereby performing overall monitoring of the electronic device. Processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 610.
The electronic device 60 may further include a power supply 611 (e.g., a battery) for supplying power to the various components, and preferably, the power supply 611 is logically connected to the processor 610 via a power management system, so that functions of managing charging, discharging, and power consumption are performed via the power management system.
In addition, the electronic device 60 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, where the electronic device is a first electronic device, and includes a processor 610, a memory 69, and a computer program stored in the memory 69 and capable of running on the processor 610, and when the computer program is executed by the processor 610, the computer program implements each process of the above-mentioned first electronic device side picture sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned first electronic device-side picture sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention, where the electronic device is a second electronic device, and the electronic device 70 includes, but is not limited to: radio frequency unit 71, network module 72, audio output unit 73, input unit 74, sensor 75, display unit 76, user input unit 77, interface unit 78, memory 79, processor 710, and power supply 711. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 7 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 710 receives a second screen sent by the first electronic device; displaying the second picture; the second picture is obtained by the first electronic equipment through target processing aiming at the first picture; the second picture is matched with the display parameters of the second electronic equipment.
In the embodiment of the invention, the second picture sent by the first electronic equipment is received; displaying the second picture; the second picture is obtained by the first electronic equipment through target processing aiming at the first picture; the second picture is matched with the display parameters of the second electronic equipment; the display parameters of the shared picture can be ensured to be adapted to the display parameters of the second electronic device, so that the following steps are avoided: the display parameters of the shared picture are not suitable for the display parameters of the second electronic equipment, so that the second electronic equipment is caused to display the conditions of reduced quality, abnormal display and the like of the shared picture; the problem that the picture sharing scheme in the prior art is abnormal in display is well solved.
Optionally, the processor 710 is further configured to, before receiving a second picture sent by a first electronic device, send, to the first electronic device, a horizontal and vertical screen state of the second electronic device at a first time; the first moment is a moment when the connection between the first electronic device and the second electronic device is completed, or a moment when the updating of the horizontal and vertical screen states of the second electronic device is completed.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 71 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, the processor 710 is configured to receive downlink data from a base station and process the received downlink data; in addition, the uplink data is transmitted to the base station. Typically, the radio frequency unit 71 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 71 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 72, such as to assist the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 73 may convert audio data received by the radio frequency unit 71 or the network module 72 or stored in the memory 79 into an audio signal and output as sound. Also, the audio output unit 73 may also provide audio output related to a specific function performed by the electronic apparatus 70 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 73 includes a speaker, a buzzer, a receiver, and the like.
The input unit 74 is for receiving an audio or video signal. The input Unit 74 may include a Graphics Processing Unit (GPU) 741 and a microphone 742, and the Graphics processor 741 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 76. The image frames processed by the graphic processor 741 may be stored in the memory 79 (or other storage medium) or transmitted via the radio frequency unit 71 or the network module 72. The microphone 742 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 71 in case of the phone call mode.
The electronic device 70 also includes at least one sensor 75, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 761 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 761 and/or a backlight when the electronic device 70 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 75 may also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which are not described in detail herein.
The display unit 76 is used to display information input by the user or information provided to the user. The Display unit 76 may include a Display panel 761, and the Display panel 761 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 77 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 77 includes a touch panel 771 and other input devices 772. The touch panel 771, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 771 (e.g., operations by a user on or near the touch panel 771 using a finger, stylus, or any suitable object or attachment). The touch panel 771 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 710, receives a command from the processor 710, and executes the command. In addition, the touch panel 771 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 771, the user input unit 77 may also include other input devices 772. In particular, other input devices 772 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 771 may be overlaid on the display panel 761, and when the touch panel 771 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 710 to determine the type of the touch event, and then the processor 710 provides a corresponding visual output on the display panel 761 according to the type of the touch event. Although the touch panel 771 and the display panel 761 are shown as two separate components in fig. 7 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 771 and the display panel 761 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 78 is an interface for connecting an external device to the electronic apparatus 70. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 78 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 70 or may be used to transmit data between the electronic apparatus 70 and the external device.
The memory 79 may be used to store software programs as well as various data. The memory 79 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 79 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 710 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 79 and calling data stored in the memory 79, thereby performing overall monitoring of the electronic device. Processor 710 may include one or more processing units; preferably, the processor 710 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 710.
The electronic device 70 may further include a power supply 711 (e.g., a battery) for supplying power to various components, and preferably, the power supply 711 may be logically connected to the processor 710 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 70 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, where the electronic device is a second electronic device, and the electronic device includes a processor 710, a memory 79, and a computer program stored in the memory 79 and capable of running on the processor 710, and when the computer program is executed by the processor 710, the computer program implements each process of the second electronic device side picture sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned second electronic device-side picture sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A picture sharing method is applied to a first electronic device, and is characterized by comprising the following steps:
under the condition that a first electronic device is connected with a second electronic device and the display parameters of the first electronic device are not matched with those of the second electronic device, performing target processing on a first picture displayed by the first electronic device to obtain a second picture;
sending the second picture to the second electronic equipment;
and the second picture is matched with the display parameters of the second electronic equipment.
2. The picture sharing method according to claim 1, wherein the display parameter comprises at least one of:
display aspect ratio, display orientation, display size, and resolution.
3. The picture sharing method according to claim 1, wherein the display parameters include a display aspect ratio and a display direction, and before the first picture displayed by the first electronic device is subjected to the target processing to obtain a second picture, the picture sharing method further comprises:
receiving the horizontal and vertical screen states of the second electronic equipment sent by the second electronic equipment;
and determining the display length-width ratio and the display direction of the second electronic equipment according to the horizontal and vertical screen states.
4. The picture sharing method according to claim 3, wherein the landscape screen state is a landscape screen state of the second electronic device at a first time;
the first moment is a moment when the connection between the first electronic device and the second electronic device is completed, or a moment when the updating of the horizontal and vertical screen states of the second electronic device is completed.
5. A picture sharing method applied to a second electronic device is characterized by comprising the following steps:
receiving a second picture sent by the first electronic equipment;
displaying the second picture;
the second picture is obtained by the first electronic equipment through target processing aiming at the first picture; the second picture is matched with the display parameters of the second electronic equipment.
6. The picture sharing method according to claim 5, wherein before receiving the second picture transmitted by the first electronic device, the picture sharing method further comprises:
sending the horizontal and vertical screen states of the second electronic equipment at a first moment to the first electronic equipment;
the first moment is a moment when the connection between the first electronic device and the second electronic device is completed, or a moment when the updating of the horizontal and vertical screen states of the second electronic device is completed.
7. An electronic device, the electronic device being a first electronic device, comprising:
the first processing module is used for performing target processing on a first picture displayed by first electronic equipment to obtain a second picture under the condition that the first electronic equipment is connected with second electronic equipment and the display parameters of the first electronic equipment are not matched with the display parameters of the second electronic equipment;
the first sending module is used for sending the second picture to the second electronic equipment;
and the second picture is matched with the display parameters of the second electronic equipment.
8. The electronic device of claim 7, wherein the display parameters include at least one of:
display aspect ratio, display orientation, display size, and resolution.
9. The electronic device of claim 7, wherein the display parameters include a display aspect ratio and a display orientation, the electronic device further comprising:
the first receiving module is used for receiving the horizontal and vertical screen states of the second electronic equipment sent by the second electronic equipment before the first picture displayed by the first electronic equipment is subjected to target processing to obtain a second picture;
and the first determining module is used for determining the display length-width ratio and the display direction of the second electronic equipment according to the horizontal and vertical screen states.
10. The electronic device of claim 9, wherein the landscape screen state is a landscape screen state of the second electronic device at a first time;
the first moment is a moment when the connection between the first electronic device and the second electronic device is completed, or a moment when the updating of the horizontal and vertical screen states of the second electronic device is completed.
11. An electronic device, the electronic device being a second electronic device, comprising:
the second receiving module is used for receiving a second picture sent by the first electronic equipment;
the first display module is used for displaying the second picture;
the second picture is obtained by the first electronic equipment through target processing aiming at the first picture; the second picture is matched with the display parameters of the second electronic equipment.
12. The electronic device of claim 11, further comprising:
the second sending module is used for sending the horizontal and vertical screen states of the second electronic equipment at a first moment to the first electronic equipment before receiving a second picture sent by the first electronic equipment;
the first moment is a moment when the connection between the first electronic device and the second electronic device is completed, or a moment when the updating of the horizontal and vertical screen states of the second electronic device is completed.
13. An electronic device, which is a first electronic device or a second electronic device, comprising a processor, a memory and a computer program stored on the memory and operable on the processor, wherein when the electronic device is the first electronic device, the computer program is executed by the processor to implement the steps of the picture sharing method according to any one of claims 1 to 4; alternatively, the first and second electrodes may be,
when the electronic device is a second electronic device, the computer program when executed by the processor implements the steps of the picture sharing method according to any of claims 5 to 6.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the picture sharing method according to any one of claims 1 to 6.
CN201911202358.1A 2019-11-29 2019-11-29 Picture sharing method and electronic equipment Pending CN110933494A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911202358.1A CN110933494A (en) 2019-11-29 2019-11-29 Picture sharing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911202358.1A CN110933494A (en) 2019-11-29 2019-11-29 Picture sharing method and electronic equipment

Publications (1)

Publication Number Publication Date
CN110933494A true CN110933494A (en) 2020-03-27

Family

ID=69848003

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911202358.1A Pending CN110933494A (en) 2019-11-29 2019-11-29 Picture sharing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN110933494A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573118A (en) * 2020-04-28 2021-10-29 海信视像科技股份有限公司 Video picture rotating method and display equipment
CN113613043A (en) * 2021-07-30 2021-11-05 北京百度网讯科技有限公司 Screen display and image processing method, embedded device and cloud server
CN113923528A (en) * 2020-07-08 2022-01-11 华为技术有限公司 Screen sharing method, terminal and storage medium
CN115052005A (en) * 2022-06-16 2022-09-13 维沃移动通信有限公司 Synchronous display method, synchronous display device, electronic apparatus, and storage medium
CN115426516A (en) * 2022-08-31 2022-12-02 联想(北京)有限公司 Processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581405A (en) * 2013-10-21 2015-04-29 中国移动通信集团公司 Display content processing method and equipment
CN106484349A (en) * 2016-09-26 2017-03-08 腾讯科技(深圳)有限公司 The treating method and apparatus of live information
CN108268225A (en) * 2016-12-30 2018-07-10 乐视汽车(北京)有限公司 It throws screen method and throws screen device
CN108446085A (en) * 2018-03-14 2018-08-24 维沃移动通信有限公司 A kind of throwing screen display methods and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104581405A (en) * 2013-10-21 2015-04-29 中国移动通信集团公司 Display content processing method and equipment
CN106484349A (en) * 2016-09-26 2017-03-08 腾讯科技(深圳)有限公司 The treating method and apparatus of live information
CN108268225A (en) * 2016-12-30 2018-07-10 乐视汽车(北京)有限公司 It throws screen method and throws screen device
CN108446085A (en) * 2018-03-14 2018-08-24 维沃移动通信有限公司 A kind of throwing screen display methods and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113573118A (en) * 2020-04-28 2021-10-29 海信视像科技股份有限公司 Video picture rotating method and display equipment
CN113573118B (en) * 2020-04-28 2022-04-29 海信视像科技股份有限公司 Video picture rotating method and display equipment
CN113923528A (en) * 2020-07-08 2022-01-11 华为技术有限公司 Screen sharing method, terminal and storage medium
CN113613043A (en) * 2021-07-30 2021-11-05 北京百度网讯科技有限公司 Screen display and image processing method, embedded device and cloud server
CN115052005A (en) * 2022-06-16 2022-09-13 维沃移动通信有限公司 Synchronous display method, synchronous display device, electronic apparatus, and storage medium
CN115052005B (en) * 2022-06-16 2024-05-10 维沃移动通信有限公司 Synchronous display method, synchronous display device, electronic equipment and storage medium
CN115426516A (en) * 2022-08-31 2022-12-02 联想(北京)有限公司 Processing method and device

Similar Documents

Publication Publication Date Title
EP4047940A1 (en) Screencast control method and electronic device
CN111049979B (en) Application sharing method, electronic equipment and computer readable storage medium
CN107957839B (en) Display control method and mobile terminal
CN108073343B (en) display interface adjusting method and mobile terminal
CN108900695B (en) Display processing method, terminal equipment and computer readable storage medium
CN111026484A (en) Application sharing method, first electronic device and computer-readable storage medium
CN110933494A (en) Picture sharing method and electronic equipment
CN110209313B (en) Icon moving method and terminal equipment
CN109710349B (en) Screen capturing method and mobile terminal
CN109343788B (en) Operation control method of mobile terminal and mobile terminal
CN111290810B (en) Image display method and electronic equipment
CN109558046B (en) Information display method and terminal equipment
CN107734172B (en) Information display method and mobile terminal
CN111510623B (en) Shooting method and electronic equipment
CN111124706A (en) Application program sharing method and electronic equipment
CN108196781B (en) Interface display method and mobile terminal
CN110928407B (en) Information display method and device
CN110825474B (en) Interface display method and device and electronic equipment
CN110290263B (en) Image display method and mobile terminal
CN109597546B (en) Icon processing method and terminal equipment
CN109443261B (en) Method for acquiring folding angle of folding screen mobile terminal and mobile terminal
CN111142618A (en) Method for detecting folding angle and electronic equipment
CN107729100B (en) Interface display control method and mobile terminal
CN111061407B (en) Video program operation control method, electronic device, and storage medium
CN111261128B (en) Screen brightness adjusting method and electronic equipment

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

Application publication date: 20200327

RJ01 Rejection of invention patent application after publication