CN112114765A - Screen projection method and device and storage medium - Google Patents

Screen projection method and device and storage medium Download PDF

Info

Publication number
CN112114765A
CN112114765A CN202011035733.0A CN202011035733A CN112114765A CN 112114765 A CN112114765 A CN 112114765A CN 202011035733 A CN202011035733 A CN 202011035733A CN 112114765 A CN112114765 A CN 112114765A
Authority
CN
China
Prior art keywords
screen
display
screen projection
picture
parameters
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011035733.0A
Other languages
Chinese (zh)
Inventor
刘立军
常群
聂伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011035733.0A priority Critical patent/CN112114765A/en
Publication of CN112114765A publication Critical patent/CN112114765A/en
Pending legal-status Critical Current

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
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Abstract

The disclosure relates to a screen projection method, a screen projection device and a storage medium. The screen projection method is applied to a mobile terminal comprising a display screen, and comprises the following steps: sending request information to screen projection equipment based on the detected screen projection instruction; receiving screen parameters returned by the screen projection equipment based on the request information; and projecting the display picture to the screen projecting equipment according to the screen parameters and the display parameters of the display picture currently displayed on the display screen of the mobile terminal. In the embodiment of the disclosure, in the screen projecting process, the screen parameters of the screen projecting device can be taken into consideration, the display picture is projected to the screen projecting device according to the screen parameters and the display parameters of the display picture on the mobile terminal, and the adjusted display parameters of the display picture can correspond to the screen parameters of the screen projecting device. Therefore, when the display picture is projected to the screen projection equipment, the display picture can be matched with the display screen of the screen projection equipment, and the visual perception of a user is improved.

Description

Screen projection method and device and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a screen projection method and apparatus, and a storage medium.
Background
In the related art, screen projection may be performed between a mobile terminal and a screen projection device. Taking the mobile terminal as a mobile phone and the screen projection device as a display as an example, because the processing function of the mobile phone is higher and higher at present, the resources on the mobile phone are rich, but because the display screen of the mobile phone is smaller, in order to have better visual effect, the display screen or video of the mobile phone can be projected onto the display with a larger display screen. However, in the process of projecting the display picture on the mobile phone to the display, the display picture can only be enlarged in the same proportion as the mobile phone, so that black frames appear on the left and right sides of the display, which affects the visual perception of the user.
Disclosure of Invention
The disclosure provides a screen projection method, a screen projection device and a storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a screen projection method applied to a mobile terminal including a display screen, the screen projection method including:
sending request information to screen projection equipment based on the detected screen projection instruction;
receiving screen parameters returned by the screen projection equipment based on the request information, wherein the screen parameters are used for representing the size of a display screen of the screen projection equipment;
and projecting the display picture to the screen projecting equipment according to the screen parameters and the display parameters of the display picture currently displayed on the display screen of the mobile terminal.
Optionally, the projecting the display picture to the screen projecting device according to the screen parameter and the display parameter of the display picture currently displayed on the display screen of the mobile terminal includes:
determining a conversion parameter for converting the display picture according to the screen parameter and the display parameter;
and converting the picture size of the display picture into a target size matched with the display screen of the screen projection equipment according to the conversion parameter, and projecting the display picture to the screen projection equipment according to the target size.
Optionally, the method further includes:
and displaying the display picture on a display screen of the mobile terminal according to the target size.
Optionally, the screen parameters include: screen aspect ratio; the determining of the conversion parameter for converting the display picture according to the screen parameter and the display parameter includes:
determining the conversion parameter according to the aspect ratio of the screen, the frame length of the display frame and the frame width of the display frame;
the converting the picture size of the display picture into a target size matched with the display screen of the screen projection equipment according to the conversion parameter comprises the following steps:
converting the frame length and/or the frame width of the display frame according to the conversion parameters to obtain the target size;
wherein the aspect ratio of the picture determined based on the target size is consistent with the screen aspect ratio.
Optionally, the sending request information to the screen projection device based on the detected screen projection instruction includes:
establishing communication connection between the mobile terminal and the screen projection equipment based on the detected screen projection instruction;
under the condition that the communication connection is successfully established, the request information is sent to the screen projection equipment;
wherein the communication connection comprises: a wireless fidelity Wi-Fi connection or a bluetooth connection.
According to a second aspect of the embodiments of the present disclosure, there is provided a screen projection apparatus applied to a mobile terminal including a display screen, the screen projection apparatus including:
the sending module is configured to send request information to the screen projection equipment based on the detected screen projection instruction;
the receiving module is configured to receive screen parameters returned by the screen projection equipment based on the request information, wherein the screen parameters are used for representing the size of a display screen of the screen projection equipment;
and the screen projection module is configured to project the display picture to the screen projection equipment according to the screen parameters and the display parameters of the display picture currently displayed on the display screen of the mobile terminal.
Optionally, the screen projection module is further configured to:
determining a conversion parameter for converting the display picture according to the screen parameter and the display parameter;
and converting the picture size of the display picture into a target size matched with the display screen of the screen projection equipment according to the conversion parameter, and projecting the display picture to the screen projection equipment according to the target size.
Optionally, the apparatus further comprises:
and the display module is configured to display the display picture on a display screen of the mobile terminal according to the target size.
Optionally, the screen parameters include: screen aspect ratio; the screen projection module is further configured to:
determining the conversion parameter according to the aspect ratio of the screen, the frame length of the display frame and the frame width of the display frame;
converting the frame length and/or the frame width of the display frame according to the conversion parameters to obtain the target size;
wherein the aspect ratio of the picture determined based on the target size is consistent with the screen aspect ratio.
Optionally, the sending module is further configured to:
establishing communication connection between the mobile terminal and the screen projection equipment based on the detected screen projection instruction;
under the condition that the communication connection is successfully established, the request information is sent to the screen projection equipment;
wherein the communication connection comprises: a wireless fidelity Wi-Fi connection or a bluetooth connection.
According to a third aspect of the embodiments of the present disclosure, there is provided a screen projection apparatus including:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: when executed, implement the steps of any one of the screen projection methods of the first aspect.
According to a fourth aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, wherein instructions, when executed by a processor of a screen projection apparatus, enable the apparatus to perform the steps of any one of the above-mentioned screen projection methods of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, in the screen projection process, the screen parameters of the display screen of the screen projection equipment can be acquired, and the display picture is projected to the screen projection equipment according to the screen parameters and the display parameters of the display picture currently displayed on the display screen of the mobile terminal.
In the embodiment of the disclosure, in the screen projecting process, the screen parameters of the screen projecting device can be taken into consideration, and the display picture is projected to the screen projecting device according to the screen parameters and the display parameters of the display picture currently displayed on the display screen of the mobile terminal, so that the display parameters of the display picture correspond to the screen parameters of the screen projecting device. Therefore, when the display picture is projected to the screen projection equipment, the display picture can be matched with the display screen of the screen projection equipment, and the visual perception of a user is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow diagram illustrating a screen projection method according to an exemplary embodiment.
FIG. 2 is an architectural diagram of a screen projection system shown in accordance with an exemplary embodiment.
Fig. 3A is a schematic view of a screen projection interface shown in the related art.
Fig. 3B is a schematic view of another screen projection interface shown in the related art.
FIG. 4 is a diagram illustrating a screen projection interface according to an exemplary embodiment.
Fig. 5 is a block diagram of a screen projection device according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating a hardware configuration of a screen projection device according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a screen projection method according to an exemplary embodiment, where the method is applied to a mobile terminal including a display screen, as shown in fig. 1, and mainly includes the following steps:
in step 101, sending request information to a screen projection device based on a detected screen projection instruction;
in step 102, screen parameters returned by the screen projection device based on the request information are received, wherein the screen parameters are used for representing the size of a display screen of the screen projection device;
in step 103, the display picture is projected to the screen projection device according to the screen parameters and the display parameters of the display picture currently displayed on the display screen of the mobile terminal.
The screen projection method in the embodiment of the disclosure can be applied to a mobile terminal comprising a display screen, wherein the mobile terminal comprises: mobile phones, notebook computers, tablet computers, wearable electronic devices, and the like. The screen projection equipment comprises a display, a smart television, a projector and the like which are independent of the mobile terminal. In some embodiments, the size of the display screen of the screen projection device is larger than the size of the display screen of the mobile terminal.
Fig. 2 is a schematic diagram illustrating an architecture of a screen projection system according to an exemplary embodiment, as shown in fig. 2, the screen projection system includes a mobile terminal 201 and a screen projection device 202, and in the embodiment of the present disclosure, both the mobile terminal 201 and the screen projection device 202 can support a screen projection protocol. The screen projection protocol may include a Miracast protocol or a flash protocol, and other synchronization protocols. Taking Miracast protocol as an example, the mobile terminal 201 may support Miracast Source, and the screen projecting device 202 may support Miracast Display.
Here, request information may be transmitted to the screen projecting device based on the detected screen projecting instruction, and screen parameters returned by the screen projecting device based on the request information may be received.
In the embodiment of the disclosure, an application program for screen projection may be installed on a mobile terminal, during use, a user may trigger a screen projection instruction based on an application interface of the application program, after the mobile terminal detects the screen projection instruction, request information may be sent to a screen projection device, and after receiving the request information, the screen projection device may send a screen parameter of the screen projection device to the mobile terminal based on the request information.
In the embodiment of the disclosure, after the screen projection instruction is detected, the screen projection of the display picture is not performed immediately, but request information for requesting to acquire the display parameters of the display screen of the screen projection device is sent to the screen projection device first, so as to acquire the screen parameters of the display screen of the screen projection device.
In some embodiments, the screen parameters of the display screen of the screen projecting device may comprise a screen size of the display screen of the screen projecting device, wherein the screen size may comprise a screen lateral size and a screen longitudinal size of the display screen of the screen projecting device, i.e. a screen length and a screen width of the display screen of the screen projecting device. The display parameters of the display screen may include a screen size of the display screen, wherein the screen size may include a screen length and a screen width of the display screen.
In some embodiments, the display screen may include a system interface of the mobile terminal, an application interface of an application installed on the mobile terminal, or a video screen of a video currently played on the mobile terminal, and the display screen is not particularly limited as long as the display screen can be projected from the mobile terminal to the screen projection device.
In the embodiment of the disclosure, the mobile terminal may obtain the screen parameters of the display screen of the screen projection device from the screen projection device. For example, a communication connection between the mobile terminal and the screen projection device may be established, and after the communication connection is successfully established, the mobile terminal may request the screen projection device to send the screen parameters of the screen projection device to the mobile terminal.
In other embodiments, the mobile terminal may also obtain the screen parameters of the display screen of the screen projection device from a preset database. For example, a mapping relationship between the device identifier of each screen projection device and the screen parameter of each screen projection device may be established, and the device identifier of each screen projection device, the screen parameter of each screen projection device, and the mapping relationship may be stored in a preset database.
In the embodiment of the disclosure, in the screen projecting process, the screen parameters of the screen projecting device can be taken into consideration, and the display picture is projected to the screen projecting device according to the screen parameters and the display parameters of the display picture currently displayed on the display screen of the mobile terminal, so that the display parameters of the display picture correspond to the screen parameters of the screen projecting device. Therefore, when the display picture is projected to the screen projection equipment, the display picture can be matched with the display screen of the screen projection equipment, and the visual perception of a user is improved.
In some embodiments, the projecting the display picture to the screen projecting device according to the screen parameter and a display parameter of the display picture currently displayed on the display screen of the mobile terminal includes:
determining a conversion parameter for converting the display picture according to the screen parameter and the display parameter;
and converting the picture size of the display picture into a target size matched with the display screen of the screen projection equipment according to the conversion parameter, and projecting the display picture to the screen projection equipment according to the target size.
In some embodiments, the method further comprises: determining whether the display picture is matched with a display screen of the screen projection equipment; the determining of the conversion parameter for converting the display picture according to the screen parameter and the display parameter includes: and under the condition that the display picture is not matched with the display screen of the screen projection equipment, determining a conversion parameter for converting the display picture according to the screen parameter and the display parameter. Here, the case where the display screen does not match the display screen of the screen projection apparatus includes: the aspect ratio of the display picture is not equal to the aspect ratio of the display screen of the screen projection equipment, or the difference between the length and the width of the display picture and the aspect ratio of the display screen of the screen projection equipment is in the set difference threshold interval.
In other embodiments, if the display screen matches the display screen of the screen projection device, the display screen may be projected directly to the screen projection device.
In the embodiment of the disclosure, before the display screen is projected, whether the display screen is matched with the display screen of the screen projection device or not can be determined firstly, when the display screen is matched with the display screen of the screen projection device, the display screen can be projected to the screen projection device directly, when the display screen is not matched with the display screen of the screen projection device, the conversion parameter for converting the display screen can be determined according to the screen parameter and the display parameter, according to the conversion parameter, the screen size of the display screen is converted into the target size matched with the display screen of the screen projection device, and the display screen is projected to the screen projection device according to the target size, so that the display screen is matched with the screen projection device, and thus, the display effect of the display screen projected to the screen projection device can be better.
In some embodiments, the screen parameters include: screen aspect ratio;
the determining of the conversion parameter for converting the display picture according to the screen parameter and the display parameter includes:
determining the conversion parameter according to the aspect ratio of the screen, the frame length of the display frame and the frame width of the display frame;
the converting the picture size of the display picture into a target size matched with the display screen of the screen projection equipment according to the conversion parameter comprises the following steps:
converting the frame length and/or the frame width of the display frame according to the conversion parameters to obtain the target size;
wherein the aspect ratio of the picture determined based on the target size is consistent with the screen aspect ratio.
Here, the screen aspect ratio of the display screen of the projection device may be: the ratio of the screen lateral dimension to the screen longitudinal dimension may be, for example, 4: 3; or the ratio of the screen longitudinal dimension to the picture width, e.g., 3: 4. The aspect ratio of the display screen may be: the ratio of the screen length to the screen width of the display screen may be, for example, 16: 9; or the ratio of the picture width to the picture length of the display picture, e.g. 9: 16.
In some embodiments, if the screen aspect ratio of the display screen of the projection device is: the ratio of the horizontal dimension of the screen to the vertical dimension of the screen, the aspect ratio of the display frame may be: the ratio of the frame width to the frame length of the display frame. If the screen aspect ratio of the display screen of the projection device is: the ratio of the vertical dimension of the screen to the horizontal dimension of the screen, the aspect ratio of the display frame may be: the ratio of the picture length to the picture width.
In the embodiment of the present disclosure, the aspect ratio of the display screen may be calculated according to the screen width and the screen length of the display screen. In this way, after the screen aspect ratio of the display screen of the screen projection device is obtained, the screen aspect ratio and the picture aspect ratio can be compared to obtain a comparison result, and whether to convert the picture length and/or the picture width of the display picture is determined according to the comparison result. For example, if the comparison result indicates that the aspect ratio of the display picture is not equal to the aspect ratio of the screen, the picture length and/or the picture width of the display picture are/is adjusted according to the obtained conversion parameter until the aspect ratio of the display picture is equal to the aspect ratio of the screen.
For another example, if the width of the displayed picture is 8 centimeters (cm), the length of the picture is 6cm, the aspect ratio of the picture is 4:3, the lateral dimension of the screen of the display screen of the projection device is 32cm, the longitudinal dimension of the screen is 18cm, and the aspect ratio of the screen is 16:9, since the aspect ratio of the picture is not equal to the aspect ratio of the screen, the length of the picture and/or the width of the picture of the displayed picture can be adjusted.
In some embodiments, if the screen width needs to be adjusted, the conversion parameter for converting the displayed screen is determined to be 4/3, for example, the screen width may be adjusted to 4/3 of the original screen width, that is, the screen width is adjusted from 8cm to 32/3 (cm).
In other embodiments, if the frame length needs to be adjusted, the conversion parameter for converting the display frame may be determined to be 3/4, for example, the frame length may be adjusted to 3/4 of the original frame length, that is, the frame length is adjusted from 6cm to 4.5cm, so that the aspect ratio of the display frame is equal to the screen aspect ratio.
In other embodiments, the frame length and the frame width may be adjusted simultaneously, so that the aspect ratio of the displayed frame is equal to the screen aspect ratio.
In the embodiment of the present disclosure, after the screen length and/or the screen width of the display screen are adjusted, the screen aspect ratio of the adjusted display screen can be equal to the screen aspect ratio. Therefore, after the display picture on the mobile terminal is projected to the screen projection device in an equal proportion, the display picture can be matched with the display screen of the screen projection device, and full-screen display of the display picture on the screen projection device can be achieved.
In some embodiments, the method further comprises:
and displaying the display picture on a display screen of the mobile terminal according to the target size.
Here, after the screen size of the display screen is adjusted to the target size, the display screen may be displayed on the display screen of the mobile terminal in accordance with the target size. Therefore, before the display screen is projected, the user can preview the display effect according to the display screen displayed on the mobile terminal, and the mobile terminal and the display screen displayed on the screen projection equipment can be corresponding to each other, so that the visual effect is improved.
In some embodiments, the sending request information to the screen projection device based on the detected screen projection instruction includes:
establishing communication connection between the mobile terminal and the screen projection equipment based on the detected screen projection instruction;
under the condition that the communication connection is successfully established, the request information is sent to the screen projection equipment;
wherein the communication connection comprises: a wireless fidelity Wi-Fi connection or a bluetooth connection.
In other embodiments, the communication connection further comprises: a zigbee connection or an NFC (Near Field Communication) connection.
Fig. 3A is a schematic view of a screen projection interface shown in the related art, and as shown in fig. 3A, when a display screen on a display screen of a mobile phone 301a is projected onto a display screen of a notebook computer 302a in an equal proportion, since a screen size of the display screen is not matched with the display screen of the notebook computer 302a, after the display screen is projected onto the display screen of the notebook computer 302a, both the left side and the right side of the display screen of the notebook computer 302a are black.
Fig. 3B is a schematic view of another screen projection interface shown in the related art, and as shown in fig. 3B, when the display screen on the display screen of the mobile phone 301B is projected on the display screen of the notebook computer 302B in an equal proportion, since the screen size of the display screen is not matched with the display screen of the notebook computer 302B, after the display screen is projected on the display screen of the notebook computer 302B, the upper side and the lower side of the display screen of the notebook computer 302B are black.
In some embodiments, a user may trigger a screen-throwing instruction by clicking a screen-throwing connection button on a mobile terminal, and after detecting the screen-throwing instruction, the mobile terminal may obtain a screen aspect ratio of a display screen (an extended screen) of a screen-throwing device, and adjust a screen size of a display screen on the mobile terminal according to the screen aspect ratio of the extended screen, so that the screen aspect ratio of the display screen is consistent with the screen aspect ratio of the extended screen, and finally, the display screen displayed on the extended screen is full-screen, the extended screen is completely filled, and no black edge exists.
In other embodiments, when the display picture belongs to one frame of picture in the video stream, the aspect ratio of the one frame of picture can be adjusted to be consistent with the screen aspect ratio of the expansion screen. In the case of a video stream having a plurality of frames of display pictures, the picture aspect ratio of each frame of display picture may be adjusted to coincide with the screen aspect ratio of the extended screen.
Fig. 4 is a schematic diagram of a screen projection interface according to an exemplary embodiment, as shown in fig. 4, when a display screen on a display screen of a mobile phone 401 is projected onto a display screen of a notebook computer 402 in an equal proportion, since a screen size of the display screen is matched with the display screen of the notebook computer 402, that is, a screen aspect ratio of the display screen is equal to a screen aspect ratio of the display screen of a screen projection device, after the display screen is projected onto the display screen of the notebook computer 402, the display screen can be displayed on the display screen of the notebook computer 402 in a full screen manner, and finally, the display screen displayed on the expansion screen is full screen, the expansion screen is completely filled, and no black edge exists.
Fig. 5 is a block diagram of a screen projection device according to an exemplary embodiment. As shown in fig. 5, the screen projection apparatus 500 is applied to an electronic device including a display screen, and the screen projection apparatus 500 mainly includes:
a sending module 501 configured to send request information to a screen projection device based on the detected screen projection instruction;
a receiving module 502 configured to receive a screen parameter returned by the screen projection device based on the request information, wherein the screen parameter is used for representing the size of a display screen of the screen projection device;
the screen projection module 503 is configured to project the display picture to the screen projection device according to the screen parameters and the display parameters of the display picture currently displayed on the display screen of the mobile terminal.
In some embodiments, the screen projection module 503 is further configured to:
determining a conversion parameter for converting the display picture according to the screen parameter and the display parameter;
and converting the picture size of the display picture into a target size matched with the display screen of the screen projection equipment according to the conversion parameter, and projecting the display picture to the screen projection equipment according to the target size.
In some embodiments, the apparatus 500 further comprises:
and the display module is configured to display the display picture on a display screen of the mobile terminal according to the target size.
In some embodiments, the screen parameters include: screen aspect ratio; the screen projection module 503 is further configured to:
determining the conversion parameter according to the aspect ratio of the screen, the frame length of the display frame and the frame width of the display frame;
converting the frame length and/or the frame width of the display frame according to the conversion parameters to obtain the target size;
wherein the aspect ratio of the picture determined based on the target size is consistent with the screen aspect ratio.
In some embodiments, the sending module 501 is further configured to:
establishing communication connection between the mobile terminal and the screen projection equipment based on the detected screen projection instruction;
under the condition that the communication connection is successfully established, the request information is sent to the screen projection equipment;
wherein the communication connection comprises: a wireless fidelity Wi-Fi connection or a bluetooth connection.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 6 is a block diagram illustrating a hardware configuration of a screen projection device according to an exemplary embodiment. For example, the apparatus 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, the apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 702 may include one or more processors 720 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operations at the apparatus 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, sensor assembly 714 may detect an open/closed state of device 700, the relative positioning of components, such as a display and keypad of device 700, sensor assembly 714 may also detect a change in position of device 700 or a component of device 700, the presence or absence of user contact with device 700, orientation or acceleration/deceleration of device 700, and a change in temperature of device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate wired or wireless communication between the apparatus 700 and other devices. The apparatus 700 may access a wireless network based on a communication standard, such as WI-FI, 2G, or 6G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 700 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 704 comprising instructions, executable by the processor 720 of the device 700 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein, which when executed by a processor of a screen projection device, enable the screen projection device to perform a screen projection method applied to an electronic device including a display screen, the method comprising:
sending request information to screen projection equipment based on the detected screen projection instruction;
receiving screen parameters returned by the screen projection equipment based on the request information, wherein the screen parameters are used for representing the size of a display screen of the screen projection equipment;
and projecting the display picture to the screen projecting equipment according to the screen parameters and the display parameters of the display picture currently displayed on the display screen of the mobile terminal.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A screen projection method is applied to a mobile terminal comprising a display screen, and comprises the following steps:
sending request information to screen projection equipment based on the detected screen projection instruction;
receiving screen parameters returned by the screen projection equipment based on the request information, wherein the screen parameters are used for representing the size of a display screen of the screen projection equipment;
and projecting the display picture to the screen projecting equipment according to the screen parameters and the display parameters of the display picture currently displayed on the display screen of the mobile terminal.
2. The method according to claim 1, wherein the projecting the display picture to the screen projecting device according to the screen parameter and a display parameter of the display picture currently displayed on the display screen of the mobile terminal comprises:
determining a conversion parameter for converting the display picture according to the screen parameter and the display parameter;
and converting the picture size of the display picture into a target size matched with the display screen of the screen projection equipment according to the conversion parameter, and projecting the display picture to the screen projection equipment according to the target size.
3. The method of claim 2, further comprising:
and displaying the display picture on a display screen of the mobile terminal according to the target size.
4. The method of claim 2, wherein the screen parameters comprise: screen aspect ratio; the determining of the conversion parameter for converting the display picture according to the screen parameter and the display parameter includes:
determining the conversion parameter according to the aspect ratio of the screen, the frame length of the display frame and the frame width of the display frame;
the converting the picture size of the display picture into a target size matched with the display screen of the screen projection equipment according to the conversion parameter comprises the following steps:
converting the frame length and/or the frame width of the display frame according to the conversion parameters to obtain the target size;
wherein the aspect ratio of the picture determined based on the target size is consistent with the screen aspect ratio.
5. The method of claim 1, wherein sending request information to the screen-casting device based on the detected screen-casting instruction comprises:
establishing communication connection between the mobile terminal and the screen projection equipment based on the detected screen projection instruction;
under the condition that the communication connection is successfully established, the request information is sent to the screen projection equipment;
wherein the communication connection comprises: a wireless fidelity Wi-Fi connection or a bluetooth connection.
6. A screen projection device is applied to a mobile terminal comprising a display screen, and comprises:
the sending module is configured to send request information to the screen projection equipment based on the detected screen projection instruction;
the receiving module is configured to receive screen parameters returned by the screen projection equipment based on the request information, wherein the screen parameters are used for representing the size of a display screen of the screen projection equipment;
and the screen projection module is configured to project the display picture to the screen projection equipment according to the screen parameters and the display parameters of the display picture currently displayed on the display screen of the mobile terminal.
7. The apparatus of claim 6, wherein the screen projection module is further configured to:
determining a conversion parameter for converting the display picture according to the screen parameter and the display parameter;
and converting the picture size of the display picture into a target size matched with the display screen of the screen projection equipment according to the conversion parameter, and projecting the display picture to the screen projection equipment according to the target size.
8. The apparatus of claim 7, further comprising:
and the display module is configured to display the display picture on a display screen of the mobile terminal according to the target size.
9. The apparatus of claim 7, wherein the screen parameters comprise: screen aspect ratio; the screen projection module is further configured to:
determining the conversion parameter according to the aspect ratio of the screen, the frame length of the display frame and the frame width of the display frame;
converting the frame length and/or the frame width of the display frame according to the conversion parameters to obtain the target size;
wherein the aspect ratio of the picture determined based on the target size is consistent with the screen aspect ratio.
10. The apparatus of claim 7, wherein the sending module is further configured to:
establishing communication connection between the mobile terminal and the screen projection equipment based on the detected screen projection instruction;
under the condition that the communication connection is successfully established, the request information is sent to the screen projection equipment;
wherein the communication connection comprises: a wireless fidelity Wi-Fi connection or a bluetooth connection.
11. A screen projection apparatus, comprising:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: when executed, implement the steps of any one of the screen projection methods of claims 1 to 5.
12. A non-transitory computer readable storage medium having instructions thereon which, when executed by a processor of a screen projection device, enable the device to perform the steps of any of the above-described screen projection methods of claims 1-5.
CN202011035733.0A 2020-09-27 2020-09-27 Screen projection method and device and storage medium Pending CN112114765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011035733.0A CN112114765A (en) 2020-09-27 2020-09-27 Screen projection method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011035733.0A CN112114765A (en) 2020-09-27 2020-09-27 Screen projection method and device and storage medium

Publications (1)

Publication Number Publication Date
CN112114765A true CN112114765A (en) 2020-12-22

Family

ID=73797186

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011035733.0A Pending CN112114765A (en) 2020-09-27 2020-09-27 Screen projection method and device and storage medium

Country Status (1)

Country Link
CN (1) CN112114765A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822548A (en) * 2020-12-31 2021-05-18 努比亚技术有限公司 Screen projection display method and device, mobile terminal and storage medium
CN112882781A (en) * 2021-02-05 2021-06-01 瑞芯微电子股份有限公司 Intelligent frame detection and same-screen method and storage device
CN113760139A (en) * 2021-08-23 2021-12-07 联想(北京)有限公司 Information processing method and device, equipment and storage medium
CN113778359A (en) * 2021-08-13 2021-12-10 惠州Tcl移动通信有限公司 Wireless screen projection method and device, wearable device and storage medium
WO2022052928A1 (en) * 2020-09-10 2022-03-17 华为技术有限公司 Application access method and related apparatus
CN114461166A (en) * 2022-02-23 2022-05-10 北京九恒星科技股份有限公司 Display method and device
CN115247924A (en) * 2021-04-27 2022-10-28 云米互联科技(广东)有限公司 Screen sharing method and device based on intelligent refrigerator and intelligent refrigerator
CN115942031A (en) * 2021-08-11 2023-04-07 广州视源电子科技股份有限公司 Screen transmission method and system, screen transmission equipment and receiving equipment

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022052928A1 (en) * 2020-09-10 2022-03-17 华为技术有限公司 Application access method and related apparatus
CN112822548A (en) * 2020-12-31 2021-05-18 努比亚技术有限公司 Screen projection display method and device, mobile terminal and storage medium
CN112822548B (en) * 2020-12-31 2023-06-02 努比亚技术有限公司 Screen projection display method and device, mobile terminal and storage medium
CN112882781A (en) * 2021-02-05 2021-06-01 瑞芯微电子股份有限公司 Intelligent frame detection and same-screen method and storage device
CN115247924A (en) * 2021-04-27 2022-10-28 云米互联科技(广东)有限公司 Screen sharing method and device based on intelligent refrigerator and intelligent refrigerator
CN115247924B (en) * 2021-04-27 2023-11-03 云米互联科技(广东)有限公司 Screen sharing method and device based on intelligent refrigerator and intelligent refrigerator
CN115942031A (en) * 2021-08-11 2023-04-07 广州视源电子科技股份有限公司 Screen transmission method and system, screen transmission equipment and receiving equipment
CN113778359A (en) * 2021-08-13 2021-12-10 惠州Tcl移动通信有限公司 Wireless screen projection method and device, wearable device and storage medium
CN113760139A (en) * 2021-08-23 2021-12-07 联想(北京)有限公司 Information processing method and device, equipment and storage medium
CN114461166A (en) * 2022-02-23 2022-05-10 北京九恒星科技股份有限公司 Display method and device

Similar Documents

Publication Publication Date Title
CN112114765A (en) Screen projection method and device and storage medium
EP3046309B1 (en) Method, device and system for projection on screen
CN108419016B (en) Shooting method and device and terminal
US9591256B2 (en) Methods and devices for video communication
US10530836B2 (en) Methods and apparatuses for acquiring image
US9661223B2 (en) Method and device for photographing including camera shake
WO2016192323A1 (en) Video communication method and device
EP3136699A1 (en) Method and device for connecting external equipment
EP3264774A1 (en) Live broadcasting method and device for live broadcasting
US10922444B2 (en) Method and apparatus for displaying application interface
EP2986020A1 (en) Method and apparatus for adjusting video quality based on network environment
CN113365153B (en) Data sharing method and device, storage medium and electronic equipment
CN106775235B (en) Screen wallpaper display method and device
CN107885016B (en) Holographic projection method and device
CN106792024B (en) Multimedia information sharing method and device
CN105578391B (en) Information processing method, device and system and terminal equipment
CN112463084A (en) Split screen display method and device, terminal equipment and computer readable storage medium
EP3086584A1 (en) Method and device for controlling access
CN111614910B (en) File generation method and device, electronic equipment and storage medium
CN111541922B (en) Method, device and storage medium for displaying interface input information
CN112363786A (en) Advertisement picture processing method and device, electronic equipment and storage medium
CN108650412B (en) Display method, display device and computer readable storage medium
CN108401518B (en) Channel coordination method and device
CN110213531B (en) Monitoring video processing method and device
US10129141B2 (en) Method, mobile terminal, and apparatus for managing routing device

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