Screen projection brightness control method, device, storage medium and screen projection device

By monitoring the user operation of the first electronic device in real time and reading the operation data of the application to be projected, the screen brightness parameters of the second electronic device are determined, and the problems of unstable screen projection signal and screen out are solved, and stable and continuous screen projection data playback are achieved.

CN114428599BActive Publication Date: 2025-03-07SHENZHEN SKYWORTH RGB ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210113750.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-30
Publication Date
2025-03-07
Estimated Expiration
2042-01-30

AI Technical Summary

Technical Problem

In the prior art, the signal is unstable when the user casts the screen, resulting in interruption of video or audio playback. When the first electronic device is turned off, the second electronic device will also turn off the screen and cannot play normally.

Method used

By monitoring the user operation of the first electronic device in real time, reading the operation data of the application to be projected, acquiring the application type, and determining the screen brightness parameters of the second electronic device according to the application type, sending them to the second electronic device to adjust the brightness to ensure the normal display of the projected data.

Benefits of technology

It realizes that the screen brightness of the second electronic device is automatically adjusted when the first electronic device is accessed and the user operates, avoiding signal interruption and screen out problems, and ensuring stable playback of screen projection data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114428599B_ABST
    Figure CN114428599B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of data screen projection, and discloses a screen projection brightness control method, device, storage medium and screen projector. The present invention monitors the user operation in the first electronic device in real time when the first electronic device is detected to be connected; when the user is detected to select the application to be projected, reads the running data in the application to be projected to obtain the data to be projected; obtains the application type corresponding to the application to be projected, and determines the screen brightness parameter of the second electronic device according to the application type; sends the data to be projected and the screen brightness parameter to the second electronic device, so that the second electronic device adjusts the screen brightness according to the screen brightness parameter, and projects the data to be projected. Since the image is not directly synchronized during screen projection, but the running data in the application to be projected is read, and the screen brightness parameter is controlled separately from the data to be projected, even if the screen of the first electronic device is turned off, it will not affect the screen projection display in the second electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data screen projection technology, and in particular to a screen projection brightness control method, device, storage medium and screen projector. Background Art

[0002] As an indispensable device in the home, the use scenarios of TV are gradually diversified. With the advancement of technology, the overall audio and video level of TV has improved, and the sound quality and picture quality are extremely high, which makes a large number of users choose to use screen projection technology to play audio or video on TV. Nowadays, when users use screen projection technology, they usually use mobile phones or computers to project screens wirelessly or via Bluetooth, transmit the audio or video in devices such as mobile phones or computers to the TV, and play them on the large screen of the TV. However, this method is prone to unexpected situations: when the Bluetooth or network signal is unstable, it is very easy to cause the video or audio playback to be interrupted; when using screen projection to play audio or video, if the user leaves the device and the device screen goes off, the TV end will also go off synchronously, and the audio or video cannot be played normally.

[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of the present invention is to provide a screen projection brightness control method, device, storage medium and screen projector, aiming to solve the technical problem of unstable screen projection by users in the prior art, which causes interruption of audio and video playback in the second electronic device.

[0005] To achieve the above object, the present invention provides a method for controlling screen projection brightness, the method comprising the following steps:

[0006] When detecting that a first electronic device is connected, monitoring user operations in the first electronic device in real time;

[0007] When it is detected that the user selects an application to be projected, the running data in the application to be projected is read to obtain the data to be projected;

[0008] Obtaining an application type corresponding to the application program to be projected, and determining a screen brightness parameter of the second electronic device according to the application type;

[0009] The screen data to be projected and the screen brightness parameter are sent to the second electronic device, so that the second electronic device adjusts the screen brightness according to the screen brightness parameter and projects and displays the screen data to be projected.

[0010] Optionally, the step of obtaining the application type corresponding to the application to be projected includes:

[0011] Detect whether the application to be projected has a corresponding preset type tag;

[0012] If there is a corresponding preset type tag, obtain the preset type tag corresponding to the application to be projected;

[0013] According to the preset type tag, the application type corresponding to the application to be projected is searched in the preset tag type mapping table.

[0014] Optionally, after the step of detecting whether the application to be projected has a corresponding preset type tag, the step further includes:

[0015] If there is no corresponding preset type tag, reading the program information of the application to be projected;

[0016] Detecting whether the program information has a corresponding type mapping record in a preset type mapping table;

[0017] If there is a corresponding type mapping record, obtaining the type mapping record corresponding to the program information in the preset type mapping table to obtain a target mapping record;

[0018] The target mapping record is parsed to obtain the application type corresponding to the application to be projected.

[0019] Optionally, the step of determining a screen brightness parameter of the second electronic device according to the application type includes:

[0020] Matching the application type with a preset brightness adjustment strategy to determine a target brightness mode;

[0021] The brightness parameter corresponding to the target brightness mode is used as the screen brightness parameter of the second electronic device.

[0022] Optionally, the step of sending the screen data to be projected and the screen brightness parameter to the second electronic device so that the second electronic device adjusts the screen brightness according to the screen brightness parameter and projects and displays the screen data to be projected includes:

[0023] Determining a screen brightness parameter of the second electronic device according to the brightness adjustment strategy, and generating a brightness adjustment instruction according to the screen brightness parameter;

[0024] The brightness adjustment instruction and the screen data to be projected are sent to a second electronic device, so that the second electronic device adjusts the screen brightness according to the brightness adjustment instruction and projects and displays the screen data to be projected.

[0025] Optionally, after the step of sending the screen data to be projected and the screen brightness parameter to the second electronic device so that the second electronic device adjusts the screen brightness according to the screen brightness parameter and projects and displays the screen data to be projected, the step further includes:

[0026] When receiving a brightness adjustment instruction, obtaining a service type corresponding to the brightness adjustment instruction;

[0027] If the service type is not an application switching type, and the screen brightness mode of the second electronic device is a screen-off mode, obtaining a screen brightness parameter of the second electronic device before the screen is turned off;

[0028] Generate a brightness restoration instruction according to the screen brightness parameter before the screen is turned off;

[0029] The brightness restoration instruction is sent to the second electronic device, so that the second electronic device restores the screen brightness according to the brightness restoration instruction.

[0030] Optionally, after the step of acquiring the service type corresponding to the brightness adjustment instruction when the brightness adjustment instruction is received, the method further includes:

[0031] If the service type is an application switching type, obtaining a target application after switching;

[0032] Read the running data in the target application, obtain the switching projection data, and obtain the application type corresponding to the target application to obtain the target application type;

[0033] Determining a brightness adjustment instruction according to the target application type;

[0034] The brightness adjustment instruction and the switching screen projection data are sent to the second electronic device, so that the second electronic device adjusts the screen brightness according to the brightness adjustment instruction and performs screen projection display of the switching screen projection data.

[0035] In addition, to achieve the above-mentioned purpose, the present invention also proposes a screen projector, which includes: a screen projection transmitter and a screen projection receiver, the screen projection transmitter is used to connect to a first electronic device, the screen projection receiver is used to connect to a second electronic device, and the screen projection transmitter and the screen projection receiver transmit data through a wireless network; the screen projection transmitter and / or the screen projection receiver also include: a memory, a processor, and a screen projection brightness control program stored in the memory and runnable on the processor, and when the screen projection brightness control program is executed by the processor, the steps of the screen projection brightness control method as described above are implemented.

[0036] In addition, to achieve the above-mentioned purpose, the present invention also proposes a screen projection brightness control system, which includes: the screen projector as described above, a first electronic device and a second electronic device, the first electronic device is connected to the screen projection transmitter in the screen projector, the second electronic device is connected to the screen projection receiver in the screen projector, and a screen projection brightness control program is provided in the screen projection transmitter and / or the screen projection receiver, and the screen projection brightness control program implements the steps of the screen projection brightness control method as described above when executed.

[0037] In addition, to achieve the above-mentioned purpose, the present invention also proposes a computer-readable storage medium, on which a projection screen brightness control program is stored, and when the projection screen brightness control program is executed, the steps of the projection screen brightness control program method as described above are implemented.

[0038] In addition, to achieve the above purpose, the present invention also proposes a screen projection brightness control device, which includes the following modules:

[0039] An operation monitoring module, configured to monitor user operations in the first electronic device in real time when detecting that the first electronic device is connected;

[0040] A data acquisition module is used to read the running data in the application to be projected and obtain the data to be projected when it is detected that the user selects the application to be projected;

[0041] A parameter determination module, used to obtain the application type corresponding to the application to be projected, and determine the screen brightness parameter of the second electronic device according to the application type;

[0042] The data transmission module is used to send the screen data to be projected and the screen brightness parameter to the second electronic device, so that the second electronic device adjusts the screen brightness according to the screen brightness parameter and projects the screen data to be projected.

[0043] The present invention monitors the user operation in the first electronic device in real time when the access of the first electronic device is detected; when the user is detected to select the application to be projected, reads the running data in the application to be projected to obtain the data to be projected; obtains the application type corresponding to the application to be projected, and determines the screen brightness parameters of the second electronic device according to the application type; sends the data to be projected and the screen brightness parameters to the second electronic device, so that the second electronic device adjusts the screen brightness according to the screen brightness parameters, and projects the data to be projected. Since the image is not directly synchronized during screen projection, but the running data in the application to be projected is read, and the screen brightness parameters are controlled separately from the data to be projected, even if the screen of the first electronic device is turned off, it will not affect the projection display in the second electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 Schematic diagram of screen projection connection scenario of the screen projection device of the present invention;

[0045] Figure 2 It is a schematic diagram of the internal structure of the screen projector of the hardware operating environment involved in the present invention;

[0046] Figure 3 This is a flow chart of a first embodiment of a method for controlling screen projection brightness according to the present invention;

[0047] Figure 4 This is a flow chart of a second embodiment of the screen projection brightness control method of the present invention;

[0048] Figure 5 This is a structural block diagram of the first embodiment of the screen projection brightness control device of the present invention.

[0049] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0050] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0051] Reference Figure 1 , Figure 1 It is a schematic diagram of the screen projection connection scenario of the screen projection device of the present invention.

[0052] like Figure 1 As shown, the screen projection device includes: a screen projection transmitter and a screen projection receiver, wherein the first electronic device can be a personal computer, or a mobile terminal device such as a smart phone, a tablet computer, an e-book reader, a portable computer, etc., and the second electronic device can be a TV, or a display device with a display function such as a monitor or a projector.

[0053] In some embodiments, the first electronic device is connected to the projection transmitter or the projection receiver through a wired or wireless network for data transmission and interaction; the projection transmitter is connected to the projection receiver through a wireless network for data transmission and interaction, or the projection transmitter is connected to the second electronic device through a wireless network for data transmission and interaction; the projection receiver is connected to the second electronic device through a wired or wireless network for data transmission and interaction. In an optional implementation, the wired connection between the projection receiver and the second electronic device and between the projection transmitter and the first electronic device may include wired connections based on HDMI (High Definition Multimedia Interface), USB (Universal Serial Bus), DP (DisplayPort) and VGA (Video Graphics Array). The wireless communication between the first electronic device and the projection transmitter and the projection receiver, and between the second electronic device and the projection transmitter and the projection receiver may include wireless communications such as Bluetooth, wireless broadband (Wi-Fi), and infrared communication.

[0054] Therefore, the possible connection modes for implementing screen projection between the first electronic device, the screen projection transmitter, the screen projection receiver and the second electronic device include at least:

[0055] (1) The screen projection transmitter is connected to the screen projection receiver, and the screen of the first electronic device is finally projected to the second electronic device through the screen projection transmitter and the screen projection receiver;

[0056] (2) The projection transmitter is wirelessly connected to the second electronic device, and the screen of the first electronic device is projected to the second electronic device through the projection transmitter. At this time, the projection transmitter is connected to the wireless communication module built into the second electronic device through a wireless network;

[0057] The first electronic device is connected to a screen projection receiver, and the screen of the first electronic device is projected to the second electronic device through the screen projection receiver.

[0058] Reference Figure 2 , Figure 2 A schematic diagram of the internal structure of a screen projector in the hardware operating environment involved in an embodiment of the present invention.

[0059] like Figure 2As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (Wireless-Fidelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM), or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk storage. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0060] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0061] like Figure 2 As shown, the memory 1005 as a storage medium may include an operating system, a network communication module, a user interface module, and a projection brightness control program.

[0062] exist Figure 2 In the electronic device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the electronic device of the present invention can be set in the screen projector, and the electronic device calls the screen projection brightness control program stored in the memory 1005 through the processor 1001, and executes the screen projection brightness control method provided by the embodiment of the present invention.

[0063] The embodiment of the present invention provides a method for controlling screen brightness. Figure 3 , Figure 3 It is a flow chart of a first embodiment of a method for controlling screen projection brightness according to the present invention.

[0064] In this embodiment, the projection screen brightness control method includes the following steps:

[0065] Step S10: When it is detected that a first electronic device is connected, user operations in the first electronic device are monitored in real time.

[0066] It should be noted that the executor of this embodiment can be a screen projection transmitter and / or a screen projection receiver in the screen projection device, or it can be a first electronic device or a second electronic device. Among them, the first electronic device can be a terminal device used by the user, such as: mobile phones, personal computers, tablet computers and other electronic devices. The second electronic device can be a TV, or it can be a display device with a display function such as a monitor or a projector. In this embodiment and the following embodiments, the screen projection brightness control method of the present invention is described by taking a screen projection transmitter, a screen projection receiver, a first electronic device or a second electronic device as an example.

[0067] In actual use, the screen projection transmitter is used to connect to the first electronic device. When the first electronic device is connected to the screen projection transmitter by wire or wirelessly, it can be determined that the first electronic device is connected. Preferably, in order to avoid screen projection interruption caused by fluctuations in the wireless network, the first electronic device can use wired access to the screen projection transmitter.

[0068] In a specific implementation, in order to avoid the interruption of screen projection due to insufficient power of the first electronic device, a charging module may be provided in the screen projection transmitter, and when the first electronic device is connected to the screen projection transmitter via a wired manner, the screen projection transmitter may also charge the first electronic device through the charging module. The charging module may be a lithium battery pack.

[0069] It can be understood that when the first electronic device is connected to the screen projection transmitter, the screen projection transmitter can read the data and instructions in the first electronic device, and determine whether the first electronic device interacts with the user based on the data and instructions running in the first electronic device, thereby monitoring the user operations in the first electronic device.

[0070] Of course, in actual use, the user can also install the screen projection software corresponding to the screen projector in the first electronic device, and use the screen projection software to replace the screen projection transmitter in the screen projector, thereby directly connecting the first electronic device to the screen projection receiver in the screen projector and transmitting data. At this time, when the first electronic device can be paired and connected with the screen projection receiver in the screen projector through the screen projection software, the screen projector can determine that the first electronic device is detected to be connected.

[0071] Step S20: When it is detected that the user selects the application to be projected, the running data in the application to be projected is read to obtain the data to be projected.

[0072] It should be noted that the application to be projected can be the application selected for data projection. After the first electronic device is connected to the projection transmitter, the user can operate in the first electronic device and select the application to be projected. At this time, the corresponding program projection instruction will be generated in the first electronic device. If the projection device detects that there is a program projection instruction in the first electronic device, it will determine that the user has selected the application to be projected. At this time, the running data in the application to be projected can be read, and the read running data can be used as the data to be projected. Among them, the running data may include: running interface data, running file data and other data.

[0073] Step S30: Obtain the application type corresponding to the application to be projected, and determine the screen brightness parameter of the second electronic device according to the application type.

[0074] It should be noted that the application type may include: video type, audio type, text type, drawing type, etc. The application type can be determined according to the main business type of the application to be projected. For example, assuming that the main file type of application A is a video file, the application type of application A can be determined to be a video type.

[0075] In a specific implementation, the application type corresponding to the application to be projected can be obtained by the projection transmitter in the projection device reading the program information of the application to be projected, and then determining the application type corresponding to the application to be projected based on the program information. Of course, the projection transmitter can also read the program information of the application to be projected, and then send the program information to the projection receiver, and the projection receiver determines the application type corresponding to the application to be projected based on the program information.

[0076] In actual use, determining the screen brightness parameter of the second electronic device according to the application type may be to search for brightness parameters pre-set for each application type, and use the searched brightness parameters as the screen brightness parameters of the second electronic device. For example, assuming that the brightness parameters include 0-100%, the brightness parameter is pre-set to 0% for the audio type; and the brightness parameter is pre-set to 70% for the text type.

[0077] Furthermore, in order to make the setting of the brightness parameter more flexible and meet the actual use requirements of the user, the step of determining the screen brightness parameter of the second electronic device according to the application type in this embodiment may include:

[0078] Matching the application type with a preset brightness adjustment strategy to determine a target brightness mode;

[0079] The brightness parameter corresponding to the target brightness mode is used as the screen brightness parameter of the second electronic device.

[0080] It should be noted that the preset brightness adjustment strategy may include a mapping relationship between application type and brightness mode. The preset brightness adjustment strategy can be pre-set by the administrator of the projector according to actual needs, for example: corresponding the audio type to the screen off mode, the video type to the always-on mode, the text type to the eye protection mode, and the drawing type to the drawing mode.

[0081] In actual use, different brightness modes may correspond to different brightness parameters. Users can adjust the brightness parameters corresponding to each brightness mode according to actual needs. For example, the brightness parameter corresponding to the screen off mode is 0%, and the brightness parameter corresponding to the always-on mode is 100%.

[0082] It should be noted that matching the application type with the preset brightness adjustment strategy to obtain the target brightness mode may be to obtain the brightness mode corresponding to the application type recorded in the preset brightness adjustment strategy, and use the obtained brightness mode as the target brightness mode.

[0083] Step S40: Send the screen data to be projected and the screen brightness parameter to the second electronic device, so that the second electronic device adjusts the screen brightness according to the screen brightness parameter and projects and displays the screen data to be projected.

[0084] It should be understood that when the screen data to be projected and the screen brightness parameters are sent to the second electronic device, the second electronic device will display the screen data to be projected and adjust the brightness parameters of the screen in the device to the received screen brightness parameters, thereby adjusting the screen brightness. For example: assuming that the application type is an audio type, and the screen data to be projected is audio data, and the screen brightness parameter corresponding to the application type is 0%, when the second electronic device receives the screen data to be projected and the screen brightness parameters, it will adjust the screen brightness parameters to 0%, that is, turn off the screen, and then play the audio data in the off-screen state.

[0085] In a specific implementation, the second electronic device may not be a smart second electronic device, that is, the second electronic device cannot automatically adjust the screen brightness parameter according to the received brightness. In order to enable the brightness of the second electronic device to be adjusted normally in this case, step S40 in this embodiment may include:

[0086] Determining a screen brightness parameter of the second electronic device according to the brightness adjustment strategy, and generating a brightness adjustment instruction according to the screen brightness parameter;

[0087] The brightness adjustment instruction and the screen data to be projected are sent to a second electronic device, so that the second electronic device adjusts the screen brightness parameters according to the brightness adjustment instruction and projects and displays the screen data to be projected.

[0088] It should be noted that in order to adapt to different second electronic devices, generating brightness adjustment instructions based on screen brightness parameters can be accomplished by obtaining the device model of the second electronic device, determining the instruction type executable by the second electronic device based on the device model, and then generating brightness adjustment instructions based on the screen brightness parameters and the instruction type.

[0089] It is understandable that after receiving the brightness adjustment instruction, the second electronic device can directly execute the brightness adjustment instruction to adjust the screen brightness in the second electronic device, and then project the screen data for display.

[0090] In a specific implementation, after adjusting the screen brightness of the second electronic device according to the brightness adjustment strategy, the user may adjust the screen brightness according to his actual needs. In order to meet the actual use needs of the user, after step S40 in this embodiment, the following may also be included:

[0091] When receiving a brightness adjustment instruction, obtaining a service type corresponding to the brightness adjustment instruction;

[0092] If the service type is not an application switching type, and the screen brightness mode of the second electronic device is a screen-off mode, obtaining a screen brightness parameter of the second electronic device before the screen is turned off;

[0093] Generate a brightness restoration instruction according to the screen brightness parameter before the screen is turned off;

[0094] The brightness restoration instruction is sent to the second electronic device, so that the second electronic device restores the screen brightness according to the brightness restoration instruction.

[0095] It should be noted that the brightness adjustment instruction can be a command sent by the user to the screen projector through the remote control, or it can be a command generated by the screen projector based on voice sensing or radar sensing, or it can be a command generated when the user operates the first electronic device to switch the application that needs to be projected. According to the purpose of the brightness adjustment instruction, it can be divided into two categories: application switching type and non-application switching type. For example: if the user sends a brightness adjustment instruction to the screen projector through the remote control, the service type corresponding to the brightness adjustment instruction is the non-application switching type; if the user switches the application that needs to be projected by operating the first electronic device, thereby generating a brightness adjustment instruction, the service type corresponding to the brightness adjustment instruction is the application switching type.

[0096] In actual use, if the screen projector receives a brightness adjustment instruction, and the service type corresponding to the brightness adjustment instruction is not a service switching type, it means that the user only needs to adjust the brightness of the second electronic device, rather than changing the application that needs to be projected. At this time, it can be detected whether the screen brightness mode of the second electronic device is the screen off mode. If so, it means that the user wants to restore the screen brightness of the second electronic device to the state before the screen was turned off. Therefore, the pre-recorded screen brightness parameters of the second electronic device before the screen was turned off can be obtained, and then the screen brightness parameters before the screen was turned off can be sent to the second electronic device, so that the second electronic device can restore the screen brightness to the state before the screen was turned off according to the screen brightness parameters before the screen was turned off.

[0097] It can be understood that if a brightness adjustment instruction is received on the screen projector, and the service type corresponding to the brightness adjustment instruction is not a service switching type, but the screen brightness mode of the second electronic device is not the screen-off mode at this time, it means that the user only needs to fine-tune the screen brightness of the second electronic device. At this time, the target brightness parameter can be extracted from the brightness adjustment instruction, and then the target brightness parameter is sent to the second electronic device, so that the second electronic device adjusts the brightness parameter of the screen in the device to the target brightness parameter.

[0098] In a specific implementation, if the service type of the brightness adjustment instruction is an application switching type, it means that the user needs to switch the screen projection application. In order to still be able to perform screen projection display normally in this case, after the step of obtaining the service type corresponding to the brightness adjustment instruction when receiving the brightness adjustment instruction, the embodiment may also include:

[0099] If the service type is an application switching type, obtaining a target application after switching;

[0100] Read the running data in the target application, obtain the switching projection data, and obtain the application type corresponding to the target application to obtain the target application type;

[0101] Determining a brightness adjustment instruction according to the target application type;

[0102] The brightness adjustment instruction and the switching screen projection data are sent to the second electronic device, so that the second electronic device adjusts the screen brightness according to the brightness adjustment instruction and performs screen projection display of the switching screen projection data.

[0103] It should be noted that the target application can be an application that the user operates in the first electronic device and needs to cast the screen after the selected switch. At this time, the projection data in the second electronic device needs to be changed, and the brightness also needs to be modified according to the application type of the target application. Therefore, the running data in the target application can be read to obtain the switching projection data, and the screen brightness parameters can be determined according to the application type corresponding to the target application. Then, the brightness adjustment instruction is constructed according to the screen brightness parameters, and then the brightness adjustment instruction and the switching projection data are sent to the second electronic device, so that the second electronic device adjusts the screen brightness according to the brightness adjustment instruction, and switches the projection data to the switching projection data.

[0104] This embodiment monitors the user operation in the first electronic device in real time when the first electronic device is detected to be connected; when the user is detected to select the application to be projected, reads the running data in the application to be projected to obtain the data to be projected; obtains the application type corresponding to the application to be projected, and determines the screen brightness parameters of the second electronic device according to the application type; sends the data to be projected and the screen brightness parameters to the second electronic device, so that the second electronic device adjusts the screen brightness according to the screen brightness parameters, and projects the data to be projected. Since the image is not directly synchronized during screen projection, but the running data in the application to be projected is read, and the screen brightness parameters are controlled separately from the data to be projected, even if the screen of the first electronic device is turned off, it will not affect the projection display in the second electronic device.

[0105] refer to Figure 4 , Figure 4 It is a flow chart of a second embodiment of a screen projection brightness control method of the present invention.

[0106] Based on the above first embodiment, step S30 of the screen projection brightness control method of this embodiment further includes:

[0107] Step S301: Detect whether the application to be projected has a corresponding preset type tag.

[0108] It should be noted that when the projection transmitter of the screen projector is connected to the first electronic device, it can read the various applications in the first electronic device, determine the application type of each application according to the main business type of each application, and set a corresponding preset type label for each application. Therefore, when it is necessary to determine the application type of a certain application to be projected, it is possible to first detect whether there is a corresponding preset type label for the application to be projected.

[0109] Step S302: If there is a corresponding preset type tag, obtain the preset type tag corresponding to the application to be projected.

[0110] It can be understood that if there is a corresponding preset type tag for the application to be projected, the application type of the application to be projected can be determined through the preset type tag of the application, and therefore, the preset type tag of the application to be projected can be obtained.

[0111] Step S303: Searching for the application type corresponding to the application to be projected in the preset tag type mapping table according to the preset type tag.

[0112] It should be noted that when setting type labels for each application in the first electronic device, in order to minimize the modification of the application, the preset type labels are generally set in a small number of abbreviations. Therefore, when the preset type labels are obtained, it is necessary to search in the preset label type mapping table according to the preset type labels to determine the application type corresponding to the application to be projected. Among them, the preset label type mapping table may include a mapping relationship between each preset type label and the application type, and the mapping relationship can be pre-set by the administrator of the projector.

[0113] For example, the mapping relationships in the preset tag type mapping table include: the preset type tag "@MIC" corresponds to the application type "audio type", the preset type tag "@MOV" corresponds to the application type "video type", the preset type tag "@TXT" corresponds to the application type "text type", and the preset type tag "@PIC" corresponds to the application type "drawing type".

[0114] Furthermore, some users may prohibit the screen projector from reading the application in the first electronic device for privacy reasons. In this case, the screen projector cannot read the label set for the application in the first electronic device. In order to still be able to normally determine the application type of the application to be projected in this case, after step S301 in this embodiment, the following may also be included:

[0115] If there is no corresponding preset type tag, reading the program information of the application to be projected;

[0116] Detecting whether the program information has a corresponding type mapping record in a preset type mapping table;

[0117] If there is a corresponding type mapping record, obtaining the type mapping record corresponding to the program information in the preset type mapping table to obtain a target mapping record;

[0118] The target mapping record is parsed to obtain the application type corresponding to the application to be projected.

[0119] It should be noted that if there is no corresponding preset type label for the application to be projected, it means that the projector cannot set a label for the application to be projected in advance. At this time, in order to determine the application type of the application to be projected, the program information of the application to be projected can be read, where the program information may include: application development manufacturer, application version number, application name and other information.

[0120] It should be noted that the preset type mapping table includes a mapping relationship between program information of different application programs and application types, and the mapping relationship can be preset by the administrator of the screen projector.

[0121] It can be understood that if there is a type mapping record corresponding to the program information, it means that the application type has been set in advance for the program information of the application. Therefore, the type mapping record corresponding to the program information of the application to be projected in the preset type mapping table can be searched, and the found type mapping record can be used as the target mapping record. The target mapping record is then parsed to extract the application type in the target mapping record, thereby obtaining the application type corresponding to the application to be projected.

[0122] Furthermore, since the administrator can generally only set some commonly used applications when presetting the preset type mapping table, but cannot set all applications, it is inevitable that some applications have no corresponding type mapping records. In this case, the user can set the application type for the application. Therefore, after the step of detecting whether the program information has a corresponding type mapping record in the preset type mapping table, the present embodiment may further include:

[0123] If there is no corresponding type mapping record, sending a type setting interface to the first electronic device, so that the first electronic device displays the type setting interface;

[0124] Receiving a type setting instruction input by a user based on the type setting interface;

[0125] Determine the application type corresponding to the application to be projected according to the type setting instruction.

[0126] It should be noted that the type setting interface can be generated based on the application to be projected, which may include the program information of the application to be projected and all settable application types. The user can select the application type in the type setting interface displayed on the first electronic device, and the first electronic device will generate a type setting instruction based on the user's selection, and send the type setting instruction to the projector. The projector parses the type setting instruction to determine the application type corresponding to the application to be projected. Among them, determining the application type corresponding to the application to be projected according to the type setting instruction can be to parse the type setting instruction, obtain the application type contained in the type setting instruction, and thus obtain the application type corresponding to the application to be projected.

[0127] Furthermore, in order to avoid the user having to set the application type for the same application multiple times, which may lead to a poor user experience, after the step of determining the application type corresponding to the application to be projected according to the type setting instruction described in this embodiment, the following may also be included:

[0128] Generate a type mapping record according to the type setting instruction and the program information;

[0129] The type mapping record is added to the preset type mapping table.

[0130] It should be noted that generating a type mapping record according to the type setting instruction and program information can be to determine the application type corresponding to the application to be projected according to the type setting instruction, or to parse the type setting instruction to obtain the application type contained in the type setting instruction, and then generate a type mapping record according to the application type and program information.

[0131] It can be understood that by adding the type mapping record to the preset type mapping table, the application type of the application to be projected can be determined based on the type mapping record thereafter without the user having to manually set it again, thereby avoiding the need for the user to set the application type for the same application multiple times, resulting in a poor user experience.

[0132] Step S304: Determine the screen brightness parameter of the second electronic device according to the application type.

[0133] In actual use, determining the screen brightness parameter of the second electronic device according to the application type may be to search for brightness parameters pre-set for each application type, and use the searched brightness parameters as the screen brightness parameters of the second electronic device. For example, assuming that the brightness parameters include 0-100%, the brightness parameter is pre-set to 0% for the audio type; and the brightness parameter is pre-set to 70% for the text type.

[0134] This embodiment detects whether there is a corresponding preset type tag for the application to be projected; if there is a corresponding preset type tag, obtains the preset type tag corresponding to the application to be projected; searches for the application type corresponding to the application to be projected in the preset tag type mapping table according to the preset type tag; and determines the screen brightness parameter of the second electronic device according to the application type. Since the application in the first electronic device can be read in advance when the first electronic device is connected, and a corresponding preset type tag is set for each application, when it is necessary to determine the application type of the application to be projected, it can be quickly determined according to the preset type tag corresponding to the application to be projected, thereby improving the execution efficiency of the projection brightness control method of the present invention.

[0135] In addition, an embodiment of the present invention further proposes a storage medium, on which a screen projection brightness control program is stored. When the screen projection brightness control program is executed by a processor, the steps of the screen projection brightness control method described above are implemented.

[0136] Reference Figure 5 , Figure 5 FIG. 1 is a structural block diagram of the first embodiment of the screen projection brightness control device of the present invention. Figure 5 As shown, the projection screen brightness control device proposed in the embodiment of the present invention includes:

[0137] The operation monitoring module 10 is used to monitor the user operation in the first electronic device in real time when the first electronic device is detected to be connected;

[0138] The data acquisition module 20 is used to read the running data in the application to be projected and obtain the data to be projected when it is detected that the user selects the application to be projected;

[0139] A parameter determination module 30 is used to obtain an application type corresponding to the application to be projected, and determine a screen brightness parameter of the second electronic device according to the application type;

[0140] The data transmission module 40 is used to send the screen data to be projected and the screen brightness parameter to the second electronic device, so that the second electronic device adjusts the screen brightness according to the screen brightness parameter and projects the screen data to be projected.

[0141] This embodiment monitors the user operation in the first electronic device in real time when the first electronic device is detected to be connected; when the user is detected to select the application to be projected, reads the running data in the application to be projected to obtain the data to be projected; obtains the application type corresponding to the application to be projected, and determines the screen brightness parameters of the second electronic device according to the application type; sends the data to be projected and the screen brightness parameters to the second electronic device, so that the second electronic device adjusts the screen brightness according to the screen brightness parameters, and projects the data to be projected. Since the image is not directly synchronized during screen projection, but the running data in the application to be projected is read, and the screen brightness parameters are controlled separately from the data to be projected, even if the screen of the first electronic device is turned off, it will not affect the projection display in the second electronic device.

[0142] Furthermore, the parameter determination module 30 is also used to detect whether there is a corresponding preset type tag for the application to be projected; if there is a corresponding preset type tag, obtain the preset type tag corresponding to the application to be projected; and search the preset tag type mapping table for the application type corresponding to the application to be projected according to the preset type tag.

[0143] Furthermore, the parameter determination module 30 is also used to read the program information of the application to be projected if there is no corresponding preset type tag; detect whether there is a corresponding type mapping record for the program information in the preset type mapping table; if there is a corresponding type mapping record, obtain the type mapping record corresponding to the program information in the preset type mapping table to obtain the target mapping record; parse the target mapping record to obtain the application type corresponding to the application to be projected.

[0144] Furthermore, the parameter determination module 30 is further configured to match the application type with a preset brightness adjustment strategy to determine a target brightness mode; and use the brightness parameter corresponding to the target brightness mode as the screen brightness parameter of the second electronic device.

[0145] Furthermore, the data transmission module 40 is also used to determine the screen brightness parameters of the second electronic device according to the brightness adjustment strategy, and generate a brightness adjustment instruction according to the screen brightness parameters; send the brightness adjustment instruction and the screen data to be projected to the second electronic device, so that the second electronic device adjusts the screen brightness according to the brightness adjustment instruction, and projects the screen data to be projected.

[0146] Furthermore, the data transmission module 40 is also used to obtain the service type corresponding to the brightness adjustment instruction when receiving the brightness adjustment instruction; if the service type is not an application switching type, and the screen brightness mode of the second electronic device is a screen off mode, then obtain the screen brightness parameters of the second electronic device before the screen is turned off; generate a brightness recovery instruction according to the screen brightness parameters before the screen is turned off; and send the brightness recovery instruction to the second electronic device, so that the second electronic device restores the screen brightness according to the brightness recovery instruction.

[0147] Furthermore, the data transmission module 40 is also used to obtain the target application after switching if the business type is an application switching type; read the running data in the target application to obtain the switching projection data, and obtain the application type corresponding to the target application to obtain the target application type; determine the brightness adjustment instruction according to the target application type; send the brightness adjustment instruction and the switching projection data to the second electronic device, so that the second electronic device adjusts the screen brightness according to the brightness adjustment instruction, and projects the switching projection data.

[0148] It should be understood that the above is only an example and does not constitute any limitation on the technical solution of the present invention. In specific applications, technicians in this field can make settings as needed, and the present invention does not limit this.

[0149] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of the present invention. In practical applications, technicians in this field can select part or all of them according to actual needs to achieve the purpose of the present embodiment, and no limitation is made here.

[0150] In addition, for technical details that are not described in detail in this embodiment, please refer to the screen projection brightness control method provided in any embodiment of the present invention, and will not be repeated here.

[0151] In addition, it should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0152] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0153] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory (ROM) / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0154] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A screen projection brightness control method, characterized in that: The screen projection brightness control method comprises the following steps: When detecting that a first electronic device is connected, monitoring user operations in the first electronic device in real time; When it is detected that a user selects an application to be projected, the running data in the application to be projected is read to obtain the data to be projected, wherein the running data includes running interface data and file data to be executed; Obtaining an application type corresponding to the application program to be projected, and determining a screen brightness parameter of the second electronic device according to the application type; Sending the screen data to be projected and the screen brightness parameter to the second electronic device, so that the second electronic device adjusts the screen brightness according to the screen brightness parameter and projects and displays the screen data to be projected; The step of obtaining the application type corresponding to the application to be projected includes: Obtaining a main business type corresponding to the application to be projected, where the main business type is a file type mainly run by the application to be projected; Determine the application type corresponding to the application to be projected according to the main business type.

2. The screen projection brightness control method according to claim 1, characterized in that: The step of obtaining the application type corresponding to the application to be projected includes: Detect whether the application to be projected has a corresponding preset type tag; If there is a corresponding preset type tag, obtain the preset type tag corresponding to the application to be projected; According to the preset type tag, the application type corresponding to the application to be projected is searched in the preset tag type mapping table.

3. The screen projection brightness control method according to claim 2, characterized in that: After the step of detecting whether the application to be projected has a corresponding preset type tag, the method further includes: If there is no corresponding preset type tag, reading the program information of the application to be projected; Detecting whether the program information has a corresponding type mapping record in a preset type mapping table; If there is a corresponding type mapping record, obtaining the type mapping record corresponding to the program information in the preset type mapping table to obtain a target mapping record; The target mapping record is parsed to obtain the application type corresponding to the application to be projected.

4. The screen projection brightness control method according to claim 1, characterized in that: The step of determining the screen brightness parameter of the second electronic device according to the application type includes: Matching the application type with a preset brightness adjustment strategy to determine a target brightness mode; The brightness parameter corresponding to the target brightness mode is used as the screen brightness parameter of the second electronic device.

5. The screen projection brightness control method according to claim 1, characterized in that: The step of sending the screen data to be projected and the screen brightness parameter to the second electronic device so that the second electronic device adjusts the screen brightness according to the screen brightness parameter and projects and displays the screen data to be projected includes: Determining a screen brightness parameter of the second electronic device according to the brightness adjustment strategy, and generating a brightness adjustment instruction according to the screen brightness parameter; The brightness adjustment instruction and the screen data to be projected are sent to a second electronic device, so that the second electronic device adjusts the screen brightness according to the brightness adjustment instruction and projects and displays the screen data to be projected.

6. The screen projection brightness control method according to any one of claims 1 to 5, characterized in that: After the step of sending the screen data to be projected and the screen brightness parameter to the second electronic device so that the second electronic device adjusts the screen brightness according to the screen brightness parameter and projects and displays the screen data to be projected, the method further includes: When receiving a brightness adjustment instruction, obtaining a service type corresponding to the brightness adjustment instruction; If the service type is not an application switching type, and the screen brightness mode of the second electronic device is a screen-off mode, obtaining a screen brightness parameter of the second electronic device before the screen is turned off; Generate a brightness restoration instruction according to the screen brightness parameter before the screen is turned off; The brightness restoration instruction is sent to the second electronic device, so that the second electronic device restores the screen brightness according to the brightness restoration instruction.

7. The screen projection brightness control method according to claim 6, characterized in that: After the step of acquiring the service type corresponding to the brightness adjustment instruction upon receiving the brightness adjustment instruction, the method further includes: If the service type is an application switching type, obtaining a target application after switching; Read the running data in the target application, obtain the switching projection data, and obtain the application type corresponding to the target application to obtain the target application type; Determining a brightness adjustment instruction according to the target application type; The brightness adjustment instruction and the switching screen projection data are sent to the second electronic device, so that the second electronic device adjusts the screen brightness according to the brightness adjustment instruction and performs screen projection display of the switching screen projection data.

8. A screen projector, characterized in that: The screen projection device includes: a screen projection transmitter and a screen projection receiver, the screen projection transmitter is used to connect to a first electronic device, and the screen projection receiver is used to connect to a second electronic device, and the screen projection transmitter and the screen projection receiver transmit data via a wireless network or protocol; the screen projection transmitter and / or the screen projection receiver also include: a memory, a processor, and a screen projection brightness control program stored in the memory and executable on the processor, and when the screen projection brightness control program is executed by the processor, the steps of the screen projection brightness control method described in any one of claims 1-7 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a screen projection brightness control program, and when the screen projection brightness control program is executed, the steps of the screen projection brightness control method described in any one of claims 1 to 7 are implemented.

10. A screen projection brightness control device, characterized in that: The projection screen brightness control device includes the following modules: An operation monitoring module, configured to monitor user operations in the first electronic device in real time when detecting that the first electronic device is connected; A data acquisition module is used to read the running data in the application to be projected and obtain the data to be projected when it is detected that the user selects the application to be projected, wherein the running data includes the running interface data and the file data to be executed; A parameter determination module, used to obtain the application type corresponding to the application to be projected, and determine the screen brightness parameter of the second electronic device according to the application type; A data transmission module, used for sending the screen data to be projected and the screen brightness parameter to the second electronic device, so that the second electronic device adjusts the screen brightness according to the screen brightness parameter and projects the screen data to be projected; The parameter determination module is also used to obtain the main business type corresponding to the application to be projected, where the main business type is the file type mainly run by the application to be projected; and determine the application type corresponding to the application to be projected based on the main business type.

Citation Information

Patent Citations

  • Screen projection display method, screen projection method, screen projection equipment, terminal and storage medium

    CN112822538A