WO2022228097A1 - Display method, display apparatus and electronic device - Google Patents

Display method, display apparatus and electronic device Download PDF

Info

Publication number
WO2022228097A1
WO2022228097A1 PCT/CN2022/086100 CN2022086100W WO2022228097A1 WO 2022228097 A1 WO2022228097 A1 WO 2022228097A1 CN 2022086100 W CN2022086100 W CN 2022086100W WO 2022228097 A1 WO2022228097 A1 WO 2022228097A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
display
input
target
display content
Prior art date
Application number
PCT/CN2022/086100
Other languages
French (fr)
Chinese (zh)
Inventor
谷素军
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2022228097A1 publication Critical patent/WO2022228097A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Definitions

  • the present application relates to the technical field of communication equipment, and in particular, to a display method, a display device and an electronic device.
  • screen projection display generally refers to: displaying the display content of one electronic device on the display interface of another electronic device.
  • the screen projection display function can provide convenience for users of electronic devices and improve user experience.
  • the user In order to realize the screen projection display, the user needs to trigger the electronic device for realizing the screen projection display to establish a communication connection with the electronic device for the screen projection display.
  • the manner of establishing the above-mentioned communication connection in the related art is usually complicated and cumbersome, resulting in inconvenience for the user to operate.
  • the purpose of the embodiments of the present application is to provide a display method, a display device and an electronic device, which can solve the problem of cumbersome operations when a user triggers the electronic device to perform screen projection display.
  • an embodiment of the present application provides a display method, which is applied to a first electronic device.
  • the display method includes: receiving a first input from a user with respect to the first electronic device; in response to the first input, in the first electronic device The display content of the second electronic device is displayed in the ; wherein, the second electronic device is an electronic device located in the target direction of the first electronic device; the target direction is the direction determined by the input direction of the first input.
  • an embodiment of the present application provides a display device, applied to a first electronic device, the device includes: a receiving module for receiving a user's first input for the first electronic device; a display module for responding to a receiving the first input received by the module, and displaying the display content of the second electronic device in the first electronic device; wherein, the second electronic device is an electronic device located in the target direction of the first electronic device; the target direction is through the first input The direction determined by the input direction.
  • embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
  • the first electronic device receives and responds to the first input of the user with respect to the first electronic device, and displays the display content of the second electronic device in the first electronic device.
  • the second electronic device is an electronic device located in the target direction of the first electronic device.
  • the target direction is the direction determined by the input direction of the first input. Therefore, after receiving the first input from the user, the second electronic device located in the target direction of the first electronic device can be determined based on the input direction of the first input, and the second electronic device can be displayed in the first electronic device accordingly Display content of the second electronic device.
  • the user can purposefully select the electronic device that needs to be projected on the display interface of the first electronic device, which not only simplifies the projection operation, but also improves the human-computer interaction performance.
  • FIG. 1 is a schematic flowchart of a display method according to an embodiment of the present application.
  • FIG. 2 is one of the schematic diagrams of touch control modes of an electronic device according to an embodiment of the present application
  • FIG. 3 is a second schematic diagram of a touch control method of an electronic device according to an embodiment of the present application.
  • FIG. 4 is one of schematic diagrams of interfaces to which a display method according to an embodiment of the present application is applied;
  • FIG. 5 is the second schematic diagram of an interface to which a display method according to an embodiment of the present application is applied;
  • FIG. 6 is a third schematic diagram of a touch control mode of an electronic device according to an embodiment of the present application.
  • FIG. 7 is a fourth schematic diagram of a touch control mode of an electronic device according to an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a display device according to an embodiment of the present application.
  • FIG. 10 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
  • first, second and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be implemented in sequences other than those illustrated or described herein, and that "first”, “second” etc.
  • the objects are usually of one type, and the number of objects is not limited.
  • the first object may be one or more than one.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the associated objects are in an "or” relationship.
  • the screen projection function enables the display content of an electronic device to be displayed on the display interface of other electronic devices, thereby providing convenience for users and improving user experience.
  • a communication connection needs to be established between the electronic device that realizes the screen projection display (hereinafter referred to as electronic device A) and the electronic device to be displayed on the screen (hereinafter referred to as electronic device B).
  • the display content of B is displayed on the display interface of electronic device A.
  • the user usually needs to establish a communication connection between the electronic device A and the electronic device B through a series of inputs (such as multiple touch inputs or multiple key inputs).
  • a series of inputs such as multiple touch inputs or multiple key inputs.
  • the user needs to interact with the electronic device A or the electronic device B multiple times.
  • the functional path for realizing screen projection display is relatively deep, and the operations required by the user are relatively complex and cumbersome, resulting in poor user experience.
  • an embodiment of the present application provides a display method, which is applied to a first electronic device.
  • the first electronic device receives and responds to the first input of the user with respect to the first electronic device, and displays the display content of the second electronic device in the first electronic device.
  • the second electronic device is an electronic device located in the target direction of the first electronic device.
  • the target direction is the direction determined by the input direction of the first input. Therefore, after receiving the first input from the user, the second electronic device located in the target direction of the first electronic device can be determined based on the input direction of the first input, and the second electronic device can be displayed in the first electronic device accordingly Display content of the second electronic device.
  • the user can purposefully select the electronic device that needs to be projected on the display interface of the first electronic device, which not only simplifies the projection operation, but also improves the human-computer interaction performance.
  • the execution subject of the display method provided by the embodiment of the present application may be a display device, which may be an electronic device, or may be a functional module and/or a functional subject in the electronic device, which may be determined according to actual usage requirements. Not limited.
  • the execution subject of the display method is the first electronic device as an example for illustrative description.
  • the first electronic device and the second electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), Devices such as a netbook or a personal digital assistant (PDA), or the first electronic device and the second electronic device may also be other types of electronic devices, which are not limited in the embodiments of the present application.
  • UMPC ultra-mobile personal computer
  • PDA personal digital assistant
  • the display method provided by the embodiment of the present application includes S101 and S102:
  • the first electronic device receives a first input from a user with respect to the first electronic device.
  • the above-mentioned first input may be an input for the user to trigger the electronic device to perform screen projection display. That is, when the user performs the first input to the electronic device, the electronic device may consider that the user may need to trigger the electronic device to perform the screen projection function.
  • the above-mentioned first input can be a sliding input.
  • the above-mentioned first input may be a sliding input performed by a user on a touch screen of a mobile phone, or may be a sliding input performed by a user on a touch panel of a computer.
  • the first input described above may be a drag input.
  • the above-mentioned first input may be a drag input performed by a user operating a mouse that is communicatively connected to the computer.
  • the above-mentioned first input may be a gesture input.
  • the above-mentioned first input may be an input made by the user by waving an arm, or waving an electronic accessory (eg, a stylus communicatively connected to the electronic device), or making a waving gesture.
  • the above-mentioned first input may be a user's input to the floating control.
  • the first electronic device displays the display content of the second electronic device in the first electronic device in response to the first input.
  • the second electronic device is an electronic device located in the target direction of the first electronic device; the target direction is a direction determined by the input direction of the first input.
  • the number of the second electronic devices may be one or more. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
  • the display content of one second electronic device may be displayed in the first electronic device, or the display content of a plurality of second electronic devices may be displayed in the first electronic device. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
  • the target direction is a direction associated with the input direction of the first input.
  • the target direction may be the same as the input direction of the first input, or may be opposite to the input direction of the first input.
  • Example 1 when the target direction is opposite to the input direction of the first input, when the first input is a sliding input from left to right, the target direction is from right to left.
  • Example 2 when the target direction is the same as the input direction of the first input, when the first input is a sliding input from top to bottom, the target direction is from top to bottom.
  • first electronic device and the second electronic device may be placed opposite to each other with a certain distance, and may also be arranged adjacent to each other and in contact with each other.
  • the target direction is the placement direction of the second electronic device relative to the first electronic device. That is to say, the above-mentioned second electronic device is an electronic device located in the target direction of the first electronic device.
  • the target direction is the left side of the first electronic device; if the second electronic device is placed on the oblique upper side of the first electronic device, then the target direction is the first electronic device.
  • Example 1 assuming that the target direction is directly above the first electronic device, one or more electronic devices located on the upper part of the first electronic device and on the central axis of the first electronic device are the second electronic devices.
  • Example 2 assuming that the target direction is directly above and diagonally above the first electronic device, then one or more electronic devices located in the upper region of the first electronic device are the second electronic devices.
  • the target direction is a direction within 15° of the central axis of the first electronic device 100 .
  • the second electronic device that can establish a connection with the first electronic device can be determined and identified.
  • the first electronic device can determine and recognize that the electronic device connected to the first electronic device via Bluetooth is the second electronic device, and can also determine and recognize that it is shared with the first electronic device.
  • the electronic device on the same WiFi network is the second electronic device, and the electronic device using the same account as the first electronic device can also be determined and identified as the second electronic device.
  • the tablet computer 100 taking the tablet computer 100 as the first electronic device as an example, three electronic devices (ie, the mobile phone 210 , the computer 220 , and the smart bracelet 230 in the figure) are placed around the tablet computer 100 . . Take the first input as the user's sliding input on the display interface of the tablet computer 100 as an example.
  • Example 1 Assuming that the user needs to trigger the tablet computer 100 to display the display content of the mobile phone 210 , the user can make a sliding input (ie the above-mentioned first input) on the floating ball 115 along the D1 direction, thereby triggering the tablet computer 100 to display the display content of the mobile phone 210 .
  • a sliding input ie the above-mentioned first input
  • Example 2 Assuming that the user needs to trigger the tablet computer 100 to display the display content of the computer 220 , the user can make a sliding input (ie, the above-mentioned first input) to the floating ball 115 in the D2 direction, thereby triggering the tablet computer 100 to display the display content of the computer 220 .
  • a sliding input ie, the above-mentioned first input
  • Example 3 Assuming that the user needs to trigger the tablet computer 100 to display the display content of the smart watch 230 , the user can make a sliding input (ie, the above-mentioned first input) on the floating ball 115 in the D3 direction, thereby triggering the tablet computer 100 to display the display content of the smart watch 230 . Display content.
  • a sliding input ie, the above-mentioned first input
  • the first electronic device after receiving the third input from the user, the first electronic device responds to the third input, thereby canceling the display of the display content of the second electronic device.
  • the input direction of the third input is opposite to the input direction of the first input.
  • Example 1 the user can also make a sliding input (ie, the above-mentioned third input) in the direction opposite to D1 to cancel the display of the display content of the mobile phone 210 .
  • a sliding input ie, the above-mentioned third input
  • Example 2 the user may also make a sliding input (ie, the above-mentioned third input) in the direction opposite to D2 to cancel the display of the display content of the computer 220 .
  • a sliding input ie, the above-mentioned third input
  • Example 3 the user may also make a sliding input in the opposite direction to D3 (ie, the above-mentioned third input) to cancel the display of the display content of the smart watch 230 .
  • the first electronic device receives and responds to the first input of the user with respect to the first electronic device, and displays the display content of the second electronic device in the first electronic device.
  • the second electronic device is an electronic device located in the target direction of the first electronic device.
  • the target direction is the direction determined by the input direction of the first input. Therefore, after receiving the first input from the user, the second electronic device located in the target direction of the first electronic device can be determined based on the input direction of the first input, and the second electronic device can be displayed in the first electronic device accordingly Display content of the second electronic device.
  • the user can purposefully select the electronic device that needs to be projected on the display interface of the first electronic device, which not only simplifies the projection operation, but also improves the human-computer interaction performance.
  • the display content of the second electronic device is displayed in the first electronic device, and the target direction is the direction determined by the input direction of the first input. Therefore, the user only needs to perform the input corresponding to the direction (ie, the first input) according to the direction of the second electronic device relative to the first electronic device (ie, the target direction), and the screen projection can be realized intuitively and conveniently.
  • the user by establishing the corresponding relationship between the display method and the user's natural behavior, the user can intuitively and conveniently trigger the electronic device to realize screen projection.
  • a communication connection between the two electronic devices can be established by touching the two electronic devices, thereby realizing screen projection.
  • the way of touching two electronic devices is not suitable for devices with a large volume or weight, and the way of touching two electronic devices is only suitable for electronic devices that are close to each other and are equipped with NFC components.
  • the screen projection operation can be performed on all electronic devices within the visible range of the user, and the user does not need to move the electronic device. Therefore, in the embodiments of the present application, the user experience can be effectively improved.
  • the display position where the display content of the second electronic device is projected and displayed in the first electronic device may be designed and improved.
  • the above S102 may include the following S102a:
  • the first electronic device displays the display content of the second electronic device in the first target area of the first electronic device.
  • the first target area is an area associated with the target direction in the display interface of the first electronic device.
  • the first target area may be one or multiple. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
  • the area associated with the target direction in the display interface of the first electronic device refers to the area determined according to the target direction in the display interface of the first electronic device.
  • the first target area is an area positively or negatively associated with the target direction in the display interface of the first electronic device.
  • the first target area is an area in the display interface of the first electronic device in the same or opposite direction as the target.
  • the first target area is positively associated with the target direction in the display interface of the first electronic device
  • the first target area when the target direction is upward, the first target area is the first target area in the display interface of the first electronic device.
  • Upper area; when the target direction is downward, the first target area is the lower area in the display interface of the first electronic device.
  • the first target area is negatively associated with the target direction in the display interface of the first electronic device
  • the first target area when the target direction is upward, the first target area is the first target area in the display interface of the first electronic device.
  • Lower area; when the target direction is downward, the first target area is the upper area in the display interface of the first electronic device.
  • the direction of the first target area in the display interface of the first electronic device may have an error or difference with the target direction.
  • the specific value of the error or difference can be determined according to actual use requirements, which is not limited in the embodiment of the present invention.
  • the error or difference may be 15° or 25° or 45°.
  • the display interface 110 of the tablet computer 100 includes a first area 111 , a second area 112 and a third area 113 .
  • the user can trigger the tablet computer 100 to set one or more of the above-mentioned areas as the first target area.
  • the tablet computer 100 can display the mobile phone in the first area 111 210 display content.
  • Example 2 since the second area 112 is an area associated with the D2 direction, the tablet computer 100 can display the display content of the computer 220 in the second area 112 .
  • Example 3 since the third area 113 is an area associated with the D3 direction, the tablet computer 100 can display the display content of the smart watch 230 in the third area 113 .
  • the user when the user needs to trigger the tablet computer 100 (ie the first electronic device) to display the display content 211 of the mobile phone (ie the second electronic device), then The user can drag the floating ball 115 (ie, the first input).
  • the first area 111 is an area associated with the right direction , so when the user drags the floating ball 115 to slide to the right, the display content 211 of the mobile phone is displayed in the first target area 116 .
  • the display content of the second electronic device is displayed in the first target area of the first electronic device, where the first target area is an area associated with the target direction in the display interface of the first electronic device. Therefore, the first electronic device can display the display content of the second electronic device at a position corresponding to the target direction according to the target direction. Therefore, a further correspondence can be established between the display method and the natural behavior of the user, so that the user can trigger the electronic device to realize screen projection more intuitively and conveniently.
  • S102 may include the following S102b:
  • the first electronic device displays the display contents of the N second electronic devices in the N second target areas of the first electronic device.
  • N is an integer greater than or equal to 2
  • one second target area is used to display one second electronic device, and the display contents of the N second electronic devices are arranged and displayed in the N second target areas;
  • the second target area is an area associated with the target direction in the display interface of the first electronic device.
  • the area associated with the target direction in the display interface of the first electronic device refers to the area determined according to the target direction in the display interface of the first electronic device.
  • the second target area is an area positively or negatively associated with the target direction in the display interface of the first electronic device.
  • the second target area is an area in the display interface of the first electronic device with the same or opposite direction as the target.
  • the second target area in the display interface of the first electronic device is positively associated with the target direction
  • the second target area is in the display interface of the first electronic device.
  • the second target area is the lower area in the display interface of the first electronic device.
  • the second target area in the display interface of the first electronic device is negatively associated with the target direction
  • the second target area when the target direction is upward, the second target area is in the display interface of the first electronic device.
  • the lower area of ; when the target direction is downward, the second target area is the upper area in the display interface of the first electronic device.
  • the direction of the second target area in the display interface of the first electronic device may have an error or difference with the target direction.
  • the specific value of the error or difference can be determined according to actual use requirements, which is not limited in the embodiment of the present invention.
  • the error or difference may be 15° or 25° or 45°.
  • the tablet computer 100 taking the tablet computer 100 as the first electronic device as an example, three electronic devices (ie, the mobile phone 212 , the mobile phone 214 , and the mobile phone 216 in the figure) are placed on the right side of the tablet computer 100 .
  • the user when the user needs to trigger the tablet computer 100 (ie the first electronic device) to display the display contents of the three mobile phones (ie the three second electronic devices) located on the right side of the tablet computer 100 , the user can slide (ie, the first input) on the touch area (eg, the center position of the tablet computer 100 ) on the display interface 110 of the tablet computer 100 as shown in FIG. 5( a ). As shown in (b) of FIG.
  • the display content 213 of the mobile phone 212 , the display content 215 of the mobile phone 214 , and the display content 217 of the mobile phone 216 enter the three second target areas of the display interface 110 (ie, second target area 117, second target area 118, and second target area 119). As shown in (c) of FIG.
  • the display content 213 of the mobile phone 212 , the display content 215 of the mobile phone 214 , and the display content 217 of the mobile phone 216 are in the second target area 117 of the display interface 110 display, and the display content 213 of the mobile phone 212 is displayed in the second target area 117 , the display content 215 of the mobile phone 214 is displayed in the second target area 118 , and the display content 217 of the mobile phone 216 is displayed in the second target area 119 .
  • the embodiment of the present application can establish a further correspondence between the display method and the natural behavior of the user, so that the user can trigger the electronic device to realize the screen projection more intuitively and conveniently, so that the user can quickly establish with multiple second electronic devices.
  • the screen projection relationship is established, and the display positions of the plurality of second electronic devices in the first electronic device are associated with their actual arrangement positions.
  • the first electronic device in order to establish a further corresponding relationship between the display method and the natural behavior of the user, may be made to determine among multiple electronic devices according to the trajectory length of the input trajectory of the first input. a second electronic device.
  • the above S102 may include the following S102c:
  • the first electronic device determines a second electronic device among the M electronic devices according to the track length of the input track input by the first input, and sets a second electronic device in the M electronic devices. A display content of a second electronic device is displayed in the first electronic device.
  • M is an integer greater than or equal to 2
  • the track length is related to the target distance
  • the target distance is the distance between the first electronic device and a second electronic device.
  • the track length of the first input input track refers to the track length between the start point and the end point of the input track first input by the user.
  • the trajectory length and the target distance may be positively correlated or negatively correlated.
  • the value of the target distance is relatively large, the target trajectory length is relatively long; the value of the target distance is relatively small, the target trajectory length is relatively short.
  • the value of the target distance is relatively large, the target trajectory length is relatively short; the value of the target distance is relatively small, the target trajectory length is relatively long.
  • the target trajectory length and the target distance may have a linear relationship or a nonlinear relationship.
  • the proportional relationship between the target trajectory length and the target distance can be determined according to actual use requirements, which is not limited in this embodiment of the present invention.
  • the first input may be a sliding input made with respect to the display interface 110 of the first electronic device 100 .
  • L1 is the track length of the input track of the first input
  • L2 is the distance between the first electronic device 100 and the second electronic device 210 (ie, the target distance).
  • the screen projection operation is not performed; in the case of L1 L2/2000, the second electronic device can be displayed in the first electronic device 100. Display content of device 210 .
  • L1 is the trajectory length of the input trajectory of the first input.
  • the distance between electronic device A and the first electronic device is L3
  • the distance between electronic device B and the first electronic device is L3.
  • the distance between them is L4.
  • the electronic device A is determined to be the second electronic device
  • the electronic device B is determined to be the second electronic device.
  • the trajectory length is positively correlated with the target distance.
  • the distance between electronic device C and the first electronic device is L5, and the distance between electronic device D and the first electronic device is L5.
  • the distance between them is L6. in. L5 is greater than L6.
  • the first electronic device may be triggered to display the display content of the electronic device C.
  • the first electronic device may be triggered to display the display content of the electronic device D. in. L7 is greater than L8.
  • the display method when the number of second electronic devices is N, the display method includes:
  • the second electronic device includes a third electronic device and a fourth electronic device.
  • the third electronic device and the fourth electronic device are respectively electronic devices located in the target direction of the first electronic device.
  • the first electronic device displays the display content of the third electronic device and the display content of the fourth electronic device respectively in the first electronic device in response to the first input.
  • the display method further includes S104 and S105:
  • the first electronic device receives a second input from the user with respect to the display interface of the third electronic device.
  • the user can directly perform the second input on the display interface of the third electronic device, and can also perform the second input on the display interface of the third electronic device in the display interface of the first electronic device.
  • the first electronic device updates the position of the display interface of the third electronic device in response to the second input.
  • updating the position of the display interface of the third electronic device may be updating the display position of the display interface of the third electronic device in the display interface of the first electronic device.
  • the display content of the fourth electronic device is displayed in the third electronic device or the display content of the fourth electronic device is displayed in the fourth electronic device. Display the display content of the third electronic device.
  • the second input may be an input that triggers the first electronic device to move the position of the display interface of the third electronic device to the position of the display interface of the fourth electronic device.
  • the first electronic device may consider that the user may need to trigger the first electronic device to perform the mutual screen projection function.
  • the above-mentioned second input may be a sliding input.
  • the above-mentioned second input may be a sliding input performed by a user on a touch screen of a mobile phone, or may be a sliding input performed by a user on a touch panel of a computer.
  • the second input described above may be a drag input.
  • the above-mentioned second input may be a drag input performed by a user operating a mouse that is communicatively connected to the computer.
  • the above-mentioned second input may be a gesture input.
  • the above-mentioned second input may be an input made by the user by waving an arm, or waving an electronic accessory (eg, a stylus communicatively connected to the electronic device), or making a waving gesture.
  • the user can drag the screens of each displayed second electronic device in the first electronic device, so as to perform mutual screen projection between the electronic devices in the electronic device that can support screen projection.
  • the screen transparency of the second electronic device that does not support screen projection is reduced, and the second electronic device that supports screen projection is reduced. Electronic devices appear highlighted borders. Therefore, the user can drag the second electronic device that supports screen projection to the second electronic device to complete the screen projection.
  • the tablet computer 100 (ie the first electronic device) has displayed the display content 221 of the computer 220 (ie the third electronic device) and the mobile phone 210 (ie the third electronic device)
  • the display content 218 of the fourth electronic device the display content 221 of the computer 220 is displayed on the left side of the display interface 110 of the tablet computer 100
  • the display content 218 of the mobile phone 210 is displayed on the right side of the display interface 110 of the tablet computer 100 .
  • the user can slide the display content 218 of the mobile phone 210 on the display interface 110 of the tablet computer 100 (ie, the second input) to trigger the display on the computer 220
  • Display content 218 of cell phone 210 is displayed.
  • the display content 218 of the mobile phone 210 on the display interface 110 gradually moves to the position of the display content 221 of the computer 220 on the display interface 110 .
  • the display content 218 of the mobile phone 210 is displayed on the computer 220 .
  • the display method provided by the embodiment of the present application may also It includes the following steps:
  • the first electronic device detects the second electronic device in a third target area associated with the target direction based on the input direction of the first sliding input in response to the first sliding input.
  • the above S102 may further include the following S102d:
  • the second electronic device located in the target direction of the first electronic device can be detected by using an Ultra Wide Band (Ultra Wide Band, UWB) technology or a distance sensor.
  • Ultra Wide Band Ultra Wide Band
  • a first UWB chip and a second UWB chip may be disposed on the first electronic device and the second electronic device, respectively, and any one of the first UWB chip and the second UWB chip sends a signal to the surrounding through the built-in antenna.
  • the other of the first UWB chip and the second UWB chip determines the distance and the direction between the first UWB chip and the second UWB chip according to the arrival time and position of the signal, and thus the third A second electronic device is detected within the target area.
  • a second electronic device that can be connected and matched with the first electronic device can be obtained or determined, and when the second electronic device is detected, The display content of the second electronic device is displayed in the first electronic device.
  • the first input is a second sliding input by the user on the display interface of the first electronic device.
  • the display content of the second electronic device will be displayed in the first electronic device along the sliding direction of the second sliding input.
  • the dynamic effect display is performed through the displayed content, and the direction of the dynamic effect display is the same as the sliding direction of the second sliding input, so that the corresponding relationship between the displayed content and the user's natural behavior can be further established, so as to facilitate the The purpose of user understanding and operation.
  • the execution subject may be a display device, or a control module in the display device for executing the display method.
  • the display device provided by the embodiment of the present application is described by taking the display device executing the display method as an example.
  • the embodiment of the present application provides a display device 300, which is applied to a first electronic device. As shown in FIG. 8, the display device 300 includes:
  • the receiving module 310 is configured to receive the first input of the user with respect to the first electronic device.
  • the display module 320 is configured to display the display content of the second electronic device in the first electronic device in response to the first input received by the receiving module 310 .
  • the second electronic device is an electronic device located in the target direction of the first electronic device.
  • the target direction is the direction determined by the input direction of the first input.
  • the display apparatus 300 receives and responds to the first input of the user with respect to the first electronic device, and displays the display content of the second electronic device in the first electronic device.
  • the second electronic device is an electronic device located in the target direction of the first electronic device.
  • the target direction is the direction determined by the input direction of the first input. Therefore, after receiving the first input from the user, the second electronic device located in the target direction of the first electronic device can be determined based on the input direction of the first input, and the second electronic device can be displayed in the first electronic device accordingly Display content of the second electronic device.
  • the user can purposefully select the electronic device that needs to be projected on the display interface of the first electronic device, which not only simplifies the projection operation, but also improves the human-computer interaction performance.
  • the display module 320 is specifically configured to:
  • the display content of the second electronic device is displayed in the first target area of the first electronic device.
  • the first target area is an area associated with the target direction in the display interface of the first electronic device.
  • the display module 320 is specifically configured to:
  • the display contents of the N second electronic devices are displayed in the N second target areas of the first electronic device.
  • One second target area is used to display one second electronic device, and the display contents of the N second electronic devices are arranged and displayed in the N second target areas.
  • the second target area is an area associated with the target direction in the display interface of the first electronic device.
  • the display module 320 is specifically configured to:
  • a second electronic device is determined among the M electronic devices according to the track length of the input track of the first input, and displayed in the first electronic device Display content of a second electronic device.
  • M is an integer greater than or equal to 2
  • the track length is related to the target distance
  • the target distance is the distance between the first electronic device and a second electronic device.
  • the display module 320 is specifically configured to:
  • the number of the second electronic devices is N, displaying the display content of the third electronic device and the display content of the fourth electronic device in the first electronic device;
  • the receiving module is also used to:
  • Display modules are also used to:
  • the display content of the fourth electronic device is displayed in the third electronic device or the display content of the fourth electronic device is displayed in the fourth electronic device Three electronic equipment display content;
  • the second electronic device includes a third electronic device and a fourth electronic device.
  • the first input is a first sliding input by the user on the display interface of the first electronic device.
  • Display module 320 is also used to:
  • the second electronic device After receiving the user's first input, in response to the first sliding input, the second electronic device is detected within a third target area associated with the target direction based on the input direction of the first sliding input.
  • the display module 320 is specifically used for:
  • the display content of the second electronic device is displayed in the first electronic device.
  • the first input is a second sliding input by the user on the display interface of the first electronic device.
  • the display content of the second electronic device will be displayed in the first electronic device along the sliding direction of the second sliding input.
  • the display device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the display device in this embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android (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 display device provided by the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 1 , and to avoid repetition, details are not described here.
  • an embodiment of the present application further provides an electronic device 400, including a processor 410, a memory 409, a program or instruction stored in the memory 409 and executable on the processor 410,
  • an electronic device 400 including a processor 410, a memory 409, a program or instruction stored in the memory 409 and executable on the processor 410,
  • the program or instruction is executed by the processor 410, each process of the above-mentioned display method embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, and a processor 410, etc. part.
  • the electronic device 400 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so that the power management system can manage charging, discharging, and power management. consumption management and other functions.
  • a power source such as a battery
  • the power management system can manage charging, discharging, and power management. consumption management and other functions.
  • the structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the user input unit 407 is configured to receive the first input of the user with respect to the first electronic device.
  • the display unit 406 is configured to display the display content of the second electronic device in the first electronic device in response to the first input.
  • the second electronic device is an electronic device located in the target direction of the first electronic device.
  • the target direction is the direction determined by the input direction of the first input.
  • the electronic device 400 is used as a first electronic device, which receives and responds to a user's first input to the first electronic device, and displays the display content of the second electronic device in the first electronic device.
  • the second electronic device is an electronic device located in the target direction of the first electronic device.
  • the target direction is the direction determined by the input direction of the first input. Therefore, after receiving the first input from the user, the second electronic device located in the target direction of the first electronic device can be determined based on the input direction of the first input, and the second electronic device can be displayed in the first electronic device accordingly Display content of the second electronic device.
  • the user can purposefully select the electronic device that needs to be projected on the display interface of the first electronic device, which not only simplifies the projection operation, but also improves the human-computer interaction performance.
  • the display unit 406 is specifically configured to:
  • the display content of the second electronic device is displayed in the first target area of the first electronic device.
  • the first target area is an area associated with the target direction in the display interface of the first electronic device.
  • the display unit 406 is specifically configured to:
  • the display contents of the N second electronic devices are displayed in the N second target areas of the first electronic device.
  • N is an integer greater than or equal to 2
  • one second target area is used to display one second electronic device, and the display contents of the N second electronic devices are arranged and displayed in the N second target areas.
  • the second target area is an area associated with the target direction in the display interface of the first electronic device.
  • the display unit 406 is specifically configured to:
  • a second electronic device is determined among the M electronic devices according to the track length of the input track of the first input, and displayed in the first electronic device Display content of a second electronic device.
  • M is an integer greater than or equal to 2
  • the track length is related to the target distance
  • the target distance is the distance between the first electronic device and a second electronic device.
  • the first input is a first sliding input by the user on the display interface of the first electronic device.
  • the display unit 406 is also used for:
  • the second electronic device After receiving the user's first input, in response to the first sliding input, the second electronic device is detected within a third target area associated with the target direction based on the input direction of the first sliding input.
  • the display unit 406 is specifically used for:
  • the display content of the second electronic device is displayed in the first electronic device.
  • the first input is a second sliding input by the user on the display interface of the first electronic device.
  • the display content of the second electronic device will be displayed in the first electronic device along the sliding direction of the second sliding input.
  • the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042. Such as camera) to obtain still pictures or video image data for processing.
  • the display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072 .
  • the touch panel 4071 is also called a touch screen.
  • the touch panel 4071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again.
  • Memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems.
  • the processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 410.
  • Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium.
  • a program or an instruction is stored on the readable storage medium.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each of the foregoing display method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

