CN112817549A - Signal layer adjusting method and device - Google Patents

Signal layer adjusting method and device Download PDF

Info

Publication number
CN112817549A
CN112817549A CN202110118633.2A CN202110118633A CN112817549A CN 112817549 A CN112817549 A CN 112817549A CN 202110118633 A CN202110118633 A CN 202110118633A CN 112817549 A CN112817549 A CN 112817549A
Authority
CN
China
Prior art keywords
reference line
signal layer
target
determining
display interface
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.)
Granted
Application number
CN202110118633.2A
Other languages
Chinese (zh)
Other versions
CN112817549B (en
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.)
Colorlight Cloud Technology Co Ltd
Original Assignee
Colorlight Cloud 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 Colorlight Cloud Technology Co Ltd filed Critical Colorlight Cloud Technology Co Ltd
Priority to CN202110118633.2A priority Critical patent/CN112817549B/en
Publication of CN112817549A publication Critical patent/CN112817549A/en
Application granted granted Critical
Publication of CN112817549B publication Critical patent/CN112817549B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • G06F3/1446Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display display composed of modules, e.g. video walls
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention discloses a method and a device for adjusting a signal layer, wherein the method comprises the following steps: determining the number of reference lines and corresponding positions in a display interface; determining the number of reference lines locked with each signal layer and corresponding edges according to the position of each reference line; determining a preset number of first target signal layers to be moved; and if a moving instruction for moving the preset number of first target signal layers along the direction vertical to the first target reference line is received, moving the first target reference line according to the moving distance and the moving direction indicated in the moving instruction so as to drive the preset number of first target signal layers to move to the appointed position. The signal layers can be moved to the appointed positions through locking the reference lines, the problems of manual adjustment deviation and low efficiency in the prior art are solved, and batch self-adaptive adjustment is carried out on the signal layers of the locking reference lines.

Description

Signal layer adjusting method and device
Technical Field
The invention relates to the technical field of display control, in particular to a method and a device for adjusting a signal layer.
Background
The signal layers can be derived from a signal source of a video processing device and are generally used for representing all or part of images displayed on the LED screen, and the display effect of the images on the LED screen can be controlled by changing the positions or sizes of the signal layers on software for displaying the signal layers. For the LED screen with the plurality of signal layers respectively displaying the partial images, the signal layers can be moved and spliced, and then a complete and clear image can be displayed through the combination of the plurality of signal layers. At present, signal layer splicing is widely applied to a large number of video devices, for example, the fields of digital broadcasting, handheld devices, video monitoring and the like. In the prior art, splicing of signal layers of a plurality of signal sources is basically realized by means of manual adjustment, position and size deviation can occur in manual adjustment, manual and manual operation is required to drag the signal layers one by one at each adjustment, and the size and the position of the signal layers can be changed. Therefore, there is a need to find a new technical solution to solve the above problems.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a method and an apparatus for adjusting a signal layer.
According to a first aspect of the disclosed embodiments of the present invention, there is provided a method for adjusting a signal layer, where the method includes:
determining the number of reference lines and the corresponding position of each reference line in a display interface, wherein the reference lines are used for moving a signal layer displayed on the display interface;
determining the number of reference lines locked with each signal layer and corresponding edges according to the position of each reference line, wherein each edge of the signal layer is locked with at most one reference line;
determining a preset number of first target signal layers to be moved, wherein only one of two parallel edges of each first target signal layer is locked with the same first target reference line;
and if a moving instruction for moving the preset number of first target signal layers along the direction vertical to the first target reference line is received, moving the first target reference line according to the moving distance and the moving direction indicated in the moving instruction so as to drive the preset number of first target signal layers to move to the appointed position.
Optionally, the method further includes:
determining a preset number of second target signal layers to be extended/shortened, wherein two parallel edges of each second target signal layer are respectively locked with two same second target reference lines;
if an extending/shortening instruction for extending/shortening the preset number of second target signal layers is received, one of the second target reference lines is moved according to the extending/shortening distance indicated in the extending/shortening instruction, and the other second target reference line fixes the locked edge at the original position on the display interface so as to drive the preset number of second target signal layers to extend/shorten the preset distance.
Optionally, determining the number of reference lines locked to each signal layer and corresponding edges according to the position of each reference line includes:
one edge of the signal layer is not overlapped with a reference line, a reference line which is parallel to the edge and has a distance smaller than a preset distance threshold exists in the display interface, and the signal layer is extended to a position where one edge is overlapped with the reference line;
and determining the reference line coincident with each edge in the signal layer as the reference line locked by the edge coincident with the signal layer.
Optionally, the determining the number of reference lines and the corresponding position of each reference line in the display interface includes:
determining the position of each signal layer in a display interface;
and determining the number of the reference lines and the position of each reference line according to the size of each signal layer and the position of the signal layer on a display interface.
Optionally, the method further includes:
receiving a trigger instruction indicating that a third target signal layer is amplified to be full of the display interface;
and amplifying the third target signal layer to fill the display interface within a preset time period according to the trigger instruction.
According to a second aspect of the disclosed embodiments of the present invention, there is provided an apparatus for adjusting a signal layer, the apparatus including:
the device comprises a reference line determining module, a signal layer generating module and a signal processing module, wherein the reference line determining module is used for determining the number of reference lines and the corresponding position of each reference line in a display interface, and the reference lines are used for moving the signal layer displayed on the display interface;
the reference line locking module is connected with the reference line determining module, and determines the number of the reference lines locked with each signal layer and corresponding edges according to the position of each reference line, wherein each edge of the signal layer is locked with at most one reference line;
the first target signal layer determining module is connected with the reference line locking module and is used for determining a preset number of first target signal layers to be moved, and only one of two parallel edges of each first target signal layer is locked with the same first target reference line;
and the layer moving module is connected with the first target signal layer determining module, and moves the first target reference lines according to the moving distance and the moving direction indicated in the moving instruction if receiving a moving instruction for moving the preset number of first target signal layers in the direction perpendicular to the first target reference lines so as to drive the preset number of first target signal layers to move to the specified position.
Optionally, the apparatus further comprises:
the second target signal layer determining module is connected with the reference line locking module and is used for determining a preset number of second target signal layers to be extended/shortened, and two parallel edges of each second target signal layer are respectively locked with two same second target reference lines;
and the layer stretching module is connected with the second target signal layer determining module, and if an extending/shortening instruction for extending/shortening the preset number of second target signal layers is received, one of the second target reference lines is moved according to the extending/shortening distance indicated in the extending/shortening instruction, and the other second target reference line fixes the locked edge at the original position on the display interface so as to drive the preset number of second target signal layers to extend/shorten the preset distance.
Optionally, the reference line locking module includes:
the superposition reference line determining unit is used for extending the signal layer until one edge of the signal layer is superposed with a reference line if the edge of the signal layer is not superposed with the reference line and the reference line which is parallel to the edge and has a distance smaller than a preset distance threshold exists in the display interface;
and the reference line locking unit is connected with the coincident reference line determining unit and is used for determining the reference line coincident with each edge in the signal layer as the reference line for locking the edge coincident with the signal layer.
Optionally, the reference line determining module includes:
the signal layer determining unit is used for determining the position of each signal layer in the display interface;
and the reference line determining unit is connected with the signal layer determining unit and determines the number of the reference lines and the position of each reference line according to the size of each signal layer and the position of the signal layer on a display interface.
Optionally, the apparatus further comprises:
the trigger instruction determining module receives a trigger instruction indicating that the third target signal layer is amplified to be full of the display interface;
and the signal layer amplifying module is connected with the trigger instruction determining module and amplifies the third target signal layer to be full of the display interface within a preset time period according to the trigger instruction.
Through the technical scheme disclosed by the invention, the following technical effects can be achieved:
(1) by locking the reference line, a plurality of signal layers are moved in batches to a specific position or are extended or matched
The specified size is shortened, and the problems of adjustment deviation and low moving efficiency existing in the conventional manual moving/stretching of the signal layer are solved;
(2) when one edge of the signal layer is not overlapped with the reference line and the distance between the edge of the signal layer and the reference line is smaller than a preset distance threshold, the signal layer is extended until one edge of the signal layer is overlapped with the reference line, so that the self-adaptive filling of the signal layer is realized;
(3) and the signal layer is displayed in a full screen mode through a preset trigger instruction, so that the image in the signal layer is conveniently displayed on a display interface.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure without limiting the disclosure. In the drawings:
FIG. 1 is a flow chart illustrating a signal layer adjustment method in accordance with an exemplary embodiment;
fig. 2 is a flow chart of another method of adapting signal layers according to fig. 1;
FIG. 3 is a flow chart of a method of reference line locking according to FIG. 1;
FIG. 4 is a flow chart of a method of reference line determination according to the one shown in FIG. 1;
FIG. 5 is a flow chart of a layer triggering method according to FIG. 1;
fig. 6 is a block diagram illustrating an arrangement of an adjusting apparatus for signal layers according to an exemplary embodiment;
fig. 7 is a schematic structural diagram of another adjusting apparatus for signal layers according to fig. 6;
FIG. 8 is a schematic diagram of a reference line lock module according to FIG. 6;
fig. 9 is a schematic diagram of a reference line determination module according to fig. 6.
Detailed Description
The following detailed description of the disclosed embodiments will be made in conjunction with the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating the present disclosure, are given by way of illustration and explanation only, not limitation.
Fig. 1 is a flowchart illustrating a signal layer adjustment method according to an exemplary embodiment, where the method includes:
in step 101, the number of reference lines and the corresponding position of each reference line in the display interface are determined.
The reference line is used for moving a signal layer displayed on a display interface.
In an example, the reference line is used for locking an edge of a signal layer in a display interface and driving the locked edge to move on the display interface, so that the position of the signal layer is moved or the signal layer is extended or shortened. Therefore, before adjusting the signal layer through the reference line, the number and the position of the reference line in the display interface need to be determined. At present, the position of the reference line is usually represented by coordinate values in a display interface coordinate system, for example, after coordinate values of a center point and two end points of the reference line are respectively determined, the position of the reference line is determined, and information such as the length of the reference line and a parallel relationship with a horizontal side or a vertical side of the display interface (in general, the form of the reference line is only parallel to the horizontal side or parallel to the vertical side of the display interface) is also obtained.
In step 102, the number of reference lines and corresponding edges locked with each signal layer are determined according to the position of each reference line.
Wherein each edge of the signal layer is locked with at most one reference line.
Illustratively, edges in the signal layers that are locked to the reference line are determined based on the positions of the reference line and the signal layers. In the embodiment of the present disclosure, identification information, for example, numbers 1, 2, 3, and the like, is set for each reference line, and after one of the reference lines is locked with one edge of the signal layer, the edge corresponds to the identification information (for example, number 3) of the locked reference line, and the edge without the locked reference line corresponds to number 0.
It is understood that when an edge without a locked reference line is locked with a reference line, the number corresponding to the edge is automatically converted from "0" to the identification information (e.g., number 3) of the locked reference line.
In step 103, a preset number of first target signal layers to be moved are determined.
And only one of two parallel edges of each first target signal layer is locked with the same first target reference line.
For example, when an image displayed on the LED screen needs to be moved (for example, an image displayed on the left side of the screen needs to be moved to a position in the middle of the screen), a signal layer corresponding to the image needing to be moved is determined, and the signal layer is moved so that the corresponding image is moved by the same distance. It should be noted that, in the embodiments disclosed in the present invention, batch movement of the display images on the LED screen may be implemented by moving the same reference line locked with multiple signal layers. Therefore, among the plurality of signal layers which need to be moved in the same direction, a preset number of first target signal layers, which are locked with the same first target reference line and only one of two parallel sides, are determined.
It can be understood that, when the edge of the first target signal layer locked with the first target reference line is perpendicular to the moving direction, the first target signal layer is driven to move by a corresponding distance along the same direction by moving the first target reference line along the perpendicular direction.
In step 104, if a moving instruction for moving the preset number of first target signal layers along a direction perpendicular to the first target reference line is received, the first target reference line is moved according to the moving distance and the moving direction indicated in the moving instruction, so as to drive the preset number of first target signal layers to move to the specified position.
Illustratively, the signal layer is locked with the reference line, which includes the following conditions: (1) only one of two parallel sides of the signal layer is locked with the same reference line; (2) only one of two vertically parallel edges of the signal layer is locked with the same reference line; (3) two parallel edges at the left and right of the signal layer are respectively locked with the same two reference lines; (4) two parallel edges of the signal layer are locked with the same two reference lines respectively. For the case (1), if only one of the two sides of the signal layer parallel to the left and right is locked to the same entry reference line, no matter whether there is a side locked to another reference line in the two sides of the signal layer parallel to the top and bottom, the reference line locked to one of the two sides of the signal layer parallel to the left and right may be moved to drive the signal layer to move by the same distance in the direction perpendicular to the reference line (case (2) is the same as above). Therefore, when the first target reference line is locked with a preset number of first target reference layers, if a moving instruction for moving the first target signal layer along a direction perpendicular to the first target reference line is received, moving the first target reference line can drive the first target signal layer to correspondingly move. Therefore, in the process of splicing the signal layers, if the plurality of signal layers need to be moved simultaneously, the plurality of first target signal layers can be moved in batches by selecting the plurality of first target signal layers in the mode in the step 104, and the problems of low moving efficiency, deviation of moving distance and direction and the like in manual moving of the signal layers are solved.
It will be appreciated that in the display interface coordinate system (computer coordinate system), the coordinates of the 4 vertices of the signal layer are obtained, for example, (x)1,y1),(x2,y2),(x3,y3),(x4,y4) I.e. the position and size of the signal layer is determined. If a moving instruction for moving a signal layer downwards by 5 unit lengths is received (namely, a downward offset of 5 is obtained), a reference line locked with the signal layer is moved downwards by 5 unit lengths, and the coordinates of 4 vertexes of the signal layer become (x)1,y1-5),(x2,y2-5),(x3,y3-5),(x4,y4-5), the size is unchanged.
Fig. 2 is a flow chart of another method for adjusting signal layers according to fig. 1, and as shown in fig. 2, the method further includes: step 105-step 106;
in step 105, a preset number of second target signal layers to be stretched/shortened is determined.
And two parallel edges of each second target signal layer are respectively locked with two same second target reference lines.
For example, when the image displayed on the LED screen needs to be adjusted to be extended or shortened, a signal layer corresponding to the image that needs to be extended or contracted is determined, and the signal layer is extended or contracted by the same distance as the corresponding image. It should be noted that, in the embodiments disclosed in the present invention, batch movement of the display images on the LED screen may be implemented by moving the same reference line locked with multiple signal layers. Therefore, among the plurality of signal layers which need to be moved in the same direction, a preset number of first target signal layers, which are locked with the same first target reference line and only one of two parallel sides, are determined.
In step 106, if an extending/shortening instruction for extending/shortening the preset number of second target signal layers is received, one of the second target reference lines is moved according to the extending/shortening distance indicated in the extending/shortening instruction, and the other second target reference line fixes the locked edge at the original position on the display interface, so as to drive the preset number of second target signal layers to extend/shorten the preset distance.
For example, for the case (3) in the step 104, if two sides parallel to the left and right of the signal layer are respectively locked with the same two reference lines, at this time, no matter whether there is a side locked with another reference line in the two sides parallel to the top and bottom of the signal layer, the reference line locked with one side in the two sides parallel to the top and bottom of the signal layer may be moved to drive the stretching of the signal layer (case (4) is the same as the above). Therefore, when the second target signal layer and the second target reference line are determined, one of the two second target reference lines functions as a fixed locking edge, and the other second target reference line functions as a moving locking edge, so that moving the second target reference line can function to extend or shorten the signal layer. When two second target reference lines are locked with a preset number of second target reference layers, if an extending/shortening instruction for extending/shortening the preset number of second target signal layers is received, moving a locked edge through one second target reference line, and fixing another locked edge through another second target reference line so as to extend/shorten the preset number of second target signal layers.
It is understood that, if a shortening instruction to shorten a signal layer by 5 unit lengths is received, the reference line locked with the upper side of the signal layer is moved downward by 5 unit lengths, the reference line locked with the lower side of the signal layer fixes the lower side of the signal layer, and the coordinates of the 4 vertices of the signal layer become (x) to1,y1-5),(x2,y2-5),(x3,y3),(x4,y4) The size changes.
Fig. 3 is a flow chart of a reference line locking method according to fig. 1, and as shown in fig. 3, the step 102 includes:
in step 1021, if one edge of the signal layer does not coincide with the reference line, a reference line parallel to the edge and spaced apart from the edge by a distance less than a preset distance threshold exists in the display interface, and the signal layer is extended until one edge coincides with the reference line.
In step 1022, the reference line coinciding with each edge in the signal layer is determined as the edge-locked reference line coinciding with the signal layer.
Exemplarily, if an edge coinciding with the reference line exists in the signal layer, locking the edge with the coinciding reference line; if one side in the signal layer is not overlapped with the reference line, whether a reference line which is parallel to the side and is separated by a distance smaller than a preset distance threshold exists in the display interface or not is judged, if yes, the signal layer is extended along the direction vertical to the reference line until the side, closest to the reference line, of the signal layer is overlapped with the reference line, and at the moment, the side of the signal layer is locked with the overlapped reference line. In this way, the reference lines locked to each edge of each signal layer (i.e. the number of reference lines locked to each signal layer) and the position of the reference lines can be determined.
It will be appreciated that when there is a reference line that is not coincident with an edge of a signal layer and is spaced apart by a distance less than a predetermined distance threshold, extending the edge until it coincides with the reference line enables the signal layer to be adaptively filled in accordance with the reference line.
Fig. 4 is a flow chart of a reference line determination method according to fig. 1, as shown in fig. 4, the step 101 includes:
in step 1011, the position of each signal layer in the display interface is determined.
In step 1022, the number of reference lines and the position of each reference line are determined according to the size of each signal layer and the position of the signal layer on the display interface.
For example, as shown in step 103, the positions of the signal layers are represented by coordinate values of 4 vertices of the signal layers in the coordinate system of the display interface, and therefore, after the positions of the signal layers are determined, the number of reference lines in the display interface and the position of each reference line are determined according to a preset reference line determination policy.
By way of example, the reference line determination policy may be: the number of reference lines and the position of each reference line in a preset range around each signal layer are determined according to the size and the position of each signal layer on a display interface, and meanwhile, the number and the position of the reference lines can be adjusted according to image content corresponding to the signal layers.
Fig. 5 is a flowchart of an image layer triggering method shown in fig. 1, where as shown in fig. 5, the method further includes:
in step 501, a trigger instruction indicating that the third target signal layer is enlarged to fill the display interface is received.
In step 502, according to the trigger instruction, the third target signal layer is enlarged to fill the display interface within a preset time period.
For example, when a preset trigger instruction is received by a third target signal layer (for example, a touch screen operation or a mouse pointer staying time reaches a preset time threshold), the third target signal layer is enlarged to fill the whole display interface (i.e., full-screen display) according to the trigger instruction, full-screen display is performed on the third target signal layer within a preset time period, and then the third target signal layer is reduced and restored to an initial position. Therefore, when the image in one signal layer needs to be magnified and viewed, the image displayed in the signal layer is displayed in a full screen mode, and the observation is convenient for workers.
Fig. 6 is a block diagram illustrating a structure of an apparatus for adjusting signal layers according to an exemplary embodiment, where as shown in fig. 6, the apparatus 600 includes:
the reference line determining module 610 determines the number of reference lines and the corresponding position of each reference line in the display interface, where the reference lines are used to move the signal layers displayed on the display interface;
a reference line locking module 620, connected to the reference line determining module 610, for determining the number of reference lines and corresponding edges locked with each signal layer according to the position of each reference line, where each edge of the signal layer is locked with at most one reference line;
a first target signal layer determining module 630, connected to the reference line locking module 620, for determining a preset number of first target signal layers to be moved, where only one of two parallel sides of each first target signal layer is locked to the same first target reference line;
and a layer moving module 640, connected to the first target signal layer determining module 630, for moving the first target reference lines according to the moving distance and the moving direction indicated in the moving instruction if a moving instruction for moving the preset number of first target signal layers in the direction perpendicular to the first target reference lines is received, so as to drive the preset number of first target signal layers to move to the specified position.
Fig. 7 is a schematic structural diagram of another adjusting apparatus for signal layers shown in fig. 6, and as shown in fig. 7, the apparatus further includes:
a second target signal layer determining module 650, connected to the reference line locking module 620, for determining a preset number of second target signal layers to be extended/shortened, where two parallel edges of each second target signal layer are respectively locked with two same second target reference lines;
and a layer stretching module 660 connected to the second target signal layer determining module 650, wherein if an extending/shortening instruction for extending/shortening the preset number of second target signal layers is received, one of the second target reference lines is moved according to an extending/shortening distance indicated in the extending/shortening instruction, and the other second target reference line fixes the locked edge at an original position on the display interface, so as to drive the preset number of second target signal layers to extend/shorten the preset distance.
Fig. 8 is a schematic structural diagram of a reference line locking module according to fig. 6, and as shown in fig. 8, the reference line locking module 620 includes:
a coincidence reference line determining unit 621 configured to, if one edge of the signal layer does not coincide with a reference line, extend the signal layer to an edge that coincides with the reference line, where a reference line parallel to the edge and spaced by a distance less than a preset distance threshold exists in the display interface;
a reference line locking unit 622, connected to the overlap reference line determining unit 621, determines the reference line overlapping each edge in the signal layer as the edge-locked reference line overlapping the signal layer.
Fig. 9 is a schematic structural diagram of a reference line determining module according to fig. 6, and as shown in fig. 9, the reference line determining module 610 includes:
a signal layer determining unit 611 which determines the position of each signal layer in the display interface;
and a reference line determining unit 612, connected to the signal layer determining unit, for determining the number of reference lines and the position of each reference line according to the size of each signal layer and the position of the signal layer on the display interface.
Optionally, the apparatus further comprises:
the trigger instruction determining module receives a trigger instruction indicating that the third target signal layer is amplified to be full of the display interface;
and the signal layer amplification module is connected with the trigger instruction determination module and amplifies the third target signal layer to be full of the display interface within a preset time period according to the trigger instruction.
In summary, the present disclosure relates to a method and an apparatus for adjusting a signal layer, where the method includes: determining the number of reference lines and corresponding positions in a display interface; determining the number of reference lines locked with each signal layer and corresponding edges according to the position of each reference line; determining a preset number of first target signal layers to be moved; and if a moving instruction for moving the preset number of first target signal layers along the direction vertical to the first target reference line is received, moving the first target reference line according to the moving distance and the moving direction indicated in the moving instruction so as to drive the preset number of first target signal layers to move to the appointed position. The signal layers can be moved to the appointed positions through locking the reference lines, the problems of manual adjustment deviation and low efficiency in the prior art are solved, and batch self-adaptive adjustment is carried out on the signal layers of the locking reference lines.
The preferred embodiments of the present disclosure are described in detail with reference to the accompanying drawings, however, the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solution of the present disclosure within the technical idea of the present disclosure, and these simple modifications all belong to the protection scope of the present disclosure.
It should be noted that, in the foregoing embodiments, various features described in the above embodiments may be combined in any suitable manner, and in order to avoid unnecessary repetition, various combinations that are possible in the present disclosure are not described again.
In addition, any combination of various embodiments of the present disclosure may be made, and the same should be considered as the disclosure of the present disclosure, as long as it does not depart from the spirit of the present disclosure.

Claims (10)

1. A method for adjusting signal layers, the method comprising:
determining the number of reference lines and the corresponding position of each reference line in a display interface, wherein the reference lines are used for moving a signal layer displayed on the display interface;
determining the number of reference lines locked with each signal layer and corresponding edges according to the position of each reference line, wherein each edge of the signal layer is locked with at most one reference line;
determining a preset number of first target signal layers to be moved, wherein only one of two parallel edges of each first target signal layer is locked with the same first target reference line;
and if a moving instruction for moving the preset number of first target signal layers along the direction vertical to the first target reference line is received, moving the first target reference line according to the moving distance and the moving direction indicated in the moving instruction so as to drive the preset number of first target signal layers to move to the appointed position.
2. The method for adjusting signal layers according to claim 1, further comprising:
determining a preset number of second target signal layers to be extended/shortened, wherein two parallel edges of each second target signal layer are respectively locked with two same second target reference lines;
if an extending/shortening instruction for extending/shortening the preset number of second target signal layers is received, one of the second target reference lines is moved according to the extending/shortening distance indicated in the extending/shortening instruction, and the other second target reference line fixes the locked edge at the original position on the display interface so as to drive the preset number of second target signal layers to extend/shorten the preset distance.
3. The method according to claim 1, wherein the determining the number of reference lines and corresponding edges locked to each signal layer according to the position of each reference line comprises:
if one edge of the signal layer is not overlapped with the reference line, a reference line which is parallel to the edge and has a distance smaller than a preset distance threshold exists in the display interface, and the signal layer is extended to one edge to be overlapped with the reference line;
and determining the reference line coincident with each edge in the signal layer as the reference line locked by the edge coincident with the signal layer.
4. The method for adjusting signal layers according to claim 1, wherein the determining the number of reference lines and the corresponding position of each reference line in the display interface includes:
determining the position of each signal layer in a display interface;
and determining the number of the reference lines and the position of each reference line according to the size of each signal layer and the position of the signal layer on a display interface.
5. The method for adjusting signal layers according to claim 1, further comprising:
receiving a trigger instruction indicating that a third target signal layer is amplified to be full of the display interface;
and amplifying the third target signal layer to fill the display interface within a preset time period according to the trigger instruction.
6. An apparatus for adjusting signal layers, the apparatus comprising:
the device comprises a reference line determining module, a signal layer generating module and a signal processing module, wherein the reference line determining module is used for determining the number of reference lines and the corresponding position of each reference line in a display interface, and the reference lines are used for moving the signal layer displayed on the display interface;
the reference line locking module is connected with the reference line determining module, and determines the number of the reference lines locked with each signal layer and corresponding edges according to the position of each reference line, wherein each edge of the signal layer is locked with at most one reference line;
the first target signal layer determining module is connected with the reference line locking module and is used for determining a preset number of first target signal layers to be moved, and only one of two parallel edges of each first target signal layer is locked with the same first target reference line;
and the layer moving module is connected with the first target signal layer determining module, and moves the first target reference lines according to the moving distance and the moving direction indicated in the moving instruction if receiving a moving instruction for moving the preset number of first target signal layers in the direction perpendicular to the first target reference lines so as to drive the preset number of first target signal layers to move to the specified position.
7. The apparatus for adjusting signal layers according to claim 6, further comprising:
the second target signal layer determining module is connected with the reference line locking module and is used for determining a preset number of second target signal layers to be extended/shortened, and two parallel edges of each second target signal layer are respectively locked with two same second target reference lines;
and the layer stretching module is connected with the second target signal layer determining module, and if an extending/shortening instruction for extending/shortening the preset number of second target signal layers is received, one of the second target reference lines is moved according to the extending/shortening distance indicated in the extending/shortening instruction, and the other second target reference line fixes the locked edge at the original position on the display interface so as to drive the preset number of second target signal layers to extend/shorten the preset distance.
8. The apparatus for adjusting signal layers according to claim 6, wherein the reference line locking module comprises:
the superposition reference line determining unit is used for extending the signal layer until one edge of the signal layer is superposed with a reference line if the edge of the signal layer is not superposed with the reference line and the reference line which is parallel to the edge and has a distance smaller than a preset distance threshold exists in the display interface;
and the reference line locking unit is connected with the coincident reference line determining unit and is used for determining the reference line coincident with each edge in the signal layer as the reference line for locking the edge coincident with the signal layer.
9. The apparatus for adjusting signal layers according to claim 6, wherein the reference line determining module comprises:
the signal layer determining unit is used for determining the position of each signal layer in the display interface;
and the reference line determining unit is connected with the signal layer determining unit and determines the number of the reference lines and the position of each reference line according to the size of each signal layer and the position of the signal layer on a display interface.
10. The apparatus for adjusting signal layers according to claim 6, further comprising:
the trigger instruction determining module receives a trigger instruction indicating that the third target signal layer is amplified to be full of the display interface;
and the signal layer amplifying module is connected with the trigger instruction determining module and amplifies the third target signal layer to be full of the display interface within a preset time period according to the trigger instruction.
CN202110118633.2A 2021-01-28 2021-01-28 Signal layer adjusting method and device Active CN112817549B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110118633.2A CN112817549B (en) 2021-01-28 2021-01-28 Signal layer adjusting method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110118633.2A CN112817549B (en) 2021-01-28 2021-01-28 Signal layer adjusting method and device

Publications (2)

Publication Number Publication Date
CN112817549A true CN112817549A (en) 2021-05-18
CN112817549B CN112817549B (en) 2024-02-06

Family

ID=75859875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110118633.2A Active CN112817549B (en) 2021-01-28 2021-01-28 Signal layer adjusting method and device

Country Status (1)

Country Link
CN (1) CN112817549B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100245233A1 (en) * 2009-03-31 2010-09-30 Codemasters Software Company Ltd. Moving an object within a virtual environment
CN102436649A (en) * 2010-08-31 2012-05-02 佳能株式会社 Image processing apparatus and method
CN104461301A (en) * 2014-12-22 2015-03-25 青岛大学 Method for achieving automatic aligning of screen windows based on world coordinates
CN105892869A (en) * 2016-04-28 2016-08-24 北京小米移动软件有限公司 Image position adjusting method and device
CN106598382A (en) * 2016-11-17 2017-04-26 北京奇虎科技有限公司 Icon sorting method, device and mobile terminal
US20180143693A1 (en) * 2016-11-21 2018-05-24 David J. Calabrese Virtual object manipulation
CN108920053A (en) * 2018-06-29 2018-11-30 维沃移动通信有限公司 A kind of alignment schemes and mobile terminal
US20180370037A1 (en) * 2017-06-27 2018-12-27 Kinpo Electronics, Inc. Method of tracing target object
KR20190043032A (en) * 2017-10-17 2019-04-25 삼성전자주식회사 Electronic device and method for correcting image based on object included image

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100245233A1 (en) * 2009-03-31 2010-09-30 Codemasters Software Company Ltd. Moving an object within a virtual environment
CN102436649A (en) * 2010-08-31 2012-05-02 佳能株式会社 Image processing apparatus and method
CN104461301A (en) * 2014-12-22 2015-03-25 青岛大学 Method for achieving automatic aligning of screen windows based on world coordinates
CN105892869A (en) * 2016-04-28 2016-08-24 北京小米移动软件有限公司 Image position adjusting method and device
CN106598382A (en) * 2016-11-17 2017-04-26 北京奇虎科技有限公司 Icon sorting method, device and mobile terminal
US20180143693A1 (en) * 2016-11-21 2018-05-24 David J. Calabrese Virtual object manipulation
US20180370037A1 (en) * 2017-06-27 2018-12-27 Kinpo Electronics, Inc. Method of tracing target object
KR20190043032A (en) * 2017-10-17 2019-04-25 삼성전자주식회사 Electronic device and method for correcting image based on object included image
CN108920053A (en) * 2018-06-29 2018-11-30 维沃移动通信有限公司 A kind of alignment schemes and mobile terminal

Also Published As

Publication number Publication date
CN112817549B (en) 2024-02-06

Similar Documents

Publication Publication Date Title
CN103680470B (en) The method for displaying image that large-size screen monitors control and system
US9898837B2 (en) Image processing system
US8482482B2 (en) Display system and method
CN103888741A (en) Method, device and system for geometric correction assistance of projected image
US8896699B2 (en) Image synthesis device
CN103853512A (en) Method for realizing split screen and electronic equipment
CN111198734B (en) Window setting method and device, electronic equipment and nonvolatile storage medium
EP2367351A2 (en) Information Processing Apparatus, Method and Program for imaging device
CN105975236A (en) Automatic positioning method, automatic positioning display system and display devices
CN113315959A (en) Laser projection apparatus and projected image correction method
US20060041775A1 (en) Method and device for producing component data
CN115185415A (en) Scanning data display method, device, equipment and storage medium
CN1320513C (en) Image procesisng device, image processing method and vehicle monitoring system
CN112817549A (en) Signal layer adjusting method and device
CN104869325A (en) Display compensation method, module and display apparatus
CN109521980B (en) Method, device, medium and electronic equipment for determining display content of entity display screen
JP5115457B2 (en) Cursor movement control method, apparatus, and program
US20220292652A1 (en) Image generation method and information processing device
CN104202588A (en) 3D (Three-Dimensional) signal shear method and system and 3D signal windowing method and system
JP4458945B2 (en) Surveillance camera system, video processing apparatus, and character display method thereof
CN111142994A (en) Data display method and device, storage medium and electronic equipment
CN113269728B (en) Visual edge-tracking method, device, readable storage medium and program product
WO2023190075A1 (en) Observation device and observation method
CN116930207B (en) Display method for synchronously amplifying field of view of display area and real-time area
US20240192846A1 (en) Method for processing video data from an uncertified video source

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
GR01 Patent grant
GR01 Patent grant