Screen projection parameter adjustment method, screen projection device and storage medium
The method and device automatically adjust screen projection parameters using device identifiers to save and recall settings, addressing the inefficiency of manual adjustments in existing technologies and improving user experience.
Patent Information
- Application Number
- CN202010811211.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-08-13
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2040-08-13
AI Technical Summary
Existing screen projection technologies require frequent manual parameter adjustments when connecting different projection terminals, consuming resources and affecting connection speed, leading to a poor user experience.
A method and device that automatically adjust screen projection parameters by associating parameter sets with device identifiers, allowing seamless connections without manual adjustments by recalling saved settings based on device identifiers.
Provides a convenient projection experience by eliminating the need for manual parameter adjustments each time a connection is made to a different terminal, enhancing user experience and efficiency.
Smart Images

Figure CN114143395B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of screen projection technology, and in particular to a screen projection parameter adjustment method, a screen projection device and a storage medium. Background Art
[0002] The screens of small terminals such as smartphones are usually small. If you want to get a better visual experience or show the screen on the small terminal to others, you often need to project the display content of the small terminal onto a large-screen device. This process is called screen projection. Under current technology, before screen projection officially begins, you need to adjust the relevant parameters of the projection terminal and the projected terminal. However, due to the public properties of the projected terminal, the parameters of the same projected terminal are often tampered with by different projection terminals. On the other hand, the same projection terminal needs to readjust its own parameters each time it connects to a different projected terminal. Frequent parameter adjustments consume terminal resources and affect the connection speed, resulting in a poor user experience. Summary of the invention
[0003] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
[0004] The embodiments of the present invention provide a screen projection parameter adjustment method, a screen projection device and a storage medium, which can automatically adjust the screen projection parameters to improve the user's screen projection experience.
[0005] In a first aspect, an embodiment of the present invention provides a method for adjusting screen projection parameters, which is applied to a screen projection terminal, and includes:
[0006] Receive the screen projection command issued by the user and establish a screen projection connection with the projected terminal;
[0007] Obtain the device identification of the projected terminal;
[0008] Acquire a first screen projection parameter set corresponding to the device identifier, wherein the first screen projection parameter set is pre-stored in the screen projection terminal;
[0009] The operating parameters of the projection terminal and the projected terminal are adjusted according to the first projection parameter set. The projection parameter adjustment method provided by the embodiment of the first aspect of the present invention has at least the following beneficial effects: the projection terminal saves the operating parameters of the current projection connection each time the projection is completed, obtains the projection parameter set, and associates the projection parameter set with the device identifier of the projected terminal, so that when the projection terminal creates a projection connection with the projected terminal, according to the device identifier of the projected terminal that currently needs to be connected, the projection terminal can directly call the saved projection parameter set, thereby automatically adjusting the operating parameters of the projection terminal and the projected terminal according to the projection parameter set, so that when the user uses the projection terminal to create a projection connection for different projected terminals, it does not have to manually adjust the projection parameters every time, providing a convenient projection experience for the user.
[0010] In the second aspect, an embodiment of the present invention also provides a screen projection terminal, comprising at least one processor and a memory for communicating with the at least one processor; the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the aforementioned screen projection parameter adjustment method.
[0011] The screen projection terminal provided by the second aspect of the embodiment of the present invention has at least the following beneficial effects: applying the aforementioned screen projection parameter adjustment method on the screen projection terminal can enable the screen projection terminal to save the operating parameters of the current screen projection connection each time the screen projection is completed, obtain the screen projection parameter set, and associate the screen projection parameter set with the device identifier of the projected screen. In this way, when the screen projection terminal creates a screen projection connection with the projected screen terminal, according to the device identifier of the projected screen terminal that currently needs to be connected, the screen projection terminal can directly call the saved screen projection parameter set, thereby automatically adjusting the operating parameters of the screen projection terminal and the projected screen terminal according to the screen projection parameter set, so that when the user uses the screen projection terminal to create a screen projection connection for different projected screen terminals, there is no need to manually adjust the screen projection parameters every time, thereby providing a convenient screen projection experience for the user.
[0012] In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the aforementioned screen projection parameter adjustment method.
[0013] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0015] Figure 1 is a flow chart of a method for adjusting screen projection parameters provided by an embodiment of the present invention;
[0016] Figure 2 is a flow chart of a method for adjusting screen projection parameters provided by another embodiment of the present invention;
[0017] Figure 3 is a flow chart of a method for adjusting screen projection parameters provided by another embodiment of the present invention;
[0018] Figure 4 is a flow chart of a method for adjusting screen projection parameters provided by another embodiment of the present invention;
[0019] Figure 5 is a flow chart of a method for adjusting screen projection parameters provided by another embodiment of the present invention;
[0020] Figure 6 is a flow chart of a method for adjusting screen projection parameters provided by another embodiment of the present invention;
[0021] Figure 7 is a flow chart of a method for adjusting screen projection parameters provided by another embodiment of the present invention;
[0022] Figure 8 It is a schematic diagram of the module structure of a screen projection terminal provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. 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.
[0024] It should be noted that, although the module division is performed in the circuit structure diagram, in some cases, the module division may be different from that in the circuit structure diagram. The terms "first", "second", etc. in the specification and claims are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0025] With the rise of smart mobile terminals, in daily work and life, people often like to project the screen of a smart mobile terminal with a smaller screen onto another terminal with a larger screen for easy viewing. For example, the screen on the mobile phone is projected onto a large-screen TV. At this time, in order to get a more comfortable viewing experience, users usually need to adjust the parameters of the mobile phone and the TV. Obviously, a mobile phone may not only be connected to a certain TV, but also to the projected terminal, such as other TVs, tablets, or even another mobile phone, and a TV may not only be connected to a certain mobile phone. Therefore, the user needs to adjust the parameters every time he creates a projection connection, which is not a good user experience. At present, some projection terminals can identify users and adjust according to the user's preset files, but this requires that the projection terminal has hardware with user identification function, and the user's preset file of the projection terminal only saves the adjustment parameters for the projection terminal. If the user changes the projected terminal, it is inevitable that the user still needs to adjust the projected terminal, so the problem of multi-terminal adaptation of projection cannot be solved.
[0026] The present invention provides a screen projection parameter adjustment method, a screen projection terminal and a storage medium, wherein the screen projection parameter adjustment method is applied to the screen projection terminal, and the screen projection terminal saves the operating parameters of the current screen projection connection at the end of each screen projection to obtain a screen projection parameter set, and associates the screen projection parameter set with the device identifier of the projected screen. When the user uses the screen projection terminal to create a screen projection connection with the recorded projected screen terminal next time, the screen projection terminal can directly call the screen projection parameter set of the corresponding device identifier, thereby realizing automatic adjustment. The user does not need to manually adjust the parameters of the screen projection terminal and the projected screen terminal each time the screen is projected, thereby providing the user with a free screen projection experience.
[0027] The embodiments of the present invention are further described below in conjunction with the accompanying drawings.
[0028] like Figure 1 As shown, an embodiment of the present invention provides a screen projection parameter adjustment method, which is applied to a screen projection terminal, including but not limited to step S100, step S200, step S300 and step S400.
[0029] Step S100, receiving the screen projection instruction issued by the user and establishing a screen projection connection with the screen projection terminal.
[0030] In one embodiment, the screen projection terminal can be different types of smart devices, such as smart phones, tablet devices, etc., and can be connected to the screen projection terminal through different connection protocols, such as Wi-Fi, Bluetooth, etc.; when the user needs to project the screen of the screen projection terminal to the screen projection terminal, a screen projection instruction is sent to the screen projection terminal. After receiving the screen projection instruction sent by the user, the screen projection terminal connects to the screen projection terminal through the same protocol. The screen projection terminal can be different types of display devices, such as televisions, tablet devices, etc., and can receive the screen of the screen projection device and play it on the screen of the local device; after the screen projection terminal and the screen projection terminal establish a screen projection connection, before transmitting the screen, the screen projection terminal and the screen projection terminal exchange basic data of the devices on both sides and enter the parameter setting stage. It is worth noting that the screen projection connection created between the screen projection terminal and the screen projection terminal in this embodiment is equivalent to establishing a communication connection between the two, and the video code stream has not been transmitted. At this time, the screen projection terminal and the screen projection terminal can automatically set parameters according to the hardware characteristics or the preset of their own system to create a corresponding operating environment for video code stream transmission.
[0031] Step S200, obtain the device identification of the terminal to which the screen is projected.
[0032] In one embodiment, the device identification of the projected terminal is used to indicate the device model of the projected terminal, usually represented by characters or strings. For example, the device identification can be the model of the projected terminal or the factory identification of the projected terminal. The projection terminal can determine whether the currently connected projected device is the same model device or the same device that has been connected before through the device identification.
[0033] Step S300, obtain a first screen projection parameter set corresponding to the device identifier.
[0034] The projection parameter set refers to the operating parameters of the projection terminal and the projected terminal that are related to the current projection connection during operation. For example, the operating parameters of the projection terminal include volume, resolution, and horizontal and vertical screen attributes, and the operating parameters of the projected terminal include volume, resolution, and brightness. The parameters involved in the projection parameter set can be set as needed, and the above examples do not constitute a restriction on the specific parameters of the projection parameter set. The first projection parameter set is one of the projection parameter sets in the historical projection record of the projection terminal. Each time the projection terminal connects to a new projected terminal, it will record and save a projection parameter set. When the projection terminal is connected to the projected terminal with the same device identifier again, it can directly call the saved projection parameter set, saving the user the trouble of manually adjusting the parameters.
[0035] Step S400: Adjust the operating parameters of the projected terminal according to the first projection parameter set.
[0036] In one embodiment, the projection parameter set saved in the projection terminal is searched based on the device identification. A projection parameter set is composed of the operating parameters of both the projection terminal and the projection terminal under a projection connection. It represents the stable operating state of the projection terminal under the projection connection. The projection terminal records the operating parameters of the projection terminal under this projection connection, integrates them and binds them to the device identification of the current projection terminal, so as to obtain the first projection parameter set for calling during the next projection. When the user uses the projection terminal to create a projection connection, the projection terminal searches for the internally stored projection parameter set based on the acquired device identifier. When the first projection parameter set associated with the device identifier is found, it means that the currently connected projection terminal is the same model device or the same device that the projection terminal has been connected to before. At this time, the projection terminal calls the first projection parameter set and applies it to the projection terminal to automatically adjust the operating parameters of the projection terminal. When the first projection parameter set associated with the device identifier cannot be found, it means that the currently connected projection terminal is a device that the projection terminal has not been connected to before. In this case, according to the method of creating a new projection parameter set, the projection terminal will record the operating parameters of the projection terminal under this projection connection, and associate and save the device identifier with the operating parameters of the projection terminal. The specific steps and methods after the first projection parameter set cannot be found will be described in detail below.
[0037] It is worth noting that in one embodiment, the first screen projection parameter set in this embodiment may also include parameters of the screen projection terminal, that is, the first screen projection parameter set includes the operating parameters of both the screen projection terminal and the projected terminal. In this embodiment, when the first screen projection parameter set corresponding to the device identifier is found, the operating parameters of both the screen projection terminal and the projected terminal are adjusted according to the first screen projection parameter set; when the first screen projection parameter set corresponding to the device identifier cannot be found, the screen projection terminal will record the operating parameters of the screen projection terminal and the projected terminal under this screen projection connection in accordance with the method of creating a new screen projection parameter set, and at the same time associate and save the device identifier with the set of operating parameters of the two.
[0038] Through the above method, when the user uses the projection terminal to create a projection connection with the projection terminal of the same model or the same device, the user can directly call the first projection parameter set. The user does not need to manually set the parameters of the projection terminal to obtain the same projection experience as before. Of course, after calling the first projection parameter set to automatically adjust the projection terminal, the user also makes further parameter adjustments. Then the projection terminal can give a prompt whether to save the operating parameters of this projection connection after the projection is completed. According to the user's choice, the operating parameters of this projection connection can be saved to update the first projection parameter set or choose not to save the operating parameters of this projection connection. If the projection terminal connected to the projection terminal is a device that the projection terminal has not been connected to before (not the same model, nor the same device), then, based on the acquisition of the device identification, the projection terminal cannot find the corresponding projection parameter set. In the above method, during the projection process or at the end of the projection, the operating parameters of the projection terminal are saved and associated with the device identification.
[0039] In the case where the device identifier cannot be found, there are actually two possibilities. One is that the projection terminal is projecting for the first time and no projection parameter set is saved locally. The other is that the projection terminal is not projecting for the first time and a projection parameter set that is not associated with the device identifier is saved locally. For these two situations, the projection terminal executes different processing methods. The following will explain the two situations in detail:
[0040] Reference Figure 2 Regarding the above-mentioned situation that "the projection terminal is not performing screen projection for the first time, and a projection parameter set not associated with the device identifier is stored locally", it specifically includes but is not limited to step S510, step S520 and step S530.
[0041] Step S510: when the first projection parameter set is not obtained, obtain a reference value and adjust the operating parameters of the projected terminal according to the reference value, where the reference value is the environmental parameter collected by the projection terminal in the last projection connection;
[0042] In one embodiment, the reference value may be one or more environmental parameters related to screen projection, such as the sound decibels and light intensity in the environment collected during the screen projection process. At the end of each screen projection connection, the screen projection terminal saves one or more data of the screen projection related parameters (i.e., environmental parameters) used during the current screen projection connection as a reference value, which is used to provide a basis for automatic adjustment for the screen projection terminal when the screen projection terminal cannot find the first screen projection parameter set associated with the device identifier. It is worth noting that the reference value of this embodiment can be collected through the hardware on the screen projection terminal. For example, the screen projection terminal sets an environmental signal collection module to collect the light brightness or sound decibels of the environment during the screen projection process.
[0043] Step S520, obtaining the first operating parameter of the projected terminal adjusted according to the reference value;
[0044] In this embodiment, when the reference value is found, that is, the projection terminal has locally saved the reference value of the last connection, indicating that this is not the first time that the projection terminal is connected to the projection screen. At this time, the operating parameters of the projection terminal are adjusted according to the reference value found, and after adjusting the operating parameters of the projection terminal, the actual operating parameters of the projection terminal, that is, the first operating parameters, are associated with the device identifier obtained in this connection; it can be understood that after the projection terminal is automatically adjusted according to the reference value, the user can manually adjust it again, and the operating parameters of the projection terminal after manual adjustment can be used as the first operating parameters in this embodiment. In this case, the step of: when the projection is completed, obtaining the current operating parameters of the projection terminal to update the first operating parameters.
[0045] It is worth noting that there is a limit to adjusting the operating parameters of the projected terminal according to the reference value, and the operating parameters of both the projected terminal and the projection terminal can be set to be adjusted according to the reference value. For example, the reference value is 60 decibels. When the volume of the projected terminal has been adjusted to the maximum according to the reference value, but the ambient volume collected by the projection terminal has not reached 60 decibels at this time, then the projection terminal needs to be adjusted at this time. The object adjusted according to the reference value in this embodiment has a variety of implementation methods according to different actual conditions. For example, the operating parameters of the projection terminal are first adjusted according to the reference value. After the adjustment, the environmental parameters collected by the projection terminal are the same as the reference value, then the projected terminal can be adjusted at this time; similarly, the operating parameters of the projected terminal can also be adjusted first. If the environmental parameters collected by the projection terminal after the adjustment are the same as the reference value, then the projection terminal can be adjusted at this time; in the above two implementation methods, if the projection terminal or the projected terminal is adjusted separately, the environmental parameters collected by the projection terminal are still different from the reference value, then the projected terminal or the projection terminal needs to be adjusted.
[0046] It is worth noting that in this embodiment, since the projection terminal has not been connected to the projection terminal before, the adjustable range of the parameters of the projection terminal connected this time is different from those of the projection terminal connected last time. Therefore, when the projection terminal connected this time is adjusted according to the reference value, there may be a situation where the corresponding parameters are adjusted to the limit and still cannot reach the parameters required by the reference value. At this time, the user confirms the currently adjusted operating parameters as needed, or makes further adjustments to the operating parameters. The projection terminal saves the operating parameters of the projection terminal and the projection terminal when they are running stably after the adjustment as the second projection parameters.
[0047] Step S530, establish a correspondence between the first operating parameter and the device identifier, and use the first operating parameter after establishing the correspondence with the device identifier as the first screen projection parameter set.
[0048] By establishing a corresponding relationship between the first operating parameter and the device identifier, the device identifier and the first operating parameter are bound and saved as the first projection parameter set; when the projection terminal is connected to the projected terminal with the same device identifier again, the first projection parameter set can be directly called to adjust the projected terminal according to the first operating parameter.
[0049] It is worth noting that the reference value is updated as needed after each screen projection connection ends. For example, at the end of the screen projection, the screen projection terminal gives a prompt box, allowing the user to choose whether to save the reference value used in this screen projection connection. If the user chooses to save, the screen projection terminal will update the reference value based on one or more data in the screen projection-related parameters (i.e., environmental parameters) used in this screen projection connection to provide a reference for the next screen projection connection.
[0050] Reference Figure 3 For step S510, the method of obtaining the reference value and adjusting the operating parameters of the projected terminal according to the reference value specifically includes the following steps:
[0051] Step S511, obtain the reference value and the current environmental parameters collected by the projection terminal.
[0052] Step S512: adjust the operating parameters of the projected terminal according to the size relationship between the reference value and the current environmental parameters.
[0053] In one embodiment, in addition to obtaining the reference value saved last time, the current environmental parameters collected by the projection terminal are also obtained, so as to compare the reference value with the current environmental parameters, and adjust the projected terminal according to the difference between the reference value and the current environmental parameters; for example, when the reference value is 70 decibels, and the volume currently collected by the projection terminal is 60 decibels, then according to the size relationship between the reference value and the collected volume value, the volume value of the projected terminal is increased, and the projection terminal collects the environmental parameters in real time. When the collected current environmental volume value reaches 70 decibels, the volume adjustment of the projected terminal is stopped; conversely, when the volume collected by the projection terminal is greater than 70 decibels, the volume value of the projected terminal is lowered until the environmental volume collected in real time is equal to the reference value of 70 decibels. Of course, since the projected terminal connected to this screen projection is brand new to the projecting terminal, the reference value may not necessarily apply to the current projected terminal. There may be a situation where the corresponding value cannot be adjusted. For example, when the current projected terminal is adjusted to the maximum volume value, then the volume of the current projected terminal can be adjusted to the maximum. Next, it will be up to the user to decide whether further adjustment is needed.
[0054] Reference Figure 4 , for the above-mentioned situation that "the projection terminal is projecting the screen for the first time and no projection parameter set is saved locally", it specifically includes but is not limited to step S540, step S550 and step S560.
[0055] Step S540, when the first screen projection parameter set is not obtained, obtain the user instruction, and send a control signal for adjusting the operating parameters of the projected screen terminal to the projected screen terminal according to the user instruction.
[0056] In one embodiment, step S540 indicates that the projection terminal is connecting to the projection screen for the first time, so there is no historical reference data that can be used for automatic adjustment. In this case, the projection terminal mainly records the operating parameters of the first projection connection. In this embodiment, the projection terminal is equivalent to a controller for controlling the projected terminal. The projection terminal receives user instructions and converts the user instructions into control signals, and then sends the control signals to the projected terminal through the channel established by the current projection connection, thereby realizing the control of the projected terminal on the projection terminal. It can be understood that this embodiment actually includes a search process for the reference value of the above step S510. Since the projection terminal in this embodiment is projecting for the first time, it is impossible to obtain the reference value representing the last projection connection. If the reference value cannot be found, step S540 of this embodiment is executed and the user is allowed to adjust the parameters.
[0057] Step S550, obtaining the second operating parameters of the projected terminal adjusted according to the control signal.
[0058] The projected screen terminal adjusts its own operating parameters by receiving the control signal. After the adjustment, the projecting terminal obtains the actual operating parameters of the projected screen terminal at this time as the second operating parameters.
[0059] Step S560: establish a correspondence between the second operating parameter and the device identifier, and use the second operating parameter after establishing a correspondence with the device identifier as the first screen projection parameter set.
[0060] This embodiment establishes a corresponding relationship in the same manner as step S530, by establishing a corresponding relationship between the second operating parameter and the device identifier, the device identifier and the second operating parameter are bound to each other and saved as the first projection parameter set; when the projection terminal is connected to the projected terminal with the same device identifier again, the first projection parameter set can be directly called to adjust the projected terminal according to the second operating parameter.
[0061] It is worth noting that in the process of adjusting the projected terminal according to user instructions, the user can also adjust the operating parameters of the projecting terminal. In this case, after the projected terminal adjusts its own operating parameters according to the control signal, the projecting terminal obtains the operating parameters of both the projecting terminal and the projected terminal, takes the operating parameters of both as the second operating parameters, and binds them with the device identifier to obtain the first projection parameter set. In this way, when the projecting terminal projects the screen with the projected terminal with the same device identifier, it automatically adjusts according to the first projection parameter set, and can adjust the operating parameters of the projecting terminal and the projected terminal at the same time.
[0062] Reference Figure 5 For step S550, the method of obtaining the second operating parameters of the projected terminal adjusted according to the control signal includes but is not limited to step S551, step S552 and step S553.
[0063] Step S551, recording the operating parameters of the projected terminal obtained after each adjustment according to the control signal.
[0064] Since the user may adjust the operating parameters of the projected terminal multiple times during this projection connection process, each time the user changes the operating parameters, a record is made, thereby forming multiple sets of operating parameters for the projected terminal during the entire projection connection process. Obviously, sometimes the user will stop to take a short look at the projection effect after adjusting once, such as watching for 2-3 seconds, and continue to adjust it if they are not satisfied. In order to avoid recording the operating parameters that the user is not satisfied with during this process, a time threshold can be set to indicate that the current projection connection is in a stable operating state. Only when the time threshold is exceeded, the operating parameters of the corresponding projection terminal and the projected terminal will be recorded. In this way, the operating parameters that the user is not satisfied with can be recorded, thereby improving the accuracy of the subsequent projection parameter set.
[0065] Step S552, obtaining the operating time of the projected terminal corresponding to the operating parameters obtained in each record.
[0066] The length of time that the projection terminal and the projected screen terminal are in a stable operating state after each adjustment is recorded as the weight of the corresponding operating parameters of the projection terminal and the projected screen terminal, so as to facilitate the following weighted calculation to obtain the second projection parameter set.
[0067] Step S553, when the screen projection is completed, a weighted operation is performed based on the recorded operating parameters and operating time to obtain the second operating parameters of the projected terminal.
[0068] Step S553 is based on the several groups of operating parameters and operating time recorded respectively in step S551 and step S552, and uses the operating time as the weight item, which is multiplied by the corresponding operating parameter to obtain the second operating parameter, thereby binding it to the device identifier. The second operating parameter in this embodiment combines the operating parameters of different states in the entire projection connection process, and obtains relatively accurate data through weighted calculation, which is suitable for the first projection connection of the projection terminal. It is worth noting that although this embodiment limits the projection terminal to use steps S551 to S553 to obtain the second operating parameter when the projection terminal makes the projection connection for the first time, other methods are also selected to obtain the second operating parameter. For example, after the projection terminal creates a projection connection for the first time, at the end of this projection connection, the operating parameters of the projected terminal at the end time are recorded as the second operating parameters.
[0069] According to the aforementioned screen projection parameter adjustment method of the embodiment of the present invention, the screen projection parameter set is recorded and called based on the device identification of the projected terminal. When the user connects to the projected terminal with the same device identification, this method can be used to automatically set the operating parameters of the projected terminal for the user. The user does not have to manually adjust the screen projection parameters every time, providing the user with a convenient screen projection experience.
[0070] Based on the screen projection parameter adjustment method in the above embodiment, a specific exemplary description of the screen projection parameter adjustment method is proposed below.
[0071] When the projection terminal is connected for the first time, since the local device does not save any projection parameter set, the projection terminal mainly records the operating parameters of the projected terminal during this projection connection process. Figure 6 , the specific steps are as follows:
[0072] Step S601, receiving a screen projection instruction issued by a user, and establishing a screen projection connection with a screen projection terminal;
[0073] Step S602, obtaining the device identification of the screen-projected terminal;
[0074] Step S603, obtaining a user instruction, and sending a control signal for adjusting the operating parameters of the projected screen terminal to the projected screen terminal according to the user instruction;
[0075] Step S604, recording the operating parameters of the projected terminal obtained after each adjustment according to the control signal;
[0076] Step S605, obtaining the running time of the projected terminal corresponding to the running parameters recorded each time;
[0077] Step S606, performing a weighted operation based on the recorded operating parameters and operating time to obtain a second operating parameter of the projected terminal;
[0078] Step S607, establishing a correspondence between the second operating parameter and the device identifier, and using the second operating parameter after establishing a correspondence between the second operating parameter and the device identifier as the first screen projection parameter set;
[0079] Step S608, when the screen projection is completed, update the reference value according to the environmental parameters collected by the screen projection terminal in this screen projection connection, wherein the reference value is the environmental parameter collected by the screen projection terminal in this screen projection connection.
[0080] If the projection terminal is not connecting to the projection screen for the first time, it is necessary to determine whether the projection terminal that needs to be connected has been connected before. At this time, the device ID of the projection terminal is obtained to determine whether it has been connected before. Figure 7 , the specific steps are as follows:
[0081] Step S701, receiving a screen projection instruction issued by a user, and establishing a screen projection connection with a screen projection terminal;
[0082] Step S702, obtaining the device identification of the terminal to which the screen is projected;
[0083] Step S703, obtaining a first screen projection parameter set corresponding to the device identifier;
[0084] Step S704: when the first projection parameter set is obtained, the operating parameters of the projected terminal are adjusted according to the first projection parameter set;
[0085] Step S705: when the first screen projection parameter set cannot be obtained, obtain the reference value and the current environment parameter collected by the screen projection terminal, where the reference value is the environment parameter collected by the screen projection terminal in the last screen projection connection;
[0086] Step S706, adjusting the operating parameters of the projected terminal according to the magnitude relationship between the reference value and the current environmental parameters;
[0087] Step S707, obtaining the first operating parameter of the projected terminal adjusted according to the reference value;
[0088] Step S708, establishing a correspondence between the first operating parameter and the device identifier, and using the first operating parameter after establishing a correspondence between the first operating parameter and the device identifier as a first screen projection parameter set;
[0089] Step S709, when the screen projection is completed, update the reference value according to the environmental parameters collected by the screen projection terminal during this screen projection connection.
[0090] Another embodiment of the present invention provides a screen projection terminal, referring to Figure 8The screen projection terminal includes at least one processor and a memory for communicating with the at least one processor; the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the aforementioned screen projection parameter adjustment method.
[0091] Reference Figure 8 , taking the example that the processor 1001 and the memory 1002 in the projection terminal 1000 can be connected via a bus. The memory 1002, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 1002 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk memory, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 1002 may optionally include a memory remotely disposed relative to the processor 1001, and these remote memories may be connected to the projection terminal 1000 via a network. Examples of the above-mentioned networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0092] Those skilled in the art will understand that Figure 8 The device structure shown in the figure does not constitute a limitation on the screen projection terminal 1000, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0093] Applying the aforementioned projection parameter adjustment method on the projection terminal 1000 can enable the projection terminal 1000 to save the operating parameters of the current projection connection each time the projection is completed, obtain the projection parameter set, and associate the projection parameter set with the device identifier of the projected terminal. In this way, when the projection terminal 1000 creates a projection connection with the projected terminal, according to the device identifier of the projected terminal 1000 that currently needs to be connected, the projection terminal 1000 can directly call the saved projection parameter set, thereby automatically adjusting the operating parameters of the projection terminal 1000 and the projected terminal according to the projection parameter set, so that when the user uses the projection terminal 1000 to create a projection connection with different projected terminals, there is no need to manually adjust the projection parameters every time, thereby providing a convenient projection experience for the user.
[0094] Another embodiment of the present invention provides a computer-readable storage medium, which stores computer-executable instructions, which are executed by a processor 1001 or a controller, for example, by a processor 1001 in the above-mentioned screen projection terminal 1000 embodiment, so that the above-mentioned processor 1001 can execute the screen projection parameter adjustment method in the above-mentioned embodiment, for example, execute the above-mentioned Figure 1The method steps S100 to S400, Figure 2 Steps S510 to S530 of the method, Figure 3 Steps S511 to S512 of the method, Figure 4 Steps S540 to S550 of the method, Figure 5 Steps S551 to S553 of the method, Figure 6 Steps S601 to S608 of the method and Figure 7 Method steps S701 to S709 in.
[0095] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0096] The above is a specific description of the preferred implementation of the present invention, but the present invention is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present invention. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present invention.
Claims
1. A method for adjusting screen projection parameters, applied to a screen projection terminal, characterized in that: include: Receive the screen projection command issued by the user and establish a screen projection connection with the projected terminal; Obtain the device identification of the projected terminal; Obtain a first screen projection parameter set corresponding to the device identifier; Adjusting the operating parameters of the projected screen terminal according to the first projection parameter set; The adjustment method further comprises: When the first screen projection parameter set is not obtained, a reference value is obtained and the operating parameters of the projected terminal are adjusted according to the reference value, where the reference value is the environmental parameter collected by the projecting terminal in the last screen projection connection; Acquire a first operating parameter of the projected terminal adjusted according to the reference value; Establish a correspondence between the first operating parameter and the device identifier, and use the first operating parameter after establishing a correspondence with the device identifier as the first screen projection parameter set.
2. The method for adjusting screen projection parameters according to claim 1, characterized in that: The obtaining of the reference value and adjusting the operating parameters of the projected screen terminal according to the reference value includes: Obtaining reference values and current environmental parameters collected by the projection terminal; According to the size relationship between the reference value and the current environmental parameter, the operating parameters of the projected screen terminal are adjusted.
3. The method for adjusting screen projection parameters according to claim 1 or 2, characterized in that: Also includes: When the screen projection is completed, the reference value is updated according to the environmental parameters collected during this screen projection connection.
4. The method for adjusting screen projection parameters according to claim 1, characterized in that: Also includes: When the first screen projection parameter set is not obtained, obtaining a user instruction, and sending a control signal for adjusting the operating parameters of the screen projection terminal to the screen projection terminal according to the user instruction; Acquire a second operating parameter of the projected terminal adjusted according to the control signal; Establish a correspondence between the second operating parameter and the device identifier, and use the second operating parameter after establishing a correspondence with the device identifier as the first screen projection parameter set.
5. The method for adjusting screen projection parameters according to claim 4, characterized in that: The obtaining the second operating parameter of the projected terminal adjusted according to the control signal includes: Recording the operating parameters of the projected terminal obtained after adjustment according to the control signal each time; Obtaining the running time of the projected terminal corresponding to the running parameters obtained in each record; When the screen projection is completed, a weighted operation is performed based on the recorded operating parameters and the operating time to obtain the second operating parameters of the projected terminal.
6. The method for adjusting screen projection parameters according to claim 1, characterized in that: The operating parameters of the screen projection terminal include volume, resolution, and horizontal and vertical screen attributes, and the operating parameters of the screen projection terminal include volume, resolution, and brightness.
7. The method for adjusting screen projection parameters according to claim 1, characterized in that: The device identification field includes a device model and / or a device ID.
8. A screen projection terminal, characterized in that: It includes at least one processor and a memory for communicating with the at least one processor; the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the screen projection parameter adjustment method as described in any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the screen projection parameter adjustment method as described in any one of claims 1 to 7.
