Search

CN-114911447-B - Multi-screen control method and device, computing equipment and storage medium

CN114911447BCN 114911447 BCN114911447 BCN 114911447BCN-114911447-B

Abstract

The invention discloses a multi-screen control method, a device, a computing device and a storage medium multi-screen control method, wherein the method is executed in the computing device, the computing device is connected with a plurality of displays, and the method comprises the following steps: providing a display management interface for displaying virtual images indicating each display, wherein each virtual image has a first arrangement sequence, and any one virtual image is communicated with at least one other virtual image, so that each virtual image forms a first image communicating domain; and if not, splicing the target virtual image with the second image communication domain closest to the target virtual image to generate a second virtual image arrangement sequence, so that a user can control each display based on the second virtual image arrangement sequence.

Inventors

  • Shao Tianlu
  • LV PEILONG
  • ZHANG JIDE

Assignees

  • 统信软件技术有限公司

Dates

Publication Date
20260512
Application Date
20220606

Claims (13)

  1. 1. A multi-screen control method performed in a computing device, the computing device coupled to a plurality of displays, the method comprising: Providing a display management interface for displaying virtual images indicating each display, wherein each virtual image has a first arrangement sequence, and any one virtual image is communicated with at least one other virtual image, so that each virtual image forms a first image communicating domain; Detecting whether the moved target virtual image is communicated with at least one second image communicating domain formed by other virtual images in response to a moving operation on the target virtual image; if not, the target virtual image and the second image connected domain closest to the target virtual image are spliced to generate a second virtual image arrangement sequence, so that a user can control each display based on the second virtual image arrangement sequence.
  2. 2. The method of claim 1, wherein prior to the step of responding to the movement operation on the target virtual image, further comprising: Acquiring the position information of each virtual image on the display management interface; and forming the identification of each virtual image based on the position information.
  3. 3. The method of claim 1 or 2, further comprising the step of: for each virtual image, the communication relation of each virtual image communicated with the virtual image is recorded.
  4. 4. A method according to claim 3, wherein the step of detecting whether the moved target virtual image is in communication with at least one second image communicating field formed by other virtual images comprises: And judging whether the target virtual image is communicated with other virtual images or not based on the communication relation of the target virtual image.
  5. 5. The method of claim 2, wherein stitching the target virtual image with the second image connected domain closest thereto comprises: determining a second image connected domain closest to the target virtual image based on the position information; Determining a first splicing path between the target virtual image and a second image communication domain closest to the target virtual image; and according to the first stitching path, the target virtual image is moved to be communicated with a second image communicating domain closest to the target virtual image.
  6. 6. The method of claim 2, wherein, before the step of detecting whether the moved target virtual image is in communication with at least one second image communicating field formed by other virtual images, further comprising: acquiring the distance between the target virtual image and each second image connected domain in the moving process based on the position information; and when the distance is smaller than a distance threshold value, moving the target virtual image to the edge of the second image communication domain closest to the target virtual image so that the target virtual image moves along the edge.
  7. 7. The method of claim 2, wherein after the step of stitching the target virtual image with the second image connected domain closest thereto, further comprising: Determining an image area formed after the target virtual image is communicated with a second image communicating area closest to the target virtual image as a third image communicating area; detecting whether each of the second image communicating region and the third image communicating region are communicated or not; And respectively splicing the second image communicating domains which are not communicated with the third image communicating domain.
  8. 8. The method of claim 7, wherein the detecting whether each of the second image communicating region and the third image communicating region are communicated comprises: judging whether at least one virtual image in each virtual image included in each second image communication domain has a communication relationship with any virtual image in the third image communication domain; if so, the second image communicating region is communicated with the third image communicating region.
  9. 9. A method as claimed in claim 3, further comprising the step of: and carrying out sorting and de-duplication processing on the connection relation of each virtual image.
  10. 10. The method of claim 7, wherein the step of stitching each of the second image communicating regions that is not in communication with the third image communicating region, respectively, comprises: Determining a second splicing path between the second image communicating domain and the third image communicating domain based on the position information; and according to the second splicing path, the second image communication domain is moved to be communicated with the third image communication domain.
  11. 11. A multi-screen control apparatus residing in a computing device, the computing device being connected to a plurality of displays, the apparatus comprising: the display module is suitable for providing a display indication for the virtual images of each display on the display management interface, wherein each virtual image has a first arrangement sequence, and any one virtual image is communicated with at least one other virtual image, so that each virtual image forms a first image communicating domain; The detection module is suitable for responding to the moving operation of the target virtual image and detecting whether the moved target virtual image is communicated with at least one second image communicating domain formed by other virtual images; And the splicing module is suitable for splicing the target virtual image with the second image communication domain closest to the target virtual image when detecting whether the target virtual image after movement is not communicated with at least one second image communication domain formed by other virtual images, and generating a second virtual image arrangement sequence so that a user can control each display based on the second virtual image arrangement sequence.
  12. 12. A computing device, comprising: at least one processor, and A memory storing program instructions, wherein the program instructions are configured to be adapted to be executed by the at least one processor, the program instructions comprising instructions for performing the method of any of claims 1-10.
  13. 13. A readable storage medium storing program instructions which, when read and executed by a computing device, cause the computing device to perform the method of any of claims 1-10.

Description

Multi-screen control method and device, computing equipment and storage medium Technical Field The present invention relates to the field of computer technologies, and in particular, to a multi-screen control method, a device, a computing device, and a storage medium. Background Accessing multiple displays in a computing device is almost a necessary function for a user using a desktop operating system. For example, the existing mainstream operation system basically realizes the support of double screens at the software level, and a user can set the splicing mode of two screens in a user-defined mode in a setting center of the operation system. However, the user's need for multiple screens is not limited to dual screens, and the user may wish the operating system to provide multiple screen stitching functionality without an upper limit on the number of screens. However, in the existing multi-screen control technology, all displays need to be arranged in sequence in the horizontal direction or the vertical direction according to the access sequence, so that the top or the left side is forced to be aligned, and the limitation is great. Disclosure of Invention The present invention has been made in view of the above-mentioned problems, and provides a multi-screen control method, apparatus, computing device, and storage medium that overcome or at least partially solve the above-mentioned problems. According to one aspect of the invention, a multi-screen control method is provided, which is executed in a computing device, the computing device is connected with a plurality of displays, the method comprises the steps of providing a display management interface for displaying virtual images indicating the displays, wherein each virtual image has a first arrangement sequence, any virtual image is communicated with at least one other virtual image so that each virtual image forms a first image communication domain, responding to a moving operation of a target virtual image, detecting whether the moved target virtual image is communicated with at least one second image communication domain formed by the other virtual images, and if not, splicing the target virtual image with the second image communication domain closest to the target virtual image to generate a second virtual image arrangement sequence so that a user can control each display based on the second virtual image arrangement sequence. Optionally, in the multi-screen control method according to the present invention, before the step of responding to the movement operation on the target virtual image, the method further includes acquiring position information of each virtual image on the display management interface, and forming an identification of each virtual image based on the position information. Optionally, in the multi-screen control method according to the present invention, the method further includes the step of recording, for each virtual image, a communication relationship of the virtual images communicated therewith. Optionally, in the multi-screen control method according to the present invention, the step of detecting whether the moved target virtual image is communicated with at least one second image communicating region formed by other virtual images includes judging whether the target virtual image is communicated with other virtual images based on a communication relationship of the target virtual image. Optionally, in the multi-screen control method, the step of stitching the target virtual image with the second image communication domain closest to the target virtual image comprises the steps of determining the second image communication domain closest to the target virtual image based on the position information, determining a first stitching path between the target virtual image and the second image communication domain closest to the target virtual image, and moving the target virtual image to be communicated with the second image communication domain closest to the target virtual image according to the first stitching path. Optionally, in the multi-screen control method, before the step of detecting whether the moved target virtual image is communicated with at least one second image communicating region formed by other virtual images, the method further comprises the steps of acquiring the distance between the target virtual image and each second image communicating region in the moving process based on the position information, and moving the target virtual image to the edge of the second image communicating region closest to the target virtual image when the distance is smaller than a distance threshold value, so that the target virtual image moves along the edge. Optionally, in the multi-screen control method, after the step of stitching the target virtual image with the second image communicating domain closest to the target virtual image, the method further comprises the steps of determining an image area formed by the target