CN117631935A - Parameter synchronization method and electronic equipment - Google Patents

Parameter synchronization method and electronic equipment Download PDF

Info

Publication number
CN117631935A
CN117631935A CN202211021832.2A CN202211021832A CN117631935A CN 117631935 A CN117631935 A CN 117631935A CN 202211021832 A CN202211021832 A CN 202211021832A CN 117631935 A CN117631935 A CN 117631935A
Authority
CN
China
Prior art keywords
application
parameter
electronic device
user
setting result
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
CN202211021832.2A
Other languages
Chinese (zh)
Inventor
梅浩
马玉
王卫星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202211021832.2A priority Critical patent/CN117631935A/en
Publication of CN117631935A publication Critical patent/CN117631935A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephone Function (AREA)

Abstract

The application provides a parameter synchronization method and electronic equipment, and relates to the technical field of terminals. The parameters can be self-adaptively and synchronously set among different applications in the electronic equipment, so that user operation is reduced, and user experience is improved. The method comprises the following steps: and responding to a first operation of adjusting the first parameter value of the first parameter of the first application to the second parameter value by the user, and acquiring a parameter setting result of the first application by the electronic equipment. And then, the electronic equipment sets the first parameter of the second application as a second parameter value according to the parameter setting result.

Description

Parameter synchronization method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to a parameter synchronization method and electronic equipment.
Background
The video application or the audio application in the electronic equipment (such as a mobile phone, a tablet and the like) is configured with a plurality of parameters which can be set by a user, so that the audio and video effect can meet the user requirement. For example, in the process of playing video, the electronic device may respond to user operation to adjust the playing speed, the playing definition, the barrage, and the like of the video.
However, in the case where the number of video applications or audio applications installed in the electronic device is plural, after the user has adjusted the parameters of one application, it may be necessary to switch to use other applications, which requires the user to adjust the parameters of the switched application again according to the needs. The process operation of parameter setting by different applications is complicated, and the use experience of a user is affected.
Disclosure of Invention
In order to solve the technical problems, the application provides a parameter synchronization method and electronic equipment. According to the technical scheme, parameters can be set in a self-adaptive mode among different applications in the electronic equipment, user operation is reduced, and user experience is improved.
In order to achieve the technical purpose, the application provides the following technical scheme:
in a first aspect, a parameter synchronization method is provided. The method comprises the following steps: in response to a first operation of a user, the electronic device obtains a parameter setting result of the first application, the first operation is used for adjusting a first parameter value of a first parameter of the first application to a second parameter value, and the parameter setting result comprises the second parameter value. And the electronic equipment sets the first parameter of the second application as a second parameter value according to the parameter setting result.
Thus, compared with the prior art, after the electronic equipment needs to open the application, the parameter setting of the currently displayed application is completed. The parameter synchronization method provided by the embodiment of the application can rapidly complete the setting of the parameter values configured with the same parameters in the electronic equipment, and improves the user experience.
Furthermore, the application parameter synchronization process is no longer limited to parameter settings for video-type applications or audio-type applications, as well as to a limited variety of parameter settings. The parameter dynamic matching synchronization of more types of applications can be realized, the requirements of users on parameter setting can be met in various types of applications, and the use experience of the users is further improved.
According to a first aspect, the first operation is an operation of adjusting a parameter value of the first parameter in the first application.
According to the first aspect, or any implementation manner of the first aspect, in response to a first operation by a user, the electronic device obtains a parameter setting result of the first application, including: the electronic device displays a first window. In response to a first operation acting on the first window, the electronic device obtains a parameter setting result.
In this manner, the electronic device may receive an operation by a user to adjust a parameter value of the first parameter in the application. Alternatively, the electronic device receives, in response to the user parameter displaying a cross-application settings window (i.e., a first window), an operation in which the user adjusts a parameter value of the first parameter in the cross-application settings window. The electronic equipment provides multiple parameter adjustment inlets for the user, and user experience is improved.
According to the first aspect, or any implementation manner of the first aspect, the electronic device obtains a parameter setting result of the first application, including: the electronic equipment monitors a parameter setting result reported by the first application through the public service module.
Thus, the first application in the electronic equipment can actively report the parameter setting result to the public service module in response to the operation of the user for adjusting the parameter value of the parameter, so that the automatic synchronization of the parameter is realized.
According to the first aspect, or any implementation manner of the first aspect, the electronic device obtains a parameter setting result of the first application, including: the electronic equipment identifies a display interface corresponding to the first application through the public service module, and obtains a parameter setting result.
In this way, for an application that does not adapt to a public service call interface that interacts with a public service module, the electronic device can also actively acquire the setting parameters of the application through the public service module, so as to complete parameter synchronization between different applications. Therefore, adjustment of manual parameter values of a user is reduced, and user experience is improved.
In this way, the electronic equipment monitors the reported parameter setting result and actively acquires the parameter setting result, and for each application in the electronic equipment, the public service module can acquire the corresponding parameter setting result, thereby meeting the requirement of parameter automatic synchronization.
According to a first aspect, or any implementation manner of the first aspect, the first window is used for displaying a target parameter and an identification of a target application, the target parameter includes the first parameter, and the target application includes the first application and the second application.
According to a first aspect, or any implementation manner of the first aspect, the first window is used for classifying and displaying the target parameters according to application type and/or setting type.
According to a first aspect, or any implementation of the first aspect above, the first application and the second application comprise a first parameter.
According to the first aspect, or any implementation manner of the first aspect, the setting, by the electronic device, the first parameter of the second application to be the second parameter value according to the parameter setting result includes: and a second application in the electronic equipment receives the broadcast message sent by the public service module and determines a parameter setting result carried in the broadcast message. And setting the first parameter of the second application as a second parameter value by the second application in the electronic equipment according to the parameter setting result.
Thus, the electronic equipment automatically completes parameter synchronization among different applications through the public service module. Therefore, adjustment of manual parameter values of a user is reduced, and user experience is improved.
According to the first aspect, or any implementation manner of the first aspect, the setting, by the electronic device, the first parameter of the second application to be the second parameter value according to the parameter setting result includes: and the electronic equipment responds to a second operation of starting the second application by the user, and sets the first parameter of the second application as a second parameter value according to the parameter setting result.
In this way, the application in the electronic device automatically completes the synchronization of the setting parameter values in response to the operation of the user to launch the application. Therefore, the electronic equipment reduces the power consumption of the electronic equipment while providing the user with the experience of automatic synchronization of the application parameters.
According to the first aspect, or any implementation manner of the first aspect, the method further includes: the electronic device stores the parameter setting result.
Therefore, by storing the parameter setting results corresponding to different times, the public service module can enable the parameter automatic synchronization result to meet the use requirement of the user, and further improve the use experience of the user.
According to the first aspect, or any implementation manner of the first aspect, the method further includes: the electronic device allows the first application to report the parameter setting result in response to a third operation of the user, and/or allows the second application to synchronize the parameter setting result of the first application in response to a fourth operation of the user.
Therefore, the user can quickly finish the setting of the cross-application dynamic synchronous setting parameters of the application in the electronic equipment, and the user experience is improved.
According to the first aspect, or any implementation manner of the first aspect, the method further includes: in response to a fifth operation of the user, the electronic device displays a second window in which the application type identifier is displayed and/or sets the type identifier. And responding to a sixth operation of the application type identifier by the user, and indicating the application corresponding to the application type identifier type to start or close the parameter synchronization function by the electronic equipment. And/or, in response to a seventh operation of the user on the setting type identifier, the electronic device indicates a function of starting or closing the parameter value of the synchronous target parameter by the application comprising the target parameter corresponding to the setting type identifier.
The fifth operation includes, for example, left-sliding, right-sliding, up-sliding, down-sliding, long-pressing, and the like.
Therefore, the user can quickly complete the capability setting of the cross-application dynamic synchronous setting parameters of part of applications in the electronic equipment, and the user experience is improved.
According to the first aspect, or any implementation manner of the first aspect, the first operation is further configured to adjust a third parameter value of the second parameter of the first application to a fourth parameter value, and the parameter setting result includes the fourth parameter value. The method further comprises the steps of: and the second application in the electronic equipment acquires the parameter setting result and determines that the second application does not comprise the second parameter.
Thus, the electronic device automatically completes the automatic synchronization of the parameter value of the first parameter in the application comprising the first parameter in the electronic device according to the parameter setting result of the first parameter of the first application. And for the application which does not comprise the first parameter and other non-first parameters in the application, the setting is unnecessary, and the flexible automatic synchronization of the parameter values is realized.
In a second aspect, an electronic device is provided. The electronic device includes: a processor and a memory coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the electronic device to perform: in response to a first operation of a user, the electronic device obtains a parameter setting result of the first application, the first operation is used for adjusting a first parameter value of a first parameter of the first application to a second parameter value, and the parameter setting result comprises the second parameter value. And the electronic equipment sets the first parameter of the second application as a second parameter value according to the parameter setting result.
According to a second aspect, the first operation is an operation of adjusting a parameter value of the first parameter in the first application.
According to a second aspect, or any implementation manner of the second aspect, the electronic device obtains a parameter setting result of the first application, including: the electronic equipment monitors a parameter setting result reported by the first application through the public service module.
According to a second aspect, or any implementation manner of the second aspect, the electronic device obtains a parameter setting result of the first application, including: the electronic equipment identifies a display interface corresponding to the first application through the public service module, and obtains a parameter setting result.
According to a second aspect, or any implementation manner of the second aspect, in response to a first operation by a user, the electronic device obtains a parameter setting result of the first application, including: the electronic device displays a first window. In response to a first operation acting on the first window, the electronic device obtains a parameter setting result.
According to a second aspect, or any implementation manner of the second aspect, the first window is used for displaying a target parameter and an identification of a target application, the target parameter includes the first parameter, and the target application includes the first application and the second application.
According to a second aspect, or any implementation manner of the second aspect, the first window is used for classifying and displaying the target parameters according to the application type and/or the setting type.
According to a second aspect, or any implementation of the second aspect above, the first application and the second application comprise a first parameter.
According to a second aspect, or any implementation manner of the second aspect, the setting, by the electronic device, the first parameter of the second application to be the second parameter value according to the parameter setting result includes: and a second application in the electronic equipment receives the broadcast message sent by the public service module and determines a parameter setting result carried in the broadcast message. And setting the first parameter of the second application as a second parameter value by the second application in the electronic equipment according to the parameter setting result.
According to a second aspect, or any implementation manner of the second aspect, the setting, by the electronic device, the first parameter of the second application to be the second parameter value according to the parameter setting result includes: and the electronic equipment responds to a second operation of starting the second application by the user, and sets the first parameter of the second application as a second parameter value according to the parameter setting result.
According to a second aspect, or any implementation manner of the second aspect, the processor reads the computer readable instructions from the memory, and further causes the electronic device to perform the following operations: the electronic device stores the parameter setting result.
According to a second aspect, or any implementation manner of the second aspect, the processor reads the computer readable instructions from the memory, and further causes the electronic device to perform the following operations: the electronic device allows the first application to report the parameter setting result in response to a third operation of the user, and/or allows the second application to synchronize the parameter setting result of the first application in response to a fourth operation of the user.
According to a second aspect, or any implementation manner of the second aspect, the processor reads the computer readable instructions from the memory, and further causes the electronic device to perform the following operations: in response to a fifth operation of the user, the electronic device displays a second window in which the application type identifier is displayed and/or sets the type identifier. And responding to a sixth operation of the application type identifier by the user, and indicating the application corresponding to the application type identifier type to start or close the parameter synchronization function by the electronic equipment. And/or, in response to a seventh operation of the user on the setting type identifier, the electronic device indicates a function of starting or closing the parameter value of the synchronous target parameter by the application comprising the target parameter corresponding to the setting type identifier.
According to a second aspect, or any implementation manner of the first aspect, the first operation is further configured to adjust a third parameter value of the second parameter of the first application to a fourth parameter value, and the parameter setting result includes the fourth parameter value. The computer readable instructions, when read from the memory by the processor, further cause the electronic device to: and the second application in the electronic equipment acquires the parameter setting result and determines that the second application does not comprise the second parameter.
The technical effects corresponding to the second aspect and any implementation manner of the second aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a third aspect, the present application provides an electronic device having a function of implementing the parameter synchronization method as described in the first aspect and any one of possible implementation manners. The functions may be implemented by hardware, or by corresponding software executed by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
The technical effects corresponding to the third aspect and any implementation manner of the third aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, and are not described herein again.
In a fourth aspect, the present application provides a computer-readable storage medium. The computer readable storage medium stores a computer program (which may also be referred to as instructions or code) which, when executed by an electronic device, causes the electronic device to perform the method of the first aspect or any implementation of the first aspect.
The technical effects corresponding to the fourth aspect and any implementation manner of the fourth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a fifth aspect, the present application provides a computer program product for causing an electronic device to perform the method of the first aspect or any of the embodiments of the first aspect when the computer program product is run on the electronic device.
The technical effects corresponding to the fifth aspect and any implementation manner of the fifth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a sixth aspect, the present application provides circuitry comprising processing circuitry configured to perform the first aspect or the method of any one of the embodiments of the first aspect.
The technical effects corresponding to the sixth aspect and any implementation manner of the sixth aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein.
In a seventh aspect, the present application provides a chip system, including at least one processor and at least one interface circuit, where the at least one interface circuit is configured to perform a transceiving function and send instructions to the at least one processor, and when the at least one processor executes the instructions, the at least one processor performs the method of the first aspect or any implementation manner of the first aspect.
The technical effects corresponding to the seventh aspect and any implementation manner of the seventh aspect may be referred to the technical effects corresponding to the first aspect and any implementation manner of the first aspect, which are not described herein again.
Drawings
FIG. 1 is a schematic diagram of an interface provided in an embodiment of the present application;
FIG. 2 is a second schematic interface diagram according to an embodiment of the present disclosure;
FIG. 3 is a third interface schematic provided in an embodiment of the present application;
fig. 4 is a schematic diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
Fig. 6 is a schematic diagram of a software structure of an electronic device according to an embodiment of the present application;
FIG. 7 is a flowchart of a parameter synchronization method according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of an interface provided in an embodiment of the present application;
fig. 9A is a fifth interface schematic provided in an embodiment of the present application;
fig. 9B is a schematic diagram of an interface provided in an embodiment of the present application;
fig. 10 is a second schematic flow chart of a parameter synchronization method according to an embodiment of the present application;
FIG. 11 is a seventh interface schematic provided in an embodiment of the present application;
fig. 12 is a flowchart of a parameter synchronization method according to an embodiment of the present application;
FIG. 13 is a schematic view of an interface eighth provided in an embodiment of the present application;
fig. 14 is a schematic diagram nine of an interface provided in an embodiment of the present application;
FIG. 15 is a schematic view of an interface provided in an embodiment of the present application;
FIG. 16 is an eleventh interface schematic provided in an embodiment of the present application;
FIG. 17 is a schematic diagram of an interface twelve according to an embodiment of the present disclosure;
FIG. 18 is a diagram of thirteen interfaces provided in an embodiment of the present application;
FIG. 19 is a schematic diagram fourteen of an interface provided in an embodiment of the present application;
FIG. 20 is a schematic diagram fifteen of an interface provided in an embodiment of the present application;
fig. 21 is a flowchart of a parameter synchronization method according to an embodiment of the present application;
Fig. 22 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application are described below with reference to the drawings in the embodiments of the present application. In the description of the embodiments of the present application, the terminology used in the embodiments below is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification and the appended claims, the singular forms "a," "an," "the," and "the" are intended to include, for example, "one or more" such forms of expression, unless the context clearly indicates to the contrary. It should also be understood that in the various embodiments herein below, "at least one", "one or more" means one or more than two (including two).
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise. The term "coupled" includes both direct and indirect connections, unless stated otherwise. The terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
In the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as examples, illustrations, or descriptions. Any embodiment or design described herein as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In some scenes, with the development of terminal technology, the variety of applications installed in electronic devices is also increased, such as video applications, audio applications, takeaway applications, driving applications, shopping applications, and the like. Different applications can provide corresponding parameter setting inlets for users, so that the users can conveniently set application parameters to meet the use requirements of the users.
For example, as shown in interface 101 of fig. 1, the mobile phone may adjust the video playing parameters in response to the user's parameter setting operation during the video playing process. For example, when the mobile phone detects that the user clicks the play speed adjustment control 11, a play speed adjustment page may be displayed, and in response to the adjustment operation of the user on the play speed of the video on the page, the corresponding play speed of the video is set, for example, the play speed of the video is adjusted to be 1.5 times of the play speed. For another example, when the mobile phone detects that the user clicks the play definition adjustment control 12, a play definition adjustment page may be displayed, and in response to the adjustment operation of the play definition of the video on the page by the user, the corresponding play definition of the video is set, for example, the play definition of the video is adjusted to 720P play. For another example, the cell phone turns on or off the video barrage function in response to a user's operation of the barrage control 13. For another example, the mobile phone receives a setting operation of the user on other parameters of the video in response to the user clicking the more setting control 14, so as to adjust other setting parameters in the video playing process, such as skipping the head and the tail of the video.
Optionally, a plurality of video applications may be installed in the electronic device, and after a user switches from one video application to another video application, if it is determined that the parameter value of the video application does not meet the use requirement, the parameter of the video application needs to be set again. It can be seen that the process is complex in operation, the application parameter setting efficiency is low, and the use experience of a user is affected.
Illustratively, the mobile phone responds to the user operation, and after closing the video application shown in fig. 1, another video application shown in fig. 2 is started. As shown in the interface 201 of fig. 2, the playing speed, video playing definition, and barrage function of the video application may not meet the user's usage requirements. Then, the user needs to repeat the related setting operation described in fig. 1, and set the video application parameters shown in the interface 201 to adjust the video playing effect.
Not only for video-type applications, other types of applications also have the problems described above, as the application parameter setting results cannot be shared.
In this regard, a video tool box function is provided for video applications or audio applications, so that better audio and video effects are provided for users.
Illustratively, as shown in interface 301 in fig. 3 (a), when the mobile phone detects a gesture operation of the user sliding inward along the edge of the display screen during the process of playing video for the video application through the bloom, the mobile phone may start the video tool box to display interface 302 as shown in fig. 3 (b). On the interface 302, a video tool box window 31 is displayed, and the mobile phone can receive setting operations of a user, such as setting operations of a sound-to-screen play function, an image style function, an audio enhancement function and the like, in the video tool box window 31, so that the video playing effect of the video application can meet the user requirements.
For example, the mobile phone detects the operation of the user on the image style function in the video tool box, so that the image style displayed by the mobile phone can be changed, and the video playing effect under the changed image style can be provided for the user.
However, the setting function in the video tool box is not the setting of parameters of the audio and video application currently displayed by the mobile phone, but the setting of limited system functions, and cannot meet the requirement of the user on richer parameter setting. And after exiting the current audio and video application, the system function can be restored to the original default setting. After the subsequent user starts other audio and video applications, the video tool box is required to be restarted for setting, and the use experience of the user is affected.
Furthermore, the video toolbox only supports opening in audio-video applications that have been added to the video toolbox. As shown in interface 302, a video toolbox window 31 displays a bloom video icon 32 indicating that the electronic device has added a bloom video application to the video toolbox. Then, the handset supports opening the video toolbox during display of the video application, such as displaying the video toolbox window 31 in response to user operation. Otherwise, the user needs to add the required audio and video application to the video tool box, and then can open the video tool box in the added application in a mode of manually calling out the functions of the video tool box, so that the operation process is still complicated.
Therefore, the embodiment of the application provides a parameter synchronization method, which can realize self-adaptive synchronization of parameter values for various types of parameters among different applications in the electronic equipment, reduce user operation and improve user experience.
Alternatively, the parameter synchronization method provided in the embodiment of the present application may be applied to the electronic device 100. For example, as shown in fig. 4, the electronic device 100 may specifically be a mobile phone 41, a notebook computer 42, a tablet computer 43, a large screen display device 44, a wearable device 45 (such as a smart watch, a smart bracelet, etc.), a vehicle-mounted device 46, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook, a personal digital assistant (personal digital assistant, PDA), an artificial intelligence (artificial intelligence, AI) device, and other terminal devices. Operating systems installed on electronic device 100 include, but are not limited to Or other operating system. The specific type of electronic device 100, and the installed operating system, is not limited in this application.
By way of example, fig. 5 shows a schematic structural diagram of the electronic device 100.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc.
It is to be understood that the structure illustrated in the embodiments of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present application is only illustrative, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 to power the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may be manufactured using a liquid crystal display (liquid crystal display, LCD), for example, using an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED) or an active-matrix organic light-emitting diode (matrix organic light emitting diode), a flexible light-emitting diode (FLED), a Mini-led, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
In some examples, when the electronic device 100 detects that the user performs the parameter setting operation on the first application while displaying the first application interface through the display screen 194, the obtained parameter setting result may be saved through the internal memory 121. Also, the electronic device 100 may synchronize the parameter setting result to other applications, so that the other applications may not have to be parameter set by the user any more.
Alternatively, the electronic device 100 may obtain the saved parameter setting result from the internal memory 121 after downloading the new application. The electronic device 100 may automatically complete the parameter setting of the newly downloaded application according to the parameter setting result.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like. The processor 110 performs various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110. The electronic device 100 may play, record, etc. music through the audio module 170. The audio module 170 may include a speaker, a receiver, a microphone, a headphone interface, an application processor, etc. to implement audio functions.
The sensor module 180 may include a pressure sensor, a gyroscope sensor, a barometric sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
Touch sensors, also known as "touch devices". The touch sensor may be disposed on the display screen 194, and the touch sensor and the display screen 194 form a touch screen, which is also referred to as a "touch screen". The touch sensor is used to detect a touch operation acting on or near it. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor may also be disposed on a surface of the electronic device 100 at a different location than the display 194.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In this embodiment, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Fig. 6 is a software configuration block diagram of the electronic device 100 of the embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 6, the application package may include applications for cameras, gallery, calendar, phone calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 6, the application framework layer may include a common service module, a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
And the public service module monitors or acquires the parameter setting result of each application in the application program layer through a public service calling interface. And then distributing the parameter setting result to other applications through the public service calling interface. In this way, other applications can automatically synchronize corresponding parameter values based on the parameter setting results.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The telephony manager is used to provide the communication functions of the electronic device 100. Such as the management of call status (including on, hung-up, etc.).
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), two-dimensional graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The two-dimensional graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The parameter synchronization method provided in the embodiment of the present application will be described in detail below by taking the first electronic device 100 as an electronic device.
Optionally, at least a first application and a second application are installed in the electronic device. Wherein the first application is an application that detects a user parameter setting operation. The second application is one or more applications that automatically synchronize the results of the parameter settings in response to the setting of the first application parameter.
Fig. 7 is a schematic flow chart of a parameter synchronization method according to an embodiment of the present application. As shown in fig. 7, the method includes the following steps.
S701, responding to user operation, and acquiring a parameter setting result by the first application.
In one embodiment, various types of applications may be installed in the electronic device, such as video-type applications, take-away-type applications, taxi-type applications, audio-type applications, news-type applications, and the like. Various types of applications provide different types of settings for users, such as image quality, sound effect, address, elderly, bullet screen, etc.
Optionally, the first application is any application in the electronic device, and according to the application type, the first application can provide a setting entry of the corresponding type parameter for the user.
Illustratively, as shown in the following table 1 and table 2, parameters settable by an application in the electronic device and corresponding parameter values are normalized according to the application type and/or according to the setting type, and the setting behavior data specification table is determined (i.e., table 1, table 2). In the application development process, setting behaviors (i.e. parameters which can be set by a user) and corresponding parameter values included in the application can be configured according to the setting behavior data specification table. In this way, the parameter setting result can be determined based on the same setting behavior data specification table in the subsequent interaction process of the application and the public service module.
Illustratively, as shown in FIG. 8, the first application is a video type application. As shown in table 1 below, the setup behavior corresponding to the video type application includes speed doubling, sharpness. In the first application development process, a developer can complete development of the first application setting parameters based on the setting behavior data specification table. That is, the setting parameters of the first application may include a double speed and a definition, wherein the setting parameter values of the double speed include 0.75 double speed play, 1.0 double speed play, 1.25 double speed play, 1.5 double speed play, and 2.0 double speed play, and the setting parameter values of the definition include fluency play (270P), standard definition play (480P), high definition play (720P), and blue light play (1080P).
Then, as shown in interface 801 in fig. 8 (a), after the electronic device detects the operation of the speed setting control 81 by the user, an interface 802 shown in fig. 8 (b) may be displayed, and the setting of the speed of playing the first application by the user is received at the interface 802, for example, the speed of playing is set to 1.5 speed (i.e. the parameter setting result includes that the parameter value corresponding to the speed is 1.5X). Or after the electronic device detects the operation of the definition setting control 82 by the user on the interface 802, an interface 803 as shown in fig. 8 (c) may be displayed, and the setting of the definition of playing the first application by the user is received at the interface 803, for example, the definition of playing is set to be high definition playing (that is, the parameter setting result includes that the parameter value corresponding to the definition is high definition: 720P). Thus, the user can complete the setting of the first application according to the use habit of the user.
TABLE 1
TABLE 2
/>
S702, the first application sends a parameter setting result to the public service module.
In one embodiment, the first application has adapted a public service invocation interface for interaction with a public service module as shown in FIG. 6 during development. Then, after determining the parameter setting result, the first application may report the parameter setting result to the public service module through the public service call interface.
Optionally, the public service module monitors reporting of the parameter setting result applied in the electronic device, and then the public service module may receive the parameter setting result reported by the first application through the public service call interface.
S703, the public service module generates a broadcast message according to the parameter setting result.
In one embodiment, after receiving the parameter setting result, the public service module may generate a corresponding broadcast message according to the parameter setting result, where the broadcast message carries the parameter setting result. The broadcast message is used for indicating the application receiving the broadcast message, and setting the corresponding parameter value according to the parameter setting result.
Optionally, after receiving the parameter setting result, the public service module may verify the parameter setting result according to the set behavior data specification table as described in step S701, and generate the broadcast message according to the parameter setting result in which the set behavior data specification table specification is satisfied. Therefore, the application receiving the broadcast message can successfully read the corresponding setting parameters and parameter values in the parameter setting result, and the synchronization of the parameter values is completed.
In one embodiment, the common service module saves the received parameter setting results (or saves the verified parameter setting results). Optionally, after detecting the new downloaded application of the electronic device, the public service module may send the saved parameter setting result to the application, so as to realize automatic synchronization of the setting parameters of the new downloaded application, and the user does not need to manually set the parameters of the new downloaded application again, thereby simplifying the user operation.
And S704, the public service module sends a broadcast message to the second application.
In one embodiment, the common service module, upon generating the broadcast message, broadcasts the broadcast message to applications in the electronic device. Accordingly, the application in the electronic device can monitor the broadcast message to obtain the parameter setting result carried therein.
S705, the second application modifies the corresponding parameter value according to the broadcast message.
In one embodiment, the second application is an application different from the first application in the electronic device, and the second application may obtain the parameter setting result sent by the public service module by listening to the broadcast message. Then, the second application may determine, according to the parameter setting result, the content matching with the own parameter in the setting parameters (such as the setting behaviors in table 1 or table 2) included in the parameter setting result, and acquire a corresponding parameter value, thereby modifying the own parameter value to the acquired parameter value.
Alternatively, the setup behavior between different applications may be different, or partially the same, or all the same. After the application obtains the parameter setting result sent by the public service module, whether the setting behavior which is the same as the setting behavior included in the parameter setting result exists in the setting behavior of the application can be determined. If the same setting behavior exists, the parameter value of the user can be automatically modified according to the parameter value corresponding to the same setting behavior. If the same setup behavior does not exist, it may be determined that parameter synchronization is not required this time.
For example, as shown in the above-mentioned scenario in fig. 8, the parameter setting result reported by the first application includes that the parameter value corresponding to the speed is 1.5X, and the parameter value corresponding to the definition is high definition: 720P. The first application displays the first video according to the parameter setting result, and the electronic equipment switches to display the second application, wherein the second application is a video type application, and plays the second video through the second application in response to user operation. When the second application plays the second video, the second video and the first video in the first application may be the same video content or different video content.
In the related art, in response to an operation of switching display of the second application by the user, the electronic device displays an interface 901 as shown in fig. 9A. As indicated by reference numeral 91 in the interface 901, the playing speed of the second application playing video is 1.0X-speed playing; as shown by reference numeral 92, the second application plays the video at 480P. At this time, the setting parameters of the second application do not meet the user requirements, and the user needs to manually set the parameters of the second application again, so that the operation is complex, and the user experience is affected.
In the parameter synchronization method provided by the application, the second application can acquire the parameter setting result of the user on the first application shown in fig. 8 through the public service module, and automatically complete parameter synchronization. As shown in fig. 9B, in response to a user switching an operation to display a second application, the electronic device displays an interface 902. As shown by reference numeral 93, the second application plays the video at a play speed of 1.5X times the speed; as indicated by reference numeral 94, the play definition of the second application play video is 720P. That is, before the electronic device switches to display the second application, the second application automatically synchronizes the modified parameter setting result of the first application, so that the user can obtain the same playing speed and playing definition experience as those of the first application in the process of using the second application, and under the condition that the user does not need to manually set the operation, the user requirement of the user can be met, and the user experience is improved.
Thus, the electronic equipment automatically completes parameter synchronization among different applications through the public service module. Therefore, adjustment of manual parameter values of a user is reduced, and user experience is improved.
Furthermore, the application parameter synchronization process is no longer limited to parameter settings for video-type applications or audio-type applications, as well as to a limited variety of parameter settings. The parameter dynamic matching synchronization of more types of applications can be realized, the requirements of users on parameter setting can be met in various types of applications, and the use experience of the users is further improved.
In some scenarios, a first application in an electronic device may not adapt a common service invocation interface that interacts with a common service module as shown in fig. 6 during application development. Then, the first application does not actively report the parameter setting result to the public service module after determining the parameter setting result. The public service module cannot acquire the parameter setting result of the part of the first application in a mode of reporting the parameter setting result by the monitoring application. Therefore, the public service module needs to actively acquire the parameter setting result of the part of the first application.
Fig. 10 is a schematic flow chart of another parameter synchronization method according to an embodiment of the present application. As shown in fig. 10, the method includes the following steps.
S1001, the public service module obtains a parameter setting result according to a preset method.
In one embodiment, the preset methods include, for example, an image recognition method and a semantic understanding method. The public service module can identify a parameter setting interface of the first application through an image identification method and a semantic understanding method, and acquire a corresponding parameter setting result.
Illustratively, as shown in FIG. 9A, the first application is a video class application that is not adapted to interact with the common service invocation interface as shown in FIG. 6. As shown in the interface 901 of fig. 9A, the public service module determines that the interface 901 of the first application includes preset parameters (such as a double speed and a definition) through a preset method, and may determine a corresponding parameter value (such as a play speed of 1.0X double speed play, and a play definition of 480P). Subsequently, in response to the editing operation of the user on the first application parameter value, as shown in the interface 902 in fig. 9B, the playing speed and the playing definition of the first application change, for example, the playing speed change is 1.5X-speed playing, and the playing definition change is 720P. The public service module can obtain the parameter values corresponding to the speed and the definition after the change through the preset method identification interface 902, and then a corresponding parameter setting result can be generated.
Also exemplary, as shown in FIG. 11 (a), the first application is a take-away application, which includes 6 created shipping addresses, as shown in interface 1101. In response to a user clicking on the new address control 111 shown on the interface 1101, the first application determines that the user needs a new shipping address, and may display an interface 1102 as shown in FIG. 11 (b). On interface 1102, the first application may receive a new shipping address set by the user. The public service module can identify target information, such as "newly added delivery address" 112, "address" 113, etc., through a preset method on the interface 1102. Then, the public service module can determine that the current user sets the distribution address in the first application, and can obtain a corresponding parameter setting result.
Optionally, in the scenario shown in fig. 11, the first application may complete the setting of the new address after detecting the operation of clicking the save control 114 shown in the interface 1102 by the user. Thus, the public service module may not be able to determine whether the user saves the data edited on the interface 1102 by merely identifying the interface 1102.
Accordingly, as in interface 1102 shown in fig. 11 (b), in response to a user clicking on save control 114, the electronic device displays interface 1103 shown in fig. 11 (c). As shown in interface 1103, the first application includes a new shipping address 115. The public service module may determine, by identifying the interface 1101 and the interface 1103, the newly added delivery address 115 of the first application, so as to determine that the parameter setting result includes the parameter value identified on the interface 1102 corresponding to the newly added delivery address 115, such as the address, the house number, the tag, the receiver, the mobile phone number, and the like.
S1002, the public service module generates a broadcast message according to the parameter setting result.
And S1003, the public service module sends a broadcast message to the second application.
S1004, the second application modifies the corresponding parameter value according to the broadcast message.
Optionally, the details of step S1002 to step S1004 may refer to the relevant details of step S703 to step 705 shown in fig. 7, which are not described herein.
In this way, for an application that does not adapt to a public service call interface that interacts with a public service module, the electronic device can also actively acquire the setting parameters of the application through the public service module, so as to complete parameter synchronization between different applications. Therefore, adjustment of manual parameter values of a user is reduced, and user experience is improved.
In one embodiment, the public service module listens to the parameter setting result reported by the first application through the method described in the above step S701 to step S702, and actively identifies the parameter setting result of the first application through the method described in the above step S1001.
For example, the first application has adapted a public service invocation interface that interacts with the public service module. After the first application finishes parameter setting, the parameter setting result of the first application, which is obtained by the public service module, comprises the parameter setting result reported by the first application and the parameter setting result actively identified by the public service module. Optionally, the public service module generates the broadcast message according to the parameter setting result reported by the first application.
Thus, for each application in the electronic equipment, the public service module can acquire the corresponding parameter setting result, and the requirement of parameter automatic synchronization is met.
In another embodiment, the public service module may send a public service capability confirmation request to an application in the electronic device, for confirming whether the application is configured with a public service call interface, that is, for confirming whether the public service capability for actively reporting the parameter setting result is configured. Correspondingly, an application in the electronic equipment sends a public service capability confirmation response to the public service module, and the public service capability confirmation response is used for informing whether the public service module is configured with a public service call interface or not.
Optionally, the public service module monitors the parameter setting result reported by the application configured with the public service call interface according to the public service capability confirmation response by the method described in the above step S701-step S702, and actively identifies the parameter setting result of the application not configured with the public service call interface by the method described in the above step S1001.
Therefore, the public service module does not need to actively identify all the applied parameter setting results, and can reduce the active identification of unnecessary parameter setting results while ensuring that all the applied parameter setting results are obtained, thereby reducing the power consumption of the electronic equipment.
In some scenarios, the frequency of use of a part of application users in the electronic device is low, for example, the part of applications also perform parameter synchronization in response to the acquired broadcast message sent by the public service module, which may increase a number of unnecessary parameter synchronization processes and increase power consumption of the electronic device.
For example, application 1 is an application that is not commonly used by a user in an electronic device. During the period from when application 1 is turned off to when it is turned on next time, application 1 may perform multiple parameter syncs in response to a broadcast message sent by the common service module. However, since the application 1 is not started in this period of time, a corresponding use experience cannot be brought to the user according to the synchronized parameter value, and no parameter synchronization effect is achieved.
Therefore, after the application is started, the application can request to obtain the parameter setting result from the public service to perform parameter synchronization. Accordingly, the public service module does not need to broadcast the parameter setting result to other applications after acquiring the parameter setting result, but feeds back the parameter setting result after receiving the parameter acquisition request sent by the application.
Fig. 12 is a schematic flow chart of another parameter synchronization method according to an embodiment of the present application. As shown in fig. 12, the method includes the following steps.
S1201, the public service module obtains a parameter setting result of the first application.
In one embodiment, the public service module monitors the parameter setting result reported by the first application through the method described in the above step S701-step S702; and/or actively identifying the parameter setting result of the first application by the method as described in step S1001 above.
It should be noted that, the method for the public service module to obtain the parameter setting result of the first application may refer to the related content described in step S701-step S702 shown in fig. 7 and step S1001 shown in fig. 11, which is not described herein.
S1202, the public service module stores the parameter setting result.
In one embodiment, the public service module stores the obtained parameter setting result after obtaining the parameter setting result.
S1203, the second application detects an operation of the user to start the second application.
And S1204, the second application sends a parameter acquisition request to the public service module.
In one embodiment, after detecting the operation of starting the application by the user, the second application may send a parameter acquisition request to the public service module in step S1203 and step S1204, to acquire a parameter setting result saved by the public service module, so as to complete parameter synchronization. Correspondingly, the public service module receives a parameter acquisition request sent by the second application.
And S1205, the public service module sends a parameter acquisition response to the second application.
In one embodiment, the public service module responds to the received parameter acquisition request, acquires the saved parameter setting result, and generates a parameter acquisition response carrying the parameter setting result. And then, the public service module sends a parameter acquisition response to the second application. Correspondingly, the second application receives the parameter acquisition response sent by the public service module.
S1206, the second application performs parameter synchronization according to the parameter setting result.
In one embodiment, the second application obtains the parameter setting result carried in the parameter obtaining response after receiving the parameter obtaining response sent by the public service module. And then, the second application determines the matched setting behaviors according to the parameter setting result, and further obtains the parameter values corresponding to the setting behaviors so as to complete synchronous setting of the parameters.
Exemplary, as in the scenario of fig. 8, the parameter setting result of the first application includes that the parameter value corresponding to the speed is 1.5X, and the parameter value corresponding to the definition is high definition: 720P, the public service module stores the parameter setting result of the first application. As shown in interface 1301 of fig. 13 (a), the electronic device starts a bloom video application (i.e., a second application) in response to a user clicking on the bloom video control 131. The second application requests the public service module to acquire the parameter setting result in response to the operation of starting the application by the user. After the second application obtains the parameter setting result and completes the parameter synchronization setting by the method described in the foregoing embodiments, the electronic device may display a corresponding second application interface, such as an interface 1302 shown in fig. 13 (b). The second application has synchronously set the play double speed to 1.5 times speed play as shown by reference numeral 132 and the second application has synchronously set the play definition to high definition (720P) as shown by reference numeral 133.
In this way, the application in the electronic device automatically completes the synchronization of the setting parameter values in response to the operation of the user to launch the application. Therefore, the electronic equipment reduces the power consumption of the electronic equipment while providing the user with the experience of automatic synchronization of the application parameters.
In some scenarios, a user may have different usage requirements for an application at different time periods. For example, during the period of 8:00-9:00 a.m., the user is on duty, and in order to avoid traffic consumption during the process of using the video application, the video is played with a lower definition, such as definition standard definition (480P). In the period of 19:00-23:00 a night, the user can watch the video by using Wi-Fi network when going home from work, and in order to pursue better playing effect, the video can be played with higher definition, such as blue light (1080P).
Therefore, the public service module can store the parameter setting results corresponding to different time periods. And subsequently, the public service module responds to the time of sending the parameter acquisition request by the application and feeds back the parameter setting result corresponding to the corresponding time period.
For example, the application 1 is a video-type application, and corresponds to the user use requirement example, and in response to the user starting the operation of the application 1, the application 1 sends a parameter acquisition request to the public service module. The public service module determines that the current time is 19:00 pm, and then the parameter setting result corresponding to 19:00-23:00 pm can be sent to the application 1, for example, the parameter setting result comprises definition blue light (1080P). Then application 1 may automatically adjust the sharpness to blue (1080P). Therefore, the situation that the definition cannot meet the use requirement of a user after the subsequent 19:00 application 1 is started at night due to parameter adjustment of other applications or application 1 before 19:00 is avoided, and the user is required to adjust again.
Therefore, by storing the parameter setting results corresponding to different times, the public service module can enable the parameter automatic synchronization result to meet the use requirement of the user, and further improve the use experience of the user.
In one embodiment, the electronic device provides a public service capability setting portal through which a user can start or close the capability of the cross-application dynamic synchronization setting parameters of the application in the electronic device (i.e., determine whether the application has corresponding rights), so that the automatic synchronization of the application parameters can more satisfy the use requirements of the user.
Illustratively, as set up interface 1401 shown in fig. 14 (a), the electronic device displays an application and service set up interface 1402 shown in fig. 14 (b) in response to a user clicking on the application and service set up control 141. In response to the user clicking on the operation of the rights management control 142 displayed on the application and service settings interface 1402, the electronic device displays a rights management settings interface 1403 as shown in fig. 14 (c). In response to the user clicking on the cross-application dynamic setting control 143 displayed on the rights management setting interface 1403, the electronic device displays a cross-application dynamic setting interface 1404 as shown in fig. 14 (d). On cross-application dynamic settings interface 1404, in response to user operation of open/close control 144, the electronic device can turn on or off the electronic device's ability to dynamically synchronize settings parameters across applications.
Optionally, in the step S701, after the application obtains the parameter setting result, step S702 may be executed after determining that the application has the capability (or authority) of setting the parameter dynamically and synchronously across applications, and the parameter setting result is reported to the public service module. Then, accordingly, if the application determines that the application itself does not have the capability (or authority) of dynamically synchronizing the setting parameters across applications, it may not be necessary to perform step S702, i.e. it is not necessary to report the parameter setting result to the public service module.
Optionally, in the step S704, the step S1003, or the step S1204, after determining that the application itself has the capability (or authority) of acquiring the cross-application dynamic synchronization setting parameter, the application listens to the parameter setting result broadcasted by the public service module, or broadcasts a request to acquire the parameter setting result to the public service module, so as to complete parameter synchronization. Then, correspondingly, after the application determines that the application does not have the capability (or authority) of setting the parameters dynamically and synchronously across the applications, it may not be necessary to perform the step S704, the step S1003, or the step S1204, that is, it is not necessary to acquire or request to acquire the parameter setting result issued by the public service module.
Therefore, the user can rapidly complete the cross-application dynamic synchronous setting of the cross-application setting parameters of all applications in the electronic equipment, and the user experience is improved.
Also by way of example, as in the rights management setting interface 1501 shown in fig. 15 (a), the electronic device, in response to a user clicking on the a video rights management setting control 151, determining that the user needs to set rights for the a video application, may display the a video rights setting interface 1502 shown in fig. 15 (b). In response to the user clicking on the operation of the cross-application dynamic setting control 152 displayed on the a video rights setting interface 1502, the electronic device displays a cross-application dynamic setting interface 1503 as shown in fig. 15 (c). On the cross-application dynamic setting interface 1503, the electronic device may turn on or off the capability of reporting the parameter setting result of the a video application in response to the user's operation of the on/off control 153; and the ability of the electronic device to obtain parameter settings for the a-video application and complete synchronization in response to user operation of the on/off control 154.
For example, in response to a user's operation of the on/off control 153 on the cross-application dynamic settings interface 1503, the electronic device turns on the ability of the parameter settings results of the A-video application to be reported. Then, as shown in fig. 7, in step S701 and step S702, the a-video application may report the parameter setting result to the common service module after acquiring the parameter setting result in response to the user operation. Alternatively, in response to user operation of the on/off control 153 on cross-application dynamic settings interface 1503, the electronic device closes the ability of reporting the parameter settings results of the a-video application. Then, the a video application does not report the parameter setting result to the public service module after obtaining the parameter setting result in response to the user operation.
Optionally, in the step S701, after the first application obtains the parameter setting result, step S702 may be executed after determining that the first application has the capability (or authority) of reporting the parameter setting result, and the parameter setting result may be reported to the public service module. Accordingly, after the first application determines that the first application does not have the capability (or authority) of reporting the parameter setting result, step S702 may not be executed, that is, the parameter setting result may not be reported to the public service module.
For another example, in response to a user operating the open/close control 154 on the cross-application dynamic settings interface 1503, the electronic device opens the ability of the A-video application to obtain parameter settings results and complete synchronization. Then, as shown in fig. 7, in step S704 and step S705, the a video application can monitor the broadcast message sent by the public service module and modify the corresponding parameter value according to the broadcast message. Alternatively, in response to a user's operation of the on/off control 154 on the cross-application dynamic settings interface 1503, the electronic device closes the ability of the a-video application to obtain parameter settings results and complete synchronization. Then, the a video application will not monitor the broadcast message used by the public service module to send the parameter setting result, and will not automatically synchronize the parameter setting results of other applications.
Optionally, in the step S704, the step S1003, or the step S1204, after determining that the second application has the capability (or authority) of acquiring the parameter setting result and completing the synchronization, the second application listens to the parameter setting result broadcast by the public service module, or broadcasts a request to acquire the parameter setting result to the public service module, so as to complete the parameter synchronization. Then, correspondingly, after the second application determines that the second application does not have the capability (or authority) of acquiring the parameter setting result and completing the synchronization, the step S704, the step S1003, or the step S1204 may not need to be performed, that is, the parameter setting result issued by the public service module does not need to be acquired or requested to be acquired.
Therefore, the user can quickly complete the capability setting of the cross-application dynamic synchronous setting parameters of part of applications in the electronic equipment, and the user experience is improved.
In one embodiment, an electronic device may, in response to a user operation, turn on or off the capabilities of the respective applications to dynamically synchronize setting parameters across applications, according to application type or setting type.
Illustratively, as shown in interface 1601 of fig. 16 (a), in response to a user operation, the electronic device displays a drop-down menu. In response to a user clicking on the cross-application dynamic settings control 161 displayed in the drop-down menu, the electronic device can display an interface 1602 as shown in fig. 16 (b), with the cross-application dynamic settings window 162 displayed on the interface 1602 (or with the cross-application dynamic settings interface displayed). In response to a user operation in the cross-application dynamic setting window 162, the electronic device may quickly open or close the capability of cross-application dynamic synchronization setting parameters of a class of applications, and may also quickly open or close cross-application dynamic synchronization of a class of settings.
For example, the electronic device may be capable of opening or closing the cross-application dynamic synchronization setting parameters of the takeaway application corresponding to the takeaway control 163 in response to a user clicking on the takeaway control 163 displayed in the cross-application dynamic setting window 162.
For another example, the electronic device opens or closes cross-application dynamic synchronization of the address class setting parameters corresponding to the address class setting parameter control 164 in response to a user clicking on the address class setting parameter control 164 displayed in the cross-application dynamic setting window 162. Optionally, the parameters of the one or more applications in the electronic device include address class setting parameters.
Optionally, in the cross-application dynamic setting window 162, the electronic device displays the identifier in a manner of graying out or highlighting, so as to prompt the user that the corresponding application type or the setting type corresponds to the application or the setting of the application, and the cross-application dynamic synchronization is started or closed.
Also exemplary, as shown in interface 1701 of FIG. 17, in response to user operation, the electronic device may also provide a quick setup control in the cross-application dynamic setup window 171 displayed, facilitating quick setup of parameters of applications in the electronic device by a user. For example, in response to a user operating the speed control 172, the electronic device may perform speed setting for an application in the electronic device that includes speed setting parameters.
Also exemplary, as shown in FIG. 18 as interface 1801, the electronic device displays a cross-application dynamic settings window 181 in response to user operation. The electronic device detects the operation of the user on the quick setting control, and can display an icon of an application comprising the setting parameters corresponding to the selected quick setting control or an icon of an application commonly used by the user in the application comprising the setting parameters corresponding to the selected quick setting control, so that the user can conveniently select the application which wants to set the quick parameters.
For example, after detecting the operation of clicking the speed control 182 by the user, the electronic device may display an icon including an application of the speed control 182 corresponding to the speed setting parameter. Then, as shown in interface 1801, the electronic device instructs, in response to the operation of clicking one or more application icons by the user, the applications corresponding to the one or more application icons to perform the double-speed setting. If the user clicks the control 183, the control indicates that the control completes the setting of the corresponding speed for the video application.
Optionally, if the electronic device does not detect the operation of selecting the application by the user within the preset time after the user finishes operating the quick setting control, all applications including the double-speed setting parameter in the electronic device may be indicated to perform corresponding double-speed setting.
Thus, compared with the prior art, after the electronic equipment needs to open the application, the parameter setting of the currently displayed application is completed. The parameter synchronization method provided by the embodiment of the application can be used for rapidly completing the rapid setting of the parameter values of the same type of application or the same type of setting parameters in the electronic equipment, and improving the user experience.
In one embodiment, the electronic device may also receive user settings for application parameters through a cross-application dynamic settings window, thereby completing automatic synchronization of global application parameters.
Optionally, the cross-application dynamic setting window is used as a window of a first application in the electronic device, a parameter setting result is generated in response to a user operation, and the public service module is reported (i.e. the above step S701 and step S702, or step S1201 are performed). The other applications (i.e., the second application) in the subsequent electronic device may complete the automatic synchronization of the parameters by listening to the broadcast message sent by the common service module (i.e., performing the above steps S704 and S705, or step S1003 and S1004), or the other applications in the electronic device may complete the automatic synchronization of the parameters in response to the user' S start operation (i.e., performing the above steps S1203-S1206).
For example, as shown in fig. 16 (b), in the cross-application dynamic setting window 162, the electronic device may also complete parameter setting of an application type corresponding to the control in response to an operation of the control displayed in the application type by the user. For example, in response to the user clicking on the takeaway control 163, the electronic device may display, in the cross-application dynamic setting window 162, the parameter setting options of the takeaway application corresponding to the takeaway control 163, and through these parameter setting options, the user may directly set the parameters of the takeaway application in the cross-application dynamic setting window 162.
Also for example, as shown in fig. 16 (b), in the cross-application dynamic setting window 162, the electronic device may also display a parameter setting option of a setting type corresponding to the control in response to a user operation on the control displayed in the setting type, and receive a parameter setting operation of the user. And reporting the acquired parameter setting result to the public service module. The application in the subsequent electronic device can acquire the parameter setting result of the user on the parameter in the cross-application dynamic setting window 162 through the monitoring public service module, so as to complete the parameter synchronization. For example, in response to a user clicking on the address class control 164, the electronic device receives an operation of editing an address by the user in the cross-application dynamic setting window 162, generates a corresponding parameter setting result (i.e., including the edited address), and reports the parameter setting result to the public service module. Subsequently, the application configured with the address class setting parameters in the electronic device can acquire the parameter setting result by monitoring the broadcast message of the public service module so as to synchronize the edited address.
Also exemplary, as shown in interface 1901 of fig. 19 (a), in response to a user operation, the electronic device displays a cross-application dynamic setting window 191. Alternatively, if the electronic device is in the process of displaying an application, a cross-application dynamic setting window 191 is displayed in response to a user operation. Then, in the cross-application dynamic setting window 191, the parameter setting type corresponding to the first application is displayed. If the electronic device is in the process of displaying the desktop, a cross-application dynamic setting window 191 is displayed in response to a user operation. Then, in the cross-application dynamic settings window 191, the parameter setting types corresponding to all applications in the electronic device are displayed. The user operation includes, for example, left-hand sliding, right-hand sliding, up-hand sliding, down-hand sliding, long-hand pressing, and the like.
Thereafter, the electronic device detects a user click on the barrage-like control 192, and may display an interface 1902 as shown in fig. 19 (b). As shown in interface 1902, a bullet screen class setting parameter corresponding to bullet screen class control 192 is displayed in cross-application dynamic setting window 191, such as the opacity of the bullet screen display, display area, font size, bullet screen speed, etc., as shown by reference numeral 193. Then, in response to the setting operation of the bullet screen class setting parameters in the cross-application dynamic setting window 191 by the user, the electronic device can acquire a corresponding parameter setting result and send the parameter setting result to the public service module, so as to realize automatic completion of parameter synchronization of the application configured with the bullet screen class setting parameters.
Still further exemplary, as shown in interface 2001 of fig. 20 (a), in response to a user operation, the electronic device displays a cross-application dynamic settings window 201. Alternatively, if the electronic device is in the process of displaying an application, the cross-application dynamic setting window 201 is displayed in response to a user operation. Then, in the cross-application dynamic settings window 201, the common parameter settings options corresponding to the application are displayed. If the electronic device is in the process of displaying the desktop, the cross-application dynamic setting window 201 is displayed in response to the user operation. Then, in the cross-application dynamic settings window 201, the common parameter settings options corresponding to all applications in the electronic device are displayed.
Thereafter, the electronic device may receive user settings for the common parameters of the application in the cross-application dynamic settings window 201. And after the corresponding parameter setting result is obtained, the parameter setting result can be sent to the public service module so as to realize the application of the parameters corresponding to the common parameter setting options configured with user operation in the electronic equipment to complete parameter synchronization.
Alternatively, the electronic device may display an interface 2002 as shown in fig. 20 (b) after detecting the user's operation of the common parameter setting option in the cross-application dynamic setting window 201. On interface 2002, as indicated by reference numeral 202, application icons of applications corresponding to commonly used parameter setting options operated by a user may be displayed, so that the user can determine which applications have corresponding parameters changed by the current operation. Optionally, in response to the user selecting the application icon, the electronic device may instruct the application corresponding to the application icon selected by the user to perform parameter modification, and other applications do not need to automatically synchronize the parameter modification result, so that the modification of the parameter meets the user requirement.
Or, the electronic device responds to gesture operations (such as left sliding, right sliding, up sliding, down sliding, long pressing and the like) of a user in the process of playing the video through the video application, and displays a cross-application dynamic setting window. Then common parameter setting options, such as sharpness, speed doubling, bullet screens, etc., configured for all video applications in the electronic device may be displayed, such as in a cross-application dynamic settings window. The electronic device receives a setting operation of the public parameter setting options by a user in a cross-application dynamic setting window. And then, the electronic equipment can send the acquired parameter setting result to the public service module so as to realize automatic synchronization of the video application completion parameters in the electronic equipment.
It should be noted that, the electronic device may also initiate the cross-application dynamic setting window in response to other gesture operations of the user, which is not limited in this embodiment of the present application. For example, in response to a user sliding inward at the edge of the display screen, the electronic device displays a cross-application dynamic settings window at the corresponding sliding position.
Fig. 21 is a schematic flow chart of a parameter synchronization method according to an embodiment of the present application. As shown in fig. 21, the method includes the following steps.
S2101, in response to a first operation by a user, the electronic device obtains a parameter setting result of the first application. The first operation is used for adjusting a first parameter value of a first parameter of the first application to a second parameter value, and the parameter setting result comprises the second parameter value.
In some embodiments, the first operation is an operation that adjusts a parameter value of the first parameter in the first application. Wherein the first application and the second application comprise a first parameter.
For example, as shown in an interface 801 in fig. 8 (a), after the electronic device detects the operation of the speed doubling setting control 81 by the user, an interface 802 shown in fig. 8 (b) may be displayed, and the setting of the speed doubling of the first application by the user is received at the interface 802, for example, the setting of the speed doubling to 1.5 (i.e. the parameter setting result includes that the parameter value corresponding to the speed doubling is 1.5X). After the electronic device detects the operation of the definition setting control 82 by the user on the interface 802, an interface 803 as shown in fig. 8 (c) may be displayed, and the setting of the definition of playing the first application by the user is received at the interface 803, for example, the definition of playing is set to be high definition playing (that is, the parameter setting result includes that the parameter value corresponding to the definition is high definition: 720P). Then, the first parameter includes the play multiplier and the play sharpness. Thus, the user can complete the setting of the first application according to the use habit of the user.
In some embodiments, the electronic device may monitor the parameter setting result reported by the first application through the public service module as shown in fig. 6. Or the electronic equipment identifies the display interface corresponding to the first application through the public service module, and obtains the parameter setting result.
For example, as shown in fig. 8, the first application reports the adjusted second parameter value of the first parameter to the public service module, and if the second parameter value includes playing at a playing speed of 1.5 times, the playing definition is high definition playing. Then, the public service module can monitor the playing double speed and the playing definition of the first application report.
Alternatively, a first application in the electronic device may not adapt a common service invocation interface interacting with a common service module as shown in fig. 6 during application development. Then, the first application does not actively report the parameter setting result to the public service module after determining the parameter setting result. Then the common service module needs to actively acquire the parameter setting result of the part of the first application. For example, a public service module in the electronic equipment actively identifies a display interface of a first application through an image identification method and a semantic understanding method, acquires a second parameter value of a first parameter corresponding to the display interface, and realizes acquisition of a parameter setting result of the first parameter.
In this way, for an application that does not adapt to a public service call interface that interacts with a public service module, the electronic device can also actively acquire a parameter setting result of the application through the public service module, so as to complete parameter synchronization between different applications. Therefore, adjustment of manual parameter values of a user is reduced, and user experience is improved.
In some embodiments, the electronic device displays the first window. Then, in response to a first operation acting on the first window, the electronic device acquires a parameter setting result.
Illustratively, as shown in interface 1901 of fig. 19 (a), in response to a first operation by the user, the electronic device displays a cross-application dynamic settings window 191 (i.e., a first window). Then, in response to the user's operation in the cross-application setting window 191, the electronic device may acquire the parameter setting result through the cross-application setting window 191. The parameter setting result may be actively reported, for example, as the cross-application setting window 191 is the first application, or the electronic device recognizes the parameter setting result in the cross-application setting window 191 through an image recognition method and a semantic understanding method.
In some examples, the first window is to display a target parameter and an identification of a target application, the target parameter including the first parameter, the target application including the first application and the second application.
Illustratively, as shown in fig. 20 (b), the electronic device displays a cross-application dynamic setting window 201 in response to a first operation by the user. In the cross-application dynamic settings window 201, common parameter setting options (e.g., target parameters) are displayed through which a user can set common parameters of applications in the electronic device. In addition, after the electronic device detects the user's operation on the common parameter setting option, as indicated by reference numeral 202, application icons (such as an icon of the first application and an icon of the second application) of the applications corresponding to the common parameter setting option operated by the user may be displayed, so as to facilitate the user to determine which corresponding parameters of the applications will be changed by the current operation.
Optionally, the target parameter is a parameter of a parameter setting type corresponding to the first application.
Illustratively, as shown in interface 1901 of fig. 19 (a), in response to a first operation by the user, the electronic device displays a cross-application dynamic settings window 191. Alternatively, if the electronic device is in the process of displaying the first application, a cross-application dynamic setting window 191 is displayed in response to the first operation of the user. Then, in the cross-application dynamic setting window 191, the parameters of the parameter setting type corresponding to the first application are displayed.
Also exemplary, as shown in fig. 18, the electronic device displays a cross-application dynamic settings window 181 in response to a first operation by the user. Target parameters such as video class parameters, taxi class parameters, image quality class parameters, sound effect class parameters, definition, sound effect, double speed and the like are displayed in the cross-application dynamic setting window 181. Also displayed in the cross-application dynamic settings window 181 are target applications, such as Hua as video applications, and the like.
In some examples, the first window is used to display the target parameters by application type and/or setting type classification.
Illustratively, as shown in FIG. 18, the electronic device displays a cross-application dynamic settings window 181 in response to a first operation by the user. Different target parameters are displayed by application type and setting type classification in the cross-application dynamic setting window 181. The target parameters displayed according to the application type comprise video parameters, taxi taking parameters and the like, and the target parameters displayed according to the setting type comprise image quality parameters, sound effect parameters and the like.
S2102, the electronic equipment sets the first parameter of the second application to be a second parameter value according to the parameter setting result.
In some embodiments, a second application in the electronic device receives the broadcast message sent by the public service module, and determines a parameter setting result carried in the broadcast message. And then, setting the first parameter of the second application as a second parameter value by the second application in the electronic equipment according to the parameter setting result.
For example, as shown in fig. 8, the first application reports the adjusted second parameter value of the first parameter to the public service module, and if the second parameter value includes playing at a playing speed of 1.5 times, the playing definition is high definition playing. And then, the second application can automatically adjust the second due play double speed to be 1.5 times speed play according to the broadcast message sent by the public service module, and the play definition is high-definition play.
In other embodiments, the electronic device sets the first parameter of the second application to a second parameter value according to the parameter setting result in response to a second operation of the second application initiated by the user.
For example, the use frequency of a part of application users in the electronic device is low, for example, the part of applications also perform parameter synchronization in response to the acquired broadcast message sent by the public service module, which may increase a lot of unnecessary parameter synchronization processes and increase power consumption of the electronic device. Therefore, after the application is started, the application can request to obtain the parameter setting result from the public service to perform parameter synchronization. Accordingly, the public service module does not need to broadcast the parameter setting result to other applications after acquiring the parameter setting result, but feeds back the parameter setting result after receiving the parameter acquisition request sent by the application.
For example, as shown in fig. 8, the first application reports the adjusted second parameter value of the first parameter to the public service module, and if the second parameter value includes playing at a playing speed of 1.5 times, the playing definition is high definition playing. Then, as shown in fig. 9B, after the second application is started in response to the second operation of the user, the video is played by playing the second parameter value with 1.5 times of speed and with high definition.
In some embodiments, the first operation is further for adjusting a third parameter value of the second parameter of the first application to a fourth parameter value. Then, the parameter setting result includes a fourth parameter value, and a second application in the subsequent electronic device acquires the parameter setting result and determines that the second application does not include the second parameter, and then the second application may perform parameter value synchronization only for the parameters included in the application.
Thus, the electronic device automatically completes the automatic synchronization of the parameter value of the first parameter in the application comprising the first parameter in the electronic device according to the parameter setting result of the first parameter of the first application. And for the application which does not comprise the first parameter and other non-first parameters in the application, the setting is unnecessary, and the flexible automatic synchronization of the parameter values is realized.
In some embodiments, the electronic device saves the parameter setting results.
Thus, the electronic equipment stores the parameter setting result through the public service module. And after detecting the new downloaded application of the electronic equipment, the public service module can send the saved parameter setting result to the application, so that the automatic synchronization of the setting parameters of the new downloaded application is realized, and a user does not need to manually set the parameters of the new downloaded application again, thereby simplifying the user operation.
In some embodiments, the electronic device allows the first application to report the parameter setting result in response to a third operation by the user, and/or allows the second application to synchronize the parameter setting result of the first application in response to a fourth operation by the user.
Illustratively, as shown in fig. 15 (a) for the rights management setting interface 1501, the electronic device, in response to the user clicking on the a video rights management setting control 151, determines that the user needs to set the rights of the a video application (i.e., the first application or the second application), may display an a video rights setting interface 1502 as shown in fig. 15 (b). In response to the user clicking on the operation of the cross-application dynamic setting control 152 displayed on the a video rights setting interface 1502, the electronic device displays a cross-application dynamic setting interface 1503 as shown in fig. 15 (c). On the cross-application dynamic settings interface 1503, the electronic device, in response to user operation of the on/off control 153, may turn on or off the ability of the a-video application to report the parameter settings results (i.e., whether the first application is allowed to report the parameter settings results); and the ability of the electronic device to acquire the parameter set results and complete synchronization of the a-video application (i.e., whether to allow the second application to synchronize the parameter set results of the first application) may be opened or closed in response to user operation of the open/close control 154.
In some embodiments, in response to a fifth operation by the user, the electronic device displays a second window in which the application type identifier is displayed and/or sets the type identifier. And responding to a sixth operation of the application type identifier by the user, and indicating the application corresponding to the application type identifier type to start or close the parameter synchronization function by the electronic equipment. And/or, in response to a seventh operation of the user on the setting type identifier, the electronic device indicates a function of starting or closing the parameter value of the synchronous target parameter by the application comprising the target parameter corresponding to the setting type identifier.
Illustratively, as shown in interface 1601 of fig. 16 (a), in response to a first operation by the user, the electronic device displays a drop-down menu. In response to a user clicking on the cross-application dynamic settings control 161 displayed in the drop-down menu, the electronic device may display an interface 1602 as shown in fig. 16 (b), display a cross-application dynamic settings window 162 (i.e., a second window) on the interface 1602, and display an application type identifier and a setting type identifier in the cross-application dynamic settings window 162. In response to a user's operation of the application identification in the cross-application dynamic settings window 162, the electronic device may quickly open or close the capabilities of cross-application dynamic synchronization settings parameters of a class of applications. Alternatively, cross-application dynamic synchronization of a class of settings may be quickly opened or closed in response to user operation of the setting identification in cross-application dynamic settings window 162.
Thus, compared with the prior art, after the electronic equipment needs to open the application, the parameter setting of the currently displayed application is completed. The parameter synchronization method provided by the embodiment of the application can be used for rapidly completing the rapid setting of the parameter values of the same type of application or the same type of setting parameters in the electronic equipment, and improving the user experience.
The parameter synchronization method provided in the embodiment of the present application is described in detail above in connection with fig. 7 to 21. The electronic device provided in the embodiment of the present application is described in detail below with reference to fig. 22.
In one possible design, fig. 22 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 22, the electronic device 2200 may include: a transceiver unit 2201 and a processing unit 2202. The electronic device 2200 may be used to implement the functions of the electronic device referred to in the method embodiments described above.
Optionally, the transceiver unit 2201 is configured to support the electronic device 2200 to perform S701 in fig. 7; and/or for supporting the electronic device 2200 to perform S2101 in fig. 21.
Optionally, a processing unit 2202, configured to support the electronic device 2200 to perform S702-S705 in fig. 7; and/or for supporting the electronic device 2200 to perform S1001-S1004 in fig. 10; and/or for supporting the electronic device 2200 to perform S1201-S1206 in fig. 12; and/or for supporting the electronic device 2200 to perform S2101 and S2102 in fig. 21.
The transceiver unit may include a receiving unit and a transmitting unit, may be implemented by a transceiver or a transceiver related circuit component, and may be a transceiver or a transceiver module. The operations and/or functions of each unit in the electronic device 2200 may be referred to as a functional description of a corresponding functional unit for brevity, so that the corresponding flow of the parameter synchronization method described in the above method embodiment is implemented, and all relevant contents of each step related to the above method embodiment are not repeated herein.
Optionally, the electronic device 2200 shown in fig. 22 may further include a storage unit (not shown in fig. 22) in which a program or instructions are stored. The transceiver unit 2201 and the processing unit 2202, when executing the program or instructions, enable the electronic device 2200 shown in fig. 22 to perform the parameter synchronization method described in the above-described method embodiment.
The technical effects of the electronic device 2200 shown in fig. 22 may refer to the technical effects of the parameter synchronization method described in the above method embodiment, and will not be described herein.
In addition to the form of the electronic device 2200, the technical solution provided in the present application may also be a functional unit or a chip in the electronic device, or a device matched with the electronic device for use.
The embodiment of the application also provides a chip system, which comprises: a processor coupled to a memory for storing programs or instructions which, when executed by the processor, cause the system-on-a-chip to implement the method of any of the method embodiments described above.
Alternatively, the processor in the system-on-chip may be one or more. The processor may be implemented in hardware or in software. When implemented in hardware, the processor may be a logic circuit, an integrated circuit, or the like. When implemented in software, the processor may be a general purpose processor, implemented by reading software code stored in a memory.
Alternatively, the memory in the system-on-chip may be one or more. The memory may be integrated with the processor or may be separate from the processor, and embodiments of the present application are not limited. For example, the memory may be a non-transitory processor, such as a ROM, which may be integrated on the same chip as the processor, or may be separately disposed on different chips, and the type of memory and the manner of disposing the memory and the processor in the embodiments of the present application are not specifically limited.
Illustratively, the chip system may be a field programmable gate array (field programmable gate array, FPGA), an application specific integrated chip (AP device plication specific integrated circuit, ASIC), a system on chip (SoC), a central processor (central processor unit, CPU), a network processor (network processor, NP), a digital signal processing circuit (digital signal processor, DSP), a microcontroller (micro controller unit, MCU), a programmable controller (programmable logic device, PLD) or other integrated chip.
It should be understood that the steps in the above-described method embodiments may be accomplished by integrated logic circuitry in hardware in a processor or instructions in the form of software. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor or in a combination of hardware and software modules in a processor.
The embodiment of the present application further provides a computer readable storage medium, in which a computer program is stored, which when executed on a computer, causes the computer to perform the above-mentioned related steps, so as to implement the parameter synchronization method in the above-mentioned embodiment.
The present application also provides a computer program product, which when run on a computer, causes the computer to perform the above-mentioned related steps to implement the parameter synchronization method in the above-mentioned embodiments.
In addition, the embodiment of the application also provides a device. The apparatus may be a component or module in particular, and may comprise one or more processors and memory coupled. Wherein the memory is for storing a computer program. The computer program, when executed by one or more processors, causes an apparatus to perform the parameter synchronization method in the method embodiments described above.
Wherein an apparatus, a computer-readable storage medium, a computer program product, or a chip provided by embodiments of the present application are each configured to perform the corresponding method provided above. Therefore, the advantages achieved by the method can be referred to as the advantages in the corresponding method provided above, and will not be described herein.
The steps of a method or algorithm described in connection with the disclosure of the embodiments disclosed herein may be embodied in hardware, or may be embodied in software instructions executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in random access memory (random access memory, RAM), flash memory, read Only Memory (ROM), erasable programmable read only memory (erasable programmable ROM), electrically Erasable Programmable Read Only Memory (EEPROM), registers, hard disk, a removable disk, a compact disc read only memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an application specific integrated circuit (AP device plication specific integrated circuit, ASIC).
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that the foregoing functional block divisions are merely illustrative for convenience and brevity of description. In practical application, the above functions can be allocated by different functional modules according to the need; i.e. the internal structure of the device is divided into different functional modules to perform all or part of the functions described above. The specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, which are not described herein.
In the several embodiments provided in this application, it should be understood that the disclosed methods may be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the modules or units is only one logic function division, and other division modes can be adopted when the modules or units are actually implemented; for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interface, module or unit indirect coupling or communication connection, which may be electrical, mechanical or other form.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
Computer readable storage media include, but are not limited to, any of the following: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (17)

