Operating method, device, electronic device and computer readable storage medium

By responding to sliding operations under specific conditions in electronic devices, the problem of conflicting operations between controls and sub-controls is solved, improving user experience and ensuring that users can correctly control controls.

CN114385061BActive Publication Date: 2024-09-24BOE TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210031940.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-12
Publication Date
2024-09-24
Estimated Expiration
2042-01-12

AI Technical Summary

Technical Problem

In electronic devices, the operations of controls and sub-controls are prone to conflicts, resulting in poor user experience. The user wants to control the control but is actually obtained by the sub-control, resulting in control errors.

Method used

By obtaining a movement operation on the first sub-control in the first control and satisfying specific first and second response conditions in response to the movement operation, it is ensured that the control or sub-control is visually moved and operation conflicts are avoided. Specific methods include sliding operations, setting response conditions based on sliding distance and direction, and ensuring that controls or sub-controls respond correctly to user input.

Benefits of technology

It alleviates the problem of operational conflicts between controls and sub-controls, improves the interaction experience between users and electronic devices, and ensures that users can correctly control target controls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114385061B
    Figure CN114385061B
Patent Text Reader

Abstract

An operation method, device, electronic device and computer-readable storage medium. The operation method includes: obtaining a first movement operation performed on a first sub-control in a first control, the first sub-control being located in a region of the first control; in response to the first movement operation satisfying a first response condition of the first control and a second response condition of the first sub-control, the first control responds to the first movement operation; and in response to the first movement operation not satisfying the first response condition but satisfying the second response condition, the first sub-control responds to the first movement operation to generate visual movement. The operation method can alleviate the problem of conflicting operations between controlling the first control and controlling the first sub-control.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present disclosure relate to an operating method, an apparatus, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the development of electronic technology and Internet technology, electronic devices provide more and more functions, making people's lives more and more intelligent. For example, technologies such as smart cities, smart parks, and smart enterprises use new generation information technologies such as the Internet of Things, cloud computing, big data, and spatial information integration to promote cities, parks, or enterprises to enter a model of intelligent service, management, and construction.

[0003] Technologies such as smart cities, smart parks, and smart enterprises often display data or image information to users through touch screens. A variety of controls are often displayed on the touch screen, allowing users to interact with the touch screen through the controls. Summary of the invention

[0004] At least one embodiment of the present disclosure provides an operation method, including: obtaining a first move operation performed on a first sub-control in a first control, the first sub-control being located in an area range of the first control; in response to the first move operation satisfying a first response condition of the first control and satisfying a second response condition of the first sub-control, the first control responds to the first move operation; and in response to the first move operation not satisfying the first response condition but satisfying the second response condition, the first sub-control responds to the first move operation to produce a visual movement.

[0005] For example, in an operating method provided in an embodiment of the present disclosure, the first control includes a list control, the first sub-control includes a drag control, and the drag control is a draggable control.

[0006] For example, in an operating method provided by an embodiment of the present disclosure, the area range of the first control includes N sub-controls, N is an integer greater than 1, the N sub-controls are arranged in sequence in the first control, and the first sub-control is one of the N sub-controls.

[0007] For example, in an operating method provided by an embodiment of the present disclosure, the first control includes a list control, and in response to a first move operation that satisfies a first response condition of the first control and satisfies a second response condition of the first sub-control, the first control responds to the first move operation, including: in response to the first move operation that satisfies the first response condition and satisfies the second response condition, the list control causes N sub-controls to visually scroll in the list control.

[0008] For example, in an operating method provided by an embodiment of the present disclosure, the first movement operation includes a sliding operation.

[0009] For example, in an operating method provided in an embodiment of the present disclosure, the first response condition is a subset of the second response condition.

[0010] For example, in the operating method provided by an embodiment of the present disclosure, the second response condition includes: the sliding distance of the sliding operation is greater than the distance threshold, and the first response condition includes: the sliding distance of the sliding operation is greater than the distance threshold, and the sliding direction of the sliding operation is within a preset range.

[0011] For example, in the operating method provided by an embodiment of the present disclosure, the first response condition includes: the sliding distance of the sliding operation is greater than the distance threshold, and the sliding direction of the sliding operation is within a preset range; the second response condition includes: the sliding distance of the sliding operation is greater than the distance threshold, and the sliding direction of the sliding operation is outside the preset range.

[0012] For example, in an operation method provided by an embodiment of the present disclosure, the sliding direction of the sliding operation is within a preset range, including: an angle between the sliding direction of the sliding operation and an extension direction of the first control is within a preset range.

[0013] For example, in the operating method provided by an embodiment of the present disclosure, the extension direction is a horizontal direction, in response to a sliding operation, a first distance of sliding in the horizontal direction is greater than a second distance of sliding in the vertical direction, and the angle between the sliding direction and the extension direction of the first control is within a preset range; or the extension direction is a vertical direction, in response to a sliding operation, a first distance of sliding in the horizontal direction is less than a second distance of sliding in the vertical direction, and the angle between the sliding direction and the extension direction of the first control is within a preset range, and the horizontal direction is perpendicular to the vertical direction.

[0014] For example, in an operating method provided by an embodiment of the present disclosure, in response to a first moving operation that does not satisfy a first response condition but satisfies a second response condition, a first sub-control produces a visual movement in response to the first moving operation, including: in response to the first moving operation that does not satisfy the first response condition but satisfies the second response condition, generating an auxiliary control of the drag control; and the auxiliary control moves following the first moving operation.

[0015] For example, in an operating method provided by an embodiment of the present disclosure, the auxiliary control is moved outside the area range of the first control according to the first movement operation.

[0016] For example, in an operating method provided by an embodiment of the present disclosure, a first control and a first sub-control are displayed on a display page, the display page also includes a second control located outside the area range of the first control, the first sub-control includes a display window and displays image data, and the method also includes: in response to the auxiliary control moving to the area range of the second control and stopping the movement operation, the first sub-control provides image data to the second control, and the image data is displayed by the display window of the second control.

[0017] For example, in the operating method provided by an embodiment of the present disclosure, the area range of the first control also includes a second sub-control, and the method also includes: obtaining a second moving operation performed on the second sub-control, the second moving operation is used to adjust the second sub-control from the first position to the second position; and the sub-control corresponding to the second position displays the image data displayed by the second sub-control.

[0018] For example, in an operating method provided in an embodiment of the present disclosure, the second movement operation includes a pressing operation on the second sub-control and a selection operation on the second position, and the duration of the pressing operation is greater than the preset duration.

[0019] For example, in an operating method provided by an embodiment of the present disclosure, a display page includes a first display area, a second display area, and a third display area, a first control is located in the first display area, the second display area includes multiple second controls, each second control is used to display image data from one of multiple sub-controls, and the third display area is configured to display at least one arrangement strategy, each arrangement strategy indicates an arrangement method for arranging multiple second controls, or indicates sub-controls corresponding to multiple second controls, so that each second control displays image data from the sub-control corresponding to the second control.

[0020] For example, in the operating method provided in an embodiment of the present disclosure, the third display area is also configured to display at least one display strategy, and the display strategy indicates the correspondence between the arrangement strategy and the time period, so as to display the arrangement strategy corresponding to each time period in each time period.

[0021] For example, in an operating method provided in an embodiment of the present disclosure, the first control, the first sub-control, and the second control are obtained based on a cross-platform interface development framework or based on an operating system.

[0022] For example, in an operation method provided by an embodiment of the present disclosure, the first control is a drag control, and the first sub-control is a list control, wherein the first control responds to the first move operation, including: the drag control moves following the first move operation, and the first sub-control responds to the first move operation to produce a visual movement, including: the sub-elements in the list control visually scroll in the list control.

[0023] At least one embodiment of the present disclosure provides an operating device, including: an acquisition unit, configured to acquire a first movement operation performed on a first sub-control in a first control, the first sub-control being located in a region of the first control; a first response unit, configured to respond to the first movement operation by the first control in response to the first movement operation satisfying a first response condition of the first control and satisfying a second response condition of the first sub-control; and a second response unit, configured to respond to the first movement operation by the first sub-control to produce a visual movement in response to the first movement operation not satisfying the first response condition but satisfying the second response condition.

[0024] At least one embodiment of the present disclosure provides an electronic device, including a processor; a memory, including one or more computer program instructions; the one or more computer program instructions are stored in the memory and when executed by the processor, implement the operating method provided by any embodiment of the present disclosure.

[0025] At least one embodiment of the present disclosure provides a computer-readable storage medium that non-temporarily stores computer-readable instructions. When the computer-readable instructions are executed by a processor, the operating method provided by any embodiment of the present disclosure can be implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings of the embodiments will be briefly introduced below. Obviously, the drawings in the following description only relate to some embodiments of the present disclosure, but are not intended to limit the present disclosure.

[0027] Figure 1A A flowchart of an operation method provided by at least one embodiment of the present disclosure is shown;

[0028] Figure 1B A schematic diagram showing a first control and a first sub-control provided by at least one embodiment of the present disclosure is shown;

[0029] Figure 1C A schematic diagram showing that the angle between the sliding direction of the sliding operation provided by at least one embodiment of the present disclosure and the extending direction of the first control is within a preset range;

[0030] Figure 1D A schematic diagram showing another first control and a first sub-control provided by at least one embodiment of the present disclosure is shown;

[0031] Figure 1E It shows that at least one embodiment of the present disclosure provides Figure 1B Schematic diagram of the result produced by N sub-controls visually sliding in the first control in the example;

[0032] Figure 2AA schematic diagram showing the auxiliary control provided by at least one embodiment of the present disclosure moving following a first movement operation;

[0033] Figure 2B A schematic diagram showing a first control and a first sub-control provided by at least one embodiment of the present disclosure responding to a first movement operation;

[0034] Figure 3 A flowchart showing another operating method provided by at least one embodiment of the present disclosure;

[0035] Figure 4 A schematic block diagram of an operating device provided by at least one embodiment of the present disclosure is shown;

[0036] Figure 5 A schematic block diagram of an electronic device provided by at least one embodiment of the present disclosure is shown;

[0037] Figure 6 A schematic block diagram showing another electronic device provided by at least one embodiment of the present disclosure; and

[0038] Figure 7 A schematic diagram of a computer-readable storage medium provided by at least one embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings of the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the described embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0040] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. Similarly, similar words such as "one", "one" or "the" do not indicate quantity restrictions, but indicate that there is at least one. Similar words such as "include" or "comprise" mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Similar words such as "connect" or "connected" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0041] As electronic devices provide more and more functions, the interaction between electronic devices and users is also increasing. In order to make the interaction between users and electronic devices more convenient, the types of controls are becoming more and more abundant. For example, some controls can be moved, some controls can be clicked, etc. For another example, a control can include sub-controls, and users can operate the control and sub-controls separately. However, in the case where a control includes sub-controls, operations on the control and the sub-control are prone to conflict. For example, a user wants to control a control, but the user's operation is obtained by the sub-control, resulting in the sub-control being controlled instead of the control, which seriously affects the user experience.

[0042] At least one embodiment of the present disclosure provides an operation method, device, electronic device, and computer-readable storage medium. The operation method includes: obtaining a first movement operation performed on a first sub-control in a first control, wherein the first sub-control is located in the area range of the first control; in response to the first movement operation satisfying a first response condition of the first control and satisfying a second response condition of the first sub-control, the first control responds to the first movement operation; and in response to the first movement operation not satisfying the first response condition but satisfying the second response condition, the first sub-control responds to the first movement operation to produce a visual movement. The operation method can alleviate the problem of operational conflicts between controlling the first control and controlling the first sub-control.

[0043] It should be noted that the embodiments provided by the present disclosure can be applied to any scenario of controlling a control, and are not limited to the application scenarios mentioned below. That is, the present disclosure does not limit the application scenarios of the embodiments of the present disclosure.

[0044] Figure 1AA flowchart of an operating method provided by at least one embodiment of the present disclosure is shown.

[0045] like Figure 1A As shown, the method may include steps S10 to S30.

[0046] Step S10: Acquire a first moving operation performed on a first sub-control in a first control, where the first sub-control is located in a region of the first control.

[0047] Step S20: In response to the first movement operation satisfying the first response condition of the first control and satisfying the second response condition of the first sub-control, the first control responds to the first movement operation.

[0048] Step S30: In response to the first movement operation not satisfying the first response condition but satisfying the second response condition, the first sub-control generates a visual movement in response to the first movement operation.

[0049] For step S10, for example, the first control may be a list control, the first sub-control includes a drag control, and the drag control is a draggable control. For example, the first moving operation may be a sliding operation, the list control may respond to the sliding operation so that the drag control visually scrolls in the column control, and the drag control may also respond to the sliding operation and be dragged to another position. Since both the list control and the drag control can respond to the sliding operation, it is easy to cause an operation conflict, for example, the user wants to control the list control but the drag control is controlled instead, or the user wants to control the drag control but the list control is controlled instead.

[0050] For another example, the first control may be a drag control, and the first sub-control may be a click control that receives a click operation. For example, the drag control may be dragged in response to a click operation, and the click control may be moved in response to a click operation. Since both the drag control and the click control may respond to a click operation, operation conflicts may easily occur.

[0051] For another example, the first control is a drag control, and the first sub-control is a list control. The drag control is dragged to another position in response to a sliding operation, and the list control scrolls multiple elements in the list control in response to the sliding operation. In this case, both the first control and the first sub-control can respond to the sliding operation, which can easily lead to operation conflicts.

[0052] The embodiments provided by the present disclosure can alleviate the problem of operation conflict between the first control and the first sub-control.

[0053] Figure 1B A schematic diagram of a first control and a first sub-control provided by at least one embodiment of the present disclosure is shown. Figure 1B right Figure 1A The operation method shown is explained.

[0054] like Figure 1B As shown, subcontrol 111, subcontrol 112, subcontrol 113 and subcontrol 114 are located in the area range of control 110. Control 110 is an example of a first control, and any of subcontrol 111, subcontrol 112, subcontrol 113 and subcontrol 114 can be used as a first subcontrol. In an embodiment of the present disclosure, the area range of a control may refer to the actual display area of ​​the control in a display page. For example, control 110 is a list control, and the area range of control 110 is the viewport (ViewPort) of control 110, that is, the actual display area of ​​the list control. The number of subcontrols accommodated in control 110 itself is usually more than the number of subcontrols displayed in the viewport.

[0055] It is important to understand that although Figure 1B 4 sub-controls are shown in the figure, but it does not mean that the area range of the control can only contain 4 sub-controls. In fact, in the embodiment of the present disclosure, the area range of the control can include N sub-controls, where N is an integer greater than or equal to 1. Due to the limitation of the size (e.g., length) of the control 110 itself, the control 110 can only display part of the N sub-controls in the area range, for example, only 1, 2, or 3 sub-controls are displayed, where N is an integer greater than or equal to 1. The present disclosure does not limit the number of sub-controls that the size of the control 110 itself can allow to be displayed in the area range of the control 110, and the total number of sub-controls.

[0056] exist Figure 1B In the example of , control 110 is, for example, a list control, and each of sub-controls 111, 112, 113, and 114 is, for example, a drag control. That is, multiple sub-elements of the list are multiple drag controls. Sub-controls 111, 112, 113, and 114 can be dragged to an area outside the area range of control 110.

[0057] In some other embodiments of the present disclosure, for example, control 110 is a drag control, and each of sub-controls 111, 112, 113, and 114 is, for example, a list control. That is, multiple sub-elements of the drag control are multiple list controls. In this case, the drag control, i.e., control 110, can be dragged to a target area, and the drag control and the list control as a sub-element can adaptively adjust their own sizes according to the size of the target area to adapt to the size of the target area.

[0058] In some embodiments of the present disclosure, N sub-controls may be arranged sequentially in the first control.

[0059] For example, N sub-controls may be arranged in sequence along the extension direction of the first control. Figure 1BAs shown, control 110 extends along the X direction, and N sub-controls (for example, sub-control 111, sub-control 112, sub-control 113 and sub-control 114) are arranged in sequence along the X direction within the control area. Arranging in sequence according to the extension direction of the control can display more sub-controls concisely and intuitively.

[0060] In some other embodiments of the present disclosure, the N sub-controls may also be arranged in the control according to a preset arrangement pattern, which can improve the aesthetics and interest.

[0061] For step S10, for example, the first moving operation is a sliding operation. For example, the user can perform a sliding operation in the area of ​​the first control. For example, the operation method is applied to a touch screen, and the touch screen can obtain a sliding operation performed on any sub-control in the control 110. Figure 1B As shown, for example, a sliding operation performed on the sub-control 112 is obtained.

[0062] As described above, the first movement operation may be, for example, a click operation or other operations, and the present disclosure does not limit the first movement operation.

[0063] For step S20 and step S30, for an embodiment in which the first movement operation is a sliding operation, for example, the first response condition may be a subset of the second response condition. For example, the second response condition is that the sliding distance of the sliding operation is greater than the distance threshold. The first response condition is that the sliding distance of the sliding operation is greater than the distance threshold, and the sliding direction of the sliding operation is within a preset range. That is, when the sliding direction of the first movement operation is within the preset range and the sliding distance is greater than the distance threshold, the first control responds to the first movement operation, and when the sliding direction of the first movement operation is not within the preset range and the sliding distance is greater than the distance threshold, the first sub-control responds to the movement operation.

[0064] In other embodiments of the present disclosure, the first response condition and the second response condition may be two independent conditions, for example, the first response condition is that the duration of the moving operation is less than the preset duration, and the second response condition is that the sliding distance is greater than the distance threshold. That is, when the duration of the first moving operation is less than the preset duration and the sliding distance is greater than the distance threshold, the first control responds to the first moving operation, and when the duration of the first moving operation is greater than or equal to the preset duration and the sliding distance is greater than the distance threshold, the first sub-control responds to the moving operation.

[0065] In some other embodiments of the present disclosure, the first response condition includes: the sliding distance of the sliding operation is greater than the distance threshold, and the sliding direction of the sliding operation is within a preset range. The second response condition includes: the sliding distance of the sliding operation is greater than the distance threshold, and the sliding direction of the sliding operation is outside the preset range. For example, the first response condition is that the sliding distance of the sliding operation is greater than the distance threshold, and the angle between the sliding direction of the sliding operation and the extension direction of the first control is within the preset range, and the second response condition is that the sliding distance of the sliding operation is greater than the distance threshold, and the angle between the sliding direction of the sliding operation and the extension direction of the first control is outside the preset range.

[0066] Those skilled in the art can set the first response condition and the second response condition according to actual scenario requirements, and the present disclosure does not provide examples one by one here.

[0067] In some embodiments of the present disclosure, by setting the second response condition as the sliding distance of the sliding operation being greater than a distance threshold, it is possible to prevent misjudgment caused by operations such as finger shaking, thereby improving the accuracy of the response.

[0068] In some embodiments of the present disclosure, the distance threshold may be, for example, a distance of 18 pixels. When the sliding distance is greater than the distance of 18 pixels, it is determined that a sliding operation is generated.

[0069] For example, when the sliding distance of the sliding operation on sub-control 112 obtained by the touch screen is greater than the distance threshold and the sliding direction is within the preset range, control 110 responds to the sliding operation; and when the sliding distance of the sliding operation on sub-control 112 obtained by the touch screen is less than or equal to the distance threshold and the sliding direction is not within the preset range, sub-control 112 responds to the sliding operation.

[0070] The distance threshold and the preset range can be set by those skilled in the art according to actual needs, and the present disclosure is not limited thereto.

[0071] In some embodiments of the present disclosure, the sliding direction of the sliding operation is within a preset range, including: an angle between the sliding direction of the sliding operation and an extension direction of the first control is within a preset range.

[0072] Figure 1C A schematic diagram showing that the angle between the sliding direction of a sliding operation provided by at least one embodiment of the present disclosure and the extending direction of a first control is within a preset range.

[0073] like Figure 1C As shown, the extension direction of the first control is Figure 1BThe preset range may be, for example, [0°, 45°], [-45°, 0°], [135°, 180°], and [-180°, -135°]. For example, when the sliding direction of the sliding operation is Figure 1C When the sliding direction of the sliding operation is within the range shown in S1, the control 110 responds to the first moving operation. Figure 1C When the sub-control is within the range shown in S2, the sub-control targeted by the first movement operation responds to the first movement operation.

[0074] In some embodiments of the present disclosure, for example, the extension direction is the horizontal direction, in response to the first distance of the sliding operation in the horizontal direction being greater than the second distance of the sliding operation in the vertical direction, the angle between the sliding direction and the extension direction of the first control is within a preset range. Figure 1B and Figure 1C The X direction is shown in the figure, and the vertical direction is the Y direction which is perpendicular to the X direction. Figure 1B As shown, when the sliding distance dX1 of the sliding operation in the X direction is greater than the sliding distance dY1 of the sliding operation in the Y direction, it is determined that the angle between the sliding direction and the first control is within the preset range. The distance dX1 is an example of the first distance, and the distance dY1 is an example of the second distance.

[0075] For another example, if the extension direction is a vertical direction, in response to a first distance of the sliding operation in the horizontal direction being smaller than a second distance of the sliding operation in the vertical direction, an angle between the sliding direction and the extension direction of the first control is within a preset range.

[0076] Figure 1D A schematic diagram of another first control and a first sub-control provided by at least one embodiment of the present disclosure is shown.

[0077] like Figure 1D As shown, the schematic diagram includes control 120 and sub-controls 121, 122, 123, and 124. Control 120 is another example of the first control, and sub-controls 121, 122, 123, and 124 are other examples of the first sub-control.

[0078] like Figure 1D As shown, the extension direction of the control 120 is the vertical direction, for example, the vertical direction is the Y direction, and the direction perpendicular to the Y direction is the horizontal direction. If the distance dX2 of the sliding operation in the horizontal direction is less than the distance dY2 of the sliding operation in the Y direction, the angle between the sliding direction and the extension direction of the control 120 is within a preset range.

[0079] By comparing the moving distances in the vertical direction and the horizontal direction, it is possible to easily determine whether the angle between the sliding direction and the extending direction of the first control is within a preset range.

[0080] In some embodiments of the present disclosure, for example, the sliding distances in the X direction and the Y direction may be calculated according to the coordinates of the starting point of the sliding operation and the coordinates of the ending point of the sliding operation.

[0081] In some embodiments of the present disclosure, step S20 may include: in response to the first move operation satisfying the first response condition and satisfying the second response condition, the list control causes the first sub-control to visually scroll in the list control.

[0082] For example, Figure 1B and Figure 1D As shown, in response to a first move operation performed on the sub-control 112 or the sub-control 122 satisfying a first response condition and a second response condition, the N sub-controls are visually scrolled in the list control.

[0083] Figure 1E It shows that at least one embodiment of the present disclosure provides Figure 1B Schematic diagram of the result of N child controls visually scrolling in a list control in the example.

[0084] For example, in response to Figure 1B The sub-control 113 in the figure is moved along the negative direction of the X-axis, and the multiple sub-controls are scrolled in the area of ​​the first control 110, that is, the list control, such as Figure 1E As shown, sub-controls 114 to 117 are finally displayed in the area of ​​control 110.

