A method of screen control and electronic device
By displaying prompt windows and guide windows on a large touchscreen, users are guided to move objects to the target display area, which solves the problem of high user difficulty and achieves a more efficient operating experience.
Patent Information
- Application Number
- CN202211542302.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-02
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2042-12-02
AI Technical Summary
When operating a large touchscreen display, users find it difficult to move movable objects to the corners of the screen, resulting in high operational difficulty and affecting the user experience.
By displaying prompt windows and guide windows on the screen, user actions are detected, a sub-area corresponding to the target display area is displayed, and objects are displayed in the target area. Guide windows provide prompts and color changes to guide user actions.
It improves the ease and accuracy of operation for users on large-size displays, reduces the error rate, and enhances the user experience.
Smart Images

Figure CN115933923B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of screens, and more specifically, to a method and electronic device for screen control in the field of screens. Background Technology
[0002] Touchscreen displays offer a new way of human-computer interaction input. In addition to inputting information using tools such as keyboards and mice, touchscreen displays allow for handwriting input or adjustment of the display format of content.
[0003] Currently, the screens provided by manufacturers are generally large, making it difficult for users to touch the entire screen. Therefore, when users move a movable object to the corner of the screen, they need to move the movable object to another position on the screen by themselves, which presents a problem of high operation difficulty. Summary of the Invention
[0004] This application provides a screen control method and an electronic device. The electronic device displays a guide window by detecting a first operation on a first object, and displays the first object in a target display area according to a second operation on the first object, effectively improving the user's operating experience.
[0005] Firstly, a screen control method is provided for use in electronic devices, the method comprising:
[0006] A first interface is displayed on the screen of an electronic device. A prompt window in the first interface displays one or more objects. The first interface includes multiple display areas, and the prompt window and multiple display areas overlap.
[0007] Detect the first operation on the first object of one or more objects;
[0008] In response to the first operation, a guide window is displayed in the area other than the prompt window in the first interface. The guide window includes one or more sub-areas, and each sub-area corresponds one-to-one with a display area.
[0009] A second operation was detected that moved the first object to a first sub-region within one or more sub-regions;
[0010] In response to the second operation, the first object is displayed in the target display area of the first interface, and the target display area corresponds to the first sub-area.
[0011] In conjunction with the first aspect, in some implementations of the first aspect, if a selection operation of selecting the first object is detected, and the first object is moved a distance on the first interface in response to the selection operation being greater than or equal to a preset distance, then it is determined that the first operation has been detected.
[0012] With reference to the first aspect, in some implementations of the first aspect, after detecting the first operation on the first object of the one or more objects, the method further includes: determining a drag direction of the first operation according to an initial position on which the first operation acts and a terminal position on which the first operation acts after the first object moves on the first interface; and displaying a guide window on the first interface in response to the first operation, including: displaying the guide window in the drag direction in response to the first operation.
[0013] With reference to the first aspect, in some implementations of the first aspect, after displaying the first object on the target display area of the first interface in response to the second operation, the method further includes: detecting that the second operation disappears; and canceling displaying the guide window on the first interface.
[0014] With reference to the first aspect, in some implementations of the first aspect, after detecting the second operation of moving the first object to the first sub-region of the one or more sub-regions, the method further includes: displaying a border of the first sub-region in bold and / or changing a display color of the first sub-region and / or displaying prompt information, the prompt information being used to prompt information of the target display area corresponding to the first sub-region. With reference to the first aspect, in some implementations of the first aspect, the method of displaying the first interface on the display screen of the electronic device, the first interface having a prompt window, the prompt window displaying one or more objects, the first interface being divided into a plurality of display regions, includes: creating a display region list according to attribute information of the display regions, the display region list including all the display regions, the attribute information of the display regions including at least one of the following: a display position, prompt text, and a display form, the display position being a position identifier of the display region, the prompt text being a name of the display region, and the display form of the display region being a shape and an area size of the display region.
[0015] With reference to the first aspect, in some implementations of the first aspect, after detecting the first operation on the first object of the one or more objects, the method further includes: determining a type of the first object; and determining at least one display region that can receive the first object from the plurality of display regions according to the type of the first object; and accordingly, the one or more sub-regions displayed in the guide window one-to-one correspond to the at least one display region, or the sub-regions corresponding to the at least one display region in the one or more sub-regions are in an available state, and other sub-regions are in an unavailable state.
[0016] In a second aspect, an electronic device is provided, which is configured to execute the method provided in the first aspect. Specifically, the electronic device can include modules configured to perform any of the possible implementation manners of the first aspect.
[0017] In a third aspect, an electronic device is provided, which includes a processor. The processor is coupled with a memory and is configured to execute instructions in the memory to implement the method in any of the possible implementation manners of the first aspect or the second aspect. Optionally, the electronic device further includes the memory. Optionally, the electronic device further includes a communication interface, and the processor is coupled with the communication interface.
[0018] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program. When the computer program is executed by an apparatus, the electronic device is caused to implement the method in any of the possible implementation manners of the first aspect.
[0019] In a fifth aspect, a computer program product is provided, which includes instructions. When the instructions are executed by a computer, the apparatus is caused to implement the method in any of the possible implementation manners of the first aspect.
[0020] In a sixth aspect, a chip is provided, which includes an input interface, an output interface, a processor and a memory. The input interface, the output interface, the processor and the memory are connected through internal connection paths. The processor is configured to execute code in the memory. When the code is executed, the processor is configured to execute the method in any of the possible implementation manners of the first aspect. BRIEF DESCRIPTION OF DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort.
[0022] Figure 1 is a process schematic diagram of an object in a mobile screen provided by the embodiments of the present application.
[0023] Figure 2 is a schematic structural diagram of a large-screen device provided by the embodiments of the present application.
[0024] Figure 3 is a schematic flowchart of a screen control method provided by the embodiments of the present application.
[0025] Figure 4 is an example diagram of display content of a first interface provided by the embodiments of the present application.
[0026] Figure 5 is an example diagram of the prompt window overlapping with multiple display regions provided by an embodiment of the present application.
[0027] Figure 6 is an example diagram of the prompt window overlapping with all display regions provided by an embodiment of the present application.
[0028] Figure 7 is an example diagram of the user selecting the first object provided by an embodiment of the present application.
[0029] Figure 8 is a schematic diagram of the first interface displaying the guide window provided by an embodiment of the present application.
[0030] Figure 9 is a schematic diagram of the first interface displaying the guide window provided by an embodiment of the present application.
[0031] Figure 10 is an example diagram of the first object moving to the sub-region provided by an embodiment of the present application.
[0032] Figure 11 is an example diagram of the first object being displayed in the target display region provided by an embodiment of the present application.
[0033] Figure 12 is an example diagram of the guide window being canceled provided by an embodiment of the present application.
[0034] Figure 13 is an example block diagram of the electronic device provided by an embodiment of the present application.
[0035] Figure 14 is a schematic structural diagram of the electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the objects, technical solutions, and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and should not be used to limit the present application.
[0037] In order to describe the technical solutions of the embodiments of the present application, the following will be described through specific embodiments.
[0038] At present, the size of the display screen of the electronic device such as the interactive teaching screen, the conference room large screen, and the touch all-in-one machine is usually large (for example, 107 inches). At present, the display interface of the display screen can be divided into multiple regions, such as Figure 1The six display areas 1-6 shown are displayed in the object storage area below the display screen, which includes four movable objects. In the case of a large display screen size (for example, 107 inches), even if the display screen is divided into multiple display areas, the size of each display area will inevitably be large. At present, users may have the need to move any object from the object storage area to any display area, such as display area 3. At this time, the user needs to drag the object on the display screen until it is moved to the target area 3, and the user's finger needs to be pressed on the object during the movement. The finger usually cannot be released, so in the case of a long distance between the target position and the initial position of the object, it greatly affects the user's experience.
[0039] In order to improve the user's experience, the embodiment of the present application provides a screen control method, which can solve the problem that the user's experience is affected due to the large screen and the long distance when moving the object.
[0040] The electronic device to which the screen control method provided by the present application can be applied can be a large-screen electronic device (hereinafter referred to as a large-screen device) with a touch screen or gesture recognition capability. For example, an interactive teaching screen, a conference room large screen, and a touch all-in-one machine. Of course, the electronic device provided by the embodiment of the present application can also be a mobile phone, a computer, or a tablet device.
[0041] Figure 2 A structural schematic diagram of a large-screen device suitable for the embodiment of the present application is shown. Referring to Figure 2 The large-screen device 200 includes a display device 210, an information detection device 220, an information processing device 230, and a program running device 240.
[0042] Exemplarily, the display device 210 can be connected to the information detection device 220 in a wired or wireless manner. Optionally, the information processing device 230 can also be connected to the information detection device 220 and the program running device 240 in a wired or wireless manner. Optionally, the program running device 240 can also be connected to the information detection device 220 and the information processing device 230 in a wired or wireless manner.
[0043] Display device 210: The display device 210 is used to interact with the information processing device 230, and displays content according to the information obtained by the information processing device 230 from the program running device 240.
[0044] Information monitoring device 220: used to obtain the operation information of the user on the display device 210, and send the obtained operation information to the information processing device 230.
[0045] The information processing device 230 is configured to receive information sent by the information monitoring device 220 and send information to the program running device 240, and receive information sent by the program running device 240 and send information to the information monitoring device.
[0046] The program running device 240 is configured to feed back information to the information processing device 230 according to the information obtained from the information processing device 230, and obtain the display content and display format of the display screen and send them to the information processing device 230.
[0047] For example, the display device 210, the information monitoring device 220, the information processing device 230 and the program running device 240 can be integrated into one device, or the display device 210, the information monitoring device 220, the information processing device 230 and the program running device 240 can be independent devices, and the assembly form of the display device 210, the information monitoring device 220, the information processing device 230 and the program running device 240 is not limited herein.
[0048] In order to make the purpose, technical solutions and advantages of the present application clearer, the display device 210, the information monitoring device 220, the information processing device 230 and the program running device 240 can be regarded as an electronic device in the embodiments of the present application.
[0049] It should be understood that, Figure 2 The large-screen device shown in the above embodiment is only illustrative, and more or less devices can be included in the large-screen device, and the embodiments of the present application are not limited in this regard.
[0050] In the embodiments of the present application, the specific structure of the execution subject of the screen control method is not particularly limited, as long as the program recording the code of the screen control method of the present application can be run to perform the corresponding processing according to the screen control method of the present application. For example, the execution subject of the screen control method provided by the embodiments of the present application can be a functional module capable of calling and executing programs in an electronic device, or a device for loading icons in an electronic device, such as a chip.
[0051] Next, taking an electronic device as an example, a screen control method 300 provided by the embodiments of the present application is described.
[0052] Step 301: The large-screen device displays a first interface on the display screen of the large-screen device. The first interface displays a prompt window, the prompt window displays one or more objects, the first interface includes a plurality of display regions, and the prompt window and the plurality of display regions overlap.
[0053] In a possible implementation of the present application, the guide window can be displayed in any display form at any position in the first interface. For example, the position of the prompt window in the first interface can be above the display area, or can be at another position outside the display area. In order to facilitate user operation, the guide window can be located below the first interface.
[0054] For example, as shown in Figure 4 For example, as shown in
[0055] In a possible implementation of the present application, the position of the prompt window can be movable. In this way, the large-screen device can detect a user input of a movement operation for the prompt window, and control the prompt window to move on the first interface. Of course, the position of the prompt window can also be fixed, and the embodiments of the present application do not limit this.
[0056] As an example, the large-screen device can also adjust the size of the prompt window based on a user trigger, such as length, width, and the like.
[0057] Optionally, since the prompt window overlaps part of the display areas when displayed on the first interface, the user can trigger the prompt window to close based on a demand.
[0058] As an example, the display area of the prompt window can overlap part of the display areas in the first interface, can overlap multiple display areas in the first interface, or can overlap all the display areas in the first interface, and the present application does not limit this.
[0059] For example, as shown in Figure 4 For example, as shown in Figure 5 For example, as shown in Figure 6 As an example, the prompt window is automatically displayed on the first interface after the large-screen device is turned on or woken up, or the prompt window is popped up based on a user trigger on the first interface after the large-screen device is turned on or woken up, and the embodiments of the present application do not limit this.
[0060] As an example, the display form of the prompt window can be a floating window, a pop-up window, or a card, and one or more objects can be displayed in the floating window, the pop-up window, or the card, and the embodiments of the present application do not limit this.
[0061] As an example, the objects in the embodiments of the present application can be pictures, seals, thumbnails of documents (such as PDF or Word), and three-dimensional models.
[0062] The display areas are areas in the first interface for displaying one or more objects. The positional relationship between the display areas can be connected in a direct or indirect manner, can be displayed independently, or part of the display areas can be connected in a direct or indirect manner and part of the display areas can be displayed independently, and the embodiments of the present application do not make any limitation.
[0063] In a possible implementation of the present application, the types of objects that can be displayed by different display areas in the plurality of display areas are different. For example, as shown in Figure 4 The first interface is divided into six display areas (i.e., display area 1 to display area 6). Among them, the type of objects supported by display area 1 for display is pictures, and the type of objects supported by display area 2 for display is seals. The types of objects that can be displayed by part of the display areas in the plurality of display areas are the same, and the types of objects that can be displayed by part of the display areas are different. For example, the type of objects supported by display area 1 to display area 3 for display is pictures, the type of objects supported by display area 4 for display is seals, the type of objects supported by display area 5 for display is thumbnails of documents, and the type of objects supported by display area 6 for display is three-dimensional models.
[0064] It is worth noting that the sizes of the display areas can be the same or different, and the embodiments of the present application do not make any limitation.
[0065] In the embodiments of the present application, the number of display areas in which the first interface is divided is six as an example. In actual process, the first interface can also be divided into four or eight or nine display areas, and the embodiments of the present application do not make any limitation.
[0066] Figure 4 Taking the arrangement rule of the objects displayed in the prompt window as an example, the arrangement rule of the objects displayed in the guide window can be m rows × n columns in actual process, such as 2 rows × 3 columns.
[0067] As an example, taking the first interface as the main interface of the large-screen device as an example, the above step 301 can be implemented in the following manner: in the case that the booting instruction is detected, the first interface is displayed in response to the booting instruction.
[0068] Exemplarily, as shown in Figure 4 The first interface includes six display areas, the display areas of the six display areas are equal in size and shape, and the six display areas are connected in a direct or indirect manner; the prompt window is displayed in the form of a card on the first interface and overlaps part of the display areas.
[0069] It is worth mentioning that a plurality of objects, such as more than 4, can be stored in the large-screen device, and the size of the prompt window or the distribution rule of the objects in the prompt window is limited, for example, 4 objects can be displayed in the prompt window at a time, then the user can trigger a sliding operation or other operations in the prompt window to display the remaining objects in the prompt window, and the embodiments of the present application do not limit this.
[0070] Step 302: The large-screen device detects a first operation on a first object in the one or more objects.
[0071] It can be understood that the first object is an object that the user plans to move in the plurality of objects displayed in the prompt window.
[0072] As an example, the first operation is an operation of selecting the first object triggered by the user and received by the large-screen device, or the first operation is an operation of selecting the first object and dragging the first object to move a preset distance triggered by the user and received by the large-screen device.
[0073] For an electronic device with a touch function, the first operation can be a click operation, a long press operation, a sliding operation, or a double-click operation or an operation of selecting and then moving, and the embodiments of the present application do not limit this.
[0074] As an example, the first operation can be that the user performs a click operation on the first object, and does not leave the first object and long-presses after the click operation, or performs a moving operation on the first object after the click operation.
[0075] Taking a computer as an example, the user selects the first object by a mouse or a touch device, and long-presses the first object after selecting the first object, and the large-screen device detects the first operation on the first object after selecting and long-pressing.
[0076] As shown in Figure 7 Taking the objects displayed in the prompt window as an example, the objects include object 1 to object 4, and taking object 01 as the first object. The user long-presses object 01, and the large-screen device detects the long-press operation of the user on object 01 as the first operation.
[0077] Exemplarily, the first operation on the first object can also be a plurality of clicks on the first object, or other operations, and the present application does not make specific limitations.
[0078] Step 303: The large-screen device displays a guide window in an area other than the prompt window in the first interface in response to the first operation. The guide window includes one or more sub-areas, and one sub-area corresponds to one display area.
[0079] The sub-region is used to receive the object and display the object in the display region with the corresponding relationship.
[0080] The display form of the sub-region is proportionally reduced according to the position, shape and area of the display region. The display position of the sub-region in the first interface is related to the display position of the corresponding display region in the first interface. For example, as shown in Figure 7 , the sub-region 3 and the display region 3 are in a corresponding relationship, and the relative position of the sub-region 3 in the guide window is the same as the relative position of the display region 3 in the first interface.
[0081] As an example, the guide window is displayed in the region other than the prompt window in the first interface. The other region can be understood as any region that does not have an overlapping relationship with the prompt window. For example, the guide window can be displayed in the part of the display region 1, the display region 2 and the display region 5 in Figure 8 which does not overlap with the prompt window. Alternatively, the display position of the guide window can be above the prompt window, overlapping with the display region 1 to the display region 6, as shown in Figure 8 As an example, the prompt window is usually displayed at the bottom of the display screen, so the guide window can be displayed close to the prompt window for the convenience of user operation.
[0082] It is easy to understand that the number of sub-regions included in the guide window can be set according to the needs.
[0083] It should be understood that the first operation can be a long press operation on the first object, or an operation of moving the first object after selecting the first object.
[0084] Taking the long press operation as the first operation as an example, as shown in Figure 8 , the large-screen device can display the guide window in the first interface after detecting the long press operation on the first object. Alternatively, as shown in Figure 9 , when the first operation is an operation of moving the first object after selecting the first object, as shown in Figure 9 , the large-screen device can display the guide window when it is determined that the moving distance of the first object on the first interface is greater than or equal to a preset distance.
[0085] As an example, taking object 01 as the first object, after the large-screen device detects the first operation on object 01, it is determined that the display regions that can receive object 01 are the display region 1 and the display region 3 to the display region 6, then as shown in Figure 8 , the sub-regions included in the guide window corresponding to object 01 include the sub-region 1, the sub-region 3 to the sub-region 6. Among them, the sub-region 1, the sub-region 3 to the sub-region 6 are one-to-one corresponding to the display region 1 and the display region 3 to the display region 6.
[0086] In a possible implementation of the present application, after detecting the first operation, the large-screen device displays all the sub-regions corresponding to the display regions included in the first interface in the guide window.
[0087] It is worth noting that in the case of including all the sub-regions in the guide window, when the large-screen device detects a second operation of moving the first object to a sub-region that cannot receive the first object, the large-screen device can display a prompt information to prompt the user that the first object cannot be received in the sub-region, and / or prompt the reason of not receiving the first object, such as type mismatch, etc.
[0088] In another possible implementation of the present application, after detecting the first operation, the large-screen device determines the first object corresponding to the first operation, determines the sub-region that can receive the first object according to the first object, and takes the sub-region that can receive the first object as the sub-region of the guide window.
[0089] In some embodiments, after detecting the first operation on the first object in the one or more objects, the large-screen device determines the type of the first object, determines at least one display region that can receive the first object from the multiple display regions according to the type of the first object, and accordingly, the one or more sub-regions displayed in the guide window one-to-one correspond to the at least one display region, or the sub-region corresponding to the at least one display region in the one or more sub-regions is in an available state, and the other sub-regions are in an unavailable state.
[0090] As an example, when determining the type of the first object, the large-screen device can determine the type of the first object according to the position information of the first object in the prompt window.
[0091] After determining the type of the first object, the large-screen device can determine whether there is one or more display regions that can receive the first object according to the type of the first object. Since the guide window corresponding to the first object has a one-to-one correspondence with the display region of the first object, when there is one display region that can receive the first object, the guide window includes one sub-region, and when there are multiple display regions that can receive the first object, the guide window includes multiple sub-regions.
[0092] In an implementation, exemplarily, in a prompt window of 1 row × 8 columns, the object type of the position information of (1, 1) and (1, 2) is a picture, the object type of the position information of (1, 3) and (1, 4) is a seal, the object type of the position information of (1, 5) and (1, 6) is a document thumbnail, and the object type of the position information of (1, 7) and (1, 8) is a three-dimensional solid figure.
[0093] For example, one attribute information in the display area list is that the display area 1 has a coordinate (10, 10), a square shape, an area of 10 square centimeters, and can receive an object type in the prompt window with coordinates (1, 1) and (2, 1).
[0094] Therefore, when the large-screen device detects that the coordinate of the first object to which the first operation is directed is (1, 1), it can be known that the type of the first object is a picture, and it is determined that the display area that can receive the first object is the display area 1. Accordingly, the guide window displays a sub-area corresponding to the display area 1. Optionally, or in the case where the guide window also displays other sub-areas, the states of the other areas are set to be in an unusable state.
[0095] After the large-screen device determines the type of the first object, it determines the display area that can receive the first object according to the type of the first object. Thus, when the guide window displays the first object, the guide window can only display the sub-area corresponding to the display area that can receive the first object, or can display other sub-areas in a distinguished manner, so that the user can more easily distinguish the first sub-area to which the first object needs to be moved, and the user experience is improved.
[0096] As an example, as shown in Figure 8 , sub-areas 1 to 6 are proportionally reduced according to the positions, shapes, and areas of display areas 1 to 6, and the positional relationship between the sub-areas 1 to 6 corresponds to the positional relationship between the display areas 1 to 6.
[0097] Optionally, in the case where the type of the object supported by one display area is different from the type of the first object, the large-screen device can set the state of the sub-area associated with the display area to be in an inoperable state when displaying the guide window. For example, as shown in Figure 8 , the type of the first object is different from the type of the object supported by the display area 2, and thus the state of the sub-area 2 is marked as an unusable state. This facilitates the user to determine that the first object cannot be moved to the display area corresponding to the sub-area 2.
[0098] Step 304: The large-screen device detects a second operation of moving the first object to a first sub-area in one or more sub-areas.
[0099] It should be understood that the second operation is a continuous operation with the first operation, and the operation is used to move the first object into the sub-area.
[0100] As an example, the second operation can be that, after the first operation, the user does not cancel the first operation, and continues to move the first object to the guide window through the mouse or the touch device.
[0101] In some embodiments, the large-screen device, after detecting the second operation of moving the first object to the first sub-region in the one or more sub-regions, displays a border of the first sub-region in bold and / or changes a display color of the first sub-region and / or displays prompt information, the prompt information being used to prompt information of a target display region corresponding to the first sub-region. In this way, it is convenient for the user to determine whether to move the first object to the display region associated with the first sub-region, thereby avoiding misoperation.
[0102] As an example, after detecting that the user moves the first object to the first sub-region, the large-screen device displays the border of the first sub-region in bold, changes the display color of the first sub-region, and prompts the user that which sub-region the first object is currently in and what display region the sub-region corresponds to.
[0103] As shown in Figure 10 When the large-screen device detects that the first object is moved to the sub-region 3 in the guide window, the large-screen device displays the border of the sub-region 3 in bold, changes the display color of the first sub-region, and displays the name of the display region corresponding to the sub-region 3, i.e., the display region 3, in the sub-region 3.
[0104] It should be understood that, the embodiments of the present application display the border in bold, change the display color of the first sub-region, and display information of the display region corresponding to the sub-region as prompt information, and other ways can also be used as prompt information, which is not limited in the present application.
[0105] Optionally, the prompt information can further include that the first object can be released and moved successfully.
[0106] As an example, after detecting that the user moves the first object to the first sub-region, the large-screen device, in addition to prompting the user with the prompt information to prompt information of the target display region corresponding to the first sub-region, can also prompt the user that the first object can be released at this position, and after the user releases the first object, the prompt information prompts the user that the release is successful.
[0107] The method for screen control provided by the embodiments of the present application can remind the user of the display region corresponding to the first sub-region by displaying the border of the first sub-region in bold and / or displaying prompt information after detecting the second operation, so that the user can be largely avoided from putting the first object into an incorrect sub-region.
[0108] Step 305: The large-screen device displays the first object in the target display region of the first interface in response to the second operation, the target display region corresponding to the first sub-region.
[0109] As an example, taking the second operation as a moving operation as an example, as shown in Figure 11 and Figure 12As shown, the first sub-region is sub-region 3, and the target display region is display region 3. After detecting that the user moves the first object into sub-region 3, the large-screen device displays the first object in display region 3. Alternatively, after detecting that the user moves the first object into sub-region 3 and determining that the user's operation is cancelled, the large-screen device displays the first object in display region 3. Alternatively, the large-screen device displays the first object in display region 3 after a preset time elapses after the user's gesture is withdrawn.
[0110] For example, after the first object is displayed in the target display region, the large-screen device can cancel the display of the guide window or hide the guide window.
[0111] The method for screen control provided in this application can set a prompt window and a plurality of display regions on a first interface, display a guide window according to an operation on a first object, the guide window includes a plurality of sub-regions corresponding to the plurality of display regions, the plurality of sub-regions are used to receive the first object, after detecting that the object is moved into a sub-region and the operation on the first object is cancelled, the large-screen device displays the first object in a display region corresponding to the sub-region, thereby achieving the purpose of displaying the first object in a target display region, avoiding the problem that the user needs to move himself to achieve the purpose when moving the first object to a distant target region, and greatly improving the user experience.
[0112] In some embodiments, before displaying the first interface on the display screen of the large-screen device, the method provided in the embodiments of this application can further include: creating a display region list according to attribute information of the display regions by the large-screen device, the display region list includes attribute information of all the display regions, and the attribute information of the display regions includes at least one of the following: a display position, prompt text, a display form, and a type of object supported by the display region, the display position refers to a position identifier of the display region, the prompt text is a name of the display region, and the display form of the display region is used to represent coordinates, shape, and area size of the display region.
[0113] Specifically, when the large-screen device creates the display region list according to the attribute information of the display regions, the attribute information of the display regions can be understood as an identifier in the display region list, and the large-screen device can acquire a unique display region corresponding to the attribute information in the display region list according to the attribute information of the display regions.
[0114] As an example, the attribute information for creating the display area list can include: display position, prompt text, display form, and type of object supported by the display area. For example, the display position can be a position identifier for identifying the position of the display area in the first interface; the prompt text can be a region name for labeling the display area; the display form can be a shape and area size for representing the display area; and the type of object supported by the display area can be the coordinates of the object in the prompt window.
[0115] In some embodiments, the large-screen device, after displaying the first object in the target display area of the first interface in response to the second operation, detects disappearance of the second operation, and cancels display of the guide window on the first interface.
[0116] Exemplarily, as shown in Figure 12 After the large-screen device displays the first object in the target display area in response to the second operation, the large-screen device can be set to automatically cancel display of the guide window after the large-screen device detects that the first object is displayed in the target display area, or the user can cancel display of the guide window by clicking a button or other operation.
[0117] As an example, an identifier for canceling display can be set on the guide window, and the guide window can cancel display of the guide window after a preset time length after the first object is displayed in the target display area according to the movement requirement. The preset time length can be 2 seconds or any other time length. Alternatively, the user can cancel display of the guide window by clicking the identifier for canceling display. Alternatively, long pressing for 2 seconds at any position on the guide window can trigger the large-screen device to cancel display of the guide window.
[0118] It should be understood that the above-mentioned manner of canceling display of the guide window is only an example, and other manners of canceling display of the guide window can also be selected, which are not limited in the present application.
[0119] The method for screen control provided in the embodiments of the present application can cancel display of the guide window after the large-screen device detects disappearance of the second operation, thereby avoiding the problem of covering the display area in the first interface due to display of the guide window and reducing the visual experience of the user.
[0120] In some embodiments, the large-screen device detects a selection operation of selecting the first object, and in response to the selection operation, controls a movement distance of the first object on the first interface to be greater than or equal to a preset distance, determines that the selection operation is determined to generate a drag behavior, and determines that the first operation is detected. By increasing the judgment of the movement distance, the misoperation rate can be reduced.
[0121] As an example, when determining whether the first object is dragged by the first operation, the large-screen device can determine whether the user continues to drag the first object on the first interface using the first operation after selecting the first object. If the moving distance is greater than or equal to the preset distance, the behavior is considered as the drag behavior; otherwise, the behavior is not considered as the drag behavior, and the guide window is not displayed.
[0122] It should be understood that the preset distance can be any length. For example, the preset distance can be a distance of 10 pixels, or a distance of other longer or shorter lengths, which is not limited in the present application.
[0123] The method for screen control provided in the embodiments of the present application can determine whether the first operation is detected by determining whether the first operation is a drag behavior, so that some incorrect operations of the user are not considered as the first operation, and the real intention of the user for operating the large-screen device is not violated.
[0124] In some embodiments, the large-screen device determines the drag direction of the first operation according to an initial position acted on by the first operation, a starting position of the first object in the drag behavior, and a moving position of the first object after moving a certain length on the first interface. The large-screen device displays the guide window on the first interface in response to the first operation, including: the large-screen device displays the guide window in the drag direction in response to the first operation.
[0125] As an example, the large-screen device obtains an initial position acted on by the first operation and a terminal position acted on by the first operation after the first object is moved on the first interface, and determines the drag direction of the first operation according to the offset between the obtained initial position and terminal position. For example, the initial position acted on by the first operation is (1, 1), and the terminal position acted on by the first operation is (1, 2), and the drag direction of the first operation is the positive right side.
[0126] It should be understood that the certain length can be any length. For example, the pixel distance of the certain length can be a distance of 10 pixels, or a distance of other longer or shorter lengths, which is not limited in the present application.
[0127] In a possible implementation of the present application, after determining the drag direction of the first operation or the moving direction of the first object according to the first operation, the large-screen device creates a guide window in response to the first operation of the user. The large-screen device can determine a display area in which the first object can be displayed according to the initial position acted on by the first operation. Different types of objects are stored in different positions in the prompt window, and the large-screen device can find a matched display area in a display area list according to the position at which the first operation occurs. The guide window can be displayed near the terminal position acted on by the first operation.
[0128] As an example, the large-screen device detects a first operation for a first object, obtains position information corresponding to the first object according to a position of the first operation, and determines display regions that can receive the first object from all display regions according to the position information of the first object, to determine the display regions that can receive the first object. The nearby position of the termination position of the first operation can be any position at a certain distance from the termination position of the first operation, with the termination position of the first operation as the center position. For example, the nearby position of the termination position of the first operation can be at a distance of 2 pixels to the right of the termination position of the first operation.
[0129] The method for screen control provided in the embodiments of the present application determines the dragging direction of the first operation according to the starting position and the termination position of the first operation, so that the guide window is displayed in the dragging direction of the first operation, thereby improving the convenience of the user in dragging the first object into the guide window.
[0130] The above describes in detail the method for screen control provided in the embodiments of the present application in combination with Figures 1 to 12 , and the following will describe in detail a screen control device provided in the embodiments of the present application in combination with Figures 13 to 14 .
[0131] Figure 13 is an exemplary block diagram of a screen control device 1300 provided in the embodiments of the present application. The screen control device includes:
[0132] The display unit 1310 is configured to display a first interface on a display screen of the electronic device, the first interface having a prompt window, the prompt window displaying one or more objects, the first interface being divided into a plurality of display regions, and the prompt window and the plurality of display regions overlapping;
[0133] The detection unit 1320 is configured to detect a first operation for a first object in the one or more objects;
[0134] The first response unit 1330 is configured to, in response to the first operation, display a guide window in an area other than the prompt window in the first interface, the guide window including one or more sub-areas, and one sub-area corresponding to one display region;
[0135] The detection unit 1320 is further configured to detect a second operation of moving the first object to a first sub-area in the one or more sub-areas;
[0136] The second response unit 1340 is configured to display the first object in a target display region of the first interface corresponding to the first sub-region in response to the second operation.
[0137] It should be understood that the screen control apparatus 1300 can be used to perform each step of the method 300 performed by the electronic device, and the specific description can refer to the related description above, which will not be repeated here.
[0138] It should be understood that the screen control apparatus 1300 herein is embodied in the form of functional units. The term "unit" herein can refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor (for example, a shared processor, a dedicated processor, or a group processor, etc.) and a memory for executing one or more software or firmware programs, a combination logic circuit, and / or other suitable components supporting the described functions.
[0139] In the embodiments of the present application, Figure 13 The electronic device in the above embodiments can also be a chip or a chip system, for example, a system on chip (SoC).
[0140] Figure 14 The electronic device 1400 provided in the embodiments of the present application is used to perform the corresponding steps and / or processes of the above method embodiments.
[0141] The electronic device 1400 includes a processor 1410, a memory 1420, and a transceiver 1430. The processor 1410, the memory 1420, and the transceiver 1430 communicate with each other through an internal connection path. The processor 1410 can implement the functions of the processing unit 1300 in various possible implementations of the screen control apparatus 1300. The memory 1420 is used to store instructions, and the processor 1410 is used to execute the instructions stored in the memory 1420, or in other words, the processor 1410 can invoke these stored instructions to implement the functions of the processing unit 1410 in the screen control apparatus 1300.
[0142] Optionally, the memory 1420 can include a read-only memory and a random access memory, and provide instructions and data for the processor. A part of the memory can also include a non-volatile random access memory. For example, the memory can also store device type information. The processor 1410 can be used to execute the instructions stored in the memory, and when the processor 1410 executes the instructions stored in the memory, the processor 1410 is used to perform the steps and / or processes of the above method embodiments corresponding to the electronic device.
[0143] The processor 1410 is configured to perform the following steps:
[0144] displaying a first interface on a display screen of the electronic device, the prompt window in the first interface displaying one or more objects, the first interface including a plurality of display regions, the prompt window and the plurality of display regions overlapping;
[0145] detecting a first operation on a first object in the one or more objects;
[0146] in response to the first operation, displaying a guide window in a region other than the prompt window in the first interface, the guide window including one or more sub-regions, the one or more sub-regions corresponding to the display regions one by one;
[0147] detecting a second operation of moving the first object to a first sub-region in the one or more sub-regions;
[0148] in response to the second operation, displaying the first object in a target display region of the first interface, the target display region corresponding to the first sub-region.
[0149] It should be understood that the specific process of each device performing the corresponding steps in each of the above methods has been described in detail in the above method embodiments, and for the sake of brevity, will not be described here.
[0150] It should be understood that in the embodiments of the present application, the processor of the above-mentioned device can be a central processing unit (CPU), and the processor can also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0151] In the implementation process, each step of the above method can be completed by the integrated logic circuit of hardware in the processor or the instruction in the form of software. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as hardware processor execution completion, or executed by hardware and software units in the processor. The software unit can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, register, etc. The storage medium is located in the memory, and the processor executes the instructions in the memory, and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
[0152] The embodiment of the present application provides a computer program product, when the computer program product is executed in an electronic device, the electronic device executes the technical solutions in the above-mentioned embodiments. The implementation principle and technical effects are similar to the above-mentioned method related embodiments, and will not be repeated here.
[0153] The embodiment of the present application provides a readable storage medium, the readable storage medium contains instructions, when the instructions are executed in an electronic device, the electronic device executes the technical solutions in the above-mentioned embodiments. The implementation principle and technical effects are similar, and will not be repeated here.
[0154] The embodiment of the present application provides a chip, the chip is used for executing instructions, when the chip is executed, the technical solutions in the above-mentioned embodiments are executed. The implementation principle and technical effects are similar, and will not be repeated here.
[0155] In the above-mentioned embodiments, all or part can be realized by software, hardware, firmware or any combination thereof. When using software to realize, all or part can be realized in the form of a computer program product. The computer program product includes one or more computer instructions. When loading and executing the computer instructions on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable devices. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available medium can be magnetic medium (such as floppy disk, hard disk, magnetic tape), optical medium (such as high-density digital video disc (digital video disc, DVD)) or semiconductor medium (such as solid state disk (solid state disk, SSD)) and the like.
[0156] It should be understood that the term "embodiment" mentioned in the specification throughout means that the specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, the various embodiments throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that the size of the sequence number of each process described above does not mean the order of execution, and the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0157] In the specification of the present application, the reference to "one embodiment" or "some embodiments" means that the specific features, structures or characteristics described in connection with the embodiment are included in one or more embodiments of the present application. Therefore, the statements "in some embodiments", "as an example", "in other some embodiments", "in other some embodiments" and the like appearing in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized. The terms "include", "contain", "have" and their variants mean "include but not limited to", unless otherwise specifically emphasized.
[0158] It should also be understood that in the present application, "when", "if" and "when" all refer to the corresponding processing of the UE or the base station under certain objective conditions, and are not limited to time, and do not require the UE or the base station to have a judgment action when implementing, nor does it mean that there are other limitations.
[0159] It should be understood by those of ordinary skill in the art that the various numbers such as first, second, etc. involved in the present application are only for the convenience of description and do not limit the scope of the embodiments of the present application, nor represent the order of sequence.
[0160] In the present application, the element expressed by the singular is intended to represent "one or more", rather than "one and only one", unless otherwise specified. In the present application, "at least one" is intended to represent "one or more" and "multiple" is intended to represent "two or more" unless otherwise specified.
[0161] For the convenience of clearly describing the technical solutions of the embodiments of the present application, in the present application, the terms of "first", "second", etc. are used to distinguish the same items or similar items with basically the same function and role. For example, the first electronic device and the second electronic device are merely used to distinguish different electronic devices, and do not limit the sequence. Those skilled in the art can understand that the terms of "first", "second", etc. do not limit the quantity and execution sequence, and the terms of "first", "second", etc. also do not necessarily mean different. It should be noted that in the present application, the words of "exemplary" or "for example" are used to represent an example, illustration or description. Any embodiment or design scheme described as "exemplary" or "for example" in the present application should not be interpreted as more preferred or more advantageous than other embodiments or design schemes. In fact, the words of "exemplary" or "for example" are intended to present the related concepts in a specific manner.
[0162] In the present application, the term "at least one of" means one or more, and "multiple" means two or more. The term "and / or" describes the association relationship of the associated objects, which means that there can be three relationships, for example, A and / or B can represent the following three cases: A exists alone, A and B exist together, and B exists alone, where A and B can be singular or plural. The character " / " generally represents an "or" relationship between the associated objects before and after it. The term "at least one of" or the like means any combination of these items, including any combination of single item or multiple items. For example, at least one of a, b, or c can represent a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, and c can be single or multiple.
[0163] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solutions. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0164] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described system, device and unit can refer to the corresponding processes in the foregoing method embodiments, which will not be described here.
[0165] In several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented in other manners. For example, the described device embodiments are merely illustrative. For example, the division of the units is only a logical function division. There can be another division manner for the actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.
[0166] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place, or can be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0167] In addition, each functional unit in the various embodiments of the present application can be integrated into a processing unit, or each unit can be a physically independent unit, or two or more units can be integrated into a unit.
[0168] If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.
[0169] The same or similar parts among various embodiments in the present application can be mutually referred. In the present application, the terms and / or descriptions among different embodiments, and among various implementation manners / implementation methods / realization methods in each embodiment have consistency and can be mutually referred if there is no special description and no logical conflict. The technical features among different embodiments, and among various implementation manners / implementation methods / realization methods in each embodiment can be combined to form new embodiments, implementation manners, implementation methods or realization methods according to their inherent logical relationship. The above-mentioned implementation manners of the present application do not constitute limitation to the protection scope of the present application.
[0170] The above-mentioned is merely specific implementation manners of the present application, but the protection scope of the present application is not limited to this. Any modification or replacement within the technical range disclosed by the present application can be easily thought by any person skilled in the art, and should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims. In summary, the above-mentioned is merely the preferred implementation manners of the technical solutions of the present application, and is not used to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims
1. A method for screen control, characterized in that, When applied to electronic devices, the method includes: A first interface is displayed on the screen of the electronic device. The first interface has a prompt window, which displays one or more objects. The first interface is divided into multiple display areas, and the prompt window and the multiple display areas overlap. Detect the first operation targeting the first object among the one or more objects; In response to the first operation, a guide window is displayed in other areas of the first interface besides the prompt window. The guide window includes one or more sub-areas, and each sub-area corresponds one-to-one with a display area. A second operation was detected, moving the first object to a first sub-region within one or more of the sub-regions; In response to the second operation, the first object is displayed in the target display area of the first interface, the target display area corresponding to the first sub-area.
2. The method according to claim 1, characterized in that, If a selection operation is detected that selects the first object, and the first object is moved a distance on the first interface in response to the selection operation that is greater than or equal to a preset distance, then it is determined that the first operation has been detected.
3. The method according to claim 2, characterized in that, Following the detection of a first operation on a first object among the one or more objects, the method further includes: The drag direction of the first operation is determined based on the initial position where the first operation is applied and the final position where the first operation is applied after the first object moves on the first interface. In response to the first operation, a guide window is displayed on the first interface, including: In response to the first operation, the guide window is displayed in the drag direction.
4. The method according to claim 1, characterized in that, After displaying the first object in the target display area of the first interface in response to the second operation, the method further includes: If the second operation is detected to have disappeared, the guide window is canceled from being displayed on the first interface; and / or, the guide window is canceled from being displayed on the first interface after a preset time; and / or, if an operation to close the guide window is detected, the guide window is canceled from being displayed on the first interface.
5. The method according to claim 1, characterized in that, After detecting the second operation of moving the first object to a first sub-region of the one or more sub-regions, the method further includes: The border of the first sub-region is highlighted in bold and / or the display color of the first sub-region is changed and / or a prompt message is displayed, the prompt message being used to indicate information about the target display area corresponding to the first sub-region.
6. The method according to any one of claims 1 to 5, characterized in that, The method of displaying a first interface on the screen of the electronic device, the first interface having a prompt window displaying one or more objects, and the first interface being divided into multiple display areas, further includes: A list of display areas is created based on the attribute information of the display areas. The list of display areas includes the attribute information of all the display areas. The attribute information of the display areas includes at least one of the following: display position, prompt text, display format, and the type of object supported by the display area. The display position refers to the location identifier of the display area. The prompt text is the name of the display area. The display format is used to indicate the shape and size of the display area.
7. The method according to any one of claims 1 to 5, characterized in that, After detecting a first operation targeting a first object among the one or more objects, the method further includes: Determine the type of the first object; At least one display area that can receive the first object is determined from the plurality of display areas according to the type of the first object; Accordingly, one or more of the sub-regions displayed in the guide window correspond one-to-one with at least one of the display areas, or the sub-regions corresponding to at least one of the display areas are available while the other sub-regions are unavailable.
8. A screen control device, characterized in that, include: The display unit is used to display a first interface on the screen of an electronic device. The first interface has a prompt window, which displays one or more objects. The first interface is divided into multiple display areas, and the prompt window and the multiple display areas overlap. The detection unit is used to detect a first operation targeting a first object among the one or more objects; The first response unit is used to respond to the first operation and display a guide window in the area other than the prompt window in the first interface. The guide window includes one or more sub-areas, and each sub-area corresponds one-to-one with a display area. The detection unit is also configured to detect a second operation of moving the first object to a first sub-region of one or more of the sub-regions; The second response unit is used to respond to the second operation by displaying the first object in the target display area of the first interface, wherein the target display area corresponds to the first sub-area.
9. An electronic device, characterized in that, The method includes a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the computer program, implements the method as described in any one of claims 1-7.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Detection method and device for system board of splicing processor
CN107707909A
Method and device for presenting electronic whiteboard and computer readable storage medium
CN111610893A