Method for sharing remote control between devices, electronic device and storage medium
By sharing device remote controls in a smart remote control application, the problem of insufficient physical remote controls in multi-person households is solved, achieving convenient and secure multi-user device control.
Patent Information
- Application Number
- CN202110957702.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-18
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-08-18
AI Technical Summary
In multi-person households, the limited number or loss of physical remote controls prevents users from meeting the control needs of multiple people, affecting the user experience and posing safety hazards.
By adding a device remote control to the smart remote control application on the sending device and sharing it with the receiving device in various ways, multiple users can control the same device, restricting the control permissions of different people and avoiding security risks.
It enables multiple users to conveniently control the device, avoids dependence on physical remote controls, optimizes the control process, improves user experience, and enhances security.
Smart Images

Figure CN115708344B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of electronic technology, and in particular to a method for sharing a remote control between devices, a transmitting device, and a receiving device. Background Art
[0002] With the improvement of people's living standards and the rapid development of equipment, the types and quantities of equipment used by each family in daily life are increasing. For example, the equipment in the home scene can include traditional household appliances such as refrigerators, ovens, and air conditioners, as well as electronic devices such as mobile phones, smart screens, set-top boxes, tablets, laptops, smart speakers, and routers. Among them, for home devices such as refrigerators, smart screens, and air conditioners, users can control the working status and working mode of the equipment through a physical remote control (such as an infrared remote control, etc.), as well as adjust the parameters during the working process.
[0003] Generally, each home device may only be configured with one physical remote control when it leaves the factory. For a family with many family members, one physical remote control may not meet the usage needs of all family members. For example, taking a TV as an example, one TV remote control cannot meet the usage needs of multiple people. In addition, if multiple people use the same TV remote control to control the TV, the TV remote control may be lost and cannot be found at a critical moment; or, multiple people using it may reduce the service life of the TV remote control, affecting the user experience.
[0004] In a scenario where multiple people control the same device, how to meet their control needs for the device and improve the user experience is a problem that needs to be solved urgently. Summary of the invention
[0005] The present application provides a method for sharing a remote control between devices, a transmitting device and a receiving device. In the process of a user controlling the working status of a device, the method can get rid of the dependence on a physical remote control, support multiple users to control the same device, and meet the control needs of multiple users for the device; in addition, the control authority of different people over the device can be limited to avoid security risks caused by too many people having the right to operate a certain device.
[0006] The first aspect provides a method for sharing a remote control between devices, characterized in that it is applied to a sending-end device including a display screen, and a first application is installed on the sending-end device, and the method comprises: displaying a main interface of the first application, the main interface of the first application including one or more remote control icons; on the main interface of the first application, detecting a first operation of the user, and in response to the first operation, displaying a details interface of a target remote control, the target remote control being any one of the one or more remote controls, the target remote control being able to control the working state of the target device, and the details interface of the target remote control including one or more controls; determining a target control to be shared from the one or more controls included in the details interface of the target remote control; obtaining information of the target control to be shared; and generating a target remote control document to be shared based on the information of the target control. The method comprises the steps of: detecting a second operation of the user on the sharing interface of the target remote control file, and determining a target sharing method of the target remote control file from the one or more sharing methods in response to the second operation, and displaying one or more electronic devices on the sharing interface of the target remote control file, each of the one or more electronic devices being capable of receiving the target remote control file sent by the sending device based on the target sharing method; detecting a third operation of the user on the sharing interface of the target remote control file, and determining a receiving device from the one or more electronic devices in response to the third operation; and sending the target remote control file to the receiving device through the target sharing method.
[0007] Optionally, the “transmitting device” and the “receiving device” of the present application are two different electronic devices.
[0008] Optionally, the "sending device" and "receiving device" of the present application may be devices of the same type, for example, both the "sending device" and the "receiving device" are mobile phones; or, the "sending device" and the "receiving device" may be devices of different types, for example, the "sending device" is a mobile phone and the "receiving device" may be a tablet computer, etc., which is not limited to the embodiments of the present application.
[0009] It should also be understood that in the present application, both the "transmitting device" and the "receiving device" satisfy the following requirements: they have an infrared module, such as an infrared transmitter and an infrared receiver, and can send or receive infrared signals; and both the "transmitting device" and the "receiving device" are installed with the same type of intelligent remote control application.
[0010] Optionally, the target device can be a smart screen, air conditioner, set-top box in a home scene, as well as any type of device such as the user's camera, network box, DVD, projector, etc.
[0011] Optionally, the first application may be a smart remote control application, or any remote control application developed by any company that can implement the remote control function of home devices, which is not limited in the embodiments of the present application.
[0012] Through the method for sharing remote controls between devices provided in the present application, the information of the device remote controls that have been added to the smart remote control application of the sending device can be shared with the receiving device in a variety of possible ways; accordingly, the receiving device can display the details interface of the target remote control based on the information of the received device remote control, and automatically add the device remote control to the smart remote control application.
[0013] In addition, for scenarios where multiple users want to control the same device, when the number of physical remote controls is limited or the physical remote control cannot be found, the method can send the device remote control that has been added to a user's mobile phone or other electronic device to electronic devices of different users respectively, thereby eliminating the dependence of the user's control of the device on the physical remote control and providing convenience for multiple users to control the same device.
[0014] At the same time, the above method can also avoid the tedious process of each user having to add the device remote control to their mobile phone or other electronic devices and learning the controls, thereby optimizing the process of different users using mobile phones and other electronic devices to control the device, meeting the control needs of multiple users for the device, and improving the user experience.
[0015] It should be understood that the smart remote control application can preset virtual remote controls of different types and / or styles, and match virtual remote controls of different types and / or styles for different devices, and users can add remote controls of different devices in the smart remote control application in different ways. Exemplarily, the user can add one or more remote controls of different devices (which can be called "virtual remote controls") in the smart remote control application, and then the main interface of the smart remote control application can display the icons of the one or more added remote controls, wherein each of the one or more remote controls can control the working status of different corresponding devices, and each remote control can have the functions of a physical remote control of the corresponding device.
[0016] In one possible implementation, when the home user adds a virtual remote controller, the device type can be manually selected, for example, the user selects TV and brand A, etc. The smart remote control application can match virtual remote controllers of different types and / or styles according to the device type.
[0017] In another possible implementation, the homeowner selects the current target device as a TV, and can send an infrared signal to the TV when pairing with the TV, and can also receive a response signal returned by the TV to the mobile phone, which can carry the device information of the TV, such as brand A, model S, etc. The smart remote control application can match the type and / or style of the virtual remote control of the target device according to the device information of the TV.
[0018] In another possible implementation, the household user may also customize the type and / or style of the virtual remote controller for the current target device according to his / her own usage requirements, that is, customize and add one or more controls.
[0019] Specifically, for any control included in the remote control of the target device added by the homeowner user, the key information of the control corresponding to a key on the physical remote control is obtained by learning the corresponding key on the physical remote control of the target device. Optionally, the "key information" of each key on the physical remote control of the target device may include key value information, key function information, etc. of each key.
[0020] Through the above implementation, the user adds the target remote control of the target device in the smart remote control application of the transmitting device, and after the control learning, when the user clicks any control of the target remote control, it can generate the same pulse signal as pressing the key of the physical remote control corresponding to the control, or generate the same operation instruction, thereby achieving the same function. In other words, the virtual remote control of the target device in the smart remote control application can have the same function as the physical remote control, and the user can control the target device through the virtual remote control in the smart remote control application.
[0021] It should also be understood that any virtual remote control of any device that has been added to the smart remote control application can be used as the "target remote control" to be shared in the embodiments of this application. The "process of sharing the target remote control" in the embodiments of this application can be understood as: the user can share the remote control of the target device that has been added to his or her mobile phone or other electronic device as the "target remote control" to be shared with the electronic devices of other family members or visitors, so that other family members or visitors can control the target device through their own electronic devices.
[0022] In combination with the first aspect, in some implementations of the first aspect, the target control is part or all of the one or more controls included in the details interface of the target remote control.
[0023] The method provided by the present application can support the user to manually select the target controls to be shared in the target remote control on the sending device during the process of sharing the target remote control. For example, the user can share only some of the controls included in the device remote control to the receiving device according to usage requirements; accordingly, when the receiving device automatically adds the device remote control, it also only adds some of the controls of the device remote control.
[0024] Through the above implementation, the user can only open the control authority (operation authority) corresponding to some controls to the receiving device. This method can limit the control authority of different people to the device, avoiding the potential safety hazards caused by too many people having the operation authority to a certain device.
[0025] In combination with the first aspect and the above-mentioned implementation manners, in some implementation manners of the first aspect, the target control is a fixed control preset in the one or more controls included in the details interface of the target remote control.
[0026] In a possible implementation, for different types of devices, the target controls to be shared corresponding to the remote controller of each type of device may be certain fixed controls preset in all controls included in the details interface of the target remote controller of the target device. For example, if the user triggers sharing of the target remote controller, all controls included in the details interface of the target remote controller may be displayed as selected by default, that is, all controls may be used as target controls.
[0027] Through the above implementation method, the user does not need to perform additional operations to select the "target control" to be shared, and the smart remote control application can generate the remote control file to be shared in advance based on certain preset fixed controls. The operation is simple and can save time in the sharing process.
[0028] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the target control is a control manually selected by a user, and determining the target control to be shared from the one or more controls included in the details interface of the target remote control includes: on the details interface of the target remote control, detecting an operation of the user selecting some or all of the controls, and in response to the operation, determining all controls selected by the user as the target controls to be shared.
[0029] In another possible implementation, the user can manually select all or part of the operable controls included in the details interface of the target remote control as the "target controls" to be shared on the details interface of the target remote control according to current usage requirements.
[0030] Through the above implementation method, according to the needs of other family members or visitors to use the target remote control to control the target device in different scenarios, the user can share only part of the controls included in the target virtual remote control to the receiving device, so that other family members or visitors can control the target device through the shared part of the controls.
[0031] In addition, in this implementation, only some controls in the device remote control are shared with the receiving device. In other words, only some control rights (operation rights) of the device are open to other family members or visitors. The control rights of other family members or visitors to the device can be limited, avoiding security risks caused by too many people having the right to operate a certain device.
[0032] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the first operation includes multiple continuous operations performed by the user, and on the main interface of the first application, the user's first operation is detected, and in response to the first operation, the details interface of the target remote control is displayed, including: on the main interface of the first application, the user's long press operation on the icon of the target remote control is detected, and in response to the long press operation, one or more operation options for the target remote control are displayed, and the one or more operation options include a sharing option; when the user's click operation on the sharing option is detected, the details interface of the target remote control is displayed, and on the details interface of the target remote control, a unique corresponding selection box is displayed for each of the one or more controls.
[0033] Optionally, the selection box corresponding to each control can be located at the lower right corner, lower left corner, upper right corner, or upper left corner of the control icon, or directly below the control icon, or at the geometric center of the control icon display area and covering the control, or at the previous display layer of the control. This is not limited to the embodiments of the present application.
[0034] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, determining the target control to be shared from the one or more controls included in the details interface of the target remote control includes: detecting, on the details interface of the target remote control, an operation of a user clicking on a selection box of each of some or all of the one or more controls, and determining the target control by the control corresponding to each selection box selected by the user; or, when the details interface of the target remote control also includes a confirmation control, detecting, on the details interface of the target remote control, an operation of a user clicking on a selection box of each of some or all of the one or more controls and continuing to click the confirmation control, and in response to the user clicking on the confirmation control, determining the target control by the control corresponding to each selection box selected by the user.
[0035] In one possible implementation, the user can select the target virtual remote control to be shared from the virtual remote controls of one or more devices that have been added on the main interface of the smart remote control application, and trigger the sharing process of the virtual remote control of the device by long pressing the icon of the target virtual remote control.
[0036] In another possible implementation, the user can also trigger the sharing process of the target remote control by long pressing any control on the details interface of the target remote control, and then select some or all of the controls on the interface as the target controls to be shared.
[0037] In combination with the first aspect and the above implementations, in some implementations of the first aspect, the first operation is a click operation of the user on the icon of the target remote control.
[0038] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, determining the target control to be shared from the one or more controls included in the details interface of the target remote control includes: detecting a user's long press operation on any one of the one or more controls on the details interface of the target remote control, and in response to the long press operation, displaying a unique corresponding selection box for each of the one or more controls on the details interface of the target remote control; detecting an operation of a user clicking on the selection box of each of some or all of the one or more controls, and in response to the operation, determining the target control by the control corresponding to each selection box selected by the user; or, when the details interface of the target remote control also includes the confirmation control, detecting an operation of a user clicking on the selection box of each of some or all of the one or more controls and continuing to click the confirmation control, and in response to the user clicking the confirmation control, determining the target control by the control corresponding to each selection box selected by the user.
[0039] Through the above implementation, according to the needs of other family members or visitors to use the remote control to control the device in different scenarios, the user can only share part of the controls included in the virtual remote control of the device with the receiving device, so that other family members or visitors can control the device through the shared part of the controls. In addition, this implementation only opens part of the control rights (operation rights) of the device to other family members or visitors, which can limit the control rights of other family members or visitors to the device, avoiding the potential safety hazards caused by too many people having the right to operate a certain device.
[0040] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the sending device stores a control data set corresponding to the target remote control, the control data set including information of each of the one or more controls on the details interface of the target remote control, and obtaining the information of the target control to be shared includes: according to the target control to be shared, searching and obtaining the information of the target control from the control data set, the information of the target control including one or more information of the remote control identification ID, control identification ID, control symbol, control code value, and control protocol of each control as the target control.
[0041] In one possible implementation, each of all controls of the remote control of the target device can learn the corresponding button of the physical remote control, and determine the control code value of the control according to the key value of the corresponding button. After all controls of the remote control of the target device are learned, the intelligent remote control application can obtain the key values of all buttons of the physical remote control, that is, the infrared coding table of the physical remote control, so as to establish and save the "control data set" corresponding to all controls of the target remote control.
[0042] It should be understood that the "control data set corresponding to the target remote control" may include information of each control among all controls of the target remote control, such as part or all of the information of each control's virtual remote control ID, control ID, control symbol, control code value, control protocol, etc.
[0043] It should also be understood that the smart remote control application may include remote controls for one or more devices, and each device's remote control may correspond to a "control data set"; or, since the virtual remote control ID of each device is different and the control code value of each control is different, it can also be understood as a "control data set" corresponding to the remote controls of all devices in the smart remote control application, which is not limited to the embodiments of the present application.
[0044] To avoid ambiguity, this application assumes that the remote control of each device can correspond to a "control data set", and a "control data set" can include information about each control in all controls of the remote control of the device, which will not be repeated later.
[0045] In combination with the first aspect and the above-mentioned implementation methods, in certain implementation methods of the first aspect, when a unique corresponding selection box is displayed on the details interface of the target remote control for each of the one or more controls, the details interface of the target remote control may also include a timing control, in which an effective duration is displayed, and the effective duration is used to indicate the available duration of the target control to be shared on the receiving device. The method also includes: obtaining information about the effective duration displayed in the timing control; and generating a target remote control file to be shared based on the information of the target control, including: generating a target remote control file to be shared based on the information of the target control and the information of the effective duration, wherein the effective duration is a preset duration, or a duration set by the user in the timing control.
[0046] In a possible implementation, when selecting a target control of a target remote controller to be shared, the user may manually set the effective duration for which the target remote controller (or “target control”) to be shared is available on the receiving device.
[0047] For example, the initial value displayed by the "timing control" may be 00 hours, 00 minutes, and 00 seconds, and the user may manually modify it to the desired effective duration, for example, the user modifies the "timing control" to display 02 hours, 00 minutes, and 00 seconds. Alternatively, the user may not modify it and maintain the "timing control" to display the initial value 00 hours, 00 minutes, and 00 seconds, which can be understood as: there is no limit to the effective duration of the target remote control to be shared on the receiving device.
[0048] In another possible implementation, the initial value displayed by the "timing control" may correspond to a preset fixed duration. For example, the initial value displayed by the "timing control" defaults to 01:00:00, which means that the target remote control to be shared can be used for 1 hour on the receiving device. The user can manually modify the effective duration displayed by the "timing control" and modify the preset fixed duration to a duration that meets the current usage requirements, which will not be described here.
[0049] Through the above implementation method, in the process of sharing the target remote control, when the user selects the target control to be shared on the sending device, the available time of the device remote control (or target control) shared to the receiving device is set, thereby further limiting the control rights of different people over the device, thereby improving the security of the device use process.
[0050] Optionally, the target remote control (or "target control") shared by the user from the transmitting device to the receiving device may correspond to a preset effective range. The "preset effective range" may depend on the corresponding maximum transmission distance when the infrared signal is transmitted between devices. For example, if the maximum transmission distance from the infrared transmitter to the infrared receiver when the infrared signal is transmitted between devices is 10 meters, then the effective range corresponding to the target remote control to be shared generated on the mobile phone is: centered on the target device, less than or equal to 10 meters, and this embodiment of the application is not limited to this.
[0051] In combination with the first aspect and the above-mentioned implementation methods, in some implementation methods of the first aspect, the target sharing method includes a Huawei sharing method, a WLAN direct channel sharing method, a Bluetooth sharing method, a mobile data sharing method, or any one of a plurality of social software sharing methods.
[0052] Optionally, the social software sharing method may include multiple possible social software paths such as Weibo, WeChat, text messages, messages, emails, etc. The embodiment of the present application does not limit the method of sending the "file of the target remote control".
[0053] In combination with the first aspect and the above implementations, in some implementations of the first aspect, the target remote control file to be shared may further carry an identifier of the first application.
[0054] Exemplarily, the "target remote control file" may carry the application identifier of the smart remote control application of the receiving device, for example, the file suffix is .ykq. Taking the air conditioner as the target device, the "target remote control file" may be automatically named "XX air conditioner.ykq". The receiving device may trigger the operation of the local smart remote control application according to the file suffix, which is not limited in the embodiments of the present application.
[0055] The second aspect provides a method for sharing a remote control between devices, characterized in that it is applied to a receiving device including a display screen, and a first application is installed on the receiving device, and the method includes: when a target remote control file sent by a sending device is detected, a prompt window is displayed on the display screen, and the prompt window is used to prompt a user to select whether to receive the target remote control file; in the prompt window, when an operation of allowing the user to receive the target remote control file is detected, the target remote control file is received; according to the received target remote control file, the first application is called, and the first application parses the target remote control file, and obtains information of a target control included in the target remote control file, wherein the target control can be used to control the working state of the target device, the target control includes one or more controls, and the information of the target control includes information of each of the one or more controls, and the information of each control corresponds to the key information of a preset key on the physical remote control of the target device; according to the information of the target control, the first application is run and a detail interface of the target remote control is displayed, and the detail interface of the target remote control includes the one or more controls of the target control.
[0056] Through the method for sharing remote controls between devices provided in the present application, the information of the target remote control that has been added to the smart remote control application of the sending device can be shared with the receiving device in a variety of possible ways; accordingly, the guest user only needs to execute the operation that allows the reception of the target remote control file sent by the sending device, and the target remote control of the target device can be automatically added to the smart remote control application of his own mobile phone (receiving device), and the automatically added target remote control of the target device can support the guest user to control the target device on the receiving device.
[0057] In addition, for scenarios where multiple users want to control the same device, when the number of physical remote controls is limited or the physical remote control cannot be found, the method can send the device remote control that has been added to a user's mobile phone or other electronic device to electronic devices of different users respectively, thereby eliminating the dependence of the user's control of the device on the physical remote control and providing convenience for multiple users to control the same device.
[0058] At the same time, the above method can also avoid the tedious process of each user having to add the device remote control to their mobile phone or other electronic devices and learning the controls, thereby optimizing the process of different users using mobile phones and other electronic devices to control the device, meeting the control needs of multiple users for the device, and improving the user experience.
[0059] It should be understood that when the receiving device receives the "target remote control file", it can trigger the running of the smart remote control application based on information such as the file type of the target remote control file or the application package name corresponding to the file, and the smart remote control application can obtain the content included in the target remote control file.
[0060] Optionally, in combination with the above-mentioned related introduction, the content included in the "target remote control file" has multiple possible situations. The receiving device can determine the display interface that the virtual remote control of the target device may present on the display screen of the receiving device according to the different contents included in the "target remote control file".
[0061] In one possible implementation, the smart remote control application can display the details interface of the virtual remote control of the target device on the display screen of the receiving device based on the information of the target control included in the target remote control file, and only include the target control, that is, one or more controls manually selected by the user.
[0062] In another possible implementation, the "target remote control file" may also include the operating parameter information of the target device. For example, for devices such as air conditioners, the intelligent remote control application may be based on the current operating parameter information of the target device included in the target remote control file, such as the wind speed, wind direction, wind sweep, cooling mode and target temperature (24°C) of the current operation of the air conditioner. Thus, the wind speed, wind direction, wind sweep, cooling mode and target temperature (24°C) and other parameters related to the current operation of the air conditioner can also be displayed to the user on the display screen of the receiving device, and this embodiment of the application is not limited to this.
[0063] In combination with the second aspect, in certain implementations of the second aspect, the method also includes: detecting a user's click operation on a first control on the details interface of the target remote control, where the first control is any one of the one or more controls included in the target control; in response to the click operation, obtaining a control code value of the first control; generating a pulse signal including a first operation instruction based on the control code value of the first control; and sending the pulse signal to the target device to control the working state of the target device.
[0064] Specifically, the intelligent remote control application of the receiving device can call the infrared module of the receiving device, and the infrared transmitter of the infrared module sends a pulse signal including the first operation instruction to the target device through infrared rays.
[0065] It should be understood that the receiving device detects a click operation of the first control by other users, and can determine the position coordinates of the first control according to the click operation event. The intelligent remote control application can determine the first control ID according to the position coordinates of the first control, and then can automatically search for the control information in the target remote control file, obtain the control code value of the first control, and generate a pulse signal including the corresponding binary encoding information (i.e., the first operation instruction) according to the control code value of the first control.
[0066] In a possible implementation, when the "target control information" includes all information of the virtual remote control ID, control ID, control symbol, control code value, and control protocol corresponding to each control as the target control, the receiving end device can generate and store the "control data set" corresponding to the target device remote control according to the target control information. Therefore, the above-mentioned process of "automatically searching" and "obtaining the control code value of the first control" by the receiving end device can be to automatically search according to the "control data set" corresponding to the target device remote control stored in itself, and obtain the control code value of the first control.
[0067] Exemplarily, if the user clicks on any one of the target controls on the receiving device, the receiving device can obtain the virtual remote control ID and control ID corresponding to the control clicked by the user based on the user's click operation; and further, based on the virtual remote control ID and control ID, search and determine the control code value of the control in the control data set corresponding to the target device remote control stored in itself; and further generate a pulse signal according to the infrared remote control NEC protocol, and send the pulse signal to the target device through the infrared transmitter of the receiving device.
[0068] In another possible implementation, when the "target control information" includes partial information of each control that is the target control, for example, when the "target control information" only includes the virtual remote control ID and control ID corresponding to each control, after the receiving device receives the "target remote control file", it can determine the virtual remote control ID and control ID corresponding to each control of the target control in the remote control of the target device added on the receiving device based on the target control information. The receiving device determines the virtual remote control ID and control ID of a control clicked by the user, and can return the virtual remote control ID and control ID of the control to the sending device. Therefore, the above-mentioned process of the receiving device "automatically searching" and "obtaining the control code value of the first control" can be: requesting the sending device to obtain the control code value of the first control, which is not limited in the embodiments of the present application.
[0069] Exemplarily, if a visitor user clicks on any one of the target controls on the receiving device, the receiving device can obtain the virtual remote control ID and control ID corresponding to the control clicked by the user based on the user's click operation; further, the receiving device can automatically return the virtual remote control ID and control ID of the control to the sending device based on the virtual remote control ID and control ID of the control, and the sending device searches and determines the control code value of the control based on the stored control data set corresponding to the remote control of the target device; the sending device then returns the control code value of the control to the receiving device; the receiving device can then generate a pulse signal according to the infrared remote control NEC protocol, and send the pulse signal to the target device through the infrared transmitter of the receiving device.
[0070] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, obtaining the control code value of the first control in response to the click operation includes: obtaining the first control identification ID in response to the click operation; and obtaining the control code value of the first control based on the first control identification ID and the information of the target control included in the target remote control file.
[0071] In a possible implementation, the sending end device detects a click operation of the home user on the first control, and determines the position coordinates of the first control according to the click operation event. The intelligent remote control application can determine the first control ID according to the position coordinates of the first control, and then search the stored control data set to obtain the control code value of the first control corresponding to the first control ID.
[0072] Exemplarily, the target remote control in the smart remote control application of the receiving device can send an operation instruction to the target device via an infrared signal (pulse signal), and the infrared signal (pulse signal) can include a string of binary coded information, such as at least an 8-bit address code (user code) and an 8-bit command code (control code value), and the binary coded information is the operation instruction for controlling the target device. Therefore, the smart remote control application obtains the "control code value" of a control in the target remote control, and can generate an infrared signal (pulse signal) including a string of binary coded information (operation instruction).
[0073] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the method also includes: adding the icon of the target remote control and the name of the target remote control on the main interface of the first application according to the received target remote control file; detecting a user's click operation on the icon of the target remote control or the name of the target remote control, and displaying the details interface of the target remote control in response to the click operation; or, adding the icon of the target remote control on the main interface of the first application according to the received target remote control file; detecting a user's click operation on the icon of the target remote control, and displaying the details interface of the target remote control in response to the click operation; or, adding the name of the target remote control on the main interface of the first application according to the received target remote control file; detecting a user's click operation on the name of the target remote control, and displaying the details interface of the target remote control in response to the click operation.
[0074] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the information of each of the one or more controls includes one or more information of a remote control identification ID, a control identification ID, a control symbol, a control code value or a control protocol.
[0075] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the target remote control file also includes information on a valid duration, and the valid duration is used to indicate the available duration of the target control on the receiving device. The method also includes: obtaining the information on the valid duration; taking the moment when the receiving device receives the target remote control file as the starting moment, and determining the end moment according to the valid duration; at any moment within the time period determined from the starting moment to the end moment, the user can control the working state of the target device through the target control; at any moment after the end moment, the target control is in an invalid state, or at the end moment, the icon of the target remote control and / or the name of the target remote control added to the main interface of the first application is automatically deleted.
[0076] In a possible implementation, the "target remote control file" may also include information about the effective duration and / or effective range set by the user. The effective duration information and effective range information may be identified by special fields.
[0077] Optionally, when the target remote control is in an invalid state, the icon and name of the target remote control may be grayed out and unavailable on the main interface of the smart remote control application of the receiving device, for example, the user cannot click on it or it does not respond to the user's click operation.
[0078] Alternatively, when the target remote control is in an invalid state, the icon and name of the target remote control are automatically deleted from the main interface of the smart remote control application, which is not limited in the embodiment of the present application.
[0079] In combination with the second aspect and the above-mentioned implementation methods, in some implementation methods of the second aspect, the target remote control file may also carry an identifier of the first application, and calling the first application based on the received target remote control file includes: determining to call the first application based on the identifier of the first application carried by the target remote control file, and sending the target remote control file to the first application.
[0080] In summary, the method for sharing remote controls between devices provided by the present application can share the information of the device remote control that has been added to the intelligent remote control application of the sending device to the receiving device in a variety of possible ways; accordingly, the receiving device can automatically add the device remote control to the intelligent remote control application based on the information of the received device remote control. For scenarios where multiple users want to control the same device, when the number of physical remote controls is limited or the physical remote control cannot be found, the method can send the device remote control that has been added to a user's mobile phone or other electronic device to electronic devices of different users, respectively, getting rid of the dependence of the user's control of the device on the physical remote control, and providing convenience for multiple users to control the same device; at the same time, it avoids the tedious process of each user adding the device remote control to their mobile phone or other electronic devices and learning the controls, optimizes the process of different users using mobile phones or other electronic devices to control the device, meets the control needs of multiple users for the device, and improves the user experience.
[0081] In addition, in the process of sharing the target remote control, the method provided by the present application can support the user to manually select the target controls to be shared in the device remote control on the sending device. For example, according to usage requirements, the user can share only some of the controls included in the device remote control to the receiving device; accordingly, when the receiving device automatically adds the device remote control, it also only adds some of the controls of the device remote control. In other words, the user can only open the control permissions (operation permissions) corresponding to some controls to the receiving device. This method can limit the control permissions of different people to the device, avoiding security risks caused by too many people having the right to operate a certain device.
[0082] Furthermore, when sharing the target remote control, the user can set the available time of the device remote control (or target control) shared to the receiving device when selecting the target control to be shared on the sending device. This further limits the control rights of different people on the device and improves the security of the device use process.
[0083] The third aspect provides an electronic device, which can be a transmitting device, and the electronic device includes: a touch screen; an infrared module, the infrared module includes an infrared transmitter and an infrared receiver; one or more processors; one or more memories; a module with multiple applications installed; the memory stores one or more programs, and the one or more programs include instructions. When the instructions are executed by the electronic device, the electronic device executes the method that can be executed by the transmitting device as described in the first aspect and any one of the first aspects.
[0084] The fourth aspect provides an electronic device, which can be a receiving device, and the electronic device includes: a touch screen; an infrared module, the infrared module includes an infrared transmitter and an infrared receiver; one or more processors; one or more memories; a module with multiple applications installed; the memory stores one or more programs, and the one or more programs include instructions. When the instructions are executed by the electronic device, the electronic device executes the method that can be executed by the receiving device as described in the second aspect and any one of the second aspects.
[0085] The fifth aspect provides a system, comprising a sending device and a receiving device that can communicate with each other, the sending device can execute the method as described in any one of the first aspect and the implementation method of the first aspect, and the receiving device can execute the method as described in any one of the second aspect and the implementation method of the second aspect.
[0086] Optionally, the system may also include a target device, which can receive an infrared signal (pulse signal) including an operation instruction sent by a "target remote control" on a sending device or a receiving device, and respond according to the operation instruction included in the infrared signal (pulse signal).
[0087] The sixth aspect provides a graphical user interface system on an electronic device, wherein the electronic device has a touch screen, one or more memories, and one or more processors, wherein the one or more processors are used to execute one or more computer programs stored in the one or more memories, and the graphical user interface system includes a graphical user interface displayed by a sending device when the electronic device executes the method as described in any one of the first aspect and the first aspect.
[0088] The seventh aspect provides a graphical user interface system on an electronic device, wherein the electronic device has a touch screen, one or more memories, and one or more processors, wherein the one or more processors are used to execute one or more computer programs stored in the one or more memories, and the graphical user interface system includes a graphical user interface displayed by a receiving device when the electronic device executes the method as described in any one of the second aspects and the second aspect.
[0089] The eighth aspect provides a device, which is included in an electronic device, and the electronic device can be a transmitting device or a receiving device. When the electronic device is a transmitting device, the device has the function of implementing the behavior of the transmitting device described in the first aspect and any possible implementation of the first aspect. Alternatively, when the electronic device is a receiving device, the device has the function of implementing the behavior of the receiving device described in the second aspect and any possible implementation of the second aspect.
[0090] Optionally, the functions of the device can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions. For example, a display module or unit, a detection module or unit, a processing module or unit, etc.
[0091] The ninth aspect provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on an electronic device, the electronic device executes the method for sharing a remote control between devices according to the first aspect or any possible method for sharing a remote control between devices according to the first aspect, or the electronic device executes the method for sharing a remote control between devices according to the second aspect or any possible method for sharing a remote control between devices according to the second aspect.
[0092] The tenth aspect provides a computer program product, which, when running on an electronic device, enables the electronic device to execute the above-mentioned first aspect or any possible method for sharing a remote control between devices of the first aspect, or enables the electronic device to execute the second aspect or any possible method for sharing a remote control between devices of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0093] Figure 1 It is a schematic diagram of a home scene listed in an embodiment of the present application.
[0094] Figure 2 This is a diagram of the process of adding a TV remote control to the smart remote control application on a mobile phone.
[0095] Figure 3 This is a schematic diagram of the process of learning controls for a TV remote control in a smart remote control application on a mobile phone.
[0096] Figure 4 This is a schematic diagram of the process of adding an air conditioner remote control in the smart remote control application on a mobile phone.
[0097] Figure 5 This is a schematic diagram of a process of sharing an air conditioner remote control on a mobile phone provided in an embodiment of the present application.
[0098] Figure 6 This is another schematic diagram of the process of sharing an air conditioner remote control on a mobile phone provided in an embodiment of the present application.
[0099] Figure 7 This is a schematic diagram of an example of a receiving device receiving a remote control shared by a mobile phone provided in an embodiment of the present application.
[0100] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0101] Fig. 9 This is a software structure block diagram of an electronic device according to an embodiment of the present application.
[0102] Fig.10 This is a schematic flowchart of a method for sharing a remote control between devices provided in an embodiment of the present application. DETAILED DESCRIPTION
[0103] Figure 1 It is a schematic diagram of a home scene listed in an embodiment of the present application.
[0104] For example, in Figure 1 The home scene shown may include a variety of home devices such as a smart screen 10, an air conditioner 20, and a set-top box 30. In the daily use of home devices such as the smart screen 10, the air conditioner 20, and the set-top box 30, the user can control or change the working state and working mode of the device through a physical remote control, as well as adjust the parameters of the device during operation. Taking the smart screen 10 as an example, the smart screen 10 generally carries a physical remote control when it leaves the factory, such as an infrared remote control 40. The user can use the infrared remote control 40 to control the opening or closing of the smart screen 10, the switching of the playback channel, the adjustment of the volume, the setting or modification of the display parameters of the display screen, etc.
[0105] Generally, any household device such as the smart screen 10 may be configured with only one infrared remote controller 40 when it leaves the factory. For a family with many family members, different people may place the infrared remote controller 40 in different places after using the infrared remote controller 40 of the smart screen 10, which may cause the loss of the infrared remote controller 40. When other family members want to use the infrared remote controller 40 to control the smart screen 10, they may not be able to find the infrared remote controller 40, which affects the user experience.
[0106] Another possible situation is that when a guest visits the home, if the guest wishes to switch the playback channel of the smart screen 10, or wishes to adjust the temperature parameters of the air conditioner 20 in the cooling mode, the homeowner (household user) needs to first find the physical remote controller of the smart screen 10 and the physical remote controller of the air conditioner 20, and then give the physical remote controllers of different devices to the guest. However, with the increase in the number and types of devices used in home scenes, it is becoming increasingly inconvenient to control different home devices through different physical remote controllers; and when multiple people use the same home device, the remote controller of the device may not be found, affecting the user experience.
[0107] In one possible approach, based on intelligent infrared remote control technology, with the help of the user's mobile phone 100, tablet computer and other electronic devices, a smart remote control application can be installed on the mobile phone 100, tablet computer and other electronic devices, and the smart remote control application can be paired with each device in the home scene respectively. Remote controls of different devices can be added to the smart remote control application, so that different devices in the home scene can be controlled through the smart remote control application, and each device can get rid of the dependence of the physical remote control.
[0108] It should be understood that in the embodiments of the present application, the devices in the home scene that are configured with a physical remote control (infrared remote control) all have an infrared transmitter and an infrared receiver, which can receive control instructions issued by the infrared remote control, and can parse the control instructions and respond to them.
[0109] It should also be understood that in order to control other devices in the home scene that can be controlled by the remote control through the mobile phone 100, tablet computer and other electronic devices, the mobile phone 100, tablet computer and other electronic devices should meet the following two conditions:
[0110] (1) The electronic device also has an infrared transmitter and an infrared receiver, and can send or receive infrared signals. Optionally, the infrared transmitter can be an infrared light emitting diode, and the infrared receiver can be an infrared integrated connector, which is not limited in the embodiments of the present application.
[0111] (2) The electronic device also needs to install an intelligent remote control application, which can be an intelligent remote control application developed by Huawei or any application developed by a third-party company that can realize the remote control function of home devices. The embodiments of the present application are not limited to this.
[0112] Below Figure 1 In the home scenario, the mobile phone 100 that meets the above conditions is an electronic device, and the process of adding a TV remote control and an air conditioner remote control in the smart remote control application on the mobile phone 100 is introduced.
[0113] It should be understood that in order to distinguish it from the physical remote control (infrared remote control) of the television or air conditioner, the embodiment of the present application refers to the remote control added to the smart remote control application of the mobile phone 100 as a "virtual remote control", such as a virtual remote control for the television, a virtual remote control for the air conditioner, etc.
[0114] In addition, for the sake of ease of description, in the embodiments of the present application, the operation keys on the "physical remote control (infrared remote control)" of the TV or air conditioner are referred to as "buttons", such as the number button 1, the power button, the return button, etc., and the operation keys displayed on the mobile phone interface in the "virtual remote control" added in the smart remote control application of the mobile phone are referred to as "controls", such as the power control, the return control, etc., which will not be repeated later.
[0115] Figure 2 This is a diagram of the process of adding a TV remote control to the smart remote control application on a mobile phone.
[0116] For example, Figure 2 Figure (a) in the figure shows an interface 201 displayed by the mobile phone in unlock mode, and the interface 201 displays a weather clock component and multiple applications (applications, Apps), etc. Among them, the applications may include camera, smart life, settings, smart remote control, etc. It should be understood that the interface 201 may also include other more applications, which is not limited in the embodiment of the present application.
[0117] like Figure 2 As shown in Figure (a), the user clicks the icon of the smart remote control application. In response to the user's click operation, the mobile phone displays the following Figure 2 FIG. (b) shows the main interface 202 of the smart remote control application. The main interface 202 of the smart remote control application includes a bottom menu area, which includes a "smart remote control" menu and a "TV program" menu. The interface 202 is the interface corresponding to the "smart remote control" menu, and the "TV program" menu can be used for users to query the real-time program schedule of some TV channels. In addition, the interface 202 also displays the prompt information of adding a remote control control 202-1 and "adding a remote control": after adding, the device can be controlled by the mobile phone.
[0118] The user executes Figure 2 As shown in FIG. (b), click to add remote control control 202-1. In response to the user's click operation, the mobile phone displays the following Figure 2The interface 203 shown in Figure (c) displays a variety of different types of devices, such as televisions, air conditioners, set-top boxes, cameras, network boxes, digital video discs (DVDs), projectors, etc. Each type of device can correspond to virtual remote controls of different types and / or styles. The user can select any type of device on the interface 203 according to current actual needs, that is, select the type and style of the virtual remote control.
[0119] Optionally, the interface 203 may also include a custom control 203-1. If the interface 203 does not include the device type that the user wants to add, the user can add the required virtual remote control through the custom control 203-1 and define the number of buttons and functions of the virtual remote control. The embodiment of the present application will not repeat the process of custom adding a virtual remote control.
[0120] When the user wishes to add a virtual remote control for the TV, the following can be performed: Figure 2 As shown in Figure (c), click the "TV" icon. In response to the user's click operation, the mobile phone displays the following Figure 2 The brand selection interface 204 shown in FIG. 5 (d) provides the user with a variety of different TV brands, and the user can slide the interface 204 to view more TV brands. In addition, the interface 204 also displays a search box, and the user can enter a matching TV brand name in the search box to quickly find the target TV brand.
[0121] It should be understood that different brands of televisions may correspond to different types and / or different styles of virtual remote controls, or to the same type and / or same style of virtual remote controls. By selecting the TV brand, users can match the type and / or style of the virtual remote control more quickly.
[0122] like Figure 2 As shown in Figure (d) in FIG. 1 , it is assumed that the user clicks the display area of brand A and selects the TV of brand A (referred to as “TV A”). In response to the user’s operation, the mobile phone displays the following Figure 2 The interface 205 shown in FIG. (e) in FIG. 205 can be understood as a virtual remote control pairing interface of TV A, and the interface 205 displays a power control 205-1 and prompt information for user operation, for example: 1. Please aim the mobile phone at the appliance and click the button to send an infrared signal; 2. Select yes / no according to the response result of the appliance.
[0123] According to the prompt information of interface 205, the user can point the mobile phone at the TV A to be paired, and then execute the following steps: Figure 2Operation 1 shown in FIG. (e) is to click the power control 205-1. In response to the user's click operation, the mobile phone sends an infrared signal to TV A through an infrared transmitter and determines whether TV A responds, such as TV A switches from an off state to an on state, or from an on state to an off state, or emits a "beep..." prompt sound. When TV A responds, the user can continue to perform operation 2 and click the control corresponding to "Yes". In response to the user's click operation, the mobile phone displays the following Figure 2 The mobile phone can automatically pop up a window 206-1 on the interface 206, and the window 206-1 is used for the user to choose whether to save the remote control of TV A, and display a prompt message to prompt the user: if there are other button requirements, please add them through learning buttons and extended functions.
[0124] Optionally, when TV A can receive the infrared signal sent by the mobile phone and respond, it can return a response signal to the mobile phone, and the response signal can carry the device information of TV A, so that the mobile phone can accurately obtain the device information of TV A according to the response signal, and then accurately match the type and / or style of the virtual remote control for the current TV A. The device information of TV A may include one or more information such as the device identification, software system information, resolution, memory, rendering model, processor processing speed, sensor, etc. of TV A, which is not limited in the embodiments of the present application.
[0125] When the user decides to add the virtual remote controller of TV A, the following steps can be performed: Figure 2 The operation shown in Figure (f) in the figure is performed, and the "Save" control is clicked. In response to the user's save operation, the virtual remote control of TV A is successfully added to the smart remote control application of the mobile phone. In other words, through the above process, the type and / or style of the virtual remote control adapted to TV A is added to the smart remote control application. However, the physical remote control of TV A has many buttons and complicated functions. In addition to the power button, the user may expect the virtual remote control of the TV in the smart remote control application to also have the functions of multiple buttons used in daily life.
[0126] In a possible implementation, the user can learn the controls of the virtual remote controller of TV A and expand the control functions according to the prompt information in window 206 - 1 .
[0127] Figure 3 This is a diagram of the process of learning the controls of a TV remote control in a smart remote control application on a mobile phone. Figure 2 As shown in Figure (f) of FIG. 1, after clicking the "Save" control, in response to the user's save operation, the mobile phone can display the following Figure 3 The interface 301 shown in Figure (a) shows the style and control layout of the virtual remote control that matches the current TV A.
[0128] Optionally, in the interface 301, the virtual remote control controls of TV A displayed may include: a signal input control 11, a power control 12, a mute control 13, a volume control 14, a channel control 15, and 10 digital controls, a favorites control, a return control, etc. In addition, the interface 301 also displays an edit control 17, which is used to trigger the controls of the virtual remote control of TV A in the interface 301 to enter a learning state.
[0129] For example, the following takes the control 16 corresponding to the number "3" as an example to introduce the process of the control 16 learning the function of the button 3 of the physical remote control. Figure 3 As shown in Figure (a), the user first performs operation 1 and clicks the "Edit" control 17 on the interface 301. In response to the user's operation, all controls of the virtual remote control of TV A in the interface 301 can enter the learning state. The user then performs operation 2 and clicks the control 16 corresponding to the number "3" on the interface 301. In response to the user's operation, the mobile phone displays Figure 3 The interface 302 shown in Figure (b) only displays the control 16 corresponding to the number "3" of the virtual remote control of TV A, and automatically displays the window 302-1, and displays prompt information for performing key learning operations in the window 302-1, for example: 1. Aim the remote control at the infrared receiver of the mobile phone and keep a distance of 5 cm; 2. To start learning, press and hold the key to be learned for 2 seconds, and keep the mobile phone and the remote control still.
[0130] After viewing the prompt information in the window 302-1, the user can click the control corresponding to "Got it" in the interface 302. In response to the user's operation, the mobile phone displays the following Figure 3 The number "3" shown in (c) of the figure is the learning interface 303 of the control 16. The user can operate according to the prompt information in the window 302-1, aim the physical remote control of TV A at the infrared receiver of the mobile phone, and keep a distance of 5 cm, and then execute the following steps: Figure 3 Operation 1 shown in Figure (c) is to click control 16 corresponding to the number "3" in interface 303. In response to the user's operation, the infrared transmitter of the mobile phone sends an infrared signal to the physical remote control of TV A. Then, according to the prompt information on the interface 303, click button 3 on the physical remote control and hold it for more than 2 seconds. In response to the user's operation, the physical remote control can return an infrared signal to the mobile phone.
[0131] Optionally, the infrared signal returned by the physical remote control to the mobile phone may include information corresponding to the "button 3" currently being learned, such as key value information and button function information of "button 3".
[0132] Exemplarily, Table 1 lists the key values corresponding to some buttons of the physical remote control, as well as the contents of information such as button functions. As shown in Table 1, assuming that the key value corresponding to the CH+ button of the physical remote control is 226, the function can be described as: the focus of the graphical operation interface moves up, and the live broadcast channel is increased by 1. In other words, when the user presses the CH+ button of the physical remote control, the physical remote control can send an infrared signal to TV A through an infrared transmitter. The infrared signal includes a pulse signal corresponding to the CH+ button. After TV A obtains the pulse signal, it can parse and obtain the operation instruction corresponding to the pulse signal, and then respond according to the operation instruction.
[0133] Table 1
[0134]
[0135] In a possible implementation, the infrared signal between the physical remote control and TV A can be transmitted based on the infrared remote control NEC protocol. When the user presses a button on the physical remote control (infrared remote control), the physical remote control can determine the pulse signal corresponding to the button and transmit a string of binary coded information to TV A through the pulse signal.
[0136] Exemplarily, when the user presses the CH+ button, the physical remote control determines that the pulse signal corresponding to the CH+ button includes the binary coded information: 00000000 11111111 11100010 00011101. Among them, the first byte "00000000" and the second byte "11111111" constitute the user code, and the user code value is: 0x00FF. The third byte "11100010" is converted from binary to the corresponding decimal system, which is 226. The fourth byte "00011101" and the third byte are the inverse codes of each other. The physical remote control uses the value of the third byte in the binary coded information to define the functions of different buttons.
[0137] Exemplarily, taking the "Back" button of the physical remote control in Table 1 as an example, it is assumed that the key value of the "Back" button is 1. When the user presses the "Back" button, the physical remote control determines that the binary coded information included in the pulse signal corresponding to the "Back" button is: 00000000 11111111 00000001 11111110. After TV A receives the pulse signal, it determines the key value 1 according to the binary coded information contained in the pulse signal, and determines the key function of the "Back" button according to the key value 1, and responds. It should be understood that in different scenarios, the "Back" button can correspond to different functions. Specifically, when the user browses the electronic program guide (EPG) of the TV, clicking the "Back" button can return to the last operation interface; when the user watches a TV program on demand, clicking the "Back" button can return to the selection interface of the on-demand program; when the user watches a live TV channel, clicking the "Back" button can return to the previously watched channel.
[0138] For the sake of simplicity, the key values and function information corresponding to other keys of the physical remote controller are not described in detail in the present embodiment. It should be noted that each key and key value of the physical remote controller has only one and only one corresponding relationship.
[0139] When the mobile phone starts to receive the infrared signal (response signal) returned by the physical remote control, you can Figure 3 As shown in FIG. 5( c ) , a prompt message “Receiving remote control signal…” may be displayed on the interface 303 of the mobile phone.
[0140] When the infrared signal is received, the prompt message may disappear automatically, and a "Cancel" control and a "Save" control are displayed on the interface 303. The user can perform the following operations: Figure 3 In operation 2 shown in Figure (c), click the "Save" control. In response to the user's save operation, the mobile phone can jump to display the following Figure 3 FIG. 5( d ) shows the details interface 304 of the virtual remote control of TV A. FIG.
[0141] Optionally, the process of learning the controls of the virtual remote control can be understood as: a control of the virtual remote control obtains the key value information of a corresponding button on the physical remote control, and determines the control code value of the control according to the key value. After all the controls of the virtual remote control are learned, the intelligent remote control application can obtain the key values of all the buttons of the physical remote control, that is, the infrared coding table of the physical remote control, thereby establishing and saving the control data set corresponding to all the controls of the virtual remote control, and the control code value of each control in the control data set is fixed.
[0142] It should be understood that the control data set may include information of each control in all controls of the virtual remote control, such as part or all of the information of each control's virtual remote control ID, control ID, control symbol, control code value, control protocol, etc.
[0143] It should also be understood that the smart remote control application may include virtual remote controls for one or more devices, and each device's virtual remote control may correspond to a "control data set"; or, since the virtual remote control ID of each device is different and the control code value of each control is different, it can also be understood as a "control data set" corresponding to the virtual remote controls of all devices in the smart remote control application, which is not limited to the embodiments of the present application.
[0144] To avoid ambiguity, the following embodiments will be described by taking the example that each device's virtual remote control may correspond to a "control data set", and a "control data set" may include information about each control in all controls of the device's virtual remote control, which will not be repeated later.
[0145] For example, Figure 3 As shown in Figure (d), the details interface 304 of the virtual remote control of TV A includes a variety of controls. After learning the controls on the interface 304, a control data set as shown in Table 2 can be obtained. Table 2 lists the information of some controls in the control data set of the virtual remote control of TV A, such as the virtual remote control ID, control ID, control symbol, control code value, control protocol and other information corresponding to each control.
[0146] Table 2
[0147] Virtual remote control ID Control ID Control Symbols Control code value Control Protocol 01 001 CH- 10100010(162) NEC / PHILIPS 01 002 CH+ 11100010(226) NEC / PHILIPS 01 003 Volume + 00100010(34) NEC / PHILIPS 01 004 volume- 00000010(2) NEC / PHILIPS 01 005 return 00000001(1) NEC / PHILIPS 01 006 Number 3 00000111(7) NEC / PHILIPS …… …… …… …… ……
[0148] Among them, in Table 2, "Virtual remote control ID" is used to identify the unique identification (identity, ID) of the virtual remote controls of multiple devices added in the smart remote control application of the mobile phone. For example, the smart remote control application of the mobile phone may add a virtual remote control of TV A, a virtual remote control of air conditioner B, a virtual remote control of set-top box C, etc. The virtual remote control of each device corresponds to a different ID. Assuming that the "virtual remote control ID" corresponding to a certain control is 01, it means that the control is a control in "Virtual remote control of TV A"; the "virtual remote control ID" corresponding to a certain control is 02, which means that the control is a control in "Virtual remote control of air conditioner B".
[0149] The “control identification ID” is used to identify which of all the controls included in the virtual remote control of TV A shown in the interface 304 the control is (control position, coordinates, etc.), and each control has a unique control identification ID.
[0150] “Control symbol” is a symbol displayed on each control in the virtual remote control of TV A shown in interface 304 , such as numbers 1, 2, 3, etc.
[0151] The "control code value" is used to generate operation instructions. Each control corresponds to a unique control code value, and the control code value of each control has a unique corresponding relationship with the key value of the same button on the physical remote control.
[0152] "Control protocol" is the communication protocol of the signal between the virtual remote control of TV A on the user's mobile phone and TV A. Assuming that the signal is based on the infrared remote control NEC protocol, the infrared signal (pulse signal) between the virtual remote control of TV A and TV A can include a string of binary coded information, for example, at least an 8-bit address code (user code) and an 8-bit command code (control code value). Specifically, the data format of the infrared signal (pulse signal) can refer to the relevant content of the infrared remote control NEC protocol, and the embodiments of this application will not be repeated.
[0153] It should be understood that through Figure 3 In the process of (a) to (c) in FIG. 1, the smart remote control application of the mobile phone can establish a corresponding relationship between the button 3 of the physical remote control and the control 16 corresponding to the number "3" of the virtual remote control. For example, the button 3 (key value 7) of the "physical remote control" in Table 1 is associated with the number 3 control in Table 2 "virtual remote control" (the virtual remote control ID is 01, the control ID is 006, and the control code value is 00000111), that is, the control 16 of the virtual remote control has the same function as the button 3 of the physical remote control.
[0154] For example, when the user clicks on the control 16 corresponding to the number "3" on the "virtual remote control of TV A" interface 304 of the mobile phone smart remote control application, the mobile phone can obtain the control ID of the control 16 as 006 and the control code value 00000111, generate a pulse signal according to the infrared remote control NEC protocol, and send the pulse signal to TV A through the infrared transmitter of the mobile phone. For example, the pulse signal can be: 00000000 11111111 00000111 11111000. TV A can parse and obtain the pulse signal, and determine the operation instruction contained in the pulse signal. The operation instruction can realize the function corresponding to the key 3 (key value 7) of the "physical remote control", and then TV A can respond according to the operation instruction.
[0155] In other words, no matter the user presses button 3 of the physical remote control or clicks control 16 of the virtual remote control of the mobile phone, TV A obtains the same pulse signal, or the same operation instruction, and implements the same function.
[0156] Similarly, the user can continue to learn other controls in the virtual remote control of TV A according to the learning process of control 16 corresponding to the number "3" above, so that Figure 3 A one-to-one correspondence is established between all controls included in the details interface 304 of the virtual remote control of TV A shown in Figure (d) and the buttons of the physical remote control; alternatively, the user can also learn only some of the controls that are used frequently according to their own usage needs. For the sake of simplicity, the embodiments of the present application will not be described one by one.
[0157] Through the above process, a virtual remote control of TV A is added to the smart remote control application of the mobile phone, and after control learning, the virtual remote control of TV A can have the functions of a physical remote control, and the user can control TV A through the virtual remote control in the smart remote control application of the mobile phone.
[0158] After the user has completed the desired control learning, he can execute Figure 3 In the operation shown in FIG. (d), click the "return to the previous page" control on the interface 304. In response to the user's return operation, the mobile phone displays the following Figure 3 The interface 305 shown in FIG. (e) is the main interface of the smart remote control application and is Figure 2 In the interface 202 shown in FIG. (b), the interface 305 displays the icon 305-1 of the added TV A and the name "TV A". By clicking the icon 305-1 of TV A or the display area of the name "TV A", the interface 304 of "virtual remote control of TV A" can be entered. TV A can be controlled using the controls on the interface 304, which will not be described in detail here.
[0159] In addition, if the user wants to add remote controllers for more devices, he can continue to click the add remote controller control 305-2 on the interface 305 and continue to add remote controllers for more devices according to the above-mentioned process, which will not be repeated here.
[0160] The above combined with Figure 2 and Figure 3 This paper introduces how to add a virtual remote control of TV A in a smart remote control application on a mobile phone and complete the control learning process of the virtual remote control of TV A, so that users can control the channel switching, volume adjustment, display parameter adjustment, etc. of TV A through the smart remote control application on portable electronic devices such as mobile phones and tablet computers.
[0161] for Figure 1In the home scene, the air conditioner 20, set-top box 30 and other devices do not involve too many operations when the user uses the air conditioner 20, set-top box 30 and other home devices. For example, for the air conditioner 20, the user may only need to adjust the air conditioner on or off, wind direction and speed, and temperature. Therefore, compared with the physical remote control of the TV, the physical remote control of the air conditioner 20 has a relatively simple number of buttons and functions. Therefore, for home devices such as the air conditioner 20 and the set-top box 30, the smart remote control application can provide users with another more convenient way to add a virtual remote control.
[0162] In another possible implementation, for some home devices, the virtual remote control of the home device may be a preset remote control in a smart remote control application, which matches the brand and / or model of the home device, and includes controls with a preset number and functions, control layout and style, etc.
[0163] Figure 4 This is a schematic diagram of a process of adding an air conditioner remote control in a smart remote control application of a mobile phone. Optionally, when a user adds a virtual remote control of an air conditioner in the smart remote control application of a mobile phone, the smart remote control application can determine a virtual remote control that matches the current air conditioner from a plurality of preset remote control types according to the brand and model of the air conditioner.
[0164] For example, Figure 4 FIG. 4 shows the main interface 401 of the smart remote control application. The main interface 401 includes the virtual remote control of the TV A that has been added. The user clicks the add remote control control 401-1 on the main interface 401. In response to the user's click operation, the mobile phone displays the following Figure 4 The interface 402 shown in FIG. (b) includes multiple different types of devices. The user performs the following steps: Figure 4 As shown in Figure (b), click the "air conditioner" icon. In response to the user's click operation, the mobile phone displays the following Figure 4 The brand selection interface 403 shown in FIG. 5 (c) provides the user with a variety of different air conditioner brands.
[0165] like Figure 4 As shown in Figure (c) of FIG. 1 , assuming that the user clicks the display area of brand B and selects the air conditioner of brand B, in response to the user's operation, the mobile phone displays the following Figure 4 FIG. 4 shows a virtual remote controller pairing interface 404 of air conditioner B as shown in FIG. The interface 404 displays a power control 404-1 and prompt information for user operation.
[0166] Optionally, when adding virtual remote controllers for different home devices in the smart remote control application, the display content of the interface for starting pairing between the mobile phone and the home device can be the same. Figure 2The virtual remote controller of TV A shown in FIG. (e) starts pairing with the interface 205 and Figure 4 The display content of the interface 404 for starting pairing of the virtual remote controller of the air conditioner B shown in FIG. (d) can be the same, including the power control and the prompt information of the user operation. Please refer to the aforementioned Figure 2 The relevant introduction of Figure (e) in will not be repeated here.
[0167] The user executes Figure 4 In operation 1 shown in FIG. (d), click the power control 404-1 on the interface 404, triggering the mobile phone to send an infrared signal to the air conditioner B for the first time, and the user determines whether the air conditioner B responds, for example, the air conditioner B may switch from the off state to the on state, or from the on state to the off state, or emit a "beep..." prompt sound, etc. When it is determined that the air conditioner B responds, the user can continue to perform the following operations. Figure 4 In operation 2 shown in Figure (d), click the "Yes" control. In response to the user's operation, the mobile phone displays the following Figure 4 The interface 405 shown in FIG. 8 (e) displays an air conditioner mode control 405 - 1 .
[0168] It should be understood that when air conditioner B receives the infrared signal sent by the mobile phone for the first time and air conditioner B responds, air conditioner B can return a response signal to the mobile phone. The response signal can carry the device information of air conditioner B, so that the smart remote control application of the mobile phone can accurately match the virtual remote control for the current air conditioner B from a variety of preset remote control types based on the device information of air conditioner B, that is, determine the type and / or style of the virtual remote control that matches the air conditioner B.
[0169] Continuing, the user executes Figure 4 In operation 1 shown in FIG. (e), click on the mode control 405-1. In response to the user's click operation, the mobile phone sends an infrared signal to air conditioner B for the second time. The infrared signal may include a request message for obtaining the current operating parameters of air conditioner B. The user continues to determine whether air conditioner B responds. When air conditioner B responds, the user can continue to perform operation 2 and click on the "Yes" control. In response to the user's operation, the mobile phone displays the following Figure 4 In the interface 406 shown in FIG. 8 (f), a window 406-1 is automatically popped up on the interface 406, and the window 406-1 can display a prompt message: the air conditioner B has been loaded, whether to save the air conditioner B.
[0170] It should be understood that when air conditioner B receives the infrared signal sent by the mobile phone for the second time and air conditioner B responds, air conditioner B can also return a response signal to the mobile phone, and the response signal can carry information about the current operating parameters of air conditioner B.
[0171] Optionally, the information on the current operating parameters of air conditioner B includes parameter information such as wind direction, wind speed, target temperature, working mode (such as cooling mode, heating mode, automatic mode, ventilation mode, dehumidification mode, etc.) under the current working state of air conditioner B.
[0172] It should also be understood that when the phone displays Figure 4 When the window 406-1 shown in FIG. 7 (f) is displayed and the user is prompted that "Air conditioner B has been loaded", the mobile phone has received and obtained the device information of Air conditioner B and the current operating parameter information of Air conditioner B.
[0173] Continuing, the user executes Figure 4 As shown in FIG. (f), click the "Save" control in window 406-1. In response to the user's save operation, the mobile phone jumps to display the following Figure 4 FIG. (g) shows a detailed interface 407 of the virtual remote controller of the air conditioner B. The interface 407 may include an operating parameter display area 407-1 and a control area 407-2 of the air conditioner B shown in a dotted box, wherein the smart remote control application of the mobile phone may display the wind speed, wind direction, wind sweeping, cooling mode and target temperature 24° C. of the air conditioner B in the display area 407-1 according to the current operating parameters of the air conditioner B obtained.
[0174] In addition, if Figure 4 As shown in FIG. 1 (g), the control area 407-2 of the air conditioner B shown in the dotted box includes a plurality of operation controls that the user can click to control the air conditioner B, such as a heating control 21, a switch control 22, a cooling control 23, a working mode control 24, a wind speed control 25, a wind direction control 26, and a wind sweep control 27. The user can click on the controls in the control area 407-2 to control the opening or closing of the air conditioner B, adjust the operating parameters of the air conditioner B, etc.
[0175] It should be understood that for the multiple preset remote controls in the smart remote control application, each preset remote control can match a fixed brand and model of home devices, and each preset remote control includes preset controls, control layout and style, etc.
[0176] It should also be understood that the virtual remote control ID, control ID, control symbol, control code value, control protocol and other information of each preset remote control are known, that is, the control data set of each preset remote control has been stored in the smart remote control application. In other words, when the user clicks on any control in the preset remote control that matches the B air conditioner, the smart remote control application of the mobile phone can query the control code value of the control, and generate a pulse signal according to the control code value of the control, and send the pulse signal to the B air conditioner through the infrared transmitter. The B air conditioner can parse and determine the operation instruction according to the received pulse signal, and respond according to the operation instruction.
[0177] For example, Table 3 lists a possible preset virtual remote controller information matching the B air conditioner. As shown in Table 3, all controls of the virtual remote controller of the B air conditioner have a unique virtual remote controller ID, for example, the virtual remote controller ID is recorded as "02". In addition, the virtual remote controller of the B air conditioner includes fixed controls, such as a heating control 21, a switch control 22, a cooling control 23, a working mode control 24, a wind speed control 25, a wind direction control 26, and a wind sweep control 27, and each control corresponds to a unique control ID, a control symbol, and a control code value. Please refer to the relevant introduction in Table 2, which will not be repeated here.
[0178] Table 3
[0179] Virtual remote control ID Control ID Control Symbols Control code value Control Protocol 02 001 Temperature control 21 00110100 NEC / PHILIPS 02 002 Switch Control 22 00110101 NEC / PHILIPS 02 003 Cooling Controls 23 00110111 NEC / PHILIPS 02 004 Working mode controls 24 10110100 NEC / PHILIPS 02 005 Wind speed control 25 11110100 NEC / PHILIPS 02 006 Wind direction control 26 00110101 NEC / PHILIPS 02 007 Wind sweep control 27 10110110 NEC / PHILIPS
[0180] When the user executes Figure 4 In the operation shown in FIG. (g), click the "return to the previous page" control on the interface 407. In response to the user's return operation, the mobile phone displays the following Figure 4 The interface 408 shown in FIG. (h) is the main interface of the smart remote control application and is Figure 3 In the interface 305 shown in FIG. (e), the interface 408 also displays the icon 408-1 of the added air conditioner B and the name "Air conditioner B". By clicking the icon 408-1 of the air conditioner B or the display area of the name "Air conditioner B", you can enter the interface 407 of the "virtual remote control of air conditioner B". Through the controls included in the "virtual remote control of air conditioner B", you can control the opening or closing of air conditioner B and adjust the operating parameters of the working process of air conditioner B.
[0181] Exemplarily, when the user clicks on the working mode control 24 on the "virtual remote control of B air conditioner" interface 407 of the mobile phone intelligent remote control application, the mobile phone can obtain the control ID of the working mode control 24 as 004 and the control code value 10110100, generate a pulse signal according to the infrared remote control NEC protocol, and send the pulse signal to B air conditioner through the infrared transmitter of the mobile phone. For example, the pulse signal can be: 00000000 11111111 10110100 01001011. B air conditioner can parse the pulse signal and determine that the operation instruction contained in the pulse signal corresponds to the working mode button of the "physical remote control". In response to the operation instruction, B air conditioner switches the working mode, for example, from cooling mode to heating mode, which will not be repeated here.
[0182] Through the above Figures 2 to 4In the process, you can add virtual remote controls for the TV and the air conditioner in the smart remote control application of the mobile phone through different methods. Users can also add virtual remote controls for set-top boxes, cameras, network boxes, DVDs, projectors and other devices in home scenes in a similar way. In this way, users can control the opening and closing of multiple devices, switching of working states, and adjustment of working parameters of each device during the working process through one mobile phone, thus getting rid of the dependence of each device on the physical remote control.
[0183] In one possible scenario, suppose that in a family scenario, a virtual remote control for a TV or a virtual remote control for an air conditioner is added to the mobile phone of the household owner. When the physical remote control for the TV or the air conditioner cannot be found, and other family members or visiting guests want to turn on the TV, switch the TV playback channel, adjust the playback volume, or adjust the operating temperature of the air conditioner, they can only use the intelligent remote control application on the mobile phone of the household owner to control the use of the TV through the virtual remote control of the TV that has been added to the mobile phone of the household owner, or control the working process of the air conditioner through the virtual remote control of the air conditioner. In this scenario, if different people use the mobile phone of the household owner to control the TV or the air conditioner, it may affect the use of the mobile phone of the household owner, and the household owner may not be willing to lend his private mobile phone to others, which may lead to the risk of leaking the private content on the mobile phone of the household owner.
[0184] Alternatively, other family members or visiting guests can also add a virtual remote control of a TV or air conditioner to the smart remote control application of their mobile phone according to the above process. In this implementation process, if different people add a virtual remote control of a TV or air conditioner on their mobile phone according to the above process, each device of each person needs to repeat the addition and pairing operations, which is cumbersome and time-consuming.
[0185] Secondly, for home devices such as televisions, each control in the virtual remote control usually needs to be learned and paired one by one with the buttons on the physical remote control. Not only is the operation process complicated and cumbersome, but if the physical remote control of the TV cannot be found at the moment, the learning and pairing of the controls in the virtual remote control cannot be completed, that is, it is impossible to add a virtual remote control for the TV on someone else's mobile phone.
[0186] In addition, for child users or visiting guests in the family, once they add a TV remote control to their mobile phone using the method described above and complete the learning and pairing process of the controls in the virtual remote control, they will have independent and permanent control rights over the TV. The homeowner may not want child users or visiting guests in the family to have independent and permanent control rights over the TV.
[0187] Therefore, the above-mentioned different implementation methods cannot meet the needs of multiple people for using multiple devices, and cannot take into account the control authority needs of different people for different devices, resulting in a poor user experience.
[0188] In response to the above problems, an embodiment of the present application will provide a method for sharing virtual remote controls between devices. This method can share a virtual remote control that has been added and available in an electronic device such as a mobile phone with other electronic devices, and the sharing process can take into account the user's permission requirements, simplify the operation process, and improve the user experience.
[0189] It should be understood that the method for sharing a virtual remote control provided in the embodiment of the present application is applied between two different electronic devices. For clear distinction, in the description of subsequent embodiments, the "two different electronic devices" are respectively referred to as a "sending device" and a "receiving device".
[0190] Optionally, the "sending device" and the "receiving device" can be devices of the same type, for example, both the "sending device" and the "receiving device" are mobile phones; or, the "sending device" and the "receiving device" can be devices of different types, for example, the "sending device" is a mobile phone and the "receiving device" can be a tablet computer, etc.
[0191] For example, the above Figure 1 For example, the mobile phone 100 is used as the "sender device", and the smart remote control application of the "sender device (mobile phone 100)" has added one or more virtual remote controls of the device. Figures 2 to 4 Through the process of adding "virtual remote control for TV A" and "virtual remote control for air conditioner B" to the smart remote control application.
[0192] It should be understood that the virtual remote control of any device that has been added to the smart remote control application can be used as the "virtual remote control to be shared" introduced in the embodiment of the present application. The "process of sharing a virtual remote control" in the embodiment of the present application can be understood as: the householder user shares the virtual remote control of TV A or the virtual remote control of air conditioner B that has been added on his mobile phone 100 with the electronic devices of other family members or visitors, so that other family members or visitors can control TV A or air conditioner B through their own electronic devices. In this process, the householder's mobile phone 100 is the "sending device" and the electronic devices of other family members or visitors are the "receiving devices".
[0193] It should also be understood that in the embodiments of the present application, the "transmitting device" and the "receiving device" both meet the conditions of the electronic devices described above, for example, the "transmitting device" and the "receiving device" both have infrared modules, such as infrared transmitters and infrared receivers, which can send or receive infrared signals; and the "transmitting device" and the "receiving device" are both installed with the same type of smart remote control application.
[0194] Figure 5 This is a schematic diagram of a process of sharing an air conditioner remote control on a mobile phone provided in an embodiment of the present application.
[0195] For example, Figure 5 Figure (a) shows the main interface 501 of the smart remote control application of the mobile phone, on which the icon and name of TV A and the icon and name of air conditioner B are displayed, indicating that the virtual remote controls that have been added to the smart remote control application of the mobile phone include: the virtual remote control of TV A and the virtual remote control of air conditioner B.
[0196] In a possible implementation, the user can select a virtual remote control of a device to be shared from the virtual remote controls of one or more devices that have been added on the main interface 501 of the smart remote control application, and trigger the sharing process of the virtual remote control of the device.
[0197] For example, when the user wishes to share the virtual remote controller of air conditioner B with the receiving device, the following operations can be performed: Figure 5 In the operation shown in FIG. 5(a), long press the icon of the air conditioner B, or long press the display area of the name of the air conditioner B. In response to the long press operation of the user, the mobile phone can automatically pop up the operation window 502-1, which displays the following: Figure 5 In the interface 502 shown in FIG. (b) of FIG. 502, in the operation window 502-1 of the interface 502, a plurality of executable operation options are provided to the user for the virtual remote controller of the air conditioner B, such as the following possible operation options:
[0198] (1) The "Delete" option can be used to delete the virtual remote controller of the air conditioner B and related data that have been added in the smart remote control application. If the user clicks the Delete option, the virtual remote controller of the air conditioner B that has been added will be deleted in the smart remote control application, and the icon and name of the air conditioner B will no longer be displayed on the main interface 501 of the smart remote control application.
[0199] (2) The "Rename" option can be used to modify the name of the virtual remote controller of air conditioner B. For example, the user can modify the name "air conditioner B" under the air conditioner icon on the main interface 501 of the smart remote control application to "living room air conditioner", "bedroom air conditioner", etc. according to the location of air conditioner B in the home scene.
[0200] (3) The "top" option can be used to adjust the display position of the virtual remote control of air conditioner B. If the user clicks the top option, the position of "virtual remote control of air conditioner B" and "virtual remote control of TV A" can be swapped on the main interface 501 of the smart remote control application, that is, the icon and name of air conditioner B are displayed at the top in the first position of the remote control list.
[0201] (4) The "Share" option can trigger the sharing process of the virtual remote controller of air conditioner B. For example, when the user executes the following Figure 5 In the operation shown in Figure (b), click the "Share" option, in response to the user's operation, trigger the mobile phone to enter the sharing process of the virtual remote control of air conditioner B, and the mobile phone can display the following Figure 5 The details interface 503 of the virtual remote control shown in Figure (c) can display all interface contents of the details interface of the virtual remote control of air conditioner B. For example, the interface 503 can include an operating parameter display area 503-1 and a control area 503-2 of air conditioner B, and all operable controls included in the virtual remote control of air conditioner B on the interface 503 are in a selectable state.
[0202] In a possible implementation, the user can manually select all or part of the operable controls included in the virtual remote controller of air conditioner B as the "target controls" to be shared on the interface 503 according to current usage requirements.
[0203] Optionally, when the user executes Figure 5 In the operation shown in Figure (b), after clicking the "Share" option, when the mobile phone is triggered to display the interface 503, the icon of each control in the control area 503-2 shown by the dotted box on the interface 503 can correspond to a selection box, and the selection box of each control is presented as "unselected", that is, the selection box is presented as a blank state. The user can click the selection box corresponding to some controls according to current needs, and determine the control selected by the user as the "target control". It should be understood that the "target control" selected by the user is all the controls included in the "virtual remote control to be shared", and other controls not selected by the user are not considered as the content of the "virtual remote control to be shared".
[0204] For example, Figure 5 As shown in Figure (c), assuming that the user clicks and selects the selection boxes of the heating control 21 and the cooling control 23, the smart remote control application of the mobile phone can determine the heating control 21 and the cooling control 23 as "target controls", that is, the heating control 21 and the cooling control 23 will be included as the content of the "virtual remote control to be shared", while other controls such as the switch control 22 will not be included as the content of the "virtual remote control to be shared".
[0205] In another possible implementation, for different types of devices, the target controls to be shared corresponding to the virtual remote controller of each type of device may be certain fixed controls preset in all controls included in the details interface of the virtual remote controller of the target device. For example, if the sharing of the virtual remote controller of the device is triggered, all controls included in the details interface of the virtual remote controller of the device may be displayed as selected by default, that is, all controls may be used as target controls.
[0206] For example, when the user executes Figure 5 As shown in Figure (b), after clicking the "Share" option, the process of sharing the virtual remote control of air conditioner B is triggered, and the mobile phone can display the following Figure 5 In the interface 503 shown in FIG. (c), each control icon in the control area 503-2 shown in the dotted box on the interface 503 can correspond to a selection box, and the selection box of each control is presented as "selected", that is, the selection box is filled with black and includes a selection symbol "∨". This scenario can be understood as: when sharing the virtual remote control of air conditioner B, all controls included in the details interface of the virtual remote control of air conditioner B are used as "target controls" to be shared by default.
[0207] Optionally, the user can click on the selection boxes corresponding to some controls to cancel sharing of these controls according to current needs, and determine the remaining controls that have not been clicked and are still presented in a "selected state" as "target controls".
[0208] For example, if the selection box of each control in the interface 503 is in the "selected state", the user can click the selection box of the switch control 22, the selection box of the working mode control 24, the selection box of the wind speed control 25, the selection box of the wind direction control 26, and the selection box of the wind sweep control 27 to cancel them, and the remaining heating control 21 and cooling control 23 that have not been clicked to cancel and are still presented as the "selected state" are determined as the "target controls".
[0209] Through the above method, according to the needs of other family members or visitors to use the remote control to control the device in different scenarios, the user can share only part of the controls included in the virtual remote control of the device to the receiving device, so that other family members or visitors can control the device through the shared part of the controls.
[0210] In addition, in this implementation, only some controls in the device remote control are shared with the receiving device. In other words, only some control rights (operation rights) of the device are open to other family members or visitors. The control rights of other family members or visitors to the device can be limited, avoiding security risks caused by too many people having the right to operate a certain device.
[0211] For example, parents generally limit the amount of time children watch TV each day and the content of the programs they watch. Parents can hide the physical remote control of the TV, add a virtual remote control for the TV to the smart remote control application on the mobile phone, and control the TV to be turned on for the children during fixed time periods every day. Only the volume adjustment controls of the virtual remote control of the TV are shared with the children's electronic devices. Children can only adjust the volume of the TV playback, but cannot switch channels or change the content of the programs played, thereby controlling children's access to the TV.
[0212] Optionally, the selection box corresponding to each control can be located at the lower right corner, lower left corner, upper right corner, or upper left corner of the control icon, or directly below the control icon, or at the geometric center of the control icon display area and cover the control, or at the previous display layer of the control.
[0213] For example, Figure 5 As shown in Figure (c), the selection box of the temperature increase control 21 is located in the lower right corner of the temperature increase control 21, and the selection box of the working mode control 24 is located directly below the working mode control 24. The embodiment of the present application does not limit the display position of the selection box corresponding to each control.
[0214] Optionally, when the user selects a target control of a virtual remote controller to be shared, the user may also set a valid time period during which the virtual remote controller to be shared (or “target control”) is available on the receiving device.
[0215] For example, in Figure 5 The interface 503 shown in FIG. (c) may also include a timer control 503-3. The user may use the "timer control 503-3" to set the effective duration of the virtual remote control of the shared air conditioner B on the receiving device, that is, the effective duration of the heating control 21 and the cooling control 23 on the receiving device.
[0216] Optionally, the initial value displayed by the "timing control 503-3" can be 00 hours, 00 minutes, and 00 seconds. The user can manually modify it to the effective duration he or she expects. For example, the user modifies the "timing control 503-3" to display 02 hours, 00 minutes, and 00 seconds. Alternatively, the user may not modify it and keep the "timing control 503-3" displaying the initial value 00 hours, 00 minutes, and 00 seconds. When the user executes the following command, Figure 5 In the operation shown in Figure (c), when the "Confirm" control is clicked, if the "timing control 503-3" displays 00:00:00, it can be understood that: there is no limit to the effective time for the virtual remote control of the B air conditioner to be shared to be available on the receiving device.
[0217] Alternatively, the initial value displayed by the "timing control 503-3" may correspond to a preset fixed duration. For example, the initial value displayed by the "timing control 503-3" defaults to 01:00:00, that is, the virtual remote control of the air conditioner B to be shared is available for 1 hour on the receiving device. The user can manually modify the effective duration displayed by the "timing control 503-3" to modify the preset fixed duration to a duration that meets the current usage requirements, which will not be repeated here.
[0218] Optionally, the virtual remote control (or "target control") shared by the user from the transmitting device to the receiving device may correspond to a preset effective range. The "preset effective range" may depend on the corresponding maximum transmission distance when the infrared signal is transmitted between devices.
[0219] For example, if the maximum transmission distance from the infrared transmitter to the infrared receiver when the infrared signal is transmitted between devices is 10 meters, then the effective range corresponding to the virtual remote control (or heating control 21 and cooling control 23) of the B air conditioner to be shared generated on the mobile phone is: centered on the B air conditioner, less than or equal to 10 meters. The embodiments of the present application are not limited to this.
[0220] When the user selects the temperature increase control 21 and the temperature decrease control 23 as the "target control" according to the current usage requirements, and sets the effective time displayed in the "timing control 503-3" to 2 hours, the following can be executed: Figure 5 As shown in Figure (c), click the "Confirm" control. In response to the user's confirmation operation, the phone resumes displaying Figure 5 The main interface 504 of the smart remote control application is shown in FIG. 5 (d), and a sharing window 504 - 1 automatically pops up on the interface 504 .
[0221] Optionally, in the sharing window 504-1, the name of the file to be shared can be displayed: "B Air Conditioner Remote Control". The sharing window 504-1 can also provide the user with multiple possible sharing methods, such as Huawei Share, sharing through WLAN direct connection channel, Bluetooth sharing and sharing through mobile data.
[0222] It should be understood that in addition to the various sharing methods listed above, such as Huawei Share, the "B air conditioner remote control file" can also be sent to the receiving device through social software paths such as Weibo, WeChat, SMS, information, and email. The embodiment of the present application does not limit the sharing method of "the B air conditioner remote control file".
[0223] It should also be understood that when a user executes Figure 5In the operation shown in Figure (c) of FIG. 1, after clicking the "Confirm" control, the smart remote control application of the mobile phone can determine the information of the "target control" selected by the user, such as the information of the "heating control 21" and the information of the "cooling control 23". Specifically, the smart remote control application of the mobile phone can obtain the information of the "heating control 21" and the "cooling control 23" from the information of all controls included in Table 3, that is, part or all of the virtual remote control ID, control ID, control symbol, control code value, control protocol and other information corresponding to the "heating control 21" and "cooling control 23" listed in Table 3.
[0224] In one possible implementation, after the smart remote control application of the mobile phone obtains the information of "warming control 21" and "cooling control 23" from the information of all controls included in Table 3, it can generate "B air conditioner remote control file", or "file to be shared", according to the information of "warming control 21" and "cooling control 23", that is, the content corresponding to the aforementioned "virtual remote control to be shared".
[0225] It should be understood that Table 3 shows the information of all controls included in the virtual remote control of the B air conditioner. In the embodiment of the present application, according to the "target control" selected by the user, the generated "file of the B air conditioner remote control" only includes the information of the "target control" selected by the user to be shared. Specifically, the "file of the B air conditioner remote control" may include the ID information of the virtual remote control of the B air conditioner, part or all of the information of the control ID, control symbol, control code value, control protocol, etc. corresponding to the "heating control 21" and "cooling control 23" selected by the user, but does not include the information of other controls such as the switch control 22.
[0226] Optionally, the generated "file of B air conditioner remote controller" may also include information of the effective duration (eg, 2 hours) set by the user and / or information of the effective range. The effective duration information and the effective range information may be identified by special fields.
[0227] In one possible scenario, when the mobile phone is sharing the remote control with the receiving device, if the B air conditioner is currently in operation, then the "B air conditioner remote control file" may also include the current operating parameter information of the B air conditioner.
[0228] For example, Figure 5 As shown in Figure (c) of FIG. 1, “Current operating parameter information of air conditioner B” may include: Figure 5 The operating parameter display area 503-1 shown in Figure (c) displays the current wind speed, wind direction, sweeping, cooling mode and target temperature (24°C) of air conditioner B and other parameter information related to the operation of air conditioner B.
[0229] In another possible situation, during the process of sharing the remote control from a mobile phone to a receiving device, if the air conditioner B is currently in a non-operating state (off state), the "B air conditioner remote control file" may also include the operating parameter information that was most recently set for the air conditioner B by the user using the virtual remote control of the air conditioner B on the mobile phone, such as the wind speed, wind direction, wind sweep, cooling mode, target temperature and other parameter information set for the air conditioner B last time. This embodiment of the present application is not limited to this.
[0230] Optionally, the "file of B air conditioner remote control" may be generated in different ways, and the embodiment of the present application does not limit the type and generation process of the "file of B air conditioner remote control" to be shared.
[0231] For example, when a user shares the virtual remote control of air conditioner B in the smart remote control application of a mobile phone, the smart remote control application can create a data set corresponding to the virtual remote control of air conditioner B, and the data set includes information corresponding to all controls on the details interface of the virtual remote control of air conditioner B. For example, the data set may include all the contents listed in Table 3, and may also include information such as the identifier and file name of air conditioner B.
[0232] After the intelligent remote control application determines the information or content included in the "file of the B air conditioner remote control", the "file of the B air conditioner remote control" can be generated according to the included information or content. For example, the file can be a newly created file, and the information of the "heating control 21" and the "cooling control 23" listed above, as well as the field information corresponding to the effective time, are written into the newly created file. In addition, the newly created file can also carry the application identifier of the intelligent remote control application of the receiving device. For example, if the file suffix is .ykq, the "file of the B air conditioner remote control" can be automatically named "B air conditioner.ykq", which is not limited in the embodiments of the present application.
[0233] Continuing, suppose the user executes Figure 5 As shown in FIG. 5(d), click the "Huawei Share" option in the sharing window 504-1, and the mobile phone can further display the following Figure 5 In the interface 505 shown in FIG. (e), the window 505-1 in the interface 505 displays one or more near-field devices searched by the mobile phone, that is, other devices to which the "B air conditioner remote control file" can be sent through Huawei Share. If the device name of the mobile phone is Huawei Mate30, the one or more near-field devices searched by the mobile phone may include Mate40, MateBook, visitor mobile phone, etc.
[0234] The user can select a "receiving device" from one or more near-field devices searched according to his or her needs, thereby sending the generated "B air conditioner remote control file" to the receiving device. Figure 5 The operation shown in Figure (e) is to click the icon of the visitor's mobile phone. In response to the user's operation, the mobile phone can send the "B air conditioner remote control file" (for example: B air conditioner.ykq) to the visitor's mobile phone.
[0235] Optionally, the smart remote control application of the mobile phone can encrypt the newly created "B air conditioner remote control file" (for example: B air conditioner.ykq) and then send it to the visitor's mobile phone to improve the security of home equipment during use.
[0236] Exemplarily, the encryption key of the newly created file can be a key related to the smart remote control application. After the visitor's mobile phone at the receiving end receives the "B air conditioner remote control file" (for example: B air conditioner.ykq), it can determine that it is the file corresponding to the smart remote control application based on the application identifier of the file, and further call and run the smart remote control application of the visitor's mobile phone. The smart remote control application can decrypt, obtain and run the "B air conditioner remote control file". No further details will be given here.
[0237] In another possible implementation, the user may select some or all of the controls on the details interface of the virtual remote controller of a certain device to trigger the sharing process of the virtual remote controller of the device.
[0238] Figure 6 This is another schematic diagram of the process of sharing an air conditioner remote control on a mobile phone provided in an embodiment of the present application.
[0239] For example, Figure 6 Figure (a) in FIG. 6 shows the main interface 601 of the smart remote control application of the mobile phone, which displays the device icons and names corresponding to the virtual remote controls that have been added, such as the icon and name of TV A and the icon and name of air conditioner B. When the user wishes to share the virtual remote control of air conditioner B with the receiving device, the following can be performed: Figure 6 In the operation shown in Figure (a), click the icon of air conditioner B, or click the display area of the name "air conditioner B". In response to the user's click operation, the mobile phone can display the following Figure 6 The detail interface 602 of the virtual remote controller of air conditioner B shown in Figure (b) displays the current operating parameters of air conditioner B, such as wind speed, wind direction, wind sweep, cooling mode and target temperature, as well as all operable controls included in the virtual remote controller of air conditioner B, such as the heating control 21, the switch control 22, the cooling control 23, the working mode control 24, the wind speed control 25, the wind direction control 26 and the wind sweep control 27.
[0240] Optionally, the user can select and long press any one of all operable controls included in the details interface 602 of the virtual remote control of air conditioner B. In response to the user's long press operation, the sharing process of the virtual remote control of air conditioner B is triggered.
[0241] For example, the user can execute Figure 6 In the operation shown in Figure (b), select and long press "Cooling Control 23". When the mobile phone detects that the user's current operation is a long press operation, in response to the user's long press operation, the mobile phone can display the following Figure 6 In the interface 603 shown in FIG. (c) of FIG. 603, each control icon may correspond to a selection box, and the selection box of each control is presented as "unselected", that is, the selection box is presented as blank. The user may click the selection box corresponding to some controls according to the current needs, and the mobile phone may determine the control selected by the user as the "target control".
[0242] like Figure 6 As shown in Figure (c) of FIG. 1 , it is assumed that the user clicks and selects the selection box of the temperature increase control 21 and the selection box of the temperature decrease control 23, and sets the effective duration of the virtual remote control (or "target control") to be shared on the receiving device to 02 hours 00 minutes 00 seconds. The user then executes Figure 6 As shown in the operation in Figure (c), click the "Share" control. In response to the user's operation, the smart remote control application of the mobile phone can determine the heating control 21 and the cooling control 23 as "target controls", obtain and generate the "B air conditioner remote control file" or the "file to be shared" based on the information of the "heating control 21" and the "cooling control 23" listed in Table 3.
[0243] It should be understood that the possible implementation processes of displaying the selection box corresponding to each control on the interface 603, displaying and setting the effective time, and the possible information and content included in the "B air conditioner remote control file", the operations performed by the user, etc., please refer to Figure 5 For the sake of brevity, the relevant introduction in will not be repeated here.
[0244] After the smart remote control application of the mobile phone generates the "B air conditioner remote control file", the mobile phone can display the following Figure 6 The interface 604 shown in FIG. (d) is displayed, and a sharing window 604-1 is automatically popped up on the interface 604. Continuing, assuming that the user executes the following Figure 6 As shown in FIG. (d), click the "Huawei Share" option in the sharing window 604-1, and the mobile phone can further display the following Figure 6In the interface 605 shown in FIG. (e), the window 605-1 in the interface 605 displays one or more near-field devices searched by the mobile phone, such as Mate40, MateBook, visitor's mobile phone, etc. The user can click the icon of the visitor's mobile phone according to his or her needs. In response to the user's operation, the mobile phone can send the "B air conditioner remote control file" to the visitor's mobile phone.
[0245] The above embodiments are combined with Figure 5 and Figure 6 In the process shown, the homeowner's mobile phone is used as the sending end device, and the visitor's mobile phone is used as the receiving end device to share the "B air conditioner remote control file" including information of some or all controls with the visitor's mobile phone. Accordingly, a receiving window may pop up on the display screen of the visitor's mobile phone, and the receiving window may allow the user to choose whether to receive the "B air conditioner remote control file" sent by the mobile phone.
[0246] Figure 7 This is a schematic diagram of an example of a receiving device receiving a remote control shared by a mobile phone provided in an embodiment of the present application.
[0247] Assume that the user is Figure 5 Figure (e) or Figure 6 In the operation shown in Figure (e), the "visitor mobile phone" is selected as the "receiving device", and the visitor mobile phone also has installed the same type of smart remote control application as the sending device (mobile phone 100).
[0248] For example, when the user executes Figure 5 Figure (e) or Figure 6 In the operation shown in Figure (e), the visitor's mobile phone is selected. In response to the user's operation, the sending device (mobile phone 100) can start to call the Bluetooth module of the sending device based on Huawei Share, and send the "B air conditioner remote control file" to the receiving device through the Bluetooth channel.
[0249] In a possible implementation, after the receiving device receives the "file of B air conditioner remote controller" sent by the sending device, it can automatically pop up a window to prompt the user whether to choose to receive it. And / or, a prompt icon, text prompt information, etc. can be displayed in the status bar at the top of the display screen, and the user can view the prompt by pulling down and choose whether to receive it. And / or, the receiving device can emit a preset prompt sound such as "beep..." to prompt the user whether to choose to receive the "file of B air conditioner remote controller" sent by the sending device, which is not limited in the embodiments of the present application.
[0250] For example, after the receiving device receives the "file of B air conditioner remote controller" sent by the sending device, it can display the following information: Figure 7The interface 701 shown in FIG. (a) in FIG. 1 automatically pops up a prompt window 701-1 on the display interface of the current display screen, and the prompt window 701-1 may include a prompt message: Huawei Mate30 wants to share the remote control of air conditioner B with you, do you want to receive it? It should be understood that the display interface 701 of the current display screen of the receiving end device is not limited to the main interface of the receiving end device or the running interface of any application, etc., and the embodiment of the present application does not limit this.
[0251] like Figure 7 As shown in Figure (a), the user can click the "Receive" control. In response to the user's confirmation reception operation, the receiving device can trigger the running of the smart remote control application based on the received "B air conditioner remote control file", for example, based on the file type of the "B air conditioner remote control file" or the application package name corresponding to the file, and obtain the content included in the "B air conditioner remote control file" through the smart remote control application.
[0252] In another possible implementation, in combination with the above-mentioned related introduction, the content included in the "file of the remote controller of B air conditioner" has multiple possible situations. The receiving end device can determine the display interface that the virtual remote controller of B air conditioner may present on the display screen of the receiving end device according to the different contents included in the "file of the remote controller of B air conditioner".
[0253] Optionally, when the "file of the remote control of air conditioner B" includes the ID information of the virtual remote control of air conditioner B, part or all of the information of the control ID, control symbol, control code value, control protocol, etc. corresponding to the "heating control 21" and "cooling control 23" selected by the user, and the current operating parameter information of air conditioner B, the receiving end device can determine that the virtual remote control of air conditioner B can display the following information based on the above contents included in the obtained "file of the remote control of air conditioner B". Figure 7 Interface 702 as shown in FIG. 7( b ).
[0254] Specifically, Figure 7 As shown in Figure (b), the interface 702 is the details interface of the virtual remote control of the B air conditioner sent by the sending device, so the title of the interface 702 can be displayed as "B air conditioner of Huawei Mate30". Secondly, according to the current operating parameter information of the B air conditioner included in the obtained "B air conditioner remote control file", the parameters related to the current operation of the B air conditioner, such as wind speed, wind direction, wind sweeping, cooling mode and target temperature (24°C), can also be displayed on the interface 702. In addition, the "warming control 21" and "cooling control 23" that can receive user operations are also displayed on the interface 702, that is, the homeowner user opens the authority to control the working temperature of the B air conditioner to the receiving device.
[0255] When the user executes Figure 7As shown in Figure (b), click the "return" control, and in response to the user's return operation, the receiving device returns to display as shown in Figure (b). Figure 7 The main interface 703 of the smart remote control application is shown in Figure (c) of FIG. Assuming that the smart remote control application of the receiving device has not added any device's virtual remote control before, after receiving the "file of the remote control of air conditioner B" sent by the sending device, the virtual remote control of air conditioner B can be added to the main interface 703 of the smart remote control application, and the icon and name of the remote control of air conditioner B can be displayed.
[0256] In another possible implementation, for each electronic device, the name of the virtual remote control displayed on the smart remote control application main interface 703 of the electronic device may be different according to the different sources or different adding methods of the virtual remote control displayed on the smart remote control application main interface 703 of the electronic device.
[0257] For example, Figure 5 The interface 501 shown in (a) or Figure 6 Compared with the interface 601 shown in (a) of FIG. 501 , the “virtual remote control of TV A” and the “virtual remote control of air conditioner B” on the interface 501 or the interface 601 are both added and paired by the user on the sending end device (mobile phone 100). Figure 7 The virtual remote control displayed on the interface 703 shown in Figure (c) is shared by the sending device (mobile phone 100). Therefore, for the virtual remote control sent from other sending devices, the name can include both the source of the virtual remote control: Huawei Mate30 (sending device) and the home device that can be controlled by the virtual remote control as "B Air Conditioner", that is, "B Air Conditioner of Huawei Mate30" is displayed on the interface 703, and this embodiment of the application is not limited to this.
[0258] In another possible implementation, the "file of the remote controller of air conditioner B" received by the receiving device may also include the effective duration set by the user. Accordingly, when the receiving device receives the "file of the remote controller of air conditioner B", the virtual remote controller of air conditioner B can be used normally within the period corresponding to the effective duration, starting from the receiving time.
[0259] Optionally, the receiving device can Figure 7 Interface 702 shown in FIG. (b) and / or Figure 7 The interface 703 shown in Figure (c) in FIG. 1 displays the available effective time of the virtual remote controller of the B air conditioner, for example, in a countdown manner to remind the user of the remaining effective time, which is not limited to this embodiment of the present application.
[0260] For example, if the user sets the effective time to 2 hours, Figure 7On the interface 703 shown in FIG. 7 (c), the name display area of the virtual remote controller of the air conditioner B may also display: a countdown of the effective time, for example, [01:59:59].
[0261] In another possible implementation, the moment when the receiving device receives the "file of the B air conditioner remote control" is taken as the starting moment. When it is greater than the valid duration or exceeds the time period corresponding to the valid duration, the virtual remote control of the B air conditioner in the intelligent remote control application of the receiving device is in an invalid state.
[0262] Optionally, when the virtual remote control of air conditioner B is in an invalid state, the icon and name of the virtual remote control of air conditioner B may appear gray and unavailable on the main interface 703 of the smart remote control application of the receiving device, for example, the user cannot click on it or it does not respond to the user's click operation.
[0263] Alternatively, when the virtual remote controller of air conditioner B is in an invalid state, the icon and name of the virtual remote controller of air conditioner B are automatically deleted from the main interface 703 of the smart remote control application, which is not limited in the embodiment of the present application.
[0264] In summary, the method for sharing remote controls between devices provided by the present application can share the information of the device remote control that has been added to the intelligent remote control application of the sending device to the receiving device in a variety of possible ways; the receiving device can automatically add the device remote control to the intelligent remote control application based on the information of the received device remote control. For scenarios where multiple users want to control the same device, when the number of physical remote controls is limited or the physical remote control cannot be found, this method can send the device remote control that has been added to a user's mobile phone or other electronic device to electronic devices of different users, thereby getting rid of the dependence of the user's control of the device on the physical remote control, and providing convenience for multiple users to control the same device; at the same time, it avoids the tedious process of each user adding the device remote control to their mobile phone or other electronic devices and learning the controls, optimizes the process of different users using mobile phones or other electronic devices to control the device, meets the control needs of multiple users for the device, and improves the user experience.
[0265] In addition, in the process of sharing the target remote control, the method provided by the present application can support the user to manually select the target controls to be shared in the device remote control on the sending device. For example, according to usage requirements, the user can share only some of the controls included in the device remote control to the receiving device; accordingly, when the receiving device automatically adds the device remote control, it also only adds some of the controls of the device remote control. In other words, the user can only open the control permissions (operation permissions) corresponding to some controls to the receiving device. This method can limit the control permissions of different people to the device, avoiding security risks caused by too many people having the right to operate a certain device.
[0266] Furthermore, when sharing the target remote control, the user can set the available time of the device remote control (or target control) shared to the receiving device when selecting the target control to be shared on the sending device. This further limits the control rights of different people on the device and improves the security of the device use process.
[0267] In particular, for Figure 1 The home scene shown may include multiple home devices such as TV, air conditioner, set-top box, camera, network box, DVD, projector, etc. The homeowner can add virtual remote controllers of multiple home devices in the mobile phone smart remote control application, so that multiple home devices can be controlled with only one mobile phone. When other family members or different visitors have the need to use home devices such as TV and air conditioner, through the method provided by this application, the homeowner can share the virtual remote controllers of home devices such as TV and air conditioner added in the mobile phone smart remote control application with different people according to the different needs of different people, and can share different numbers and functions of controls included in the virtual remote controller with different people, that is, open different operation permissions for home devices such as TV and air conditioner to different people. This method simplifies the operation process, avoids the situation where multiple people use the main user's mobile phone to control multiple home devices, and meets the control needs of multiple people for multiple home devices; at the same time, the homeowner can limit the control permissions of different people to multiple home devices, improve the security of the use of home devices, and improve the user experience.
[0268] against Figure 1 The application scenario shown, combined with Figures 2 to 7 The above embodiments introduce the possible implementation process and implementation method of sharing remote controls between devices from the user interaction level. The following will introduce the underlying implementation process corresponding to the method for sharing remote controls between devices provided in the embodiments of the present application from the underlying implementation strategy level.
[0269] It should be understood that the process of sharing a remote control provided in the embodiment of the present application can occur between two different electronic devices, that is, the process of sharing a remote control can occur between a sending device and a receiving device. Therefore, the hardware structure and software structure of the sending device and the receiving device can support the process of sharing a remote control of the present application.
[0270] Below, before introducing the underlying implementation process, the hardware structure and software structure that the sending device and the receiving device of the embodiment of the present application may have are introduced.
[0271] Optionally, the transmitting device and the receiving device can be any electronic device such as a mobile phone, a tablet computer, a wearable device, a vehicle-mounted device, an augmented reality (AR) / virtual reality (VR) device, a laptop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc. The embodiment of the present application does not impose any restriction on the specific types of the transmitting device and the receiving device.
[0272] Optionally, the transmitting device and the receiving device in the embodiment of the present application may be electronic devices of the same type or electronic devices of different types.
[0273] Figure 8 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0274] It should be understood that the transmitting end device in the embodiment of the present application may include Figure 8 The electronic device 100 shown may include a partial structure or the entire structure, or may also include more other structures not shown; the receiving end device may also include Figure 8 The electronic device 100 shown may include partial or entire structures, or may include more other structures not shown, which is not limited in the embodiments of the present application.
[0275] For example, Figure 8 As shown, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, an infrared module 122, a universal serial bus (USB) interface 130, a charging 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 speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0276] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0277] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0278] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0279] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.
[0280] In the embodiment of the present application, the electronic device 100 can be used as a transmitting device or a receiving device. The processor 110 of the electronic device 100 stores a computer program or instruction corresponding to the method for sharing a remote control between devices.
[0281] Exemplarily, for the sending device, when the user runs the smart remote control application, the method of sharing the remote control between the devices stored in the processor 110 can be called through the application interface to support the user to share the virtual remote control of a device added in the smart remote control application with other devices, and can support the user to manually select some or all controls in the virtual remote control of the device. The smart remote control application then generates a remote control file to be shared based on the information of some or all controls selected by the user, the effective duration information set by the user, etc. The processor 110 can also call the device search and discovery capabilities of the electronic device 100 to search for one or more near-field devices that can receive the "remote control file", and then call a communication module such as a Bluetooth module to send the "remote control file" to a near-field device selected by the user.
[0282] For the receiving device, when the receiving device receives the "remote control file" sent by the sending device and the user confirms receiving the "remote control file", the processor 110 can detect the received "remote control file", for example, according to the file type of the "remote control file" or the application package name corresponding to the file, trigger the call and run of the smart remote control application, and obtain the content included in the "remote control file" through the smart remote control application, and control the display screen 194 to display the corresponding interface according to the content. The subsequent embodiments will specifically introduce the process of sharing the remote control between the sending device and the receiving device, which will not be repeated here.
[0283] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0284] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple groups of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through the I2C interface, so that the processor 110 communicates with the touch sensor 180K through the I2C bus interface, thereby realizing the touch function of the electronic device 100.
[0285] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to achieve communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 via the I2S interface to achieve the function of answering a call through a Bluetooth headset.
[0286] The PCM interface can also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface to realize the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0287] The UART interface is a universal serial data bus for asynchronous communication. The bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is generally used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit an audio signal to the wireless communication module 160 through the UART interface to implement the function of playing music through a Bluetooth headset.
[0288] The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193. The MIPI interface includes a camera serial interface (CSI), a display serial interface (DSI), etc. In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate via the DSI interface to implement the display function of the electronic device 100.
[0289] The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0290] The USB interface 130 is an interface that complies with the USB standard specification, and specifically can be a Mini USB interface, a Micro USB interface, a USB Type C interface, etc. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transfer data between the electronic device 100 and a peripheral device. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices, etc.
[0291] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present application is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0292] The charging management module 140 is used to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger through the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. While the charging management module 140 is charging the battery 142, it may also power the electronic device through the power management module 141.
[0293] The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the external memory, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle number, battery health status (leakage, impedance), etc. In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0294] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0295] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve the utilization of antennas. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antenna can be used in combination with a tuning switch.
[0296] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G / 6G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0297] The modem processor may include a modulator and a demodulator. Among them, the modulator is used to modulate the low-frequency baseband signal to be sent into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After the low-frequency baseband signal is processed by the baseband processor, it is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to a speaker 170A, a receiver 170B, etc.), or displays an image or video through a display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0298] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the frequency of the electromagnetic wave signal and performs filtering, and sends the processed signal to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, modulate the frequency of it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0299] In the embodiment of the present application, the transmitting device and the receiving device are two different electronic devices, both of which include a wireless communication module 160 .
[0300] Optionally, the sending device and the receiving device can be devices connected to the same Wi-Fi network, and the two devices can communicate based on the Wi-Fi link; or, a Bluetooth connection can be established between the two devices, and the two devices can communicate based on the Bluetooth channel; or, the two devices can establish a connection based on NFC technology such as tap-and-pay; or, the two devices can establish a connection based on infrared technology (infrared, IR), 2G / 3G / 4G / 5G / 6G and other wireless communication methods, and accordingly, the two devices can communicate in a corresponding manner. The embodiment of the present application does not limit the communication method between the sending device and the receiving device.
[0301] It should be understood that in an embodiment of the present application, when the user clicks the "Share" control on the sending device to trigger the process of sharing the remote control, any possible connection method between the devices listed above can enable the sending device to search for one or more near-field devices when performing a search operation, and the user can select the receiving device with which he wishes to share the remote control from one or more near-field devices.
[0302] In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150, and antenna 2 is coupled to wireless communication module 160, so that electronic device 100 can communicate with the network and other devices through wireless communication technology.
[0303] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
[0304] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.
[0305] In the embodiment of the present application, both the transmitting device and the receiving device may include a display screen 194, which may display different interface contents and receive touch operations of the user.
[0306] Exemplarily, when the display screen 194 of the sending device displays the interface of the smart remote control application, if it is detected that the user long presses the icon of a device remote control and clicks the "share" control and other operations, the touch operation can be passed to the processor 110, and the process of sharing the remote control can be entered according to the instructions of the processor 110. At the same time, the corresponding interface in the process of sharing the remote control can be displayed on the display screen 194 of the sending device, such as the control selection interface of the device remote control, the sharing method selection interface, etc.
[0307] Accordingly, after the receiving device receives the remote control file sent by the sending device, it can display the remote control file on the display screen 194. Figure 7 The prompt window 701-1 shown in FIG. (a) in FIG. 1 is displayed, and the operation performed by the user in the prompt window 701-1 is detected. When the user chooses to receive the remote control file, the receiving device can call and run the intelligent remote control application according to the remote control file, and display possible interfaces on the display screen 194, such as the detailed interface of the device remote control, etc., which will not be repeated here.
[0308] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.
[0309] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.
[0310] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to the ISP for conversion 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 other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0311] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.
[0312] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
[0313] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.
[0314] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function, such as storing music, video and other files in the external memory card.
[0315] The internal memory 121 can be used to store computer executable program codes, which include instructions. The processor 110 executes various functional applications and data processing of the electronic device 100 by running the instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc. The data storage area may store data created during the use of the electronic device 100 (such as audio data, a phone book, etc.), etc. In addition, the internal memory 121 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, a universal flash storage (UFS), etc.
[0316] In the embodiment of the present application, both the transmitting device and the receiving device may include an infrared module 122 .
[0317] Specifically, the infrared module 122 may include an infrared transmitter and an infrared receiver, wherein the infrared transmitter may be an infrared light emitting diode 122A, and the infrared receiver may be an infrared integrated receiving head 122B.
[0318] For example, when the user adds a virtual remote control for a TV in the electronic device 100, the controls included in the virtual remote control for the TV need to learn the button functions of the physical infrared remote control. For the learning process of any control, the electronic device 100 can send an infrared signal to the physical remote control through the infrared light emitting diode 122A, and can also receive an infrared response signal returned by the physical remote control through the infrared integrated receiving head 122B, thereby obtaining key values, functions and other information of the buttons of the physical remote control.
[0319] For example, a virtual remote controller for an air conditioner has been added to the intelligent remote control application of the electronic device 100. On the virtual remote controller display interface of the air conditioner on the display screen 194 of the electronic device 100, when the user clicks on the operation of each control, the electronic device 100 can generate binary coded information according to the control code value corresponding to the control. Then, an infrared signal (pulse signal) including the binary coded information is transmitted to the air conditioner through the infrared light emitting diode 122A. After receiving the infrared signal, the air conditioner can parse and obtain the operation instruction corresponding to the binary coded information included in the infrared signal, and then respond according to the operation instruction.
[0320] The electronic device 100 can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor. The audio module 170 is used to convert digital audio information into analog audio signal output, and is also used to convert analog audio input into a digital audio signal. The audio module 170 can also be used to encode and decode audio signals. In some embodiments, the audio module 170 can be arranged in the processor 110, or some functional modules of the audio module 170 can be arranged in the processor 110.
[0321] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0322] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 receives a call or voice message, the voice can be received by placing the receiver 170B close to the human ear.
[0323] The microphone 170C, also called a "microphone" or "speaker", is used to convert sound signals into electrical signals. The earphone interface 170D is used to connect a wired earphone.
[0324] The pressure sensor 180A is used to sense pressure signals and convert the pressure signals into electrical signals.
[0325] The gyro sensor 180B may be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (ie, x, y, and z axes) may be determined by the gyro sensor 180B.
[0326] The air pressure sensor 180C is used to measure air pressure.
[0327] The magnetic sensor 180D includes a Hall sensor.
[0328] The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes).
[0329] The distance sensor 180F is used to measure the distance.
[0330] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0331] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy.
[0332] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.
[0333] Optionally, in an embodiment of the present application, the touch sensor 180K can detect user operations such as touch and click, generate an operation event, and pass the operation event to the processor 110. The processor 110 determines that the operation event includes relevant parameters such as the coordinates of the touch point and the touch status, and responds according to the operation event.
[0334] The bone conduction sensor 180M can obtain a vibration signal. The button 190 includes a power button, a volume button, etc. The button 190 can be a mechanical button. It can also be a touch button. The electronic device 100 can receive a key input and generate a key signal input related to the user settings and function control of the electronic device 100. The motor 191 can generate a vibration prompt. The indicator 192 can be an indicator light, which can be used to indicate the charging status, power change, and can also be used to indicate messages, missed calls, notifications, etc.
[0335] The SIM card interface 195 is used to connect a SIM card.
[0336] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. Taking the system as an example, the software structure of the electronic device 100 is exemplified.
[0337] Fig. 9 This is a software structure block diagram of an electronic device according to an embodiment of the present application.
[0338] Optionally, the transmitting end device and the receiving end device in the embodiment of the present application may both be system, with Fig. 9 The layered architecture shown in Figure (a) may include several layers, each layer has a clear role and division of labor, and the layers communicate with each other through software interfaces.
[0339] For example, Fig. 9 As shown in Figure (a), we can The system is divided into four layers, from top to bottom: application layer, application framework layer, Android runtime ( runtime) and system libraries, as well as the kernel layer.
[0340] The application layer may include a series of application packages. For example, Fig. 9 As shown in Figure (a), the application layer may include application packages corresponding to applications such as camera, smart life, smart remote control, Bluetooth, settings, etc., which are not limited to the embodiments of the present application.
[0341] The application framework layer can provide an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.
[0342] For example, Fig. 9As shown in Figure (a), the application framework layer may include a window manager, a content provider, a view system, a notification manager, a resource manager, etc.
[0343] Among them, the window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether the screen has a status bar, or participate in the execution of operations such as locking the screen and capturing the screen. The content provider is used to store and obtain data and make the data accessible to applications. The stored data may include video data, image data, audio data, etc., and may also include call record data of dialed and received calls, user browsing history and bookmarks, etc., which will not be repeated here. The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, etc. The view system can be used to build applications. The display interface can be composed of one or more views. For example, a display interface including a text message notification icon can include a view for displaying text and a view for displaying pictures.
[0344] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on. The notification manager enables applications to display notification information in the status bar of the screen, which can be used to convey messages to users. The notification information can automatically disappear after a short stay in the status bar, without the need for the user to perform interactive processes such as closing operations. For example, the notification manager can inform users of messages such as download completion. The notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or scroll bar text, such as a notification of an application running in the background; or, the notification manager can also be a notification that appears on the screen in the form of a dialog window, such as a text message prompt in the status bar; or, the notification manager can also control the electronic device to emit a prompt sound, the vibration of the electronic device, the flashing indicator light of the electronic device, etc., which will not be repeated here.
[0345] The runtime includes the core library and the virtual machine. The runtime is responsible for scheduling and management of the Android system.
[0346] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.
[0347] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.
[0348] The system library may include multiple functional modules, such as a surface manager, a media library, a three-dimensional (3D) graphics processing library (such as OpenGL ES), a two-dimensional (2D) graphics engine, etc.
[0349] The surface manager is used to manage the display subsystem of the electronic device and provides the fusion of 2D and 3D layers for multiple applications.
[0350] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
[0351] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
[0352] A 2D graphics engine is a drawing engine for 2D drawings.
[0353] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, sensor driver, Bluetooth driver, etc.
[0354] In a possible implementation, the transmitting end device and the receiving end device in the embodiment of the present application may both have the following Fig. 9 As shown in Figure (a) System hierarchical architecture, then the method for sharing remote controls between devices provided in the embodiment of the present application can correspond to Fig. 9 Specifically, the process of sharing the remote control between the transmitting device and the receiving device may include the following three stages:
[0355] Phase 1: The process of adding and using the target remote controller on the sending device
[0356] Exemplarily, the sending end device (mobile phone 100) can be Figures 2 to 4 In the process shown, a virtual remote control for home appliances such as a TV and an air conditioner is added to the smart remote control application of the sending device (mobile phone 100). For the virtual remote control of the TV, the user can further complete the process of learning the controls of the virtual remote control and expanding the control functions through the physical remote control of the TV. After completing the control learning of the virtual remote control, the smart remote control application can establish and save the control data set of the virtual remote control of each device, so that the virtual remote control of each device can have the functions of the corresponding physical remote control, and the user can control multiple home appliances through the virtual remote control in the smart remote control of the mobile phone.
[0357] like Fig. 9 As shown in the dotted flow on the left side of Figure (b), taking the virtual remote control of the TV as an example, when the user clicks on a control of the virtual remote control of the TV, the smart remote control application of the mobile phone can obtain the control code value of the control, and drive the infrared module through the sensor to transmit an infrared signal (pulse signal) including the binary coding information of the control code value to the TV. After receiving the infrared signal, the infrared module of the TV can parse and obtain the operation instruction corresponding to the binary coding information included in the infrared signal, and then respond according to the operation instruction, thereby realizing the process of controlling the TV through the virtual remote control of the sending device.
[0358] Phase 2: The process of the sending device sharing the target remote control to the receiving device
[0359] For example, the second stage can be as follows Fig. 9 As shown in the solid line flow in the middle of Figure (b), first, the user can trigger the process of entering the virtual remote control sharing process of a certain device in the smart remote control application of the sending device; secondly, the smart remote control application generates the remote control file to be shared according to the information of the target control selected by the user, the effective duration information, etc.; finally, through the Bluetooth driver, the sending device sends the generated remote control file to the receiving device through the Bluetooth module.
[0360] Correspondingly, for the receiving device, first, the Bluetooth module receives the "remote control file"; secondly, based on the file type of the "remote control file" or the application package name corresponding to the file and other information, the smart remote control application is triggered to be called and run, and the "remote control file" is passed to the smart remote control application; finally, the smart remote control application can obtain the content included in the "remote control file" and add a virtual remote control for the device.
[0361] Phase 3: The process of using the target remote control on the receiving device
[0362] For example, the third stage can be as follows Fig. 9 As shown in the dashed flow on the right side of Figure (b), after the virtual remote controller of the device is also added to the smart remote control application of the receiving device, the user can control the device through the controls in the virtual remote controller of the device added in the smart remote control application of the receiving device. It should be understood that the implementation process of the third stage can refer to the introduction of the first stage, which will not be repeated here.
[0363] In view of the implementation process of the three stages briefly described above, the following is combined with Figure 1 The application scenario shown and the implementation process of the user interaction layer introduced above specifically explain the underlying implementation process of the three stages corresponding to the method for sharing remote controls between devices provided in the embodiment of the present application.
[0364] Fig.10 is a schematic flow chart of a method for sharing a remote control between devices provided in an embodiment of the present application. It is assumed that the transmitting device and the receiving device in the embodiment of the present application have Figure 8 and Fig. 9 The structure shown, for example, Figure 1 In the home scenario shown, the "homeowner's mobile phone 100" serves as a transmitting device, and the "visitor's mobile phone" serves as a receiving device. The three stages of the process of sharing the remote control between the aforementioned devices may correspond to different steps respectively.
[0365] like Fig.10 As shown, the method 1000 may include the following steps:
[0366] Phase 1: The process where the home user adds and uses the target remote control on the sending device
[0367] 1001, the home user adds a virtual remote controller of a target device in the intelligent remote control application of the sending device.
[0368] Optionally, the target device can be Figure 1 The home scene shown includes a smart screen 10, an air conditioner 20, a set-top box 30, and any type of device such as the user's camera, network box, DVD, projector, etc.
[0369] For example, taking a TV as the target device, the householder can use the following Figure 2 The process shown in Figures (a) to (f) in the figure is to add a virtual remote control of TV A on the main interface of the smart remote control application of mobile phone 100.
[0370] Alternatively, for example, taking the air conditioner as the target device, the householder can follow the steps below: Figure 4 The process shown in Figures (a) to (h) in the figure is to add a virtual remote control of air conditioner B on the main interface of the smart remote control application of mobile phone 100.
[0371] It should be understood that the smart remote control application can preset virtual remote controls of different types and / or styles, and match virtual remote controls of different types and / or styles for different devices, namely, "virtual remote controls of target devices" or "target remote controls".
[0372] In one possible implementation, when the home user adds a virtual remote controller, the device type can be manually selected, for example, the user selects TV and brand A, etc. The smart remote control application can match virtual remote controllers of different types and / or styles according to the device type.
[0373] In another possible implementation, the home user selects the current target device as a TV and executes Figure 2After the operation in Figure (e) in the figure, a response signal returned by the TV to the mobile phone can be received, and the response signal can carry the device information of the TV, such as brand A, model S, etc. The smart remote control application can match the virtual remote control type and / or style of the target device according to the device information of the TV.
[0374] In another possible implementation, the household user may also customize the type and / or style of the virtual remote controller for the current target device according to his / her own usage requirements, that is, customize and add one or more controls.
[0375] For example, taking a television as an example, if the household user usually only uses the volume control, channel control and power control, the household user can use Figure 2 The custom control 203-1 on the interface 203 shown in Figure (c) only adds a remote control including a volume control, a channel control and a power control to the TV, and this embodiment of the present application is not limited to this.
[0376] 1002, performing control learning through a physical remote controller of a target device.
[0377] Specifically, for any one control included in the virtual remote controller of the target device added by the homeowner user, the key information of the control corresponding to a key on the physical remote controller is obtained by learning the corresponding key on the physical remote controller of the target device.
[0378] Optionally, the “button information” of each button on the physical remote controller of the target device may include key value information, button function information, etc. of each button.
[0379] For example, the household head user can refer to Figure 3 The operations shown in Figures (a) to (c) in the figure complete the process of step 1002. Taking the learning process of the control 16 where the number "3" is located as an example, the control 16 where the number "3" of the virtual remote control of TV A is located can learn the number button 3 of the physical remote control of TV A, obtain the key value information, key function information, etc. of the number button 3 of the physical remote control, and thus establish a corresponding relationship between the control 16 where the number "3" of the virtual remote control is located and the number button 3 of the physical remote control.
[0380] It should be understood that the specific implementation process can refer to the introduction of the aforementioned related embodiments, and for the sake of simplicity, it will not be repeated here.
[0381] 1003 , the intelligent remote control application generates and saves a control data set of the virtual remote control of the target device according to the key information of the physical remote control corresponding to each control in the virtual remote control of the target device.
[0382] In a possible implementation, each of all controls of the virtual remote control of the target device can learn the corresponding button of the physical remote control, and determine the control code value of the control according to the key value of the corresponding button. After all controls of the virtual remote control of the target device are learned, the intelligent remote control application can obtain the key values of all buttons of the physical remote control, that is, the infrared coding table of the physical remote control, so as to establish and save the control data set corresponding to all controls of the virtual remote control of the target device.
[0383] Optionally, the control data set may include information such as the virtual remote control ID, control ID, control symbol, control code value, control protocol, etc. corresponding to each control of all controls of the virtual remote control. The control data set may be as shown in Table 2.
[0384] 1004 , the household user clicks any control on the details interface of the virtual remote controller of the target device of the smart remote control application.
[0385] 1005, the intelligent remote control application determines the control ID of the control, and determines the control code value of the control in combination with the stored control data set, and generates a pulse signal including an operation instruction according to the control code value of the control.
[0386] Specifically, the sending end device detects the click operation of the home user on the control, and determines the position coordinates of the control according to the click operation event. The intelligent remote control application can determine the control ID according to the position coordinates of the control, and then search the stored control data set shown in Table 2 to obtain the control code value of the control corresponding to the control ID.
[0387] It should be understood that the virtual remote control can send operating instructions to the target device via an infrared signal (pulse signal). The infrared signal (pulse signal) may include a string of binary coded information, such as at least an 8-bit address code (user code) and an 8-bit command code (control code value). The binary coded information is the operating instruction for controlling the target device.
[0388] Therefore, the intelligent remote control application obtains the "control code value" of a control in the virtual remote control and can generate an infrared signal (pulse signal) including a string of binary coded information.
[0389] 1006, the intelligent remote control application calls the infrared module of the sending device, and the infrared transmitter of the infrared module sends a pulse signal to the target device through infrared rays.
[0390] 1007, the infrared module (infrared receiver) of the target device receives the infrared ray, obtains the operation instruction in the pulse signal, and responds.
[0391] Through the above process, the homeowner user adds a virtual remote control of the target device in the smart remote control application of the mobile phone 100 (transmitting device), and after the control learning, when the user clicks any control of the virtual remote control of the target device, it can generate the same pulse signal as pressing the key of the physical remote control corresponding to the control, or generate the same operation instruction, thereby achieving the same function. In other words, the virtual remote control of the target device in the smart remote control application can have the same function as the physical remote control, and the user can control the target device through the virtual remote control in the smart remote control application.
[0392] Phase 2: The process of the sending device sharing the target remote control to the receiving device
[0393] For example, the process of the second stage may correspond to: the household head user follows the following steps: Figure 5 The process shown in Figures (a) to (e) is to long press the icon of the virtual remote control of air conditioner B on the main interface of the smart remote control application of mobile phone 100 to trigger the process of sharing the virtual remote control of air conditioner B.
[0394] Alternatively, the process of the second stage may correspond to: the household head user follows the following steps: Figure 6 For the process shown in Figures (a) to (e), on the details interface of the virtual remote control of air conditioner B on mobile phone 100, long press a control and select some or all of the controls on the interface to trigger the process of sharing the virtual remote control of air conditioner B. Please refer to the above description and will not repeat it here.
[0395] 1008, the household owner triggers the sharing process of the target remote control using the intelligent remote control application on the sending end device.
[0396] 1009 , the home user manually selects one or more controls from all controls included in the detail interface of the virtual remote controller of the target device.
[0397] 1010 , the intelligent remote control application determines one or more controls manually selected by the user as target controls.
[0398] It should be understood that the target control (one or more controls manually selected by the user) is all the controls included in the “virtual remote control to be shared”.
[0399] Specifically, in the process of sharing the target remote control, the method provided by the present application can support the user to manually select the target controls to be shared in the device remote control on the sending device. For example, the user can share only some of the controls included in the device remote control to the receiving device according to usage requirements; accordingly, when the receiving device automatically adds the device remote control, it also only adds some of the controls of the device remote control.
[0400] For example, Figure 5 As shown in Figure (c), when the selection box of each control in all the controls on the "Virtual Remote Control of Air Conditioner B" interface 407 of the mobile phone smart remote control application is displayed as "unselected", if the homeowner clicks to select the selection box of the heating control 21, the mobile phone can obtain the virtual remote control ID 02 and the control ID 001 corresponding to the heating control 21 according to the user's click operation; and further according to the virtual remote control ID and the control ID, in the stored control data set of the virtual remote control of the air conditioner B, find and determine that the control code value of the heating control 21 is 00110100.
[0401] In steps 1009-1010, it is introduced that the user can manually select one or more controls as target controls from all controls included in the details interface of the virtual remote controller of the target device. Through the above implementation, the user can only open the control authority (operation authority) corresponding to some controls to the receiving device. This method can limit the control authority of different people to the device, avoiding the potential safety hazards caused by too many people having the operation authority of a certain device.
[0402] In addition, in another possible implementation, the target control may be certain fixed controls preset in all controls included in the details interface of the virtual remote controller of the target device.
[0403] For example, Figure 5 As shown in Figure (b) in the figure, when the user clicks the "Share" option, the phone can display the following Figure 5 Optionally, the temperature increase control 21, the switch control 22, the temperature decrease control 23, the working mode control 24, the wind speed control 25, the wind direction control 26, and the wind sweep control 27 on the interface 503 are all selected, that is, all controls included in the details interface of the virtual remote control of the target device are defaulted as the target controls to be shared.
[0404] The above implementation process does not require the user to perform additional operations, and the smart remote control application can generate the remote control file to be shared in advance according to certain preset fixed controls. The operation is simple and can save time in the sharing process.
[0405] 1011. In response to the user's selection operation, the intelligent remote control application obtains information of the target control from the control data set of the virtual remote control of the stored target device, and generates a target remote control file to be shared according to the information of the target control.
[0406] It should be understood that the "target remote control file" includes information of the target control.
[0407] Optionally, the information of the target control may include: part or all of the information in the virtual remote control ID, control ID, control symbol, control code value, control protocol, etc. corresponding to each control as the target control, such as part or all of the content listed in Table 2 or Table 3, which will not be repeated here.
[0408] Exemplarily, when the target control information includes all the information of the virtual remote control ID, control ID, control symbol, control code value, and control protocol corresponding to each control as the target control, the receiving device receives the "target remote control file" and can generate and store the control data set corresponding to the target device remote control according to the target control information. If the guest user clicks on any one of the target controls on the receiving device, the receiving device can obtain the virtual remote control ID and control ID corresponding to the control clicked by the user according to the user's click operation; and further, according to the virtual remote control ID and control ID, search and determine the control code value of the control in the control data set corresponding to the target device remote control stored in itself; and further generate a pulse signal according to the infrared remote control NEC protocol, and send the pulse signal to the target device through the infrared transmitter of the receiving device.
[0409] Alternatively, illustratively, when the information of the target control only includes the virtual remote control ID and control ID corresponding to each control as the target control, after the receiving device receives the "target remote control file", it can determine the virtual remote control ID and control ID corresponding to each control of the target control in the remote control of the target device added on the receiving device according to the information of the target control. If the guest user clicks on any control in the target control on the receiving device, the receiving device can obtain the virtual remote control ID and control ID corresponding to the control clicked by the user according to the user's click operation; further, the receiving device can automatically query and obtain the control symbol, control code value, and control protocol corresponding to the control according to the virtual remote control ID and control ID of the control. For example, the receiving device can return the virtual remote control ID and control ID of the control to the sending device, and the sending device can search and determine the control code value of the control according to the control data set corresponding to the stored target device remote control; and further return the control code value of the control to the receiving device; the receiving device can generate a pulse signal according to the infrared remote control NEC protocol, and send the pulse signal to the target device through the infrared transmitter of the receiving device, which is not limited in the embodiment of the present application.
[0410] In a possible implementation, the "target remote control file" may also include information about the effective duration and / or effective range set by the user. The effective duration information and effective range information may be identified by special fields. Figure 5In the interface 503 shown in FIG. 7 (c), the user sets the timing control 503-3 to display 02:00:00, which means that the effective time for the guest user to use the virtual remote control of the target device on his mobile phone is 2 hours.
[0411] Through the above implementation method, in the process of sharing the target remote control, when the user selects the target control to be shared on the sending device, the available time of the device remote control (or target control) shared to the receiving device is set, thereby further limiting the control rights of different people over the device, thereby improving the security of the device use process.
[0412] In another possible implementation, the “target remote control file” may also include operating parameter information of the target device.
[0413] For example, Figure 5 As shown in Figure (c) in FIG. 1 , taking air conditioner B as an example, if air conditioner B is currently in operation, then the “operation parameter information of the target device” may include: Figure 5 The operating parameter display area 503-1 shown in Figure (c) displays the current wind speed, wind direction, sweeping air, cooling mode and target temperature (24°C) of air conditioner B and other parameter information related to the current operation of air conditioner B.
[0414] Alternatively, if air conditioner B is currently in a non-operating state (off state), the "operating parameter information of the target device" may include the operating parameter information of the B air conditioner that was set by the user for the last time through the virtual remote control of the B air conditioner of the receiving device that is closest to the current one, such as the wind speed, wind direction, wind sweep, cooling mode and target temperature parameter information set for the B air conditioner last time. This embodiment of the present application is not limited to this.
[0415] In another possible implementation, the "target remote control file" may also carry the application identifier of the smart remote control application of the receiving device, for example, the file suffix is .ykq. Taking B air conditioner as an example, the "target remote control file" may be automatically named "B air conditioner.ykq". The receiving device may trigger the operation of the local smart remote control application based on the file suffix, which is not limited in the embodiments of the present application.
[0416] 1012. The intelligent remote control application calls the communication module of the sending end device and sends the target remote control file to the receiving end device through the communication module.
[0417] Optionally, in an embodiment of the present application, the target remote control file can be sent to the receiving device through Huawei Share, WLAN direct channel, Bluetooth, 2G / 3G / 4G / 5G and other mobile data sharing methods, and through any possible methods such as Weibo, WeChat, SMS, information, email and other social software paths. The embodiment of the present application does not limit the method of sending the target remote control file.
[0418] 1013. When the guest device detects the target remote control file sent by the sending device, a prompt window may be displayed on the display screen of the guest device for the user to select whether to receive the target remote control file. When it is detected that the guest user performs an operation to allow reception, in response to the operation, the receiving device receives the target remote control file sent by the sending device.
[0419] 1014, the smart remote control application obtains the content of the target remote control file, displays the remote control of the target device and the target control, and adds the target device remote control in the smart remote control application.
[0420] Specifically, when the receiving device receives the target remote control file, it can trigger the running of the smart remote control application according to the file type of the target remote control file or the application package name corresponding to the file, and the smart remote control application can obtain the content included in the target remote control file.
[0421] Optionally, in combination with the above-mentioned related introduction, the content included in the "target remote control file" has multiple possible situations. The receiving device can determine the display interface that the virtual remote control of the target device may present on the display screen of the receiving device according to the different contents included in the "target remote control file".
[0422] In one possible implementation, the intelligent remote control application can display the details interface of the virtual remote control of the target device on the display screen of the receiving device based on the information of the target control included in the target remote control file, and only include the target control, that is, one or more controls manually selected by the user in step 1009.
[0423] In a possible implementation, for devices such as air conditioners, the intelligent remote control application can be based on the current operating parameter information of the target device included in the target remote control file, such as Figure 7 As shown in Figure (b) in FIG. 1 , the display screen of the receiving device also displays parameters related to the current operation of air conditioner B, such as wind speed, wind direction, wind sweeping, cooling mode and target temperature (24°C).
[0424] Phase 3: The process of using the target remote control in the smart remote control application of the receiving device
[0425] 1015, the guest user clicks on a first control on the details interface of the virtual remote controller of the target device of the smart remote control application, where the first control is any one of the controls included in the aforementioned “target control”.
[0426] 1016, the intelligent remote control application determines the control ID of the first control, and determines the control code value of the first control in combination with the control information received in the target remote control file, and generates a pulse signal including a first operation instruction according to the control code value of the first control.
[0427] It should be understood that the receiving device detects the click operation of the visitor user on the first control, and determines the position coordinates of the first control according to the click operation event. The intelligent remote control application can determine the first control ID according to the position coordinates of the first control, and then automatically search for the control information in the target remote control file, obtain the control code value of the first control, and generate a pulse signal including the corresponding binary encoding information (i.e., the first operation instruction) according to the control code value of the first control.
[0428] In a possible implementation, when the "target control information" in the "target remote control file" received by the receiving device includes all the information of the virtual remote control ID, control ID, control symbol, control code value, and control protocol corresponding to each control as the target control, the receiving device can generate and store the control data set corresponding to the target device remote control according to the target control information. Therefore, the above-mentioned process of "automatically searching" and "obtaining the control code value of the first control" by the receiving device can be to automatically search according to the control data set corresponding to the target device remote control stored in itself, and obtain the control code value of the first control.
[0429] For example, if a guest user clicks on any one of the target controls on the receiving device, the receiving device can obtain the virtual remote control ID and control ID corresponding to the control clicked by the user based on the user's click operation; and further search and determine the control code value of the control in the control data set corresponding to the target device remote control stored in itself based on the virtual remote control ID and control ID; and further generate a pulse signal according to the infrared remote control NEC protocol, and send the pulse signal to the target device through the infrared transmitter of the receiving device.
[0430] In another possible implementation, when the "target control information" in the "target remote control file" received by the receiving device includes partial information of each control as the target control, for example, only includes the virtual remote control ID and control ID corresponding to each control, after the receiving device receives the "target remote control file", it can determine the virtual remote control ID and control ID corresponding to each control of the target control in the target device remote control added on the receiving device based on the target control information. The receiving device determines the virtual remote control ID and control ID of a control clicked by the user, and can return the virtual remote control ID and control ID of the control to the sending device. Therefore, the above-mentioned process of "automatically searching" and "obtaining the control code value of the first control" by the receiving device can be: requesting the sending device to obtain the control code value of the first control, which is not limited in the embodiments of the present application.
[0431] For example, if a visitor user clicks on any one of the target controls on the receiving device, the receiving device can obtain the virtual remote control ID and control ID corresponding to the control clicked by the user based on the user's click operation; further, the receiving device can automatically return the virtual remote control ID and control ID of the control to the sending device based on the virtual remote control ID and control ID of the control, and the sending device searches and determines the control code value of the control based on the control data set corresponding to the stored target device remote control; the sending device then returns the control code value of the control to the receiving device; the receiving device can then generate a pulse signal according to the infrared remote control NEC protocol, and send the pulse signal to the target device through the infrared transmitter of the receiving device, and the embodiments of the present application are not limited to this.
[0432] 1017, the intelligent remote control application of the receiving device calls the infrared module of the receiving device, and the infrared transmitter of the infrared module sends a pulse signal including the first operation instruction to the target device through infrared rays.
[0433] 1018, the infrared module (infrared receiver) of the target device receives the infrared ray, obtains the first operation instruction in the pulse signal, and responds.
[0434] Through the method for sharing remote controls between devices provided in the present application, one or more device remote controls that have been added in the intelligent remote control application of the sending device generate a "target remote control file" to be shared based on the information of any device remote control, and the "target remote control file" to be shared can be shared with the receiving device in a variety of possible ways; accordingly, the guest user only needs to execute the operation of allowing the reception of the target remote control file sent by the sending device, and the virtual remote control of the target device can be automatically added to the intelligent remote control application of his own mobile phone (receiving device), and the automatically added virtual remote control of the target device can support the guest user to control the target device through the virtual remote control of his own mobile phone.
[0435] In addition, for scenarios where multiple users want to control the same device, when the number of physical remote controls is limited or the physical remote control cannot be found, the method can send the device remote control that has been added to a user's mobile phone or other electronic device to electronic devices of different users respectively, thereby eliminating the dependence of the user's control of the device on the physical remote control and providing convenience for multiple users to control the same device.
[0436] At the same time, the above method can also avoid the tedious process of each user having to add the device remote control to their mobile phone or other electronic devices and learning the controls, thereby optimizing the process of different users using mobile phones and other electronic devices to control the device, meeting the control needs of multiple users for the device, and improving the user experience.
[0437] It should be noted that, in the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0438] It should be understood that the methods, situations, categories and divisions of the embodiments in the present application are only for the convenience of description and should not constitute special limitations. The features of various methods, categories, situations and embodiments can be combined without contradiction.
[0439] It should also be understood that the terms "first", "second" and "third" in the embodiments of the present application are only for distinction and should not constitute any limitation to the present application. For example, the "first operation", "second operation" and the like in the embodiments of the present application represent different operations performed by a user on the touch screen of an electronic device.
[0440] It should also be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0441] It should also be noted that in the embodiments of the present application, "preset", "fixed value", etc. can be implemented by pre-saving corresponding codes, tables or other methods that can be used to indicate relevant information in electronic devices (such as transmitting devices and receiving devices, etc.). This application does not limit its specific implementation method, such as the "preset remote control", "preset fixed time length", "preset effective range", etc. in the embodiments of the present application.
[0442] It is understandable that, in order to realize the above functions, the electronic device includes hardware and / or software modules corresponding to the execution of each function. In combination with the algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in combination with the embodiments, but such implementation should not be considered to be beyond the scope of the present application.
[0443] In this embodiment, the electronic device can be divided into functional modules according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0444] In the case of dividing each functional module according to each function, a possible composition diagram of the electronic device involved in the above embodiment, the electronic device may include: a display unit, a detection unit and a processing unit. The display unit, the detection unit and the processing unit cooperate with each other to support the electronic device to perform the above steps, etc., and / or other processes of the technology described in this article.
[0445] It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module and will not be repeated here.
[0446] The electronic device provided in this embodiment is used to execute the above-mentioned video playback method, and thus can achieve the same effect as the above-mentioned implementation method.
[0447] In the case of using integrated units, the electronic device may include a processing module, a storage module and a communication module. Among them, the processing module can be used to control and manage the actions of the electronic device, for example, it can be used to support the electronic device to execute the steps performed by the above-mentioned display unit, detection unit and processing unit. The storage module can be used to support the electronic device to execute stored program codes and data, etc. The communication module can be used to support the communication between the electronic device and other devices.
[0448] Among them, the processing module can be a processor or a controller. It can implement or execute various exemplary logic boxes, modules and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a device that interacts with other electronic devices, such as a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, etc.
[0449] In one embodiment, when the processing module is a processor and the storage module is a memory, the electronic device involved in this embodiment may be a Figure 8 Device of the structure shown.
[0450] This embodiment also provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on an electronic device, the electronic device executes the above-mentioned related method steps to implement the method of sharing a remote control in the above-mentioned embodiment.
[0451] This embodiment also provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the above-mentioned related steps to implement the method for sharing a remote control in the above-mentioned embodiment.
[0452] In addition, an embodiment of the present application also provides a device, which can specifically be a chip, component or module, and the device may include a connected processor and memory; wherein the memory is used to store computer-executable instructions, and when the device is running, the processor can execute the computer-executable instructions stored in the memory so that the chip executes the method of sharing the remote control in the above-mentioned method embodiments.
[0453] Among them, the electronic device, computer-readable storage medium, computer program product or chip provided in this embodiment are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding methods provided above and will not be repeated here.
[0454] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0455] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0456] The units described as separate components may or may not be physically separated, and the components shown as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0457] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0458] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program code.
[0459] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for sharing a remote control between devices, characterized in that: Applied to a sending end device including a display screen, the sending end device having a first application installed thereon, the method comprising: Displaying a main interface of the first application, where the main interface of the first application includes one or more icons of remote controls; On the main interface of the first application, detecting a first operation of the user, and in response to the first operation, displaying a detail interface of a target remote control, wherein the target remote control is any one of the one or more remote controls, the target remote control can control the working state of the target device, and the detail interface of the target remote control includes one or more controls; Determine a target control to be shared from the one or more controls included in the details interface of the target remote controller; Acquire information of the target control to be shared; Generate a target remote control file to be shared according to the information of the target control; Displaying a sharing interface of the target remote control file, where the sharing interface of the target remote control file includes one or more sharing methods; On the target remote control file sharing interface, detecting a second operation of the user, determining a target sharing method of the target remote control file from the one or more sharing methods in response to the second operation, and displaying one or more electronic devices on the target remote control file sharing interface, each of the one or more electronic devices being capable of receiving the target remote control file sent by the sending end device based on the target sharing method; On the sharing interface of the target remote control file, detecting a third operation of the user, and determining a receiving end device from the one or more electronic devices in response to the third operation; The sending end device sends the target remote control file to the receiving end device through the target sharing method; The target control is a fixed control preset in the one or more controls included in the detail interface of the target remote controller; The transmitting end device stores a control data set corresponding to the target remote control, the control data set including information of each of the one or more controls on the details interface of the target remote control, and the acquiring information of the target control to be shared includes: According to the target control to be shared, the information of the target control is searched and obtained from the control data set, and the information of the target control includes one or more information of the remote control identification ID, control identification ID, control symbol, control code value or control protocol of each control that is the target control.
2. The method according to claim 1, characterized in that The target control is part or all of the one or more controls included in the detail interface of the target remote controller.
3. The method according to claim 1 or 2, characterized in that: The first operation includes a plurality of continuous operations performed by a user, and detecting the first operation of the user on the main interface of the first application, and displaying a detail interface of the target remote controller in response to the first operation, includes: On the main interface of the first application, detecting a long press operation of the user on the icon of the target remote controller, and in response to the long press operation, displaying one or more operation options for the target remote controller, wherein the one or more operation options include a sharing option; When a click operation of the user on the sharing option is detected, the detail interface of the target remote control is displayed, and on the detail interface of the target remote control, a unique corresponding selection box is displayed for each of the one or more controls.
4. The method according to claim 3, characterized in that The step of determining a target control to be shared from the one or more controls included in the detail interface of the target remote controller includes: On the details interface of the target remote control, detecting an operation of a user clicking a selection box of each control in some or all of the one or more controls, and determining the control corresponding to each selection box selected by the user as the target control; or, When the details interface of the target remote control also includes a confirmation control, on the details interface of the target remote control, an operation of the user clicking on the selection box of each control among some or all of the one or more controls and continuing to click the confirmation control is detected, and in response to the user clicking the confirmation control, the control corresponding to each selection box selected by the user is determined as the target control.
5. The method according to claim 1 or 2, characterized in that: The first operation is a click operation of the user on an icon of the target remote controller.
6. The method according to claim 5, characterized in that The step of determining a target control to be shared from the one or more controls included in the detail interface of the target remote controller includes: On the details interface of the target remote control, detecting a long press operation of a user on any one of the one or more controls, and in response to the long press operation, displaying a unique corresponding selection box for each of the one or more controls on the details interface of the target remote control; Detecting an operation of a user clicking on a selection box of each of some or all of the one or more controls, and in response to the operation, determining the target control as the control corresponding to each selection box selected by the user; or, when the details interface of the target remote control also includes a confirmation control, detecting an operation of a user clicking on a selection box of each of some or all of the one or more controls and continuing to click the confirmation control, and in response to the user clicking on the confirmation control, determining the target control as the control corresponding to each selection box selected by the user.
7. The method according to claim 1 or 2, characterized in that: When a unique corresponding selection box is displayed for each of the one or more controls on the details interface of the target remote control, the details interface of the target remote control may further include a timing control, in which an effective duration is displayed, and the effective duration is used to indicate an available duration of the target control to be shared on the receiving device, and the method further includes: Obtaining information about the effective duration displayed in the timing control; And, generating a target remote control file to be shared according to the information of the target control includes: A target remote control file to be shared is generated according to the information of the target control and the information of the effective duration, wherein the effective duration is a preset duration, or a duration set by a user in the timing control.
8. The method according to claim 1 or 2, characterized in that: The target sharing method includes a Huawei sharing method, a WLAN direct channel sharing method, a Bluetooth sharing method, a mobile data sharing method, or any one of a plurality of social software sharing methods.
9. The method according to claim 1 or 2, characterized in that: The target remote control file to be shared may also carry the identifier of the first application.
10. A method for sharing a remote control between devices, characterized in that: Applied to a receiving end device including a display screen, the receiving end device having a first application installed thereon, the method comprising: When a target remote control file sent by a transmitting device is detected, a prompt window is displayed on the display screen, wherein the prompt window is used to prompt a user to select whether to receive the target remote control file; In the prompt window, when detecting that the user allows the target remote control file to be received, receiving the target remote control file; According to the received target remote control file, calling the first application, parsing the target remote control file by the first application, and acquiring information of a target control included in the target remote control file, wherein the target control can be used to control the working state of the target device, the target control includes one or more controls, the information of the target control includes information of each of the one or more controls, and the information of each control corresponds to key information of a preset key on a physical remote control of the target device; According to the information of the target control, run the first application and display a detail interface of the target remote control, where the detail interface of the target remote control includes the one or more controls of the target control; On the details interface of the target remote control, detecting a click operation of a user on a first control, where the first control is any one of the one or more controls included in the target control; In response to the click operation, obtaining the first control identification ID; Acquire a control code value of the first control according to the first control identification ID and the information of the target control included in the target remote control file; Generate a pulse signal including a first operation instruction according to the control code value of the first control; Sending the pulse signal to the target device to control the working state of the target device; The information of each of the one or more controls includes one or more information of a remote control identification ID, a control identification ID, a control symbol, a control code value or a control protocol.
11. The method according to claim 10, characterized in that The method further comprises: Adding an icon and a name of the target remote control on the main interface of the first application according to the received target remote control file; detecting a user's click operation on the icon of the target remote controller or the name of the target remote controller, and displaying a detail interface of the target remote controller in response to the click operation; or, Adding an icon of the target remote control on the main interface of the first application according to the received target remote control file; detecting a user's click operation on the icon of the target remote controller, and displaying a detail interface of the target remote controller in response to the click operation; or, Adding the name of the target remote control on the main interface of the first application according to the received target remote control file; A click operation of a user on the name of the target remote controller is detected, and in response to the click operation, a detail interface of the target remote controller is displayed.
12. The method according to claim 10 or 11, characterized in that: The target remote control file also includes information about the effective duration, where the effective duration is used to indicate the available duration of the target control on the receiving end device. The method also includes: Obtaining information about the effective duration; The time when the receiving end device receives the target remote control file is taken as the starting time, and the ending time is determined according to the effective time length; At any time within the period determined from the start time to the end time, the user can control the working state of the target device through the target control; At any time after the termination time, the target control is in an invalid state, or at the termination time, the icon of the target remote control and / or the name of the target remote control added to the main interface of the first application is automatically deleted.
13. The method according to claim 10 or 11, characterized in that: The target remote control file may further carry an identifier of the first application, and calling the first application according to the received target remote control file includes: According to the identifier of the first application carried in the target remote control file, it is determined to call the first application, and the target remote control file is sent to the first application.
14. An electronic device, characterized in that: include: Display screen; An infrared module, comprising an infrared transmitter and an infrared receiver; one or more processors; one or more memories; Modules with multiple applications installed; The memory stores one or more programs, and when the one or more programs are executed by the processor, the electronic device executes the method executed by the sending device as described in any one of claims 1 to 9, or the electronic device executes the method executed by the receiving device as described in any one of claims 10 to 13.
15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1 to 13.