[0085] A list control enables N sub-controls to scroll visually in the list control, including: the list control calculates a plurality of target sub-controls within a region according to a moving distance of a moving operation, determines a display position of each of the plurality of target sub-controls within the region, and renders at the display position to display the corresponding target sub-control.

[0086] For example, multiple target sub-controls within the region are calculated based on the coordinates of the control 110 and multiple sub-controls and the moving distance. For example, based on the moving distance d (d>0) of the moving operation, the change in the coordinate value of the sub-control is calculated to be a×d, and the target sub-control within the region of the control 110 is determined based on the coordinate values ​​of the endpoints of the control 110 and the change in the coordinate value of each sub-control. Figure 1BIn the scenario shown, assuming that a is equal to 2, the coordinate value of endpoint A of control 110 in the X direction is 10, the coordinate value of endpoint B in the X direction is 40, and in response to the sliding distance d of the sliding operation on subcontrol 113 in the negative X direction being 6 cm (greater than the distance threshold), the coordinate value of each subcontrol in the X direction is reduced by 2×6 cm, that is, by 12 cm. After the coordinate value of each subcontrol is updated, it is determined that subcontrols 114 to 117 are displayed within the area range of control 110, and after the coordinate value is updated, the display positions of subcontrols 114 to 117 within the area range. Then, the corresponding subcontrols 114 to 117 are rendered at each display position, and finally the coordinate value of each subcontrol is obtained. Figure 1E For example, the corresponding sub-controls 114 to 117 can be rendered at each display position using a 2D vector graphics processing library (SKIA) engine.

[0087] In some embodiments of the present disclosure, the sub-control includes a drag control, and step S30 may include: in response to the first movement operation not satisfying the first response condition but satisfying the second response condition, generating an auxiliary control of the drag control; and the auxiliary control moving following the first movement operation.

[0088] In some embodiments of the present disclosure, the display style of the auxiliary control may be the same as the display style of the first sub-control, or the display style of the auxiliary control may be different from the display style of the first sub-control.

[0089] In some embodiments of the present disclosure, for example, the first sub-control can be obtained based on a cross-platform interface development framework. For example, the first sub-control is a drag control, and the drag control can be a Draggable series component provided by the Flutter framework. In the Flutter framework, the Draggable component has two parameters that must be filled in, one is the child parameter, which is used to indicate the child control, and the other is the feedback parameter, which indicates the component that moves with the drag, that is, the auxiliary control. When dragging, the childWhenDragging parameter can be used to set the display style of the auxiliary control.

[0090] Figure 2A A schematic diagram showing the movement of an auxiliary control following a first movement operation provided by at least one embodiment of the present disclosure is shown.

[0091] like Figure 2A As shown, the display page 200 includes a control 110, and the viewport of the control 110 displays sub-controls 111, 112, 113, and 114. The control 110 is displayed in the first display area 210 ( Figure 2AThe area outlined by the dashed line is the first display area), the area range of the control 110 refers to Figure 2A The area framed by solid lines includes sub-control 111, sub-control 112, sub-control 113 and sub-control 114.

[0092] For example, if a finger slides the subcontrol 112 on the touch screen and the sliding operation is not within the preset range of the sliding direction, the subcontrol 112 responds to the movement operation. For example, the subcontrol 112 generates an auxiliary control 1121 in response to the movement operation.

[0093] like Figure 2A As shown, for example, the auxiliary control 1121 moves along with the movement of the finger, for example, the auxiliary control 1121 can be displayed at the location where the finger is located.

[0094] In some embodiments of the present disclosure, the auxiliary control is moved outside the area of ​​the first control according to the first movement operation. Figure 2A As shown, for example, the auxiliary control 1121 is dragged to a position outside the area of ​​the first control 110.

[0095] In some embodiments of the present disclosure, for example, if a sliding operation does not satisfy the first response condition but satisfies the second response condition, the sub-control directly obtains control to respond to the sliding operation; if the sliding operation satisfies the first response condition and the second response condition, the sub-control does not obtain control; after sliding a certain distance, since the sub-control still does not obtain control, control is given to the control, thereby enabling the control to respond to the sliding operation.

[0096] In some embodiments of the present disclosure, the first control and the first sub-control are displayed on a display page, the display page further includes a second control outside the area of ​​the first control, and the first sub-control includes a display window and displays image data. Figure 1A As shown, in this embodiment, the operating method may further include step S40.

[0097] Step S40: In response to the stop of the movement operation of the auxiliary control to the area range of the second control, the first sub-control provides image data to the second control, and the image data is displayed by the display window of the second control.

[0098] like Figure 2A As shown, the first control and the first sub-control are displayed in the display page 200, and the display page 200 further includes a second control 130 located outside the control 110. The sub-control 112 includes a display window to display image data.

[0099] If the auxiliary control 1121 is moved into the area of ​​the second control 130 and the moving operation stops, the sub-control 112 provides the image data to the second control 130 so that the display window of the second control 130 displays the image data.

[0100] For example, the display area of ​​the display window of the second control 130 is larger than the display area of ​​the display window of the sub-control 112, and is used to magnify and display the image data for easy observation.

[0101] By having the auxiliary control follow the moving operation and move to the area of ​​the second control, you can visually and intuitively feel that the sub-control is moved and the position to which it is moved, so that you can stop the moving operation in time, so that the sub-control is visually moved accurately to the target position (i.e., the position of the second control).

[0102] In some other embodiments of the present disclosure, for example, the first control is a drag control, and the drag control includes multiple sub-controls within its area, and each sub-control is, for example, a list control. In this embodiment, in response to the first movement operation satisfying the first response condition and the second response condition, the first control, i.e., the drag control, moves following the first movement operation; in response to the first movement operation not satisfying the first response condition and satisfying the second response condition, the sub-elements in the first sub-control, i.e., the list control, visually scroll in the list control.

[0103] Figure 2B A schematic diagram showing a first control and a first sub-control responding to a first movement operation provided by at least one embodiment of the present disclosure is shown.

[0104] like Figure 2B As shown, a drag control 310 and list controls 311-314 are displayed in a display page 300. The drag control 310 is an example of a first control, and any of the list controls 311-314 can be an example of a first sub-control.

[0105] exist Figure 2B In the example shown, the list controls 311 to 314 are displayed in a scroll manner, but the present disclosure is not limited to the scroll manner. For example, the list control includes a slide bar, and the list control is displayed in a slide bar manner.

[0106] like Figure 2B As shown, the display page 300 includes a display area 301 and a display area 302. Before the drag control 310 and the list controls 311 to 314 are moved, as shown in FIG. Figure 2B As shown, the drag control 310 is located in the display area 301 , and the list controls 311 - 314 are sequentially arranged within the area of ​​the drag control 310 .

[0107] In this embodiment, for example, the first response condition of the drag control 310 is the sliding direction of the sliding operation. Figure 1C The range of [45°, 90°] is shown, and the sliding distance is greater than the preset distance; the second response condition of the list controls 311-314 is that the sliding distance is greater than the preset distance.

[0108] For example, a sliding operation is performed on the list control 312. If the sliding direction of the sliding operation is Figure 1C If the sliding distance is greater than the preset distance, the drag control 310 moves in response to the sliding operation. For example, the drag control 310 moves from the display area 301 to the display area 302 following the sliding operation.

[0109] In some embodiments of the present disclosure, the display areas of display area 301 and display area 302 are different, and drag control 310 and list controls 311-314 can adaptively adjust their sizes according to the display area of ​​display area 301 or display area 302. For example, when drag control 310 is moved to display area 302, drag control 310 and list controls 311-314 are enlarged relative to when they are in display area 301.