Abstract

Disclosed in the present application are a display method, a display apparatus and an electronic device, which belong to the technical field of communications. The display method disclosed in the present application is applied to a first electronic device. The method comprises: receiving a first input of a user for a first electronic device; and in response to the first input, displaying display content of a second electronic device on the first electronic device, wherein the second electronic device is an electronic device located in a target direction of the first electronic device, and the target direction is a direction determined by means of an input direction of the first input.

Description

显示方法、显示装置和电子设备Display method, display device, and electronic device
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请主张在2021年4月29日在中国提交的中国专利申请号202110476801.5的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110476801.5 filed in China on April 29, 2021, the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请涉及通信设备技术领域,尤其涉及一种显示方法、显示装置和电子设备。The present application relates to the technical field of communication equipment, and in particular, to a display method, a display device and an electronic device.
背景技术Background technique
在相关技术中,投屏显示通常是指:将一个电子设备的显示内容在另一个电子设备的显示界面之上显示。对于手机、电脑、电视等电子设备而言,投屏显示功能能够为电子设备的用户提供便利,提高用户体验。In the related art, screen projection display generally refers to: displaying the display content of one electronic device on the display interface of another electronic device. For electronic devices such as mobile phones, computers, and televisions, the screen projection display function can provide convenience for users of electronic devices and improve user experience.
为了实现投屏显示,用户需要触发用于实现投屏显示的电子设备和被投屏显示的电子设备建立通信连接。然而,相关技术中建立上述通信连接的方式通常较为复杂繁琐,导致用户操作不便。In order to realize the screen projection display, the user needs to trigger the electronic device for realizing the screen projection display to establish a communication connection with the electronic device for the screen projection display. However, the manner of establishing the above-mentioned communication connection in the related art is usually complicated and cumbersome, resulting in inconvenience for the user to operate.
发明内容SUMMARY OF THE INVENTION
本申请实施例的目的是提供一种显示方法、显示装置和电子设备,能够解决用户在触发电子设备进行投屏显示时操作繁琐的问题。The purpose of the embodiments of the present application is to provide a display method, a display device and an electronic device, which can solve the problem of cumbersome operations when a user triggers the electronic device to perform screen projection display.
第一方面,本申请实施例提供了一种显示方法,应用于第一电子设备,该显示方法包括:接收用户针对第一电子设备的第一输入;响应于第一输入,在第一电子设备中显示第二电子设备的显示内容;其中,第二电子设备为位于第一电子设备的目标方向上的电子设备;目标方向为通过第一输入的输入方向确定的方向。In a first aspect, an embodiment of the present application provides a display method, which is applied to a first electronic device. The display method includes: receiving a first input from a user with respect to the first electronic device; in response to the first input, in the first electronic device The display content of the second electronic device is displayed in the ; wherein, the second electronic device is an electronic device located in the target direction of the first electronic device; the target direction is the direction determined by the input direction of the first input.
第二方面,本申请实施例提供了一种显示装置,应用于第一电子设备,该装置包括:接收模块,用于接收用户针对第一电子设备的第一输入;显示模块,用于响应于接收模块接收的第一输入,在第一电子设备中显示第二电子设备的显示内容;其中,第二电子设备为位于第一电子设备的目标方向上的电子设备;目标方向为通过第一输入的输入方向确定的方向。In a second aspect, an embodiment of the present application provides a display device, applied to a first electronic device, the device includes: a receiving module for receiving a user's first input for the first electronic device; a display module for responding to a receiving the first input received by the module, and displaying the display content of the second electronic device in the first electronic device; wherein, the second electronic device is an electronic device located in the target direction of the first electronic device; the target direction is through the first input The direction determined by the input direction.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所 述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, embodiments of the present application provide an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being The processor implements the steps of the method according to the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, and implement the first aspect the method described.
在本申请实施例中,第一电子设备接收并响应于用户针对第一电子设备的第一输入,在第一电子设备中显示第二电子设备的显示内容。其中,第二电子设备为位于第一电子设备的目标方向上的电子设备。目标方向为通过第一输入的输入方向确定的方向。由此,在接收到用户的第一输入后,便可基于该第一输入的输入方向,确定位于第一电子设备的目标方向上的第二电子设备,并由此在第一电子设备中显示第二电子设备的显示内容。如此,用户可以通过控制第一输入的输入方向,有目的地选择需要在第一电子设备的显示界面中投屏显示的电子设备,不仅简化了投屏操作,还提高了人机交互性能。In the embodiment of the present application, the first electronic device receives and responds to the first input of the user with respect to the first electronic device, and displays the display content of the second electronic device in the first electronic device. Wherein, the second electronic device is an electronic device located in the target direction of the first electronic device. The target direction is the direction determined by the input direction of the first input. Therefore, after receiving the first input from the user, the second electronic device located in the target direction of the first electronic device can be determined based on the input direction of the first input, and the second electronic device can be displayed in the first electronic device accordingly Display content of the second electronic device. In this way, by controlling the input direction of the first input, the user can purposefully select the electronic device that needs to be projected on the display interface of the first electronic device, which not only simplifies the projection operation, but also improves the human-computer interaction performance.
附图说明Description of drawings
图1是本申请实施例的一种显示方法的流程示意图;1 is a schematic flowchart of a display method according to an embodiment of the present application;
图2是本申请实施例的一种电子设备的触控方式示意图之一;FIG. 2 is one of the schematic diagrams of touch control modes of an electronic device according to an embodiment of the present application;
图3是本申请实施例的一种电子设备的触控方式示意图之二;FIG. 3 is a second schematic diagram of a touch control method of an electronic device according to an embodiment of the present application;
图4是本申请实施例的一种显示方法所应用的界面示意图之一;4 is one of schematic diagrams of interfaces to which a display method according to an embodiment of the present application is applied;
图5是本申请实施例的一种显示方法所应用的界面示意图之二;FIG. 5 is the second schematic diagram of an interface to which a display method according to an embodiment of the present application is applied;
图6是本申请实施例的一种电子设备的触控方式示意图之三;FIG. 6 is a third schematic diagram of a touch control mode of an electronic device according to an embodiment of the present application;
图7是本申请实施例的一种电子设备的触控方式示意图之四;FIG. 7 is a fourth schematic diagram of a touch control mode of an electronic device according to an embodiment of the present application;
图8是本申请实施例的显示装置的结构示意图;8 is a schematic structural diagram of a display device according to an embodiment of the present application;
图9是本申请实施例的电子设备的结构示意图之一;9 is one of the schematic structural diagrams of the electronic device according to the embodiment of the present application;
图10是本申请实施例的电子设备的结构示意图之二。FIG. 10 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换, 以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be implemented in sequences other than those illustrated or described herein, and that "first", "second" etc. The objects are usually of one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的显示方法、显示装置和电子设备进行详细地说明。The display method, the display device, and the electronic device provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
对于手机、电脑、电视等电子设备而言,投屏显示功能能够使得某电子设备的显示内容在其他电子设备的显示界面之上显示,从而为用户提供便利,提高用户体验。For electronic devices such as mobile phones, computers, and TVs, the screen projection function enables the display content of an electronic device to be displayed on the display interface of other electronic devices, thereby providing convenience for users and improving user experience.
为了实现上述投屏显示功能,实现投屏显示的电子设备(以下简称电子设备A)和被投屏显示的电子设备(以下简称电子设备B)之间需要建立通信连接,方可实现将电子设备B的显示内容在电子设备A的显示界面之上进行显示的目的。In order to realize the above-mentioned screen projection display function, a communication connection needs to be established between the electronic device that realizes the screen projection display (hereinafter referred to as electronic device A) and the electronic device to be displayed on the screen (hereinafter referred to as electronic device B). The display content of B is displayed on the display interface of electronic device A.
在相关技术中,用户通常需要通过一系列的输入(比如多次触控输入或多次按键输入),才能够在电子设备A和电子设备B之间建立通信连接。在上述过程中,用户需要与电子设备A或电子设备B进行多次地交互。换言之,在相关技术中,实现投屏显示的功能路径较深,需要用户进行的操作相对复杂和繁琐,用户体验不佳。In the related art, the user usually needs to establish a communication connection between the electronic device A and the electronic device B through a series of inputs (such as multiple touch inputs or multiple key inputs). In the above process, the user needs to interact with the electronic device A or the electronic device B multiple times. In other words, in the related art, the functional path for realizing screen projection display is relatively deep, and the operations required by the user are relatively complex and cumbersome, resulting in poor user experience.
为了解决上述技术问题,本申请实施例提供了一种显示方法,应用于第一电子设备。在本申请实施例中,第一电子设备接收并响应于用户针对第一电子设备的第一输入,在第一电子设备中显示第二电子设备的显示内容。其中,第二电子设备为位于第一电子设备的目标方向上的电子设备。目标方向为通过第一输入的输入方向确定的方向。由此,在接收到用户的第一输入后,便可基于该第一输入的输入方向,确定位于第一电子设备的目标方向上的第二电子设备,并由此在第一电子设备中显示第二电子设备的显示内容。如此,用户可以通过控制第一输入的输入方向,有目的地选择需要在第一电子设备的显示界面中投屏显示的电子设备,不仅简化了投屏操作,还提高了人机交互性能。In order to solve the above technical problem, an embodiment of the present application provides a display method, which is applied to a first electronic device. In the embodiment of the present application, the first electronic device receives and responds to the first input of the user with respect to the first electronic device, and displays the display content of the second electronic device in the first electronic device. Wherein, the second electronic device is an electronic device located in the target direction of the first electronic device. The target direction is the direction determined by the input direction of the first input. Therefore, after receiving the first input from the user, the second electronic device located in the target direction of the first electronic device can be determined based on the input direction of the first input, and the second electronic device can be displayed in the first electronic device accordingly Display content of the second electronic device. In this way, by controlling the input direction of the first input, the user can purposefully select the electronic device that needs to be projected on the display interface of the first electronic device, which not only simplifies the projection operation, but also improves the human-computer interaction performance.
本申请实施例提供的显示方法的执行主体可以为显示装置,该装置可以为电子设备,也可以为电子设备中的功能模块和/或功能主体,具体可以根据实际使用需求确定,本申请实施例不作限定。为了更加清楚地描述本申请实施例提供的显示方法,下面方法实施例中以显示方法的执行主体为第一电子设备为例进行示例性地说明。The execution subject of the display method provided by the embodiment of the present application may be a display device, which may be an electronic device, or may be a functional module and/or a functional subject in the electronic device, which may be determined according to actual usage requirements. Not limited. In order to describe the display method provided by the embodiments of the present application more clearly, in the following method embodiments, the execution subject of the display method is the first electronic device as an example for illustrative description.
本申请实施例的第一电子设备和第二电子设备分别可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等设备,或者该第一电子设备和第二电子设备分别还可以为其他类型的电子设备,本申请实施例不作限定。The first electronic device and the second electronic device in the embodiment of the present application may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), Devices such as a netbook or a personal digital assistant (PDA), or the first electronic device and the second electronic device may also be other types of electronic devices, which are not limited in the embodiments of the present application.
下面以各个实施例为例,对本申请实施例提供的显示方法进行详细的说明。The display methods provided by the embodiments of the present application are described in detail below by taking each embodiment as an example.
如图1所示,本申请实施例提供的显示方法包括S101和S102:As shown in FIG. 1 , the display method provided by the embodiment of the present application includes S101 and S102:
S101、第一电子设备接收用户针对第一电子设备的第一输入。S101. The first electronic device receives a first input from a user with respect to the first electronic device.
本申请实施例中,上述第一输入可以为用户触发电子设备进行投屏显示的输入。即当用户对电子设备执行第一输入时,电子设备可以认为用户可能需要触发电子设备执行投屏功能。In this embodiment of the present application, the above-mentioned first input may be an input for the user to trigger the electronic device to perform screen projection display. That is, when the user performs the first input to the electronic device, the electronic device may consider that the user may need to trigger the electronic device to perform the screen projection function.
在一种示例中,上述第一输入可以滑动输入。例如,上述第一输入可以为用户在手机的触控屏幕上进行的滑动输入,也可以为用户在电脑的触控面板上进行的滑动输入。In one example, the above-mentioned first input can be a sliding input. For example, the above-mentioned first input may be a sliding input performed by a user on a touch screen of a mobile phone, or may be a sliding input performed by a user on a touch panel of a computer.
在另一种示例中,上述第一输入可以拖动输入。例如,上述第一输入可以为用户操作与电脑通信连接的鼠标进行的拖动输入。In another example, the first input described above may be a drag input. For example, the above-mentioned first input may be a drag input performed by a user operating a mouse that is communicatively connected to the computer.
在另一种示例中,上述第一输入可以为手势输入。例如,上述第一输入可以为用户通过挥动手臂,或挥动电子配件(例如:与电子设备通信连接的触控笔),或做出挥动手势而进行的输入。In another example, the above-mentioned first input may be a gesture input. For example, the above-mentioned first input may be an input made by the user by waving an arm, or waving an electronic accessory (eg, a stylus communicatively connected to the electronic device), or making a waving gesture.
在另一种示例中,在第一电子设备显示悬浮控件的情况下,上述第一输入可以为用户对该悬浮控件的输入。In another example, when the first electronic device displays a floating control, the above-mentioned first input may be a user's input to the floating control.
S102、第一电子设备响应于第一输入,在第一电子设备中显示第二电子设备的显示内容。S102. The first electronic device displays the display content of the second electronic device in the first electronic device in response to the first input.
其中,第二电子设备为位于第一电子设备的目标方向上的电子设备;该目标方向为通过第一输入的输入方向确定的方向。Wherein, the second electronic device is an electronic device located in the target direction of the first electronic device; the target direction is a direction determined by the input direction of the first input.
本申请实施例中,第二电子设备的数量可以为一个或多个。具体可以根据实际使用需求确定,本发明实施例不作限定。In this embodiment of the present application, the number of the second electronic devices may be one or more. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
在第二电子设备的数量为多个的情况下,可以在第一电子设备中显示一个第二电子设备的显示内容,也可以在第一电子设备中显示多个第二电子设备的显示内容。具体可以根据实际使用需求确定,本发明实施例不作限定。When the number of the second electronic devices is multiple, the display content of one second electronic device may be displayed in the first electronic device, or the display content of a plurality of second electronic devices may be displayed in the first electronic device. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可以理解,本申请实施例中,在第一电子设备的显示界面中显示的是位于第一电子设备的目标方向上的电子设备(即第二电子设备)。It can be understood that, in this embodiment of the present application, what is displayed on the display interface of the first electronic device is the electronic device (ie, the second electronic device) located in the target direction of the first electronic device.
可选地,本申请实施例中,目标方向为与第一输入的输入方向相关联的方向。Optionally, in this embodiment of the present application, the target direction is a direction associated with the input direction of the first input.
示例性地,目标方向可以与第一输入的输入方向相同,亦可以与第一输入的输入方向相反。Exemplarily, the target direction may be the same as the input direction of the first input, or may be opposite to the input direction of the first input.
例1,在目标方向与第一输入的输入方向相反的情况下,当第一输入为由左至右的滑动输入,则目标方向为由右至左。Example 1, when the target direction is opposite to the input direction of the first input, when the first input is a sliding input from left to right, the target direction is from right to left.
例2,在目标方向与第一输入的输入方向相同的情况下,当第一输入为由上至下的滑 动输入,则目标方向为由上至下。Example 2, when the target direction is the same as the input direction of the first input, when the first input is a sliding input from top to bottom, the target direction is from top to bottom.
可以理解,第一电子设备和第二电子设备可以相对放置并具有一定距离,还可以相邻布置并相互接触。It can be understood that the first electronic device and the second electronic device may be placed opposite to each other with a certain distance, and may also be arranged adjacent to each other and in contact with each other.
可以理解,目标方向为第二电子设备相对于第一电子设备的放置方向。也就是说,上述第二电子设备为位于第一电子设备的目标方向上的电子设备。It can be understood that the target direction is the placement direction of the second electronic device relative to the first electronic device. That is to say, the above-mentioned second electronic device is an electronic device located in the target direction of the first electronic device.
示例性地,第二电子设备放置于第一电子设备的左侧,则目标方向为第一电子设备的左侧;第二电子设备放置于第一电子设备的斜上侧,则目标方向为第一电子设备的斜上侧。Exemplarily, if the second electronic device is placed on the left side of the first electronic device, the target direction is the left side of the first electronic device; if the second electronic device is placed on the oblique upper side of the first electronic device, then the target direction is the first electronic device. The oblique upper side of an electronic device.
例1,假设目标方向为第一电子设备正上方,则位于第一电子设备的上部且位于第一电子设备的中轴线上的一个或多个电子设备即为第二电子设备。Example 1, assuming that the target direction is directly above the first electronic device, one or more electronic devices located on the upper part of the first electronic device and on the central axis of the first electronic device are the second electronic devices.
例2,假设目标方向为第一电子设备正上方和斜上方,则位于第一电子设备的上部区域的一个或多个电子设备即为第二电子设备。Example 2, assuming that the target direction is directly above and diagonally above the first electronic device, then one or more electronic devices located in the upper region of the first electronic device are the second electronic devices.
在一个示例中,如图2所示,以目标方向为第一电子设备100的上侧为例,目标方向为第一电子设备100中轴线15°范围之内的方向。In an example, as shown in FIG. 2 , taking the target direction as the upper side of the first electronic device 100 as an example, the target direction is a direction within 15° of the central axis of the first electronic device 100 .
可以理解,在第一电子设备中显示第二电子设备的显示内容之前,可以判断并识别可以与第一电子设备建立连接的第二电子设备。It can be understood that before the display content of the second electronic device is displayed in the first electronic device, the second electronic device that can establish a connection with the first electronic device can be determined and identified.
可以理解,在用户需要触发第一电子设备进行显示时,第一电子设备可以判断并识别与第一电子设备蓝牙连接的电子设备为第二电子设备,还可以判断并识别与第一电子设备共用相同的WiFi网络的电子设备为第二电子设备,亦可以判断并识别与第一电子设备使用相同账号的电子设备为第二电子设备。It can be understood that when the user needs to trigger the first electronic device to display, the first electronic device can determine and recognize that the electronic device connected to the first electronic device via Bluetooth is the second electronic device, and can also determine and recognize that it is shared with the first electronic device. The electronic device on the same WiFi network is the second electronic device, and the electronic device using the same account as the first electronic device can also be determined and identified as the second electronic device.
举例说明,如图3所示,以第一电子设备为平板电脑100为例,该平板电脑100的周围放置了3个电子设备(即图中的手机210、电脑220,以及智能手环230)。以第一输入为用户在平板电脑100的显示界面上的滑动输入为例。For example, as shown in FIG. 3 , taking the tablet computer 100 as the first electronic device as an example, three electronic devices (ie, the mobile phone 210 , the computer 220 , and the smart bracelet 230 in the figure) are placed around the tablet computer 100 . . Take the first input as the user's sliding input on the display interface of the tablet computer 100 as an example.
示例1:假设用户需要触发平板电脑100显示手机210的显示内容,则用户可以对悬浮球115沿D1方向做出滑动输入(即上述第一输入),从而触发平板电脑100显示手机210的显示内容。Example 1: Assuming that the user needs to trigger the tablet computer 100 to display the display content of the mobile phone 210 , the user can make a sliding input (ie the above-mentioned first input) on the floating ball 115 along the D1 direction, thereby triggering the tablet computer 100 to display the display content of the mobile phone 210 .
示例2:假设用户需要触发平板电脑100显示电脑220的显示内容,则用户可以对悬浮球115沿D2方向做出滑动输入(即上述第一输入),从而触发平板电脑100显示电脑220的显示内容。Example 2: Assuming that the user needs to trigger the tablet computer 100 to display the display content of the computer 220 , the user can make a sliding input (ie, the above-mentioned first input) to the floating ball 115 in the D2 direction, thereby triggering the tablet computer 100 to display the display content of the computer 220 .
示例3:假设用户需要触发平板电脑100显示智能手表230的显示内容,则用户可以对悬浮球115沿D3方向做出滑动输入(即上述第一输入),从而触发平板电脑100显示智能手表230的显示内容。Example 3: Assuming that the user needs to trigger the tablet computer 100 to display the display content of the smart watch 230 , the user can make a sliding input (ie, the above-mentioned first input) on the floating ball 115 in the D3 direction, thereby triggering the tablet computer 100 to display the display content of the smart watch 230 . Display content.
此外,在上述步骤102之后,第一电子设备在接收到用户的第三输入后,响应于该第 三输入,从而取消显示第二电子设备的显示内容。其中,上述第三输入的输入方向与上述第一输入的输入方向相反。In addition, after the above step 102, after receiving the third input from the user, the first electronic device responds to the third input, thereby canceling the display of the display content of the second electronic device. Wherein, the input direction of the third input is opposite to the input direction of the first input.
举例说明,结合上述图3,在示例1中,用户还可以沿与D1方向相反做出滑动输入(即上述第三输入),以取消对手机210的显示内容的显示。For example, with reference to the above FIG. 3 , in Example 1, the user can also make a sliding input (ie, the above-mentioned third input) in the direction opposite to D1 to cancel the display of the display content of the mobile phone 210 .
在示例2中,用户还可以沿与D2方向相反做出滑动输入(即上述第三输入),以取消对电脑220的显示内容的显示。In Example 2, the user may also make a sliding input (ie, the above-mentioned third input) in the direction opposite to D2 to cancel the display of the display content of the computer 220 .
在示例3中,用户还可以沿与D3方向相反做出滑动输入(即上述第三输入),以取消对智能手表230的显示内容的显示。In Example 3, the user may also make a sliding input in the opposite direction to D3 (ie, the above-mentioned third input) to cancel the display of the display content of the smart watch 230 .
在本申请实施例中,第一电子设备接收并响应于用户针对第一电子设备的第一输入,在第一电子设备中显示第二电子设备的显示内容。其中,第二电子设备为位于第一电子设备的目标方向上的电子设备。目标方向为通过第一输入的输入方向确定的方向。由此,在接收到用户的第一输入后,便可基于该第一输入的输入方向,确定位于第一电子设备的目标方向上的第二电子设备,并由此在第一电子设备中显示第二电子设备的显示内容。如此,用户可以通过控制第一输入的输入方向,有目的地选择需要在第一电子设备的显示界面中投屏显示的电子设备,不仅简化了投屏操作,还提高了人机交互性能。In the embodiment of the present application, the first electronic device receives and responds to the first input of the user with respect to the first electronic device, and displays the display content of the second electronic device in the first electronic device. Wherein, the second electronic device is an electronic device located in the target direction of the first electronic device. The target direction is the direction determined by the input direction of the first input. Therefore, after receiving the first input from the user, the second electronic device located in the target direction of the first electronic device can be determined based on the input direction of the first input, and the second electronic device can be displayed in the first electronic device accordingly Display content of the second electronic device. In this way, by controlling the input direction of the first input, the user can purposefully select the electronic device that needs to be projected on the display interface of the first electronic device, which not only simplifies the projection operation, but also improves the human-computer interaction performance.
此外,在本申请实施例中,除了具有功能路径简单、操作简洁的优势,还具有反馈直观、便于用户理解的优势。具体而言,在本申请实施例中,在第一电子设备中显示第二电子设备的显示内容,并且,目标方向为通过第一输入的输入方向确定的方向。因此,用户仅需根据第二电子设备相对于第一电子设备的方向(即目标方向),执行与该方向关联对应的输入(即第一输入),即可直观而便捷地实现投屏。换言之,在本申请实施例中,通过建立显示方法与用户自然行为的对应关系,可使得用户直观而便捷地触发电子设备实现投屏。In addition, in the embodiment of the present application, in addition to the advantages of simple function path and concise operation, it also has the advantages of intuitive feedback and easy understanding for users. Specifically, in the embodiment of the present application, the display content of the second electronic device is displayed in the first electronic device, and the target direction is the direction determined by the input direction of the first input. Therefore, the user only needs to perform the input corresponding to the direction (ie, the first input) according to the direction of the second electronic device relative to the first electronic device (ie, the target direction), and the screen projection can be realized intuitively and conveniently. In other words, in the embodiment of the present application, by establishing the corresponding relationship between the display method and the user's natural behavior, the user can intuitively and conveniently trigger the electronic device to realize screen projection.
最后,在相关技术中,可以通过将两个电子设备相碰,以建立两个电子设备之间的通信连接,并由此实现投屏。然而,将两个电子设备相碰的方式并不适用于体积或重量较大的设备,并且将两个电子设备相碰的方式仅适用于相互接近并且配置由NFC元器件的电子设备。而在本申请实施例中,则并无需要第一电子设备和第二电子设备相互接近的限制。本申请实施例可以对用户可视范围内的全部电子设备执行投屏操作,并且不需要用户移动电子设备。因此,在本申请实施例中,用户体验能够得到有效提高。Finally, in the related art, a communication connection between the two electronic devices can be established by touching the two electronic devices, thereby realizing screen projection. However, the way of touching two electronic devices is not suitable for devices with a large volume or weight, and the way of touching two electronic devices is only suitable for electronic devices that are close to each other and are equipped with NFC components. However, in the embodiment of the present application, there is no restriction that the first electronic device and the second electronic device need to be close to each other. In this embodiment of the present application, the screen projection operation can be performed on all electronic devices within the visible range of the user, and the user does not need to move the electronic device. Therefore, in the embodiments of the present application, the user experience can be effectively improved.
可选地,本申请实施例中,为了进一步提高用户体验,可以将对第二电子设备的显示内容在第一电子设备中投屏显示的显示位置进行设计和改进。Optionally, in this embodiment of the present application, in order to further improve the user experience, the display position where the display content of the second electronic device is projected and displayed in the first electronic device may be designed and improved.
示例性地,上述S102可以包括以下的S102a:Exemplarily, the above S102 may include the following S102a:
S102a、第一电子设备在第一电子设备的第一目标区域显示第二电子设备的显示内容。S102a, the first electronic device displays the display content of the second electronic device in the first target area of the first electronic device.
其中,第一目标区域为第一电子设备的显示界面中与目标方向关联的区域。The first target area is an area associated with the target direction in the display interface of the first electronic device.
示例性地,第一目标区域可以为一个,也可以为多个。具体可以根据实际使用需求确定,本发明实施例不作限定。Exemplarily, the first target area may be one or multiple. Specifically, it can be determined according to actual usage requirements, which is not limited in the embodiment of the present invention.
可以理解,第一电子设备的显示界面中与目标方向关联的区域是指:第一电子设备的显示界面中根据目标方向确定的区域。比如,第一目标区域为在第一电子设备的显示界面中与目标方向正向关联或负向关联的区域。换言之,第一目标区域为在第一电子设备的显示界面中与目标方向相同或相反的区域。It can be understood that the area associated with the target direction in the display interface of the first electronic device refers to the area determined according to the target direction in the display interface of the first electronic device. For example, the first target area is an area positively or negatively associated with the target direction in the display interface of the first electronic device. In other words, the first target area is an area in the display interface of the first electronic device in the same or opposite direction as the target.
示例性地,在第一目标区域为在第一电子设备的显示界面中与目标方向正向关联的情况下,当目标方向为上方,则第一目标区域为第一电子设备的显示界面中的上方区域;当目标方向为下方,第一目标区域为第一电子设备的显示界面中的下方区域。Exemplarily, in the case where the first target area is positively associated with the target direction in the display interface of the first electronic device, when the target direction is upward, the first target area is the first target area in the display interface of the first electronic device. Upper area; when the target direction is downward, the first target area is the lower area in the display interface of the first electronic device.
示例性地,在第一目标区域为在第一电子设备的显示界面中与目标方向负向关联的情况下,当目标方向为上方,则第一目标区域为第一电子设备的显示界面中的下方区域;当目标方向为下方,第一目标区域为第一电子设备的显示界面中的上方区域。Exemplarily, in the case where the first target area is negatively associated with the target direction in the display interface of the first electronic device, when the target direction is upward, the first target area is the first target area in the display interface of the first electronic device. Lower area; when the target direction is downward, the first target area is the upper area in the display interface of the first electronic device.
需要说明的是,第一目标区域在第一电子设备的显示界面中的方向可以和目标方向存在误差或差异。该误差或差异的具体数值可以根据实际使用需求确定,本发明实施例不作限定。比如,该误差或差异可以为15°或25°或45°。It should be noted that the direction of the first target area in the display interface of the first electronic device may have an error or difference with the target direction. The specific value of the error or difference can be determined according to actual use requirements, which is not limited in the embodiment of the present invention. For example, the error or difference may be 15° or 25° or 45°.
举例说明,如图3所示,平板电脑100的显示界面110包括第一区域111、第二区域112和第三区域113。用户可触发平板电脑100将上述区域中的一个区域或多个区域设置为第一目标区域。For example, as shown in FIG. 3 , the display interface 110 of the tablet computer 100 includes a first area 111 , a second area 112 and a third area 113 . The user can trigger the tablet computer 100 to set one or more of the above-mentioned areas as the first target area.
例如,在上述示例1中,由于用户在平板电脑100的显示界面中沿D1方向滑动,而第一区域111为与D1方向关联的区域,因此,平板电脑100可以在第一区域111中显示手机210的显示内容。For example, in the above example 1, since the user slides along the D1 direction in the display interface of the tablet computer 100, and the first area 111 is an area associated with the D1 direction, the tablet computer 100 can display the mobile phone in the first area 111 210 display content.
同理,在示例2中,由于第二区域112为与D2方向关联的区域,因此,平板电脑100可以在第二区域112中显示电脑220的显示内容。Similarly, in Example 2, since the second area 112 is an area associated with the D2 direction, the tablet computer 100 can display the display content of the computer 220 in the second area 112 .
在示例3中,由于第三区域113为与D3方向关联的区域,因此,平板电脑100可以在第三区域113中显示智能手表230的显示内容。In Example 3, since the third area 113 is an area associated with the D3 direction, the tablet computer 100 can display the display content of the smart watch 230 in the third area 113 .
举例说明,结合图3,如图4中的(a)所示,当用户需要触发平板电脑100(即第一电子设备)对手机(即第二电子设备)的显示内容211进行显示时,则用户可以拖动悬浮球115(即第一输入)。如图4中的(b)、(c)和(d)所示,由于用户在平板电脑100的显示界面100中沿箭头方向向右滑动,而第一区域111为与右侧方向关联的区域,因此当用户拖动悬浮球115向右滑动,手机的显示内容211在第一目标区域116中显示。For example, referring to FIG. 3, as shown in (a) of FIG. 4, when the user needs to trigger the tablet computer 100 (ie the first electronic device) to display the display content 211 of the mobile phone (ie the second electronic device), then The user can drag the floating ball 115 (ie, the first input). As shown in (b), (c) and (d) of FIG. 4 , since the user swipes to the right in the direction of the arrow in the display interface 100 of the tablet computer 100 , the first area 111 is an area associated with the right direction , so when the user drags the floating ball 115 to slide to the right, the display content 211 of the mobile phone is displayed in the first target area 116 .
如此,在第一电子设备的第一目标区域中显示第二电子设备的显示内容,第一目标区 域为第一电子设备的显示界面中与目标方向关联的区域。因此,第一电子设备可以根据目标方向,在与目标方向对应的位置上对第二电子设备的显示内容进行显示。由此,能够在显示方法与用户自然行为之间建立进一步的对应关系,以使得用户更加直观而便捷地触发电子设备实现投屏。In this way, the display content of the second electronic device is displayed in the first target area of the first electronic device, where the first target area is an area associated with the target direction in the display interface of the first electronic device. Therefore, the first electronic device can display the display content of the second electronic device at a position corresponding to the target direction according to the target direction. Therefore, a further correspondence can be established between the display method and the natural behavior of the user, so that the user can trigger the electronic device to realize screen projection more intuitively and conveniently.
可选地,本申请实施例中,在第二电子设备数量为N个的情况下,S102可以包括以下的S102b:Optionally, in this embodiment of the present application, when the number of second electronic devices is N, S102 may include the following S102b:
S102b、第一电子设备在第一电子设备的N个第二目标区域显示N个第二电子设备的显示内容。S102b, the first electronic device displays the display contents of the N second electronic devices in the N second target areas of the first electronic device.
其中,N为大于或等于2的整数,一个第二目标区域用于显示一个第二电子设备,N个第二电子设备的显示内容在N个第二目标区域排列显示;Wherein, N is an integer greater than or equal to 2, one second target area is used to display one second electronic device, and the display contents of the N second electronic devices are arranged and displayed in the N second target areas;
其中,第二目标区域为第一电子设备的显示界面中与目标方向关联的区域。The second target area is an area associated with the target direction in the display interface of the first electronic device.
可以理解,第一电子设备的显示界面中与目标方向关联的区域是指:第一电子设备的显示界面中根据目标方向确定的区域。比如,第二目标区域为在第一电子设备的显示界面中与目标方向正向关联或负向关联的区域。换言之,第二目标区域为在第一电子设备的显示界面中与目标方向相同或相反的区域。It can be understood that the area associated with the target direction in the display interface of the first electronic device refers to the area determined according to the target direction in the display interface of the first electronic device. For example, the second target area is an area positively or negatively associated with the target direction in the display interface of the first electronic device. In other words, the second target area is an area in the display interface of the first electronic device with the same or opposite direction as the target.
示例性地,在第二目标区域在第一电子设备的显示界面中的区域与目标方向正向关联的情况下,当目标方向为上方,则第二目标区域为第一电子设备的显示界面中的上方区域;当目标方向为下方,第二目标区域为第一电子设备的显示界面中的下方区域。Exemplarily, in the case where the area of the second target area in the display interface of the first electronic device is positively associated with the target direction, when the target direction is upward, the second target area is in the display interface of the first electronic device. When the target direction is downward, the second target area is the lower area in the display interface of the first electronic device.
示例性地,在第二目标区域在第一电子设备的显示界面中的区域与目标方向负向关联的情况下,当目标方向为上方,则第二目标区域为第一电子设备的显示界面中的下方区域;当目标方向为下方,第二目标区域为第一电子设备的显示界面中的上方区域。Exemplarily, in the case where the area of the second target area in the display interface of the first electronic device is negatively associated with the target direction, when the target direction is upward, the second target area is in the display interface of the first electronic device. The lower area of ; when the target direction is downward, the second target area is the upper area in the display interface of the first electronic device.
需要说明的是,第二目标区域在第一电子设备的显示界面中的方向可以和目标方向存在误差或差异。该误差或差异的具体数值可以根据实际使用需求确定,本发明实施例不作限定。比如,该误差或差异可以为15°或25°或45°。It should be noted that the direction of the second target area in the display interface of the first electronic device may have an error or difference with the target direction. The specific value of the error or difference can be determined according to actual use requirements, which is not limited in the embodiment of the present invention. For example, the error or difference may be 15° or 25° or 45°.
举例说明,如图5所示,以第一电子设备为平板电脑100为例,该平板电脑100的右侧放置了3个电子设备(即图中的手机212、手机214,以及手机216)。For example, as shown in FIG. 5 , taking the tablet computer 100 as the first electronic device as an example, three electronic devices (ie, the mobile phone 212 , the mobile phone 214 , and the mobile phone 216 in the figure) are placed on the right side of the tablet computer 100 .
在一个示例中,如图5所示,当用户需要触发平板电脑100(即第一电子设备)对位于平板电脑100右侧的三个手机(即三个第二电子设备)的显示内容进行显示时,则用户可以在如图5(a)所示平板电脑100的显示界面110上触控区域(比如平板电脑100的中心位置)进行滑动(即第一输入)。如图5中的(b)所示,随着用户继续向左滑动,手机212的显示内容213、手机214的显示内容215以及手机216的显示内容217进入显示界面110的三个第二目标区域(即第二目标区域117、第二目标区域118,以及第二目标 区域119)。如图5中的(c)所示,随着用户完成滑动并松手,手机212的显示内容213、手机214的显示内容215以及手机216的显示内容217在显示界面110的第二目标区域117中显示,并且手机212的显示内容213在第二目标区域117中显示,手机214的显示内容215在第二目标区域118中显示,手机216的显示内容217在第二目标区域119中显示。In an example, as shown in FIG. 5 , when the user needs to trigger the tablet computer 100 (ie the first electronic device) to display the display contents of the three mobile phones (ie the three second electronic devices) located on the right side of the tablet computer 100 , the user can slide (ie, the first input) on the touch area (eg, the center position of the tablet computer 100 ) on the display interface 110 of the tablet computer 100 as shown in FIG. 5( a ). As shown in (b) of FIG. 5 , as the user continues to slide to the left, the display content 213 of the mobile phone 212 , the display content 215 of the mobile phone 214 , and the display content 217 of the mobile phone 216 enter the three second target areas of the display interface 110 (ie, second target area 117, second target area 118, and second target area 119). As shown in (c) of FIG. 5 , as the user completes the swipe and lets go, the display content 213 of the mobile phone 212 , the display content 215 of the mobile phone 214 , and the display content 217 of the mobile phone 216 are in the second target area 117 of the display interface 110 display, and the display content 213 of the mobile phone 212 is displayed in the second target area 117 , the display content 215 of the mobile phone 214 is displayed in the second target area 118 , and the display content 217 of the mobile phone 216 is displayed in the second target area 119 .
如此,本申请实施例能够在显示方法与用户自然行为之间建立进一步的对应关系,以使得用户更加直观而便捷地触发电子设备实现投屏,使得用户可以快速地与多个第二电子设备建立投屏关系,并使得多个第二电子设备在第一电子设备中的显示位置与其实际的布置位置建立关联对应关系。In this way, the embodiment of the present application can establish a further correspondence between the display method and the natural behavior of the user, so that the user can trigger the electronic device to realize the screen projection more intuitively and conveniently, so that the user can quickly establish with multiple second electronic devices. The screen projection relationship is established, and the display positions of the plurality of second electronic devices in the first electronic device are associated with their actual arrangement positions.
可选地,本申请实施例中,为了在显示方法与用户自然行为之间建立进一步的对应关系,可以使得第一电子设备根据第一输入的输入轨迹的轨迹长度,在多个电子设备中确定一个第二电子设备。Optionally, in this embodiment of the present application, in order to establish a further corresponding relationship between the display method and the natural behavior of the user, the first electronic device may be made to determine among multiple electronic devices according to the trajectory length of the input trajectory of the first input. a second electronic device.
示例性地,上述S102可以包括以下的S102c:Exemplarily, the above S102 may include the following S102c:
S102c、在第一电子设备的目标方向上存在M个电子设备的情况下,第一电子设备根据第一输入的输入轨迹的轨迹长度,在M个电子设备中确定一个第二电子设备,并在第一电子设备中显示一个第二电子设备的显示内容。S102c: In the case where there are M electronic devices in the target direction of the first electronic device, the first electronic device determines a second electronic device among the M electronic devices according to the track length of the input track input by the first input, and sets a second electronic device in the M electronic devices. A display content of a second electronic device is displayed in the first electronic device.
其中,M为大于或等于2的整数,轨迹长度与目标距离相关,目标距离为第一电子设备和一个第二电子设备之间的距离。Wherein, M is an integer greater than or equal to 2, the track length is related to the target distance, and the target distance is the distance between the first electronic device and a second electronic device.
可以理解,第一输入的输入轨迹的轨迹长度是指:用户第一输入的输入轨迹的起始点和终点之间轨迹长度。It can be understood that the track length of the first input input track refers to the track length between the start point and the end point of the input track first input by the user.
可选地,本申请实施例中,轨迹长度与目标距离可以正相关,还可以负相关。Optionally, in this embodiment of the present application, the trajectory length and the target distance may be positively correlated or negatively correlated.
可以理解,在轨迹长度与目标距离正相关的情况下,目标距离的值相对较大,则目标轨迹长度相对较长;目标距离的值相对较小,则目标轨迹长度相对较短。It can be understood that when the trajectory length is positively correlated with the target distance, the value of the target distance is relatively large, the target trajectory length is relatively long; the value of the target distance is relatively small, the target trajectory length is relatively short.
可以理解,在轨迹长度与目标距离负相关的情况下,目标距离的值相对较大,则目标轨迹长度相对较短;目标距离的值相对较小,则目标轨迹长度相对较长。It can be understood that when the trajectory length is negatively correlated with the target distance, the value of the target distance is relatively large, the target trajectory length is relatively short; the value of the target distance is relatively small, the target trajectory length is relatively long.
本申请实施例中,目标轨迹长度与目标距离之间可以具有线性关系,也可以具有非线性关系。In this embodiment of the present application, the target trajectory length and the target distance may have a linear relationship or a nonlinear relationship.
可以理解,在目标轨迹长度与目标距离之间可以具有线性关系的情况下,目标轨迹长度与目标距离之间的比例关系可以根据实际使用需求确定,本发明实施例不作限定。It can be understood that in the case where there may be a linear relationship between the target trajectory length and the target distance, the proportional relationship between the target trajectory length and the target distance can be determined according to actual use requirements, which is not limited in this embodiment of the present invention.
在一个示例中,假设轨迹长度与目标距离正相关。如图6所示,第一输入可以为针对第一电子设备100的显示界面110做出的滑动输入。其中,L1为第一输入的输入轨迹的轨迹长度,L2为第一电子设备100和第二电子设备210之间的距离(即目标距离)。在目标轨迹长度L1与目标距离L2之间满足L1<L2/2000的情况下,则不执行投屏操作;在 L1 L2/2000的情况下,则可以在第一电子设备100中显示第二电子设备210的显示内容。In one example, it is assumed that the trajectory length is positively correlated with the target distance. As shown in FIG. 6 , the first input may be a sliding input made with respect to the display interface 110 of the first electronic device 100 . Wherein, L1 is the track length of the input track of the first input, and L2 is the distance between the first electronic device 100 and the second electronic device 210 (ie, the target distance). In the case where L1<L2/2000 is satisfied between the target trajectory length L1 and the target distance L2, the screen projection operation is not performed; in the case of L1 L2/2000, the second electronic device can be displayed in the first electronic device 100. Display content of device 210 .
在另一个示例中,L1为第一输入的输入轨迹的轨迹长度。在第一电子设备的目标方向上存在包括电子设备A和电子设备B的2个电子设备的情况下,电子设备A与第一电子设备之间的距离为L3,电子设备B与第一电子设备之间的距离为L4。相应地,在L1与L3相关的情况下,确定电子设备A为第二电子设备,在L1与L4相关的情况下,确定电子设备B为第二电子设备。In another example, L1 is the trajectory length of the input trajectory of the first input. When there are two electronic devices including electronic device A and electronic device B in the target direction of the first electronic device, the distance between electronic device A and the first electronic device is L3, and the distance between electronic device B and the first electronic device is L3. The distance between them is L4. Correspondingly, when L1 is related to L3, the electronic device A is determined to be the second electronic device, and when L1 is related to L4, the electronic device B is determined to be the second electronic device.
在另一个示例中,假设轨迹长度与目标距离正相关。在第一电子设备的目标方向上存在包括电子设备C和电子设备D的2个电子设备的情况下,电子设备C与第一电子设备之间的距离为L5,电子设备D与第一电子设备之间的距离为L6。其中。L5大于L6。当用户执行输入轨迹的轨迹长度为L7的第一输入,则可以触发第一电子设备对电子设备C的显示内容进行显示。当用户执行输入轨迹的轨迹长度为L8的第一输入,则可以触发第一电子设备对电子设备D的显示内容进行显示。其中。L7大于L8。In another example, assume that the trajectory length is positively correlated with the target distance. When there are two electronic devices including electronic device C and electronic device D in the target direction of the first electronic device, the distance between electronic device C and the first electronic device is L5, and the distance between electronic device D and the first electronic device is L5. The distance between them is L6. in. L5 is greater than L6. When the user executes the first input with the track length of the input track being L7, the first electronic device may be triggered to display the display content of the electronic device C. When the user executes the first input with the track length of the input track being L8, the first electronic device may be triggered to display the display content of the electronic device D. in. L7 is greater than L8.
可选地,本申请实施例中,在第二电子设备数量为N个的情况下,显示方法包括:Optionally, in this embodiment of the present application, when the number of second electronic devices is N, the display method includes:
S103、在第一电子设备中显示第三电子设备的显示内容及第四电子设备的显示内容。S103. Display the display content of the third electronic device and the display content of the fourth electronic device in the first electronic device.
其中,第二电子设备包括第三电子设备和第四电子设备。Wherein, the second electronic device includes a third electronic device and a fourth electronic device.
可以理解,第三电子设备和第四电子设备分别为位于第一电子设备的目标方向上的电子设备。It can be understood that the third electronic device and the fourth electronic device are respectively electronic devices located in the target direction of the first electronic device.
可选地,在接收用户针对第一电子设备的第一输入,第一电子设备响应于第一输入,在第一电子设备中分别显示第三电子设备的显示内容和第四电子设备的显示内容。Optionally, after receiving the first input from the user with respect to the first electronic device, the first electronic device displays the display content of the third electronic device and the display content of the fourth electronic device respectively in the first electronic device in response to the first input. .
在S103之后,该显示方法还包括S104和S105:After S103, the display method further includes S104 and S105:
S104、第一电子设备接收用户针对第三电子设备的显示界面的第二输入。S104. The first electronic device receives a second input from the user with respect to the display interface of the third electronic device.
可以理解,用户可以直接针对第三电子设备的显示界面进行第二输入,还可以在第一电子设备的显示界面中针对第三电子设备的显示界面进行第二输入。It can be understood that the user can directly perform the second input on the display interface of the third electronic device, and can also perform the second input on the display interface of the third electronic device in the display interface of the first electronic device.
S105、第一电子设备响应于第二输入,更新第三电子设备的显示界面的位置。S105. The first electronic device updates the position of the display interface of the third electronic device in response to the second input.
可以理解,更新第三电子设备的显示界面的位置可以为更新第三电子设备的显示界面在第一电子设备的显示界面中的显示位置。It can be understood that updating the position of the display interface of the third electronic device may be updating the display position of the display interface of the third electronic device in the display interface of the first electronic device.
其中,在第三电子设备的显示界面的位置和第四电子设备的显示界面的位置至少部分重合的情况下,在第三电子设备中显示第四电子设备的显示内容或在第四电子设备中显示第三电子设备的显示内容。Wherein, in the case where the position of the display interface of the third electronic device and the position of the display interface of the fourth electronic device at least partially overlap, the display content of the fourth electronic device is displayed in the third electronic device or the display content of the fourth electronic device is displayed in the fourth electronic device. Display the display content of the third electronic device.
可以理解,第二输入可以为触发第一电子设备将第三电子设备的显示界面的位置向第四电子设备的显示界面的位置移动的输入。换言之,即当用户对第一电子设备执行第二输入时,第一电子设备可以认为用户可能需要触发第一电子设备执行相互投屏功能。It can be understood that the second input may be an input that triggers the first electronic device to move the position of the display interface of the third electronic device to the position of the display interface of the fourth electronic device. In other words, when the user performs the second input on the first electronic device, the first electronic device may consider that the user may need to trigger the first electronic device to perform the mutual screen projection function.
在一种示例中,上述第二输入可以滑动输入。例如,上述第二输入可以为用户在手机的触控屏幕上进行的滑动输入,也可以为用户在电脑的触控面板上进行的滑动输入。In one example, the above-mentioned second input may be a sliding input. For example, the above-mentioned second input may be a sliding input performed by a user on a touch screen of a mobile phone, or may be a sliding input performed by a user on a touch panel of a computer.
在另一种示例中,上述第二输入可以拖动输入。例如,上述第二输入可以为用户操作与电脑通信连接的鼠标进行的拖动输入。In another example, the second input described above may be a drag input. For example, the above-mentioned second input may be a drag input performed by a user operating a mouse that is communicatively connected to the computer.
在另一种示例中,上述第二输入可以为手势输入。例如,上述第二输入可以为用户通过挥动手臂,或挥动电子配件(例如:与电子设备通信连接的触控笔),或做出挥动手势而进行的输入。In another example, the above-mentioned second input may be a gesture input. For example, the above-mentioned second input may be an input made by the user by waving an arm, or waving an electronic accessory (eg, a stylus communicatively connected to the electronic device), or making a waving gesture.
本申请实施例中,用户可在第一电子设备中拖拽各个被显示的第二电子设备的屏幕,以到可以支持投屏的电子设备中进行电子设备之间的相互投屏。In this embodiment of the present application, the user can drag the screens of each displayed second electronic device in the first electronic device, so as to perform mutual screen projection between the electronic devices in the electronic device that can support screen projection.
示例性地,在用户执行第二输入时,对于在第一电子设备中显示的N个第二电子设备而言,不支持投屏的第二电子设备的屏幕透明度降低,支持投屏的第二电子设备则出现高亮边框。由此,用户可以对支持投屏的第二电子设备进行拖动到,以完成投屏。Exemplarily, when the user performs the second input, for the N second electronic devices displayed in the first electronic device, the screen transparency of the second electronic device that does not support screen projection is reduced, and the second electronic device that supports screen projection is reduced. Electronic devices appear highlighted borders. Therefore, the user can drag the second electronic device that supports screen projection to the second electronic device to complete the screen projection.
在一个示例中,结合图3,如图7中的(a)所示,平板电脑100(即第一电子设备)已显示电脑220(即第三电子设备)的显示内容221和手机210(即第四电子设备)的显示内容218,且电脑220的显示内容221在平板电脑100的显示界面110的左侧显示,手机210的显示内容218在平板电脑100的显示界面110的右侧显示。在用户需要将手机210的显示内容218在电脑220中显示时,用户可以在平板电脑100的显示界面110上针对手机210的显示内容218进行滑动(即第二输入),以触发在电脑220上显示手机210的显示内容218。随着用户的滑动,显示界面110上手机210的显示内容218逐渐向显示界面110上电脑220的显示内容221的位置移动。如图7中的(b)所示,当用户完成滑动并松手后,手机210的显示内容218在电脑220上显示。In an example, with reference to FIG. 3 , as shown in (a) of FIG. 7 , the tablet computer 100 (ie the first electronic device) has displayed the display content 221 of the computer 220 (ie the third electronic device) and the mobile phone 210 (ie the third electronic device) The display content 218 of the fourth electronic device), the display content 221 of the computer 220 is displayed on the left side of the display interface 110 of the tablet computer 100 , and the display content 218 of the mobile phone 210 is displayed on the right side of the display interface 110 of the tablet computer 100 . When the user needs to display the display content 218 of the mobile phone 210 on the computer 220 , the user can slide the display content 218 of the mobile phone 210 on the display interface 110 of the tablet computer 100 (ie, the second input) to trigger the display on the computer 220 Display content 218 of cell phone 210 is displayed. As the user slides, the display content 218 of the mobile phone 210 on the display interface 110 gradually moves to the position of the display content 221 of the computer 220 on the display interface 110 . As shown in (b) of FIG. 7 , after the user finishes sliding and lets go, the display content 218 of the mobile phone 210 is displayed on the computer 220 .
如此,可以通过上述方式实现不同的第二电子设备之间的相互投屏功能,以进一步提高用户的使用体验。In this way, the mutual screen projection function between different second electronic devices can be implemented in the above manner, so as to further improve the user experience.
可选地,本申请实施例中,在第一输入为用户在第一电子设备的显示界面上的第一滑动输入的情况下,在上述步骤S101之后,本申请实施例提供的显示方法还可以包括如下步骤:Optionally, in the embodiment of the present application, in the case where the first input is the user's first sliding input on the display interface of the first electronic device, after the above step S101, the display method provided by the embodiment of the present application may also It includes the following steps:
S106、第一电子设备响应于第一滑动输入,基于第一滑动输入的输入方向,在与目标方向关联的第三目标区域内探测第二电子设备。S106. The first electronic device detects the second electronic device in a third target area associated with the target direction based on the input direction of the first sliding input in response to the first sliding input.
进一步的,基于上述S106,上述S102还可以包括以下的S102d:Further, based on the above S106, the above S102 may further include the following S102d:
S102d、第一电子设备在探测到第二电子设备的情况下,在第一电子设备中显示第二电子设备的显示内容。S102d, when the first electronic device detects the second electronic device, displays the display content of the second electronic device in the first electronic device.
可以理解,位于第一电子设备的目标方向上的第二电子设备可以通过超宽带(Ultra  Wide Band,UWB)技术或者距离传感器探测获得。It can be understood that, the second electronic device located in the target direction of the first electronic device can be detected by using an Ultra Wide Band (Ultra Wide Band, UWB) technology or a distance sensor.
示例性地,可以在第一电子设备和第二电子设备之上分别设置第一UWB芯片和第二UWB芯片,第一UWB芯片和第二UWB芯片中的任一者通过内置天线向四周发送信号,第一UWB芯片和第二UWB芯片中的另一者根据该信号到达时间和位置确定第一UWB芯片和第二UWB芯片之间的距离和方向,并由此在与目标方向关联的第三目标区域内探测第二电子设备。Exemplarily, a first UWB chip and a second UWB chip may be disposed on the first electronic device and the second electronic device, respectively, and any one of the first UWB chip and the second UWB chip sends a signal to the surrounding through the built-in antenna. , the other of the first UWB chip and the second UWB chip determines the distance and the direction between the first UWB chip and the second UWB chip according to the arrival time and position of the signal, and thus the third A second electronic device is detected within the target area.
如此,通过在与目标方向关联的第三目标区域内探测第二电子设备,可获得或确定能够与第一电子设备连接匹配的第二电子设备,并在探测到第二电子设备的情况下,在第一电子设备中显示第二电子设备的显示内容。In this way, by detecting the second electronic device in the third target area associated with the target direction, a second electronic device that can be connected and matched with the first electronic device can be obtained or determined, and when the second electronic device is detected, The display content of the second electronic device is displayed in the first electronic device.
可选地,本申请实施例中,第一输入为用户在第一电子设备的显示界面上的第二滑动输入。其中,在第二滑动输入的输入过程中,第二电子设备的显示内容会沿着第二滑动输入的滑动方向显示在第一电子设备中。Optionally, in this embodiment of the present application, the first input is a second sliding input by the user on the display interface of the first electronic device. Wherein, during the input process of the second sliding input, the display content of the second electronic device will be displayed in the first electronic device along the sliding direction of the second sliding input.
如此,通于显示的内容进行动效显示,并且该动效显示的方向与第二滑动输入的滑动方向相同,由此,能够进一步建立显示内容与用户自然行为之间的对应关系,以达到便于用户理解和操作的目的。In this way, the dynamic effect display is performed through the displayed content, and the direction of the dynamic effect display is the same as the sliding direction of the second sliding input, so that the corresponding relationship between the displayed content and the user's natural behavior can be further established, so as to facilitate the The purpose of user understanding and operation.
需要说明的是,本申请实施例提供的显示方法,执行主体可以为显示装置,或者该显示装置中的用于执行显示方法的控制模块。本申请实施例中以显示装置执行显示方法为例,说明本申请实施例提供的显示装置。It should be noted that, in the display method provided by the embodiments of the present application, the execution subject may be a display device, or a control module in the display device for executing the display method. In the embodiment of the present application, the display device provided by the embodiment of the present application is described by taking the display device executing the display method as an example.
本申请实施例提供了一种显示装置300,应用于第一电子设备。如图8所示,该显示装置300包括:The embodiment of the present application provides a display device 300, which is applied to a first electronic device. As shown in FIG. 8, the display device 300 includes:
接收模块310,用于接收用户针对第一电子设备的第一输入。The receiving module 310 is configured to receive the first input of the user with respect to the first electronic device.
显示模块320,用于响应于接收模块310接收的第一输入,在第一电子设备中显示第二电子设备的显示内容。The display module 320 is configured to display the display content of the second electronic device in the first electronic device in response to the first input received by the receiving module 310 .
其中,第二电子设备为位于第一电子设备的目标方向上的电子设备。目标方向为通过第一输入的输入方向确定的方向。Wherein, the second electronic device is an electronic device located in the target direction of the first electronic device. The target direction is the direction determined by the input direction of the first input.
在本申请实施例中,显示装置300接收并响应于用户针对第一电子设备的第一输入,在第一电子设备中显示第二电子设备的显示内容。其中,第二电子设备为位于第一电子设备的目标方向上的电子设备。目标方向为通过第一输入的输入方向确定的方向。由此,在接收到用户的第一输入后,便可基于该第一输入的输入方向,确定位于第一电子设备的目标方向上的第二电子设备,并由此在第一电子设备中显示第二电子设备的显示内容。如此,用户可以通过控制第一输入的输入方向,有目的地选择需要在第一电子设备的显示界面中投屏显示的电子设备,不仅简化了投屏操作,还提高了人机交互性能。In the embodiment of the present application, the display apparatus 300 receives and responds to the first input of the user with respect to the first electronic device, and displays the display content of the second electronic device in the first electronic device. Wherein, the second electronic device is an electronic device located in the target direction of the first electronic device. The target direction is the direction determined by the input direction of the first input. Therefore, after receiving the first input from the user, the second electronic device located in the target direction of the first electronic device can be determined based on the input direction of the first input, and the second electronic device can be displayed in the first electronic device accordingly Display content of the second electronic device. In this way, by controlling the input direction of the first input, the user can purposefully select the electronic device that needs to be projected on the display interface of the first electronic device, which not only simplifies the projection operation, but also improves the human-computer interaction performance.
可选地,本申请实施例中,显示模块320具体用于:Optionally, in this embodiment of the present application, the display module 320 is specifically configured to:
在第一电子设备的第一目标区域显示第二电子设备的显示内容。The display content of the second electronic device is displayed in the first target area of the first electronic device.
其中,第一目标区域为第一电子设备的显示界面中与目标方向关联的区域。The first target area is an area associated with the target direction in the display interface of the first electronic device.
可选地,本申请实施例中,显示模块320具体用于:Optionally, in this embodiment of the present application, the display module 320 is specifically configured to:
在第二电子设备数量为N个的情况下,在第一电子设备的N个第二目标区域显示N个第二电子设备的显示内容。When the number of the second electronic devices is N, the display contents of the N second electronic devices are displayed in the N second target areas of the first electronic device.
其中,一个第二目标区域用于显示一个第二电子设备,N个第二电子设备的显示内容在N个第二目标区域排列显示。One second target area is used to display one second electronic device, and the display contents of the N second electronic devices are arranged and displayed in the N second target areas.
第二目标区域为第一电子设备的显示界面中与目标方向关联的区域。The second target area is an area associated with the target direction in the display interface of the first electronic device.
可选地,本申请实施例中,显示模块320具体用于:Optionally, in this embodiment of the present application, the display module 320 is specifically configured to:
在第一电子设备的目标方向上存在M个电子设备的情况下,根据第一输入的输入轨迹的轨迹长度,在M个电子设备中确定一个第二电子设备,并在第一电子设备中显示一个第二电子设备的显示内容。When there are M electronic devices in the target direction of the first electronic device, a second electronic device is determined among the M electronic devices according to the track length of the input track of the first input, and displayed in the first electronic device Display content of a second electronic device.
其中,M为大于或等于2的整数,轨迹长度与目标距离相关,目标距离为第一电子设备和一个第二电子设备之间的距离。Wherein, M is an integer greater than or equal to 2, the track length is related to the target distance, and the target distance is the distance between the first electronic device and a second electronic device.
可选地,本申请实施例中,显示模块320具体用于:Optionally, in this embodiment of the present application, the display module 320 is specifically configured to:
在第二电子设备数量为N个的情况下,在第一电子设备中显示第三电子设备的显示内容及第四电子设备的显示内容;In the case that the number of the second electronic devices is N, displaying the display content of the third electronic device and the display content of the fourth electronic device in the first electronic device;
接收模块还用于:The receiving module is also used to:
在第一电子设备中显示第三电子设备的显示内容及第四电子设备的显示内容之后,接收用户针对第三电子设备的显示界面的第二输入;After displaying the display content of the third electronic device and the display content of the fourth electronic device in the first electronic device, receiving a second input from the user with respect to the display interface of the third electronic device;
显示模块还用于:Display modules are also used to:
响应于接收模块接收的第二输入,更新第三电子设备的显示界面的位置;updating the position of the display interface of the third electronic device in response to the second input received by the receiving module;
在第三电子设备的显示界面的位置和第四电子设备的显示界面的位置至少部分重合的情况下,在第三电子设备中显示第四电子设备的显示内容或在第四电子设备中显示第三电子设备的显示内容;In the case where the position of the display interface of the third electronic device and the position of the display interface of the fourth electronic device at least partially overlap, the display content of the fourth electronic device is displayed in the third electronic device or the display content of the fourth electronic device is displayed in the fourth electronic device Three electronic equipment display content;
其中,第二电子设备包括第三电子设备和第四电子设备。Wherein, the second electronic device includes a third electronic device and a fourth electronic device.
可选地,本申请实施例中,第一输入为用户在第一电子设备的显示界面上的第一滑动输入。Optionally, in this embodiment of the present application, the first input is a first sliding input by the user on the display interface of the first electronic device.
显示模块320还用于: Display module 320 is also used to:
接收用户的第一输入之后,响应于第一滑动输入,基于第一滑动输入的输入方向,在与目标方向关联的第三目标区域内探测第二电子设备。After receiving the user's first input, in response to the first sliding input, the second electronic device is detected within a third target area associated with the target direction based on the input direction of the first sliding input.
显示模块320具体用于:The display module 320 is specifically used for:
在探测到第二电子设备的情况下,在第一电子设备中显示第二电子设备的显示内容。When the second electronic device is detected, the display content of the second electronic device is displayed in the first electronic device.
可选地,本申请实施例中,第一输入为用户在第一电子设备的显示界面上的第二滑动输入。Optionally, in this embodiment of the present application, the first input is a second sliding input by the user on the display interface of the first electronic device.
其中,在第二滑动输入的输入过程中,第二电子设备的显示内容会沿着第二滑动输入的滑动方向显示在第一电子设备中。Wherein, during the input process of the second sliding input, the display content of the second electronic device will be displayed in the first electronic device along the sliding direction of the second sliding input.
本申请实施例中的显示装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性地,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The display device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Illustratively, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的显示装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The display device in this embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
本申请实施例提供的显示装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。The display device provided by the embodiment of the present application can implement each process implemented by the method embodiment of FIG. 1 , and to avoid repetition, details are not described here.
可选地,如图9所示,本申请实施例还提供一种电子设备400,包括处理器410,存储器409,存储在存储器409上并可在所述处理器410上运行的程序或指令,该程序或指令被处理器410执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 9 , an embodiment of the present application further provides an electronic device 400, including a processor 410, a memory 409, a program or instruction stored in the memory 409 and executable on the processor 410, When the program or instruction is executed by the processor 410, each process of the above-mentioned display method embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.
图10为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 10 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、以及处理器410等部件。The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, and a processor 410, etc. part.
本领域技术人员可以理解,电子设备400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图10中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部 件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 400 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 410 through a power management system, so that the power management system can manage charging, discharging, and power management. consumption management and other functions. The structure of the electronic device shown in FIG. 10 does not constitute a limitation on the electronic device, and the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
其中,用户输入单元407,用于接收用户针对第一电子设备的第一输入。Wherein, the user input unit 407 is configured to receive the first input of the user with respect to the first electronic device.
显示单元406,用于响应于第一输入,在第一电子设备中显示第二电子设备的显示内容。The display unit 406 is configured to display the display content of the second electronic device in the first electronic device in response to the first input.
其中,第二电子设备为位于第一电子设备的目标方向上的电子设备。目标方向为通过第一输入的输入方向确定的方向。Wherein, the second electronic device is an electronic device located in the target direction of the first electronic device. The target direction is the direction determined by the input direction of the first input.
在本申请实施例中,电子设备400作为第一电子设备,其接收并响应于用户针对第一电子设备的第一输入,在第一电子设备中显示第二电子设备的显示内容。其中,第二电子设备为位于第一电子设备的目标方向上的电子设备。目标方向为通过第一输入的输入方向确定的方向。由此,在接收到用户的第一输入后,便可基于该第一输入的输入方向,确定位于第一电子设备的目标方向上的第二电子设备,并由此在第一电子设备中显示第二电子设备的显示内容。如此,用户可以通过控制第一输入的输入方向,有目的地选择需要在第一电子设备的显示界面中投屏显示的电子设备,不仅简化了投屏操作,还提高了人机交互性能。In this embodiment of the present application, the electronic device 400 is used as a first electronic device, which receives and responds to a user's first input to the first electronic device, and displays the display content of the second electronic device in the first electronic device. Wherein, the second electronic device is an electronic device located in the target direction of the first electronic device. The target direction is the direction determined by the input direction of the first input. Therefore, after receiving the first input from the user, the second electronic device located in the target direction of the first electronic device can be determined based on the input direction of the first input, and the second electronic device can be displayed in the first electronic device accordingly Display content of the second electronic device. In this way, by controlling the input direction of the first input, the user can purposefully select the electronic device that needs to be projected on the display interface of the first electronic device, which not only simplifies the projection operation, but also improves the human-computer interaction performance.
可选地,本申请实施例中,显示单元406,具体用于:Optionally, in this embodiment of the present application, the display unit 406 is specifically configured to:
在第一电子设备的第一目标区域显示第二电子设备的显示内容。The display content of the second electronic device is displayed in the first target area of the first electronic device.
其中,第一目标区域为第一电子设备的显示界面中与目标方向关联的区域。The first target area is an area associated with the target direction in the display interface of the first electronic device.
可选地,本申请实施例中,显示单元406,具体用于:Optionally, in this embodiment of the present application, the display unit 406 is specifically configured to:
在第二电子设备数量为N个的情况下,在第一电子设备的N个第二目标区域显示N个第二电子设备的显示内容。When the number of the second electronic devices is N, the display contents of the N second electronic devices are displayed in the N second target areas of the first electronic device.
其中,N为大于或等于2的整数,一个第二目标区域用于显示一个第二电子设备,N个第二电子设备的显示内容在N个第二目标区域排列显示。Wherein, N is an integer greater than or equal to 2, one second target area is used to display one second electronic device, and the display contents of the N second electronic devices are arranged and displayed in the N second target areas.
第二目标区域为第一电子设备的显示界面中与目标方向关联的区域。The second target area is an area associated with the target direction in the display interface of the first electronic device.
可选地,本申请实施例中,显示单元406,具体用于:Optionally, in this embodiment of the present application, the display unit 406 is specifically configured to:
在第一电子设备的目标方向上存在M个电子设备的情况下,根据第一输入的输入轨迹的轨迹长度,在M个电子设备中确定一个第二电子设备,并在第一电子设备中显示一个第二电子设备的显示内容。When there are M electronic devices in the target direction of the first electronic device, a second electronic device is determined among the M electronic devices according to the track length of the input track of the first input, and displayed in the first electronic device Display content of a second electronic device.
其中,M为大于或等于2的整数,轨迹长度与目标距离相关,目标距离为第一电子设备和一个第二电子设备之间的距离。Wherein, M is an integer greater than or equal to 2, the track length is related to the target distance, and the target distance is the distance between the first electronic device and a second electronic device.
可选地,本申请实施例中,第一输入为用户在第一电子设备的显示界面上的第一滑动输入。显示单元406,还用于:Optionally, in this embodiment of the present application, the first input is a first sliding input by the user on the display interface of the first electronic device. The display unit 406 is also used for:
接收用户的第一输入之后,响应于第一滑动输入,基于第一滑动输入的输入方向,在 与目标方向关联的第三目标区域内探测第二电子设备。After receiving the user's first input, in response to the first sliding input, the second electronic device is detected within a third target area associated with the target direction based on the input direction of the first sliding input.
显示单元406,具体用于:The display unit 406 is specifically used for:
在探测到第二电子设备的情况下,在第一电子设备中显示第二电子设备的显示内容。When the second electronic device is detected, the display content of the second electronic device is displayed in the first electronic device.
可选地,本申请实施例中,第一输入为用户在第一电子设备的显示界面上的第二滑动输入。Optionally, in this embodiment of the present application, the first input is a second sliding input by the user on the display interface of the first electronic device.
其中,在第二滑动输入的输入过程中,第二电子设备的显示内容会沿着第二滑动输入的滑动方向显示在第一电子设备中。Wherein, during the input process of the second sliding input, the display content of the second electronic device will be displayed in the first electronic device along the sliding direction of the second sliding input.
应理解的是,本申请实施例中,输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元406可包括显示面板4061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板4061。用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器409可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。It should be understood that, in this embodiment of the present application, the input unit 404 may include a graphics processor (Graphics Processing Unit, GPU) 4041 and a microphone 4042. Such as camera) to obtain still pictures or video image data for processing. The display unit 406 may include a display panel 4061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072 . The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which are not described herein again. Memory 409 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 410 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and application programs, and the like, and the modem processor mainly handles wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 410.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the foregoing display method embodiment can be implemented, and can achieve the same The technical effect, in order to avoid repetition, will not be repeated here.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述显示方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each of the foregoing display method embodiments process, and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所 固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes 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 the reverse order depending on the functions involved. To perform functions, for example, 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 some examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present application can be embodied in the form of computer software products that are essentially or contribute to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk , CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (15)

  1. 一种显示方法,所述方法包括:A display method, the method comprising:
    接收用户针对第一电子设备的第一输入;receiving a first input from a user with respect to the first electronic device;
    响应于所述第一输入,在所述第一电子设备中显示第二电子设备的显示内容;in response to the first input, displaying the display content of the second electronic device in the first electronic device;
    其中,所述第二电子设备为位于所述第一电子设备的目标方向上的电子设备;所述目标方向为通过所述第一输入的输入方向确定的方向。Wherein, the second electronic device is an electronic device located in a target direction of the first electronic device; the target direction is a direction determined by the input direction of the first input.
  2. 根据权利要求1所述的显示方法,其中,所述在所述第一电子设备中显示第二电子设备的显示内容,包括:The display method according to claim 1, wherein the displaying the display content of the second electronic device in the first electronic device comprises:
    在所述第一电子设备的第一目标区域显示第二电子设备的显示内容;Display the display content of the second electronic device in the first target area of the first electronic device;
    其中,所述第一目标区域为所述第一电子设备的显示界面中与所述目标方向关联的区域。The first target area is an area associated with the target direction in the display interface of the first electronic device.
  3. 根据权利要求1所述的显示方法,其中,在所述第二电子设备数量为N个的情况下,所述在所述第一电子设备中显示第二电子设备的显示内容,包括:The display method according to claim 1, wherein, when the number of the second electronic devices is N, the displaying the display content of the second electronic device in the first electronic device comprises:
    在所述第一电子设备的N个第二目标区域显示所述N个第二电子设备的显示内容;Displaying the display contents of the N second electronic devices in the N second target areas of the first electronic device;
    其中,N为大于或等于2的整数,一个所述第二目标区域用于显示一个所述第二电子设备,所述N个第二电子设备的显示内容在所述N个第二目标区域排列显示;Wherein, N is an integer greater than or equal to 2, one of the second target areas is used to display one of the second electronic devices, and the display contents of the N second electronic devices are arranged in the N second target areas show;
    所述第二目标区域为所述第一电子设备的显示界面中与目标方向关联的区域。The second target area is an area associated with the target direction in the display interface of the first electronic device.
  4. 根据权利要求1所述的显示方法,其中,所述在所述第一电子设备中显示第二电子设备的显示内容,包括:The display method according to claim 1, wherein the displaying the display content of the second electronic device in the first electronic device comprises:
    在所述第一电子设备的目标方向上存在M个电子设备的情况下,根据所述第一输入的输入轨迹的轨迹长度,在所述M个电子设备中确定一个所述第二电子设备,并在所述第一电子设备中显示一个所述第二电子设备的显示内容;In the case that there are M electronic devices in the target direction of the first electronic device, according to the track length of the input track of the first input, one of the M electronic devices is determined, the second electronic device, and displaying a display content of the second electronic device in the first electronic device;
    其中,M为大于或等于2的整数,所述轨迹长度与目标距离相关,所述目标距离为所述第一电子设备和一个所述第二电子设备之间的距离。Wherein, M is an integer greater than or equal to 2, the track length is related to a target distance, and the target distance is a distance between the first electronic device and one of the second electronic devices.
  5. 根据权利要求1所述的显示方法,其中,在所述第二电子设备数量为N个的情况下,所述方法包括:The display method according to claim 1, wherein, when the number of the second electronic devices is N, the method comprises:
    在所述第一电子设备中显示第三电子设备的显示内容及第四电子设备的显示内容;displaying the display content of the third electronic device and the display content of the fourth electronic device in the first electronic device;
    所述在所述第一电子设备中显示第三电子设备的显示内容及第四电子设备的显示内容之后,所述方法还包括:After displaying the display content of the third electronic device and the display content of the fourth electronic device in the first electronic device, the method further includes:
    接收用户针对所述第三电子设备的显示界面的第二输入;receiving a second input from the user with respect to the display interface of the third electronic device;
    响应于所述第二输入,更新所述第三电子设备的显示界面的位置;in response to the second input, updating the position of the display interface of the third electronic device;
    在所述第三电子设备的显示界面的位置和所述第四电子设备的显示界面的位置至少部分重合的情况下,在所述第三电子设备中显示所述第四电子设备的显示内容或在所述第四电子设备中显示所述第三电子设备的显示内容;In the case where the position of the display interface of the third electronic device and the position of the display interface of the fourth electronic device at least partially overlap, the display content of the fourth electronic device is displayed in the third electronic device or displaying the display content of the third electronic device in the fourth electronic device;
    其中,所述第二电子设备包括所述第三电子设备和所述第四电子设备。Wherein, the second electronic device includes the third electronic device and the fourth electronic device.
  6. 一种显示装置,所述装置包括:A display device comprising:
    接收模块,用于接收用户针对第一电子设备的第一输入;a receiving module, configured to receive a user's first input with respect to the first electronic device;
    显示模块,用于响应于所述接收模块接收的所述第一输入,在所述第一电子设备中显示第二电子设备的显示内容;a display module, configured to display the display content of the second electronic device in the first electronic device in response to the first input received by the receiving module;
    其中,所述第二电子设备为位于所述第一电子设备的目标方向上的电子设备;所述目标方向为通过所述第一输入的输入方向确定的方向。Wherein, the second electronic device is an electronic device located in a target direction of the first electronic device; the target direction is a direction determined by the input direction of the first input.
  7. 根据权利要求6所述的显示装置,其中,所述显示模块具体用于:The display device according to claim 6, wherein the display module is specifically used for:
    在所述第一电子设备的第一目标区域显示第二电子设备的显示内容;Display the display content of the second electronic device in the first target area of the first electronic device;
    其中,所述第一目标区域为所述第一电子设备的显示界面中与所述目标方向关联的区域。The first target area is an area associated with the target direction in the display interface of the first electronic device.
  8. 根据权利要求6所述的显示装置,其中,所述显示模块具体用于:The display device according to claim 6, wherein the display module is specifically used for:
    在所述第二电子设备数量为N个的情况下,在所述第一电子设备的N个第二目标区域显示所述N个第二电子设备的显示内容;In the case that the number of the second electronic devices is N, displaying the display contents of the N second electronic devices in the N second target areas of the first electronic device;
    其中,N为大于或等于2的整数,一个所述第二目标区域用于显示一个所述第二电子设备,所述N个第二电子设备的显示内容在所述N个第二目标区域排列显示;Wherein, N is an integer greater than or equal to 2, one of the second target areas is used to display one of the second electronic devices, and the display contents of the N second electronic devices are arranged in the N second target areas show;
    所述第二目标区域为所述第一电子设备的显示界面中与目标方向关联的区域。The second target area is an area associated with the target direction in the display interface of the first electronic device.
  9. 根据权利要求6所述的显示装置,其中,所述显示模块具体用于:The display device according to claim 6, wherein the display module is specifically used for:
    在所述第一电子设备的目标方向上存在M个电子设备的情况下,根据所述第一输入的输入轨迹的轨迹长度,在所述M个电子设备中确定一个所述第二电子设备,并在所述第一电子设备中显示一个所述第二电子设备的显示内容;In the case that there are M electronic devices in the target direction of the first electronic device, according to the track length of the input track of the first input, one of the M electronic devices is determined, the second electronic device, and displaying a display content of the second electronic device in the first electronic device;
    其中,M为大于或等于2的整数,所述轨迹长度与目标距离相关,所述目标距离为所述第一电子设备和一个所述第二电子设备之间的距离。Wherein, M is an integer greater than or equal to 2, the track length is related to a target distance, and the target distance is a distance between the first electronic device and one of the second electronic devices.
  10. 根据权利要求6所述的显示装置,其中,The display device according to claim 6, wherein,
    所述显示模块具体用于:The display module is specifically used for:
    在所述第二电子设备数量为N个的情况下,在所述第一电子设备中显示第三电子设备的显示内容及第四电子设备的显示内容;In the case that the number of the second electronic devices is N, displaying the display content of the third electronic device and the display content of the fourth electronic device in the first electronic device;
    所述接收模块还用于:The receiving module is also used for:
    在所述第一电子设备中显示第三电子设备的显示内容及第四电子设备的显示内容之后,接收用户针对所述第三电子设备的显示界面的第二输入;After displaying the display content of the third electronic device and the display content of the fourth electronic device in the first electronic device, receiving a second input from the user with respect to the display interface of the third electronic device;
    所述显示模块还用于:The display module is also used for:
    响应于所述接收模块接收的所述第二输入,更新所述第三电子设备的显示界面的位置;updating the position of the display interface of the third electronic device in response to the second input received by the receiving module;
    在所述第三电子设备的显示界面的位置和所述第四电子设备的显示界面的位置至少部分重合的情况下,在所述第三电子设备中显示所述第四电子设备的显示内容或在所述第四电子设备中显示所述第三电子设备的显示内容;In the case where the position of the display interface of the third electronic device and the position of the display interface of the fourth electronic device at least partially overlap, the display content of the fourth electronic device is displayed in the third electronic device or displaying the display content of the third electronic device in the fourth electronic device;
    其中,所述第二电子设备包括所述第三电子设备和所述第四电子设备。Wherein, the second electronic device includes the third electronic device and the fourth electronic device.
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述的显示方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction being executed by the processor to achieve as claimed in claims 1 to 5 The steps of any one of the display methods.
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述的显示方法的步骤。A readable storage medium on which programs or instructions are stored, and when the programs or instructions are executed by a processor, the steps of the display method according to any one of claims 1 to 5 are implemented.
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5任一项所述的方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction to implement the method according to any one of claims 1-5.
  14. 一种计算机软件产品,所述软件产品被至少一个处理器执行以实现如权利要求1-5任一项所述的方法。A computer software product executed by at least one processor to implement the method of any of claims 1-5.
  15. 一种显示装置,包括所述装置被配置成用于执行如权利要求1-5任一项所述的显示方法。A display device comprising the device configured to perform the display method of any one of claims 1-5.
PCT/CN2022/086100 2021-04-29 2022-04-11 Display method, display apparatus and electronic device WO2022228097A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110476801.5 2021-04-29
CN202110476801.5A CN113282223A (en) 2021-04-29 2021-04-29 Display method, display device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2022228097A1 true WO2022228097A1 (en) 2022-11-03

Family

ID=77277731

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/086100 WO2022228097A1 (en) 2021-04-29 2022-04-11 Display method, display apparatus and electronic device

Country Status (2)

Country Link
CN (1) CN113282223A (en)
WO (1) WO2022228097A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113282223A (en) * 2021-04-29 2021-08-20 维沃移动通信有限公司 Display method, display device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131866A (en) * 2019-11-25 2020-05-08 华为技术有限公司 Screen-projecting audio and video playing method and electronic equipment
CN111897507A (en) * 2020-07-30 2020-11-06 Tcl海外电子(惠州)有限公司 Screen projection method and device, second terminal and storage medium
WO2021023208A1 (en) * 2019-08-08 2021-02-11 华为技术有限公司 Data sharing method, graphical user interface, related device, and system
WO2021042999A1 (en) * 2019-09-02 2021-03-11 华为技术有限公司 Method for transmitting information over short distances and electronic devices
CN113282223A (en) * 2021-04-29 2021-08-20 维沃移动通信有限公司 Display method, display device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140022183A1 (en) * 2012-07-19 2014-01-23 General Instrument Corporation Sending and receiving information
JP5848732B2 (en) * 2013-08-26 2016-01-27 シャープ株式会社 Information processing device
CN110879683A (en) * 2018-09-05 2020-03-13 上海博泰悦臻网络技术服务有限公司 Screen information sharing method, terminal and vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021023208A1 (en) * 2019-08-08 2021-02-11 华为技术有限公司 Data sharing method, graphical user interface, related device, and system
WO2021042999A1 (en) * 2019-09-02 2021-03-11 华为技术有限公司 Method for transmitting information over short distances and electronic devices
CN111131866A (en) * 2019-11-25 2020-05-08 华为技术有限公司 Screen-projecting audio and video playing method and electronic equipment
CN111897507A (en) * 2020-07-30 2020-11-06 Tcl海外电子(惠州)有限公司 Screen projection method and device, second terminal and storage medium
CN113282223A (en) * 2021-04-29 2021-08-20 维沃移动通信有限公司 Display method, display device and electronic equipment

