CN113784192B - Screen projection method, screen projection device and electronic equipment - Google Patents

Screen projection method, screen projection device and electronic equipment Download PDF

Info

Publication number
CN113784192B
CN113784192B CN202111080024.9A CN202111080024A CN113784192B CN 113784192 B CN113784192 B CN 113784192B CN 202111080024 A CN202111080024 A CN 202111080024A CN 113784192 B CN113784192 B CN 113784192B
Authority
CN
China
Prior art keywords
electronic equipment
screen
electronic device
content
display
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
CN202111080024.9A
Other languages
Chinese (zh)
Other versions
CN113784192A (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 CN202111080024.9A priority Critical patent/CN113784192B/en
Publication of CN113784192A publication Critical patent/CN113784192A/en
Application granted granted Critical
Publication of CN113784192B publication Critical patent/CN113784192B/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/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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Environmental & Geological Engineering (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a screen projection method, a screen projection device and electronic equipment, and belongs to the technical field of screen projection, wherein the screen projection method comprises the following steps: detecting position information between the first electronic device and the second electronic device; under the condition that the position information meets the preset condition, displaying the screen projection content of the first electronic equipment on the second electronic equipment; and adjusting the display size and the display position of the screen throwing content on the second electronic equipment according to the position information.

Description

Screen projection method, screen projection device and electronic equipment
Technical Field
The application belongs to the technical field of screen projection, and particularly relates to a screen projection method, a screen projection device and electronic equipment.
Background
In the related art, a mobile terminal can screen its own display content to a device such as a television or a computer.
When the screen is required to be projected, the user needs to search for nearby equipment capable of projecting the screen, and then the mobile terminal is connected with the equipment capable of projecting the screen by clicking.
In the whole screen throwing process, a user has certain difficulty in operating the electronic equipment, and the electronic equipment is inconvenient to use by the user.
Disclosure of Invention
The embodiment of the application aims to provide a screen projection method, a screen projection device, electronic equipment, a storage medium and a chip, which can improve the use convenience of the electronic equipment in the screen projection process.
In a first aspect, an embodiment of the present application provides a screen projection method, including:
detecting position information between the first electronic device and the second electronic device;
under the condition that the position information meets the preset condition, displaying the screen projection content of the first electronic equipment on the second electronic equipment;
and adjusting the display size and the display position of the screen throwing content on the second electronic equipment according to the position information.
In a second aspect, an embodiment of the present application provides a screen projection device, including:
The detection module is used for detecting position information between the first electronic equipment and the second electronic equipment, wherein the position information comprises a distance;
The sending module is used for displaying the screen projection content of the first electronic equipment on the second electronic equipment under the condition that the position information meets the preset condition;
And the adjusting module is used for adjusting the display size and the display position of the screen throwing content on the second electronic equipment according to the position information.
In a third aspect, an embodiment of the present application provides an electronic device, including a first processor, a first memory, and a program or instruction stored on the first memory and executable on the first processor, the program or instruction implementing the steps of the method as in the first aspect when executed by the first processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method as in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface coupled to the processor for running a program or instructions implementing the steps of the method as in the first aspect.
In the embodiment of the application, in the screen throwing process, the user only needs to adjust the position of the first electronic equipment, the first electronic equipment can realize the function of automatic screen throwing, the user does not need to click the electronic equipment, the operation of the user is simplified, and the convenience of the user for using the first electronic equipment is improved. When the display size and the display position are adjusted, the adjustment function can be realized only by moving the mobile phone without clicking and other operations on the electronic equipment by a user, and the use convenience of the user on the first electronic equipment is further improved.
Drawings
FIG. 1 shows one of the flow diagrams of the screen projection method according to the embodiment of the application;
FIG. 2 illustrates one of the interaction diagrams of a first electronic device and a second electronic device in an embodiment in accordance with the application;
FIG. 3 shows a second schematic diagram of interaction of a first electronic device and a second electronic device in an embodiment in accordance with the application;
FIG. 4 illustrates a third schematic interaction diagram of a first electronic device and a second electronic device in an embodiment in accordance with the application;
FIG. 5 shows a fourth schematic diagram of interaction of a first electronic device and a second electronic device in an embodiment in accordance with the application;
FIG. 6 shows a fifth schematic diagram of interaction of a first electronic device and a second electronic device in an embodiment in accordance with the application;
FIG. 7 shows a sixth schematic diagram of interaction of a first electronic device and a second electronic device in an embodiment in accordance with the application;
FIG. 8 shows a seventh schematic diagram of interaction of a first electronic device and a second electronic device in an embodiment in accordance with the application;
FIG. 9 shows a block diagram of a screen projection device according to an embodiment of the present application;
FIG. 10 shows a block diagram of an electronic device according to an embodiment of the application;
fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are obtained by a person skilled in the art based on the embodiments of the present application, fall within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements 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 are not limited to the number of objects, such as 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.
The following describes in detail the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
There is provided a screen projection method, applied to a terminal, fig. 1 shows one of flowcharts of the screen projection method according to an embodiment of the present application, and as shown in fig. 1, the method includes:
Step 102, detecting position information between a first electronic device and a second electronic device;
Step 104, displaying the screen projection content of the first electronic equipment on the second electronic equipment under the condition that the position information meets the preset condition;
And step 106, adjusting the display size and the display position of the screen throwing content on the second electronic equipment according to the position information.
In the embodiment of the application, when a user wants to perform screen projection operation on the content on the first electronic device, the first electronic device detects the position information of the first electronic device relative to surrounding second electronic devices. Under the condition that the position information meets the preset condition, the first electronic equipment can throw the screen, and at the moment, the first electronic equipment can send the screen throwing content to the second electronic equipment.
In the screen throwing process, the user only needs to adjust the position of the first electronic equipment, the first electronic equipment can realize the function of automatically throwing the screen, the user does not need to click the electronic equipment, the operation of the user is simplified, and the convenience of the user for using the first electronic equipment is improved.
In one possible application, when the first electronic device transmits the screen-cast content to the second electronic device, the screen-cast content is displayed at a preset location of the second electronic device in a preset size.
When the user needs to adjust the display size and the display position of the screen throwing content, the position of the first electronic device can be changed, so that the display size and the display position of the screen throwing content on the second electronic device are adjusted according to the position information. When the display size and the display position are adjusted, the adjustment function can be realized only by moving the mobile phone without clicking and other operations on the electronic equipment by a user, and the use convenience of the user on the first electronic equipment is further improved.
In one possible application, the first electronic device may be a mobile terminal, for example, a mobile phone, a tablet computer, etc., the second electronic device may be a television, a computer, etc., and the area of the display screen of the second electronic device is larger than that of the display screen of the first electronic device, so as to improve the viewing experience or viewing convenience, and display or play the screen-throwing content through the second electronic device.
In one possible application, as shown in fig. 2, in order to avoid the problem of mislanding, a landing switch may be further disposed on the first electronic device 310, when a user turns on the landing switch on the first electronic device 310, the first electronic device 310 may automatically search for a nearby second electronic device 320, and when the landing switch is in a turned-off state, even if the distance between the first electronic device 310 and the second electronic device 320 is less than or equal to a set threshold, the first electronic device 310 will not send the landing content to the second electronic device 320.
In the related art, when adjusting the display position and the display size of the screen-cast content, an operation needs to be performed on the first electronic device, for example, the first electronic device has an option of adjusting the direction on the display screen, and the user can drag the display screen of the first electronic device to realize scaling of the screen-cast content. In this embodiment, the user only needs to move the first electronic device, so that the adjustment of the display position and the display size of the screen content can be automatically realized, and the convenience of the user for using the first electronic device is further improved. Even for some old people and children who are not good at operating the electronic equipment, the parameter information of the screen projection content can be adjusted through simple movement of the first electronic equipment, so that the operation difficulty of a user on the first electronic equipment is reduced.
In an exemplary embodiment, when the user moves the mobile phone, the projection of the first electronic device on the display screen of the second electronic device moves leftwards, so that the display position of the screen throwing content also moves leftwards, and the user does not need to perform operations such as setting on the first electronic device, so that the operation steps of the user when using the first electronic device to throw the screen are simplified.
In one possible embodiment of the application, the location information comprises a distance; and displaying the screen projection content of the first electronic device on the second electronic device under the condition that the position information meets the preset condition, wherein the screen projection content comprises the following steps: and displaying the screen projection content of the first electronic equipment on the second electronic equipment under the condition that the distance is smaller than or equal to the set distance.
In the embodiment, the user only needs to approach the first electronic device to the second electronic device, and when the distance between the first electronic device and the second electronic device is relatively short, the first electronic device can realize the function of automatic screen projection, so that the user does not need to click the electronic device, the operation of the user is simplified, and the convenience of the user for using the first electronic device is improved.
For example, as shown in fig. 3, when the distance between the first electronic device 310 and the second electronic device 320 is less than or equal to the set threshold, the screen content of the first electronic device 310 sends the second electronic device 320, and the first electronic device 310 may be located at any position around the second electronic device 320.
Of course, in order to avoid the problem of wrong screen throwing, the screen of the first electronic device opposite to the screen of the second electronic device may be used as a judging condition, that is, when the first electronic device opposite to the screen of the second electronic device and the distance between the first electronic device and the second electronic device is less than or equal to the set threshold, the first electronic device sends the screen throwing content to the second electronic device.
In one possible embodiment of the application, the location information comprises location change information; according to the position information, adjusting the display size and the display position of the screen-throwing content on the second electronic equipment, including: under the condition that the position change information of the first electronic equipment is displacement along a first direction, adjusting the display position of the screen throwing content on the second electronic equipment; and adjusting the display size of the screen content on the second electronic device under the condition that the position change information of the first electronic device is displaced along the second direction.
In this embodiment, it is defined when to adjust the display position information of the screen-cast content or adjust the display size of the screen-cast content, specifically, when the electronic device moves in the first direction, that is, the direction in which the first position points to the second position is the first direction, the display position of the screen-cast content is adjusted. The electronic equipment moves along a second direction, namely, the direction of the first position pointing to the second position is the second direction, at the moment, the display size of the screen throwing content is adjusted, wherein the first direction and the second direction are different directions, and when a user moves the first electronic equipment towards the different directions, different parameters of the screen throwing content are adjusted.
In one possible application, the user may set the first direction and the second direction according to usage habits.
The user has realized the adjustment of the parameter information of throwing the screen content through the simple removal to first electronic equipment, and in whole throwing the screen in-process, the user only need open throw the screen switch, begins to throw the screen and accomplish through removing first electronic equipment to throwing the parameter adjustment of screen content, has simplified user's operation, is favorable to promoting user experience to first electronic equipment.
In some embodiments of the application, the second direction is perpendicular to a display screen of the second electronic device; the first direction is perpendicular to the second direction.
In this embodiment, one possible arrangement of the first direction and the second direction is given, in particular, the second direction is perpendicular to the display interface of the second electronic device, and the first electronic device approaches or moves away from the display screen of the second electronic device when the first electronic device moves in the second direction. The first direction is perpendicular to the second direction, and when the first electronic device moves along the first direction, the projection position of the first electronic device on the display screen of the second electronic device changes.
As shown in fig. 4, fig. 5 and fig. 6, when the user moves along the first direction, the display position of the screen-throwing content on the second electronic device changes, that is, the moving direction of the user on the first electronic device is consistent with the changing direction of the display position of the screen-throwing content, the user adjusts the display position of the screen-throwing content more intuitively and simply, and the user can move the first electronic device along any direction parallel to the display screen of the second electronic device, so that the display position of the screen-throwing content is adjusted accordingly. When the user moves along the second direction, the display size of the screen throwing content on the second electronic equipment changes, and the user can memorize the first direction and the second direction easily, so that the adjustment process is simpler, and the convenience of the user for using the first electronic equipment is improved.
As shown in fig. 7 and 8, when the user moves the first electronic device towards the display screen of the second electronic device, the display size of the screen throwing content is increased, when the user moves the first electronic device away from the display screen of the second electronic device, the display size of the screen throwing content is reduced, so that the screen throwing content is set. When the user moves the first electronic device, the user may move along the first direction and the second direction, and at the same time, the display position and the display size of the screen content are adjusted.
In one possible embodiment of the present application, after adjusting the display size and the display position of the screen-cast content on the second electronic device, the method further includes: acquiring the moving speed of the first electronic equipment; and stopping adjusting the display position and the display size of the screen-throwing content on the second electronic equipment based on the fact that the moving speed of the first electronic equipment is greater than or equal to the preset speed.
In this embodiment, when the final display size and display position of the screen-throwing content need to be determined, the judgment may be performed according to the moving speed of the first electronic device, specifically, when the moving speed of the first electronic device is greater than the preset speed, the adjustment of the display position and display size is stopped, and the current display size and display position are taken as the final display size and display position.
When the target display size and the display position are determined, the user still does not need to click and other operations on the first electronic equipment, the whole screen projection process is basically realized through different moving modes of the first electronic equipment, the operation difficulty of the first electronic equipment of the user is reduced, and the convenience in use of the first electronic equipment is improved.
For example, when the user is satisfied with the display position and the display size of the current screen content, the first electronic device can be quickly removed, and the second electronic device displays and plays the screen content at the current display position and the display size. The operation of the user is facilitated to be simplified.
In one possible embodiment of the present application, displaying the screen content of the first electronic device on the second electronic device includes:
Acquiring the type of the second electronic equipment;
according to the category of the second electronic equipment, determining screen projection content matched with the category;
and displaying the screen content matched with the category on the second electronic device.
In this embodiment, the category of the second electronic device is determined, i.e. the type or function of the second electronic device needs to be determined, after which the screen content matching the category information is retrieved on the first electronic device and then sent to the second electronic device.
When the screen throwing operation is carried out, the first electronic equipment automatically sends screen throwing content according to the type of the second electronic equipment, so that the second electronic equipment can play the screen throwing content matched with the type of the second electronic equipment, a user does not need to select the screen throwing content, the operation of the user is simplified, the function of directional screen throwing is realized, the content which does not need to be played is hidden, the privacy of the first electronic equipment is improved, the screen throwing efficiency is improved, and the time is saved.
In one possible application, when the screen-throwing content matched with the category information is sent to the second electronic device, other content except the current screen-throwing content in the first electronic device is shielded, specifically, the first electronic device can automatically shield the other content, or the first electronic device can still display the other content, and the second electronic device shields the other content.
In an exemplary embodiment, when the second electronic device selected by the user is an in-vehicle advertisement display, the video application of the first electronic device is automatically opened and the screen content is sent, so that the in-vehicle advertisement display can play the video content.
When the second electronic device selected by the user is the vehicle navigation display, the navigation application in the first electronic device is automatically opened, so that the vehicle navigation display plays navigation and other contents, in the process, the user does not need to click and other operations on the first electronic device, and the safety in the driving process is improved.
When the second electronic equipment selected by the user is of an enterprise office type, the office software application in the first electronic equipment is automatically opened, the user does not need to singly click the office software application on the first electronic equipment, and the operation of the user is simplified.
According to the type, the function label and the like of the second electronic equipment, matched screen throwing contents are automatically thrown, and the purposes of directional screen throwing, rapid screen throwing, privacy protection and the like are achieved.
In one possible embodiment of the present application, under the condition that at least two second electronic devices with a distance from the first electronic device being less than or equal to a preset distance, selecting one of the at least two second electronic devices with a minimum distance from the first electronic device as the target electronic device; and sending the screen projection content of the first electronic device to the target electronic device.
In this embodiment, when the screen is required to be displayed, at least two electronic devices capable of displaying the screen may be located near the first electronic device, that is, the distance between the first electronic device and each of the at least two second electronic devices is smaller than or equal to the set distance, at this time, the at least two second electronic devices need to be selected, where the standard of selection is that one of the at least two second electronic devices closest to the first electronic device is the target electronic device, and the first electronic device may send the screen display content to the target electronic device.
When the target electronic equipment is selected, the user can approach the first electronic equipment to the second electronic equipment which wants to throw the screen, the selection of the target electronic equipment is automatically realized through the position of the first electronic equipment, the operation of the user is further simplified, and the convenience of the user in using the first electronic equipment is improved.
In an exemplary embodiment, when a television and a computer exist around the first electronic device at the same time, if a user wants to play the screen content on the television, the user can move the first electronic device to the vicinity of the television, so that the distance between the first electronic device and the television is smaller than that between the first electronic device and the computer, at this time, a screen switch on the first electronic device is turned on, and the first electronic device automatically sends the screen content to the television, thereby realizing the function of accurately screen-casting.
In some embodiments of the present application, a screen projection device is provided, fig. 9 shows a block diagram of a screen projection device according to an embodiment of the present application, where a screen projection device 900 includes:
a detection module 902, configured to detect location information between the first electronic device and the second electronic device, where the location information includes a distance;
A sending module 904, configured to display, when the location information meets a preset condition, screen-casting content of the first electronic device on the second electronic device;
and the adjusting module 906 is configured to adjust a display size and a display position of the screen-cast content on the second electronic device according to the position information.
In the embodiment of the application, in the screen throwing process, the user only needs to adjust the position of the first electronic equipment, the first electronic equipment can realize the function of automatic screen throwing, the clicking operation of the user on the electronic equipment is not needed, the operation of the user is simplified, and the convenience of the user on the first electronic equipment is improved. When the display size and the display position are adjusted, the adjustment function can be realized only by moving the mobile phone without clicking and other operations on the electronic equipment by a user, and the use convenience of the user on the first electronic equipment is further improved.
In one possible embodiment of the application, the location information comprises a distance; the sending module 904 is specifically configured to: and displaying the screen projection content of the first electronic equipment on the second electronic equipment under the condition that the distance is smaller than or equal to the set distance.
In one possible embodiment of the application, the location information comprises location change information; the adjustment module 906 is specifically configured to: under the condition that the position change information of the first electronic equipment is displacement along a first direction, adjusting the display position of the screen throwing content on the second electronic equipment; and adjusting the display size of the screen content on the second electronic device based on the position change information of the first electronic device when the first electronic device is displaced along the second direction.
In one possible embodiment of the present application, the adjustment module 906 is further configured to: acquiring the moving speed of the first electronic equipment; and stopping adjusting the display position and the display size of the screen-throwing content on the second electronic equipment based on the fact that the moving speed of the first electronic equipment is greater than or equal to the preset speed.
In a possible embodiment of the present application, the sending module 904 is specifically further configured to: acquiring the type of the second electronic equipment; according to the category of the second electronic equipment, determining screen projection content matched with the category;
and displaying the screen content matched with the category on the second electronic device.
The screen projection device in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in the terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The screen in the embodiment of the application can 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, and the embodiment of the present application is not limited specifically.
The screen projection device provided by the embodiment of the application can realize each process realized by the embodiment of the method, and in order to avoid repetition, the description is omitted.
Optionally, an embodiment of the present application further provides an electronic device 1000, where fig. 10 shows a block diagram of a structure of an electronic device according to an embodiment of the present application, as shown in fig. 10, including a processor 1002, a memory 1004, and a program or an instruction stored in the memory 1004 and capable of running on the processor 1002, where the program or the instruction is executed by the processor 1002 to implement each process of the foregoing method embodiment, and the same technical effects are achieved, and are not repeated herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1100 includes, but is not limited to: radio frequency unit 1101, network module 1102, audio output unit 1103, input unit 1104, sensor 1105, display unit 1106, user input unit 1107, interface unit 1108, memory 1109, and processor 1110.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1110 by a power management system, such as to perform functions such as managing charging, discharging, and power consumption by the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than illustrated, or may combine some components, or may be arranged in different components, which are not described in detail herein.
Wherein the sensor 1105 is configured to detect positional information of the first electronic device relative to the second electronic device.
The processor 1110 is configured to display screen content of the first electronic device on the second electronic device if the location information meets a preset condition; and adjusting the display size and the display position of the screen throwing content on the second electronic equipment according to the position information.
Optionally, the processor 1110 is configured to display the screen content of the first electronic device on the second electronic device when the distance is less than or equal to the set distance.
Optionally, the processor 1110 is configured to adjust a display position of the screen content on the second electronic device if the position change information of the first electronic device is displacement along the first direction; and adjusting the display size of the screen content on the second electronic device under the condition that the position change information of the first electronic device is displaced along the second direction.
Optionally, the sensor 1105 is configured to obtain a speed of movement of the first electronic device.
The processor 1110 is configured to stop adjusting a display position and a display size of the screen content on the second electronic device based on the movement speed of the first electronic device being greater than or equal to a preset speed.
Optionally, the processor 1110 is configured to determine the parameter information to be the target parameter information based on the movement parameter of the first electronic device being greater than or equal to a preset parameter.
The processor 1110 is configured to obtain a category of the second electronic device; according to the category of the second electronic equipment, determining screen projection content matched with the category; and displaying the screen content matched with the category on the second electronic device.
It should be appreciated that in embodiments of the present application, the input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042, the graphics processor 11041 processing image data of still pictures or video obtained by an image capture device (e.g., a camera) in a video capture mode or an image capture mode.
The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes a touch panel 11071 and other input devices 11072. The touch panel 11071 is also referred to as a touch screen. The touch panel 11071 may include two parts, a touch detection device and a touch controller. Other input devices 11072 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. Memory 1109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 1110 may integrate an application processor that primarily processes operating systems, user interfaces, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1110.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, implements each process of the above method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided herein.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the embodiment of the method can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
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 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 computer software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to 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 having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (5)

1. The screen projection method is characterized by comprising the following steps of:
detecting position information between the first electronic device and the second electronic device;
Under the condition that the position information meets the preset condition, displaying the screen projection content of the first electronic equipment on the second electronic equipment;
According to the position information, adjusting the display size and the display position of the screen throwing content on the second electronic equipment;
The location information includes location change information; the location information includes a distance;
and displaying the screen projection content of the first electronic device on the second electronic device under the condition that the position information meets the preset condition, wherein the screen projection content comprises the following steps:
Displaying the screen projection content of the first electronic equipment on the second electronic equipment under the condition that the distance is smaller than or equal to the set distance;
And adjusting the display size and the display position of the screen-throwing content on the second electronic device according to the position information, wherein the method comprises the following steps: adjusting the display position of the screen projection content on the second electronic equipment under the condition that the position change information of the first electronic equipment is displaced along a first direction; the first direction is along any direction parallel to a display screen of the second electronic device;
And under the condition that the position change information of the first electronic equipment is displaced along a second direction, adjusting the display size of the screen projection content on the second electronic equipment: when the first electronic equipment moves towards the display screen of the second electronic equipment, the display size of the screen throwing content is increased, and when the first electronic equipment moves away from the display screen of the second electronic equipment, the display size of the screen throwing content is reduced;
After the adjusting the display size and the display position of the screen-throwing content on the second electronic device, the method further comprises:
Acquiring the moving speed of the first electronic equipment;
And stopping adjusting the display position and the display size of the screen throwing content on the second electronic equipment based on the fact that the moving speed of the first electronic equipment is greater than or equal to a preset speed, and displaying and playing the screen throwing content by the second electronic equipment according to the current display position and the current display size.
2. The screen projection method according to claim 1, wherein,
The displaying the screen projection content of the first electronic device on the second electronic device includes:
Acquiring the type of the second electronic equipment;
According to the type of the second electronic equipment, determining screen throwing content matched with the type;
and displaying the screen content matched with the type on the second electronic equipment.
3. A screen projection device, comprising:
The detection module is used for detecting the position information of the first electronic equipment relative to the second electronic equipment;
The sending module is used for displaying the screen projection content of the first electronic device on the second electronic device under the condition that the position information meets the preset condition;
The adjusting module is used for adjusting the display size and the display position of the screen throwing content on the second electronic equipment according to the position information;
The location information includes location change information; the location information includes a distance;
the sending module is specifically configured to: displaying the screen projection content of the first electronic equipment on the second electronic equipment under the condition that the distance is smaller than or equal to the set distance;
The adjusting module is specifically used for: adjusting the display position of the screen projection content on the second electronic equipment under the condition that the position change information of the first electronic equipment is displaced along a first direction; the first direction is along any direction parallel to a display screen of the second electronic device;
And under the condition that the position change information of the first electronic equipment is displaced along a second direction, adjusting the display size of the screen projection content on the second electronic equipment: when the first electronic equipment moves towards the display screen of the second electronic equipment, the display size of the screen throwing content is increased, and when the first electronic equipment moves away from the display screen of the second electronic equipment, the display size of the screen throwing content is reduced;
the adjustment module is also used for: acquiring the moving speed of the first electronic equipment;
And stopping adjusting the display position and the display size of the screen throwing content on the second electronic equipment based on the fact that the moving speed of the first electronic equipment is greater than or equal to a preset speed, and displaying and playing the screen throwing content by the second electronic equipment according to the current display position and the current display size.
4. A screen projection device as claimed in claim 3, wherein the transmission module is further specifically configured to:
acquiring the type of the second electronic equipment;
according to the category of the second electronic equipment, determining screen projection content matched with the category;
and displaying the screen content matched with the category on the second electronic device.
5. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which program or instruction when executed by the processor implements the steps of the method of claim 1 or 2.
CN202111080024.9A 2021-09-15 2021-09-15 Screen projection method, screen projection device and electronic equipment Active CN113784192B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111080024.9A CN113784192B (en) 2021-09-15 2021-09-15 Screen projection method, screen projection device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111080024.9A CN113784192B (en) 2021-09-15 2021-09-15 Screen projection method, screen projection device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113784192A CN113784192A (en) 2021-12-10
CN113784192B true CN113784192B (en) 2024-07-02

Family

ID=78844161

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111080024.9A Active CN113784192B (en) 2021-09-15 2021-09-15 Screen projection method, screen projection device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113784192B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115268817A (en) * 2022-08-17 2022-11-01 维沃移动通信有限公司 Screen-projected content display method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094732A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Screen display method and apparatus
CN112861638A (en) * 2021-01-14 2021-05-28 华为技术有限公司 Screen projection method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015076802A (en) * 2013-10-10 2015-04-20 船井電機株式会社 Display device
CN105959480B (en) * 2016-06-08 2020-01-31 联想(北京)有限公司 control method and electronic equipment
CN107797652B (en) * 2016-09-05 2020-03-03 北京京东尚科信息技术有限公司 Method, device and terminal for adjusting display effect
CN112181342B (en) * 2020-10-15 2023-08-18 Oppo广东移动通信有限公司 Display method, display device, electronic equipment and storage medium
CN112616078A (en) * 2020-12-10 2021-04-06 维沃移动通信有限公司 Screen projection processing method and device, electronic equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094732A (en) * 2015-06-29 2015-11-25 小米科技有限责任公司 Screen display method and apparatus
CN112861638A (en) * 2021-01-14 2021-05-28 华为技术有限公司 Screen projection method and device

Also Published As

Publication number Publication date
CN113784192A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
US10397649B2 (en) Method of zooming video images and mobile display terminal
CN109905754B (en) Virtual gift receiving method and device and storage equipment
EP4216045A1 (en) Operation method and apparatus
US20140285455A1 (en) Sliding control method and terminal device thereof
CN110602565A (en) Image processing method and electronic equipment
CN107193451B (en) Information display method and device, computer equipment and computer readable storage medium
CN112433693B (en) Split screen display method and device and electronic equipment
US20230152956A1 (en) Wallpaper display control method and apparatus and electronic device
CN113546419B (en) Game map display method, game map display device, terminal and storage medium
CN114356168A (en) Message reminding method and device
CN112148163A (en) Screen recording method and device and electronic equipment
CN113784192B (en) Screen projection method, screen projection device and electronic equipment
CN112148167A (en) Control setting method and device and electronic equipment
CN106525024B (en) A kind of reminding method of mobile terminal, device and mobile terminal
CN113268182B (en) Application icon management method and electronic device
CN112929734B (en) Screen projection method and device and electronic equipment
CN112764647B (en) Display method, display device, electronic equipment and readable storage medium
CN112764611B (en) Application program control method and device and electronic equipment
CN112783408A (en) Gesture navigation method and device of electronic equipment, equipment and readable storage medium
CN112764862A (en) Application program control method and device and electronic equipment
CN115718581A (en) Information display method and device, electronic equipment and storage medium
CN113821138A (en) Prompting method and device and electronic equipment
CN113190162A (en) Display method, display device, electronic equipment and readable storage medium
CN111930296A (en) Electronic equipment control method and device and electronic equipment
CN112181165A (en) Input method and device 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