CN115079888A - Control method and device of display equipment, terminal and storage medium - Google Patents

Control method and device of display equipment, terminal and storage medium Download PDF

Info

Publication number
CN115079888A
CN115079888A CN202110261327.4A CN202110261327A CN115079888A CN 115079888 A CN115079888 A CN 115079888A CN 202110261327 A CN202110261327 A CN 202110261327A CN 115079888 A CN115079888 A CN 115079888A
Authority
CN
China
Prior art keywords
display
target
area
target position
edge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110261327.4A
Other languages
Chinese (zh)
Inventor
王涵
方迟
谢铿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youzhuju Network Technology Co Ltd
Original Assignee
Beijing Youzhuju Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Youzhuju Network Technology Co Ltd filed Critical Beijing Youzhuju Network Technology Co Ltd
Priority to CN202110261327.4A priority Critical patent/CN115079888A/en
Publication of CN115079888A publication Critical patent/CN115079888A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a control method of a display device, a terminal, and a storage medium. The control method of the display device comprises the following steps: determining a target position of the operation identifier; judging whether the target position is located in the display area; if the target position is located in the display area, displaying an operation identifier at the target position; and if the target position is positioned outside the display area, determining the display position and the display shape of the visual element according to the target position, and displaying the visual element, wherein the display position is positioned in the display area. The method of the present disclosure may indicate a target position of an operation marker located outside a screen by a position and a shape of a visual element within a display area.

Description

Control method and device of display equipment, terminal and storage medium
Technical Field
The present disclosure relates to the field of intelligent terminal technologies, and in particular, to a method and an apparatus for controlling a display device, a terminal, and a storage medium.
Background
The display device can be externally connected with a mouse, when a cursor of the mouse moves to a position outside a display area, a user cannot know the position of the cursor, the cursor is inconvenient to find, and inconvenience is brought to the user.
Disclosure of Invention
The disclosure provides a control method, a control device, a terminal and a storage medium of a display device.
The present disclosure adopts the following technical solutions.
In some embodiments, the present disclosure provides for determining a target location of an operational signature;
judging whether the target position is located in a display area;
if the target position is located in the display area, displaying the operation identifier at the target position;
and if the target position is positioned outside the display area, determining the display position and the display shape of the visual element according to the target position, and displaying the visual element, wherein the display position is positioned in the display area.
In some embodiments, the present disclosure provides a control apparatus of a display device, including:
a determination unit for determining a target position of the operation identifier;
the judging unit is used for judging whether the target position is positioned in a display area;
the display unit is used for displaying the operation identifier at the target position if the target position is located in the display area; and if the target position is located outside the display area, determining the display position and the display shape of the visual element according to the target position, and displaying the visual element, wherein the display position is located in the display area.
In some embodiments, the present disclosure provides a terminal comprising: at least one memory and at least one processor;
the memory is used for storing program codes, and the processor is used for calling the program codes stored in the memory to execute the method.
In some embodiments, the present disclosure provides a storage medium for storing program code for performing the above-described method.
The control method of the display device provided by the embodiment of the disclosure comprises the following steps: determining a target position of the operation identifier; judging whether the target position is located in the display area; if the target position is located in the display area, displaying an operation identifier at the target position; and if the target position is positioned outside the display area, determining the display position and the display shape of the visual element according to the target position, and displaying the visual element, wherein the display position is positioned in the display area. In some embodiments of the present disclosure, the operation indicator is not limited by the display area, and may be moved outside the display area, but the visual element for indicating the target position within the display area may not be located outside the display area, and the visual element may change shape to indicate the target position of the operation indicator, thereby realizing separate display of the position of the operation indicator and the visual element.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
Fig. 1 is a flowchart of a control method of a display device according to an embodiment of the present disclosure.
FIG. 2 is a schematic illustration of an outer region and display region of an embodiment of the disclosure.
FIG. 3 is a schematic diagram of visual elements when a target outer region is a common edge region according to an embodiment of the disclosure.
FIG. 4 is a schematic diagram of visual elements when the target outer region is a common vertex region according to an embodiment of the disclosure.
Fig. 5 is a composition diagram of a control device of a display apparatus according to an embodiment of the present disclosure.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be understood that various steps recited in method embodiments of the present disclosure may be performed in parallel and/or in parallel. Moreover, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "include" and variations thereof as used herein are open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence of the functions performed by the devices, modules or units.
It is noted that references to "a" or "an" in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that reference to "one or more" unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
In the related art, a display device such as a smart television can be externally connected with a mouse, a cursor of the mouse is displayed in a display area, and when the cursor moves to a position outside the display area, a user is difficult to know the specific position of the cursor, so that inconvenience is brought to the user.
In order to at least partially solve the above problem, a control method of a display device is proposed in the embodiments of the present disclosure, as shown in fig. 1, fig. 1 is a flowchart of the control method of the display device of the embodiments of the present disclosure, and includes the following steps S11-S14.
S11: and determining the target position of the operation identifier.
In some embodiments, the display device may be, for example, a display screen, a television, a tablet computer, or the like, the display device may be connected to a mouse, the operation identifier may be a cursor of the mouse, and the target position may be a position where the operation identifier is located, for example, a position of a current operation identifier.
S12: and judging whether the target position is located in the display area.
In some embodiments, the display device is configured to display the target screen, the display area may be an area currently displayed in the target screen, an area other than the display area in the target screen is temporarily not displayed, and the range of the display area may be adjusted according to adjustment information sent by the user. In the related art, when the operation indicator moves to the edge of the display area, the operation indicator cannot move outward, that is, the operation indicator cannot move outside the display area, but in some embodiments of the present disclosure, the operation indicator may move outside the display area, so that an unbounded effect may be achieved, that is, the operability area is unbounded, and the area outside the display area may still have content or may be operated, only because the display area has a certain area and boundary, in some embodiments, the display area may be adjustable, and by adjusting the operation, the portion originally outside the display area may be moved into the display area, so as to change the display area, for example, the display area may be enlarged, reduced, and moved.
S13: and if the target position is located in the display area, displaying the operation identifier at the target position.
In some embodiments of the present disclosure, when the target position of the operation marker is located within the display area, the operation marker is normally displayed.
S14: and if the target position is positioned outside the display area, determining the display position and the display shape of the visual element according to the target position, and displaying the visual element.
In some embodiments, the target position is a position where the operation identifier is located, when the target position of the operation identifier is located outside the display area, because the display screen cannot display contents outside the display area, the visual element is displayed in the display area, and the position relationship between the target position and the display area is reflected by the visual element, so that the approximate position of the target position can be determined by the visual element, and further, when the operation identifier is located outside the display area, a user can conveniently and quickly determine the target position of the operation identifier, and quickly control the operation identifier to return to the display area. In some embodiments, the display location is within the display area. The display position and the display shape of the visual element depend on the position relation of the target position and the display area; therefore, when the relative positional relationship between the target position and the display area changes, the display position and the display shape of the visual element can be changed accordingly, so that the positional relationship between the target position and the display area can be reflected according to the position and the shape of the visual element, and the target position can be roughly determined by the visual element.
In some embodiments, the visual element is displayed in an edge region to prevent blocking of content displayed in the display region, in some embodiments, the edge region refers to a region having a distance from an edge of the display region smaller than a preset distance, for example, a region 1cm from the edge of the display region to the inside of the display region may be set as the edge region.
In some embodiments of the present disclosure, the visual element is displayed in an edge region closest to the target location. In some embodiments, the edge region refers to a region close to an edge of the display region in the display region, for example, a region having a distance from the edge of the display region smaller than a preset distance, a plurality of edge regions are divided along the edge of the display region in advance, and the visual element is displayed in the edge region closest to the target position, so that the user can determine the direction of the target position by the position of the visual element, in one embodiment, a connection line between the target position and the center of the display region may be made, an intersection point of the edges of the display region through which the connection line passes is a target intersection point, and the edge region where the target intersection point is located is the position where the visual element is displayed, for example, the display region has an edge, and a line segment parallel to the edge of the display region and having the preset distance from the edge of the display region inwards surrounds the non-edge region, that is equivalent to drawing the display region in a similar shape to the display region, but a slightly smaller non-edge area, an area composed of a plurality of edge areas is arranged between the edge of the non-edge area and the edge of the display area, a connecting line of the target position and the center of the display area passes through a target intersection point, and the edge area where the target intersection point is located displays visual elements.
The size of the visual element, the separation distance of the target location from the display area varies. In some embodiments, the shape of the visual element may be any one of a circle, a bar, and the like, and the size of the visual element increases with the increase between the target position and the display area or the size of the visual element decreases with the increase between the target position and the display area, so that the distance between the target position and the display area can be roughly determined according to the size of the visual element.
In some embodiments of the present disclosure, a target outer region where the target position is located is determined according to the target position, wherein a region outside the display region includes at least two outer regions; the display shape of the visual element is determined according to the target outer region. In some embodiments, the area outside the display area is divided in advance, and when the target position is located in different outer areas, the display shape may be different, so that the outer area where the target position is located may be determined according to the display shape of the visual element, and in some embodiments of the present disclosure, determining the display shape of the visual element according to the target outer area includes: determining corresponding shapes of target outer areas, wherein each outer area is preset with a corresponding shape; and using the shape corresponding to the target outer area as the display shape of the visual element. In some embodiments, the shapes corresponding to the outer regions are preset, and the shapes corresponding to different outer regions may be different or partially the same, for example, the outer regions may be classified, and the shapes corresponding to the outer regions of the same class are the same.
In some embodiments of the present disclosure, after determining the display shape of the visual element according to the target outer region, the method further comprises: determining a reference position in the display area according to the target outer area; the display position and size of the display shape are determined based on the target position and the reference position. In some embodiments, the target outer area may be provided with corresponding reference positions, that is, one outer area corresponds to one reference position, the reference positions corresponding to different outer areas may be the same or different, and the display position and size are related to the target position and the reference position, so that the display position and size may comprehensively reflect the target position, and the positional relationship between the target position and the display area may be reflected more accurately by combining the display position and size.
In some embodiments of the present disclosure, determining a display position and a size of a display shape according to a target position and a reference position includes: if the target outer area is the first type outer area, the reference position is a target edge which is closest to the target position in the display area, the display position is determined according to the projection position of the target position on the target edge, and the size of the display shape is determined according to the spacing distance between the target position and the target edge;
if the target area is the second type external area, the reference position is a target vertex which is closest to the target position in the display area, the target vertex is an intersection point of a first edge and a second edge of the display area, the display position is determined according to the target vertex, and the size of the display shape is determined according to the distance from the target position to the first edge and the distance from the target position to the second edge.
In some embodiments, the outer regions are classified into a first type outer region and a second type outer region, and whether the first type outer region or the second type outer region is determined by a point on the display region closest to the target position, wherein the first type outer region is determined if the point on the display region closest to the target position is located at an edge of the display region and not at a vertex, and the second type outer region is determined if the point on the display region closest to the target position is located at a vertex of the display region. When the display shape is the first type of outer area, the display position is determined according to the projection from the target position to the target side, the target side is the side of the display area, for example, the display position can be located at the projection, the size of the display shape is determined according to the distance from the target position to the target side, thus the outer area of the target is reflected through the display position, and the separation distance from the display area is reflected through the size of the display shape. When the target outer region is the second type outer region, the display position is determined according to the target vertex, and the target vertex is a vertex of the display region and may be set at the target vertex, for example, or an edge region where the target vertex is located. And the size is determined according to the distance from the first edge to the second edge, so that the size of the display shape can reflect the spacing distance in two directions, and a user can be more accurately helped to know the position of the target.
In some embodiments of the present disclosure, the display area is a rectangle, a straight line where 4 sides of the rectangle are located divides an area outside the display area into 8 outer areas, and the 8 outer areas include: 4 common edge regions having common edges with the display region, and 4 common vertex regions having common vertices with the display region; referring to fig. 2, fig. 2 schematically shows a relationship between a display area and an outer area, where four inner straight lines in fig. 2 are straight lines where four sides of the display area are located, and divide an area outside the display area into 8 outer areas, the first outer area is a common edge area, and a target side is a common edge of the common edge area and the display area; the second type of outer area is a common vertex area, and the target vertex is a common vertex of the common vertex area and the display area.
In some embodiments, the target outer region is different, and the display position and the display shape are different, so that the target position region can be determined according to the display position, and meanwhile, the display shape can be related to the separation distance between the target position and the display region, so that the distance between the target position and the display region can be determined according to the display shape.
In some embodiments, if the target outer region is a common edge region, the display position is an edge region corresponding to a projection position of the target position on the common edge of the target outer region; and if the target outer area is a common vertex area, the display position is a corner area corresponding to the common vertex of the target outer area. In some embodiments, the edge region is a region from the edge of the display region to the edge within a preset distance, a projection position is obtained according to a projection of the target position to the target edge, and then the edge region corresponding to the projection position of the target position is determined, for example, the edge region corresponding to the projection position of the target position may be a region within the preset distance with the projection as a center, vertices are located at four corners of a rectangle, a corner region corresponding to a common vertex may be a corner region where the common vertex is located, for example, a region within the preset distance near the common vertex, and the corner region and the edge region corresponding to each position may be preset.
In some embodiments, if the target outer region is a common edge region, the visual element is displayed in an edge region corresponding to the common edge of the target outer region, so that if the visual element is displayed in any common edge region of the display region, it can be known that the target position is located in the common edge region corresponding to the common edge. In some embodiments, if the target outer region is a common vertex region, the visual element is displayed in a corner region corresponding to the common vertex of the target outer region, so that the target position can be known to be located in the common vertex region corresponding to the common vertex.
In some embodiments of the present disclosure, determining a shape type of the display shape from the target outer region comprises: if the target outer area is a common-edge area, the visual elements are straight line segments parallel to the common edge corresponding to the target outer area; or, if the target outer region is a common vertex region, the shape of the visual element is an L-shaped broken line segment, the L-shaped broken line segment includes a first segment and a second segment which are connected with each other, and the first segment and the second segment are respectively parallel to the edge of the rectangle extending along the first direction and the edge extending along the second direction.
In some embodiments, referring to fig. 3, in fig. 3, the target position is located in a common edge region on the left side of the display area, a straight line segment parallel to the left edge is displayed in an edge region on the left edge of the display area, so as to identify that the target position is located in the common edge region corresponding to the left edge, and the length of the straight line segment may decrease as the distance between the target position and the left edge increases, the target position is first projected onto the left side of the display area in fig. 3, and the projected position is perceived to determine the display position of the straight line segment, and a perpendicular point of the target position on the straight line segment may be a midpoint of the straight line segment.
In some embodiments of the present disclosure, referring to fig. 4, if the target outer region is a common vertex region, the visual elements include: and the L-shaped broken line segment comprises a first segment and a second segment which are connected with each other, the first segment and the second segment are respectively parallel to the first edge and the second edge of the rectangle, and the intersection point of the first edge and the second edge is a common vertex corresponding to the target external area. In some embodiments, the target position is identified in the common vertex region rather than the common edge region by displaying an L-shaped broken line segment, so that the outer region where the target position is located can be identified by the shape of the visual element, and the L-shaped corresponding vertex specifically identifies which common vertex region the target position is located in.
In some embodiments of the present disclosure, determining the size of the display shape according to the separation distance of the target position from the display area includes: if the target outer area is a common edge area, determining the size of the display shape according to the spacing distance between the target position and the common edge of the outer area; in some embodiments of the present disclosure, if the target outer region is a common edge region, the size of the visual element decreases with increasing distance between the common edge of the target position and the target outer region, and in other embodiments, the size of the visual element increases with increasing distance between the common vertex of the target position and the target outer region. In some embodiments, the target position may be represented by coordinates, the common edge corresponding to the target position is determined, and then the size of the visual element is determined according to the distance between the target position and the common edge.
In some embodiments, if the target outer region is a common vertex region, the size of the first segment is determined according to a distance between the target outer position and the display area in the second direction, and the size of the second segment is determined according to a distance between the target outer position and the display area in the first direction.
In some embodiments of the disclosure, the size of the first segment decreases with increasing distance between the target location and the line on which the first edge lies, and the size of the second segment decreases with increasing distance between the target location and the line on which the second edge lies. In some embodiments, the first segment and the second segment of the L-shaped broken line segment identify the distance between the target position and the first edge and the second edge, and the distance between the target position and the display area can be identified by the size of the visual element.
As shown in fig. 5, an embodiment of the present disclosure further provides a control device of a display device, including
A determination unit 10 for determining a target position of the operation identifier;
a judging unit 20 for judging whether the target position is located within the display area;
the display unit 30 is configured to display the operation identifier at the target position if the target position is located in the display area; and if the target position is positioned outside the display area, determining the display position and the display shape of the visual element according to the target position, and displaying the visual element, wherein the display position is positioned in the display area.
For the embodiments of the apparatus, since they correspond substantially to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described apparatus embodiments are merely illustrative, wherein the modules described as separate modules may or may not be separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The method and apparatus of the present disclosure have been described above based on embodiments and application examples. In addition, the present disclosure also provides a terminal and a storage medium, which are described below.
Referring now to fig. 6, a schematic diagram of an electronic device (e.g., a terminal device or server) 800 suitable for use in implementing embodiments of the present disclosure is shown. The terminal device in the embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in the drawings is only an example and should not bring any limitation to the functions and use range of the embodiments of the present disclosure.
The electronic device 800 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 801 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage means 808 into a Random Access Memory (RAM) 803. In the RAM803, various programs and data necessary for the operation of the electronic apparatus 800 are also stored. The processing device 801, the ROM 802, and the RAM803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
Generally, the following devices may be connected to the I/O interface 805: input devices 806 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 807 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, and the like; storage 808 including, for example, magnetic tape, hard disk, etc.; and a communication device 809. The communication means 809 may allow the electronic device 800 to communicate wirelessly or by wire with other devices to exchange data. While the figure illustrates an electronic device 800 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 809, or installed from the storage means 808, or installed from the ROM 802. The computer program, when executed by the processing apparatus 801, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may be separate and not incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods of the present disclosure as described above.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a control method of a display apparatus, including: determining a target position of the operation identifier;
judging whether the target position is located in a display area;
if the target position is located in the display area, displaying the operation identifier at the target position;
and if the target position is positioned outside the display area, determining the display position and the display shape of the visual element according to the target position, and displaying the visual element, wherein the display position is positioned in the display area.
According to one or more embodiments of the present disclosure, there is provided a control method of a display apparatus, the display position being located in an edge area closest to the target position within the display area.
According to one or more embodiments of the present disclosure, there is provided a control method of a display device, in which a size of the visual element is changed as a separation distance of the target position from the display area is changed.
According to one or more embodiments of the present disclosure, there is provided a control method of a display device, in which a size of the visual element increases as a separation distance of the target position from the display area increases, or the size of the visual element decreases as the separation distance of the target position from the display area increases.
According to one or more embodiments of the present disclosure, there is provided a control method of a display apparatus, including: determining a target outer area where the target position is located according to the target position, wherein the area outside the display area comprises at least two outer areas;
determining a display shape of the visual element according to the target outer region.
According to one or more embodiments of the present disclosure, there is provided a control method of a display device, the determining a display shape of the visual element according to the target outer region including:
determining corresponding shapes of the target outer areas, wherein the corresponding shapes are preset in each outer area;
and using the shape corresponding to the target outer area as the display shape of the visual element.
According to one or more embodiments of the present disclosure, there is provided a control method of a display device, after determining a display shape of the visual element according to the target outer region, further including:
determining a reference position in the display area according to the target outer area;
and determining the display position and size of the display shape according to the target position and the reference position.
According to one or more embodiments of the present disclosure, there is provided a control method of a display device which determines a display position and a size of the display shape according to the target position and the reference position, including:
if the target outer area is a first-class outer area, the reference position is a target edge which is closest to the target position in the display area, the display position is determined according to the projection position of the target position on the target edge, and the size of the display shape is determined according to the spacing distance between the target position and the target edge;
if the target area is a second-type external area, the reference position is a target vertex which is closest to the target position in the display area, the target vertex is an intersection point of a first edge and a second edge of the display area, the display position is determined according to the target vertex, and the size of the display shape is determined according to the distance from the target position to the first edge and the distance from the target position to the second edge.
According to one or more embodiments of the present disclosure, there is provided a control method of a display device, where the display area is a rectangle, a straight line where four sides of the rectangle are located divides an area outside the display area into 8 outer areas, and the 8 outer areas include: 4 edge-sharing regions sharing edges with the display region, and 4 vertex-sharing regions sharing vertices with the display region; the first type of external area is a common edge area, and the target edge is the common edge of the common edge area and the display area; the second type of outer area is a common vertex area, and the target vertex is a common vertex of the common vertex area and the display area.
According to one or more embodiments of the present disclosure, there is provided a control method of a display device that determines a display position according to a target outer region and a target position, including:
if the target outer area is a common edge area, the display position is an edge area corresponding to the projection position of the target position on the common edge of the target outer area;
and if the target outer area is a common vertex area, the display position is a corner area corresponding to the common vertex of the target outer area.
According to one or more embodiments of the present disclosure, there is provided a control method of a display device which determines a shape type of a display shape according to the target outer region, including:
if the target outer area is a common-edge area, the visual elements are straight line segments parallel to the common edge corresponding to the target outer area; or the like, or, alternatively,
if the target outer area is a common vertex area, the visual element is in an L-shaped broken line segment, the L-shaped broken line segment comprises a first segment and a second segment which are connected with each other, and the first segment and the second segment are respectively parallel to the edge of the rectangle extending along the first direction and the edge extending along the second direction.
According to one or more embodiments of the present disclosure, there is provided a control method of a display device that determines a size of the display shape according to a spaced distance of the target position from the display area, including:
if the target outer area is a common edge area, determining the size of the display shape according to the spacing distance between the target position and the common edge of the outer area; or the like, or, alternatively,
if the target outer area is a common vertex area, determining the size of the first section according to the spacing distance between the target outer position and the display area in the second direction, and determining the size of the second section according to the spacing distance between the target outer position and the display area in the first direction.
According to one or more embodiments of the present disclosure, there is provided a control apparatus of a display device, including:
a determination unit for determining a target position of the operation identifier;
the judging unit is used for judging whether the target position is positioned in a display area;
the display unit is used for displaying the operation identifier at the target position if the target position is located in the display area; and if the target position is located outside the display area, determining the display position and the display shape of the visual element according to the target position, and displaying the visual element, wherein the display position is located in the display area.
According to one or more embodiments of the present disclosure, there is provided a terminal including: at least one memory and at least one processor;
wherein the at least one memory is configured to store program code, and the at least one processor is configured to call the program code stored in the at least one memory to perform the method of any one of the above.
According to one or more embodiments of the present disclosure, there is provided a storage medium for storing program code for performing the above-described method.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limitations on the scope of the disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.

Claims (14)

1. A control method of a display device, characterized by comprising:
determining a target position of the operation identifier;
judging whether the target position is located in a display area;
if the target position is located in the display area, displaying the operation identifier at the target position;
and if the target position is positioned outside the display area, determining the display position and the display shape of the visual element according to the target position, and displaying the visual element, wherein the display position is positioned in the display area.
2. The method of claim 1,
the size of the visual element varies as a function of the separation distance of the target location from the display area.
3. The method according to claim 1 or 2,
the size of the visual element increases with increasing separation distance of the target position from the display area, or the size of the visual element decreases with increasing separation distance of the target position from the display area.
4. The method of claim 1, comprising:
determining a target outer area where the target position is located according to the target position, wherein the area outside the display area comprises at least two outer areas;
determining a display shape of the visual element according to the target outer region.
5. The method of claim 4, wherein determining the display shape of the visual element from the target outer region comprises:
determining corresponding shapes of the target outer regions, wherein each outer region is preset with a corresponding shape;
and using the shape corresponding to the target outer area as the display shape of the visual element.
6. The method of claim 4, after determining the display shape of the visual element from the target outer region, further comprising:
determining a reference position in the display area according to the target outer area;
and determining the display position and size of the display shape according to the target position and the reference position.
7. The method of claim 6, wherein determining the display position and size of the display shape based on the target position and the reference position comprises:
if the target outer area is a first-class outer area, the reference position is a target edge which is closest to the target position in the display area, the display position is determined according to the projection position of the target position on the target edge, and the size of the display shape is determined according to the spacing distance between the target position and the target edge;
if the target area is a second-type outer area, the reference position is a target vertex which is closest to the target position in the display area, the target vertex is an intersection point of a first edge and a second edge of the display area, the display position is determined according to the target vertex, and the size of the display shape is determined according to the distance from the target position to the first edge and the distance from the target position to the second edge.
8. The method according to claim 7, wherein the display area is a rectangle, a straight line with 4 sides of the rectangle divides an area outside the display area into 8 outer areas, and the 8 outer areas comprise: 4 common edge regions having common edges with the display region, and 4 common vertex regions having common vertices with the display region;
the first type of external area is a common edge area, and the target edge is the common edge of the common edge area and the display area;
the second type of outer area is a common vertex area, and the target vertex is a common vertex of the common vertex area and the display area.
9. The method according to claim 8, wherein if the target outer region is a common edge region, the display position is an edge region corresponding to a projection position of the target position on the common edge of the target outer region;
and if the target outer area is a common vertex area, the display position is a corner area corresponding to the common vertex of the target outer area.
10. The method of claim 8,
if the target outer area is a common edge area, the visual elements are parallel to common edge straight line segments corresponding to the target outer area; or the like, or, alternatively,
if the target outer area is a common vertex area, the visual element is in an L-shaped broken line segment, the L-shaped broken line segment comprises a first segment and a second segment which are connected with each other, and the first segment and the second segment are respectively parallel to the edge of the rectangle extending along the first direction and the edge extending along the second direction.
11. The method of claim 10,
if the target outer area is a common edge area, determining the size of the display shape according to the spacing distance between the target position and the common edge of the target outer area; or the like, or, alternatively,
if the target outer area is a common vertex area, determining the size of the first section according to the spacing distance between the target outer position and the display area in the second direction, and determining the size of the second section according to the spacing distance between the target position and the display area in the first direction.
12. A control apparatus of a display device, characterized by comprising:
a determination unit for determining a target position of the operation identifier;
the judging unit is used for judging whether the target position is positioned in a display area;
the display unit is used for displaying the operation identifier at the target position if the target position is located in the display area; and if the target position is positioned outside the display area, determining the display position and the display shape of the visual element according to the target position, and displaying the visual element, wherein the display position is positioned in the display area.
13. A terminal, comprising:
at least one memory and at least one processor;
wherein the at least one memory is configured to store program code and the at least one processor is configured to invoke the program code stored in the at least one memory to perform the method of any of claims 1 to 11.
14. A storage medium for storing program code for performing the method of any one of claims 1 to 11.
CN202110261327.4A 2021-03-10 2021-03-10 Control method and device of display equipment, terminal and storage medium Pending CN115079888A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110261327.4A CN115079888A (en) 2021-03-10 2021-03-10 Control method and device of display equipment, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110261327.4A CN115079888A (en) 2021-03-10 2021-03-10 Control method and device of display equipment, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN115079888A true CN115079888A (en) 2022-09-20

Family

ID=83240425

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110261327.4A Pending CN115079888A (en) 2021-03-10 2021-03-10 Control method and device of display equipment, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115079888A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2560690B2 (en) * 1986-05-16 1996-12-04 カシオ計算機株式会社 Display controller
JP2008293361A (en) * 2007-05-25 2008-12-04 Canon Inc Screen display system, control method therefor, program, and storage medium
CN103428548A (en) * 2012-05-22 2013-12-04 Lg电子株式会社 Image display apparatus and method for operating the same
CN106605188A (en) * 2014-09-02 2017-04-26 索尼公司 Information processing device, information processing method, and program
CN106612369A (en) * 2015-10-27 2017-05-03 华为终端(东莞)有限公司 Positioning information processing method and device
CN110489027A (en) * 2019-07-05 2019-11-22 深圳市格上格创新科技有限公司 Handheld input device and its display position control method and device for indicating icon

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2560690B2 (en) * 1986-05-16 1996-12-04 カシオ計算機株式会社 Display controller
JP2008293361A (en) * 2007-05-25 2008-12-04 Canon Inc Screen display system, control method therefor, program, and storage medium
CN103428548A (en) * 2012-05-22 2013-12-04 Lg电子株式会社 Image display apparatus and method for operating the same
CN106605188A (en) * 2014-09-02 2017-04-26 索尼公司 Information processing device, information processing method, and program
CN106612369A (en) * 2015-10-27 2017-05-03 华为终端(东莞)有限公司 Positioning information processing method and device
CN110489027A (en) * 2019-07-05 2019-11-22 深圳市格上格创新科技有限公司 Handheld input device and its display position control method and device for indicating icon

Similar Documents

Publication Publication Date Title
CN111291244B (en) House source information display method, device, terminal and storage medium
CN111190520A (en) Menu item selection method and device, readable medium and electronic equipment
CN110795196A (en) Window display method, device, terminal and storage medium
CN112017576A (en) Display control method, device, terminal and storage medium
CN110837333A (en) Method, device, terminal and storage medium for adjusting playing progress of multimedia file
CN114676358A (en) Control display method and device, electronic equipment, storage medium and program product
CN113766293B (en) Information display method, device, terminal and storage medium
CN111259291B (en) View display method and device and electronic equipment
CN111309798B (en) Processing method, device, equipment and storage medium of table
CN110262718B (en) Input method window setting method and device, mobile terminal and storage medium
CN111273884A (en) Image display method and device and electronic equipment
CN111857518A (en) Method and device for canceling image editing operation, electronic equipment and medium
CN115079888A (en) Control method and device of display equipment, terminal and storage medium
CN110807164B (en) Automatic image area adjusting method and device, electronic equipment and computer readable storage medium
CN112764629B (en) Augmented reality interface display method, device, equipment and computer readable medium
CN113506356B (en) Method and device for drawing area map, readable medium and electronic equipment
CN111290812B (en) Display method, device, terminal and storage medium of application control
CN111290692B (en) Picture display method and device, electronic equipment and computer readable medium
CN113253874A (en) Display device control method, device, terminal and storage medium
CN110618776B (en) Picture scaling method, device, equipment and storage medium
CN113672122A (en) Image processing method and device and electronic equipment
CN111783390B (en) Dimension label adjusting method and device and electronic equipment
CN112306339B (en) Method and apparatus for displaying image
CN113835792B (en) Method and device for drawing page element
CN111489286B (en) Picture processing method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination