[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN113014972B - Screen projection method, device and system - Google Patents

Screen projection method, device and system Download PDF

Info

Publication number
CN113014972B
CN113014972B CN202110121814.0A CN202110121814A CN113014972B CN 113014972 B CN113014972 B CN 113014972B CN 202110121814 A CN202110121814 A CN 202110121814A CN 113014972 B CN113014972 B CN 113014972B
Authority
CN
China
Prior art keywords
screen
electronic device
screen projection
mode
throwing
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
CN202110121814.0A
Other languages
Chinese (zh)
Other versions
CN113014972A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110121814.0A priority Critical patent/CN113014972B/en
Publication of CN113014972A publication Critical patent/CN113014972A/en
Application granted granted Critical
Publication of CN113014972B publication Critical patent/CN113014972B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44222Analytics of user selections, e.g. selection of programs or purchase activity

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • General Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (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 discloses a screen projection method, device and system, belongs to the technical field of communication, and can solve the problem that a user is complicated and time-consuming in the process of continuously switching a screen projection mode. The method comprises the following steps: determining a first screen projection mode based on interface information of a display interface of the first electronic equipment, wherein the first screen projection mode is one of at least two preset screen projection modes; based on the first screen projection mode, screen projection is performed through the second electronic equipment, and the second electronic equipment and the first electronic equipment are located in the same local area network.

Description

Screen projection method, device and system
Technical Field
The application belongs to the technical field of communication, and particularly relates to a screen projection method, device and system.
Background
With the rapid development of communication technology, electronic devices are becoming widely used, for example, to screen content displayed on an electronic device (hereinafter referred to as electronic device 1) to other electronic devices (hereinafter referred to as electronic device 2).
At present, the screen projection mode comprises a mirror image screen projection mode and a push screen projection mode, but no matter which screen projection mode is, the corresponding screen projection mode is required to be started in the process of establishing the screen projection connection between the electronic equipment 1 and the electronic equipment 2, the screen projection equipment which is in the same local area network with the electronic equipment 1 is searched, and the electronic equipment 2 is selected from the searched screen projection equipment.
However, sometimes, the user needs to continuously switch the screen-throwing mode, for example, the electronic device 1 displays the online video interface for a while (needs to switch to the push screen-throwing mode), displays the desktop and the instant social application interface for a while (needs to switch to the mirror image screen-throwing mode), so that the process of continuously switching the screen-throwing mode by the user is complicated and time-consuming.
Disclosure of Invention
The embodiment of the application aims to provide a screen projection method, device and system, which can solve the problem that the process of continuously switching the screen projection mode by a user is complicated and time-consuming.
In order to solve the technical problems, the application is realized as follows:
in a first aspect, an embodiment of the present application provides a screen projection method, which is applied to a first electronic device, and includes: determining a first screen projection mode based on interface information of a display interface of the first electronic equipment, wherein the first screen projection mode is one of at least two preset screen projection modes; based on the first screen projection mode, screen projection is performed through the second electronic equipment, and the second electronic equipment and the first electronic equipment are located in the same local area network.
In a second aspect, an embodiment of the present application provides a screen projection device, which is applied to a first electronic device, and the device includes: a determining module and a screen throwing module; the system comprises a determining module, a display module and a display module, wherein the determining module is used for determining a first screen projection mode based on interface information of a display interface of first electronic equipment, and the first screen projection mode is one of at least two preset screen projection modes; the screen projection module is used for projecting the screen through the second electronic equipment based on the first screen projection mode, and the second electronic equipment and the first electronic equipment are located in the same local area network.
In a third aspect, an embodiment of the present application provides a screen projection method, which is applied to a second electronic device, where the method includes: receiving a first screen projection request sent by first electronic equipment, wherein the first screen projection request is used for requesting screen projection through second electronic equipment based on a first screen projection mode; under the condition that the first screen projection mode is detected to be different from the second screen projection mode, a first screen projection channel is established under the condition that the screen projection is carried out based on the second screen projection mode, and the first screen projection channel is based on the first screen projection mode; and stopping screen projection through the second screen projection mode when the first screen projection channel is established, and performing screen projection through the first screen projection mode.
In a fourth aspect, an embodiment of the present application provides a screen projection device, which is applied to a second electronic device, where the device includes: the system comprises a receiving module, a creating module and a screen throwing module; the receiving module is used for receiving a first screen projection request sent by the first electronic equipment, wherein the first screen projection request is used for requesting screen projection through the second electronic equipment based on a first screen projection mode; the system comprises a creation module, a first screen projection module and a second screen projection module, wherein the creation module is used for creating a first screen projection channel under the condition that the screen projection is carried out based on the second screen projection mode when the first screen projection mode is detected to be different from the second screen projection mode, and the first screen projection channel is based on the first screen projection mode; and the screen projection module is used for stopping screen projection through the second screen projection mode and performing screen projection through the first screen projection mode when the first screen projection channel is established.
In a fifth aspect, an embodiment of the present application provides an electronic device, where the electronic device includes a processor, a memory, and a program or an instruction stored on the memory and executable on the processor, where the program or the instruction when executed by the processor implement the steps of the method according to the first aspect, and where the electronic device is a second electronic device, where the program or the instruction when executed by the processor implement the steps of the method according to the third aspect.
In a sixth aspect, an embodiment of the present application provides a screen projection system, where the screen projection system includes a screen projection device as in the second aspect and a screen projection device as in the fourth aspect; alternatively, the screen projection system comprises the first electronic device and the second electronic device according to the fifth aspect.
In a seventh aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method according to the first or third aspect.
In an eighth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect or the third aspect.
In the embodiment of the application, the first screen projection mode can be determined based on the interface information of the display interface of the first electronic device, and the screen projection is performed by the second electronic device based on the first screen projection mode, wherein the first screen projection mode is one of at least two preset screen projection modes; the second electronic device is in the same local area network as the first electronic device. According to the scheme, the screen projection mode can be automatically established or switched based on the interface information of the display interface of the first electronic equipment, so that the operation process can be simplified, the operation time is saved, and the operation efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of one possible configuration of a screen projection system provided in an embodiment of the present application;
FIG. 2 is one of the flowcharts of the screen projection method provided in the embodiment of the present application;
FIG. 3 is one of the interface schematic diagrams of the screen projection method provided in the embodiment of the present application;
FIG. 4 is a second interface diagram of the screen projection method according to the embodiment of the present disclosure;
FIG. 5 is a second flowchart of a screen projection method according to an embodiment of the present disclosure;
FIG. 6 is a third interface diagram of the screen projection method according to the embodiment of the present application;
FIG. 7 is a fourth schematic interface diagram of a screen projection method according to an embodiment of the present disclosure;
FIG. 8 is a third flowchart of a screen projection method according to an embodiment of the present disclosure;
FIG. 9 is a fourth flowchart of a screen projection method according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a screen projection device according to an embodiment of the present disclosure;
FIG. 11 is a second schematic structural diagram of a screen projection device according to an embodiment of the present disclosure;
FIG. 12 is a third schematic structural view of a screen projection device according to an embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 14 is a schematic hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In the description of the embodiments of the present application, unless otherwise specified, the meaning of "a plurality of" means two or more, for example, the plurality of processing units means two or more; the plurality of elements means two or more elements and the like.
Some terms/definitions related in a screen projection method, device and system provided in the embodiments of the present application are described below.
Mirror image screen projection mode: after the screen content of the small-screen electronic equipment (mobile phone, tablet and the like) is recorded in real time, the screen content is transmitted to the large-screen electronic equipment (television, projector and the like) for playing by Wi-Fi.
Push screen-throwing mode: after the small-screen electronic equipment obtains the playing authority and the link of the streaming media content, the information is pushed to the large-screen electronic equipment through Wi-Fi, and then the playing is completed through the large-screen electronic equipment, so that the method is only suitable for the streaming media content (such as online videos, music and the like).
The screen projection method, device and system provided by the embodiment of the application are described in detail through specific embodiments and application scenes thereof with reference to the accompanying drawings.
The screen projection method provided by the embodiment of the invention can be applied to a screen projection scene, by the scheme, the first screen projection mode can be determined based on the interface information of the display interface of the first electronic equipment, and the screen projection is performed by the second electronic equipment based on the first screen projection mode, wherein the first screen projection mode is one of at least two preset screen projection modes; the second electronic device is in the same local area network as the first electronic device. According to the scheme, the screen projection mode can be automatically established or switched based on the interface information of the display interface of the first electronic equipment, so that the operation process can be simplified, the operation time is saved, and the operation efficiency is improved.
Fig. 1 shows a schematic diagram of a possible structure of a screen projection system according to an embodiment of the present invention, where, as shown in fig. 1, the screen projection system includes at least one first electronic device and at least one second electronic device (where a first electronic device and a second electronic device are illustrated in the figure), and the at least one first electronic device and the at least one second electronic device are located under the same local area network.
Referring to fig. 2, an embodiment of the present application provides a screen projection method, and an exemplary description is given below of the screen projection method provided in the embodiment of the present application, taking an execution body as a first electronic device as an example. The method may include steps 101 to 102 described below.
Step 101, the first electronic device determines a first screen projection mode based on interface information of a display interface of the first electronic device.
The first screen projection mode is one of at least two preset screen projection modes.
It may be appreciated that in the embodiment of the present application, the display interface may be an interface displayed by the first electronic device.
Alternatively, the display interface may be an audio-video playing interface, a background interface (including at least one application identifier indicating a background running program object), a desktop, app pages, and the like. In this embodiment of the present application, the display interface may be any interface that may be displayed on the screen of the first electronic device, which is not limited in this embodiment of the present application.
Optionally, in an embodiment of the present application, the interface information includes at least one of: display content information of the interface and display parameter information of the interface. The interface information may also be other information of the interface, which is not limited in the embodiments of the present application.
It is to be understood that the display content information of the interface is information of the content displayed by the interface, and may be, for example, video content, chat content, or the like. The display parameter information of the interface may include resolution, brightness, frame rate, display ratio (full screen display, half screen display) and the like of the interface.
It may be understood that in the embodiment of the present application, the preset at least two screen-throwing modes may be a started screen-throwing mode in the first electronic device, or may be a screen-throwing mode between the first electronic device and the second electronic device, or may be another screen-throwing mode, which is not limited in the embodiment of the present application.
Optionally, the at least two screen projection modes may include a mirror screen projection mode and a push screen projection mode, and may further include other screen projection modes, which are not limited in the embodiment of the present application.
The at least two screen projection modes are a mirror screen projection mode and a push screen projection mode, and the first screen projection mode is a mirror screen projection mode or a push screen projection mode.
It can be appreciated that in the embodiment of the present application, each of the preset at least two screen modes is in an available state (or a standby state or a suspended state) or an in-use state (and the first electronic device is currently using one of the screen modes), rather than a disabled state, that is, the switch controlling each screen mode is turned on.
In the embodiment of the application, the first electronic device may determine, in real time, a currently applicable screen-casting mode according to a process operated by a foreground and an operation of a user (at least including the following two cases: 1, no screen-casting is used before and is now required to be used, 2, one screen-casting mode is used before and is now required to be switched to another screen-casting mode), and then, based on the screen-casting mode, screen-casting is performed by the second electronic device.
In the embodiment of the present application, the first electronic device may be a small-screen electronic device (an electronic device with a screen size smaller than or equal to the first threshold value), or may be a large-screen electronic device (an electronic device with a screen size larger than the first threshold value), which is not limited in the embodiment of the present application. The second electronic device may be a large-screen electronic device (an electronic device with a screen size greater than the first threshold value) or a small-screen electronic device (an electronic device with a screen size smaller than or equal to the first threshold value), which is not limited in the embodiments of the present application. The first threshold may be determined according to actual use requirements, which is not limited in the embodiments of the present application.
Optionally, the first electronic device may further determine the first screen projection mode based on the interface information and other information.
The above step 101 may be implemented by the following step 101a, for example.
Step 101a, the first electronic device determines a first screen projection mode based on the interface information and attribute information of the first electronic device.
It may be appreciated that in the embodiment of the present application, the attribute information may include information such as electric quantity information and temperature information of the first electronic device.
If the attribute information is the power information of the first electronic device, the first screen mode may be considered to be a screen mode with lower power consumption when the power indicated by the power information of the first electronic device is lower than a first threshold (determined according to actual use requirements, which is not limited in the embodiments of the present application); when the electric quantity indicated by the electric quantity information of the first electronic equipment is higher than the first threshold value, the first screen-throwing mode can be considered to be a screen-throwing mode with more power consumption.
For example, if the attribute information is temperature information of the first electronic device, when the temperature indicated by the temperature information of the first electronic device is lower than a second threshold (determined according to actual use requirements, which is not limited in the embodiments of the present application), the first screen-throwing mode may be considered to be a screen-throwing mode that generates more heat; when the temperature indicated by the temperature information of the first electronic device is higher than the second threshold value, the first screen-throwing mode can be considered to be a screen-throwing mode with less heat generation.
In the embodiment of the application, the screen projection mode suitable for the first electronic device can be better determined by combining the interface information and the attribute information.
Step 102, the first electronic device performs screen projection through the second electronic device based on the first screen projection mode.
The second electronic device and the first electronic device are in the same local area network.
Optionally, the display interface is a background interface, and the interface information is a background running program, so that the step 102 may be specifically implemented through the following steps 102a to 102 c.
Step 102a, the first electronic device obtains a background running program.
It may be appreciated that the background interface includes at least one application identifier, each application identifier being configured to indicate an application program running in the background, and the first electronic device obtaining the background running program according to the at least one application identifier.
Step 102b, the first electronic device determines the priority of the background running program.
It can be appreciated that the priority of the background running program can be determined according to the user usage habit (the frequency of usage of each application program by the user in a statistical period of time, or the probability of usage of each application program by the user in a statistical period of time) or the application program priority preset by the user.
Illustratively, the priority is determined according to the frequency of use of each application program in a period of time, the priority of high frequency of use is high, and the priority of low frequency of use is low; or the probability of using each application program in the current period of a day determines the priority, the priority with high use probability is high, and the priority with low use probability is low; or determining the priority according to the priority of the application program preset by the user, wherein the priority set by the user is high and the priority set by the user is low.
Step 102c, the first electronic device determines a preloaded screen-throwing mode based on the priority of the background running program.
Wherein the preloaded screen projection mode is a first screen projection mode.
It can be understood that, the user may determine the screen projection mode used by the application program with the highest priority (hereinafter referred to as the first application program) in the background running program as the preloaded screen projection mode, and then establish screen projection with the second electronic device based on the preloaded screen projection mode.
In the embodiment of the application, the screen projection or screen projection switching can be rapidly realized by determining the preloaded screen projection mode.
Illustratively, in an online video playing state (alternatively, the video application may be in a full-screen playing state or a non-full-screen playing state), the first screen-throwing mode is a push screen-throwing mode, as shown in fig. 3, and if the video application is in the current video playing state (alternatively, the video application may be in the full-screen playing state or the non-full-screen playing state) indicated by a mark "1", or the user clicks a "full-screen playing" button indicated by a mark "2", or the user clicks a "push to TV" button indicated by a mark "3", the push screen-throwing mode is determined as the first screen-throwing mode; under the condition that the first electronic equipment displays a desktop, an album, a setting, any APP interface except an online playing streaming media interface and the like, the first screen-throwing mode is a mirror image screen-throwing mode, as shown in fig. 4, the current process is the desktop, and the mirror image screen-throwing mode is determined to be the first screen-throwing mode.
In the embodiment of the application, the first screen projection mode can be determined based on the interface information of the display interface of the first electronic device, and the screen projection is performed by the second electronic device based on the first screen projection mode, wherein the first screen projection mode is one of at least two preset screen projection modes; the second electronic device is in the same local area network as the first electronic device. According to the scheme, the screen projection mode can be automatically established or switched based on the interface information of the display interface of the first electronic equipment, so that the operation process can be simplified, the operation time is saved, and the operation efficiency is improved.
The current screen-drop service and usage experience is split in terms of user experience. As shown in fig. 5, taking a mobile phone screen-throwing television as an example, in the process of using the screen-throwing television, if a user needs to throw the content such as a system desktop, an application program and the like (that is, needs to share the content with other users in a mirror image screen-throwing mode indicated by a mark "4"), and needs to throw the content such as an online video and the like (that is, needs to watch the online video in a push screen-throwing mode indicated by a mark "5") for meeting the user's requirements, the user needs to manually switch between the mirror image mode and the push mode, the steps are complicated, and the stopping and restarting of the screen-throwing service causes that the television screen is continuously blacked or returned to the front page, thereby seriously affecting the user experience.
In the embodiment of the present application, under the condition of at least two preset screen-throwing modes, the first electronic device may automatically determine selection and switching of the screen-throwing modes according to a process operated by a system foreground and user operation, without selecting a corresponding function in a setting interface by a user.
Optionally, before the step 101, the screen projection method provided in the embodiment of the present application may further include the following steps 103 to 104.
Step 103, the first electronic device receives a first input of a user.
The first input is used for starting a part of screen projection modes or all screen projection modes in at least two screen projection modes.
It will be appreciated that in the embodiments of the present application, the first input is used to activate at least one of the at least two modes of screen projection, i.e., the first input is used to activate all of the at least two modes of screen projection, two, … … and more … ….
Illustratively, the at least two modes of projection include a mirror projection mode and a push projection mode, and the first input is for initiating at least one of: mirror image screen projection mode, push screen projection mode. For example, the first input is used to initiate a mirror screen projection mode, or the first input is used to initiate a push screen projection mode, or the first input is used to initiate a mirror screen projection mode and a push screen projection mode.
Optionally, the first input may be a click input of the user to the screen of the first electronic device, or may be a slide input of the user to the screen of the first electronic device, or may be other feasibility inputs, which is not limited in the embodiments of the present application.
The click input may be any number of click inputs such as a single click input and a double click input, or may be a long press input or a short press input; the above-described slide input may be any slide input in any direction, for example, a left slide input, a right slide input, a downward slide input, or an upward slide input, or may be a two-finger slide input, a three-finger slide input, or the like.
The first input may be, for example, a user input to a target control, where the target control is used to control initiation of a partial or full screen mode of the at least two screen modes.
Step 104, the first electronic device responds to the first input, and starts a screen projection mode corresponding to the first input in at least two screen projection modes or starts at least two screen projection modes.
It may be appreciated that, in the embodiment of the present application, when the user controls the first electronic device to start at least one of the at least two screen modes, the first electronic device may start the at least one screen mode, or the first electronic device may also automatically start other screen modes of the at least two screen modes when the at least one screen mode is started (i.e., the first electronic device starts all screen modes of the at least two screen modes). Therefore, the electronic equipment can start all the screen-throwing modes in the at least two screen-throwing modes in a short time (for example, simultaneously), and when the first electronic equipment determines that the screen-throwing mode needs to be replaced, the first electronic equipment is not required to be controlled to start the screen-throwing mode through user input, so that the operation process can be simplified, the operation time is saved, and the operation efficiency is improved.
Illustratively, the at least two modes of projection include a mirror projection mode and a push projection mode. As shown in fig. 6, the user clicks on the "mirror image screen mode" option in the system setup menu or the control center, and then the first electronic device starts the mirror image screen mode, and at the same time starts the push screen mode. As shown in fig. 3, the user clicks a "TV push button" in an application program (such as various online video play APP) supporting the push screen mode, and then the first electronic device starts the push screen mode, and at the same time starts the mirror screen mode. That is, in the embodiment of the present application, no matter what operation is performed, once a certain screen-throwing mode is started, another screen-throwing mode is started, and the started screen-throwing mode is in a standby state.
Illustratively, the at least two modes of projection include a mirror projection mode and a push projection mode. The first electronic device may be provided with a unique screen switch, and the unique screen switch may simultaneously start the mirror image screen mode and the push screen mode (i.e. be responsible for simultaneously controlling the sending request and the working state of the mirror image mode and the push mode). The first electronic device can automatically select a corresponding screen projection mode according to the current foreground running process or user operation.
Optionally, before the step 101, the screen projection method provided in the embodiment of the present application may further include a step 105 described below.
Step 105, the first electronic device periodically detects interface information according to a preset period.
It can be appreciated that the preset period may be determined according to actual use requirements, which is not limited in the embodiments of the present application.
In the embodiment of the application, the first electronic device periodically detects the interface information according to the preset period, so that whether the first electronic device needs to perform screen projection or whether the screen projection mode needs to be switched can be timely determined.
Optionally, before the step 101, the screen projection method provided in the embodiment of the present application may further include steps 106 to 107 described below.
Step 106, the first electronic device establishes connection with the second electronic device.
Step 107, the first electronic device acquires a screen projection mode supported by the second electronic device.
Step 108, the first electronic device determines a screen projection mode supported by both the first electronic device and the second electronic device and stores the screen projection mode as a preset screen projection mode.
In the embodiment of the application, the first electronic device and the second electronic device establish connection, and after the first electronic device determines the preset screen projection mode supported by the first electronic device and the second electronic device based on the screen projection mode supported by the second electronic device and the screen projection mode supported by the first electronic device, the first screen projection mode can be better determined based on the interface information.
Optionally, before the step 106, the screen projection method provided in the embodiment of the present application may further include the following steps 109 to 110, where the step 106 may be specifically implemented by the following step 106 a.
Step 109, the first electronic device displays at least one identification.
Each identifier is used for indicating one electronic device, and each electronic device is an electronic device which is in the same local area network as the first electronic device.
Step 110, the first electronic device receives a second input of the first identification from the user.
The first identifier is one of at least one identifier, and the first identifier is used for indicating the second electronic device.
Optionally, the second input may be a click input of the user to the first identifier, a slide input of the user to the first identifier, or another feasibility input, which is not limited in the embodiment of the present application.
For example, the descriptions of the click input and the slide input in the above step 103 may refer to the related descriptions of the click input and the slide input in the description of the first input, which are not described herein.
Step 106a, the first electronic device responds to the second input, establishes connection with the second electronic device, and stores the connection information.
Wherein, the connection information is: connection information between a first electronic device and a second electronic device in the same local area network.
Alternatively, the connection information may include an address of the second electronic device, and may further include second electronic device display attribute information. The display attribute information of the second electronic device may include resolution, frame rate, brightness, and the like of the second electronic device, which is not limited in the embodiment of the present application.
It can be appreciated that in the embodiment of the present application, the first electronic device stores the connection information in the storage area of the first electronic device.
In this embodiment of the present invention, the first electronic device stores the connection information, and when the electronic device needs to perform screen-casting connection or needs to switch screen-casting connection, the first electronic device may send, according to the stored connection information, a request message carrying a corresponding screen-casting protocol to the second electronic device, so as to establish screen-casting connection with the second electronic device.
In this embodiment of the present application, under the condition of at least two preset screen-throwing modes, no matter what screen-throwing mode is currently selected by the user, and then, the screen-throwing mode is switched to, only when connection is first established with the second electronic device, the user is required to select the second electronic device from a plurality of electronic devices in the same local area network, and then (because the connection information is stored in the first electronic device), no user operation is required, so that the electronic device for establishing the screen-throwing connection is reselected.
Optionally, the storing the connection information by the first electronic device may specifically store the connection information for the first electronic device into at least two screen projection protocols respectively. Wherein each screen projection protocol corresponds to one of at least two screen projection modes.
In the embodiment of the application, the first electronic device stores the connection information in all the screen projection protocols corresponding to the at least two screen projection modes respectively, and when the first electronic device determines the screen projection mode, the connection information can be obtained after the screen projection protocol is determined according to the screen projection mode, so that the operation flow can be simplified, the operation time can be saved, and the operation efficiency can be improved.
Illustratively, as shown in fig. 7, the names of all the screen-throwable devices are displayed on the first electronic device, the user clicks the electronic device 2 (i.e., the name of the second electronic device), the first electronic device determines to make a screen-throwing connection with the second electronic device, and the first electronic device stores connection information between the two electronic devices. Optionally, the first electronic device may synchronize the connection information to the at least two projection protocols, respectively. And the first electronic equipment updates the connection information in the at least two screen-throwing protocols (updates the screen-throwing connection protocol with other electronic equipment) until the first electronic equipment is connected with other local area networks and screen-throwing connection is established with other electronic equipment under the other local area networks.
Optionally, before the step 102, the screen projection method provided in the embodiment of the present application may further include the following steps 111 to 112.
Step 111, the first electronic device sends a first request message to the second electronic device based on the stored connection information.
The first request message is used for requesting to establish a first screen projection channel with the second electronic device, and the first screen projection channel is: and the screen projection channel corresponds to the first screen projection mode.
It may be appreciated that in the embodiment of the present application, the first request message is used to request the second electronic device to establish a first screen-throwing channel based on a first screen-throwing protocol, where the first screen-throwing protocol is a screen-throwing protocol corresponding to the first screen-throwing mode, and the first request message may carry an identifier for indicating the first screen-throwing protocol.
Alternatively, in the case where the first screen-casting mode is the push screen-casting mode, the first request message may carry a streaming media link (online video link, online music link, etc.). The first request message may also carry other content, which may be specifically determined according to actual use requirements, which is not limited in the embodiments of the present application.
Step 112, the first electronic device receives the response message returned by the second electronic device.
The response message is used for indicating the establishment of the first screen projection channel.
It can be understood that, when the first electronic device receives the response message, the screen-throwing connection is established successfully.
Accordingly, after step 111, the second electronic device receives the first request message before step 112. The second electronic device establishes a first screen projection channel based on the first request message. The second electronic device sends a response message to the first electronic device.
After the first screen projection channel is established, if the first screen projection mode is a mirror image screen projection mode, the first electronic device records screen content in real time, the screen content is transmitted to the second electronic device through the first screen projection channel, and then the second electronic device plays the recorded screen content (mirror image screen projection content) after receiving the screen content. If the first screen projection mode is the push screen projection mode, the second electronic device acquires corresponding streaming media content from the streaming media link through the first screen projection channel based on the streaming media link carried in the first request message, and then plays the streaming media content.
For example, as shown in fig. 8, S1, the first electronic device sends a first request message to the second electronic device, S2, the second electronic device sends a response message to the first electronic device, S3, (mirror screen-projection mode) the first electronic device sends mirror screen-projection content to the second electronic device, S4, (push screen-projection mode) the second electronic device obtains the streaming media content from the network (through the streaming media link).
At present, whatever screen-throwing mode is used, the corresponding screen-throwing connection is realized, and each time, the user needs to select the screen-throwing mode, wait to search the screen-throwing electronic equipment in the same local area network, select the target electronic equipment from the searched screen-throwing electronic equipment to throw the screen, and the like. Even in the case where a screen-drop connection has been established between two electronic devices, it is still necessary to go through the above steps.
The two screen projection modes (mirror image screen projection mode and push screen projection mode) have distinct and complementary advantages and disadvantages. The mirror image screen projection mode can completely transmit any picture of the small-screen electronic equipment to a large screen in real time, including but not limited to streaming media content such as photos, videos and music, and can also realize screen projection sharing of system pictures, setting menus, any APP interfaces and video feed stream interfaces, so that all members can participate in the current scene together conveniently, such as discussion of issues, film selection and man-machine interaction; however, the mirror image screen-throwing mode has the problems of larger picture delay and lower quality. The push screen-throwing mode can realize screen throwing of pictures with high resolution and high frame rate, and viewing experience is improved; but is only suitable for streaming media content, so the adaptability to screen content is poor, and the coverage is limited.
Optionally, before the step 111, if the first electronic device is operated in the second screen-projection mode, the first electronic device continues to operate in the second screen-projection mode before the step 112.
Illustratively, before the step 112, the screen projection method provided in the embodiment of the present application may further include a step 113 described below.
And 113, the first electronic device controls the first electronic device to keep the screen with the second electronic device in the second screen-throwing mode.
Wherein, the second screen projection mode is: and a screen projection mode which is different from the first screen projection mode in at least two screen projection modes.
Correspondingly, the second electronic device receives the first request message specifically includes: the second electronic device receives a first request message from the first electronic device during a screen projection based on a second screen projection mode (the first screen projection data is transmitted through a second screen projection channel). The second electronic device establishes a first screen projection channel based on the first request message specifically comprises: in the process of performing screen projection (transmitting first screen projection data through a second screen projection channel) based on the second screen projection mode, the second electronic equipment establishes the first screen projection channel based on the first request message.
After the first screen projection channel is established, the first electronic equipment stops to project the screen with the second electronic equipment through the second screen projection mode, and starts to control the first electronic equipment to keep to project the screen with the second electronic equipment through the second screen projection mode. It can be understood that the first electronic device controls the first electronic device to operate in the first screen projection mode.
Correspondingly, the second electronic device switches the transmission of the first screen projection data through the second screen projection channel to the transmission of the second screen projection data through the first screen projection channel.
Under the condition of at least two preset screen projection modes (screen projection services), when the second electronic equipment receives a first request message and detects that the first screen projection mode indicated in the first request message is inconsistent with the last matched screen projection mode (second screen projection mode), a new screen projection channel (first screen projection channel) is established under the condition of keeping the original screen projection channel (second screen projection channel) open (transmitting first screen projection data through the second screen projection channel). When the new screen-throwing channel is built, the second electronic equipment transmits second screen-throwing data (new screen-throwing data) through the first screen-throwing channel, so that the processes of displaying a black screen, waiting for loading, waiting for reconnection and the like in the screen-throwing mode switching process (gap) can be avoided, and further the coherent experience of a user is influenced.
Referring to fig. 9, an embodiment of the present application provides a screen projection method, and an exemplary description is given below of the screen projection method provided in the embodiment of the present application, taking an execution body as a second electronic device as an example. The method may include steps 201 to 203 described below.
Step 201, the second electronic device receives a first screen projection request sent by the first electronic device.
The first screen projection request is used for requesting screen projection through the second electronic equipment based on the first screen projection mode.
Step 202, when the second electronic device detects that the first screen projection mode is different from the second screen projection mode, the first screen projection channel is created under the condition that screen projection is performed based on the second screen projection mode.
The first screen projection channel is based on a first screen projection mode.
And 203, stopping screen projection through the second screen projection mode and starting screen projection through the first screen projection mode when the first screen projection channel is established by the second electronic equipment.
It is understood that the second electronic device receives the first request message from the first electronic device during the transmission of the first screen data through the second screen channel. And the second electronic equipment establishes a first screen projection channel based on the first request message in the process of transmitting the first screen projection data through the second screen projection channel. The second electronic device sends a response message to the first electronic device. And the second electronic equipment switches the transmission of the first screen projection data through the second screen projection channel to the transmission of the second screen projection data through the first screen projection channel.
In the embodiment of the application, in the process of switching the screen-throwing mode, before the new screen-throwing channel is established, the second electronic device keeps continuously transmitting the screen-throwing data through the original screen-throwing channel until the new screen-throwing channel is established, and then transmits the new screen-throwing data through the new screen-throwing channel. Therefore, the switching gap between the two screen throwing modes can be avoided, and the processes of screen blacking, waiting for loading, reestablishing connection and the like of the second electronic equipment can be avoided, so that the coherent experience of a user is affected.
The screen projection method provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 8, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided here.
The method for screen projection provided in the embodiment of the present application may be a screen projection device, or a functional module and/or a functional entity in the screen projection device for executing the screen projection method. In the embodiment of the application, a screen projection device is taken as an example to execute a screen projection method, and the device of the screen projection method provided in the embodiment of the application is described.
Fig. 10 shows a schematic structural diagram of a screen projection device according to an embodiment of the present application, where the screen projection device is applied to a first electronic device. As shown in fig. 10, the screen projection device 300 may include: a determining module 301 and a screen projection module 302; the determining module 301 is configured to determine a first screen-throwing mode based on interface information of a display interface of the first electronic device, where the first screen-throwing mode is one of at least two preset screen-throwing modes; the screen projection module 302 is configured to perform screen projection through a second electronic device based on the first screen projection mode, where the second electronic device is in the same local area network as the first electronic device.
Optionally, the screen projection device 300 further includes: a receiving module and a starting module; the receiving module is used for receiving a first input of a user before determining a first screen-throwing mode based on interface information of a display interface of the first electronic equipment, wherein the first input is used for starting part of or all of at least two screen-throwing modes; the starting module is used for responding to the first input and starting a screen throwing mode corresponding to the first input in at least two screen throwing modes or starting at least two screen throwing modes.
Optionally, the display interface is a background interface, the interface information is a background running program, and the determining module 301 is specifically configured to obtain the background running program and determine a priority of the background running program; and determining a preloaded screen-throwing mode based on the priority of the background running program, wherein the preloaded screen-throwing mode is a first screen-throwing mode.
Optionally, the screen projection device 300 further includes: a detection module; the detection module is used for periodically detecting the interface information according to a preset period before determining the first screen projection mode based on the interface information of the display interface of the first electronic device.
Optionally, the determining module 301 is specifically configured to determine the first screen projection mode based on the interface information and attribute information of the first electronic device.
Optionally, the screen projection device 300 further includes: a building module and an acquisition module; the establishing module is used for establishing connection with the second electronic equipment before determining the first screen projection mode based on interface information of a display interface of the first electronic equipment; the acquisition module is used for acquiring a screen projection mode supported by the second electronic equipment; the determining module 301 is further configured to determine a screen-throwing mode supported by both the first electronic device and the second electronic device, and store the screen-throwing mode as a preset screen-throwing mode.
Optionally, the screen projection device 300 further includes: a display module and a receiving module; the display module is used for displaying at least one identifier before connection with the second electronic device is established, wherein each identifier is used for indicating one electronic device, and each electronic device is an electronic device which is in the same local area network as the first electronic device; the receiving module is used for receiving second input of a user on a first identifier, wherein the first identifier is one of at least one identifier, and the first identifier is used for indicating second electronic equipment; the establishing module is specifically configured to establish a connection with the second electronic device in response to the second input, and store connection information.
The embodiment of the application provides a screen projection device, which is applied to first electronic equipment, and can determine a first screen projection mode by based on interface information of a display interface of the first electronic equipment, and perform screen projection by second electronic equipment based on the first screen projection mode, wherein the first screen projection mode is one of at least two preset screen projection modes; the second electronic device is in the same local area network as the first electronic device. According to the scheme, the screen projection mode can be automatically established or switched based on the interface information of the display interface of the first electronic equipment, so that the operation process can be simplified, the operation time is saved, and the operation efficiency is improved.
Fig. 11 shows a schematic structural diagram of a screen projection device according to an embodiment of the present application, where the screen projection device is applied to a second electronic device. As shown in fig. 11, the screen projection device 30 may include: a receiving module 31, a creating module 32 and a screen projection module 33; the receiving module 31 is configured to receive a first screen-throwing request sent by a first electronic device, where the first screen-throwing request is used for requesting to throw a screen through a second electronic device based on a first screen-throwing mode; the creating module 32 is configured to create a first screen-throwing channel when detecting that the first screen-throwing mode is different from the second screen-throwing mode and when keeping the screen-throwing based on the second screen-throwing mode, the first screen-throwing channel is a screen-throwing channel based on the first screen-throwing mode; the screen projection module 33 is configured to stop projection through the second screen projection mode and projection through the first screen projection mode when the first screen projection channel is created.
The embodiment of the application provides a screen projection device, which is applied to second electronic equipment, and can be used for receiving a first screen projection request sent by first electronic equipment, wherein the first screen projection request is used for requesting screen projection through the second electronic equipment based on a first screen projection mode; under the condition that the first screen projection mode is detected to be different from the second screen projection mode, a first screen projection channel is established under the condition that the screen projection is carried out based on the second screen projection mode, and the first screen projection channel is based on the first screen projection mode; and stopping screen projection through the second screen projection mode when the first screen projection channel is established, and performing screen projection through the first screen projection mode. In the scheme, in the process of switching the screen-throwing mode, before the new screen-throwing channel is established, the second electronic equipment keeps continuously transmitting the screen-throwing data through the original screen-throwing channel until the new screen-throwing channel is established, and then transmits the new screen-throwing data through the new screen-throwing channel. Therefore, the switching gap between the two screen throwing modes can be avoided, and the processes of screen blacking, waiting for loading, reestablishing connection and the like of the second electronic equipment can be avoided, so that the coherent experience of a user is affected.
As shown in fig. 12, the second electronic device may include a screen request monitoring module (corresponding to the receiving module 31 described above), a screen service control module (corresponding to the creating module 32 described above), a video decoding module, and a play display module, where the screen service control module is used as a core, and the screen request monitoring module is assisted. The screen-throwing request monitoring module is responsible for detecting the type of the received screen-throwing protocol. When the newly received screen projection protocol is inconsistent with the screen projection protocol matched last time, the screen projection service control module is informed, and the screen projection service control module establishes a new screen projection channel under the condition of keeping the original screen projection channel open (the video decoding module decodes the second screen projection data transmitted by the original screen projection channel, and the display module displays or plays the second screen projection data). When the new screen-throwing channel is built, the screen-throwing service control module switches the video decoding module to the new screen-throwing channel, and the playing display module displays or plays the first screen-throwing data, so that the processes of screen-throwing, waiting for loading, reestablishing connection and the like of the second electronic equipment in the two modes are avoided, and the coherent experience of a user is influenced.
The beneficial effects of the various implementation manners in this embodiment may be specifically referred to the beneficial effects of the corresponding implementation manners in the foregoing method embodiment, and in order to avoid repetition, the description is omitted here.
The screen projection device in the embodiment of the application can be a device, and also can be an electronic device or a component, an integrated circuit or a chip in the electronic device. The electronic device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (NetworkAttached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The screen projection device in the embodiment of the application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
The screen projection device provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 9, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided here.
Optionally, as shown in fig. 13, the embodiment of the present application further provides an electronic device 400, including a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and capable of running on the processor 401, where the program or the instruction implements each process of the above-mentioned embodiment of the screen projection method when executed by the processor 401, and the process can achieve the same technical effect, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 14 is a schematic hardware structure of an electronic device implementing an embodiment of the present application. The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, and processor 510.
Those skilled in the art will appreciate that the electronic device 500 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 510 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 14 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
In the case where the electronic device 500 is a first electronic device, the processor 510 is configured to determine, based on interface information of a display interface of the first electronic device, a first screen-projection mode, where the first screen-projection mode is one of at least two preset screen-projection modes; based on the first screen projection mode, screen projection is performed through the second electronic equipment, and the second electronic equipment and the first electronic equipment are located in the same local area network.
Optionally, the user input unit 507 is configured to receive a first input of a user before determining a first screen mode based on interface information of a display interface of the first electronic device, where the first input is used to start a part of or all the screen modes in the at least two screen modes; the processor 510 is further configured to initiate a screen mode corresponding to the first input of the at least two screen modes, or initiate at least two screen modes, in response to the first input.
Optionally, the display interface is a background interface, the interface information is a background running program, and the processor 510 is specifically configured to obtain the background running program and determine a priority of the background running program; and determining a preloaded screen-throwing mode based on the priority of the background running program, wherein the preloaded screen-throwing mode is a first screen-throwing mode.
Optionally, the processor 510 is further configured to periodically detect the interface information according to a preset period before determining the first screen projection mode based on the interface information of the display interface of the first electronic device.
Optionally, the processor 510 is specifically configured to determine the first screen-throwing mode based on the interface information and attribute information of the first electronic device.
Optionally, the processor 510 is further configured to establish a connection with the second electronic device before determining the first screen projection mode based on the interface information of the display interface of the first electronic device; acquiring a screen throwing mode supported by second electronic equipment; and determining a screen projection mode supported by the first electronic equipment and the second electronic equipment and storing the screen projection mode as a preset screen projection mode.
Optionally, a display unit 506, configured to display at least one identifier before establishing a connection with the second electronic device, where each identifier is used to indicate one electronic device, and each electronic device is an electronic device that is in the same local area network as the first electronic device; the user input unit 507 is further configured to receive a second input of a first identifier from a user, where the first identifier is one of at least one identifier, and the first identifier is used to indicate the second electronic device; the processor 510 is specifically configured to establish a connection with the second electronic device in response to the second input, and store the connection information.
The electronic device provided by the embodiment of the application is a first electronic device, a first screen-throwing mode can be determined through interface information based on a display interface of the first electronic device, and screen throwing is performed through a second electronic device based on the first screen-throwing mode, wherein the first screen-throwing mode is one of at least two preset screen-throwing modes; the second electronic device is in the same local area network as the first electronic device. According to the scheme, the screen projection mode can be automatically established or switched based on the interface information of the display interface of the first electronic equipment, so that the operation process can be simplified, the operation time is saved, and the operation efficiency is improved.
In the case where the electronic device 500 is a second electronic device, the radio frequency unit 501 is configured to receive a first screen-projection request sent by a first electronic device, where the first screen-projection request is used for requesting to perform screen projection through the second electronic device based on a first screen-projection mode; the processor 510 is configured to create a first screen-throwing channel when detecting that the first screen-throwing mode is different from the second screen-throwing mode and when keeping the screen-throwing based on the second screen-throwing mode, the first screen-throwing channel is a screen-throwing channel based on the first screen-throwing mode; and stopping screen projection through the second screen projection mode when the first screen projection channel is established, and performing screen projection through the first screen projection mode.
The electronic device provided by the embodiment of the application is a second electronic device, and the first screen-throwing request sent by the first electronic device can be received, wherein the first screen-throwing request is used for requesting screen throwing through the second electronic device based on a first screen-throwing mode; under the condition that the first screen projection mode is detected to be different from the second screen projection mode, a first screen projection channel is established under the condition that the screen projection is carried out based on the second screen projection mode, and the first screen projection channel is based on the first screen projection mode; and stopping screen projection through the second screen projection mode when the first screen projection channel is established, and performing screen projection through the first screen projection mode. In the scheme, in the process of switching the screen-throwing mode, before the new screen-throwing channel is established, the second electronic equipment keeps continuously transmitting the screen-throwing data through the original screen-throwing channel until the new screen-throwing channel is established, and then transmits the new screen-throwing data through the new screen-throwing channel. Therefore, the switching gap between the two screen throwing modes can be avoided, and the processes of screen blacking, waiting for loading, reestablishing connection and the like of the second electronic equipment can be avoided, so that the coherent experience of a user is affected.
It should be understood that, in the embodiment of the present application, the radio frequency unit 501 may be configured to receive and send information or signals during a call, specifically, receive downlink data from a base station, and then process the received downlink data with the processor 510; and, the uplink data is transmitted to the base station. In addition, the radio frequency unit 501 may also communicate with networks and other devices through a wireless communication system. The electronic device provides wireless broadband internet access to the user through the network module 502, such as helping the user to send and receive e-mail, browse web pages, access streaming media, and the like. The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the electronic device 500. The input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen. Touch panel 5071 may include two parts, a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. The memory 509 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. Processor 510 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 510.
The embodiment of the application also provides a screen projection system, which comprises a screen projection device as shown in fig. 10 and a screen projection device as shown in fig. 11; alternatively, the screen projection system includes an electronic device (including a first electronic device and a second electronic device) as described in fig. 13; alternatively, the screen projection system includes an electronic device (including a first electronic device and a second electronic device) as described in fig. 14. The screen projection system can realize the processes of the screen projection method embodiment, can achieve the same technical effect, and is not repeated here.
The embodiment of the application further provides a readable storage medium, on which a program or an instruction is stored, where the program or the instruction realizes each process of the above-mentioned embodiment of the screen projection method when being executed by a processor, and the same technical effects can be achieved, so that repetition is avoided, and no detailed description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (RandomAccess Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running a program or an instruction, implementing each process of the above-mentioned screen projection method embodiment, and can achieve the same technical effect, so as to avoid repetition, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing an electronic device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (11)

1. A screen projection method applied to a first electronic device, the method comprising:
determining a first screen projection mode based on interface information of a display interface of the first electronic device, wherein the first screen projection mode is one of at least two preset screen projection modes;
based on the first screen projection mode, screen projection is performed through second electronic equipment, and the second electronic equipment and the first electronic equipment are located in the same local area network;
the determining a first screen projection mode based on interface information of a display interface of the first electronic device includes:
determining the first screen projection mode based on interface information of a display interface of the first electronic device and attribute information of the first electronic device;
the display interface is a background interface, the interface information is a background running program, and the determining a first screen projection mode based on the interface information of the display interface of the first electronic device includes:
acquiring the background running program and determining the priority of the background running program;
and determining a preloaded screen-throwing mode based on the priority of the background running program, wherein the preloaded screen-throwing mode is the first screen-throwing mode.
2. The method of claim 1, wherein prior to determining the first drop mode based on interface information of the display interface of the first electronic device, the method further comprises:
receiving a first input of a user, wherein the first input is used for starting a part of screen projection modes or all screen projection modes in the at least two screen projection modes;
and responding to the first input, and starting a screen projection mode corresponding to the first input in the at least two screen projection modes or starting the at least two screen projection modes.
3. The method of claim 1, wherein prior to determining the first drop mode based on interface information of the display interface of the first electronic device, the method further comprises:
and periodically detecting the interface information according to a preset period.
4. The method of claim 1, wherein prior to determining the first drop mode based on interface information of the display interface of the first electronic device, the method further comprises:
establishing a connection with the second electronic device;
acquiring a screen projection mode supported by the second electronic equipment;
and determining a screen projection mode supported by the first electronic equipment and the second electronic equipment and storing the screen projection mode as a preset screen projection mode.
5. The method of claim 4, wherein prior to establishing the connection with the second electronic device, the method further comprises:
displaying at least one identifier, wherein each identifier is used for indicating one electronic device, and each electronic device is an electronic device which is in the same local area network as the first electronic device;
receiving a second input of a first identifier from a user, wherein the first identifier is one of the at least one identifier, and the first identifier is used for indicating the second electronic device;
the establishing connection with the second electronic device includes:
and responding to the second input, establishing connection with the second electronic equipment, and storing connection information.
6. A screen projection device applied to a first electronic device, the device comprising: a determining module and a screen throwing module;
the determining module is used for determining a first screen projection mode based on interface information of a display interface of the first electronic device, wherein the first screen projection mode is one of at least two preset screen projection modes;
the screen projection module is used for projecting a screen through a second electronic device based on the first screen projection mode, and the second electronic device and the first electronic device are in the same local area network;
The determining module is specifically configured to determine the first screen projection mode based on interface information of a display interface of the first electronic device and attribute information of the first electronic device;
the display interface is a background interface, the interface information is a background running program, and the determining module is specifically configured to obtain the background running program and determine the priority of the background running program; and determining a preloaded screen-throwing mode based on the priority of the background running program, wherein the preloaded screen-throwing mode is the first screen-throwing mode.
7. The apparatus of claim 6, wherein the apparatus further comprises: a receiving module and a starting module;
the receiving module is used for receiving a first input of a user before the first screen-throwing mode is determined based on interface information of a display interface of the first electronic device, wherein the first input is used for starting part of the screen-throwing modes or all the screen-throwing modes in the at least two screen-throwing modes;
the starting module is used for responding to the first input and starting a screen projection mode corresponding to the first input in the at least two screen projection modes or starting the at least two screen projection modes.
8. The apparatus of claim 6, wherein the apparatus further comprises: a detection module;
the detection module is used for periodically detecting the interface information according to a preset period before the first screen projection mode is determined based on the interface information of the display interface of the first electronic device.
9. The apparatus of claim 6, wherein the apparatus further comprises: a building module and an acquisition module;
the establishing module is used for establishing connection with the second electronic equipment before the first screen projection mode is determined based on the interface information of the display interface of the first electronic equipment;
the acquisition module is used for acquiring a screen projection mode supported by the second electronic equipment;
the determining module is further configured to determine a screen projection mode supported by the first electronic device and the second electronic device, and store the screen projection mode as a preset screen projection mode.
10. The apparatus of claim 9, wherein the apparatus further comprises: a display module and a receiving module;
the display module is used for displaying at least one identifier before the connection with the second electronic device is established, wherein each identifier is used for indicating one electronic device, and each electronic device is an electronic device in the same local area network as the first electronic device;
The receiving module is used for receiving a second input of a first identifier from a user, the first identifier is one of the at least one identifier, and the first identifier is used for indicating the second electronic equipment;
the establishing module is specifically configured to establish a connection with the second electronic device in response to the second input, and store connection information.
11. A screen projection system comprising a screen projection device as claimed in any one of claims 6 to 10.
CN202110121814.0A 2021-01-28 2021-01-28 Screen projection method, device and system Active CN113014972B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110121814.0A CN113014972B (en) 2021-01-28 2021-01-28 Screen projection method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110121814.0A CN113014972B (en) 2021-01-28 2021-01-28 Screen projection method, device and system

Publications (2)

Publication Number Publication Date
CN113014972A CN113014972A (en) 2021-06-22
CN113014972B true CN113014972B (en) 2024-02-27

Family

ID=76385285

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110121814.0A Active CN113014972B (en) 2021-01-28 2021-01-28 Screen projection method, device and system

Country Status (1)

Country Link
CN (1) CN113014972B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590067A (en) * 2021-07-28 2021-11-02 深圳创维-Rgb电子有限公司 Screen projection control method, system, device and computer readable storage medium
CN113810760B (en) * 2021-08-17 2023-04-21 荣耀终端有限公司 Method for controlling screen projection, electronic device and computer readable storage medium
CN114995732B (en) * 2021-09-06 2024-04-23 荣耀终端有限公司 Screen projection method, electronic equipment and storage medium
CN115857850A (en) * 2021-09-26 2023-03-28 荣耀终端有限公司 Screen projection abnormity processing method and electronic equipment
CN114546311B (en) * 2021-12-30 2022-08-09 北京联合永道软件股份有限公司 Multi-display-terminal screen projection system and method for intelligent classroom

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012238120A (en) * 2011-05-10 2012-12-06 Canon Inc Information processing device and information processing method
CN103338139A (en) * 2013-06-18 2013-10-02 华为技术有限公司 Multi-screen interaction method and device, and terminal equipment
CN105681881A (en) * 2015-11-06 2016-06-15 乐视移动智能信息技术(北京)有限公司 Multimedia data transmission method based on mobile terminal, and mobile terminal
CN106375836A (en) * 2016-09-27 2017-02-01 广东小天才科技有限公司 Video resolution switching method and device
CN106658111A (en) * 2017-01-04 2017-05-10 北京竞业达数码科技有限公司 Screen projection method and device
CN107797781A (en) * 2016-09-02 2018-03-13 中兴通讯股份有限公司 Multi-screen interactive connection method and terminal
CN108834203A (en) * 2018-06-29 2018-11-16 Oppo(重庆)智能科技有限公司 Method for switching network, device, terminal and storage medium
CN110399112A (en) * 2019-08-28 2019-11-01 北京小米移动软件有限公司 A kind of throwing screen method and device
CN110418188A (en) * 2019-08-27 2019-11-05 四川长虹电器股份有限公司 The quick intelligent terminal for throwing screen and method
CN110928511A (en) * 2019-11-13 2020-03-27 讯飞幻境(北京)科技有限公司 Screen projection method and device and electronic equipment
CN111193965A (en) * 2020-01-15 2020-05-22 北京奇艺世纪科技有限公司 Video playing method, video processing method and device
CN112165520A (en) * 2020-09-24 2021-01-01 Tcl海外电子(惠州)有限公司 Screen projection control method, screen projection receiving end and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10110393B2 (en) * 2013-09-30 2018-10-23 Cavium, Inc. Protocol switching over multi-network interface
US11550527B2 (en) * 2019-03-28 2023-01-10 Hisense Visual Technology Co., Ltd. Media file processing method for display device and display device

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012238120A (en) * 2011-05-10 2012-12-06 Canon Inc Information processing device and information processing method
CN103338139A (en) * 2013-06-18 2013-10-02 华为技术有限公司 Multi-screen interaction method and device, and terminal equipment
WO2017076035A1 (en) * 2015-11-06 2017-05-11 乐视控股(北京)有限公司 Multimedia data sending method based on mobile terminal, and mobile terminal
CN105681881A (en) * 2015-11-06 2016-06-15 乐视移动智能信息技术(北京)有限公司 Multimedia data transmission method based on mobile terminal, and mobile terminal
CN107797781A (en) * 2016-09-02 2018-03-13 中兴通讯股份有限公司 Multi-screen interactive connection method and terminal
CN106375836A (en) * 2016-09-27 2017-02-01 广东小天才科技有限公司 Video resolution switching method and device
CN106658111A (en) * 2017-01-04 2017-05-10 北京竞业达数码科技有限公司 Screen projection method and device
CN108834203A (en) * 2018-06-29 2018-11-16 Oppo(重庆)智能科技有限公司 Method for switching network, device, terminal and storage medium
CN110418188A (en) * 2019-08-27 2019-11-05 四川长虹电器股份有限公司 The quick intelligent terminal for throwing screen and method
CN110399112A (en) * 2019-08-28 2019-11-01 北京小米移动软件有限公司 A kind of throwing screen method and device
CN110928511A (en) * 2019-11-13 2020-03-27 讯飞幻境(北京)科技有限公司 Screen projection method and device and electronic equipment
CN111193965A (en) * 2020-01-15 2020-05-22 北京奇艺世纪科技有限公司 Video playing method, video processing method and device
CN112165520A (en) * 2020-09-24 2021-01-01 Tcl海外电子(惠州)有限公司 Screen projection control method, screen projection receiving end and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
一种基于细分行业云的OTT流媒体视频终端软件设计;潘涵洋;于翔;叶德建;;计算机应用与软件;20160715(第07期);全文 *

Also Published As

Publication number Publication date
CN113014972A (en) 2021-06-22

Similar Documents

Publication Publication Date Title
CN113014972B (en) Screen projection method, device and system
CN106791892B (en) Method, device and system for live broadcasting of wheelhouses
JP6976410B2 (en) Communication methods, devices and systems on live relay channels
WO2020244266A1 (en) Remote control method for smart television, mobile terminal, and smart television
WO2019072096A1 (en) Interactive method, device, system and computer readable storage medium in live video streaming
CN111277884B (en) Video playing method and device
CN112350981B (en) Method, device and system for switching communication protocol
CN112367543B (en) Display device, mobile terminal, screen projection method and screen projection system
JP2018505504A (en) Advertisement push system, apparatus and method
CN107333162B (en) Method and device for playing live video
CN105573609A (en) Content sharing method and device
CN104010222A (en) Method, device and system for displaying comment information
CN103997676A (en) Information display method, information display device and information display system
US11523146B2 (en) Live broadcast method and apparatus, electronic device, and storage medium
CN104104992A (en) Multi-screen interaction method, device and system
CN109842819B (en) Video playing interaction method, device, system, user terminal and medium
US20110075031A1 (en) Apparatus and method for providing digital broadcasting in mobile terminal
US20210250540A1 (en) Method Of Performing Video Call And Display Device
US20240292089A1 (en) Video sharing method and apparatus, electronic device, and storage medium
WO2020088059A1 (en) Video playback method, video playback apparatus, electronic device, and storage medium
CN112565063B (en) Message processing method and device and electronic equipment
TW201327202A (en) Cooperative provision of personalized user functions using shared and personal devices
JP2022079419A (en) Screen display method and system
CN113810761B (en) Multi-terminal interaction method, device and system
CN113365153A (en) Data sharing method and device, storage medium and electronic equipment

Legal Events

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