Also Published As

Publication number Publication date
CN113282223A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
US11431784B2 (en) File transfer display control method and apparatus, and corresponding terminal
RU2687037C1 (en) Method, device for fast screen separation, electronic device, ui display and storage medium
KR101995278B1 (en) Method and apparatus for displaying ui of touch device
US10048856B2 (en) Configuring a user interface based on an experience mode transition
KR102020345B1 (en) The method for constructing a home screen in the terminal having touchscreen and device thereof
WO2020063091A1 (en) Picture processing method and terminal device
US20140325443A1 (en) Method and apparatus for operating menu in electronic device including touch screen
EP3287883B1 (en) Screen activation method, device and electronic equipment
US20170199662A1 (en) Touch operation method and apparatus for terminal
CN110069178B (en) Interface control method and terminal equipment
KR20160032611A (en) Method and apparatus for controlling an electronic device using a touch input
US10739927B2 (en) Operation detection method and apparatus, and mobile terminal
CN108415641B (en) Icon processing method and mobile terminal
CA2846482A1 (en) Method of providing of user interface in portable terminal and apparatus thereof
KR101251761B1 (en) Method for Data Transferring Between Applications and Terminal Apparatus Using the Method
WO2020007114A1 (en) Method and apparatus for switching split-screen application, storage medium, and electronic device
KR20140019530A (en) Method for providing user&#39;s interaction using mutil touch finger gesture
US11567725B2 (en) Data processing method and mobile device
WO2022228378A1 (en) Interaction method and apparatus for wearable device, and electronic device and readable storage medium
WO2022253181A1 (en) Icon arrangement method and apparatus, and electronic device
CN112433693A (en) Split screen display method and device and electronic equipment
WO2022228097A1 (en) Display method, display apparatus and electronic device
CN109901760B (en) Object control method and terminal equipment
WO2023093590A1 (en) Display control method and apparatus, and electronic device and medium
WO2022063034A1 (en) Input interface display method and terminal

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22794568

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE