Focus moving method and device, electronic equipment and medium

By displaying native controls and projection controls on the electronic device screen and receiving user input to directly move the selection focus to the target position, the problem of cumbersome operation during projection is solved, and the efficiency of control selection is improved.

CN115793937BActive Publication Date: 2026-08-04VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
VIVO MOBILE COMM CO LTD
Filing Date
2022-12-02
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

During screen mirroring on electronic devices, users need to search through multiple controls and perform multiple operations to select the target control, which is cumbersome and inefficient.

Method used

Display native controls and projection controls on the screen of electronic devices, and receive user input to directly move the selection focus to the target location, and update the displayed content by combining target information and projection data.

Benefits of technology

It simplifies the steps for users to select screen mirroring controls, improves operational efficiency, and enables the selection of target controls without requiring additional operations on the screen mirroring device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115793937B_ABST
    Figure CN115793937B_ABST
Patent Text Reader

Abstract

The application discloses a focus moving method and device, electronic equipment and medium, and belongs to the technical field of terminals. The focus moving method comprises the following steps: displaying N first controls, and displaying M second controls in a first display area, wherein the display content in the first display area is content projected by a second electronic device; N and M are positive integers; in the case that the selection focus is located in a third control in the N first controls, a first input of a user is received, and the first input is used for triggering the movement of the selection focus to a target position; in response to the first input, in the case that the target position is located in the first display area, the selection focus is displayed on a target control, wherein the target control is a control located at the target position, and the M second controls comprise the target control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of terminal technology, specifically relating to a focus shifting method, device, electronic device, and medium. Background Technology

[0002] Typically, when electronic device 1 projects controls onto electronic device 2 for display, if a user wants electronic device 2 to select a control projected by electronic device 1, the user can first search for that control one by one among the controls on electronic device 1, and then perform multiple operations on electronic device 1 so that electronic device 1 can move the focus to that control, thereby allowing electronic device 2 to select that control.

[0003] However, since the user needs to search for a certain control one by one among all the controls of electronic device 1, and then perform multiple operations on electronic device 1 before electronic device 2 can select the control that electronic device 1 is projecting, the user's operation is relatively cumbersome and time-consuming in the process of triggering electronic device 2 to select the control projected by electronic device 1.

[0004] This results in low efficiency in selecting the control that electronic device 2 is using for screen mirroring from electronic device 1. Summary of the Invention

[0005] The purpose of this application is to provide a focus movement method, apparatus, electronic device, and medium that can solve the problem of low efficiency in selecting desired controls by electronic devices.

[0006] In a first aspect, embodiments of this application provide a focus movement method, the method comprising: displaying N first controls, and displaying M second controls in a first display area, wherein the content displayed in the first display area is the content projected by a second electronic device; N and M are both positive integers; when the selected focus is located in a third control among the N first controls, receiving a first input from a user, the first input being used to trigger moving the selected focus to a target position; in response to the first input, when the target position is located in the first display area, displaying the selected focus on a target control, wherein the target control is a control located at the target position, and the M second controls include the target control.

[0007] Secondly, embodiments of this application provide a focus moving device, which is a first focus moving device, comprising a display module and a receiving module. The display module is used to display N first controls and M second controls in a first display area, wherein the content displayed in the first display area is the content projected by the second focus moving device, and N and M are both positive integers. The receiving module is used to receive a first input from the user when the selected focus is located on a third control among the N first controls displayed by the display module. This first input triggers the movement of the selected focus to a target position. The display module is also used to, in response to the first input received by the receiving module, display the selected focus on a target control when the target position is located in the first display area, wherein the target control is a control located at the target position, and the M second controls include the target control.

[0008] Thirdly, embodiments of this application provide a focus movement method, which includes: receiving target information sent by a first electronic device, the target information being used to instruct a second electronic device to display a selected focus on a target control; then, according to the target information, displaying the selected focus on the target control and sending target projection data to the first electronic device, the target projection data being: projection data of the interface after the second electronic device displays the selected focus on the target control; wherein the content projected by the second electronic device is displayed in a first display area.

[0009] Fourthly, this application provides a focus-moving device, which is a second focus-moving device, comprising: a receiving module, a display module, and a sending module. The receiving module receives target information sent by a first focus-moving device, the target information instructing the second focus-moving device to display the selected focus on a target control. The display module displays the selected focus on the target control according to the target information received by the receiving module. The sending module sends target projection data to the first focus-moving device, the target projection data being the projection data of the interface after the second focus-moving device displays the selected focus on the target control. The content projected by the second focus-moving device is displayed in a first display area.

[0010] Fifthly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing programs or instructions executable on the processor, the programs or instructions, when executed by the processor, implementing the steps of the methods described in the first and third aspects.

[0011] In a sixth aspect, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first and third aspects.

[0012] In a seventh aspect, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the methods as described in the first aspect and the third aspect.

[0013] Eighthly, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the methods described in the first and third aspects.

[0014] In this embodiment, the screen of the first electronic device displays N first controls, and the first display area of ​​the screen of the first electronic device displays the content projected from the second electronic device. The projected content includes M second controls. Therefore, the first electronic device can display the selection focus on the target control among the M second controls when the target position is located within the first display area, based on a first input from the user to trigger the movement of the selection focus to the target position. Since the screen of the first electronic device simultaneously includes native controls from the first electronic device and controls from the second electronic device, the first electronic device can determine whether to directly display the selection focus on the corresponding control in the projected window by judging the target position after the selection focus is moved. This allows direct selection of controls in the projected window from the first electronic device, simplifying the selection process and improving the efficiency of the first electronic device in selecting target controls.

[0015] In this embodiment, after receiving target information from the first electronic device, the second electronic device can display the selected focus on the target control based on the target information, and then send target projection data to the first electronic device. It is understood that the sent target projection data is the interface data after the selected focus has been displayed on the target control. This allows the first electronic device to directly update the display content (i.e., projection content) in the first display area based on the target projection data, so that the selected focus is displayed on the target control in the updated projection content. Therefore, it achieves the ability to select the target control without user operation on the second electronic device. Attached Figure Description

[0016] Figure 1 This is one of the flowcharts illustrating the focus movement method provided in the embodiments of this application;

[0017] Figure 2 This is a second schematic flowchart of the focus movement method provided in the embodiments of this application;

[0018] Figure 3This is the third flowchart illustrating the focus movement method provided in the embodiments of this application;

[0019] Figure 4 This is one of the schematic diagrams of the display interface of the first electronic device provided in the embodiments of this application;

[0020] Figure 5 This is the fourth flowchart illustrating the focus movement method provided in the embodiments of this application;

[0021] Figure 6 This is a second schematic diagram of the display interface of the first electronic device provided in the embodiments of this application;

[0022] Figure 7 This is the fifth flowchart illustrating the focus movement method provided in the embodiments of this application;

[0023] Figure 8 This is the third schematic diagram of the display interface of the first electronic device provided in the embodiments of this application;

[0024] Figure 9 This is the sixth flowchart illustrating the focus movement method provided in the embodiments of this application;

[0025] Figure 10 This is the seventh flowchart illustrating the focus movement method provided in the embodiments of this application;

[0026] Figure 11 This is the eighth flowchart illustrating the focus movement method provided in the embodiments of this application;

[0027] Figure 12 This is the ninth flowchart illustrating the focus movement method provided in the embodiments of this application;

[0028] Figure 13 This is a schematic diagram of the structure of the first focal point moving device provided in the embodiments of this application;

[0029] Figure 14 This is a schematic diagram of the structure of the second focus moving device provided in the embodiments of this application;

[0030] Figure 15 This is a schematic diagram of the structure of the electronic device provided in the embodiments of this application;

[0031] Figure 16 This is a schematic diagram of the hardware structure of the electronic device provided in the embodiments of this application. Detailed Implementation

[0032] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0033] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0034] The focus movement method, apparatus, electronic device, and medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0035] The focus movement method provided in this application can be applied to scenarios where the user moves the selected focus to a control in the projection window.

[0036] In related technologies, electronic device 1 can receive screen projection data from electronic device 2 and display the screen projection window of electronic device 2 on the screen of electronic device 1. This screen projection window displays M controls. When a user needs to select control A in the screen projection window of electronic device 2, the selection focus must first be moved from a control on electronic device 1 to the screen projection window, and then the selection focus must be moved from the first control in the upper left corner of the screen projection window until it reaches control A to select control A. This makes the user's selection operation of controls in the screen projection window rather cumbersome.

[0037] In this embodiment, when electronic device 1 displays N controls and also displays a projection window of electronic device 2 containing M controls, when a user needs to select control A from the M controls on the screen of electronic device 1, the user can directly move the selection focus by inputting on electronic device 1, and directly move the selection focus to the position of control A. This avoids the user having to first select the projection window and then move the selection focus multiple times to trigger electronic device 1 to select control A, simplifying the steps for the user to select control A on electronic device 1 and simplifying the operation process.

[0038] This application provides a focus movement method in which a first electronic device displays N first controls and M second controls in a first display area, wherein the content displayed in the first display area is the content projected by the second electronic device; N and M are both positive integers; when the selected focus is located in a third control among the N first controls, a first input from the user is received, which triggers the selection focus to be moved to a target position; in response to the first input, when the target position is located in the first display area, the selected focus is displayed on the target control, wherein the target control is the control located at the target position, and the M second controls include the target control.

[0039] Optionally, in this embodiment of the application, when the target location is located in the first display area, the first electronic device sends target information to the second electronic device, which is used to instruct the second electronic device to display the selection focus on the target control.

[0040] Optionally, in this embodiment of the application, the second electronic device receives target information sent by the first electronic device, displays the selection focus on the target control according to the target information, and sends target projection data to the first electronic device. The target projection data is the projection data of the interface after the second electronic device displays the selection focus on the target control.

[0041] Optionally, in this embodiment of the application, after the first electronic device receives the target projection data sent by the second electronic device, it updates the display content in the first display area according to the target projection data, wherein the updated display content selects the focus to be displayed on the target control.

[0042] Figure 1 A flowchart of a focus movement method provided in an embodiment of this application is shown. Figure 1 As shown, a focus movement method provided in this application embodiment may include the following steps 101 to 103.

[0043] Step 101: The first electronic device displays N first controls and M second controls in the first display area.

[0044] In this embodiment of the application, the content displayed in the first display area is the content projected by the second electronic device, and N and M are both positive integers.

[0045] Understandably, a data transmission channel can be established between the first and second electronic devices, allowing the second electronic device to project its interface onto the screen of the first electronic device. Specifically, this can be achieved when both devices are connected to the same wireless network, allowing the content of the second device to be projected onto the screen of the first device.

[0046] Optionally, in this embodiment of the application, the above-mentioned data transmission channel can be any of the following: Bluetooth transmission channel, Wireless-Fidelity (WiFi) transmission channel.

[0047] Optionally, the first display area can be the display area of ​​the projection window of the second electronic device onto the first electronic device. For example, the first display area can be located in the right area of ​​the display screen of the first electronic device.

[0048] Step 102: When the first electronic device selects the third control among the N first controls as the focus, it receives the user's first input.

[0049] In this embodiment of the application, the first input is used to trigger the selection focus to be moved to the target position.

[0050] In this embodiment of the application, the target position is the position after the selection focus is moved.

[0051] Optionally, in this embodiment, the first input can be an operation by the user through any hardware such as a remote control, directional keys, touchscreen, joystick, or knob on the first electronic device. It is understood that the user's first input can move the selection focus upwards, downwards, leftwards, rightwards, etc.

[0052] Optionally, the third control can be any one of the N first controls. After the control is selected with focus, if further input from the user is received, the function corresponding to the control can be responded to. For example, if the control is an icon, and the icon has been selected with focus, the user's click input can be received to open the application corresponding to the icon and display the application interface.

[0053] Alternatively, the display format of the selected focus can be any of the following: highlight, aperture surround, flash, magnification, etc.

[0054] Step 103: In response to the first input, the first electronic device displays the selection focus on the target control when the target location is within the first display area.

[0055] In this embodiment of the application, the target control is a control located at the target position, and the M second controls include the target control.

[0056] Optionally, in this embodiment of the application, after the user triggers the selection focus to move, when the first electronic device recognizes that the moved selection focus will be located in the first display area, it will send the control information and switching event information to the second electronic device. After the second electronic device determines the target control corresponding to the target position based on the control information and switching event information, it displays the selection focus on the target control and sends the screen projection data of the interface after displaying the selection focus on the target control back to the first electronic device. After the first electronic device updates the display content based on the screen projection data, the selection focus is displayed on the target control in the first display area.

[0057] In the focus movement method provided in this application embodiment, N first controls are displayed on the screen of a first electronic device, and content projected from a second electronic device is displayed in a first display area of ​​the screen of the first electronic device. This projected content includes M second controls. The first electronic device can then display the selected focus on the target control among the M second controls, based on a first input from the user to trigger the movement of the selected focus to a target location, provided the target location is within the first display area. Since the screen of the first electronic device simultaneously includes native controls from the first electronic device and controls from the second electronic device, the first electronic device can determine whether to directly display the selected focus on the corresponding control in the projected window by judging the target location after the selected focus has been moved. This allows for direct selection of controls in the projected window from the first electronic device, simplifying the selection process and improving the efficiency of selecting target controls.

[0058] The following describes in detail how the first electronic device moves the selection focus to the target control when the target location is in the first display area.

[0059] Optionally, in the embodiments of this application, combined with Figure 1 ,like Figure 2 As shown, step 103 can be implemented through steps 103a to 103c.

[0060] Step 103a: When the target location is within the first display area, the first electronic device sends target information to the second electronic device.

[0061] In this embodiment of the application, the target information is used to instruct the second electronic device to display the selection focus on the target control.

[0062] Optionally, in the embodiments of this application, the target information may include at least one of the following: information of the target control (e.g., identity information in the embodiments below), information of the location point in the first display area (e.g., first location information in the embodiments below), and switching event information, etc.

[0063] In one example, the target information includes information about the target control and switching event information. Thus, when the first electronic device determines that the target location is within the first display area, it can identify the control whose location matches the target location as the target control, acquire information about that target control, and generate switching event information. This switching event information can be an instruction indicating that the selected focus position needs to be switched. Therefore, the first electronic device can send the target control information and the switching event information to the second electronic device.

[0064] In another example, the target information includes location information within the first display area and switching event information. Thus, when the first electronic device determines that the target location is within the first display area, it can obtain the location information within the first display area based on the location information of the third control, and generate switching event information based on the input parameters of the first input. This switching event information may include the movement direction, allowing the first electronic device to send the location information and switching event information within the first display area to the second electronic device. The input parameters may include at least one of the following: number of inputs and input direction.

[0065] Optionally, in this embodiment of the application, the first electronic device can send target information to the second electronic device through the data transmission channel between the first electronic device and the second electronic device.

[0066] Step 103b: The first electronic device receives the target projection data sent by the second electronic device.

[0067] In this embodiment of the application, the target projection data is: the projection data displayed by the second electronic device on the target control after selecting the focus.

[0068] In one example, the target information includes information about the target control and switching event information. Thus, after receiving the target information, the second electronic device can determine which of the M second controls is the target control based on the target control information; and based on the switching event information, control the selection focus to move to the target control, thereby enabling the second electronic device to obtain the target projection data and send it to the first electronic device.

[0069] In another example, the target information includes location information in the first display area and switching event information. Upon receiving the target information, the second electronic device can determine the target control from among the M second controls that is closest to the location in the first display area, based on the location information in the first display area and the movement direction in the switching event information. The second electronic device then controls the selection focus to move to the target control, thereby obtaining the target projection data and sending it to the first electronic device.

[0070] Optionally, in this embodiment of the application, the first electronic device receives the target projection data through a data transmission channel between the first electronic device and the second electronic device.

[0071] Step 103c: The first electronic device updates the display content in the first display area according to the target projection data.

[0072] In this embodiment of the application, the updated display content selects the focus to be displayed on the target control.

[0073] Optionally, in this embodiment of the application, after the first electronic device receives the target projection data, the first electronic device can generate first display content based on the target projection data, thereby updating the display content in the first display area to the first display content. In this first display content, the target control in the first display area displays a selection focus.

[0074] Thus, since the first electronic device can send target information to the second electronic device to instruct the display of the selected focus on the target control, and receive the projection data after the selected focus is displayed from the second electronic device, the first electronic device can update the content displayed in the first display area in real time, thereby improving the response speed of moving the selected focus to the target control on the first electronic device.

[0075] Once the first electronic device obtains the target control information, it can send it to the second electronic device, causing the second electronic device to display the selection focus on the target control. The following is a detailed explanation.

[0076] Optionally, in the embodiments of this application, combined with Figure 2 ,like Figure 3 As shown, before step 103a above, the focus moving method provided in this application embodiment further includes the following steps 201 and 202. Step 103a above can be specifically implemented through step 103a1.

[0077] Step 201: The first electronic device generates a first control list based on the information of the X controls.

[0078] In this embodiment of the application, the aforementioned X controls include N first controls and M second controls, and the aforementioned list of first controls is used to indicate the order of the X controls, where X is a positive integer.

[0079] In this embodiment of the application, the first control list is a control list that includes N first controls and M second controls.

[0080] Optionally, in this embodiment of the application, for the information of each of the X controls, the information of a control may include at least one of the following: location information, identity information, etc.

[0081] In the case where the information of a control includes position information, the position information of the control can specifically be: the position information of the control in the first coordinate system.

[0082] The origin of the first coordinate system is a vertex of the display screen of the first electronic device; one coordinate axis of the first coordinate system is the first edge line of the display screen of the first electronic device; the other coordinate axis of the first coordinate system is the second edge line of the display screen of the first electronic device. The first edge line is perpendicular to the second edge line.

[0083] Optionally, the first electronic device can determine the control grid area where each control is located based on the information of the X controls, so as to generate a first control list.

[0084] It should be noted that the "control grid area" mentioned above can be understood as the grid area occupied by the control on the display screen of the first electronic device.

[0085] Understandably, the first control list is used to indicate the relative order of the X controls. Specifically, it can be determined by the positional relationship between each control based on the control grid area it occupies, thus determining the order of the X controls.

[0086] Step 202: The first electronic device determines the target control based on the third control, the first input, and the first control list.

[0087] Optionally, in this embodiment of the application, after determining that the current selection focus is on the third control, the first electronic device can determine which control the selection focus will be on after the movement by combining the sorting of the controls in the first control list and the input parameters of the first input.

[0088] Further, optionally, the above input parameters may include at least one of the following: number of inputs, input direction.

[0089] For example, such as Figure 4 As shown, the order in the first control list is: control 1, control 2, control 3, control 4, control 5, control 6, control 7, control 8, control 9, and control 10. Specifically, the control is sorted from left to right and from top to bottom according to the control grid area of ​​each control. If the current third control is "control 5", that is, the current selection focus is on "control 5", and the user clicks twice on the right arrow key, then combined with the order of the controls in the first control list, it can be determined that the selection focus after the movement will be on "control 9".

[0090] Step 103a1: When the target control is the second control, the first electronic device sends target information to the second electronic device.

[0091] In this embodiment of the application, the target information includes information about the target control.

[0092] Optionally, in this embodiment of the application, when the target control is a second control, the target information may include the location information and identity information of the target control.

[0093] It is understandable that after receiving the target information, the second electronic device can determine which second control to display the selection focus on based on the location and identity information of the target control.

[0094] Combining the examples above, such as Figure 4 As shown, when the focus is displayed on "Control 6" (the third control), the user presses the right arrow key once. Based on the sorting in the first control list and the user's input parameters (i.e., moving one control area to the right), the focus will move to "Control 9" (the target control). Since "Control 9" is the control projected by the second electronic device, it is detected that "Control 9" is not the native control (the first control) but a control in the projection window (the second control). The first electronic device then sends the identity information (i.e., the target information) of "Control 9" to the second electronic device, so that the second electronic device displays the focus on the corresponding control 9 (i.e., the target control) based on the identity information.

[0095] Optionally, in this embodiment of the application, the target information further includes switching event information, which is an instruction indicating that the selected focus position needs to be switched.

[0096] Thus, it can be seen that the first electronic device can first generate a first control list based on the information of X controls, and then combine the third control, the input parameters of the first input, and the first control list to determine the target information of the target control. If the target control is the second control, the target information is sent to the second electronic device, enabling the second electronic device to quickly display the selection focus on the target control. Therefore, the efficiency of the first electronic device in determining the target control is improved.

[0097] In addition, the first electronic device can also send the acquired target information to the second electronic device, which will then determine the target control and display the selection focus. This will be explained in detail below.

[0098] Optionally, in the embodiments of this application, combined with Figure 2 ,like Figure 5As shown, before step 103a above, the focus moving method provided in this application embodiment further includes step 301 below, and step 103a above can be specifically implemented through step 103a2.

[0099] Step 301: The first electronic device determines the first location information based on the location of the third control.

[0100] In this embodiment of the application, the first position information is the information of the position point in the first display area that is closest to the third control.

[0101] Understandably, there are no other controls between the third control and the first display area (projection window).

[0102] For example, such as Figure 6 As shown, the third control can be "control 3" or "control 6", and the first position information is the coordinate information of the first position point, that is, the first position information is (x, y).

[0103] Step 103a2: When the first electronic device determines that the target location is in the first display area based on the third control and the first input, it sends the target information to the second electronic device.

[0104] Understandably, since there are no other controls between the third control and the first display area, if the movement direction indicated by the first input is towards the first display area, then the selected focus position after the movement is considered to be located within the content of the first display area.

[0105] Combining the examples above, such as Figure 6 As shown, when the selection focus is displayed on "Control 6", if the user clicks the right control twice, it is assumed that the selection focus after the movement must be within the projection window.

[0106] Optionally, in this embodiment, the target information further includes event switching information, which may include a movement direction. Thus, the second electronic device can determine the second control in the projection window that is closest to the first position point as the target control based on the first position information and the movement direction.

[0107] Understandably, during screen mirroring, the display positions of each control within the mirrored window can be obtained. This allows us to identify the control in the mirrored window closest to the first position and designate that control as the target control.

[0108] For example, continuing with the above examples, such as Figure 6As shown, when the focus is displayed on "Control 6", receiving two clicks from the user to the right control confirms that the moved focus is within the projection window, and thus sends target information containing the first position information and event switching information to the second electronic device. After obtaining the coordinate positions of "Control 7", "Control 8", "Control 9" and "Control 10" in the projection window, the second electronic device determines that "Control 9" is closest to the coordinate point indicated by the first position information, and therefore identifies "Control 9" as the target control.

[0109] Understandably, once "Control 6" has focus, regardless of how many clicks the user makes on the right-pointing control, "Control 9" will be selected as the target control. After the target control has focus, subsequent input on the right-pointing control allows selection of other controls within the projection window.

[0110] Thus, since the first electronic device can first determine the first position information of the first position point closest to the third control in the first display area based on the location of the third control, and then send target information including the first position information to the second electronic device when the target position is located in the first display area, the second electronic device can quickly determine the target control. Therefore, the efficiency of moving controls in the native controls of the first electronic device and the projection window is improved.

[0111] Of course, sometimes when the second electronic device is projected onto the first electronic device, the projection window of the second electronic device will cover some of the native controls of the first electronic device. In this case, when the selection focus moves to the boundary of the projection window, it is unclear whether the control that the user wants to select is the native control of the first electronic device in that area, or the control in the projection window displayed in that area. The first electronic device needs to provide the user with the selection, which will be explained in detail below.

[0112] Optionally, in the embodiments of this application, combined with Figure 1 ,like Figure 7 As shown, the first display area displays a projection window, which is displayed in a floating manner. Before step 103, the focus movement method provided in this application embodiment may further include the following steps 401 to 403.

[0113] Step 401: If the first electronic device also includes T first controls in the area covered by the projection window, the target prompt information is displayed.

[0114] Optionally, in this embodiment of the application, after the second electronic device projects its screen onto the first electronic device, the projection window of the second electronic device is displayed in a floating manner in the first display area of ​​the first electronic device. For example, the first display area may be located in the right part of the display screen of the first electronic device.

[0115] In this embodiment of the application, the above-mentioned target prompt information is used to prompt whether to move the selection focus to the target control, where T is a positive integer.

[0116] Optionally, in this embodiment, after the user triggers the selection focus to move, if it is detected that the moved selection focus will be located in the projection window, and if the projection window covers T first controls, then the target prompt information can be displayed. Here, T first controls are the controls other than N first controls among the native controls of the first electronic device.

[0117] Alternatively, the aforementioned target prompt information can be overlaid on the projection window. Specifically, the target prompt information can be a pop-up message, which includes a first identifier and a second identifier.

[0118] The first identifier is used to indicate that the selection focus is moved to the target control; the second identifier is used to indicate that the selection focus is moved to one of the T first controls. Specifically, which control the selection focus is moved to depends on the user's input parameters. Furthermore, the selection focus can be moved to the control displayed at the target position among the T first controls.

[0119] Step 402: If the first electronic device receives the second input from the user regarding the target prompt information, it displays the selection focus on the target control.

[0120] As is understandable, the second input mentioned above is the input for selecting the first identifier in the target prompt information.

[0121] Step 403: If the first electronic device receives a third input from the user regarding the target prompt information, it displays the selection focus on the fourth control and increases the display transparency of the projection window.

[0122] In this embodiment of the application, the fourth control is the control located at the target position among the T first controls.

[0123] It is understandable that when a user wants to select the fourth control among the T first controls covered by the projection window, they can select the second identifier in the target prompt information to move the selection focus to the fourth control.

[0124] Understandably, the third input mentioned above is the input for selecting the second identifier in the target prompt information.

[0125] In this embodiment, after the user clicks the second identifier in the target prompt information, the first electronic device is instructed to move the selection focus to the control corresponding to the target position as the fourth control, thereby displaying the selection focus on the fourth control and increasing the display transparency of the projection window.

[0126] It should be noted that the above "increase the display transparency of the projection window" can be understood as: increasing the display transparency of the projection window to hide the M second controls in the projection window, and allowing the first electronic device to more clearly display the T first controls covered by the projection window.

[0127] For example, such as Figure 8 As shown in (a), the projection window 2 is displayed floating on the right side of the display screen (e.g., display screen 3) of the first electronic device, as shown in (a). Figure 8 As shown in (d), the projection window 2 covers two first controls, namely "Control 11" and "Control 12". When the selection focus is displayed on "Control 6" (i.e., the third control) in the display screen 3, and the user rotates the knob to move the selection focus to the right, when the selection focus is detected to be located in the projection window 2, since the projection window 2 covers the two first controls, it will then appear as follows: Figure 8 As shown in (b), a pop-up message 4 (i.e., target prompt information) appears. This pop-up message 4 includes a first identifier 5 "Mobile Terminal" and a second identifier 6 "Vehicle Terminal". The first identifier 5 indicates that the selection focus should be moved to the control in the mobile projection window, and the second identifier 6 indicates that the selection focus should be moved to the native control on the display screen 3 that is covered by the projection window 2. If the user clicks the first identifier 5, then... Figure 8 As shown in (c), the focus is moved to "Control 9" in the projection window 2; if the user clicks the second identifier 6, then as .... Figure 8 As shown in (d), the selection focus is moved to "Control 12" on display screen 3.

[0128] Thus, when the projection window in the first display area covers an area that also includes T first controls, and the target location is within the first display area, the first electronic device can display a target prompt to indicate to the user which control to display the selection focus on. This allows the user to choose whether to move the selection focus to the target control or the fourth control, thereby increasing the user's freedom to move the selection focus using the first electronic device.

[0129] The following details how the second electronic device interacts with the first electronic device.

[0130] Figure 9 A flowchart of a focus movement method provided in an embodiment of this application is shown. Figure 9 As shown, the focus movement method provided in this application embodiment includes the following steps 501 to 502.

[0131] Step 501: The second electronic device receives target information from the first electronic device.

[0132] In this embodiment of the application, the target information is used to instruct the second electronic device to display the selection focus on the target control.

[0133] Optionally, in this embodiment of the application, the target information is sent to the second electronic device through a transmission channel when the first electronic device recognizes that the position (target position) after the selection focus is moved will be located in the first display area.

[0134] Step 502: The second electronic device displays the selection focus on the target control according to the target information and sends the target projection data to the first electronic device.

[0135] In this embodiment of the application, the target projection data is: the projection data of the interface after the second electronic device displays the selected focus on the target control.

[0136] In this embodiment of the application, the content projected by the second electronic device is displayed in the first display area.

[0137] Optionally, in this embodiment of the application, the second electronic device can determine the target control based on the target information sent by the first electronic device, display the selection focus on the target control, and send the projection data after the second electronic device displays the selection focus to the first electronic device.

[0138] The focus movement method provided in this application embodiment allows a second electronic device to display the selected focus on a target control after receiving target information from a first electronic device. The second electronic device then sends target projection data to the first electronic device. This target projection data is the interface data after the selected focus is displayed on the target control. This allows the first electronic device to directly update the display content (i.e., the projection content) in the first display area based on the target projection data. Consequently, the selected focus is displayed on the target control in the updated projection content. Therefore, the target control can be selected without user intervention on the second electronic device.

[0139] Of course, the target control needs to be determined before the second electronic device can display the selected focus on the target control. The following is a detailed explanation.

[0140] Optionally, in the embodiments of this application, combined with Figure 9 ,like Figure 10 As shown, prior to step 502 above, the focus movement method provided in this application embodiment may further include the following step 601.

[0141] Step 601: The second electronic device determines the target control based on the target information.

[0142] It should be noted that the description of the second electronic device determining the target control based on the target information can be found in the specific description in the above embodiments, and will not be repeated here in the embodiments of this application.

[0143] Thus, since the second electronic device can directly determine the target control based on the target information, it can directly move the selection focus to the target control without requiring user operation on the second electronic device. Therefore, it achieves the goal of selecting the target control without user operation on the second electronic device.

[0144] The following details how the second electronic device determines the target control based on the identity information of the target control included in the target information.

[0145] Optionally, in this embodiment of the application, the aforementioned target information includes the identity information of the target control, combined with... Figure 10 ,like Figure 11 As shown, step 601 above can be implemented through step 601a below.

[0146] Step 601a: The second electronic device identifies the control whose identity information matches the target control information as the target control.

[0147] Thus, it can be seen that since the second electronic device can identify the control whose identity information matches the target control information as the target control, the efficiency of the second electronic device in displaying the selection focus on the target control is improved.

[0148] The following details how the second electronic device determines the target control based on the location point information and switching event information included in the target information in the first display area.

[0149] Optionally, in this embodiment of the application, the target information includes first location information, which is the information of the location point in the first display area closest to the third control, combined with... Figure 10 ,like Figure 12 As shown, step 601 above can also be implemented through step 601b below.

[0150] Step 601b: The second electronic device identifies the control whose location information matches the first location information as the target control.

[0151] In this embodiment of the application, the first position information is the information of the position point in the first display area that is closest to the third control.

[0152] Thus, it can be seen that since the second electronic device can determine the second control that is closest to the first position point corresponding to the first position information as the target control, the efficiency of the second electronic device in displaying the selection focus on the target control is improved.

[0153] The method provided in this application can be executed by a device. This application uses a device executing the method as an example to illustrate the device provided in this application.

[0154] Figure 13 A focus-moving device 60 as described in the above embodiments is illustrated. This focus-moving device is a first focus-moving device, comprising a display module 61 and a receiving module 62. The display module 61 displays N first controls and M second controls in a first display area, wherein the content displayed in the first display area is the content projected by the second focus-moving device, and N and M are both positive integers. The receiving module 62 receives a first input from the user when the selected focus is located on a third control among the N first controls displayed by the display module. This first input triggers the movement of the selected focus to a target position. The display module 61, in response to the first input received by the receiving module, displays the selected focus on a target control when the target position is located in the first display area. The target control is the control located at the target position, and the M second controls include the target control.

[0155] In one possible implementation, the first focus moving device 60 further includes a sending module and an updating module. The sending module is configured to send target information to the second focus moving device when the target location is within the first display area. This target information instructs the second focus moving device to display the selected focus on the target control. The receiving module is further configured to receive target projection data sent by the second focus moving device. This target projection data is the projection data after the second focus moving device displays the selected focus on the target control. The updating module is configured to update the display content in the first display area based on the target projection data received by the receiving module. In the updated display content, the selected focus is displayed on the target control.

[0156] In one possible implementation, the first focus moving device 60 further includes a generation module and a determination module. The generation module generates a first control list based on information from X controls, where the X controls include N first controls and M second controls, and the first control list indicates the order of the X controls, where X is a positive integer. The determination module determines a target control based on a third control, a first input, and the first control list generated by the generation module. The sending module, specifically, sends target information to the second focus moving device when the target control determined by the determination module is a second control, where the target information includes information about the target control.

[0157] In one possible implementation, the first focus moving device 60 further includes a determining module. This determining module is configured to determine first position information based on the location of the third control, wherein the first position information is the information of the closest point to the third control in the first display area. The sending module is specifically configured to send target information to the second focus moving device when the target position is determined to be in the first display area based on the third control and the first input. The target information includes the first position information determined by the determining module, and the second focus moving device is used to determine the target control based on the first position information.

[0158] In one possible implementation, the first display area displays a projection window, which is displayed in a floating manner. The display module is further configured to display target prompt information when the area covered by the projection window also includes T first controls, wherein the target prompt information prompts whether to move the selection focus to the target control, and T is a positive integer.

[0159] The first focus moving device provided in this application embodiment displays N first controls on its screen, and displays content projected by the second focus moving device in a first display area of ​​the screen. This projected content includes M second controls. Therefore, the first focus moving device can display the selected focus on the target control among the M second controls based on a user's first input to move the selected focus to a target location, provided the target location is within the first display area. Since the screen of the first focus moving device simultaneously includes both its native controls and the controls of the second focus moving device, the first focus moving device can determine whether to directly display the selected focus on the corresponding control in the projected window by judging the position after the selected focus has been moved. This allows for direct selection of controls in the projected window from the first focus moving device, simplifying the selection process and improving the efficiency of selecting target controls.

[0160] Figure 14A second focus mobile device 70 according to the above embodiments is shown. The second focus mobile device 70 includes a receiving module 71, a display module 72, and a sending module 73. The receiving module 71 receives target information sent by a first focus mobile device, which instructs the second focus mobile device to display the selected focus on a target control. The display module 72 displays the selected focus on the target control according to the target information received by the receiving module. The sending module 73 sends target projection data to the first focus mobile device, which is the projection data of the interface after the second focus mobile device displays the selected focus on the target control. The content projected by the second focus mobile device is displayed in a first display area.

[0161] The second focus mobile device provided in this application embodiment can, after receiving target information sent by the first focus mobile device, display the selected focus on the target control based on the target information, and then send target projection data back to the first focus mobile device. It is understood that the sent target projection data is the interface data after the selected focus has been displayed on the target control. This allows the first focus mobile device to directly update the display content (i.e., projection content) in the first display area based on the target projection data, so that the selected focus is displayed on the target control in the updated projection content. Therefore, it achieves the goal of selecting the target control without user operation on the second focus mobile device.

[0162] The focal mobile device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the scope of the device.

[0163] The focus moving device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.

[0164] The focus moving device provided in this application embodiment can achieve... Figures 1 to 12 The various processes implemented in the method implementation examples will not be described again here to avoid repetition.

[0165] Optionally, in the embodiments of this application, such as Figure 15 As shown, this application embodiment also provides an electronic device 80, including a processor 81 and a memory 82. The memory 82 stores a program or instructions that can run on the processor 81. When the program or instructions are executed by the processor 81, they implement the various process steps of the above method embodiments and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0166] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0167] Figure 16 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0168] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 110.

[0169] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 16 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0170] The processor 110 is specifically configured to display N first controls and M second controls in a first display area, wherein the content displayed in the first display area is the content projected from the second electronic device; N and M are both positive integers; when the selected focus is located on a third control among the N first controls, the processor receives a first input from the user, which triggers the selection focus to be moved to a target position; in response to the first input, when the target position is located in the first display area, the processor displays the selected focus on the target control, wherein the target control is the control located at the target position, and the M second controls include the target control.

[0171] The electronic device provided in this application embodiment displays N first controls on its screen, and the first display area of ​​the first electronic device's screen displays content projected from the second electronic device, which includes M second controls. Therefore, the first electronic device can display the selection focus on the target control among the M second controls when the target position is located within the first display area, based on a user's first input to move the selection focus to the target position. Since the screen of the first electronic device simultaneously includes native controls from both the first and second electronic devices, the first electronic device can determine whether to directly display the selection focus on the corresponding control in the projection window by judging the target position after the selection focus is moved. This allows direct selection of controls in the projection window from the first electronic device, simplifying the selection process and improving the efficiency of selecting target controls.

[0172] Optionally, in this embodiment of the application, the processor 110 is specifically configured to send target information to the second electronic device when the target location is located in the first display area. The target information is used to instruct the second electronic device to display the selection focus on the target control. The processor 110 receives target projection data sent by the second electronic device. The target projection data is the projection data after the second electronic device displays the selection focus on the target control. The processor 110 updates the display content in the first display area according to the target projection data. In the updated display content, the selection focus is displayed on the target control.

[0173] Thus, since the first electronic device can send target information to the second electronic device to instruct the display of the selected focus on the target control, and receive the projection data after the selected focus is displayed from the second electronic device, the first electronic device can update the content displayed in the first display area in real time, thereby improving the response speed of moving the selected focus to the target control on the first electronic device.

[0174] Optionally, in this embodiment of the application, the processor 110 is specifically configured to generate a first control list based on the information of X controls, wherein the X controls include N first controls and M second controls, the first control list is used to indicate the order of the X controls, and X is a positive integer; determine a target control based on a third control, a first input, and the first control list; and send target information to a second electronic device when the target control is a second control, wherein the target information includes the information of the target control.

[0175] Thus, it can be seen that the first electronic device can first generate a first control list based on the information of X controls, and then combine the third control, the input parameters of the first input, and the first control list to determine the target information of the target control. If the target control is the second control, the target information is sent to the second electronic device, enabling the second electronic device to quickly display the selection focus on the target control. Therefore, the efficiency of the first electronic device in determining the target control is improved.

[0176] Optionally, in this embodiment of the application, the processor 110 is specifically used to determine first location information based on the location of the third control, the first location information being the information of the location point closest to the third control in the first display area; and to send target information to the second electronic device when the target location is determined to be in the first display area based on the third control and the first input, wherein the target information includes the first location information, and the second electronic device is used to determine the target control based on the first location information.

[0177] Thus, since the first electronic device can first determine the first position information of the first position point closest to the third control in the first display area based on the location of the third control, and then send target information including the first position information to the second electronic device when the target position is located in the first display area, the second electronic device can quickly determine the target control. Therefore, the efficiency of moving controls in the native controls of the first electronic device and the projection window is improved.

[0178] Optionally, in this embodiment of the application, the processor 110 is specifically used to display target prompt information when the area covered by the screen window also includes T first controls, wherein the target prompt information is used to prompt whether to move the selection focus to the target control, and T is a positive integer.

[0179] Thus, when the projection window in the first display area covers an area that also includes T first controls, and the target location is within the first display area, the first electronic device can display a target prompt to indicate to the user which control to display the selection focus on. This allows the user to choose whether to move the selection focus to the target control or the fourth control, thereby increasing the user's freedom to move the selection focus using the first electronic device.

[0180] Specifically, the processor 110 is used to receive target information from the first electronic device, the target information being used to instruct the second electronic device to display the selection focus on the target control; according to the target information, display the selection focus on the target control, and send target projection data to the first electronic device, the target projection data being: the projection data of the interface after the second electronic device displays the selection focus on the target control; wherein, the content projected by the second electronic device is displayed in the first display area.

[0181] The electronic device provided in this application embodiment allows the second electronic device to display a selection focus on a target control after receiving target information from the first electronic device. Then, based on this target information, the second electronic device sends target projection data back to the first electronic device. This target projection data is the interface data after the selection focus has been displayed on the target control. This allows the first electronic device to directly update the display content (i.e., the projection content) in the first display area based on the target projection data. Consequently, the selection focus is displayed on the target control in the updated projection content. Therefore, it enables the selection of the target control without user intervention on the second electronic device.

[0182] It should be understood that, in this embodiment, the input unit 1004 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1006 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0183] The memory 1009 can be used to store software programs and various data. The memory 1009 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback function, image playback function, etc.). Furthermore, the memory 1009 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DRRAM). The memory 1009 in this embodiment includes, but is not limited to, these and any other suitable types of memory.

[0184] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.

[0185] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0186] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0187] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A focus shifting method, applied to a first electronic device, characterized in that, The method includes: Display N first controls and M second controls in a first display area, wherein the content displayed in the first display area is the content projected from the second electronic device; N and M are both positive integers; When the selected focus is located in the third control among the N first controls, the user's first input is received, and the first input is used to trigger the selection focus to be moved to the target position; In response to the first input, if the target location is located in the first display area, the selection focus is displayed on the target control, wherein the target control is a control located at the target location, and the M second controls include the target control; The first display area displays a projection window, and before displaying the selection focus on the target control, the process further includes: If the area covered by the projection window also includes T first controls, a target prompt message is displayed. The target prompt message is used to prompt whether to move the selection focus to the target control. T is a positive integer. The T first controls are controls other than the N first controls in the native controls of the first electronic device. The target prompt message includes a first identifier and a second identifier. The first identifier is used to indicate that the selection focus should be moved to the target control. The second identifier is used to indicate that the selection focus should be moved to one of the T first controls. The step of displaying the selection focus on the target control in response to the first input, when the target location is within the first display area, includes: Upon receiving a second input from the user regarding the target prompt information, in response to the first input, the selection focus is displayed on the target control, wherein the second input is an input to select the first identifier in the target prompt information; The method further includes: When the target location is located in the first display area, target information is sent to the second electronic device. The target information is used to instruct the second electronic device to display the selection focus on the target control. The target information includes information about the location point in the first display area and switching event information. The target control is the control that is closest to the location point in the first display area, determined by the second electronic device from M second controls based on the information about the location point in the first display area and the movement direction in the switching event information.

2. The method according to claim 1, characterized in that, When the target location is within the first display area, displaying the selection focus on the target control includes: The device receives target projection data sent by the second electronic device, wherein the target projection data is: projection data displayed by the second electronic device on the target control after the focus is selected; Based on the target projection data, the display content in the first display area is updated, wherein in the updated display content, the selected focus is displayed on the target control.

3. The method according to claim 2, characterized in that, If the target location is located within the first display area, the method further includes, before sending the target information to the second electronic device: Based on the information of X controls, a first control list is generated, wherein the X controls include the N first controls and the M second controls, and the first control list is used to indicate the order of the X controls, where X is a positive integer; The target control is determined based on the third control, the first input, and the first control list; When the target location is within the first display area, sending target information to the second electronic device includes: When the target control is the second control, the target information is sent to the second electronic device, wherein the target information includes information about the target control.

4. The method according to claim 2, characterized in that, If the target location is located within the first display area, the method further includes, before sending the target information to the second electronic device: Based on the location of the third control, first position information is determined, wherein the first position information is the information of the position point in the first display area that is closest to the third control; When the target location is within the first display area, sending target information to the second electronic device includes: When the target location is determined to be within the first display area based on the third control and the first input, the target information is sent to the second electronic device, wherein the target information includes the first location information, and the second electronic device is used to determine the target control based on the first location information.

5. The method according to claim 1, characterized in that, The projection window is displayed in a floating position.

6. A focus moving device, characterized in that, The focus moving device is a first focus moving device, which includes a display module and a receiving module; The display module is used to display N first controls and M second controls in a first display area, wherein the content displayed in the first display area is the content projected by the second focus moving device; N and M are both positive integers; The receiving module is configured to receive a first input from the user when the selected focus is located in the third control among the N first controls displayed by the display module. The first input is used to trigger the selection focus to be moved to the target position. The display module is further configured to, in response to a first input received by the receiving module, display the selection focus on a target control when the target position is located in the first display area, wherein the target control is a control located at the target position, and the M second controls include the target control; The first display area displays a projection window. Before displaying the selection focus on the target control, the display module further includes: If the area covered by the projection window also includes T first controls, a target prompt message is displayed. The target prompt message is used to prompt whether to move the selection focus to the target control. T is a positive integer. The T first controls are controls other than the N first controls in the native controls of the first focus moving device. The target prompt message includes a first identifier and a second identifier. The first identifier is used to indicate that the selection focus is moved to the target control, and the second identifier is used to indicate that the selection focus is moved to one of the T first controls. The display module is specifically used for: Upon receiving a second input from the user regarding the target prompt information, in response to the first input, the selection focus is displayed on the target control, wherein the second input is an input to select the first identifier in the target prompt information; The device further includes: The sending module is configured to send target information to the second focus moving device when the target position is located in the first display area. The target information is used to instruct the second focus moving device to display the selected focus on the target control. The target information includes information about the position point in the first display area and switching event information. The target control is the control that is closest to the position point in the first display area, determined by the second focus moving device from M second controls based on the information about the position point in the first display area and the movement direction in the switching event information.

7. The focus moving device according to claim 6, characterized in that, The first focus moving device further includes: an update module; The receiving module is further configured to receive target projection data sent by the second focus moving device, wherein the target projection data is: the projection data after the second focus moving device displays the selected focus on the target control; The update module is used to update the display content in the first display area according to the target projection data received by the receiving module, wherein the selected focus is displayed on the target control in the updated display content.

8. The focus moving device according to claim 7, characterized in that, The first focus moving device further includes: a generation module and a determination module; The generation module is used to generate a first control list based on the information of X controls, wherein the X controls include the N first controls and the M second controls, and the first control list is used to indicate the order of the X controls, where X is a positive integer; The determining module is used to determine the target control based on the third control, the first input, and the first control list generated by the generating module; The sending module is specifically used to send the target information to the second focus moving device when the target control determined by the determining module is the second control, wherein the target information includes information about the target control.

9. The focus moving device according to claim 7, characterized in that, The first focus moving device further includes: a determining module; The determining module is used to determine first position information based on the location of the third control, wherein the first position information is the information of the position point in the first display area that is closest to the third control; The sending module is specifically used to send the target information to the second focus moving device when the target position is determined to be located in the first display area based on the third control and the first input. The target information includes the first position information determined by the determining module, and the second focus moving device is used to determine the target control based on the first position information.

10. The focus moving device according to claim 6, characterized in that, The projection window is displayed in a floating position.

11. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the focus movement method as described in any one of claims 1 to 5.

12. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the focus movement method as described in any one of claims 1 to 5.