1. A method of parameter synchronization, the method comprising:
in response to a first operation of a user, the electronic device obtains a parameter setting result of the first application, wherein the first operation is used for adjusting a first parameter value of a first parameter of the first application to a second parameter value, and the parameter setting result comprises the second parameter value;
And the electronic equipment sets the first parameter of the second application as the second parameter value according to the parameter setting result.
2. The method of claim 1, wherein the first operation is an operation of adjusting a parameter value of the first parameter in the first application.
3. The method of claim 2, wherein the electronic device obtaining the parameter setting result of the first application comprises:
and the electronic equipment monitors the parameter setting result reported by the first application through a public service module.
4. The method of claim 2, wherein the electronic device obtaining the parameter setting result of the first application comprises:
and the electronic equipment identifies a display interface corresponding to the first application through a public service module and acquires the parameter setting result.
5. The method of claim 1, wherein the electronic device obtaining, in response to a first operation by a user, a result of a parameter setting of the first application, comprises:
the electronic device displays a first window;
in response to the first operation acting on the first window, the electronic device acquires the parameter setting result.
6. The method of claim 5, wherein the first window is used to display a target parameter and an identification of a target application, the target parameter comprising the first parameter, the target application comprising the first application and the second application.
7. The method of claim 6, wherein the first window is used to display the target parameters by application type and/or setting type classification.
8. The method of any of claims 1-7, wherein the first application and the second application comprise the first parameter.
9. The method according to any one of claims 1-8, wherein the electronic device setting the first parameter of the second application to the second parameter value according to the parameter setting result, comprises:
a second application in the electronic equipment receives the broadcast message sent by the public service module and determines the parameter setting result carried in the broadcast message;
and setting the first parameter of the second application as the second parameter value by the second application in the electronic equipment according to the parameter setting result.
10. The method according to any one of claims 1-8, wherein the electronic device setting the first parameter of the second application to the second parameter value according to the parameter setting result, comprises:
And the electronic equipment responds to a second operation of starting the second application by a user, and sets the first parameter of the second application as the second parameter value according to the parameter setting result.
11. The method according to any one of claims 1-10, further comprising:
and the electronic equipment stores the parameter setting result.
12. The method according to any one of claims 1-11, further comprising:
in response to a third operation by the user, the electronic device allows the first application to report the parameter setting result, and/or,
in response to a fourth operation by the user, the electronic device allows the second application to synchronize the parameter setting result of the first application.
13. The method according to any one of claims 1-12, further comprising:
responding to a fifth operation of a user, displaying a second window by the electronic equipment, wherein an application type identifier is displayed in the second window, and/or setting the type identifier;
responding to a sixth operation of a user on the application type identifier, and indicating the application corresponding to the application type identifier to start or close a parameter synchronization function by the electronic equipment;
And/or the number of the groups of groups,
and responding to a seventh operation of the user on the setting type identifier, the electronic equipment indicates an application comprising a target parameter corresponding to the setting type identifier to start or close a function for synchronizing the parameter value of the target parameter.
14. The method according to any of claims 1-13, wherein the first operation is further for adjusting a third parameter value of a second parameter of the first application to a fourth parameter value, the parameter setting result comprising the fourth parameter value;
the method further comprises the steps of:
and a second application in the electronic equipment acquires the parameter setting result and determines that the second application does not comprise the second parameter.
15. An electronic device, comprising: a processor and a memory coupled to the processor, the memory for storing computer program code, the computer program code comprising computer instructions that, when read from the memory by the processor, cause the electronic device to perform the method of any of claims 1-14.
16. A computer readable storage medium, characterized in that the computer readable storage medium comprises a computer program which, when run on an electronic device, causes the electronic device to perform the method of any one of claims 1-14.
17. A computer program product, characterized in that the computer program product, when run on a computer, causes the computer to perform the method according to any of claims 1-14.
CN202211021832.2A 2022-08-24 2022-08-24 Parameter synchronization method and electronic equipment Pending CN117631935A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211021832.2A CN117631935A (en) 2022-08-24 2022-08-24 Parameter synchronization method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211021832.2A CN117631935A (en) 2022-08-24 2022-08-24 Parameter synchronization method and electronic equipment

Publications (1)

Publication Number Publication Date
CN117631935A true CN117631935A (en) 2024-03-01

Family

ID=90024147

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211021832.2A Pending CN117631935A (en) 2022-08-24 2022-08-24 Parameter synchronization method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117631935A (en)

Similar Documents

Publication Publication Date Title
WO2020238774A1 (en) Notification message preview method and electronic device
CN114554005B (en) Notification message management method and electronic equipment
CN113935898A (en) Image processing method, system, electronic device and computer readable storage medium
CN111382087A (en) Memory management method and electronic equipment
WO2023005900A1 (en) Screen projection method, electronic device, and system
CN114756184A (en) Collaborative display method, terminal device and computer-readable storage medium
CN113645608B (en) Data transmission method and data transmission device
WO2023029985A1 (en) Method for displaying dock bar in launcher and electronic device
WO2023005711A1 (en) Service recommendation method and electronic device
CN116033342B (en) Geofence processing method, equipment and storage medium
CN115686182B (en) Processing method of augmented reality video and electronic equipment
CN113950045B (en) Subscription data downloading method and electronic equipment
CN113835802A (en) Device interaction method, system, device and computer readable storage medium
CN117631935A (en) Parameter synchronization method and electronic equipment
CN113821130A (en) Method and related device for determining screenshot area
CN117130808B (en) Log acquisition method and electronic equipment
CN116095225B (en) Image processing method and device of terminal equipment
CN115706753B (en) Application management method and device, electronic equipment and storage medium
CN116916148B (en) Image processing method, electronic equipment and readable storage medium
WO2023160217A1 (en) Method for detecting embedded subscriber identity module (esim) card, and terminal device
CN118075393A (en) Display method and electronic equipment
CN117667506A (en) Drawing library cloning method, system and electronic equipment
CN116795197A (en) Layer processing method and electronic equipment
CN117676065A (en) Video call method and electronic equipment
CN116069224A (en) Input control method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication