CN112579030B - Screen projection output control method and device and electronic equipment - Google Patents

Screen projection output control method and device and electronic equipment Download PDF

Info

Publication number
CN112579030B
CN112579030B CN202011463562.1A CN202011463562A CN112579030B CN 112579030 B CN112579030 B CN 112579030B CN 202011463562 A CN202011463562 A CN 202011463562A CN 112579030 B CN112579030 B CN 112579030B
Authority
CN
China
Prior art keywords
screen
data
display
projected
display mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011463562.1A
Other languages
Chinese (zh)
Other versions
CN112579030A (en
Inventor
肖春
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202011463562.1A priority Critical patent/CN112579030B/en
Publication of CN112579030A publication Critical patent/CN112579030A/en
Application granted granted Critical
Publication of CN112579030B publication Critical patent/CN112579030B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

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

Abstract

The application provides a screen projection output control method, a screen projection output control device and electronic equipment, wherein in the wireless screen projection application of the screen projection equipment to the electronic equipment such as a computer all-in-one machine AIO and the like, the electronic equipment can acquire the display content of the screen projection equipment in a first display mode, the data to be projected in a first streaming media format and the current screen state information of the electronic equipment, and then can detect whether the screen state information is matched with the first streaming media format and the first display mode, so that the data to be projected is decoded according to a decoding rule corresponding to an obtained matching detection result, the target screen projection data obtained by decoding is output and controlled to be in the first display mode, the display content of the screen projection equipment can be displayed in a full screen mode by the electronic equipment, and the display resources of the electronic equipment are fully utilized, and the periphery of the display content of the projection screen of the electronic equipment is prevented from being a black screen, so that the display effect of the wireless projection screen is improved.

Description

Screen projection output control method and device and electronic equipment
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for controlling screen projection output, and an electronic device.
Background
The screen projection means that the display content of the screen projection device is projected into the external device, so that the external device can synchronously display the display content of the screen projection device. Therefore, display content in the screen projection equipment (such as a mobile phone) with a small display screen can be projected to the electronic equipment (such as an all-in-one machine AIO, a television and the like) with a large display screen through the screen projection technology, the watching effect is improved, and the display content can be conveniently shared by multiple people.
In practical application, in a scene that the electronic device is an all-in-one machine AIO, the electronic device receives and outputs to-be-projected-screen data sent by the projection device in a vertical-screen mode, display contents contained in the to-be-projected-screen data are often output only at the middle position of a display screen of the electronic device, as shown in fig. 1, wide black edges are left on two sides of the display screen of the electronic device, and the display screen is wasted in position and is not attractive.
Disclosure of Invention
In view of the above, in order to solve the above technical problem, the present application proposes the following technical solutions:
in one aspect, the present application provides a screen projection output control method, including:
acquiring to-be-projected screen data in a first streaming media format and screen state information of electronic equipment, wherein the to-be-projected screen data is display content sent by the projection equipment in a first display mode;
Detecting whether the screen state information is matched with the first streaming media format and the first display mode or not to obtain a corresponding matching detection result;
decoding the data to be screen projected according to a decoding rule corresponding to the matching detection result to obtain target screen projection data;
and controlling the electronic equipment to be in the first display mode, and outputting the target screen projection data so that the electronic equipment can display the display content in a full screen mode.
Optionally, if the matching detection result indicates that the screen state information matches the first display mode but does not match the first streaming media format, the decoding processing is performed on the data to be screen-projected according to a decoding rule corresponding to the matching detection result to obtain target screen-projected data, including:
decoding the data to be projected according to a first decoding rule to obtain target projection data in a second streaming media format;
the controlling the electronic device to be in the first display mode, and outputting the target screen projection data, including:
outputting the target screen projection data with the second streaming media format.
Optionally, if the matching detection result is that the screen state information is not matched with the first display mode but is matched with the first streaming media format, performing the step of decoding the data to be projected according to the first decoding rule to obtain target screen projection data in a second streaming media format;
The controlling the electronic device to be in the first display mode, outputting the target screen projection data, and further comprising:
controlling the electronic equipment to switch from a second display mode to the first display mode.
Optionally, if the matching detection result indicates that the screen state information matches both the first streaming media format and the first display mode, the decoding process is performed on the data to be screen-projected according to a decoding rule corresponding to the matching detection result to obtain target screen-projected data, further including:
decoding the data to be projected according to a second decoding rule to obtain target screen projection data in the first streaming media format;
the controlling the electronic device to be in the first display mode, outputting the target screen projection data, including:
outputting the target screen projection data in the first streaming media format;
if the matching detection result indicates that the screen state information is not matched with the first streaming media format and the first display mode, decoding the data to be projected according to a second decoding rule to obtain target screen projection data with the first streaming media format;
The controlling the electronic device to be in the first display mode, outputting the target screen projection data, and further comprising:
controlling the electronic equipment to switch from a second display mode to the first display mode.
Optionally, the acquiring screen state information of the electronic device includes:
acquiring attitude parameters sensed by an attitude sensor of the electronic equipment;
obtaining screen state information of the electronic equipment according to the change trend of the attitude parameters;
the controlling the electronic device in the first display mode includes:
and controlling the electronic equipment to switch from a second display mode to the first display mode in response to a screen state switching instruction, wherein the screen state switching instruction is generated under the condition that the screen state information does not match with the first display mode.
Optionally, the method further includes:
controlling a standby power supply of the electronic equipment to enter a power supply state when the electronic equipment is in a shutdown state;
the acquiring of the data to be projected in the first streaming media format comprises:
when the electronic equipment is in an intelligent standby state or the shutdown state, acquiring to-be-projected-screen data in a first streaming media format; and the power consumption of the electronic equipment in the intelligent standby state is lower than that in the starting operation state.
This application has still provided a throw screen output controlling means, the device includes:
the data acquisition module is used for acquiring to-be-projected screen data in a first streaming media format and screen state information of the electronic equipment, wherein the to-be-projected screen data are display contents sent by the projection equipment in a first display mode;
the detection module is used for detecting whether the screen state information is matched with the first streaming media format and the first display mode or not to obtain a corresponding matching detection result;
the decoding processing module is used for decoding the data to be screen projected according to the decoding rule corresponding to the matching detection result to obtain target screen projection data;
and the screen projection output module is used for controlling the electronic equipment to be in the first display mode and outputting the target screen projection data so that the electronic equipment can display the display content in a full screen mode.
The present application further proposes an electronic device, which includes:
a communication device; a display device; an attitude sensor;
a storage device for storing a program for implementing the screen projection output control method;
and the processing device is used for loading and executing the program stored in the storage device to realize the screen projection output control method.
Optionally, the communication device includes:
a screen projection connection unit;
the device comprises a communication unit, a display unit and a display unit, wherein the communication unit is used for receiving to-be-projected-screen data with a first streaming media format, which is sent by a screen projecting device, and the to-be-projected-screen data is display content sent by the screen projecting device in a first display mode;
the processing device comprises:
the first processor is used for acquiring to-be-projected-screen data with a first streaming media format, acquiring a corresponding matching detection result if the screen state information is matched with the first streaming media format and the first display mode, decoding the to-be-projected-screen data according to a decoding rule corresponding to the matching detection result to acquire target projected-screen data, and sending the target projected-screen data to the projected-screen connection unit;
and the display controller is used for sending the target screen projection data sent by the screen projection connecting unit to the display device for outputting so that the display device can output the display content in a full screen mode.
Therefore, compared with the prior art, the application provides a screen projection output control method, a screen projection output control device and electronic equipment, wherein in the wireless screen projection application of the screen projection equipment to the electronic equipment such as an all-in-one computer AIO and the like, the electronic equipment can acquire the data to be projected, which contains the display content of the screen projection equipment in a first display mode and has a first streaming media format, and the current screen state information of the electronic equipment, and then can detect whether the screen state information is matched with the first streaming media format and the first display mode, so that the data to be projected is decoded according to the decoding rule corresponding to the obtained matching detection result, the electronic equipment is controlled to be in the first display mode, the target screen projection data obtained by decoding is output, the display content of the screen projection equipment can be displayed in a full screen mode, and the display resources of the electronic equipment are fully utilized, and the periphery of the display content of the projection screen of the electronic equipment is prevented from being a black screen, so that the display effect of the wireless projection screen is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only the embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a schematic diagram of an alternative wireless screen-projection application scenario;
fig. 2 is a schematic diagram of an optional wireless screen projection application scenario suitable for the screen projection output control method and apparatus proposed in the present application;
fig. 3 is a schematic flowchart of an alternative example of a screen projection output control method proposed in the present application;
fig. 4 is a schematic flowchart of another alternative example of the screen projection output control method proposed in the present application;
FIG. 5 is a schematic flow chart diagram of yet another alternative example of a screen projection output control method proposed by the present application;
FIG. 6 is a schematic diagram of another optional wireless screen projection application scenario suitable for the screen projection output control method and apparatus proposed in the present application;
FIG. 7 is a schematic flow chart diagram of yet another alternative example of a screen projection output control method proposed by the present application;
Fig. 8 is a schematic diagram of another optional wireless screen projection application scenario suitable for the screen projection output control method and apparatus proposed in the present application;
fig. 9 is a schematic structural view of an alternative example of the projection output control apparatus according to the present application;
fig. 10 is a schematic hardware structure diagram of an alternative example of an electronic device suitable for the screen projection output control method and apparatus provided in the present application;
fig. 11 is a schematic hardware structure diagram of still another alternative example of an electronic device suitable for the screen projection output control method and apparatus provided in the present application;
fig. 12 is a schematic hardware structure diagram of still another alternative example of an electronic device suitable for the screen projection output control method and apparatus provided in the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. 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 application.
It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings. The embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be understood that "system", "apparatus", "unit" and/or "module" as used in this application is a method for distinguishing different components, elements, parts, portions or assemblies at different levels. However, other words may be substituted by other expressions if they accomplish the same purpose.
As used in this application and the appended claims, the terms "a," "an," "the," and/or "the" are not intended to be inclusive in the singular, but rather are intended to be inclusive in the plural unless the context clearly dictates otherwise. In general, the terms "comprises" and "comprising" merely indicate that steps and elements are included which are explicitly identified, that the steps and elements do not form an exclusive list, and that a method or apparatus may include other steps or elements. An element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
In the description of the embodiments herein, "/" means "or" unless otherwise specified, for example, a/B may mean a or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of the present application, "a plurality" means two or more than two. The terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
Additionally, flowcharts are used herein to illustrate operations performed by systems according to embodiments of the present application. It should be understood that the preceding or following operations are not necessarily performed in the exact order in which they are performed. Rather, the steps may be processed in reverse order or simultaneously. Meanwhile, other operations may be added to or removed from these processes.
For the description of the background art, In a scene that an electronic device such as a mobile phone is used as a screen projection device to an all-In-one computer AIO (all In one), no matter what display mode (such as a horizontal screen mode or a vertical screen mode) the screen projection device is In, the to-be-projected data sent to the all-In-one computer is often In a first streaming media format, such as streaming media data In a similar horizontal screen format (such as a mainstream format of 16: 9), but the screen projection protocols (such as wireless screen projection protocols of Miracast, airlay, and the like) of the electronic device such as the all-In-one computer do not support format conversion processing of the streaming media data, so that the all-In-one computer AIO receiving the to-be-projected data cannot autonomously realize format conversion of the to-be-projected data, that is, automatic horizontal and vertical screen switching and full screen display of the streaming media data cannot be realized, and the screen projection viewing effect and experience of a user are influenced.
For example, referring to a schematic diagram of a wireless screen projection scene shown in fig. 1, if a screen projection device (described in this application by taking a mobile phone as an example) is in a vertical screen mode, wirelessly projecting a screen to an all-in-one AIO electronic device, decoding received data to be projected by using a screen projection protocol of the electronic device, and displaying display content included in processed target screen projection data. As shown in fig. 1, if the screen state of the electronic device is in the landscape mode, the image is displayed on the whole display screen except for a partial area, and black edges appear on two sides of the image, so that the image cannot be displayed in a full screen manner; if the screen state of the electronic equipment is in the vertical screen mode at this moment, the problem of black edges still exists, and displayed images cannot be displayed normally, so that the screen projection and watching requirements of a user are greatly influenced.
In order to solve the above problems, the present application proposes a wireless screen projection application scenario diagram suitable for the screen projection output control method proposed in the present application, as shown in fig. 2, for configuring corresponding decoding rules (i.e. different wireless screen projection protocols) according to different matching detection results between the screen state information of an electronic device (e.g. AIO) and the display mode in which the screen projection device transmits the data to be projected, and the first streaming media format of the data to be projected, so that after receiving the data to be projected, the electronic device can select the corresponding decoding rule to decode the data to be projected according to the obtained matching detection result, thereby ensuring that the display content contained in the target screen projection data obtained by decoding output can be displayed in a full screen, thereby solving the problem that the electronic device such as a computer all-in-one screen projector cannot display the display content in a full screen mode in a vertical screen mode, the display area of the display screen of the electronic equipment is wasted, and the display is not beautiful enough due to the wider black edge.
It should be noted that, regarding implementation of the screen projection output control method and apparatus provided by the present application, reference may be made to the description of the corresponding parts in the following embodiments, which is not described herein again, and for an applicable application scenario, the application scenario is not limited to the wireless screen projection application scenario shown in fig. 2, and detailed descriptions are not given herein.
Based on the above description of the technical concept of the present application, referring to fig. 3, a flowchart of an optional example of a screen projection output control method provided in the present application is shown, where the method may be applied to an electronic device such as the above all-in-one computer AIO, and regarding a composition structure and functions of the electronic device, reference may be made to, but not limited to, the following description of corresponding parts of an embodiment of the electronic device, in this embodiment, how the electronic device implements screen projection output control, and a process of performing a wireless screen projection operation when the screen projection device is in different display modes and displaying a projected display content in a full screen is described, as shown in fig. 3, the method may include, but is not limited to, the following steps:
step S11, acquiring the data to be projected in the first streaming media format and the screen state information of the electronic equipment;
In the embodiment of the application, after the wireless screen projection communication connection between the screen projection equipment such as the mobile phone and the electronic equipment is established, the data to be projected can be determined based on the display content of the screen projection equipment, and the data is sent to the electronic equipment for screen projection display through the wireless screen projection communication channel. It can be seen that the data to be screen-projected may be display content, such as streaming media data such as video, sent by the screen-projecting device in the first display mode, and the content included in the data to be screen-projected is not limited in the present application, and the first display mode may be a horizontal screen mode (that is, a screen of the screen-projecting device is in a horizontal screen state) or a vertical screen mode (that is, a screen of the screen-projecting device is in a vertical screen state, as shown in the figure), which may be determined according to the circumstances.
The first streaming media format may be a cross-screen streaming media format such as a 16:9 mainstream format, and the specific requirements of the first streaming media format are not limited in this application, and may be determined according to the content of the wireless screen-casting protocol supported by the electronic device.
In combination with the description of the corresponding part above, no matter the screen projection device is in the first display mode or the second display mode, the data to be projected that is sent to the electronic device is in the first streaming media format, so, in order to ensure that the electronic device can display the display content of the screen projection in a full screen, the current screen state information of the electronic device needs to be obtained in the present application, so as to determine the display mode of the display screen of the electronic device, and the content included in the screen state information is not limited in the present application.
Step S12, detecting whether the screen status information matches with the first streaming media format and the first display mode, and obtaining the corresponding matching detection result;
through analysis of the screen state information of the electronic device, it can be determined that the display mode of the display screen of the electronic device in the wireless screen projection application is the same as the first display mode of the screen projection device or different from the first display mode of the screen projection device, namely, the display mode is the second display mode. If the first display mode is a horizontal screen mode, the second display mode is a vertical screen mode; if the first display mode is the vertical screen mode, the second display mode is the horizontal screen mode.
As can be seen from the above description of the first streaming media format, the first streaming media format is equivalent to a landscape streaming media format, and in this application, if the electronic device is in the landscape mode, it may be considered that the screen state information of the electronic device matches with the first streaming media format; on the contrary, if the electronic device is in the portrait mode, the electronic device can be considered to have screen status information not matching the first streaming media format,
Based on this, after determining the display mode of the electronic device according to the currently acquired screen state information of the electronic device, the method and the device for detecting the screen projection can detect whether the display mode is the landscape mode or the first display mode of the screen projection device.
The matching detection result obtained through detection can comprise that the screen state information of the electronic equipment is matched with both the first display mode and the first streaming media format; or none are matched; or the screen status information matches the first streaming media format but does not match the first display mode; or the screen status information is not matched with the first streaming media format but is matched with the first display mode, and the like.
Step S13, decoding the data to be projected according to the decoding rule corresponding to the matching detection result to obtain target projection data;
in the transmission process of the streaming media file, in order to reduce the bandwidth occupied by the streaming media file in actual transmission and the space occupied by storage, an encoding and decoding technology is usually used to process the streaming media file, such as encoding the to-be-transmitted streaming media file (such as the to-be-screened data), processing such as image format conversion, image scaling, and packaging format, and transmitting in the form of an obtained network data packet.
Based on the above described encoding and decoding technology of the streaming media file and the above described related description of the technical concept of the present application, the present application may pre-configure corresponding decoding rules for different matching detection results, so that the wireless screen-casting protocol supported by the electronic device of the present application may include multiple types, which correspond to different decoding rules and are not limited to a specific decoding rule.
It should be noted that, the present application does not limit the specific decoding principle content of the multiple decoding rules supported by the electronic device, and may be determined by using, for example, a Software Development Kit (SDK) and/or a hardware device of the electronic device according to the requirements of different application scenarios on the wireless screen projection protocol and a core algorithm capable of meeting the requirements, and the specific content of the multiple decoding rules is not detailed herein one by one.
It can be seen that, after the matching detection result is obtained according to the above manner, the embodiment of the present application may select the decoding rule corresponding to the matching detection result obtained this time according to the preset correspondence between different matching detection results and different decoding rules, and decode the received to-be-projected-screen data to obtain the target screen projection data, but decode the to-be-projected-screen data in a decoding processing manner that is not fixed any more, so that the obtained target screen projection data may be better suitable for the current wireless screen projection application scenario, and better meet the screen projection display requirements of the user. And step S14, controlling the electronic equipment to be in the first display mode, and outputting the target screen projection data to enable the electronic equipment to display the display content of the screen projection equipment in a full screen mode.
In general, the first display mode in which the screen projection device performs wireless screen projection is a display mode in which a user is accustomed to watching or can change display content showing a screen to be projected, and therefore, after the screen projection device sends the screen to be projected to the electronic device, the electronic device can be required to be in the first display mode to show the current display content of the screen projection device in a full screen manner. Therefore, after the target screen projection data are obtained in the above manner, the electronic device can be controlled to be in the first display mode, and the target screen projection data are output, so that the current display content of the screen projection device can be comprehensively displayed.
Specifically, if the electronic device is in the second display mode instead of the first display mode, the electronic device may be controlled to switch to the first display mode first, and then the target screen projection data obtained by decoding is output by the electronic device, for example, as shown in fig. 1, if the mobile phone is in the vertical screen mode and performs wireless screen projection on the all-in-one computer AIO, at this time, the all-in-one computer AIO is in the horizontal screen mode, and black edges may occur, which not only wastes the display screen position, but also is not beautiful, and the all-in-one computer AIO may be controlled to switch to the vertical screen mode at this time, obtaining a matching detection result according to the matching detection mode, decoding the received data to be screen-projected by adopting a corresponding decoding rule again, outputting the obtained target screen-projected data, as shown in fig. 2, the all-in-one computer AIO displays the display content included in the target screen projection data in a full-screen manner, that is, displays the screen display content of the screen projection device in a full-screen manner.
In summary, in the wireless screen-projection application of the screen-projection device to the electronic device such as the all-in-one computer AIO, the electronic device may obtain the display content including the screen-projection device in the first display mode, the data to be screen-projected having the first streaming media format, and the current screen status information of the electronic device, and then may detect whether the screen status information matches the first streaming media format and the first display mode, so as to decode the data to be screen-projected according to the decoding rule corresponding to the obtained matching detection result, and control the electronic device to be in the first display mode, and output the target screen-projection data obtained by decoding, so as to ensure that the electronic device can display the display content of the screen-projection device in a full screen, achieve full utilization of the display resources of the electronic device, and avoid the periphery of the display content of the screen-projection of the electronic device being a black screen, the wireless screen projection display effect is improved.
Referring to fig. 4, a schematic flow chart of another optional example of the screen projection output control method proposed in the present application, this embodiment may be an optional detailed implementation of the screen projection output control method described in the foregoing embodiment, but is not limited to such a detailed implementation described in this embodiment, and as shown in fig. 4, the method may include:
Step S21, acquiring data to be projected in a first streaming media format;
the data to be projected is display content sent by the projection device in the first display mode, and details of the content contained in the data to be projected and a transmission process of the content are not described in detail in the application.
Step S22, acquiring attitude parameters sensed by an attitude sensor of the electronic equipment;
step S23, obtaining the screen state information of the electronic device according to the variation trend of the attitude parameter;
in the embodiment of the application, various attitude sensors of the electronic device itself, such as a gyroscope, an acceleration sensor, a gravity sensor, and the like, may be utilized, and in a process of a change in a motion attitude of the electronic device, attitude parameters sensed by the attitude sensors may also be changed correspondingly, and the processor may determine screen state information of the electronic device according to a change trend of the attitude parameters, which is not described in detail in the present application.
Step S24, detecting whether the screen status information matches the first streaming media format and the first display mode, and determining that the screen status information matches the first display mode but does not match the first streaming media format;
step S25, decoding the data to be projected according to a first decoding rule to obtain target projection data in a second streaming media format;
And step S26, outputting target screen projection data in the second streaming media format to enable the electronic equipment to display the display content of the screen projection equipment in a full screen mode.
For the specific detection process in step S24, reference may be made to the description of the corresponding parts in the foregoing embodiments, which are not described herein again. It can be understood that, in practical applications, the execution sequence of the two detection processes, whether the screen state information of the electronic device is matched with the first streaming media format or not, and whether the screen state information of the electronic device is matched with the first display mode or not, is not limited in the present application, and may be executed simultaneously or sequentially, depending on the situation.
In combination with the above description of the first streaming media format, if the screen state information of the electronic device is not matched with the first streaming media format, it may be stated that the electronic device is currently in the vertical screen mode, and meanwhile, if the screen state information of the electronic device is matched with the first display mode in which the screen projection device is located, the first display mode may be considered as the vertical screen mode, referring to the wireless screen projection application scenario shown in fig. 2, in order to overcome the technical problem that the traditional all-in-one computer AIO cannot display the screen projection display content in the full screen mode in the vertical screen mode, the present application provides a new decoding rule, which is denoted as the first decoding rule, and the first decoding rule decodes the screen projection data to be displayed, for example, according to the information such as the attribute requirement content of the display image and the encoding parameters of the screen projection data when the screen of the electronic device is in the full screen display state in the vertical screen mode, determining a new decoding parameter for the data to be screen-projected, and not adopting a decoding parameter matched with the encoding parameter, and decoding the data to be screen-projected by using the new decoding parameter, such as decoding processing of network data packet decompression, image scaling, image format conversion and the like, so as to obtain target screen-projected data with a second streaming media format, which enables the electronic device to display the target screen-projected data in a full screen mode in a vertical screen mode, wherein details of a specific decoding implementation process of the data to be screen-projected by using the second decoding rule are not described in the application.
In contrast to the first streaming media format described above, the second streaming media format may refer to a vertical screen streaming media format, such as a 9:16 streaming media format, that is, a streaming media format that supports full-screen output streaming media data of the electronic device in the vertical screen mode.
It should be noted that, in the present application, the data to be screen-projected in the first streaming media format is decoded according to the first decoding rule, and although the streaming media format of the streaming media file is changed, the obtained target screen-projected data does not cause loss in terms of resolution and the like with respect to the data to be screen-projected, and the accuracy and reliability of the displayed content of the screen-projected device can be ensured.
To sum up, in this embodiment, when the electronic device is in the vertical screen mode, the electronic device receives the to-be-projected-screen data in the first streaming media format sent by the screen projecting device, and the electronic device decodes the to-be-projected-screen data by using the first decoding rule to obtain the target screen projecting data in the second streaming media format, so that the electronic device outputs the target screen projecting data in the second streaming media format in the vertical screen mode, thereby implementing full-screen display of the display content of the screen projecting device, avoiding the occurrence of the situation that the display content of the screen projecting device displayed in the current AIO vertical screen mode is displayed only in the middle of the screen, so that the two sides of the display content leave wide black edges, the display screen position is wasted, and the display resource utilization rate of the AIO screen in the vertical screen mode is increased, and the wireless screen projecting effect is improved.
Referring to fig. 5, which is a schematic flow diagram of yet another optional example of the screen projection output control method provided in the present application, this embodiment may be a further optional detailed implementation manner of the screen projection output control method described in the foregoing embodiment, and specifically describes a specific implementation process of the screen projection output control method in a further optional wireless screen projection application scenario different from the foregoing detailed implementation manner, as shown in fig. 5, the method may include:
step S31, acquiring data to be projected in a first streaming media format and screen state information of the electronic equipment;
the data to be projected is display content sent by the projection device in the first display mode, and specific data content is not limited and can be determined according to circumstances.
Step S32, detecting whether the screen status information matches the first streaming media format and the first display mode, and determining that the screen status information does not match the first display mode but matches the first streaming media format;
for specific implementation processes of step S31 and step S32, reference may be made to the description of corresponding parts in the foregoing embodiments, which are not described in detail in this embodiment.
Step S33, decoding the data to be projected according to a first decoding rule to obtain target screen projection data in a second streaming media format;
And step S34, controlling the electronic equipment to switch from the second display mode to the first display mode, and outputting target screen projection data with a second streaming media format, so that the electronic equipment can display the display content of the screen projection equipment in a full screen manner.
In combination with the above description about the first streaming media format, if the screen status information of the electronic device matches with the first streaming media format, it may be indicated that the electronic device is currently in the landscape mode, and meanwhile, if the screen status information of the electronic device does not match with the first display mode in which the screen projection device is located, it may be considered that the first display mode is the portrait mode. Based on this, as an example, referring to a schematic diagram of another optional wireless screen projection application scenario shown in fig. 6 and applicable to the screen projection output control method provided by the present application, after the screen projection device is in the vertical screen mode and establishes wireless screen projection connection with the electronic device in the horizontal screen mode, display content of the screen projection device is sent to the electronic device as screen data to be projected for screen projection display, at this time, the screen data to be projected is decoded according to a default second decoding rule, after the electronic device outputs the obtained target screen projection data, a screen display state of the electronic device is as shown in a first layer of drawing in fig. 6, a display area in the middle of the electronic device displays the display content of the screen projection device, and both sides of the display content may have wider black edges, which is not only aesthetically pleasing and wastes display resources of the electronic device.
Under the condition, the display mode of the electronic equipment is adjusted to be switched to the first display mode from the second display mode where the electronic equipment is located at present, namely, the electronic equipment and the screen projection equipment are controlled to be in the same display mode, meanwhile, a second decoding rule different from the default is selected, namely, the first decoding rule is adopted to decode the received data to be projected on the screen again, and then the electronic equipment outputs the target screen projection data obtained through decoding processing.
By combining the two application scenarios of the matching detection results described above, in the practical application of the present application, under the condition that the matching detection result is that the screen state information matches the first display mode but does not match the first streaming media format, or under the condition that the screen state information does not match the first display mode but matches the first streaming media format, the screen data to be projected can be decoded according to the first decoding rule, so as to obtain the target screen data having the second streaming media format; however, in the former case, the electronic device may directly output the obtained target screen projection data with the second streaming media format, and in the latter case, the electronic device may also need to control the second display mode of the electronic device to be switched to the first display mode on the basis of the target screen projection data with the second streaming media format to output the obtained target screen projection data with the second streaming media format.
It should be noted that, the present application does not limit how to control the electronic device to switch between the first display mode and the second display mode, the screen display mode of the electronic device may be manually adjusted by a user, or a screen state switching instruction may be generated under the condition that it is detected that the screen state information does not match the first display mode in which the screen projection device is located, and the electronic device is automatically controlled to switch from the second display mode to the first display mode and the like by responding to the screen state switching instruction.
Therefore, in the embodiment of the application, after the electronic device is in the horizontal screen mode and receives the data to be projected sent by the screen projecting device in the vertical screen mode, because the screen display modes of the two are different, according to the wireless screen projecting use habit and the display content of the screen projecting device, the application can control the electronic device to switch from the horizontal screen mode to the vertical screen mode according to the data to be projected, but because the data to be projected received by the electronic device is in a first streaming media format, the data cannot be directly displayed in a full screen mode after being decoded according to a default second decoding rule, for this reason, the application selects to adopt another new decoding rule configured in advance, namely the first decoding rule to re-decode the received data to be projected, and then the electronic device in the vertical screen mode outputs the target screen projecting data with the second streaming media format, so that the wireless screen projecting effect that the electronic device comprehensively displays the display content of the screen projecting device is achieved, the high utilization rate of display resources of the electronic equipment is greatly guaranteed, and the requirements of users on wireless screen projection full-screen display under different application scenes are met.
Referring to fig. 7, which is a schematic flow diagram of another optional example of the screen projection output control method provided in the present application, this embodiment may be another optional detailed implementation manner of the screen projection output control method described in the foregoing embodiment, and specifically describes a specific implementation process of the screen projection output control method in another optional wireless screen projection application scenario different from the foregoing detailed implementation manners, as shown in fig. 7, the method may include:
step S41, acquiring data to be projected in a first streaming media format and screen state information of the electronic equipment;
the data to be projected is display content sent by the projection device in the first display mode, and specific data content is not limited and can be determined according to circumstances.
Step S42, detecting whether the screen state information matches with the first stream media format and the first display mode, and determining that the screen state information does not match with the first stream media format and the first display mode;
for specific implementation processes of step S41 and step S42, reference may be made to the description of corresponding parts in the foregoing embodiments, which are not described in detail in this embodiment.
Step S43, decoding the data to be projected according to a second decoding rule to obtain target screen projection data with a first streaming media format;
And step S44, controlling the electronic equipment to switch from the second display mode to the first display mode, and outputting the target screen projection data with the first streaming media format, so that the electronic equipment can display the display content of the screen projection equipment in a full screen manner.
In combination with the above description of the first streaming media format, if the screen state information of the electronic device is not matched with the first streaming media format, it may be stated that the electronic device is currently in the vertical screen mode, and meanwhile, if the screen state information of the electronic device is not matched with the first display mode in which the screen projection device is located, the first display mode may be considered as the horizontal screen mode. Based on this, for example, referring to a schematic diagram of another optional wireless screen projection application scenario applicable to the screen projection output control method provided by the present application, shown in fig. 8, after the screen projection device is in the horizontal screen mode and establishes wireless screen projection connection with the electronic device in the vertical screen mode, the display content of the screen projection device is sent to the electronic device as the screen data to be projected for screen projection display, the screen data to be projected is decoded and displayed according to a default second decoding rule, and the electronic device may have a black edge problem as shown in the first layer drawing of fig. 8. In this case, the embodiment of the application may control the electronic device to switch from the second display mode (which represents the vertical screen mode in this scenario) to the first display mode (which represents the horizontal screen mode in this scenario), so that the electronic device outputs the display content of the screen projection device in a full-screen display manner shown in the second-layer drawing of fig. 8.
In practical application of this embodiment, for a streaming media file to be transmitted by a screen-casting device, the streaming media file may be encoded according to a default encoding rule of a wireless screen-casting protocol to obtain to-be-cast screen data with reduced occupied bandwidth resources, and the to-be-cast screen data is sent to an electronic device, after receiving the to-be-cast screen data, the electronic device may perform detection in the manner described above to determine to decode the to-be-cast screen data directly according to a second decoding rule matching the encoding rule, recover the original streaming media file (i.e., retain the original first streaming media format) and output, whether the electronic device in the current display mode can display in a full screen or not, if the electronic device cannot display in the full screen, decode the received to-be-cast screen data according to the first decoding rule, retain the content of the original streaming media file and change the streaming media format to the second streaming media format, so that the electronic device outputs target screen-casting data with the second streaming media format, the content of the streaming media file contained in the target screen projection data can be displayed in a full screen mode, namely the display content of the screen projection equipment is displayed in the full screen mode.
In short, when the electronic device and the screen projection device are both in the horizontal screen mode, the second decoding rule is directly utilized to decode the data to be projected, the streaming media format of the data to be projected does not need to be changed, the electronic device directly outputs the obtained target screen projection data in the first streaming media format, namely, the restored original streaming media file, and the display content of the screen projection device can be displayed in a full screen mode; if the electronic equipment is in the vertical screen mode for screen projection display, decoding the data to be projected by utilizing a first decoding rule, and changing the streaming media format of the data to be projected so that the obtained target screen projection data with the second streaming media format can meet the full screen display requirement of the electronic equipment in the vertical screen mode.
In another possible implementation manner provided by the present application, in a case that the matching detection result indicates that the screen state information is not matched with both the first streaming media format and the first display mode, the present application may also choose not to adjust the display mode of the electronic device to be in the second display mode, but in this case, the target screen projection data in the second streaming media format needs to be decoded according to the first decoding rule to obtain target screen projection data, and then the electronic device in the second display mode outputs the target screen projection data, so that the purpose of displaying the display content of the screen projection device in a full screen manner can also be achieved, which may be determined according to the requirements of a specific wireless screen projection application scenario, which is not limited by the present application.
Therefore, under the scene that the screen projection equipment performs wireless screen projection on the electronic equipment, and under the condition that the screen state information of the electronic equipment is determined to be unmatched with the first streaming media format and the first display mode, the second display mode where the electronic equipment is located can be controlled to be switched to the first display mode, the purpose of wireless screen projection of the display content of the screen projection equipment is achieved through full screen display, the utilization rate of the display resource of the electronic equipment is improved, and the display effect of the wireless screen projection is guaranteed.
In still other embodiments provided by the application, according to the matching detection manner, if it is determined that the screen state information of the electronic device matches both the first streaming media format and the first display mode in which the screen projection device is located, that is, both the electronic device and the screen projection device are in the horizontal screen mode, in this case, the electronic device decodes the screen projection data to be projected by using a default second decoding rule, and directly outputs the obtained target screen projection data in the first streaming media format, so that full-screen display of the display content of the screen projection device can be achieved, and occurrence of a situation that the electronic device has a black edge is avoided.
As can be seen, in the application scenario embodiment in which the matching detection result is that the screen state information matches both the first streaming media format and the first display mode, on the basis of this embodiment, after the display mode in which the electronic device is currently located is controlled to be switched from the second display mode to the first display mode, the target screen projection data with the first streaming media format obtained this time is output according to the above manner, so that full-screen display of the display content of the screen projection device is achieved.
It should be noted that, in the practical application of the wireless screen projection, the matching detection result obtained in the above manner may change along with the transition of the horizontal screen and the vertical screen represented by the first display mode of the screen projection device, in this case, the electronic device may select the corresponding decoding rule to perform decoding processing on the received data to be screen projected by referring to the scene of the changed matching detection result described in the foregoing embodiments, and may even adjust the display mode of the electronic device itself, so as to ensure that the electronic device can display the display content of the screen projection device in a full screen, and the specific implementation process may refer to the description of the corresponding part of the foregoing embodiments. Therefore, with the change of the application of the wireless screen projection, the screen projection output control of the electronic equipment can be realized by combining one or more embodiments, namely, the automatic switching of horizontal and vertical screens is realized, and the display content of the screen projection equipment can be displayed in a full screen mode under which display mode the electronic equipment is in.
Based on the screen projection output control method described in the foregoing embodiments, it should be noted that, in the wireless screen projection application scenarios that the electronic device can implement in the power-off state, the screen projection output control method implemented by the electronic device needs to be described, when the electronic equipment is in a shutdown state, in order to ensure that the electronic equipment can realize wireless screen projection, a standby power supply is configured in advance, which is different from a main power supply for supplying power to each electronic element of the electronic equipment under the normal working condition of the electronic equipment, the standby power supply can supply power for each electronic element of the electronic equipment for realizing the screen projection output control method, particularly, when the electronic equipment is detected to be in a shutdown state, the standby power supply of the electronic device can be controlled to enter a power supply state, for example, the standby power supply is switched to work from the main power supply, the specific switching implementation process and the working principle of the standby power supply are not limited in the application.
Based on this, for each of the above embodiments, the process of the electronic device acquiring the data to be projected in the first streaming media format may be: and acquiring the data to be projected in the first streaming media format when the electronic equipment is in an intelligent standby state or a power-off state. It can be understood that the power consumption of the electronic device in the intelligent standby state is lower than the power consumption of the electronic device in the power-on operation state.
It can be seen that, in the embodiment of the present application, in order to reduce power consumption consumed in a wireless screen projection application scenario, after an electronic device is controlled to be powered off or enter an intelligent standby state, a screen projection device is controlled to establish a wireless screen projection channel with the electronic device, and according to, but not limited to, the screen projection output control method described in the foregoing embodiments, control over the electronic device is implemented, so that it is ensured that display contents of the screen projection device can be displayed in a full screen mode when the electronic device is in various display modes, a black edge problem in a screen projection process is avoided, and a utilization rate of display resources of the electronic device is improved.
The projection output control scheme proposed by the present application will be described below from the perspective of a virtual device, but is not limited to several projection output control device embodiments described below in the present application, specifically:
Referring to fig. 8, a schematic diagram of an alternative example of a projection screen output control apparatus provided in the present application, which may be applied to electronic devices such as an AIO, as shown in fig. 8, may include:
the data acquisition module 11 is configured to acquire data to be projected in a first streaming media format and screen state information of the electronic device;
the data to be projected is display content sent by the projection equipment in the first display mode.
In one possible implementation, the screen projection output control device may further include:
the power supply control module is used for controlling a standby power supply of the electronic equipment to enter a power supply state when the electronic equipment is in a shutdown state;
accordingly, the data acquisition module 11 may include:
the screen data to be projected acquiring unit is used for acquiring screen data to be projected in a first streaming media format when the electronic equipment is in an intelligent standby state or the shutdown state; wherein the power consumption of the electronic device in the intelligent standby state is lower than the power consumption of the electronic device in the startup running state;
and the screen state information acquisition unit is used for acquiring the screen state information of the electronic equipment.
A detecting module 12, configured to detect whether the screen status information matches the first streaming media format and the first display mode, so as to obtain a corresponding matching detection result;
the decoding processing module 13 is configured to decode the data to be screen projected according to a decoding rule corresponding to the matching detection result to obtain target screen projection data;
and the screen projection output module 14 is configured to control the electronic device to be in the first display mode, and output the target screen projection data, so that the electronic device can display the display content in a full screen.
In some embodiments of the present application, if the matching detection result obtained by the detection module 12 is that the screen state information matches the first display mode but does not match the first streaming media format, the decoding processing module 13 may include:
the first decoding unit is used for decoding the data to be projected according to a first decoding rule to obtain target screen projection data in a second streaming media format;
accordingly, the screen projection output module 14 may include:
and the first screen projection output unit is used for outputting the target screen projection data in the second streaming media format.
In still other embodiments, if the matching detection result obtained by the detection module 12 is that the screen state information does not match the first display mode but matches the first streaming media format, the decoding processing module 13 may specifically be the first decoding unit, but at this time, the screen projection output module 14 may include:
and the first switching control unit is used for controlling the electronic equipment to switch from a second display mode to the first display mode so as to trigger the first screen projection output unit to output the target screen projection data in the second streaming media format.
In still other embodiments, if the matching detection result obtained by the detection module 12 is that the screen state information matches both the first streaming media format and the first display mode, the decoding processing module 13 may further include:
the second decoding unit is used for decoding the data to be projected according to a second decoding rule to obtain target screen projection data with the first streaming media format;
accordingly, the screen projection output module 14 may further include:
and the second screen projection output unit is used for outputting the target screen projection data with the first streaming media format.
In still other embodiments, the matching detection result obtained by the detection module 12 is that the screen state information is not matched with the first streaming media format and the first display mode, and the decoding processing module 13 may be the second decoding unit, but at this time, the screen projection output module 14 may include:
And the second switching control unit is used for controlling the electronic equipment to switch from a second display mode to the first display mode so as to trigger the second screen projection output unit to output the target screen projection data in the first streaming media format.
In the projection output control apparatus described based on the above embodiments, the data obtaining module 11 may include:
the attitude parameter acquisition unit is used for acquiring attitude parameters sensed by an attitude sensor of the electronic equipment;
the screen state information obtaining unit is used for obtaining the screen state information of the electronic equipment according to the change trend of the attitude parameters;
accordingly, the screen projection output module 14 may further include:
the screen state switching control unit is used for responding to a screen state switching instruction, controlling the electronic equipment to switch from a second display mode to the first display mode, and the screen state switching instruction is generated under the condition that the screen state information is not matched with the first display mode.
And the third screen projection output unit is used for outputting the target screen projection data so that the electronic equipment can display the display content in a full screen mode.
It should be noted that, various modules, units, and the like in the embodiments of the foregoing apparatuses may be stored in the memory as program modules, and the processor executes the program modules stored in the memory to implement corresponding functions, and for the functions implemented by the program modules and their combinations and the achieved technical effects, reference may be made to the description of corresponding parts in the embodiments of the foregoing methods, which is not described in detail in this embodiment.
The present application further provides a storage medium, on which a computer program may be stored, where the computer program may be called and loaded by a processor to implement each step of the screen projection output control method described in the foregoing embodiments, and details of the embodiments of the present application are not described herein.
Referring to fig. 10, a schematic diagram of a hardware structure of an alternative example of an electronic device suitable for the screen projection output control method and apparatus provided in the present application is shown, where the electronic device may be a terminal such as a kiosk AIO, but is not limited to this, and the situation may be determined. As shown in fig. 10, the electronic device may include: communication device 21, display device 22, attitude sensor 23, storage device 24, and processing device 25, wherein:
the communication device 21 may include a GSM module, a WIFI module, a GPRS module, or a communication module of another wireless communication network/wired communication network, and may implement data interaction between the electronic device and another device. In addition, according to actual needs, the communication module 21 may further include interfaces such as a USB interface and a serial/parallel interface, which are used to implement data interaction between internal components of the electronic device, and may be determined according to a product type of the electronic device.
The display device 22 may include a touch sensing unit, a display, etc. for sensing a touch event on the touch display panel, and is used to display the content of the electronic device itself, or display the content of the projection device in a wireless projection scene, etc., and the application does not describe the type of the display device 22 and the working principle of the display content in detail.
Attitude sensor 23 can be used for responding to the attitude parameter of electronic equipment to according to the trend of change of this attitude parameter, obtain electronic equipment's screen state information, in practical application, this attitude sensor 23 can include like various sensors such as gyroscope, gravity sensor, acceleration sensor, so that after electronic equipment gesture changes, can in time and accurately learn electronic equipment's screen state according to its attitude parameter of sensing, concrete realization process this application does not detail.
The storage device 24 may be used to store programs implementing the screen projection output control methods described in the above method embodiments; the processing device 25 may be configured to load and execute the program stored in the storage device 24, so as to implement each step of the screen projection output control method described in the corresponding method embodiment, and the specific implementation process is not described in detail.
In some embodiments, the storage device 24 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device or other volatile solid state storage device. The respective constituent structures and functions of the storage device 24 and the processing device 25 are not described in detail in the present application, and may be determined as appropriate.
In some embodiments proposed in the present application, as shown in fig. 11, the communication device 21 may include:
the screen projection connecting unit 211 realizes wireless screen projection communication connection between the communication device and the processing device, and specifically realizes transmission of screen projection data to a target in a wireless screen projection application scene, and detailed description is not made on the specific composition structure of the screen projection connecting unit 211 in the application.
The communication unit 212 is configured to receive to-be-projected-screen data in a first streaming media format, where the to-be-projected-screen data is sent by the screen projecting device, and is display content sent by the screen projecting device in the first display mode.
In conjunction with the above analysis, the communication unit 212 may include, but is not limited to, the above listed communication modules and communication interfaces, and the content thereof may be determined according to circumstances, and this application is not listed here. It can be understood that the communication unit 212 can also receive target screen projection data, which is sent by the screen projection connection unit 211 and obtained after the decoding processing by the processing device, so as to send the target screen projection data to the corresponding display control unit for screen display. In this case, the communication unit 212 may include, for example, one or more HDMI interfaces (High Definition Multimedia Interface ), but is not limited to such a communication Interface, and may be determined according to the communication requirement of the electronic device, and the embodiments of the present application are not limited to this.
In a corresponding pair, as shown in fig. 11, the processing device 25 may include:
the first processor 251 is configured to acquire to-be-projected-screen data in a first streaming media format, obtain a corresponding matching detection result if the screen state information matches the first streaming media format and the first display mode, decode the to-be-projected-screen data according to a decoding rule corresponding to the matching detection result to obtain target projected-screen data, and send the target projected-screen data to the projected-screen connection unit;
the display controller 252 is configured to send the target screen projection data sent by the screen projection connection unit to the display device for outputting, so that the display device can output the display content in a full screen.
In the embodiment of the present application, the first processor 251 may be a Central Processing Unit (CPU), an application-specific integrated circuit (ASIC), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic devices; the display controller 252 may include an EC (embedded controller), a Scalar, and the like, and may specifically be determined according to a display operation control requirement of the electronic device, and this application does not describe in detail the specific device categories and functions of the first processor 251 and the display controller 252, and refer to, but are not limited to, the description of the corresponding parts in the foregoing embodiments.
In some embodiments provided in the present application, in a case that the communication unit 212 of the electronic device includes a plurality of HDMI input interfaces, one of the HDMI input interfaces may be selected to implement transmission of wireless screen projection data, and the other HDMI input interfaces may also receive other multimedia data, so that the electronic device can normally output the multimedia data in a non-wireless screen projection mode, thereby meeting a normal use requirement of a user on the electronic device, and a specific implementation process of the present application is not described in detail.
In some embodiments provided in the present application, the electronic device may implement the screen projection output control method described in the foregoing method embodiment in a shutdown state or an intelligent standby state, in this case, as shown in fig. 11, a standby power supply may perform functions for the devices such as the processing device 25, the storage device 24, the display device 22, and the communication device 21, so as to ensure that the electronic device can implement the screen projection output control method described in the foregoing method embodiment.
In practical application of the method, the electronic device can enter a screen projection mode, and the screen projection output control method described in the method embodiment is executed, so that the wireless screen projection requirement of the screen projection device is met; as shown in fig. 12, the display selection unit may respond to a switching instruction of the working mode of the display device, and control the display device (e.g., the display screen of fig. 12) to switch between the screen projecting working mode and the non-screen projecting working mode, where the switching instruction may be generated by the processing device in response to a switching operation of the working mode of the electronic device, and a specific control process is not limited.
Optionally, the user may send, to the EC, the switching instruction for implementing the operation mode switching operation of the electronic device by operating a corresponding function key in the electronic device; the switching instruction may also be generated when a wireless screen-projection connection request sent by the screen projection device is detected, and the specific generation manner of the switching instruction is not limited in the present application and may be determined according to the circumstances.
When the electronic device is in a non-screen projection mode, a first operating system, such as an OS operating system, can be selectively connected; the method for controlling the screen projection output of the electronic device comprises the steps that when the controller enters a voting mode, the first operating system can be selected to be disconnected, in this case, the electronic device may not be capable of executing basic functions of the electronic device, the screen projection output control method provided by the embodiment of the application can be used for meeting the requirements of the screen projection device for full-screen wireless screen projection, and the specific implementation process is not described in detail.
In addition, it should be noted that, when the electronic device is in a normal operation state when being turned on, if the screen projection device initiates a wireless screen projection connection request to the electronic device, the EC of the electronic device may control the screen selection unit to disconnect from the display unit of the electronic device itself, and control the display screen of the electronic device to no longer display the content of the electronic device itself, but control the screen selection unit to connect to a communication interface supporting HDMI in of the wireless screen projection, so that the target screen projection data sent by the first processor through the screen projection connection unit is transmitted to the display screen, thereby implementing display of the display content of the screen projection device, and the specific control process is not described in detail in this application.
It should be understood that the structure of the electronic device shown in fig. 10, 11 and 12 does not limit the electronic device in the embodiment of the present application, and in practical applications, the electronic device may include more or less components than those shown in fig. 10, 11 and 12, or may combine some components, such as at least one output device, such as a speaker, a vibration mechanism, a lamp, etc.; at least one input device such as a keyboard, a mouse, a camera, a sound pickup, etc., a power management module, etc., which are not listed herein.
Finally, it should be noted that, in the present specification, the embodiments are described in a progressive or parallel manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. The device and the electronic equipment disclosed by the embodiment correspond to the method disclosed by the embodiment, so that the description is relatively simple, and the relevant points can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A screen projection output control method, the method comprising:
acquiring to-be-projected screen data in a first streaming media format and screen state information of electronic equipment, wherein the to-be-projected screen data is display content sent by the projection equipment in a first display mode;
Detecting whether the screen state information is matched with the first streaming media format and the first display mode or not to obtain a corresponding matching detection result;
decoding the data to be screen projected according to a decoding rule corresponding to the matching detection result to obtain target screen projection data;
and controlling the electronic equipment to be in the first display mode, and outputting the target screen projection data so that the electronic equipment can display the display content in a full screen mode.
2. The method of claim 1, wherein if the matching detection result indicates that the screen state information matches the first display mode but does not match the first streaming media format, the decoding processing is performed on the data to be projected according to a decoding rule corresponding to the matching detection result to obtain target screen projection data, including:
decoding the data to be projected according to a first decoding rule to obtain target screen projection data in a second streaming media format;
the controlling the electronic device to be in the first display mode, outputting the target screen projection data, including:
outputting the target screen projection data with the second streaming media format.
3. The method according to claim 2, wherein if the matching detection result is that the screen status information is not matched with the first display mode but is matched with the first streaming media format, the step of decoding the data to be projected according to the first decoding rule to obtain target projected screen data in a second streaming media format is executed;
the controlling the electronic device to be in the first display mode, outputting the target screen projection data, and further comprising:
controlling the electronic equipment to switch from a second display mode to the first display mode.
4. The method according to claim 2 or 3, wherein if the matching detection result indicates that the screen status information matches both the first streaming media format and the first display mode, the decoding processing is performed on the data to be screen-projected according to a decoding rule corresponding to the matching detection result to obtain target screen-projected data, and the method further comprises:
decoding the data to be projected according to a second decoding rule to obtain target screen projection data in the first streaming media format;
the controlling the electronic device to be in the first display mode, and outputting the target screen projection data, including:
Outputting the target screen projection data in the first streaming media format.
5. The method according to claim 4, wherein if the matching detection result indicates that the screen state information is not matched with the first streaming media format and the first display mode, the step of decoding the data to be projected according to the second decoding rule is executed to obtain target screen projection data with the first streaming media format;
the controlling the electronic device to be in the first display mode, outputting the target screen projection data, and further comprising:
controlling the electronic equipment to switch from a second display mode to the first display mode.
6. The method according to any one of claims 1 to 3, wherein the acquiring screen state information of the electronic device comprises:
acquiring attitude parameters sensed by an attitude sensor of the electronic equipment;
obtaining screen state information of the electronic equipment according to the change trend of the attitude parameters;
the controlling the electronic device in the first display mode includes:
and controlling the electronic equipment to switch from a second display mode to the first display mode in response to a screen state switching instruction, wherein the screen state switching instruction is generated under the condition that the screen state information does not match with the first display mode.
7. The method of any of claims 1-3, further comprising:
controlling a standby power supply of the electronic equipment to enter a power supply state when the electronic equipment is in a shutdown state;
the acquiring of the data to be projected in the first streaming media format comprises:
when the electronic equipment is in an intelligent standby state or the shutdown state, acquiring to-be-projected-screen data in a first streaming media format; and the power consumption of the electronic equipment in the intelligent standby state is lower than that in the starting operation state.
8. A screen projection output control apparatus, the apparatus comprising:
the data acquisition module is used for acquiring to-be-projected screen data in a first streaming media format and screen state information of the electronic equipment, wherein the to-be-projected screen data is display content sent by the projection equipment in a first display mode;
the detection module is used for detecting whether the screen state information is matched with the first streaming media format and the first display mode or not to obtain a corresponding matching detection result;
the decoding processing module is used for decoding the data to be screen projected according to the decoding rule corresponding to the matching detection result to obtain target screen projection data;
And the screen projection output module is used for controlling the electronic equipment to be in the first display mode and outputting the target screen projection data so that the electronic equipment can display the display content in a full screen mode.
9. An electronic device, the electronic device comprising:
a communication device; a display device; an attitude sensor;
a storage device for storing a program for implementing the screen projection output control method according to any one of claims 1 to 7;
a processing device for loading and executing the program stored in the storage device to realize the screen projection output control method according to any one of claims 1 to 7.
10. The electronic device of claim 9, the communication means comprising:
a screen projection connecting unit;
the device comprises a communication unit, a display unit and a display unit, wherein the communication unit is used for receiving to-be-projected screen data with a first streaming media format, which is sent by a screen projection device, and the to-be-projected screen data is display content sent by the screen projection device in a first display mode;
the processing device comprises:
the first processor is used for acquiring to-be-projected-screen data with a first streaming media format, detecting whether the screen state information is matched with the first streaming media format and the first display mode to obtain a corresponding matching detection result, decoding the to-be-projected-screen data according to a decoding rule corresponding to the matching detection result to obtain target projected-screen data, and sending the target projected-screen data to the projected-screen connection unit;
And the display controller is used for sending the target screen projection data sent by the screen projection connecting unit to the display device for outputting so that the display device can output the display content in a full screen mode.
CN202011463562.1A 2020-12-11 2020-12-11 Screen projection output control method and device and electronic equipment Active CN112579030B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011463562.1A CN112579030B (en) 2020-12-11 2020-12-11 Screen projection output control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011463562.1A CN112579030B (en) 2020-12-11 2020-12-11 Screen projection output control method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112579030A CN112579030A (en) 2021-03-30
CN112579030B true CN112579030B (en) 2022-06-28

Family

ID=75131849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011463562.1A Active CN112579030B (en) 2020-12-11 2020-12-11 Screen projection output control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112579030B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113206964B (en) * 2021-04-29 2022-07-26 深圳康佳电子科技有限公司 Screen projection data display processing method and device, terminal equipment and storage medium
CN113407142A (en) * 2021-07-13 2021-09-17 海信视像科技股份有限公司 Display device and screen projection method
CN115499695B (en) * 2022-08-16 2024-01-16 珠海全志科技股份有限公司 Smart television control method, smart television control device, advertising machine and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110740363A (en) * 2019-10-25 2020-01-31 华为终端有限公司 Screen projection method and system and electronic equipment
CN111290725A (en) * 2020-03-13 2020-06-16 深圳市腾讯信息技术有限公司 Screen projection method, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9865125B2 (en) * 2010-11-15 2018-01-09 Bally Gaming, Inc. System and method for augmented reality gaming
CN110471639B (en) * 2019-07-23 2022-10-18 华为技术有限公司 Display method and related device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110740363A (en) * 2019-10-25 2020-01-31 华为终端有限公司 Screen projection method and system and electronic equipment
CN111290725A (en) * 2020-03-13 2020-06-16 深圳市腾讯信息技术有限公司 Screen projection method, equipment and storage medium

Also Published As

Publication number Publication date
CN112579030A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN112579030B (en) Screen projection output control method and device and electronic equipment
US11856322B2 (en) Display apparatus for image processing and image processing method
CN112367543B (en) Display device, mobile terminal, screen projection method and screen projection system
US10606544B2 (en) Display apparatus and method for controlling of display apparatus
KR20130050984A (en) Intelligent remote control system
WO2021031629A1 (en) Display apparatus, and multi-function button application method for control device
CN112153447B (en) Display device and sound and picture synchronous control method
CN110708581B (en) Display device and method for presenting multimedia screen saver information
CN112073798B (en) Data transmission method and equipment
US11917329B2 (en) Display device and video communication data processing method
CN112399232A (en) Display equipment, camera priority use control method and device
KR20150051776A (en) Display apparatus and method for controlling of display apparatus
CN111885665B (en) Wireless network connection control method and display device
CN111385631B (en) Display device, communication method and storage medium
WO2021031598A1 (en) Self-adaptive adjustment method for video chat window position, and display device
CN112463267B (en) Method for presenting screen saver information on display device screen and display device
CN112995733B (en) Display device, device discovery method and storage medium
CN112073759B (en) Method and device for selecting and scheduling communication modes between two systems and display equipment
CN113556500B (en) Video overlapping method, device and system
WO2020248790A1 (en) Voice control method and display device
CN112073356B (en) Data transmission method and display device
CN113453069A (en) Display device and thumbnail generation method
CN112073812A (en) Application management method on smart television and display device
CN112073811B (en) File transmission scheduling method and display device
US20220198991A1 (en) Display apparatus and display method for display apparatus with rotatable display

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant