CN111081197A - Brightness parameter synchronization method, related device and readable storage medium - Google Patents

Brightness parameter synchronization method, related device and readable storage medium Download PDF

Info

Publication number
CN111081197A
CN111081197A CN201811212389.0A CN201811212389A CN111081197A CN 111081197 A CN111081197 A CN 111081197A CN 201811212389 A CN201811212389 A CN 201811212389A CN 111081197 A CN111081197 A CN 111081197A
Authority
CN
China
Prior art keywords
parameter
brightness
main body
brightness parameter
adjusting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811212389.0A
Other languages
Chinese (zh)
Inventor
杨鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201811212389.0A priority Critical patent/CN111081197A/en
Publication of CN111081197A publication Critical patent/CN111081197A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/10Intensity circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a brightness parameter synchronization method which is applied to split type electronic equipment comprising a first main body and a second main body. The brightness parameter synchronization method comprises the following steps: the first main body receives a parameter adjusting instruction of the second main body, extracts a current brightness parameter of the second main body from the parameter adjusting instruction, and changes the brightness parameter of the first main body to be the same as the current brightness parameter. The method provided by the embodiment of the invention can change the brightness parameter to be the same as the current brightness parameter in the parameter adjusting instruction after the first main body receives the parameter adjusting instruction, thereby effectively realizing the synchronization of the brightness parameters of the first main body and the second main body.

Description

Brightness parameter synchronization method, related device and readable storage medium
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a method for synchronizing luminance parameters, a related apparatus, and a readable storage medium.
Background
Conventional electronic devices are one-piece, such as smart phones, but as users demand more and more thinness and endurance of electronic devices, there exists a separated electronic device including a host body and a screen body which are separated. The main body of the split electronic device is mainly used for displaying, and can be made thinner and lighter, and the main body of the split electronic device can be provided with a battery with larger capacity, so that the split electronic device has longer cruising ability.
Disclosure of Invention
The embodiment of the invention provides a brightness parameter synchronization method, a related device and a readable storage medium.
An embodiment of the present invention provides a brightness parameter synchronization method, which is applied to a split type electronic device and includes a first main body and a second main body, and the method includes:
the first main body receives a parameter adjusting instruction sent by the second main body;
extracting a current brightness parameter of the second main body from the parameter adjusting instruction;
the brightness parameter of the first subject is changed to be the same as the current brightness parameter.
Optionally, changing the brightness parameter of the first subject to be the same as the current brightness parameter includes:
when the first main body is the host main body, replacing the stored brightness parameter of the host main body with the current brightness parameter;
and when the first main body is the screen main body, adjusting the brightness parameter of the screen main body to the current brightness parameter.
Optionally, the changing the brightness parameter of the first subject to be the same as the current brightness parameter further includes:
when the first main body is a main body of the host computer and the electronic device further comprises at least one screen auxiliary body, the main body of the host computer sends the current brightness parameter to the at least one screen auxiliary body, and the current brightness parameter is used for the screen auxiliary body to carry out the synchronization of the brightness parameter.
The embodiment of the invention provides a brightness parameter synchronization method, which comprises the following steps:
adjusting a brightness parameter of the first subject in response to an adjustment operation of the brightness parameter of the first subject;
acquiring the brightness parameter adjusted by the first main body as a current brightness parameter, and generating a parameter adjusting instruction containing the current brightness parameter;
and sending the parameter adjusting instruction to the second main body, wherein the parameter adjusting instruction is used for synchronizing the brightness parameters of the second main body.
Optionally, in response to the adjusting operation of the brightness parameter of the first subject, adjusting the brightness parameter of the first subject includes:
when the first main body is a screen main body, responding to the sliding operation of the virtual brightness adjusting strip on the screen main body, and acquiring a target position of the sliding operation on the virtual brightness adjusting strip;
and searching a mapping relation between a preset position and the brightness parameter to obtain a target brightness parameter corresponding to the target position, and adjusting the brightness parameter of the screen main body according to the target brightness parameter.
Optionally, when the first subject is a screen subject, adjusting the brightness parameter of the first subject in response to the operation of adjusting the brightness parameter of the first subject, and then further including:
if the next sliding operation of the virtual brightness adjusting strip of the screen main body is detected within the preset time length, returning to the step of responding to the sliding operation of the virtual brightness adjusting strip on the screen main body;
and if the next sliding operation of the brightness parameter of the screen main body is not detected within the preset time length, continuously executing the step of obtaining the brightness parameter adjusted by the first main body as the current brightness parameter and generating a parameter adjusting instruction containing the current brightness parameter.
Optionally, in response to the adjusting operation of the brightness parameter of the first subject, adjusting the brightness parameter of the first subject includes:
when the first main body is a host main body, in response to an adjustment operation on a brightness parameter of the host main body, determining a brightness change value based on the adjustment operation;
after the adjustment operation is finished, the adjusted brightness parameter is obtained by using the brightness parameter and the brightness change value stored in the host main body, and the stored brightness parameter is replaced by using the adjusted brightness parameter.
An embodiment of the present invention provides a host, including:
the receiving module is used for receiving a parameter adjusting instruction sent by the screen end;
the extraction module is used for extracting the current brightness parameter of the screen end from the parameter adjusting instruction;
and the synchronization module is used for changing the brightness parameter of the host to be the same as the current brightness parameter.
Optionally, the host further includes:
the adjusting module is used for responding to the adjusting operation of the brightness parameter of the host and adjusting the brightness parameter of the host;
the generating module is used for acquiring the brightness parameter adjusted by the host as a current brightness parameter and generating a parameter adjusting instruction containing the current brightness parameter;
and the sending module is used for sending the parameter adjusting instruction to the screen end, and the parameter adjusting instruction is used for synchronizing the brightness parameters at the screen end.
An embodiment of the present invention provides a screen terminal, including:
the parameter adjusting module is used for responding to the adjusting operation of the brightness parameter of the screen end and adjusting the brightness parameter of the screen end;
the command generation module is used for acquiring the brightness parameter regulated by the screen end as a current brightness parameter and generating a parameter regulation command containing the current brightness parameter;
and the instruction sending module is used for sending the parameter adjusting instruction to the host, and the parameter adjusting instruction is used for synchronizing the brightness parameters of the host.
Optionally, the screen end further includes:
the parameter receiving module is used for receiving a parameter adjusting instruction sent by the host;
the instruction extracting module is used for extracting the current brightness parameter of the host from the parameter adjusting instruction;
and the instruction synchronization module is used for changing the brightness parameter of the screen end to be the same as the current brightness parameter.
The embodiment of the invention provides electronic equipment which comprises the host and a screen end.
The embodiment of the invention provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein when the processor executes the computer program, the steps in the brightness parameter synchronization method are realized.
An embodiment of the present invention provides a readable storage medium, which is a computer readable storage medium, and a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps in the brightness parameter synchronization method are implemented as above.
The embodiment of the invention provides a brightness parameter synchronization method which is applied to a split type electronic device comprising a first main body and a second main body. The brightness parameter synchronization method comprises the following steps: the first main body receives a parameter adjusting instruction of the second main body, extracts a current brightness parameter of the second main body from the parameter adjusting instruction, and changes the brightness parameter of the first main body to be the same as the current brightness parameter. The method provided by the embodiment of the invention can change the brightness parameter to be the same as the current brightness parameter in the parameter adjusting instruction after the first main body receives the parameter adjusting instruction, thereby effectively realizing the synchronization of the brightness parameters of the first main body and the second main body.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a block diagram of a split electronic device;
FIG. 2 is a flowchart illustrating a brightness parameter synchronization method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating another luminance parameter synchronization method according to an embodiment of the present invention;
fig. 4 is a signaling flow chart of a luminance parameter synchronization method according to an embodiment of the present invention;
fig. 5 is a signaling flow chart of another brightness parameter synchronization method according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of a host according to an embodiment of the present invention;
FIG. 7 is a schematic diagram of another embodiment of a host;
FIG. 8 is a structural diagram of a screen end according to an embodiment of the present invention;
fig. 9 is a schematic view of another structure of the shield terminal according to the embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 shows a split type electronic device, which includes a host body 11 and a screen body 12, where a structural block diagram of the host body can be seen in fig. 1A, and a structural block diagram of the screen body can be seen in fig. 1B. The brightness parameter synchronization method provided by the embodiment of the present invention may be applied to a split-type electronic device as shown in fig. 1, where the split-type electronic device may include, but is not limited to: the system is a smart phone, a notebook, a tablet computer, a wearable smart device and the like which need to maintain normal operation by depending on a battery and support network and downloading functions.
As shown in fig. 1A, the host body of the separated electronic device includes a memory 111, a memory controller 112, one or more processors 113 (only one is shown), a peripheral interface 114, a radio frequency module 115, and a key module 116. These components communicate with each other via one or more communication buses/signal lines 117.
It is to be understood that the structure shown in fig. 1 is merely an illustration, and does not limit the structure of the split type electronic device. The host body 11 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
The memory 111 may be used to store software programs and modules, such as the brightness parameter synchronization method and the program instructions/modules corresponding to the separated electronic device in the embodiment of the present invention, and the processor 113 executes various functional applications and data processing by running the software programs and modules stored in the memory 111, so as to implement the brightness parameter synchronization method.
The memory 111 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 111 may further include memory remotely located from the processor 113, which may be connected to the split electronic device 11 over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. Access to the memory 111 by the processor 113 and possibly other components may be under the control of the memory controller 112.
The peripheral interface 114 couples various input/output devices to the CPU and to the memory 111. The processor 113 executes various software, instructions within the memory 111 to perform various functions of the separated electronic device 11 and to perform data processing.
In some embodiments, the peripheral interface 114, the processor 113, and the memory controller 112 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The rf module 115 is used for receiving and transmitting electromagnetic waves, and implementing interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The rf module 115 may include various existing circuit elements for performing these functions, such as an antenna, an rf transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The rf module 115 may communicate with various networks such as the internet, an intranet, a preset type of wireless network, or other devices through a preset type of wireless network. The preset types of wireless networks described above may include cellular telephone networks, wireless local area networks, or metropolitan area networks. The Wireless network of the above-mentioned preset type may use various communication standards, protocols and technologies, including but not limited to Global System for mobile communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), bluetooth, Wireless Fidelity (WiFi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE802.11g and/or IEEE802.11 n), Voice over internet protocol (VoIP), Global internet Access (wimax), other protocols for email, instant messaging, and short messaging, and any other suitable messaging protocol.
The key module 116 provides an interface for a user to input to the separated electronic device, and the user can press different keys to make the separated electronic device 11 execute different functions.
As shown in fig. 1B, the screen body 12 of the detachable electronic device includes a memory 121, a memory controller 122, one or more processors 123 (only one is shown), a peripheral interface 124, a radio frequency module 125, and a touch screen 126, which are in communication with each other through one or more communication buses/signal lines 127.
It is to be understood that the structure shown in fig. 1 is merely an illustration, and does not limit the structure of the split type electronic device. The screen body 12 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
It should be understood that the rf module 125 in the screen body 12 can communicate with the rf module 115 in the host body 11 to transmit signaling and data. The memory 121, the memory controller 122, the processor 123, the peripheral interface 124 and the radio frequency module 125 in the screen body 12 have functions corresponding to those of the host body 11, and the touch screen 126 in the screen body 12 functions to provide an output and input interface between the separated electronic device and the user. In particular, the touch screen 126 displays video output to the user, the content of which may include text, graphics, video, and any combination thereof. Some of the output results are for some of the user interface objects. The touch screen 126 also receives user inputs, such as user clicks, swipes, and other gesture operations, so that the user interface objects respond to these user inputs. The technique of detecting user input may be based on resistive, capacitive, or any other possible touch detection technique. Specific examples of the touch screen 126 display unit include, but are not limited to, a liquid crystal display or a light emitting polymer display.
The brightness parameter synchronization method in the embodiment of the present invention is described based on the above-described split type electronic device.
The invention provides a brightness parameter synchronization method which can be applied to a host main body and a screen main body, and is convenient for avoiding expression drag, a first main body and a second main body are introduced to distinguish, and when the first main body is the host main body, the second main body is the screen main body; when the first main body is a screen main body, the second main body is a host main body. The brightness parameter synchronization method provided by the invention can keep the brightness parameters of the main body of the host and the main body of the screen synchronous.
Referring to fig. 2, fig. 2 is a schematic flow chart of a luminance parameter synchronization method according to an embodiment of the present invention, the method includes:
step 201, the first main body receives a parameter adjustment instruction sent by the second main body.
It should be understood that, when the user manipulates the second subject to change the brightness parameter thereof, the second subject will generate a parameter adjustment command and send the generated parameter adjustment command to the first subject based on the communication connection with the first subject, and the first subject receives the parameter adjustment command sent by the second subject. The parameter adjustment instruction here includes at least the current brightness parameter of the second subject.
It should be understood that after the second main body changes its brightness parameter and generates the parameter adjustment instruction, there are two situations, one is that after the second main body completes one brightness adjustment, the parameter adjustment instruction is generated and sent to the first main body; the other method is that after the second main body finishes one brightness adjustment and the user does not adjust the brightness of the second main body for the next time within a period of time, a parameter adjustment instruction is generated and sent to the first main body.
Step 202, extracting the current brightness parameter of the second subject from the parameter adjusting instruction.
Step 203, the brightness parameter of the first subject is changed to be the same as the current brightness parameter.
After receiving the parameter adjustment instruction of the second subject, the first subject extracts the current brightness parameter of the second subject from the parameter adjustment instruction, and changes the brightness parameter of the first subject to be the same as the current brightness parameter, so that the brightness parameter on the first subject can be kept the same as the brightness parameter on the second subject.
The brightness parameter synchronization method provided by the embodiment of the invention can ensure that the brightness parameters of the first main body and the second main body are the same.
Referring to fig. 3, fig. 3 is a schematic flow chart of a luminance parameter synchronization method according to another embodiment of the present invention, the method includes the following steps:
step 301, adjusting the brightness parameter of the first subject in response to the adjustment operation of the brightness parameter of the first subject.
The user takes an adjustment operation on the brightness parameter of the first subject, and the first subject adjusts its brightness parameter in response to the adjustment operation. For the adjustment operation, when the first main body is the main body, the adjustment operation in step 301 may be a pressing operation of a user on a physical key provided on the main body; when the first main body is a screen main body, the adjusting operation in step 301 may be an operation of touching a virtual key, for example, a sliding operation of a virtual brightness adjusting bar on the screen main body by a user, or a pressing operation of a physical key set on the screen main body by the user.
Step 302, obtaining the brightness parameter adjusted by the first main body as a current brightness parameter, and generating a parameter adjustment instruction containing the current brightness parameter.
Step 303, sending the parameter adjustment instruction to the second main body.
The first main body takes the obtained and adjusted brightness parameters as current brightness parameters, generates a parameter adjusting instruction containing the current brightness parameters, and sends the parameter adjusting instruction to the second main body, and the second main body adjusts the brightness parameters according to the parameter adjusting instruction.
The brightness parameter synchronization method provided by the embodiment of the invention can synchronize the brightness parameters of the host main body and the screen main body.
In order to better understand the technical solution in the embodiment of the present invention, the following describes the above-mentioned interaction process of luminance parameter synchronization by taking the first main body as a host main body and the second main body as a screen main body, where the interaction process between the host main body and the screen main body can refer to a signaling flow chart shown in fig. 4, which includes:
in step 401, the host body determines a brightness change value based on an adjustment operation in response to the adjustment operation on the brightness parameter of the host body.
The host main body determines a brightness change value based on an adjustment operation in response to the adjustment operation of the brightness parameter of the host main body by a user. In some examples, the host body is provided with physical keys, including an increment key and a decrement key, and the adjustment operation is a pressing operation of the physical keys by a user. And when the user presses the increment key or the decrement key once, the preset brightness value is correspondingly increased or decreased. Alternatively, the change value of the brightness may be determined in real time according to increasing or decreasing a preset brightness value after detecting the pressing operation of the physical key by the user. Optionally, after the pressing operation of the physical key by the user is detected, if the pressing operation is not detected again within a period of time, the brightness change value may be determined according to increasing and decreasing the preset brightness value.
Step 402, after the adjustment operation is finished, obtaining the adjusted brightness parameter by using the brightness parameter and the brightness change value stored in the host main body, and replacing the stored brightness parameter by using the adjusted brightness parameter.
It should be understood that the host main body stores the brightness parameter, and after the host main body detects that the user's adjustment operation is finished, the host main body obtains the adjusted brightness parameter for the host main body through calculation by using the brightness parameter stored in the host main body and the brightness change value determined in step 401, and replaces the stored brightness parameter with the adjusted brightness parameter, so as to adjust the brightness parameter of the host main body.
Step 403, the host main body obtains the adjusted brightness parameter as a current brightness parameter, and generates a parameter adjustment instruction containing the current brightness parameter.
Step 404, the host body sends the parameter adjusting instruction to the screen body, and the screen body receives the parameter adjusting instruction sent by the host body.
After the host main body replaces the stored brightness parameters, two conditions exist, namely, after the host main body finishes brightness adjustment once, a parameter adjusting instruction is generated and sent to the screen main body; the other method is that after the main body of the host computer completes one brightness adjustment, and the user does not perform the next brightness adjustment on the main body of the host computer within a period of time, a parameter adjustment instruction is generated and sent to the main body of the screen.
Step 405, the screen body extracts the current brightness parameter of the host body from the parameter adjustment instruction.
And step 406, the screen body adjusts the brightness parameter of the screen body to the current brightness parameter.
It should be understood that, when more than one screen main body is in communication connection with the main body, the main body sends the parameter adjusting instruction to each screen main body, each corresponding screen main body receives the parameter adjusting instruction sent by the main body, and extracts the current brightness parameter of the main body from the parameter adjusting instruction, and each screen main body adjusts the brightness parameter to the current brightness parameter. It should be understood that each screen body herein refers to other screen bodies except the screen body where the user actively adjusts the brightness parameter.
The brightness parameter synchronization method provided by the embodiment of the invention can synchronize the brightness parameters of the host main body and the screen main body.
The above interaction process of the luminance parameter synchronization will be described below by taking the first main body as a screen main body and the second main body as a host main body, where the interaction process between the host main body and the screen main body can refer to a signaling interaction process shown after a dashed line 1 in fig. 4, and includes:
step 407, the screen body responds to the sliding operation of the user on the virtual brightness adjusting bar on the screen body, and obtains the target position of the sliding operation on the virtual brightness adjusting bar.
It should be understood that there is a contact position between the sliding operation of the user and the virtual brightness adjusting bar, and the target position here may be a real-time contact position between the sliding operation and the virtual brightness adjusting bar during the sliding process of the virtual brightness adjusting bar by the user, a contact position at which the sliding operation is stopped and the contact is maintained by the user, or a position at which the sliding operation is finally contacted with the virtual brightness adjusting bar.
And step 408, the screen main body searches for a mapping relation between the preset position and the brightness parameter to obtain a target brightness parameter corresponding to the target position, and the brightness parameter of the screen main body is adjusted according to the target brightness parameter.
The screen main body is preset with a mapping relation between the position on the virtual brightness adjusting strip and the brightness parameter, the screen main body can obtain a target brightness parameter corresponding to the target position by searching the mapping relation, and the screen main body adjusts the brightness parameter of the screen main body according to the target brightness parameter.
Step 409, detecting whether the user performs sliding operation on the virtual brightness adjusting bar of the screen main body within a preset time length, and if the screen main body detects that the user performs sliding operation on the virtual brightness adjusting bar of the screen main body within the preset time length, returning to execute step 407. If the screen body does not detect the sliding operation of the brightness parameter of the screen body within the preset time period, step 410 is executed.
Step 410, the screen main body obtains the brightness parameter adjusted by the screen main body as the current brightness parameter, and generates a parameter adjusting instruction containing the current brightness parameter.
Step 411, the screen main body sends the parameter adjusting instruction to the host main body, and the host main body receives the parameter adjusting instruction.
It should be understood that after the screen main body adjusts the brightness parameters and generates the parameter adjusting instruction, there are two situations, one is that after the screen main body completes brightness adjustment once, the parameter adjusting instruction is generated and sent to the host main body; and the other method is that after the screen main body finishes one-time brightness adjustment and the user does not perform the next brightness adjustment on the screen main body within a period of time, a parameter adjustment instruction is generated and sent to the host main body.
In step 412, the host body extracts the current brightness parameter of the screen body from the parameter adjustment instruction.
Step 413, replacing the stored brightness parameter in the host body with the current brightness parameter.
In some other examples of this embodiment, the host main body of the split electronic device may be communicatively connected to not only one screen main body, but also at least one other screen main body. For convenience of describing this example, a screen body other than the screen body actively adjusted by the user is referred to as a screen sub-body herein. The interaction with the screen sub-body may be added on the basis of the interaction process shown in fig. 4, and specifically refer to the signaling flow chart shown in fig. 5, which is described by taking only one screen sub-body as an example. In this example, the dashed line 2 in fig. 5 is the same dashed line as the dashed line 2 in fig. 4, and after step 413 in fig. 4, the following steps are further included:
and step 414, the main computer body sends the parameter adjusting instruction to the auxiliary screen body.
Step 415, after receiving the parameter adjusting instruction, the screen sub-body extracts the current brightness parameter from the parameter adjusting instruction, and changes the brightness parameter to be the same as the extracted current brightness parameter, so that the user can adjust the brightness parameter of the screen sub-body by adjusting the brightness parameter on the screen main body.
The brightness parameter synchronization method provided by the embodiment of the invention can synchronize the brightness parameters of the host main body and the screen main body. In another example, the user can adjust the brightness parameter of one of the screen bodies to adjust the brightness parameter of the other screen body through the host body.
An embodiment of the present invention further provides a host, which includes, referring to fig. 6:
the receiving module 601 is configured to receive a parameter adjustment instruction sent by a screen end;
an extracting module 602, configured to extract a current brightness parameter of the screen end from the parameter adjusting instruction;
a synchronization module 603, configured to change the brightness parameter of the host to be the same as the current brightness parameter.
The host provided by the embodiment of the invention can realize the brightness parameter synchronization method in the embodiment, so that the brightness parameters of the host and the screen end are synchronized.
In some other examples, referring to fig. 7, the host may further include:
an adjusting module 604, configured to adjust a brightness parameter of the host in response to an adjusting operation on the brightness parameter of the host;
a generating module 605, configured to obtain the brightness parameter adjusted by the host as a current brightness parameter, and generate a parameter adjustment instruction including the current brightness parameter;
and a sending module 606, configured to send the parameter adjustment instruction to the screen end, where the parameter adjustment instruction is used to synchronize the brightness parameters at the screen end.
An embodiment of the present invention further provides a screen end, which includes, referring to fig. 8:
a parameter adjusting module 801, configured to adjust a luminance parameter of the screen end in response to an adjusting operation on the luminance parameter of the screen end;
the instruction generating module 802 is configured to obtain the brightness parameter adjusted by the screen end as a current brightness parameter, and generate a parameter adjustment instruction including the current brightness parameter;
and an instruction sending module 803, configured to send a parameter adjustment instruction to the host, where the parameter adjustment instruction is used for synchronizing the brightness parameters of the host.
The screen end provided by the embodiment of the invention can realize the brightness parameter synchronization method in the embodiment, so that the brightness parameters of the host and the screen end are synchronized.
In some other examples, referring to fig. 9, the screen end may further include:
an instruction receiving module 804, configured to receive a parameter adjustment instruction sent by a host;
a parameter extracting module 805, configured to extract a current luminance parameter of the host from the parameter adjusting instruction;
and a parameter synchronization module 806, configured to change the brightness parameter of the screen end to be the same as the current brightness parameter.
The embodiment of the invention also provides electronic equipment, which comprises any one of the host and the screen end.
The embodiment of the present invention further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and when the processor executes the computer program, the steps of the luminance parameter synchronization method in any one of the embodiments described above are implemented.
The electronic device provided by the embodiment of the invention can realize the brightness parameter synchronization method in the embodiment, so that the brightness parameters of the first main body and the second main body are synchronized.
The embodiment of the present invention further provides a readable storage medium, which is a computer readable storage medium, and a computer program is stored on the readable storage medium, and when the computer program is executed by a processor, the steps of the luminance parameter synchronization method in any one of the above embodiments are implemented.
The readable storage medium provided by the embodiment of the present invention can implement the luminance parameter synchronization method in the above embodiments, so that the luminance parameters of the first main body and the second main body are synchronized.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of modules is merely a division of logical functions, and an actual implementation may have another division, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may be in an electrical, mechanical or other form.
Modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to implement the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no acts or modules are necessarily required of the invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In view of the above description of the brightness parameter synchronization method, the main device and the readable storage medium provided by the present invention, those skilled in the art will recognize that there may be variations in the embodiments and applications of the method according to the concepts of the present invention.

Claims (14)

1. A brightness parameter synchronization method applied to a split type electronic device, the electronic device including a first body and a second body, the method comprising:
the first main body receives a parameter adjusting instruction sent by the second main body;
extracting a current brightness parameter of the second subject from the parameter adjusting instruction;
changing the brightness parameter of the first subject to be the same as the current brightness parameter.
2. The luminance parameter synchronization method according to claim 1, wherein the changing the luminance parameter of the first subject to be the same as the current luminance parameter includes:
when the first main body is a host main body, replacing the stored brightness parameter of the host main body with the current brightness parameter;
and when the first main body is a screen main body, adjusting the brightness parameter of the screen main body to the current brightness parameter.
3. The luminance parameter synchronization method according to claim 1 or 2, wherein the changing the luminance parameter of the first subject to be the same as the current luminance parameter further comprises:
when the first main body is a main body of the host computer and the electronic device further comprises at least one screen auxiliary body, the main body of the host computer sends the current brightness parameter to the at least one screen auxiliary body, and the current brightness parameter is used for the screen auxiliary body to synchronize the brightness parameter.
4. A brightness parameter synchronization method applied to a split type electronic device, the electronic device including a first body and a second body, the method comprising:
adjusting the brightness parameter of the first subject in response to an adjustment operation of the brightness parameter of the first subject;
acquiring the brightness parameter adjusted by the first main body as a current brightness parameter, and generating a parameter adjusting instruction containing the current brightness parameter;
and sending the parameter adjusting instruction to the second main body, wherein the parameter adjusting instruction is used for synchronizing the brightness parameters of the second main body.
5. The luminance parameter synchronization method as claimed in claim 4, wherein the adjusting the luminance parameter of the first subject in response to the adjusting operation of the luminance parameter of the first subject comprises:
when the first main body is a screen main body, responding to sliding operation of a virtual brightness adjusting strip on the screen main body, and acquiring a target position of the sliding operation on the virtual brightness adjusting strip;
and searching a mapping relation between a preset position and the brightness parameter to obtain a target brightness parameter corresponding to the target position, and adjusting the brightness parameter of the screen main body according to the target brightness parameter.
6. The luminance parameter synchronization method as claimed in claim 5, wherein when the first subject is a screen subject, the adjusting the luminance parameter of the first subject in response to the adjusting operation of the luminance parameter of the first subject, further comprises:
if the next sliding operation of the virtual brightness adjusting strip of the screen main body is detected within a preset time length, returning to the step of responding to the sliding operation of the virtual brightness adjusting strip on the screen main body;
and if the next sliding operation of the brightness parameter of the screen main body is not detected within the preset time length, continuing to execute the step of acquiring the brightness parameter adjusted by the first main body as the current brightness parameter and generating a parameter adjusting instruction containing the current brightness parameter.
7. The luminance parameter synchronization method as claimed in claim 4, wherein the adjusting the luminance parameter of the first subject in response to the adjusting operation of the luminance parameter of the first subject comprises:
when the first main body is a host main body, in response to an adjustment operation on a brightness parameter of the host main body, determining a brightness change value based on the adjustment operation;
and after the adjustment operation is finished, obtaining the adjusted brightness parameter by using the brightness parameter and the brightness change value stored in the host main body, and replacing the stored brightness parameter by using the adjusted brightness parameter.
8. A host, comprising:
the receiving module is used for receiving a parameter adjusting instruction sent by the screen end;
the extraction module is used for extracting the current brightness parameter of the screen end from the parameter adjusting instruction;
and the synchronization module is used for changing the brightness parameter of the host to be the same as the current brightness parameter.
9. The host of claim 8, wherein the host further comprises:
the adjusting module is used for responding to the adjusting operation of the brightness parameter of the host and adjusting the brightness parameter of the host;
the generating module is used for acquiring the brightness parameter adjusted by the host computer as a current brightness parameter and generating a parameter adjusting instruction containing the current brightness parameter;
and the sending module is used for sending the parameter adjusting instruction to the screen end, and the parameter adjusting instruction is used for synchronizing the brightness parameters of the screen end.
10. A screen terminal, comprising:
the parameter adjusting module is used for responding to the adjusting operation of the brightness parameter of the screen end and adjusting the brightness parameter of the screen end;
the instruction generating module is used for acquiring the brightness parameter regulated by the screen end as a current brightness parameter and generating a parameter regulating instruction containing the current brightness parameter;
and the instruction sending module is used for sending the parameter adjusting instruction to a host, and the parameter adjusting instruction is used for synchronizing the brightness parameters of the host.
11. The screen end of claim 10, further comprising:
the instruction receiving module is used for receiving a parameter adjusting instruction sent by the host;
the parameter extraction module is used for extracting the current brightness parameter of the host from the parameter adjusting instruction;
and the parameter synchronization module is used for changing the brightness parameter of the screen end to be the same as the current brightness parameter.
12. An electronic device, characterized in that the electronic device comprises a host according to claim 8 or 9 and a screen terminal according to claim 10 or 11.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method for luminance parameter synchronization as claimed in any one of claims 1 to 3 or/and claims 4 to 7 when executing the computer program.
14. A readable storage medium being a computer readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the luminance parameter synchronization method as set forth in any one of the claims 1 to 3 or/and claims 4 to 7.
CN201811212389.0A 2018-10-18 2018-10-18 Brightness parameter synchronization method, related device and readable storage medium Pending CN111081197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811212389.0A CN111081197A (en) 2018-10-18 2018-10-18 Brightness parameter synchronization method, related device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811212389.0A CN111081197A (en) 2018-10-18 2018-10-18 Brightness parameter synchronization method, related device and readable storage medium

Publications (1)

Publication Number Publication Date
CN111081197A true CN111081197A (en) 2020-04-28

Family

ID=70308085

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811212389.0A Pending CN111081197A (en) 2018-10-18 2018-10-18 Brightness parameter synchronization method, related device and readable storage medium

Country Status (1)

Country Link
CN (1) CN111081197A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112996203A (en) * 2021-03-10 2021-06-18 重庆第二师范学院 Intelligent illumination control system and control method
CN114141186A (en) * 2021-11-12 2022-03-04 维沃移动通信有限公司 Display parameter adjusting method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204423239U (en) * 2014-02-25 2015-06-24 曾林 Separate type mobile device
CN104994194A (en) * 2015-07-13 2015-10-21 广东欧珀移动通信有限公司 Flexible screen mobile terminal using wireless transmission
CN105338133A (en) * 2014-07-31 2016-02-17 展讯通信(上海)有限公司 Mobile terminal with foldable screen
CN107170424A (en) * 2017-06-30 2017-09-15 联想(北京)有限公司 A kind of display control method, display methods and electronic equipment
CN107454211A (en) * 2017-03-07 2017-12-08 金雯 A kind of split type combined handset, unlocking screen method and device
CN206835154U (en) * 2017-03-07 2018-01-02 金雯 A kind of split type combined handset
CN107799091A (en) * 2017-11-14 2018-03-13 山东超越数控电子股份有限公司 A kind of screen luminance adjustment method and system
US20180137839A1 (en) * 2016-11-17 2018-05-17 Lg Electronics Inc. Display apparatus
CN108334299A (en) * 2018-01-26 2018-07-27 山东超越数控电子股份有限公司 A kind of automatic adjustment expansion screen parameter display consistency system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN204423239U (en) * 2014-02-25 2015-06-24 曾林 Separate type mobile device
CN105338133A (en) * 2014-07-31 2016-02-17 展讯通信(上海)有限公司 Mobile terminal with foldable screen
CN104994194A (en) * 2015-07-13 2015-10-21 广东欧珀移动通信有限公司 Flexible screen mobile terminal using wireless transmission
US20180137839A1 (en) * 2016-11-17 2018-05-17 Lg Electronics Inc. Display apparatus
CN107454211A (en) * 2017-03-07 2017-12-08 金雯 A kind of split type combined handset, unlocking screen method and device
CN206835154U (en) * 2017-03-07 2018-01-02 金雯 A kind of split type combined handset
CN107170424A (en) * 2017-06-30 2017-09-15 联想(北京)有限公司 A kind of display control method, display methods and electronic equipment
CN107799091A (en) * 2017-11-14 2018-03-13 山东超越数控电子股份有限公司 A kind of screen luminance adjustment method and system
CN108334299A (en) * 2018-01-26 2018-07-27 山东超越数控电子股份有限公司 A kind of automatic adjustment expansion screen parameter display consistency system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112996203A (en) * 2021-03-10 2021-06-18 重庆第二师范学院 Intelligent illumination control system and control method
CN114141186A (en) * 2021-11-12 2022-03-04 维沃移动通信有限公司 Display parameter adjusting method and device
CN114141186B (en) * 2021-11-12 2024-03-19 维沃移动通信有限公司 Display parameter adjustment method and device

Similar Documents

Publication Publication Date Title
CN109753159B (en) Method and apparatus for controlling electronic device
US9594496B2 (en) Method and apparatus for playing IM message
EP2942705B1 (en) Method and device for controlling multiple displays
US10795634B2 (en) Method, apparatus, and mobile terminal for screen mirroring
US9716531B2 (en) Near field communication-based data transmission method and apparatus, and near field communication device
CN108022274B (en) Image processing method, image processing device, computer equipment and computer readable storage medium
CN111352597B (en) Multi-screen display control method and device, electronic equipment and readable storage medium
CN107967129B (en) Display control method and related product
WO2016001771A1 (en) Image generation method and apparatus, and mobile terminal
CN105843681B (en) Mobile terminal and operating system switching method thereof
CN106406675A (en) Fast method for running application programs and terminal equipment
CN108932102B (en) Data processing method and device and mobile terminal
CN107871015B (en) Log data processing method and device, terminal and readable storage medium
CN108958587B (en) Split screen processing method and device, storage medium and electronic equipment
CN108694009B (en) Terminal control method and device
CN109842820B (en) Barrage information input method and device, mobile terminal and readable storage medium
CN108803983B (en) Notification message display control method and device, electronic device and storage medium
US20150109210A1 (en) Control method, and input device of touch screen terminal
CN111081197A (en) Brightness parameter synchronization method, related device and readable storage medium
CN107770845B (en) mobile hotspot management method and device, terminal and storage medium
CN106484563B (en) Data migration method and terminal equipment
CN107632985B (en) Webpage preloading method and device
CN109101163B (en) Long screen capture method and device and mobile terminal
CN108803961B (en) Data processing method and device and mobile terminal
CN109032465B (en) Data processing method and device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200428