[0110] For example, if the sliding direction of the sliding operation is not Figure 1C If the sliding distance is within the range of [45°, 90°] shown in the figure and is greater than the preset distance, the list control targeted by the sliding operation responds to the sliding operation.

[0111] For example, after the drag control 310 is moved to the display area 302, a sliding operation is performed on the list control 313, and the sliding direction of the sliding operation performed on the list control 313 is not Figure 1C If the sliding distance is greater than the preset distance, the list control 313 responds to the sliding operation. Figure 2B As shown, the list control 313 is displayed in the display area 302. Figure 1C If a sliding operation is performed in the negative direction of the Y axis as shown, and the sliding distance is greater than a preset distance, the list control 313 responds to the sliding operation.

[0112] In this embodiment, the visual movement of the list control in response to the sliding operation may be visual scrolling of sub-elements in the list control.

[0113] In some embodiments of the present disclosure, the area of ​​the first control also includes a second sub-control. The second sub-control may be the same sub-control as the first sub-control described above, or may be a different sub-control. Figure 1BIn the scenario shown, the first sub-control is, for example, sub-control 111 , and the second sub-control may be sub-control 112 , sub-control 113 , or sub-control 114 . Of course, the second sub-control may also be sub-control 111 .

[0114] Figure 3 A flowchart of another operating method provided by at least one embodiment of the present disclosure is shown.

[0115] like Figure 3 As shown, this operation method is Figure 1A The operation method shown includes steps S10 to S40, and may further include step S50 and step S60. Step S50 and step S60 may be performed before step S10 or after step S40.

[0116] Step S50: Acquire a second movement operation performed on the second sub-control, where the second movement operation is used to adjust the second sub-control from the first position to the second position.

[0117] Step S60: The sub-control corresponding to the second position displays the image data displayed by the second sub-control, so that the second sub-control is visually adjusted to the second position.

[0118] This method can adjust the position of the sub-control in the control, improve the diversity of human-computer interaction, and facilitate the operation and control of the sub-control and the control.

[0119] For step S50, the second movement operation includes a pressing operation on the second sub-control and a selecting operation on the second position, and the duration of the pressing operation is greater than the preset duration.

[0120] The duration of the pressing operation being longer than the preset duration can prevent misjudgment caused by hand shaking, etc. Hereinafter, the pressing operation with a duration longer than the preset duration is referred to as a long pressing operation.

[0121] The preset time length may be, for example, 2 seconds, 3 seconds, etc., and those skilled in the art may set the preset time length by themselves.

[0122] In some embodiments of the present disclosure, for example, the selection operation of the second position may be a click operation performed at the second position. For example, the second movement operation may be a long press operation on the subcontrol 114 and a click operation on the position P0.

[0123] In some other embodiments of the present disclosure, for example, the second movement operation may be a long press operation on the sub-control, and after the long press operation, the sub-control is dragged until the sub-control is dragged to the second position, and then the dragging of the sub-control is stopped and the sub-control is released. In this embodiment, the selection operation of the second position is that when the sub-control is dragged to the second position, the dragging stops and the sub-control is released. Releasing the sub-control, for example, means that the finger or other operating body operating the touch screen leaves the touch screen. For example, Figure 2A As shown, a long press operation is performed on the sub-control 114, and after the long press operation, the finger slides along the track shown by the solid line on the touch screen, and when the finger slides to position P0, the sliding stops and the sub-control 114 is released. Position P0 is an example of the second position.

[0124] For step S60, the sub-control corresponding to the second position may be, for example, the sub-control closest to the second position.

[0125] For example, the sub-control corresponding to the second position P0 is the sub-control 112 , and the image data displayed by the sub-control 114 is displayed by the sub-control 112 .

[0126] In some embodiments of the present disclosure, the subcontrol corresponding to the second position displays the image data displayed by the second subcontrol, including: the subcontrol corresponding to the second position visually exchanges positions with the second subcontrol. Figure 2A As shown, executing step S60 causes the sub-control 114 and the control 112 to visually exchange positions.

[0127] In some embodiments of the present disclosure, visually exchanging positions may mean that the positions of the two sub-controls are not substantially changed, but the image data displayed by the two sub-controls are exchanged, so that it is visually reflected that the positions of the two sub-controls are exchanged. For example, the image data of the sub-control 114 is changed from the first image data to the second image data, and the image data of the sub-control 112 is changed from the second image data to the first image data, so that it can appear that the position of the sub-control 114 is exchanged with the position of the sub-control 112.

[0128] In other embodiments of the present disclosure, visually exchanging positions may be to draw the subcontrol 114 at the current position of the subcontrol 112 according to the properties of the subcontrol 114, and to draw the subcontrol 112 at the current position of the subcontrol 114 according to the properties of the subcontrol 112, thereby achieving the position exchange of the two subcontrols. In this case, the above-mentioned SKIA engine may be used to draw the subcontrols at the corresponding positions.

[0129] In this embodiment, if step S60 is executed, the sub-controls displayed in control 110 are arranged in the order of: sub-control 111, sub-control 114, sub-control 113 and sub-control 112.

[0130] In some embodiments of the present disclosure, the image data displayed by the second sub-control is displayed by the sub-control corresponding to the second position, including: the second sub-control is visually inserted between two adjacent sub-controls, and the two adjacent sub-controls include the sub-control corresponding to the second position.

[0131] like Figure 2A As shown, subcontrol 114 is visually inserted between subcontrol 112 and subcontrol 111. In this embodiment, if step S60 is executed, the subcontrols displayed in control 110 are arranged in the order of: subcontrol 111, subcontrol 114, subcontrol 112 and subcontrol 113.

[0132] In some embodiments of the present disclosure, the position of each sub-control may not change, but sub-control 112 displays the image data of sub-control 114, sub-control 113 displays the image data of sub-control 112, sub-control 114 displays the image data of sub-control 113, and so on, thereby achieving visual movement.

[0133] In other embodiments of the present disclosure, sub-control 114 may be drawn at the current position of sub-control 112 according to the properties of sub-control 114, sub-control 112 may be drawn at the current position of sub-control 113 according to the properties of sub-control 112, and sub-control 113 may be drawn at the current position of sub-control 114 according to the properties of sub-control 113, thereby achieving visual movement.

[0134] In some embodiments of the present disclosure, the display page includes a first display area, a second display area, and a third display area, and the first control is located in the first display area. Figure 2A As shown, the display page 200 includes a display area 210, a display area 220, and a display area 230. The display area 210, the display area 220, and the display area 230 are examples of a first display area, a second display area, and a third display area, respectively.

[0135] The display area 220 includes a plurality of second controls, each of which is used to display image data from one of the plurality of sub-controls. Figure 2A As shown, the control 130 in the display area 220 is an example of a second control. In response to a first move operation performed on the sub-control 112, the control 130 is used to display the image data from the sub-control 112.

[0136] In some embodiments of the present disclosure, the display area 230 is configured to display at least one arrangement strategy, each arrangement strategy indicating a method for arranging multiple second controls, or indicating sub-controls corresponding to multiple second controls, so that each second control displays image data from the sub-control corresponding to the second control.

[0137] In some embodiments of the present disclosure, the display area 230 is further configured to display at least one display strategy, which indicates the correspondence between the arrangement strategy and the time period, so as to display the arrangement strategy corresponding to each time period in each time period.

[0138] like Figure 2A As shown, for example, the display area 230 includes at least two selection items, namely, a scene and a plan. The scene selection item is used to display the arrangement strategy, and the plan selection item is used to display the display strategy. When the scene selection item is selected, the display area 230 displays multiple arrangement strategies, such as arrangement strategy 1, arrangement strategy 2, and arrangement strategy 3.

[0139] In some embodiments of the present disclosure, each arrangement strategy indicates an arrangement method for arranging multiple second controls. In this embodiment, the arrangement method may include the number of second controls that can be displayed within the area of ​​the display area 220, and the distribution of the multiple second controls. For example, arrangement strategy 1 is Figure 2A The arrangement shown in the display area 220 is that three second controls are displayed in the display area 220, and a larger second control 140 is displayed on the left, and two smaller second controls 130 and second controls 150 are displayed on the right. For another example, arrangement strategy 2 can be that two smaller second controls are displayed in an area close to the display area 210, and a larger second control is displayed in an area far from the display area 210. This embodiment can flexibly adjust the arrangement of multiple second controls, and the user can design an arrangement strategy according to actual needs, so as to facilitate the observation of the image data displayed by the second control. For example, the second control that displays key image data is arranged in a position that is easy to observe, and the display area of ​​the second control that displays key image data is larger.

[0140] In some other embodiments of the present disclosure, each arrangement strategy indicates sub-controls corresponding to the plurality of second controls, so that each second control displays image data from the sub-control corresponding to the second control. In this embodiment, for example, the distribution of the plurality of second controls in the plurality of arrangement strategies may be the same, and the sub-controls corresponding to the plurality of second control distributions in the plurality of arrangement strategies may be different. For example, the distribution of the plurality of second spaces in the display area 220 is as follows: Figure 2A As shown, arrangement strategy 1 may be that the larger control 140 on the left side of display area 220 corresponds to sub-control 111, control 130 corresponds to sub-control 112, etc., control 150 corresponds to sub-control 113, etc. Arrangement strategy 2 may be that control 140 corresponds to sub-control 112, etc., control 130 corresponds to sub-control 113, etc., control 150 corresponds to sub-control 111, etc.

[0141] For example, the operation method is applied to a large screen terminal of a smart city, and the smart city includes multiple streets, and subcontrol 111 displays image data of street 1, subcontrol 112 displays image data of street 2, subcontrol 113 displays image data of street 3, and subcontrol 114 displays image data of street 4, etc. Arrangement strategy 1, for example, includes control 140 corresponding to subcontrol 111, control 130 corresponding to subcontrol 112, and control 150 corresponding to subcontrol 113, so control 140 displays image data of street 1, control 130 displays image data of street 2, and control 150 displays image data of street 3. Arrangement strategy 2, for example, includes control 140 corresponding to subcontrol 112, control 130 corresponding to subcontrol 113, and control 150 corresponding to subcontrol 114, so control 140 displays image data of street 2, control 150 displays image data of street 4, and control 130 displays image data of street 3.

[0142] When the plan selection item in the display area 230 is selected, the display area 230 displays multiple display strategies. The display strategy indicates the corresponding relationship between the arrangement strategy and the time period, so as to display the arrangement strategy corresponding to each time period in each time period.

[0143] For example, display strategies include display strategy 1, display strategy 2, display strategy 3, etc. Display strategy 1 is to display according to arrangement strategy 1 in the time period [a1, a2), display according to arrangement strategy 2 in [a2, a3), display according to arrangement strategy 3 in [a3, a4), and so on.

[0144] For example, in the application scenario of the smart city described above, in the time period [a1, a2), the arrangement strategy 1 is displayed, that is, the image data of street 1 is displayed by the larger control 140, so as to facilitate viewing of the image data of street 1; in the time period [a2, a3), the arrangement strategy 2 is displayed, and the image of street 2 is displayed by the larger control 140, so as to facilitate viewing of the image data of street 2. The method can display multiple scenes (for example, streets) according to different arrangement strategies for different time periods, so that the touch screen displays different focuses, which is convenient for users to view the image data, improves the flexibility of displaying image data, and improves user experience. For example, if street 1 includes a park and street 2 includes a school, then in [6:00, 7:00), the image data of street 1 is displayed by the larger control 140, and in [7:00, 9:00), the image data of street 2 is displayed by the larger control 140, so that it is convenient for users to set the street scene to be observed according to the particularity of each time period, thereby improving user experience.

[0145] In some embodiments of the present disclosure, for example, the display page 200 is displayed on a touch screen, and the touch screen can be connected to an external splicing screen, and the splicing screen includes multiple external display screens. For example, the touch screen can obtain image data from multiple external display screens and display it in multiple second controls.

[0146] In some embodiments of the present disclosure, for example, the correspondence between multiple second controls and multiple external display screens is determined according to user settings, and each second control displays the image data of the external display screen corresponding to each second control. For example, each sub-control in the control 110 in the display page 200 corresponds to an external display screen to display the image data of the external display screen. The user can drag the sub-control to the second control located in the second display area, and the second control displays the image data in the sub-control, that is, the second control corresponds to the external display screen corresponding to the sub-control. For another example, the user can configure the external display screens corresponding to the multiple second controls respectively by direct input.

[0147] In some embodiments of the present disclosure, the arrangement of the plurality of second controls may be the same as the arrangement of the spliced ​​screen, so as to restore the display screen of the spliced ​​screen on the touch screen.

[0148] In the above embodiments of the present disclosure, users can set different arrangement strategies so that multiple controls in the second display area can reasonably display multiple image data, avoid overflowing the image screen from the display area in the control, or avoid underutilization of the control display area due to a small image screen, thereby meeting various display needs of users. For example, the spliced ​​screen includes external display screen 1, external display screen 2, and external display screen 3, and the second display area includes control 130, control 140, and control 150. Control 130 corresponds to external display screen 1, control 140 corresponds to external display screen 2, and control 150 corresponds to external display screen 3. If external display screen 3 is larger than external display screen 1 and external display screen 2, you can adjust Figure 2A The arrangement strategy in the display area 220 is, for example, to enlarge the control 150 and reduce the control 130 and the control 140, so that the image data of the external display screen 3 can be completely and clearly displayed in the control 150, and the image screen is prevented from overflowing the display area of ​​the control. For another example, the external display screen 3 is adjusted to correspond to the control 150 so as to correspond to the control 140, and the external display screen 2 is adjusted to correspond to the control 140 so as to make the control 140 display the image data of the external display screen 3, and the control 150 display the image data of the external display screen 2.

[0149] In some embodiments of the present disclosure, the first control, the first sub-control, and the second control are obtained based on a cross-platform interface development framework or based on an operating system.

[0150] For example, all controls and sub-controls in the present disclosure are obtained based on a cross-platform interface development framework (e.g., Flutter), or all controls and sub-controls in the present disclosure are obtained based on an operating system (e.g., Android, Windows).

[0151] For example, Flutter provides a Draggable component, and the Draggable component has a class GestureRecognizer that processes gestures. For example, in some embodiments of the present disclosure, the drag control is obtained through the Draggable component provided by Flutter.

[0152] For example, the list control in some embodiments of the present disclosure is obtained through the Scoller component provided by Flutter.

[0153] For example, Flutter listens to gesture events through the GestureRecognizer class, and the acceptance and abandonment of gestures can be handled by the internal logic of the GestureRecognizer class. All gestures can be dispatched and processed in the GestureBinding class provided by Flutter. The hitTest method provided by Flutter determines the component that needs to process the gesture, and adds the component to the path of the HitTestResult. All components that need to process gestures will be placed in the Arena. Each component will have its own response conditions for obtaining control (for example, the first response condition and the second response condition). When the gesture meets the response conditions of one of the components, the component can actively obtain control, and other components will lose the right to process the gesture. If the response conditions for multiple components to obtain control are the same and the conditions are met first, the control is given to the first component added to the Arena. If there is only one component in the Arena, the operation control system directly gives the gesture control to the component. If the gesture changes, but the conditions do not meet the response conditions of any component, the operation control system will give the control to the component that has no response conditions configured. The first movement operation and the second movement operation in the present disclosure may be, for example, a gesture, thereby utilizing Flutter to operate controls and sub-controls displayed on the touch screen.

[0154] For example, in some embodiments of the present disclosure, the list control is not configured with a response condition. When it is determined that the sliding distance is greater than a distance threshold and the response conditions of other components are not met, the operation control system actively gives gesture control to the list control.

[0155] In some embodiments of the present disclosure, if the distance moved by the finger is greater than a distance threshold, the drag control does not apply for control when the angle between the sliding direction of the sliding operation and the extension of the list control is within a preset range. At this time, the operation control system transfers the control to the list control, and the drag control only applies for control when the angle between the sliding direction of the sliding operation and the extension of the list control is outside the preset range.

[0156] For another example, the embodiments of the present disclosure can also be implemented by the Android operating system. In the Android operating system, a component is an independent View or a ViewGroup composed of several Views. When a finger touches the screen, the Android operating system will pass the touch event (touch) from the top component (DecorView) downward in sequence. If it is a ViewGroup, it will continue to pass it to the child View. If a certain View wants to process the touch event, it needs to intercept and consume the event. This is done by returning true in the dispatchTouchEvent method. If the deepest View is not consumed, the trigger event will be passed back and handed over to the upper level View for processing. For example, the list control is the upper level View of the drag control. When the user performs a sliding operation on the touch screen, the sliding direction of the sliding operation will be passed to the drag control. If the angle between the sliding direction and the extension direction of the list control is within the preset range, the drag control does not consume the sliding operation, but passes it back to the upper level list control, and the list control responds to the sliding operation. If the angle between the sliding direction and the extension direction of the list control is outside the preset range, the drag control consumes the sliding operation to respond to the sliding operation.

[0157] For a gesture (for example, a sliding operation), Flutter's processing mechanism is that as long as a component (for example, the Scoller component of a list control, the Draggable component, etc.) obtains control, the component will respond to the gesture until the gesture ends. Figure 2A In the scenario shown, once the control is obtained by the sub-control 112, the control is always in the sub-control 112 when the finger slides from the position corresponding to the sub-control 112 to the position of the second control 130, and there is no need to determine which component the control is in. Android intercepts touch events only for each movement. For example, Figure 2A In the scenario shown, when the finger slides from the position corresponding to the sub-control 112 to the position where the second control 130 is located, each movement of the finger needs to intercept and consume the touch event again. Therefore, using Flutter to obtain controls and sub-controls can improve response speed and save resources.

[0158] In some embodiments of the present disclosure, Figure 2A As shown, the display area 220 includes a plurality of second controls, each of which can display three-dimensional image data, for example. For example, the display page 200 may include a data display panel layer and a three-dimensional model display layer. The data display panel layer is used to provide a user interface (UI). For example, the data display panel layer can provide a two-dimensional user interface, or can provide a three-dimensional user interface. The data display panel layer can be obtained using the Flutter development framework. For example, the controls and sub-controls in the display page 200 are provided by the data display panel layer.

[0159] In some embodiments of the present disclosure, three-dimensional image data is displayed through a three-dimensional model display layer. For example, the three-dimensional model display layer is developed based on OpenSceneGraph (OSG). OSG is an open source, cross-platform graphics development kit designed for the development of high-performance graphics applications such as aircraft simulation, games, virtual reality, and scientific computing visualization. OSG provides an object-oriented framework on top of the Open Graphics Library (OpenGL), which can free developers from implementing and optimizing the calls of the underlying graphics, and it provides many additional practical tools for the rapid development of graphics applications.

[0160] Figure 4 A schematic block diagram of an operating device 400 provided by at least one embodiment of the present disclosure is shown.

[0161] For example, Figure 4 As shown, the operating device 400 includes an acquiring unit 410 , a first responding unit 420 and a second responding unit 430 .

[0162] The acquisition unit 410 is configured to acquire a first moving operation performed on a first sub-control in a first control, where the first sub-control is located in a region of the first control.

[0163] The acquisition unit 410 may, for example, execute Figure 1A Step S10 described.

[0164] The first response unit 420 is configured to, in response to the first movement operation satisfying a first response condition of the first control and satisfying a second response condition of the first sub-control, cause the first control to respond to the first movement operation.

[0165] The first response unit 420 may, for example, execute Figure 1A Step S20 described.

[0166] The second response unit 430 is configured to generate a visual movement by the first sub-control in response to the first movement operation in response to the first movement operation not satisfying the first response condition but satisfying the second response condition.

[0167] The second response unit 430 may, for example, execute Figure 1A Step S30 described.

[0168] The operating device can alleviate the problem of operational conflict between controlling the first control and controlling the first sub-control.

[0169] For example, the acquisition unit 410, the first response unit 420, and the second response unit 430 may be hardware, software, firmware, or any feasible combination thereof. For example, the acquisition unit 410, the first response unit 420, and the second response unit 430 may be a dedicated or general circuit, chip, or device, or may be a combination of a processor and a memory. The embodiments of the present disclosure do not limit the specific implementation forms of the above-mentioned units.

[0170] It should be noted that, in the embodiment of the present disclosure, each unit of the operating device 400 corresponds to each step of the aforementioned operating method. For the specific functions of the operating device 400, reference may be made to the relevant description of the operating method, which will not be repeated here. Figure 4 The components and structures of the operating device 400 shown are merely exemplary and non-limiting. The operating device 400 may further include other components and structures as required.

[0171] Figure 5 A schematic block diagram of an electronic device provided in some embodiments of the present disclosure. Figure 5 As shown, the electronic device 500 includes a processor 510 and a memory 520. The memory 520 is used to store non-transitory computer-readable instructions (e.g., one or more computer program modules). The processor 510 is used to run non-transitory computer-readable instructions, and when the non-transitory computer-readable instructions are run by the processor 510, one or more steps in the operating method described above can be executed. The memory 520 and the processor 510 can be interconnected through a bus system and / or other forms of connection mechanisms (not shown).

[0172] For example, the processor 510 may be a central processing unit (CPU), a graphics processing unit (GPU), or other forms of processing units having data processing capabilities and / or program execution capabilities. For example, the central processing unit (CPU) may be an X86 or ARM architecture, etc. The processor 510 may be a general-purpose processor or a dedicated processor, and may control other components in the electronic device 500 to perform desired functions.

[0173] For example, the memory 520 may include any combination of one or more computer program products, and the computer program product may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, erasable programmable read-only memory (EPROM), portable compact disk read-only memory (CD-ROM), USB memory, flash memory, etc. One or more computer program modules may be stored on the computer-readable storage medium, and the processor 510 may run one or more computer program modules to implement various functions of the electronic device 500. Various applications and various data, as well as various data used and / or generated by the application, etc. may also be stored in the computer-readable storage medium.

[0174] It should be noted that in the embodiment of the present disclosure, the specific functions and technical effects of the electronic device 500 can refer to the description of the operating method above, and will not be repeated here.

[0175] Figure 6 This is a schematic block diagram of another electronic device provided in some embodiments of the present disclosure. The electronic device 600 is suitable for implementing the operation method provided in the embodiments of the present disclosure. The electronic device 600 may be a terminal device, etc. It should be noted that: Figure 6 The electronic device 600 shown is only an example and does not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0176] like Figure 6 As shown, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 610, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 620 or a program loaded from a storage device 680 into a random access memory (RAM) 630. In the RAM 630, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 610, the ROM 620, and the RAM 630 are connected to each other via a bus 640. An input / output (I / O) interface 650 is also connected to the bus 640.

[0177] Typically, the following devices may be connected to the I / O interface 650: an input device 660 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 670 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 680 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 690. The communication device 690 may allow the electronic device 600 to communicate with other electronic devices wirelessly or by wire to exchange data. Although Figure 6 The electronic device 600 is shown to have various devices, but it should be understood that it is not required to implement or possess all of the devices shown, and the electronic device 600 may alternatively implement or possess more or fewer devices.

[0178] For example, according to an embodiment of the present disclosure, the above-mentioned operating method can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the above-mentioned operating method. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 690, or installed from the storage device 680, or installed from the ROM 620. When the computer program is executed by the processing device 610, the functions defined in the operating method provided in the embodiment of the present disclosure can be implemented.

[0179] At least one embodiment of the present disclosure further provides a computer-readable storage medium, which is used to store non-transitory computer-readable instructions, and when the non-transitory computer-readable instructions are executed by a computer, the above-mentioned operation method can be implemented. By using the computer-readable storage medium, the problem of operational conflict between controlling the first control and controlling the first sub-control can be alleviated.

[0180] Figure 7 A schematic diagram of a storage medium provided in some embodiments of the present disclosure. Figure 7 As shown, the storage medium 700 is used to non-transitorily store computer-readable instructions 710. For example, when the computer-readable instructions 710 are executed by a computer, one or more steps in the operating method described above can be performed.

[0181] For example, the storage medium 700 may be applied to the electronic device 500. Figure 5 The memory 520 in the electronic device 500 is shown. For example, the relevant description of the storage medium 700 can be referred to Figure 5 The corresponding description of the memory 520 in the electronic device 500 is shown and will not be repeated here.

[0182] There are a few points to note:

[0183] (1) The drawings of the embodiments of the present disclosure only relate to the structures involved in the embodiments of the present disclosure, and other structures may refer to the general design.

[0184] (2) In the absence of conflict, the embodiments of the present disclosure and the features therein may be combined with each other to obtain new embodiments.

[0185] The above description is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. The protection scope of the present disclosure shall be based on the protection scope of the claims.

Claims

1. An operation method, comprising: Acquire a first move operation performed on a first subcontrol in a first control, wherein the first subcontrol is located in a region of the first control; In response to the first movement operation satisfying a first response condition of the first control and satisfying a second response condition of the first sub-control, the first control responding to the first movement operation; and In response to the first movement operation not satisfying the first response condition but satisfying the second response condition, the first sub-control generates a visual movement in response to the first movement operation, The first control and the first sub-control are displayed on a display page, and the display page further includes a second control outside the area of ​​the first control. The display page includes a first display area, a second display area, and a third display area, and the first control is located in the first display area. The second display area includes a plurality of second controls, each of which is used to display image data from one of a plurality of sub-controls, wherein the area range includes the plurality of sub-controls, and the plurality of sub-controls includes the first sub-control, The third display area is configured to display at least one arrangement strategy, each arrangement strategy indicating a method for arranging multiple second controls, or indicating sub-controls corresponding to multiple second controls, so that each second control displays image data from the sub-control corresponding to the second control.

2. The method according to claim 1, wherein: The first control includes a list control, the first sub-control includes a drag control, and the drag control is a draggable control.

3. The method according to claim 1, wherein: The area of ​​the first control includes N sub-controls, where N is an integer greater than 1, and the N sub-controls are arranged in sequence in the first control, and the first sub-control is one of the N sub-controls.

4. The method according to claim 3, wherein: The first control includes a list control, In response to the first movement operation satisfying a first response condition of the first control and satisfying a second response condition of the first sub-control, the first control responding to the first movement operation includes: In response to the first move operation satisfying the first response condition and satisfying the second response condition, the list control causes the N child controls to visually scroll within the list control.

5. The method according to claim 1, wherein: The first movement operation includes a sliding operation.

6. The method according to claim 5, wherein: The first response condition is a subset of the second response condition.

7. The method according to claim 6, wherein: The second response condition includes: the sliding distance of the sliding operation is greater than a distance threshold, The first response condition includes: a sliding distance of the sliding operation is greater than the distance threshold, and a sliding direction of the sliding operation is within a preset range.

8. The method according to claim 5, wherein: The first response condition includes: the sliding distance of the sliding operation is greater than a distance threshold, and the sliding direction of the sliding operation is within a preset range, The second response condition includes: a sliding distance of the sliding operation is greater than a distance threshold, and a sliding direction of the sliding operation is outside a preset range.

9. The method according to claim 7 or 8, wherein: The sliding direction of the sliding operation is within the preset range, including: An angle between the sliding direction of the sliding operation and an extending direction of the first control is within the preset range.

10. The method according to claim 9, wherein: The extending direction is a horizontal direction, in response to a first distance of the sliding operation in the horizontal direction being greater than a second distance of the sliding operation in the vertical direction, an angle between the sliding direction and the extending direction of the first control is within the preset range; or The extending direction is a vertical direction, in response to a first distance of the sliding operation in the horizontal direction being smaller than a second distance of the sliding operation in the vertical direction, an angle between the sliding direction and the extending direction of the first control is within a preset range, Wherein, the horizontal direction is perpendicular to the vertical direction.

11. The method according to claim 2, wherein: In response to the first movement operation not satisfying the first response condition but satisfying the second response condition, the first subcontrol generating a visual movement in response to the first movement operation, including: In response to the first moving operation not satisfying the first response condition but satisfying the second response condition, generating an auxiliary control of the drag control; and The auxiliary control moves following the first movement operation.

12. The method according to claim 11, wherein: The auxiliary control is moved outside the area range of the first control according to the first moving operation.

13. The method according to claim 12, wherein: The first sub-control includes a display window and displays image data. The method further comprises: In response to the stop of the movement operation of the auxiliary control to the area range of the second control, the first sub-control provides the image data to the second control, and the image data is displayed by a display window of the second control.

14. The method according to claim 13, wherein: The area of ​​the first control also includes a second sub-control. The method further comprises: Acquire a second movement operation performed on the second subcontrol, wherein the second movement operation is used to adjust the second subcontrol from a first position to a second position; and The image data displayed by the second sub-control is displayed by the sub-control corresponding to the second position.

15. The method according to claim 14, wherein: The second movement operation includes a pressing operation on the second sub-control and a selecting operation on the second position, wherein a duration of the pressing operation is greater than a preset duration.

16. The method according to claim 1, wherein: The third display area is further configured to display at least one display strategy, where the display strategy indicates a corresponding relationship between the arrangement strategy and the time period, so as to display the arrangement strategy corresponding to each time period in each time period.

17. The method according to claim 14, wherein: The first control, the first sub-control and the second control are obtained based on a cross-platform interface development framework or based on an operating system.

18. The method according to claim 1, wherein: The first control is a drag control, and the first sub-control is a list control. The first control responding to the first movement operation includes: The drag control moves following the first movement operation, The first subcontrol generates a visual movement in response to the first movement operation, including: The child elements in the list control visually scroll within the list control.

19. An operating device, comprising: An acquiring unit, configured to acquire a first moving operation performed on a first sub-control in a first control, wherein the first sub-control is located in a region of the first control; a first response unit, configured to, in response to the first movement operation satisfying a first response condition of the first control and satisfying a second response condition of the first sub-control, cause the first control to respond to the first movement operation; a second response unit configured to generate visual movement of the first subcontrol in response to the first movement operation in response to the first movement operation not satisfying the first response condition but satisfying the second response condition; The first control and the first sub-control are displayed on a display page, and the display page further includes a second control outside the area of ​​the first control. The display page includes a first display area, a second display area, and a third display area, and the first control is located in the first display area. The second display area includes a plurality of second controls, each of which is used to display image data from one of a plurality of sub-controls, wherein the area range includes the plurality of sub-controls, and the plurality of sub-controls includes the first sub-control, The third display area is configured to display at least one arrangement strategy, each arrangement strategy indicating a method for arranging multiple second controls, or indicating sub-controls corresponding to multiple second controls, so that each second control displays image data from the sub-control corresponding to the second control.

20. An electronic device, comprising: processor; a memory including one or more computer program instructions; The one or more computer program instructions are stored in the memory and, when executed by the processor, implement the operating method of any one of claims 1 to 18.

21. A computer-readable storage medium non-temporarily storing computer-readable instructions, wherein: When the computer-readable instructions are executed by a processor, the operating method according to any one of claims 1 to 18 is implemented.