CN115543155A - Display configuration method and device, electronic equipment and storage medium - Google Patents

Display configuration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115543155A
CN115543155A CN202211143392.8A CN202211143392A CN115543155A CN 115543155 A CN115543155 A CN 115543155A CN 202211143392 A CN202211143392 A CN 202211143392A CN 115543155 A CN115543155 A CN 115543155A
Authority
CN
China
Prior art keywords
target
display
configuration
data source
information
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
CN202211143392.8A
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.)
Guangdong Changshi Technology Co ltd
Original Assignee
Guangdong Changshi 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 Guangdong Changshi Technology Co ltd filed Critical Guangdong Changshi Technology Co ltd
Priority to CN202211143392.8A priority Critical patent/CN115543155A/en
Publication of CN115543155A publication Critical patent/CN115543155A/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/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
    • 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/16Sound input; Sound output
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback

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)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application is applicable to the technical field of computers, and provides a display configuration method, a display configuration device, electronic equipment and a storage medium, wherein the method comprises the following steps: when the selection operation aiming at a target control in a layout configuration interface is detected, presenting the target control, wherein the target control comprises a configuration unit; receiving display configuration information input aiming at a configuration unit, wherein the display configuration information comprises a data source identifier and display position information of a data source indicated by the data source identifier on a target display screen; and generating layout configuration information aiming at the target display screen according to the display configuration information of the configuration unit in the target control. According to the method and the device, the layout configuration information of the target display screen is generated through the display configuration information input by the user on the layout configuration interface, so that the target display screen displays data according to the display layout required by the user, the flexible setting of the display layout of the target display screen by the user can be realized, and the use requirement of the user on the target display screen can be met.

Description

Display configuration method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a display configuration method and apparatus, an electronic device, and a storage medium.
Background
With the development of internet technology, large screens are applied more and more widely, and users can display audio and video data through the large screens.
In the related technology, users often only can display audio and video data by adopting a preset fixed display layout, the display effect is single, and the use requirement of the users on a large screen cannot be met.
Disclosure of Invention
The embodiment of the application provides a display configuration method and device, an electronic device and a storage medium, and can solve the problems that in the related art, the display effect is single, and the use requirement of a user on a large screen cannot be met.
A first aspect of an embodiment of the present application provides a display configuration method, including:
when the selection operation aiming at a target control in a layout configuration interface is detected, presenting the target control, wherein the target control comprises a configuration unit;
receiving display configuration information input aiming at a configuration unit, wherein the display configuration information comprises a data source identifier and display position information of a data source indicated by the data source identifier on a target display screen;
and generating layout configuration information aiming at the target display screen according to the display configuration information of the configuration unit in the target control.
In some embodiments, when there are multiple configuration units, the method further comprises:
receiving scaling associated information, the scaling associated information comprising a plurality of associated target configuration units;
and writing the scaling associated information into the display configuration information of each target configuration unit.
In some embodiments, the method further comprises:
when the zoom operation aiming at the target display area in the target display screen is detected, the zoom size corresponding to the zoom operation is determined, and the target display area and the associated display area associated with the target display area are zoomed according to the zoom size, wherein the associated display area is an area which is in the target display screen and is associated with the corresponding configuration unit and the configuration unit of the target display area.
In some embodiments, the method further comprises:
when the access of a target data source is detected, determining target display position information corresponding to the target data source according to the data source identification and layout configuration information of the target data source;
and displaying the data in the target data source on the target display screen according to the target display position information.
In some embodiments, displaying data in the target data source on the target display screen according to the target display position information includes:
and when the display configuration information further comprises filling mode information of the data source on the target display screen, displaying the data in the target data source according to the filling mode corresponding to the target data source, wherein the filling mode indicated by the filling mode information comprises any one of full-screen filling, high-level filling and fixed filling.
In some embodiments, the method further comprises:
when modification operation aiming at the configuration unit is detected, configuration modification information is received, and the configuration modification information comprises a target data item to be modified and target content corresponding to the target data item;
comparing each data item in the display configuration information of the configuration unit with a target data item respectively, and modifying the content of the data item corresponding to the target data item in the display configuration information into target content;
and generating layout configuration information aiming at the target display screen according to the modified display configuration information of the configuration unit.
In some embodiments, the method further comprises:
detecting the data output state of each data source corresponding to the target display screen, and determining the data source corresponding to the abnormal data output state as an abnormal data source;
and displaying prompt information for indicating that the abnormal data source outputs abnormity at a display position on the target display screen, wherein the display position corresponds to the abnormal data source.
A second aspect of an embodiment of the present application provides a display configuration apparatus, including:
the control presenting unit is used for presenting a target control when a selection operation aiming at the target control in the layout configuration interface is detected, wherein the target control comprises a configuration unit;
the information receiving unit is used for receiving display configuration information input by the configuration unit, wherein the display configuration information comprises a data source identifier and display position information of a data source indicated by the data source identifier on a target display screen;
and the information generating unit is used for generating layout configuration information aiming at the target display screen according to the display configuration information of the configuration unit in the target control.
In some embodiments, the apparatus further comprises an association receiving unit, an information writing unit.
The system comprises an association receiving unit, a scaling association unit and a scaling module, wherein the association receiving unit is used for receiving scaling association information which comprises a plurality of associated target configuration units;
and the information writing unit is used for writing the zooming related information into the display configuration information of each target configuration unit.
In some embodiments, the apparatus further includes a zoom detection unit configured to, when a zoom operation for a target display area in the target display screen is detected, determine a zoom size corresponding to the zoom operation, and zoom the target display area and an associated display area associated with the target display area by the zoom size;
the related display area is an area which corresponds to the configuration unit in the target display screen and is related to the configuration unit in the target display area.
In some embodiments, the device further comprises an information determination unit and a data display unit.
The information determining unit is used for determining target display position information corresponding to a target data source according to the data source identification and the layout configuration information of the target data source when the target data source is detected to be accessed;
and the data display unit is used for displaying the data in the target data source on the target display screen according to the target display position information.
In some embodiments, the data display unit is specifically configured to: and when the display configuration information further comprises filling mode information of the data source on the target display screen, displaying the data in the target data source according to the filling mode corresponding to the target data source, wherein the filling mode indicated by the filling mode information comprises any one of full-screen filling, high-level filling and fixed filling.
In some embodiments, the apparatus further comprises a modification receiving unit, a data comparison unit, and a configuration generation unit.
The modification receiving unit is used for receiving configuration modification information when modification operation aiming at the configuration unit is detected, and the configuration modification information comprises a target data item to be modified and target content corresponding to the target data item;
the data comparison unit is used for comparing each data item in the display configuration information of the configuration unit with a target data item respectively, and modifying the content of the data item corresponding to the target data item in the display configuration information into target content;
and the configuration generation unit is used for generating layout configuration information aiming at the target display screen according to the modified display configuration information of the configuration unit.
In some embodiments, the apparatus further comprises an abnormality detection unit, an abnormality display unit.
The abnormal detection unit is used for detecting the data output state of each data source corresponding to the target display screen and determining the data source corresponding to the abnormal data output state as an abnormal data source;
and the abnormity display unit is used for displaying prompt information used for indicating the abnormity output of the abnormal data source at a display position corresponding to the abnormal data source on the target display screen.
A third aspect of embodiments of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the display configuration method provided in the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the display configuration method provided in the first aspect.
The display configuration method, the display configuration device, the electronic equipment and the storage medium provided by the embodiment of the application have the following beneficial effects: firstly, when a selection operation for a target control in a layout configuration interface is detected, the target control is presented, wherein the target control comprises a configuration unit. Then, display configuration information input for the configuration unit is received, wherein the display configuration information comprises the data source identification and display position information of the data source indicated by the data source identification on the target display screen. And finally, generating layout configuration information aiming at the target display screen according to the display configuration information of the configuration unit in the target control. When the data of the data source is displayed through the target display screen, the layout configuration information of the target display screen is generated through the display configuration information input by the user on the layout configuration interface, so that the target display screen displays data according to the display layout required by the user, the flexible setting of the display layout of the target display screen by the user can be realized, and the use requirement of the user on the target display screen can be met.
It is to be understood that, for the beneficial effects of the second aspect to the fourth aspect, reference may be made to the relevant description in the first aspect, and details are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the embodiments or the related technical descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating an implementation of a display configuration method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a display layout provided by an embodiment of the present application;
FIG. 3 is a flowchart illustrating an implementation of a display configuration method according to another embodiment of the present application;
FIG. 4 is a flowchart illustrating an implementation of displaying a prompt according to an embodiment of the present application;
FIG. 5 is a schematic diagram of a display configuration system provided by an embodiment of the present application;
FIG. 6 is a block diagram of a display configuration apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless otherwise specifically stated.
In order to explain the technical means of the present application, the following examples are given below.
The inventor of the application finds that, in a research process, when a user uses a target display screen to display data of a data source, the user can only select preset standard display layouts such as a two-split screen and a four-split screen, the display layouts of the target display screen cannot be flexibly set according to the use requirements of the user, the display effect is single, and the use requirements of the user on the target display screen cannot be met.
In order to solve the above problem, an embodiment of the present application provides a display configuration method. Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a display configuration method according to an embodiment of the present application, including:
step 101, when a selection operation for a target control in a layout configuration interface is detected, presenting the target control.
The layout configuration interface is generally an interactive interface for configuring a display layout of a display screen. In practical applications, data of a plurality of data sources can be displayed on the display screen according to the display layout. Here, the data source may be a distributed camera, or a terminal device with a camera, such as a computer, a tablet, a mobile phone, and the like.
The target control may include one or more configuration units. The target control is usually a preset control. In practice, the target controls described above may be used to configure the display layout of the target display screen. The target display screen is usually a predetermined display screen. The configuration unit is generally a unit for configuring a display area on a target display screen, each configuration unit in the target control corresponds to each display area on the target display screen, and a user can set a corresponding display area on the target display screen by setting configuration attributes in the configuration units.
In the present embodiment, the execution subject of the above display configuration method is generally an electronic device. In practice, the execution body may be implemented as a display screen, and may also be implemented as other devices for controlling the display content and layout of the display screen. It should be noted that the electronic device may be hardware or software. When the electronic device is hardware, the distributed electronic device cluster formed by a plurality of electronic devices may be implemented, or a single electronic device may be implemented. When the electronic device is software, the electronic device may be implemented as a plurality of pieces of software or software modules, or may be implemented as a single piece of software or software module, which is not limited herein.
In practice, the selection operation of the target control is usually a preset operation of selecting the target control, and in practice, the selection operation may be realized by double-clicking an icon of the target control, dragging the icon of the target control to a preset area, clicking a selection button of the target control, and the like.
In practice, the execution body may detect the selection operation through a sensor, for example, a pressure sensor, for example, detect that a user drags a target control in the layout configuration interface to a preset area. After the selection operation is detected, the target control can be presented in a certain preset display area of the layout configuration interface.
Step 102, receiving display configuration information input for a configuration unit.
The display configuration information comprises a data source identifier and display position information of the data source indicated by the data source identifier on the target display screen. Here, the data source identification may be an IP of the data source, e.g., 192.168.10.100, or a code number of the data source, e.g., data source 1. The display position information typically includes the coordinates of the display position and the display size.
Here, the coordinates of the display position may be coordinates of a preset reference point of the data source in a corresponding display area on the target display screen. As an example, the coordinates of the display position may be coordinates of an upper left corner point of the display area on the target display screen. As another example, the coordinates of the display position may be coordinates of a center point of the display area on the target display screen.
Here, the display size is generally the size of the display area corresponding to the data source, and the display size may include the width dimension and the height dimension of the display area. In practical application, the display size is smaller than or equal to the size of the target display screen.
In practice, the execution subject may receive display configuration information input by a user through the layout configuration interface. Specifically, after the execution main body detects a selection operation of a user for a target control on the layout configuration interface, the execution main body may present a configuration unit of the target control on the layout configuration interface, where the configuration unit may include a plurality of configuration attributes, such as a display position and a display size, and the execution main body may receive, through the layout configuration interface, display configuration information input by the user for each configuration attribute.
As an example, please refer to fig. 2, fig. 2 is a schematic diagram of a display layout according to an embodiment of the present application. As shown in fig. 2, the target display layout required by the user includes four display areas, namely an area a with a display size of 100 × 200, an area B with a display size of 300 × 200, an area C with a display size of 100 × 200, and an area D with a display size of 500 × 100, and after detecting a selection operation of the user on the data source splicing control, the execution main body may present the configuration unit of the data source splicing control in the layout configuration interface. Then, the execution body can receive display configuration information input by a user for each display area through a layout configuration interface, wherein the area A displays the position (0, 0) and the display size is 100 multiplied by 200; region B displays position (100, 0), display size 300 × 200; region C displays position (400, 0), display size 100 × 200; region D shows position (0, 200), display size 500 × 100.
And 103, generating layout configuration information aiming at the target display screen according to the display configuration information of the configuration unit in the target control.
The layout configuration information is information for configuring a display layout of the target display screen. The layout arrangement information generally includes display position information and display size information of each display region.
In practice, the execution subject may combine a plurality of display configuration information to obtain layout configuration information. As one example, the execution main body may use a display configuration information set composed of a plurality of display configuration information as the layout configuration information. As another example, the execution main body may write a plurality of display configuration information into a preset layout configuration information template to obtain the layout configuration information.
In some application scenarios, the execution main body may send the layout configuration information to the target display screen, and control the target display screen to display the data of the data source according to the layout configuration information. In other application scenarios, the execution main body may also directly control the target display screen to display the data of the data source according to the layout configuration information.
In the display configuration method provided by this embodiment, first, when a selection operation for a target control in a layout configuration interface is detected, the target control is presented, where the target control includes a configuration unit. Then, display configuration information input for the configuration unit is received, wherein the display configuration information comprises data source identification and display position information of the data source indicated by the data source identification on the target display screen. And finally, generating layout configuration information aiming at the target display screen according to the display configuration information of the configuration unit in the target control. When the data of the data source is displayed through the target display screen, the layout configuration information of the target display screen is generated through the display configuration information input by the user on the layout configuration interface, so that the target display screen displays data according to the display layout required by the user, the flexible setting of the display layout of the target display screen by the user can be realized, and the use requirement of the user on the target display screen can be met.
In some embodiments, when there are a plurality of configuration units, the display configuration method may further include the following steps one to two.
Step one, receiving scaling associated information.
The zoom association information may include a zoom relationship between a plurality of associated target configuration units, where the target configuration units correspond to display areas on a target display screen. It should be noted that when the target display area of one target configuration unit on the target display screen changes, for example, the width of the display area is reduced, the target display areas of other target configuration units associated with the target configuration unit on the target display screen correspondingly change. For example, the width size of the target display area a corresponding to the target configuration unit 1 on the target display screen is related to the width size of the target display area B corresponding to the target configuration unit 2 on the target display screen, and when the width size of the target display area a is reduced by 10, the width size of the target configuration unit 2 on the target display screen corresponding to the target display area B is enlarged by 10.
In practice, the execution main body may set a zoom association control on the layout configuration interface, and when a selection operation of a user for the zoom association control is detected, a plurality of association configuration attributes of the zoom association control are presented on the layout configuration interface, and attribute values of the association configuration attributes jointly form zoom association information. The execution subject may receive the zoom association information by receiving each associated configuration attribute input by the user on the layout configuration interface.
Here, the zoom association control is generally a preset control that can be used to set an association relationship between a plurality of target configuration units. The associated configuration attributes generally include names of the target configuration units associated with each other and association relationships between the target configuration units. As an example, the associated configuration attribute may include a name of the target configuration unit, the target configuration unit 1, the target configuration unit 2, and an association relationship between the target configuration unit 1 and the target configuration unit 2, wherein a height size of a display area a corresponding to the target configuration unit 1 on the target display screen is associated with a height size of a display area B corresponding to the target configuration unit 2 on the target display screen.
In practical applications, the execution body may be provided with a fixed configuration unit, and the display position and the display size of the display area corresponding to the fixed configuration unit are fixed and are not associated with other configuration units.
And step two, writing the zooming related information into the display configuration information of each target configuration unit.
After receiving the scaling association information, the execution main body may write the scaling association information into the display configuration information of each target configuration unit, so that the display areas corresponding to the target configuration units are associated.
According to the display configuration method provided by the embodiment, the plurality of target configuration units are associated through the zoom association information, a user can input corresponding zoom association information through the layout configuration interface according to the use requirement, and the plurality of target configuration units are associated, so that the requirement that the display layout of the user includes the associated display area is met.
In some embodiments, the display configuration method may further include:
when the zooming operation aiming at the target display area in the target display screen is detected, determining the zooming size corresponding to the zooming operation, and zooming the target display area and the associated display area associated with the target display area according to the zooming size;
the related display area is an area which corresponds to the configuration unit in the target display screen and is related to the configuration unit in the target display area.
In practice, the execution subject may detect a zoom operation of the user for the target display area in the target display screen by detecting an operation of the user on the layout configuration interface. As an example, the execution subject may set a zoom operation button on each target configuration unit of the layout configuration interface, and detect a zoom operation of the target display area by detecting whether the user clicks the zoom operation button.
When a zoom operation on a target display area in a target display screen is detected, the execution main body may receive zoom size information input by a user on the layout configuration interface, and determine a zoom size corresponding to the zoom operation according to the received zoom size information.
Thereafter, the execution subject may scale the target display area and the associated display area associated with the target display area by the scaling size. Specifically, the execution main body may first receive zoom size information input by a user to determine a zoom size corresponding to a zoom operation, and then adjust the display size of the target display area and the display size of the associated display area associated with the target display area by the zoom size.
For example, in the zoom related information input by the user, the target configuration unit 1 and the target configuration unit 2 are associated in height size, and accordingly, the height size of the target display area 1 on the target display screen corresponding to the target configuration unit 1 is associated with the height size of the target display area 2 on the target display screen corresponding to the target configuration unit 2. The current display sizes of the target display area 1 and the target display area 2 are both 100 × 100, the execution subject detects that the zoom size information of the user for the target display area 1 in the target display screen includes height zoom-out 10, the execution subject can obtain the display size of the target display area 1 after the zoom operation as 100 × 90 according to the current display size and the zoom size information of the target display area 1, and obtain the display size of the target display area 2 after the zoom operation as 100 × 110 according to the current display size and the zoom size information of the target display area 2. Thereafter, the execution body may control the target display screen to adjust the display size of the target display area 1 to 100 × 90 and the display size of the target display area 2 to 100 × 110.
According to the display configuration method provided by the embodiment, the display sizes of the target display areas are correlated, and a user can make corresponding changes on the display sizes of other correlated display areas by zooming the display size of one target display area, so that the use requirements of the user are met.
In some embodiments, the above display configuration method may further include the following first to second steps.
The method comprises the steps of firstly, when the access of a target data source is detected, determining target display position information corresponding to the target data source according to a data source identification and layout configuration information of the target data source.
The target data source is a data source with a corresponding display position on the target display screen.
In practice, the execution main body may establish a communication connection with a target data source through the distributed input node device, and detect whether the target data source is accessed through the distributed input node device. For example, the execution main body may connect the video source and the distributed input node device through a High Definition Multimedia Interface (HDMI) line, and detect whether the target data source is accessed by detecting a manner in which the video source sends a connection request packet to the distributed input node device.
In practice, the layout configuration information includes a data source identifier of the corresponding data source and display position information of the corresponding data source on the target display screen, and the execution main body may obtain target display position information corresponding to the target data source from the layout configuration information by using the data source identifier of the target data source.
And secondly, displaying the data in the target data source on the target display screen according to the target display position information.
In practice, the executing body may obtain the target display position through the target display position information, and display the data in the target data source at the target display position of the target display screen.
In the display configuration method provided by this embodiment, the target display position information corresponding to the target data source is obtained through the data source identification information and the layout configuration information of the target data source, and the data of the target data source is displayed at the target display position of the target display screen, so that the data of the target data source can be displayed at the set position on the target display screen.
In some embodiments, the displaying the data in the target data source on the target display screen according to the target display position information may include:
and when the display configuration information also comprises filling mode information of the data source on the target display screen, displaying the data in the target data source according to the filling mode corresponding to the target data source.
Wherein the filling manner indicated by the filling manner information includes any one of full-screen filling, height filling and fixed filling.
Here, full screen filling is full screen displaying of data of the data source on a corresponding display area on the target display screen. The height filling is to correspond the displayed height size to the width size when the data of the data source is displayed in the corresponding display area on the target display screen, for example, if the data of the data source is displayed by adopting the height filling, and the actual width size of the display area is half of the preset width size, the actual height size is also adjusted to be half of the preset height size, and then the data of the data source is displayed in the display area. The fixed padding is to display data of the data source in a fixed preset display size in a corresponding display area on the target display screen, for example, if the data of the data source is displayed by adopting the fixed padding, where the preset display size is 1920 × 1080 and the actual display area is 1080 × 540, the data of the data source is displayed in the actual display area by 1920 × 1080, and meanwhile, scroll bars are arranged in the width direction and the height direction.
In practice, the execution body may set a filling manner attribute in a target control of the layout configuration interface, and a user may set a filling manner for data source data through the layout configuration interface. After the filling mode input by the user is detected, the execution main body can write the filling mode information into the display configuration information, and control the target display screen to display the data in the target data source according to the filling mode corresponding to the target data source.
According to the display configuration method provided by the embodiment, the user can select the required filling mode according to the use requirement, so that the target display screen displays the data in the target data source in the corresponding display area according to the filling mode corresponding to the target data source.
In some embodiments, the display configuration method may further include:
and displaying the data source identification information of each data source at the preset identification display position of the target display screen. In practice, the execution main body may also display a preview of each data source at a preset identifier display position, and a user may quickly grasp a data source accessed in the display configuration system through the identifier information of the data source displayed on the target display screen.
Referring to fig. 3, fig. 3 is a flowchart illustrating an implementation of a display configuration method according to another embodiment of the present application, including:
step 301, receiving configuration modification information when a modification operation for a configuration unit is detected.
The configuration modification information includes a target data item to be modified and target content corresponding to the target data item.
In practice, the execution body may set a modification operation button for each configuration unit, and present the modification operation button when presenting the configuration units on the layout configuration interface, and detect a modification operation for the configuration units by detecting an operation of a user on the modification operation button. When detecting the modification operation of the user on the configuration unit, the execution main body may present the attribute information of the configuration unit on the layout configuration interface for the user to modify the configuration unit, and receive the configuration modification information by receiving the modification of each attribute information of the configuration unit by the user on the layout configuration interface.
Step 302, comparing each data item in the display configuration information of the configuration unit with the target data item, and modifying the content of the data item corresponding to the target data item in the display configuration information into the target content.
Each data item in the display configuration information is generally each item of configuration information in the display configuration information, and the data item may include a display size, a display position, and the like.
In practice, the executing body may perform traversal comparison on each data item in the display configuration information of the configuration unit and a target data item of the received configuration modification information to obtain a data item to be modified in the display configuration information, and then modify the content of the data item to be modified into the target content.
Step 303, generating layout configuration information for the target display screen according to the modified display configuration information of the configuration unit.
In practice, the execution body may combine a plurality of modified display configuration information to obtain the layout configuration information. As an example, the execution body may use a display configuration information set composed of a plurality of modified display configuration information as the layout configuration information. As another example, the execution body may write a plurality of modified display configuration information into a preset layout configuration information template to obtain the layout configuration information.
For example, the execution main body detects that the width size of the display size of the configuration unit is modified from 100 to 200 by the user, and the execution main body may modify the content of the target data item in the display configuration information to the target content, that is, modify the width size of the display size in the display configuration information to 200, then generate layout configuration information for the target display screen, and control the target display screen to modify the width size of the display area corresponding to the data source from 100 to 200 when displaying the data of the data source.
In practice, the modification operation may be to add new display content, such as new text, new pictures, etc., to the display area corresponding to the data source.
According to the display configuration method provided by the embodiment, the display configuration information corresponding to the configuration unit can be modified through the modification operation aiming at the configuration unit, so that the display layout corresponding to the data source on the target display screen is modified, and the use requirement of a user is met.
Referring to fig. 4, fig. 4 is a flowchart illustrating an implementation of displaying a prompt message according to an embodiment of the present application, including:
step 401, detecting data output states of the data sources corresponding to the target display screen, and determining the data source corresponding to the abnormal data output state as an abnormal data source.
The data output state is used for indicating the data output state, and comprises a normal data output state and an abnormal data output state.
In practice, the execution main body may detect a data transmission rate and a connection state of each data source, determine that the data transmission rate is less than a preset transmission rate threshold or the connection state is abnormal as a data output abnormal state, and determine a data source corresponding to the data output abnormal state as an abnormal data source.
And 402, displaying prompt information for indicating that the abnormal data source outputs abnormity at a display position corresponding to the abnormal data source on the target display screen.
Wherein, the prompt message can be a preset abnormal alarm message, such as "! ".
In practice, after the execution main body determines that the data source is an abnormal data source, display position information of the abnormal data source can be obtained through the data source identification and layout configuration information of the abnormal data source, a display position, corresponding to the abnormal data source, of the abnormal data source on the target display screen is obtained through the display position information of the abnormal data source, and then prompt information for indicating that the abnormal data source outputs an abnormality is displayed at the display position.
According to the display configuration method provided by the embodiment, whether the data output of each data source is normal can be judged according to the data output state of each data source, and the corresponding prompt information is displayed at the display position corresponding to the abnormal data source, so that a user can conveniently and quickly search the abnormal reason for the abnormal data source.
In some embodiments, the execution subject may implement display configuration of the target display screen through the display configuration system. Referring to fig. 5, fig. 5 is a schematic diagram of a display configuration system according to an embodiment of the present application. As shown in fig. 5, the display configuration system includes a target data source 1, a target data source 2, and a target data source 3, where the target data source 1 is connected to a distributed input node 1, the target data source 2 is connected to a distributed input node 2, the target data source 3 is connected to a distributed input node 3, the distributed input node 1, the distributed input node 2, and the distributed input node 3 are connected to a corresponding distributed output node 1, a distributed output node 2, and a distributed output node 3 through a network switch, the distributed output node 1 corresponds to a display area a on a target display screen, the distributed output node 2 corresponds to a display area B on the target display screen, and the distributed output node 3 corresponds to a display area C on the target display screen. When detecting that the target data source 1 is accessed, the executing body may obtain a display area a corresponding to the target data source 1 from the layout configuration information by using the data source identifier of the target data source 1, and display the data in the target data source 1 at the display area a on the target display screen. Correspondingly, when detecting that the target data source 2 is accessed, the executing body may obtain a display area B corresponding to the target data source 2 from the layout configuration information by using the data source identifier of the target data source 2, and display the data in the target data source 2 at the display area B on the target display screen; when detecting that the target data source 3 is accessed, the execution subject may obtain a display area C corresponding to the target data source 3 from the layout configuration information by using the data source identifier of the target data source 3, and display the data in the target data source 3 at the display area C on the target display screen.
The display configuration system provided in this embodiment obtains, through the data source identification information and the layout configuration information of the target data source, target display position information corresponding to the target data source, and displays data of the target data source at a target display position of the target display screen, so that the data of the target data source can be displayed at a set position on the target display screen.
Referring to fig. 6, fig. 6 is a block diagram of a display configuration apparatus 600 according to an embodiment of the present application, including:
a control presenting unit 601, configured to present a target control when a selection operation for the target control in the layout configuration interface is detected, where the target control includes a configuration unit;
the information receiving unit 602 is configured to receive display configuration information input by the configuration unit, where the display configuration information includes a data source identifier and display position information of a data source indicated by the data source identifier on a target display screen;
an information generating unit 603, configured to generate layout configuration information for the target display screen according to the display configuration information of the configuration unit in the target control.
In some embodiments, the apparatus further comprises an association receiving unit, an information writing unit (not shown in the figures). The device comprises an association receiving unit, a display unit and a display unit, wherein the association receiving unit is used for receiving scaling association information which comprises a plurality of associated target configuration units; and the information writing unit is used for writing the zooming related information into the display configuration information of each target configuration unit.
In some embodiments, the apparatus further includes a zoom detection unit (not shown in the figures) configured to, when a zoom operation for a target display area in the target display screen is detected, determine a zoom size corresponding to the zoom operation, and zoom the target display area and an associated display area associated with the target display area by the zoom size; the related display area is an area which corresponds to the configuration unit in the target display screen and is related to the configuration unit in the target display area.
In some embodiments, the apparatus further comprises an information determination unit, a data display unit (not shown in the figures). The information determining unit is used for determining target display position information corresponding to a target data source according to the data source identification and the layout configuration information of the target data source when the target data source is detected to be accessed; and the data display unit is used for displaying the data in the target data source on the target display screen according to the target display position information.
In some embodiments, the data display unit (not shown in the figures) is specifically configured to: and when the display configuration information further comprises filling mode information of the data source on the target display screen, displaying the data in the target data source according to a filling mode corresponding to the target data source, wherein the filling mode indicated by the filling mode information comprises any one of full-screen filling, high-level filling and fixed filling.
In some embodiments, the apparatus further comprises a modification receiving unit, a data comparing unit, and a configuration generating unit (not shown in the figure). The modification receiving unit is used for receiving configuration modification information when modification operation aiming at the configuration unit is detected, and the configuration modification information comprises a target data item to be modified and target content corresponding to the target data item; the data comparison unit is used for comparing each data item in the display configuration information of the configuration unit with the target data item respectively and modifying the content of the data item corresponding to the target data item in the display configuration information into target content; and the configuration generation unit is used for generating layout configuration information aiming at the target display screen according to the modified display configuration information of the configuration unit.
In some embodiments, the apparatus further comprises an abnormality detection unit, an abnormality display unit (not shown in the figures). The abnormal detection unit is used for detecting the data output state of each data source corresponding to the target display screen and determining the data source corresponding to the abnormal data output state as an abnormal data source; and the abnormity display unit is used for displaying prompt information for indicating the abnormity output of the abnormal data source at a display position on the target display screen, which corresponds to the abnormal data source.
The device provided by this embodiment, first, when a selection operation for a target control in a layout configuration interface is detected, the target control is presented, where the target control includes a configuration unit. Then, display configuration information input for the configuration unit is received, wherein the display configuration information comprises the data source identification and display position information of the data source indicated by the data source identification on the target display screen. And finally, generating layout configuration information aiming at the target display screen according to the display configuration information of the configuration unit in the target control. When the data of the data source is displayed through the target display screen, the layout configuration information of the target display screen is generated through the display configuration information input by the user on the layout configuration interface, so that the target display screen displays data according to the display layout required by the user, the flexible setting of the display layout of the target display screen by the user can be realized, and the use requirement of the user on the target display screen can be met.
It should be understood that, in the structural block diagram of the display configuration apparatus 600 shown in fig. 6, each unit is used to execute each step in the embodiments corresponding to fig. 1, fig. 3, and fig. 4, and each step in the embodiments corresponding to fig. 1, fig. 3, and fig. 4 has been explained in detail in the above embodiments, and specific reference is made to the description in the embodiments corresponding to fig. 1, fig. 3, and fig. 4 and fig. 1, fig. 3, and fig. 4, and details of the description are not repeated here.
Referring to fig. 7, fig. 7 is a block diagram of an electronic device 700 according to an embodiment of the present disclosure, where the electronic device 700 of the embodiment includes: at least one processor 701 (only one processor is shown in fig. 7), a memory 702, and a computer program 703, such as a display configuration program, stored in the memory 702 and executable on the at least one processor 701. The steps in the embodiments of the respective display configuration methods described above are implemented when the processor 701 executes the computer program 703. The functions of the modules/units in the above-described apparatus embodiments, for example, the functions of the control presentation unit 601 to the information generation unit 603 shown in fig. 6, when the processor 701 executes the computer program 703.
Illustratively, the computer program 703 may be divided into one or more units, which are stored in the memory 702 and executed by the processor 701 to complete the present application. One or more of the elements may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program 703 in the electronic device 700. For example, the computer program 703 may be divided into a control presenting unit, an information receiving unit, and an information generating unit, and specific functions of each unit are described in the foregoing embodiments, and are not described herein again.
The electronic device 700 may be a computing device such as an electronic device, a desktop computer, a tablet computer, a cloud-side electronic device, and a mobile terminal. The electronic device 700 may include, but is not limited to, a processor 701, a memory 702. Those skilled in the art will appreciate that fig. 7 is merely an example of an electronic device 700 and does not constitute a limitation of electronic device 700 and may include more or fewer components than shown, or some of the components may be combined, or different components, e.g., an electronic device may also include input output devices, network access devices, buses, etc.
The Processor 701 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 702 may be an internal storage unit of the electronic device 700, such as a hard disk or a memory of the electronic device 700. The memory 702 may also be an external storage device of the electronic device 700, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), etc. provided on the electronic device 700. Alternatively, the memory 702 may include both internal storage units and external storage devices of the electronic device 700. The memory 702 is used for storing computer programs and other programs and data required by the turntable device. The memory 702 may also be used to temporarily store data that has been output or is to be output.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated module, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above may be implemented by the present application, or a computer program that can be executed by related hardware through a computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the steps of the embodiments of the methods described above may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A display configuration method, the method comprising:
when a selection operation for a target control in a layout configuration interface is detected, presenting the target control, wherein the target control comprises a configuration unit;
receiving display configuration information input by aiming at the configuration unit, wherein the display configuration information comprises a data source identifier and display position information of a data source indicated by the data source identifier on a target display screen;
and generating layout configuration information aiming at the target display screen according to the display configuration information of the configuration unit in the target control.
2. The display configuration method according to claim 1, wherein when there are a plurality of the configuration units, the method further comprises:
receiving scaling associated information, the scaling associated information comprising a plurality of associated target configuration units;
and writing the scaling associated information into the display configuration information of each target configuration unit.
3. The display configuration method according to claim 2, wherein the method further comprises:
when a zooming operation aiming at a target display area in the target display screen is detected, determining a zooming size corresponding to the zooming operation, and zooming the target display area and an associated display area associated with the target display area according to the zooming size;
and the associated display area is an area which corresponds to the configuration unit in the target display screen and is associated with the configuration unit in the target display area.
4. The display configuration method according to claim 1, characterized in that the method further comprises:
when the access of a target data source is detected, determining target display position information corresponding to the target data source according to the data source identification of the target data source and the layout configuration information;
and displaying the data in the target data source on the target display screen according to the target display position information.
5. The method according to claim 4, wherein the displaying data in the target data source on the target display screen according to the target display position information comprises:
and when the display configuration information further comprises filling mode information of a data source on the target display screen, displaying data in the target data source according to a filling mode corresponding to the target data source, wherein the filling mode indicated by the filling mode information comprises any one of full-screen filling, high-level filling and fixed filling.
6. The display configuration method according to claim 1, characterized in that the method further comprises:
when modification operation aiming at the configuration unit is detected, configuration modification information is received, wherein the configuration modification information comprises a target data item to be modified and target content corresponding to the target data item;
comparing each data item in the display configuration information of the configuration unit with the target data item, and modifying the content of the data item corresponding to the target data item in the display configuration information into the target content;
and generating layout configuration information aiming at the target display screen according to the modified display configuration information of the configuration unit.
7. The display configuration method according to any one of claims 1 to 6, characterized in that the method further comprises:
detecting the data output state of each data source corresponding to the target display screen, and determining the data source corresponding to the abnormal data output state as an abnormal data source;
and displaying prompt information for indicating that the abnormal data source outputs abnormity at a display position on the target display screen, wherein the display position corresponds to the abnormal data source.
8. A display configuration apparatus, comprising:
the control presenting unit is used for presenting a target control when a selection operation for the target control in a layout configuration interface is detected, wherein the target control comprises a configuration unit;
the information receiving unit is used for receiving display configuration information input by the configuration unit, wherein the display configuration information comprises a data source identifier and display position information of a data source indicated by the data source identifier on a target display screen;
and the information generating unit is used for generating layout configuration information aiming at the target display screen according to the display configuration information of the configuration unit in the target control.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the display configuration method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out a display configuration method according to any one of claims 1 to 7.
CN202211143392.8A 2022-09-20 2022-09-20 Display configuration method and device, electronic equipment and storage medium Pending CN115543155A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211143392.8A CN115543155A (en) 2022-09-20 2022-09-20 Display configuration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211143392.8A CN115543155A (en) 2022-09-20 2022-09-20 Display configuration method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115543155A true CN115543155A (en) 2022-12-30

Family

ID=84727350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211143392.8A Pending CN115543155A (en) 2022-09-20 2022-09-20 Display configuration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115543155A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199132A (en) * 2020-09-01 2021-01-08 北京声智科技有限公司 Page layout method and device
CN112256169A (en) * 2020-10-14 2021-01-22 北京达佳互联信息技术有限公司 Content display method and device, electronic equipment and storage medium
CN112434102A (en) * 2020-11-25 2021-03-02 深圳前海微众银行股份有限公司 Data visualization system for multiple data sources
CN114064786A (en) * 2021-10-18 2022-02-18 深圳价值在线信息科技股份有限公司 Data display method, data display device and server
CN114610201A (en) * 2022-02-24 2022-06-10 烽台科技(北京)有限公司 Interface display method and device, terminal equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199132A (en) * 2020-09-01 2021-01-08 北京声智科技有限公司 Page layout method and device
CN112256169A (en) * 2020-10-14 2021-01-22 北京达佳互联信息技术有限公司 Content display method and device, electronic equipment and storage medium
CN112434102A (en) * 2020-11-25 2021-03-02 深圳前海微众银行股份有限公司 Data visualization system for multiple data sources
CN114064786A (en) * 2021-10-18 2022-02-18 深圳价值在线信息科技股份有限公司 Data display method, data display device and server
CN114610201A (en) * 2022-02-24 2022-06-10 烽台科技(北京)有限公司 Interface display method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108900770B (en) Method and device for controlling rotation of camera, smart watch and mobile terminal
CN110070496B (en) Method and device for generating image special effect and hardware device
CN109298909B (en) Window adjusting method, mobile terminal and computer readable storage medium
KR20140031234A (en) Multi-input gestures in hierarchical regions
US20230206878A1 (en) Image obtaining method and apparatus, server, and electronic device
US20170300225A1 (en) Displaying application page of mobile terminal
CN110989877B (en) Message management method, related equipment and computer readable storage medium
CN109873980B (en) Video monitoring method and device and terminal equipment
WO2020061783A1 (en) Bendable electronic device and interface adaptation method thereof
CN112055156B (en) Preview image updating method and device, mobile terminal and storage medium
WO2024037415A1 (en) Screen mirroring content display method and apparatus, device and storage medium
CN110569097B (en) Information display method and device
CN112817555A (en) Volume control method and volume control device
CN115543155A (en) Display configuration method and device, electronic equipment and storage medium
WO2022194211A1 (en) Image processing method and apparatus, electronic device and readable storage medium
CN115599484A (en) Screen capturing method, screen capturing device, screen capturing equipment and computer storage medium
CN113852763B (en) Audio and video processing method and device, electronic equipment and storage medium
US20220345787A1 (en) Voice processing method and apparatus, electronic device, and computer readable storage medium
CN107621903B (en) Double-touch-screen equipment and response control method thereof
WO2020097799A1 (en) Terminal device and touch response control method therefor
CN110875875B (en) Electronic red packet message detection method and device and terminal equipment
CN114564267B (en) Information processing method, apparatus, electronic device and storage medium
WO2022183869A1 (en) Display method, terminal, and storage medium
CN114397991B (en) Sharing operation method and device and electronic equipment
CN112672196B (en) System and method for channel selection and image display

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