CN117666985A - Display interface control method and device, electronic equipment and storage medium - Google Patents

Display interface control method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN117666985A
CN117666985A CN202211027288.2A CN202211027288A CN117666985A CN 117666985 A CN117666985 A CN 117666985A CN 202211027288 A CN202211027288 A CN 202211027288A CN 117666985 A CN117666985 A CN 117666985A
Authority
CN
China
Prior art keywords
displayed
floating window
data
display
preset floating
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
CN202211027288.2A
Other languages
Chinese (zh)
Inventor
彭聪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202211027288.2A priority Critical patent/CN117666985A/en
Publication of CN117666985A publication Critical patent/CN117666985A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a control method and device of a display interface, electronic equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: receiving data to be displayed sent by a terminal device by utilizing a wireless communication technology; and displaying the data to be displayed in a preset floating window in a display interface of the current electronic equipment. Therefore, the received data to be displayed can be displayed in the preset floating window, namely, the cross-screen display can be realized through the preset floating window, and meanwhile, the original display picture is not influenced, so that the utilization rate of the display interface is improved, the control accuracy of the display interface is improved, and the user experience is improved.

Description

Display interface control method and device, electronic equipment and storage medium
Technical Field
The disclosure relates to the field of computer technologies, and in particular, to a control method and device for a display interface, an electronic device and a storage medium.
Background
With the development of computer technology, various electronic devices, such as a bracelet, a watch handset and a tablet, are used more and more widely, and interconnection and interworking between devices are more frequent. For example, the content in the mobile phone can be projected on the television, but the display interface of the television can only display the content of the mobile phone projected on the screen, and cannot display the interface content of the mobile phone. Thus, how to control the display interface is important.
Disclosure of Invention
The present disclosure aims to solve, at least to some extent, one of the technical problems in the related art.
An embodiment of a first aspect of the present disclosure provides a method for controlling a display interface, including:
receiving data to be displayed sent by a terminal device by utilizing a wireless communication technology;
and displaying the data to be displayed in a preset floating window in a display interface of the current electronic equipment.
Optionally, before the displaying the data to be displayed in the preset floating window in the display interface of the current electronic device, the method further includes:
determining a target shape corresponding to the preset floating window according to the screen attribute information of the terminal equipment contained in the data to be displayed;
and displaying the preset floating window in a display interface of the current electronic equipment based on the target shape.
Optionally, before the displaying the data to be displayed in the preset floating window in the display interface of the current electronic device, the method further includes:
determining a target size corresponding to the preset floating window according to the data volume of the data to be displayed;
and displaying the preset floating window in a display interface of the current electronic equipment based on the target size.
Optionally, before the displaying the data to be displayed in the preset floating window in the display interface of the current electronic device, the method further includes:
under the condition that data to be displayed, which are respectively sent by a plurality of terminal devices, are received, determining a preset floating window and a target display area corresponding to each piece of data to be displayed based on the type of each piece of terminal device;
and displaying the preset floating window in the target display area of the display interface of the current electronic equipment.
Optionally, the method further comprises:
under the condition that a display picture exists in any preset floating window and a large screen display instruction aiming at any preset floating window is received, the display picture in any preset floating window is sent to other terminal equipment; or,
and under the condition that a display picture exists in any preset floating window and a large screen display instruction aiming at any preset floating window is received, amplifying any preset floating window in a display interface of the current electronic equipment.
Optionally, the data to be displayed sent by the receiving terminal device by using a wireless communication technology includes:
under the condition that a display request sent by the terminal equipment is received, analyzing the request to determine the identification of the terminal equipment;
and receiving data to be displayed, which is sent by the terminal equipment by using a wireless communication technology, under the condition that the identification is legal.
Optionally, after the receiving terminal device sends the data to be displayed by using the wireless communication technology, the method further includes:
displaying an original display picture in a display interface of the current electronic equipment in the preset floating window;
and displaying the data to be displayed on a display interface of the current electronic equipment.
An embodiment of a second aspect of the present disclosure provides a control device for a display interface, including:
the receiving module is used for receiving data to be displayed sent by the terminal equipment by utilizing a wireless communication technology;
and the display module is used for displaying the data to be displayed in a preset floating window in the display interface of the current electronic equipment.
Optionally, the display module is further configured to:
determining a target shape corresponding to the preset floating window according to the screen attribute information of the terminal equipment contained in the data to be displayed;
and displaying the preset floating window in a display interface of the current electronic equipment based on the target shape.
Optionally, the display module is further configured to:
determining a target size corresponding to the preset floating window according to the data volume of the data to be displayed;
and displaying the preset floating window in a display interface of the current electronic equipment based on the target size.
Optionally, the display module is further configured to:
under the condition that data to be displayed, which are respectively sent by a plurality of terminal devices, are received, determining a preset floating window and a target display area corresponding to each piece of data to be displayed based on the type of each piece of terminal device;
and displaying the preset floating window in the target display area of the display interface of the current electronic equipment.
Optionally, the method further comprises:
the sending module is used for sending the display picture in any preset floating window to other terminal equipment under the condition that the display picture exists in any preset floating window and a large screen display instruction aiming at the any preset floating window is received;
the control module is used for amplifying any preset floating window in a display interface of the current electronic equipment under the condition that a display picture exists in any preset floating window and a large screen display instruction aiming at any preset floating window is received.
Optionally, the receiving module is specifically configured to:
under the condition that a display request sent by the terminal equipment is received, analyzing the request to determine the identification of the terminal equipment;
and receiving data to be displayed, which is sent by the terminal equipment by using a wireless communication technology, under the condition that the identification is legal.
Optionally, the display module is further configured to:
displaying an original display picture in a display interface of the current electronic equipment in the preset floating window;
and displaying the data to be displayed on a display interface of the current electronic equipment.
An embodiment of a third aspect of the present disclosure provides an electronic device, including: a processor; a memory for storing executable instructions of the processor; the processor is configured to call and execute the executable instructions stored in the memory, so as to implement the control method of the display interface provided by the embodiment of the first aspect of the disclosure.
An embodiment of a fourth aspect of the present disclosure proposes a non-transitory computer-readable storage medium, which, when executed by a processor of an electronic device, enables the electronic device to perform the control method of the display interface proposed by the embodiment of the first aspect of the present disclosure.
An embodiment of a fifth aspect of the present disclosure proposes a computer program product, which, when executed by a processor of an electronic device, enables the electronic device to perform the control method of a display interface proposed by the embodiment of the first aspect of the present disclosure.
The control method, the control device, the electronic equipment and the storage medium of the display interface can firstly receive the data to be displayed, which are sent by the terminal equipment through the wireless communication technology, and then display the data to be displayed in a preset floating window in the display interface of the current electronic equipment. Therefore, the received data to be displayed can be displayed in the preset floating window, namely, the cross-screen display can be realized through the preset floating window, and meanwhile, the original display picture is not influenced, so that the utilization rate of the display interface is improved, the control accuracy of the display interface is improved, and the user experience is improved.
Additional aspects and advantages of the disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the disclosure.
Drawings
FIG. 1 is a flow chart of a method of controlling a display interface according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of a method of controlling a display interface according to an embodiment of the present disclosure;
FIG. 3 is a flow chart of a method of controlling a display interface according to an embodiment of the present disclosure;
fig. 4 is a schematic structural view of a control device of a display interface according to an embodiment of the present disclosure;
fig. 5 is a schematic structural view of an electronic device according to an embodiment of the present disclosure.
Detailed Description
Embodiments of the present disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are exemplary and intended for the purpose of explaining the present disclosure and are not to be construed as limiting the present disclosure.
Control methods, devices, electronic equipment and storage media of display interfaces according to embodiments of the present disclosure are described below with reference to the accompanying drawings.
The control method of the display interface in the embodiment of the disclosure may be executed by the control device of the display interface provided in the embodiment of the disclosure, where the device may be configured in an electronic device. For convenience of explanation, in the present disclosure, a control device of a display interface will be simply referred to as a "control device".
Fig. 1 is a flow chart of a control method of a display interface according to an embodiment of the disclosure.
As shown in fig. 1, the control method of the display interface may include the following steps:
step 101, receiving data to be displayed sent by a terminal device by using a wireless communication technology.
The terminal device may be an electronic device configured with a display screen, such as a smart watch, a smart bracelet, a mobile phone, a tablet, etc., which is not limited in this disclosure.
The wireless communication technology may be various, for example, bluetooth communication technology, near field communication technology (near field communication, NFC), ultra Wide Band (UWB) communication technology, wireless fidelity technology (wireless fidelity, wiFi), and the like, which is not limited in this disclosure.
For example, in the case that the terminal device is a "bracelet", and the current electronic device is a "mobile phone", if both are connected to the wireless network "111", the current electronic device "mobile phone" may receive data to be displayed sent by the terminal device "bracelet" through the wireless network "111". Or if the terminal device is a "mobile phone", and the current electronic device is a "tablet computer", both of which are connected to the wireless network "XXX", the current electronic device "tablet computer" may receive data to be displayed sent by the terminal device "mobile phone" through the wireless network "XXX", and so on. Or, in the case that the terminal device is a "bracelet", and the current electronic device is a "mobile phone", then the current electronic device "mobile phone" may receive data to be displayed sent by the terminal device "bracelet" using the bluetooth communication technology, and so on. The present disclosure is not limited in this regard. Optionally, the data to be displayed may be any one of the following: notification messages, movement data, device status information, and home screen interface.
For example, the data to be displayed may be a notification message, such as a notification message that may be sent by the terminal device to the current electronic device, or the like. Or, the data to be displayed may be motion data, for example, in the case that the terminal device is a smart bracelet, the data to be displayed may be received motion data, for example, may be "step number: 2100 steps, heartbeat: 75 times/min). Or, the data to be displayed may be device status information, for example, may be current power prompt information of the terminal device, for example, "10%", "21%", etc. Alternatively, the data to be displayed may be a main screen display interface, for example, if the terminal device is a smart bracelet, the data to be displayed may be a screen display interface of the smart bracelet, etc., which is not limited in this disclosure.
Optionally, the display request may be parsed when the display request sent by the terminal device is received, so as to determine the identifier of the terminal device, and when the identifier of the terminal device is a legal identifier, the data to be displayed sent by the terminal device by using the wireless communication technology is received.
The display request may include an identifier of the terminal device, so that after the display request sent by the terminal device is received, the identifier of the terminal device included in the display request may be determined by analyzing the display request, which is not limited in this disclosure.
In addition, the pattern or presentation form of the identification of the terminal device may be set in advance, for example, may be the terminal device 1, the terminal device a, or the like, which is not limited by the present disclosure.
Optionally, a data table may be set in advance, so that after determining the identifier of the terminal device, a traversal search may be performed in the data table, if the data table includes the identifier of the terminal device, it may be determined that the identifier of the terminal device is a legal identifier, and when the terminal device sends the data to be displayed, the control device may receive the data to be displayed sent by the terminal device by using a wireless communication technology, which is not limited in the disclosure.
Step 102, displaying the data to be displayed in a preset floating window in the display interface of the current electronic device.
The floating window may be a window that floats on the display interface and may also be referred to as a "widget", which is not limited in this disclosure.
In addition, the number of the preset floating windows may be one, or may be plural, and in the case that the number of the preset floating windows is plural, the plural floating windows may be in the same floating layer, or may be in different floating layers, or the like, which is not limited in the present disclosure.
For example, when the terminal device is a smart watch and the control device is disposed inside the mobile phone, the control device receives the "step number" of the data to be displayed "sent by the smart bracelet: 1200", the step number can be displayed in a preset floating window of the display interface of the mobile phone of the current electronic device: 1200". At this time, the display content of the mobile phone can be further displayed in the display interface, for example, when receiving the data to be displayed sent by the smart bracelet, the mobile phone plays the video, and then the step number is displayed in the preset suspension window: 1200", video may also continue to be played on the display interface, etc., which is not limited by the present disclosure.
It can be understood that after receiving the data to be displayed sent by the terminal device, the control device may display the data to be displayed in a preset floating window in the display interface of the current electronic device, and relay and display the original picture data in the display interface. Therefore, the display of the original picture data of the terminal equipment can be realized, the received data to be displayed of the terminal equipment can be displayed through the floating window, namely, the cross-screen display can be realized through the floating window, and meanwhile, the original display picture cannot be influenced, so that the utilization rate of a display interface is improved, the control accuracy of the display interface is improved, and meanwhile, good experience can be given to a user.
According to the embodiment of the disclosure, the data to be displayed, which is sent by the terminal equipment through the wireless communication technology, can be received first, and then the data to be displayed can be displayed in the preset floating window in the display interface of the current electronic equipment. Therefore, the received data to be displayed can be displayed in the preset floating window, namely, the cross-screen display can be realized through the preset floating window, and meanwhile, the original display picture is not influenced, so that the utilization rate of the display interface is improved, the control accuracy of the display interface is improved, and the user experience is improved.
Fig. 2 is a flowchart illustrating a control method of a display interface according to an embodiment of the disclosure. As shown in fig. 2, the control method of the display interface may include the following steps:
in step 201, data to be displayed, which is transmitted by the terminal device using the wireless communication technology, is received.
Step 202, determining a target shape corresponding to a preset floating window according to screen attribute information of terminal equipment contained in data to be displayed.
The screen attribute information may be information such as a shape and a size of a screen, which is not limited in the present disclosure.
For example, if the screen attribute information of the terminal device included in the data to be displayed is determined by analyzing the data to be displayed, the screen attribute information is: the screen is rectangular, the length-width ratio is 4:3, and then the target shape corresponding to the preset floating window can be determined as follows: rectangular with an aspect ratio of 4:3, etc.
Or if the data to be displayed is analyzed, determining that the screen attribute information of the terminal equipment contained in the data to be displayed is: a circle with a radius of 1.5 cm, then the target shape corresponding to the preset levitation window can be determined as: a circle with a radius of 1.5 cm, etc.
Note that the above examples are only illustrative, and are not to be construed as limiting the screen attribute information and the like in the embodiments of the present disclosure.
Step 203, displaying a preset floating window in the display interface of the current electronic device based on the target shape.
After determining the target shape, the preset floating window can be displayed in the display interface of the current electronic device in the target shape. For example, if the target shape is rectangular, the preset floating window displayed in the display interface of the current electronic device may be rectangular; or if the target shape is circular, the preset floating window displayed in the display interface of the current electronic device may be circular, and the disclosure is not limited thereto.
Therefore, in the embodiment of the disclosure, the target shape corresponding to the preset floating window can be determined based on the screen attribute information of the terminal equipment, and the preset floating window is displayed in the target shape in the display interface of the current electronic equipment, so that the consistency of the preset floating window and the screen display of the terminal equipment can be ensured as much as possible, and the user experience is improved.
Optionally, the target size corresponding to the preset floating window may be determined according to the data amount of the data to be displayed, and then the preset floating window is displayed in the display interface of the current electronic device based on the target size.
The size of the preset floating window may be the same or may be different, which is not limited in this disclosure.
Optionally, a corresponding relationship between the data amount and the size of the floating window may be set in advance, and then, based on the data amount of the data to be displayed, the target size of the corresponding preset floating window may be determined.
For example, when the data amount is within 20 bytes, the size of the corresponding floating window may be 1/4 of the display interface of the current electronic device; when the data amount is 20-100 bytes, the size of the corresponding floating window can be 1/3 of the display interface of the current electronic device, and when the data amount is 100-200 bytes, the size of the corresponding floating window can be 1/2 of the display interface of the current electronic device, and the like. If the current data size of the data to be displayed is 72 bytes, the target size corresponding to the preset floating window can be determined as follows: 1/3 of the display interface. The preset floating window may then be displayed in a display interface of the current electronic device based on the target size corresponding to the preset floating window, and the disclosure is not limited in this regard.
Optionally, the size of the preset floating window may be set in advance, and then attribute information of the data to be displayed may be adjusted according to the data amount of the data to be displayed, for example, font size, color, or display position of the data to be displayed in the preset floating window may be adjusted, which is not limited in this disclosure.
Step 204, displaying the data to be displayed in a preset floating window in the display interface of the current electronic device.
According to the embodiment of the disclosure, data to be displayed, which is sent by a terminal device through a wireless communication technology, can be received first, then a target shape corresponding to a preset floating window can be determined according to screen attribute information of the terminal device contained in the data to be displayed, then the preset floating window is displayed in a display interface of the current electronic device based on the target shape, and then the data to be displayed can be displayed in the preset floating window in the display interface of the current electronic device. Therefore, the data to be displayed can be analyzed to determine the target shape corresponding to the preset floating window according to the screen attribute information of the terminal equipment, the preset floating window is displayed in the target shape in the display interface, and then the data to be displayed is displayed through the preset floating window, so that the preset floating window can be adjusted according to the screen attribute information of the terminal equipment, cross-screen display is realized through the preset floating window, and meanwhile, the original display picture is not influenced, so that the utilization rate of the display interface is improved, and the accuracy and the flexibility of the control of the display interface are also improved.
Fig. 3 is a flowchart illustrating a control method of a display interface according to an embodiment of the disclosure. As shown in fig. 3, the control method of the display interface may include the following steps:
in step 301, data to be displayed, which is sent by the terminal device using a wireless communication technology, is received.
It should be noted that, the specific content and implementation manner of step 301 may refer to the descriptions of other embodiments of the present disclosure, and will not be repeated herein.
Step 302, under the condition that data to be displayed sent by a plurality of terminal devices respectively are received, determining a preset floating window and a target display area corresponding to each data to be displayed based on the type of each terminal device.
It can be appreciated that the types of the terminal devices are different, and the corresponding preset suspension windows may be the same or may be different; the plurality of preset levitation windows may be located in different areas of the same levitation layer, or may also be located in different levitation layers, etc., which is not limited in this disclosure.
Step 303, displaying a preset floating window in a target display area of a display interface of the current electronic device.
For example, the data to be displayed 1 sent by the smart band and the data to be displayed 2 sent by the smart watch are received at the same time. If the corresponding relation between each terminal device and the preset floating window and the display area is set in advance, the corresponding relation can be searched through traversal based on the type of the terminal device so as to determine the corresponding preset floating window and the target display area. For example, after traversing and searching the corresponding relation, determining that the preset floating windows corresponding to the intelligent bracelet and the intelligent watch are located on the same floating layer, and the target display area of the preset floating window corresponding to the intelligent bracelet is: the left half part of the suspension layer, the target display area of the preset suspension window corresponding to the intelligent watch is: the right half of the suspension layer. The preset floating window corresponding to the smart bracelet can be displayed on the left half part of the floating layer of the display interface of the current electronic device, the preset floating window corresponding to the smart watch can be displayed on the right half part of the floating layer of the display interface, and the like.
Or receiving the data to be displayed 1 sent by the smart bracelet and the data to be displayed 2 sent by the mobile phone in continuous time. If the corresponding relation between each terminal device and the preset suspension window and display area is searched through traversal, determining that the intelligent bracelet corresponds to: the preset floating window 1 and the target display area are as follows: a 1 st suspension layer in the display interface; the mobile phone corresponds to: the preset floating window 2 and the target display area are: and displaying a 2 nd suspending layer in the interface. The preset hover window 1 may be displayed in the layer 1 hover layer of the display interface of the current electronic device, the preset hover window 2 may be displayed in the layer 2 hover layer of the display interface of the current electronic device, and so on.
It should be noted that the foregoing examples are only illustrative, and are not intended to limit the correspondence between the types of the terminal devices and the preset floating window and the target display area in the embodiments of the present disclosure.
And 304, displaying the data to be displayed in a preset floating window in the display interface of the current electronic equipment.
It can be understood that after the preset floating windows and the target display areas corresponding to the terminal devices are determined, each preset floating window can be displayed in the target display area of the display interface of the current electronic device, so that the data to be displayed of each terminal device can be displayed in the corresponding preset floating window, and the accuracy and the reliability of displaying the data to be displayed are ensured.
Optionally, when a display screen exists in any one of the preset floating windows and a large screen display instruction for any one of the preset floating windows is received, the display screen in any one of the preset floating windows may be sent to other terminal devices.
The instruction for displaying the large screen may be an instruction triggered by the user through the terminal device, or may also be triggered by other manners, such as through voice, a control, a button, etc., which is not limited in this disclosure.
In addition, the other terminal device may be other terminal devices including a larger display screen. For example, if the control device is configured in a mobile phone, the other terminal device may be a tablet computer, a television, or the like, which is not limited in this disclosure.
It can be understood that the display screen existing in any preset floating window may be the data to be displayed of the received terminal device, or may also be the display screen of the electronic device itself where the control device is located, etc., which is not limited in this disclosure.
For example, if the electronic device in which the current control apparatus is located is a mobile phone, a display screen exists in any preset floating window 1 of the mobile phone, and a large screen display instruction for any preset floating window 1 is received, the display screen in any preset floating window 1 may be sent to other terminal devices, such as a tablet computer, so that the display screen may be displayed in the tablet computer, which is not limited in this disclosure.
Optionally, under the condition that a display picture exists in any one preset floating window and a large screen display instruction aiming at any one preset floating window is received, any one preset floating window is enlarged in a display interface of the current electronic device, so that the display picture can be displayed in any one enlarged preset floating window, and the display picture can be displayed more clearly and intuitively.
Optionally, after receiving the data to be displayed sent by the terminal device by using the wireless communication technology, an original display screen in the display interface of the current electronic device is displayed in the preset floating window, and the data to be displayed is displayed in the display interface of the current electronic device.
For example, if the original display screen of the display interface of the current electronic device is: video 1, then after receiving the data 1 to be displayed sent by the smart watch, the original display screen in the display interface can be displayed in a preset floating window: video 1, and displaying the data 1 to be displayed, etc., in the display interface of the current electronic device, which is not limited by the present disclosure.
Therefore, in the embodiment of the disclosure, the cross-screen display can be realized by presetting the floating window, so that the flexibility and accuracy of the control of the display interface are improved.
According to the embodiment of the disclosure, data to be displayed, which are sent by a terminal device through a wireless communication technology, can be received first, under the condition that the data to be displayed, which are sent by a plurality of terminal devices respectively, are received, a preset floating window and a target display area corresponding to each data to be displayed are determined based on the type of each terminal device, then the preset floating window can be displayed in the target display area of the display interface of the current electronic device, and the data to be displayed is displayed in the preset floating window in the display interface of the current electronic device. Therefore, the preset floating window and the target display area corresponding to each piece of data to be displayed can be determined based on the type of the terminal equipment sending the data to be displayed, the corresponding preset floating window can be displayed in the target display area, and the corresponding data to be displayed is displayed in the preset floating window, so that the cross-screen display of the data to be displayed of a plurality of terminal equipment can be realized, the influence on the original display picture is avoided, the accuracy and the flexibility of the control of the display interface are improved, and the user experience is improved.
The embodiment of the disclosure also provides a control device of the display interface, and fig. 4 is a schematic structural diagram of the control device of the display interface according to the embodiment of the disclosure.
As shown in fig. 4, the control device 100 of the display interface includes: the receiving module 110 and the displaying module 120.
The receiving module 110 is configured to receive data to be displayed sent by the terminal device using a wireless communication technology.
And the display module 120 is used for displaying the data to be displayed in a preset floating window in the display interface of the current electronic device.
Optionally, the display module 120 is further configured to:
determining a target shape corresponding to the preset floating window according to the screen attribute information of the terminal equipment contained in the data to be displayed;
and displaying the preset floating window in a display interface of the current electronic equipment based on the target shape.
Optionally, the display module 120 is further configured to:
determining a target size corresponding to the preset floating window according to the data volume of the data to be displayed;
and displaying the preset floating window in a display interface of the current electronic equipment based on the target size.
Optionally, the display module 120 is further configured to:
under the condition that data to be displayed, which are respectively sent by a plurality of terminal devices, are received, determining a preset floating window and a target display area corresponding to each piece of data to be displayed based on the type of each piece of terminal device;
and displaying the preset floating window in the target display area of the display interface of the current electronic equipment.
Optionally, the method further comprises:
the sending module is used for sending the display picture in any preset floating window to other terminal equipment under the condition that the display picture exists in any preset floating window and a large screen display instruction aiming at the any preset floating window is received;
the control module is used for amplifying any preset floating window in a display interface of the current electronic equipment under the condition that a display picture exists in any preset floating window and a large screen display instruction aiming at any preset floating window is received.
Optionally, the receiving module 110 is specifically configured to:
under the condition that a display request sent by the terminal equipment is received, analyzing the request to determine the identification of the terminal equipment;
and receiving data to be displayed, which is sent by the terminal equipment by using a wireless communication technology, under the condition that the identification is legal.
Optionally, the display module 120 is further configured to:
displaying an original display picture in a display interface of the current electronic equipment in the preset floating window;
and displaying the data to be displayed on a display interface of the current electronic equipment.
The functions and specific implementation principles of the foregoing modules in the embodiments of the present disclosure may refer to the foregoing method embodiments, and are not repeated herein.
The control device for the display interface of the embodiment of the disclosure may first receive data to be displayed sent by the terminal device by using a wireless communication technology, and then may display the data to be displayed in a preset floating window in the display interface of the current electronic device. Therefore, the received data to be displayed can be displayed in the preset floating window, namely, the cross-screen display can be realized through the preset floating window, and meanwhile, the original display picture is not influenced, so that the utilization rate of the display interface is improved, the control accuracy of the display interface is improved, and the user experience is improved.
Fig. 5 is a block diagram of an electronic device according to an embodiment of the present disclosure.
As shown in fig. 5, the electronic device 200 includes: memory 210 and processor 220, bus 230 connecting the different components, including memory 210 and processor 220.
Wherein the memory 210 is used to store executable instructions of the processor 220; the processor 201 is configured to invoke and execute executable instructions stored in the memory 202 to implement the control method of the display interface proposed in the above embodiment of the present disclosure.
Bus 230 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Electronic device 200 typically includes a variety of electronic device readable media. Such media can be any available media that is accessible by electronic device 200 and includes both volatile and nonvolatile media, removable and non-removable media.
Memory 210 may also include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 240 and/or cache memory 250. The electronic device 200 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 260 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive"). Although not shown in fig. 5, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 230 via one or more data medium interfaces. Memory 210 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of the various embodiments of the disclosure.
Program/utility 280 having a set (at least one) of program modules 270 may be stored in, for example, memory 210, such program modules 270 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 270 generally perform the functions and/or methods in the embodiments described in this disclosure.
The electronic device 200 may also communicate with one or more external devices 290 (e.g., keyboard, pointing device, display 291, etc.), one or more devices that enable a user to interact with the electronic device 200, and/or any device (e.g., network card, modem, etc.) that enables the electronic device 200 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 292. Also, electronic device 200 may communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet, through network adapter 293. As shown, network adapter 293 communicates with other modules of electronic device 200 over bus 230. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with electronic device 200, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processor 220 executes various functional applications and data processing by running programs stored in the memory 210.
It should be noted that, the implementation process of the electronic device in the embodiment of the present disclosure refers to the foregoing explanation of the control method of the display interface in the embodiment of the present disclosure, and will not be repeated herein.
The electronic device of the embodiment of the disclosure may first receive data to be displayed sent by the terminal device by using a wireless communication technology, and then may display the data to be displayed in a preset floating window in a display interface of the current electronic device. Therefore, the received data to be displayed can be displayed in the preset floating window, namely, the cross-screen display can be realized through the preset floating window, and meanwhile, the original display picture is not influenced, so that the utilization rate of the display interface is improved, the control accuracy of the display interface is improved, and the user experience is improved.
In order to implement the above-described embodiments, the embodiments of the present disclosure also propose a non-transitory computer-readable storage medium, instructions in which, when executed by a processor of an electronic device, enable the electronic device to execute the control method of the display interface as described above.
In order to implement the above-described embodiments, the embodiments of the present disclosure also provide a computer program product that, when executed by a processor of an electronic device, enables the electronic device to perform the control method of a display interface as described above.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any adaptations, uses, or adaptations of the disclosure following the general principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (18)

1. A control method of a display interface, comprising:
receiving data to be displayed sent by a terminal device by utilizing a wireless communication technology;
and displaying the data to be displayed in a preset floating window in a display interface of the current electronic equipment.
2. The method of claim 1, further comprising, prior to the displaying the data to be displayed in the preset floating window in the display interface of the current electronic device:
determining a target shape corresponding to the preset floating window according to the screen attribute information of the terminal equipment contained in the data to be displayed;
and displaying the preset floating window in a display interface of the current electronic equipment based on the target shape.
3. The method of claim 1, further comprising, prior to the displaying the data to be displayed in the preset floating window in the display interface of the current electronic device:
determining a target size corresponding to the preset floating window according to the data volume of the data to be displayed;
and displaying the preset floating window in a display interface of the current electronic equipment based on the target size.
4. The method of claim 1, further comprising, prior to the displaying the data to be displayed in the preset floating window in the display interface of the current electronic device:
under the condition that data to be displayed, which are respectively sent by a plurality of terminal devices, are received, determining a preset floating window and a target display area corresponding to each piece of data to be displayed based on the type of each piece of terminal device;
and displaying the preset floating window in the target display area of the display interface of the current electronic equipment.
5. The method as recited in claim 1, further comprising:
under the condition that a display picture exists in any preset floating window and a large screen display instruction aiming at any preset floating window is received, the display picture in any preset floating window is sent to other terminal equipment; or,
and under the condition that a display picture exists in any preset floating window and a large screen display instruction aiming at any preset floating window is received, amplifying any preset floating window in a display interface of the current electronic equipment.
6. The method according to any one of claims 1-5, wherein the receiving the data to be displayed sent by the terminal device using a wireless communication technology comprises:
under the condition that a display request sent by the terminal equipment is received, analyzing the request to determine the identification of the terminal equipment;
and receiving data to be displayed, which is sent by the terminal equipment by using a wireless communication technology, under the condition that the identification is legal.
7. The method according to any one of claims 1-5, further comprising, after the receiving terminal device transmits the data to be displayed using a wireless communication technology:
displaying an original display picture in a display interface of the current electronic equipment in the preset floating window;
and displaying the data to be displayed on a display interface of the current electronic equipment.
8. The method of any of claims 1-5, wherein the data to be displayed is any of: notification messages, movement data, device status information, and home screen interface.
9. A control device for a display interface, comprising:
the receiving module is used for receiving data to be displayed sent by the terminal equipment by utilizing a wireless communication technology;
and the display module is used for displaying the data to be displayed in a preset floating window in the display interface of the current electronic equipment.
10. The apparatus of claim 9, wherein the display module is further to:
determining a target shape corresponding to the preset floating window according to the screen attribute information of the terminal equipment contained in the data to be displayed;
and displaying the preset floating window in a display interface of the current electronic equipment based on the target shape.
11. The apparatus of claim 9, wherein the display module is further to:
determining a target size corresponding to the preset floating window according to the data volume of the data to be displayed;
and displaying the preset floating window in a display interface of the current electronic equipment based on the target size.
12. The apparatus of claim 9, wherein the display module is further to:
under the condition that data to be displayed, which are respectively sent by a plurality of terminal devices, are received, determining a preset floating window and a target display area corresponding to each piece of data to be displayed based on the type of each piece of terminal device;
and displaying the preset floating window in the target display area of the display interface of the current electronic equipment.
13. The apparatus as recited in claim 9, further comprising:
the sending module is used for sending the display picture in any preset floating window to other terminal equipment under the condition that the display picture exists in any preset floating window and a large screen display instruction aiming at the any preset floating window is received;
the control module is used for amplifying any preset floating window in a display interface of the current electronic equipment under the condition that a display picture exists in any preset floating window and a large screen display instruction aiming at any preset floating window is received.
14. The apparatus according to any of the claims 9-13, wherein the receiving module is specifically configured to:
under the condition that a display request sent by the terminal equipment is received, analyzing the request to determine the identification of the terminal equipment;
and receiving data to be displayed, which is sent by the terminal equipment by using a wireless communication technology, under the condition that the identification is legal.
15. The apparatus of any one of claims 9-13, wherein the display module is further to:
displaying an original display picture in a display interface of the current electronic equipment in the preset floating window;
and displaying the data to be displayed on a display interface of the current electronic equipment.
16. The apparatus according to any of claims 9-13, wherein the data to be displayed is any of: notification messages, movement data, device status information, and home screen interface.
17. An electronic device, comprising:
a processor;
a memory for storing executable instructions of the processor;
wherein the processor is configured to invoke and execute the executable instructions stored in the memory to implement the method of controlling a display interface according to any of claims 1-8.
18. A non-transitory computer readable storage medium, which when executed by a processor of an electronic device, causes the electronic device to perform the control method of a display interface of any of claims 1-8.
CN202211027288.2A 2022-08-25 2022-08-25 Display interface control method and device, electronic equipment and storage medium Pending CN117666985A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211027288.2A CN117666985A (en) 2022-08-25 2022-08-25 Display interface control method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211027288.2A CN117666985A (en) 2022-08-25 2022-08-25 Display interface control method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117666985A true CN117666985A (en) 2024-03-08

Family

ID=90066720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211027288.2A Pending CN117666985A (en) 2022-08-25 2022-08-25 Display interface control method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117666985A (en)

Similar Documents

Publication Publication Date Title
CN109618177B (en) Video processing method and device, electronic equipment and computer readable storage medium
US20220053068A1 (en) Methods, apparatuses and computer storage media for applet state synchronization
WO2021218751A1 (en) Cloud phone-based media data processing method and terminal device
US20220094758A1 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
WO2021169236A1 (en) Rendering method and apparatus
US20210250322A1 (en) Method and apparatus for prompting message reading state, and electronic device
CN112363785A (en) Terminal display method, terminal and computer readable storage medium
CN113313804B (en) Image rendering method and device, electronic equipment and storage medium
CN111459586A (en) Remote assistance method, device, storage medium and terminal
CN112437318A (en) Content display method, device and system and storage medium
CN111880879A (en) Playing method, device, equipment and storage medium of dynamic wallpaper
CN109753262B (en) Frame display processing method and device, terminal equipment and storage medium
CN112394900A (en) Vehicle-mounted music system control method and device and electronic equipment
CN108132767B (en) Application window preview method and system
WO2022252977A1 (en) Screen projection method, storage medium, and communication device
CN117666985A (en) Display interface control method and device, electronic equipment and storage medium
CN112714331B (en) Information prompting method and device, storage medium and electronic equipment
CN112367295B (en) Plug-in display method and device, storage medium and electronic equipment
CN113596086A (en) Method and system for controlling GIS large-screen visualization application based on scene configuration
CN111949150A (en) Method and device for controlling peripheral switching, storage medium and electronic equipment
CN107390981B (en) Global menu control method, device, equipment and storage medium
CN112291602A (en) Video playing method, electronic equipment and storage medium
CN113950043A (en) Communication method, communication apparatus, storage medium, and terminal
CN116069433B (en) Image drifting method and system based on virtual desktop infrastructure and action recognition
CN114125048B (en) Message push setting method and device, storage medium and electronic equipment

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