Terminal and equipment binding method

By obtaining and displaying screenshots of TVs, the problem of users in the AIoT system being difficult to accurately match and bind multiple TVs is solved, the operation process is simplified, and the binding efficiency and accuracy are improved.

CN118828075AActive Publication Date: 2024-10-22JUHAOKAN TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202311019070.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-08-14
Publication Date
2024-10-22
Estimated Expiration
2043-08-14

AI Technical Summary

Technical Problem

In the AIoT system, it is difficult for users to accurately match and bind target TVs among multiple TVs. The existing technical operation is cumbersome and time-consuming. Especially when the names displayed in the TV list are all the same, users cannot intuitively distinguish TV names, resulting in repeated The problem of binding and unbinding.

Method used

By obtaining the screenshot of the selected device and displaying it to the user, the operation process is simplified. Using the screenshot request and the server to upload the screen image, the user can determine whether to bind the correct device based on the image, simplifying the binding process.

Benefits of technology

It improves users' ability to accurately bind target TVs among multiple TVs, simplifies the operation process, saves users' time and energy, and avoids the process of repeated binding and unbinding.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118828075A_ABST
    Figure CN118828075A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a terminal and equipment binding method, and the method comprises the steps: responding to an instruction of adding equipment input by a user, and controlling a display to display a discovered equipment list; in response to an instruction input by a user for selecting a first equipment control, if the first equipment is display equipment, controlling a display to display a binding guide page, and obtaining the number of target controls in the discovery equipment list; if the number is greater than 1, sending a screen capture request to the first equipment; obtaining the screen picture from the server and displaying the screen picture in a screen capture display window; and if a binding confirmation operation input by the user is received, binding the first equipment with the user account. According to the embodiment of the invention, after the equipment selected by the user is determined to be the display equipment and the number of the found display equipment is greater than 1, the screenshot picture of the selected equipment is acquired and displayed to the user, so that the user can quickly and accurately find the target equipment and bind the target equipment, the operation process is simplified, and the time of the user is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a terminal and device binding method. Background Art

[0002] In the AIoT (Artificial Intelligence & Internet of Things) system, the TV is the central manager of the home, and the operation process of accessing the AIoT system requires high accuracy to improve the user experience. When the TV and the mobile phone are connected to the same network, the mobile application can discover all TVs in the same local area network through the DLNA (Digital Living Network Alliance) service, and the user can select the target TV to bind with the mobile phone.

[0003] However, as people's living standards improve, many families have more than one TV, and there are multiple TVs in TV stores or showrooms. The mobile application may also discover multiple TVs. The name of each TV is likely to use the default TV name, such as "Smart TV" or "Living Room TV". Even if the names of multiple TVs are different, users cannot intuitively match the TV name with the actual TV.

[0004] When a user finds a TV through a mobile app and wants to bind it, although the names of the TVs are not the same, the target TV cannot be correctly distinguished from the TV list displayed by the app. The user can use the remote control to control the target TV and enter the setting information to view the corresponding TV name, so that the user can select the target TV in the TV list. However, the query path is deep, the operation is not easy, and it takes time for the user. If the names displayed in the TV list are the same, the user selects the TVs in the TV list one by one for home binding and determines whether to bind the target TV by checking whether the device card can control the target TV after the binding is completed. However, this process may involve repeated binding and unbinding of TV devices, and it is impossible to accurately bind the target TV. The operation is cumbersome and time-consuming. Summary of the invention

[0005] Some embodiments of the present application provide a terminal and device binding method. After determining that the device selected by the user is a display device and the number of display devices found is greater than 1, a screenshot of the selected device is obtained and displayed to the user, so that the user can quickly and accurately find the target device and bind it, simplifying the operation process and saving user time.

[0006] In a first aspect, some embodiments of the present application provide a terminal, including:

[0007] monitor;

[0008] The controller is configured as:

[0009] After logging into the user account, in response to a user inputting an instruction to add a device, controlling the display to display a list of discovered devices, the list of discovered devices including at least one device control;

[0010] In response to a user input of an instruction to select a first device control among the at least one device control, if the first device corresponding to the first device control is a display device, controlling the display to display a binding guide page, and obtaining the number of target controls in the discovered device list, the binding guide page including a screenshot display window, the target control being a control of a device corresponding to the device control being a display device;

[0011] If the number is greater than 1, sending a screenshot request to the first device, so that the first device captures a screen image based on the screenshot request and uploads the screen image to a server;

[0012] Acquire the screen image from the server and display the screen image in the screenshot display window;

[0013] If a confirmation binding operation input by the user is received, the first device is bound to the user account so that the user can control the first device through the terminal.

[0014] In some embodiments, the controller executes sending a screenshot request to the first device so that the first device captures a screen image based on the screenshot request and uploads the screen image to a server, and is further configured to:

[0015] If the second device corresponding to the second device control in the at least one device control has the same IP as the first device, a screenshot request is sent to the server, so that the server sends the screenshot request to the first device based on the device identifier and receives the screenshot data uploaded by the first device after capturing the screen image based on the screenshot request, the screenshot request includes the device identifier and the image identifier, and the screenshot data includes the screen image and the image identifier.

[0016] In some embodiments, the controller executes sending a screenshot request to the first device so that the first device captures a screen image based on the screenshot request and uploads the screen image to a server, and is further configured to:

[0017] If the second device corresponding to the second device control in the at least one device control has an IP different from that of the first device, a screenshot request is sent to the first device based on the IP of the first device, so that the first device captures a screenshot image based on the screenshot request and uploads the screenshot data, the screenshot request includes an image identifier, and the screenshot data includes a screen image and an image identifier.

[0018] In some embodiments, the controller executes obtaining the screen image from the server and is configured to:

[0019] Sending a picture request to a server, wherein the picture request includes a picture identifier;

[0020] Receive the screen image sent by the server based on the image identifier.

[0021] In some embodiments, the controller is configured to:

[0022] If the number is not greater than 1, the placeholder identifier of the screenshot display window is set to a preset value so that the screenshot display window is not displayed on the binding guide page.

[0023] In some embodiments, the screenshot request includes a preset instruction, and the preset instruction is used to instruct the first device to execute a preset operation corresponding to the preset instruction, and the preset operation is used to change the user interface of the display device.

[0024] In some embodiments, if the controller receives a confirmation binding operation from the user, the controller binds the first device to the user account and is further configured to:

[0025] If it is detected that the user account logged in to the first device is the same as the user account logged in to the terminal, displaying a binding control on the binding guide page;

[0026] If an instruction of selecting the binding control is received from the user, the first device is bound to the user account logged in by the terminal.

[0027] In some embodiments, the controller is configured to:

[0028] If it is detected that the first device has not logged in to the user account, a first guide frame is displayed on the binding guide page, the first guide frame includes guide information, and the guide information is used to guide the user to log in to the user account logged in by the terminal on the first device.

[0029] In some embodiments, the controller is configured to:

[0030] If it is detected that the user account logged in by the first device is different from the user account logged in by the terminal, a second guide box is displayed on the binding guide page, and the second guide box includes adding a home control and rebinding a control;

[0031] If an instruction is received from the user to select to join the family control, the user account logged in at the terminal is added to the family of the user account logged in at the first device, so that the user account logged in at the terminal establishes a connection relationship with the first device;

[0032] If a user input is received to select rebinding the control, a first guide frame is displayed on the binding guide page.

[0033] In a second aspect, some embodiments of the present application provide a device binding method, including:

[0034] After logging into the user account, in response to a user inputting an instruction to add a device, controlling the display to display a list of discovered devices, the list of discovered devices including at least one device control;

[0035] In response to a user input of an instruction to select a first device control among the at least one device control, if the first device corresponding to the first device control is a display device, controlling the display to display a binding guide page, and obtaining the number of target controls in the discovered device list, the binding guide page including a screenshot display window, the target control being a control of a device corresponding to the device control being a display device;

[0036] If the number is greater than 1, sending a screenshot request to the first device, so that the first device captures a screen image based on the screenshot request and uploads the screen image to a server;

[0037] Acquire the screen image from the server and display the screen image in the screenshot display window;

[0038] If a confirmation binding operation input by the user is received, the first device is bound to the user account so that the user can control the first device through the terminal.

[0039] Some embodiments of the present application provide a terminal and device binding method. After logging in to a user account and receiving a user input instruction to add a device, a list of discovered devices is displayed, and the list of discovered devices includes at least one device control, and the device control refers to the control corresponding to the terminal discovery device. After receiving a user input instruction to select the first device control in the at least one device control, if the first device corresponding to the first device control is a display device, a binding guide page is displayed, and the number of display devices in the discovered device list is obtained, and the binding guide page includes a screenshot display window; if the number of display devices is greater than 1, a screenshot request is sent to the first device, so that the first device captures a screen image based on the screenshot request and uploads the screen image to the server; the screen image is obtained from the server and displayed in the screenshot display window; after receiving the user's input confirmation binding operation after determining that the device is to be bound according to the screen image, the first device is bound to the user account, so that the user can control the first device through the terminal. The embodiment of the present application is applied to the scenario of binding the user account logged in by the terminal to the device. After determining that the device selected by the user is a display device and the number of discovered display devices is greater than 1, a screenshot of the selected device is obtained and displayed to the user, so that the user can quickly and accurately find the target device and bind it, simplifying the operation process and saving user time. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 A flow chart of a device binding method provided according to some embodiments is shown;

[0041] Figure 2 A schematic diagram of displaying a list of discovered devices provided according to some embodiments is shown;

[0042] Figure 3 A schematic diagram of a home page of an application provided according to some embodiments is shown;

[0043] Figure 4 A schematic diagram of a discovered device list provided according to some embodiments is shown;

[0044] Figure 5 A schematic diagram of a cross-network screenshot method provided according to some embodiments is shown;

[0045] Figure 6 A schematic diagram of a method for taking screenshots on the same network is shown according to some embodiments;

[0046] Figure 7 A schematic diagram of a display device user interface provided according to some embodiments is shown;

[0047] Figure 8 A schematic diagram showing another display device user interface provided according to some embodiments;

[0048] Fig. 9 A schematic diagram of a binding pop-up reminder box provided according to some embodiments is shown;

[0049] Fig.10 A schematic diagram of a screenshot animation provided according to some embodiments is shown;

[0050] Fig.11 A timing diagram of a cross-network screenshot method provided according to some embodiments is shown;

[0051] Fig.12 A timing diagram of a same-network screenshot method provided according to some embodiments is shown;

[0052] Fig.13 A schematic diagram of a first binding guide page provided according to some embodiments is shown;

[0053] Fig.14 A schematic diagram of a second binding guide page provided according to some embodiments is shown;

[0054] Fig.15 A schematic diagram of a successful connection interface provided according to some embodiments is shown;

[0055] Fig.16 A schematic diagram showing a home page of another application provided according to some embodiments;

[0056] Fig.17 A schematic diagram of a third binding guide page provided according to some embodiments is shown;

[0057] Fig.18 A schematic diagram of a fourth binding guide page provided according to some embodiments is shown;

[0058] Fig.19 A schematic diagram of a fifth binding guide page provided according to some embodiments is shown;

[0059] Fig. 20 A timing diagram of a device binding method provided according to some embodiments is shown. DETAILED DESCRIPTION

[0060] In order to make the purpose and implementation method of the present application clearer, the exemplary implementation method of the present application will be clearly and completely described below in conjunction with the drawings in the exemplary embodiments of the present application. Obviously, the described exemplary embodiments are only part of the embodiments of the present application, rather than all the embodiments.

[0061] It should be noted that the brief description of terms in this application is only for the convenience of understanding the embodiments described below, and is not intended to limit the embodiments of this application. Unless otherwise specified, these terms should be understood according to their ordinary and common meanings.

[0062] The terms "first" and "second" in the specification and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean to limit a specific order or sequence, unless otherwise noted. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances.

[0063] The terms "comprises" and any variations thereof are intended to cover but not exclude inclusions, for example, a product or device comprising a list of components is not necessarily limited to all the components expressly listed but may include other components not expressly listed or inherent to such products or devices.

[0064] The terminal provided in the embodiments of the present application may have various implementation forms, for example, it may be a display device and a smart device, etc. Among them, the smart device includes a mobile terminal, a tablet computer, a computer, a laptop computer, etc.

[0065] The display device provided in the embodiments of the present application may have various implementation forms, for example, it may be a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc.

[0066] In the AIoT (Artificial Intelligence & Internet of Things) system, the TV is the central manager of the family, and the operation process of accessing the AIoT system requires high accuracy to improve the user experience. When the TV and the mobile phone are connected to the same network, the mobile application can discover all TVs in the same local area network through the DLNA (Digital Living Network Alliance) service, and the user can select the target TV to bind to the mobile phone. However, as people's living standards improve, many families have more than one TV, and there are multiple TVs in TV stores or showrooms. There may also be multiple TVs discovered by mobile applications. The name of each TV is likely to use the default TV name, such as "smart TV" or "living room TV". Even if the names of multiple TVs are different, users cannot intuitively match the TV name with the actual TV.

[0067] When a user finds a TV through a mobile app and wants to bind it, although the names of the TVs are not the same, the target TV cannot be correctly distinguished from the TV list displayed by the app. The user can use the remote control to control the target TV and enter the setting information to view the corresponding TV name, so that the user can select the target TV in the TV list. However, the query path is deep, the operation is not easy, and it takes time for the user. If the names displayed in the TV list are the same, the user selects the TVs in the TV list one by one for home binding and determines whether to bind the target TV by checking whether the device card can control the target TV after the binding is completed. However, this process may involve repeated binding and unbinding of TV devices, and it is impossible to accurately bind the target TV. The operation is cumbersome and time-consuming.

[0068] In order to solve the above technical problems, the embodiments of the present application further improve some functions of the terminal. Figure 1 As shown, the controller performs the following steps:

[0069] Step S101: after logging into a user account, in response to a user inputting an instruction to add a device, controlling the display to display a list of discovered devices, wherein the list of discovered devices includes at least one device control;

[0070] In some embodiments, receiving a user input instruction to open an application, controlling the display to display a home page of the application, the home page including an add device control and an account display area;

[0071] If historical account login information or locally saved account login information is detected, the user account is logged in according to the account login information and the account information is displayed in the account display area;

[0072] Receive an instruction input by a user to select an add device control, and control the display to display a list of discovered devices.

[0073] If no historical account login information or saved account login information is detected, the account display area will display the non-logged in information;

[0074] Receive an instruction input by a user to select adding a device control, and control the display to display a user login interface.

[0075] After receiving the login information input by the user, such as the account number and password, and verifying it successfully, the display is controlled to display the discovered device list.

[0076] Among them, the list of discovered devices shows all white appliances and display devices that can be found nearby, such as LAN white appliances, Bluetooth white appliances, and LAN display devices. White appliances (white household appliances) refer to electrical products that can replace people's housework, mainly including washing machines, some kitchen appliances, and improve the living environment and improve the material living standards, such as air conditioners, refrigerators, etc.

[0077] like Figure 2 As shown, white appliances can be discovered through LAN private protocols and Bluetooth private protocols. Display devices, such as TVs, can be discovered through LAN DLNA protocols. After discovering a device, it is necessary to notify the update of the discovered device list, filter the bound devices, and then display the discovered device list.

[0078] In some embodiments, the step of controlling the display to display the discovered device list includes:

[0079] Get the device ID of the discovered device and the device ID of the bound device;

[0080] The device ID is the unique ID of each display device, and the last eight digits of the device ID are the wired MAC address (Media Access Control Address, also known as physical address or hardware address) or wireless MAC address of the display device. For example, the device ID of the display device is 8610030090000370000007127d00a247, and 7d00a247 is the corresponding MAC address.

[0081] The device information of the discovered device is obtained through the service and protocol used by the discovered device, and the device information includes the device identification. The bound device identification can be directly obtained from the local or server through the user account.

[0082] Determine whether the device ID of the discovered device is the same as the device ID of the bound device;

[0083] If the device ID of the discovered device is different from the device ID of the bound device, the device control corresponding to the discovered device is displayed in the discovered device list. The device control is named by the discovered device name + a field in the device ID, such as the last four digits of the device ID. For example, the name of the device control is Smart TV (a247).

[0084] If the device ID of the discovered device is the same as the device ID of the bound device, there is no need to display the device control corresponding to the discovered device in the discovered device list.

[0085] All discovered devices are screened to filter out bound devices to avoid invalid operations such as users repeatedly binding bound devices.

[0086] For example, the home page of the application is as follows: Figure 3As shown, the home page includes an account display area 31 and a bound device area 32. The bound device area includes an add device control 321. The user account has bound a device. The bound device area 32 also includes a device card 322 corresponding to the bound device. The user can control the bound device through the device card. When the user account is logged in, the account display area 31 displays the logged in user account information; when the user account is not logged in, the account display area 31 displays the unlogged in information. Figure 3 This is the case of a logged in user account. When receiving the user's command to add a device control, the following is displayed: Figure 4 The list of discovered devices shown. The list of discovered devices includes three living room TV controls and one smart air conditioner control.

[0087] Step S102: receiving a user input instruction for selecting a first device control among the at least one device control;

[0088] For example, in Figure 4 , receiving the user's instruction to click the first living room TV control.

[0089] Step S103: in response to a user inputting an instruction to select a first device control among the at least one device control, determining whether a first device corresponding to the first device control is a display device;

[0090] In some embodiments, the step of determining whether the first device corresponding to the first device control is a display device includes:

[0091] Obtaining a device type identifier of a first device;

[0092] Determine whether the device type identifier is a display device type identifier, for example, the display device type identifier may be dlna;

[0093] If the device type identifier is a display device type identifier, determining that the first device corresponding to the first device control is a display device;

[0094] If the device type identifier is not a display device type identifier, it is determined that the first device corresponding to the first device control is not a display device.

[0095] In some embodiments, the step of determining whether the first device corresponding to the first device control is a display device includes:

[0096] determining a service and protocol type used by the first device;

[0097] Determine whether the service and protocol type are the service and protocol type used by the display device, wherein the protocol used by the display device is the DLNA protocol;

[0098] If the service and protocol type are service and protocol types used by a display device, determining that the first device corresponding to the first device control is a display device;

[0099] If the service and protocol type are service and protocol types used by a display device, it is determined that the first device corresponding to the first device control is not a display device.

[0100] It should be noted that the device information of the discovered device is obtained through the services and protocols used by the discovered device. The device information includes the device type, device identification, device name, device icon, device IP (Internet Protocol), device wired physical address and device wireless physical address, etc.

[0101] If the first device corresponding to the first device control is a display device, executing step S104: controlling the display to display a binding guide page, and obtaining the number of target controls in the discovered device list;

[0102] The binding guide page includes a screenshot display window, the screenshot display window is used to display a screen image captured by a display device, and the target control is a device control corresponding to which is a control of a display device.

[0103] In some embodiments, the screenshot display window is provided with a placeholder mark. When the placeholder mark of the screenshot display window is a preset value, for example, the placeholder mark is 0, it indicates that the binding guide page does not display the screenshot display window, and when the placeholder mark of the screenshot display window is not a preset value, for example, the placeholder mark is 1, it indicates that the binding guide page displays the screenshot display window.

[0104] In some embodiments, when displaying the discovered device list, the number of different device types is counted and saved locally, and when a new device is added or a device exits the discovered device list, the number of device types is updated. The number of target controls (or display devices) in the discovered device list can be directly obtained locally.

[0105] In some embodiments, the step of obtaining the number of target controls in the discovered device list includes:

[0106] Traverse the device controls in the discovered device list;

[0107] Determine whether the device corresponding to the device control is a display device;

[0108] If the device corresponding to the device control is a display device, the number of target controls is increased by 1 and the next device control is judged to be a display device.

[0109] If the device corresponding to the device control is not a display device, continue to determine whether the device corresponding to the next device control is a display device.

[0110] After all device controls in the discovery device list are determined, the number of target controls is obtained.

[0111] Step S105: determining whether the number is greater than 1;

[0112] If the number is greater than 1, executing step S106: sending a screenshot request to the first device, so that the first device captures a screen image based on the screenshot request and uploads the screen image to a server;

[0113] In some embodiments, if the number is greater than 1, the placeholder flag of the screenshot display window is set to a non-preset value, for example, the placeholder flag is set to 1, so that the screenshot display window is displayed on the binding guide page.

[0114] In some embodiments, the screenshot request includes a picture identifier. After sending the screenshot request to the first device, the first device captures a screen image based on the screenshot request and uploads the screen image and the picture identifier to the server.

[0115] The image identifier has a corresponding or associated relationship with the screen image, or the image identifier is a random identification code that can identify the screen image. The terminal can subsequently obtain the corresponding, associated or identified screen image based on the image identifier.

[0116] In some embodiments, the format of the picture identifier is: voice_remote+yyyyMMddHHmmss+random, that is, it starts with voice_remote, concatenated with the current time, the time format is yyyyMMddHHmmss, and then concatenated with a decimal 6-digit random number. For example, the picture identifier may be voice_remote20230620170524636462.

[0117] In some embodiments, if the number is greater than 1, it is determined whether the second device corresponding to the second device control in the at least one device control has the same IP as the first device, that is, it is determined whether the device IP corresponding to the device control in the discovered device list is the same as the IP of the first device. The second device control refers to the device control other than the first device control in the discovered device list.

[0118] The device information of the discovered device is obtained by discovering the service and protocol used by the device, and the device information includes the device IP. The IP of the second device is compared with the IP of the first device to determine whether the IP of the second device is the same as the IP of the first device.

[0119] If the second device corresponding to the second device control in the at least one device control has the same IP address as the first device, a cross-network screenshot operation is performed.

[0120] The steps of taking screenshots across networks include:

[0121] Send a screenshot request to the server, so that the server sends the screenshot request to the first device based on the device identifier and receives the screenshot data uploaded by the first device after capturing the screen image based on the screenshot request, wherein the screenshot request includes the device identifier and the image identifier, and the screenshot data includes the screen image and the image identifier.

[0122] In order to clarify the process of cross-network screenshot in the embodiment of the present application, an embodiment is disclosed below:

[0123] Obtaining a device identifier of the first device and generating an image identifier;

[0124] The device ID (deviceid) and image ID (pushdata) are added as request parameters to the screenshot request. The screenshot request also includes the specific operation type (action) of this request and the unique ID (uuid) of this request. The unique ID of the message is used to count the number of screenshot requests sent by the terminal and the number of screenshot requests received by the display device.

[0125] For example, the request parameters of a screenshot request are as follows:

[0126] "uuid":"288179e0-0f48-11ee-96ed-4b2ea44b9229",

[0127] "action":"com.xxx.smartimages.UPLOAD_CAPTURE",

[0128] "pushdata":"mobilekey":"voice_remote20230620170524636462",

[0129] "deviceid":"86100300900000400000008300ffbf33".

[0130] Among them, mobilekey represents the unique identifier corresponding to the current screen image, that is, the image identifier.

[0131] Send the screenshot request to the server through the cross-network interface, such as mobilemsg / push / v5.3 / remoteMonitor;

[0132] After receiving the screenshot request, the server will send a successful request message to the terminal, and send the screenshot request to the device corresponding to the device identifier in the screenshot request, that is, the first device. The screenshot request sent by the server may not include the device identifier, that is, only the image identifier, operation type and unique identifier of the request are sent to the first device.

[0133] After receiving the screenshot request, the first device performs the operation corresponding to the operation type, that is, captures the current user interface and generates a screen image, and uploads the screen image and image identifier to the server. The unique identifier of the request can be saved locally to facilitate subsequent statistics of the number of screenshots.

[0134] In some embodiments, the server and the display device communicate via MQTT (Message Queuing Telemetry Transport). Figure 5 As shown, the terminal sends a screenshot request to the MQTT server (MQTT Server) of the server. Among them, the screenshot request includes the device identifier, the picture identifier and the operation type. The MQTT server pushes the MQTT message (screenshot request) to the device corresponding to the device identifier. Among them, the MQTT message includes the picture identifier and the operation type. After receiving the MQTT message, the MQTT client (MQTT Client) of the display device broadcasts the message. After receiving the broadcast message, the screenshot application in the display device executes the operation of capturing the current user interface and generating a screen image, and uploading the screen image and the picture identifier to the server.

[0135] The embodiment of the present application takes into account the situation that there may be a device with the same IP as the currently selected device in the discovered device list. In order to avoid sending screenshot instructions to non-currently selected devices via IP, a cross-network screenshot method is used to ensure the accuracy of sending instructions.

[0136] If the second device corresponding to the second device control in the at least one device control has an IP different from that of the first device, a same-network screenshot operation is performed.

[0137] The steps of taking screenshots on the same network include:

[0138] A screenshot request is sent to the first device based on the IP of the first device, so that the first device captures a screen image based on the screenshot request and uploads the screenshot data, wherein the screenshot request includes a picture identifier, and the screenshot data includes a screen image and a picture identifier.

[0139] In order to clarify the process of taking screenshots on the same network in the embodiment of the present application, an embodiment is disclosed below:

[0140] The terminal obtains the IP address of the first device and generates a picture identifier;

[0141] The terminal adds the image identifier (pushdata) as a request parameter to the screenshot request. The screenshot request also includes the specific operation type (action) of this request and the unique identifier (uuid) of this request.

[0142] For example, the request parameters of a screenshot request are as follows:

[0143] "uuid":"288179e0-0f48-11ee-96ed-4b2ea44b9229",

[0144] "action":"com.xxx.smartimages.UPLOAD_CAPTURE",

[0145] "pushdata":"mobilekey":"voice_remote20230620170524636462".

[0146] The terminal requests a service through the local area network, for example, ip:port / ..commonstarttvapp, and sends a screenshot request to the first device.

[0147] After receiving the screenshot request, the first device performs an operation corresponding to the operation type, that is, captures the current user interface and generates a screen image, and uploads the screen image and the image identifier to the server.

[0148] In some embodiments, Figure 6 As shown, the terminal sends a screenshot request to the display device, wherein the screenshot request includes an image identifier and an operation type. After receiving the screenshot request, the display device notifies the screen projection service in the service, such as the micro-screen projection SDK (Software Development Kit). The screen projection service broadcasts the screenshot request. After receiving the broadcast screenshot request, the screenshot application in the display device executes the operation of capturing the current user interface and generating a screen image, and uploading the screen image and the image identifier to the server.

[0149] In the embodiment of the present application, when it is found that there is no device with the same IP as the selected device to be added in the device list, a screenshot request can be sent directly through the local area network. The screenshot process link of the local area network is shorter than the cross-network screenshot process link, and the screenshot time is more efficient, and screenshots on the same network are given priority.

[0150] In some embodiments, the screenshot request includes a preset instruction, and the preset instruction is used to instruct the first device to execute a preset operation corresponding to the preset instruction, and the preset operation is used to change the user interface of the display device.

[0151] New data content is added to the operation type (action) field of the screenshot request, and the data content is used to instruct the first device to execute a preset operation corresponding to the preset instruction.

[0152] In some embodiments, the preset operation includes displaying a binding pop-up reminder box or prompt text before executing the screenshot operation. Displaying a binding pop-up reminder box or prompt text before executing the screenshot operation can cause the screen image captured by the display device to include the binding pop-up reminder box or prompt text. Wherein, after displaying the binding pop-up reminder box, a timer is started, and when the timer expires, the binding pop-up reminder box or prompt text is canceled. Exemplarily, the user interface of the display device is as follows Figure 7 and Figure 8 shown.

[0153] In some embodiments, the bound pop-up reminder box includes an agree control and a disagree control for screenshots. If a user input is received to select an agree control, the operation of capturing the current user interface and generating a screen image, and uploading the screen image and the image identifier to the server is executed. If a user input is received to select a disagree control, the operation of capturing the current user interface and generating a screen image, and uploading the screen image and the image identifier to the server is not executed, and if the terminal does not obtain the screen image within a preset time, a prompt message indicating that the screen image has not been obtained can be displayed. Exemplarily, the bound pop-up reminder box is as follows: Fig. 9 shown.

[0154] In some embodiments, the preset operation includes displaying a screenshot animation. Displaying a screenshot animation after performing a screenshot operation can help the user distinguish whether the device control selected in the discovered device list is the target display device when the user is close to the target display device or can directly view the target display device screen. The screenshot animation can be a screen image that is gradually reduced in proportion to a corner of the screen after the screenshot is captured. The screenshot animation can be a screen image that is shaken on the screen after the screenshot is captured. The screenshot animation can be a screen image that is dislocated and displayed after the screenshot is captured, or that is reduced in proportion to a certain period of time and displayed in the current user interface for a preset period of time. Exemplarily, the user interface of the display device is such as Fig.10 shown.

[0155] In some embodiments, the preset operation includes playing a screenshot prompt sound. Playing the screenshot prompt sound when performing the screenshot operation can help the user distinguish whether the device control selected in the discovered device list is the target display device when the user is close to the target display device.

[0156] In some embodiments, the preset operation includes executing the screenshot operation again when executing the screenshot operation and displaying the screenshot animation. This method can make the screen image captured by the display device contain the specified frame or any frame data in the screenshot animation, and upload the second screenshot and the image identifier to the server, so as to capture Fig.10 The user interface shown.

[0157] In order to solve the problem that when the images displayed on multiple display devices are exactly the same, it is impossible to quickly distinguish the selected device from the target device by capturing the screen. The embodiment of the present application adds a preset instruction in the screenshot request, so that a binding screenshot prompt that changes the current user interface is added before or after the display device screenshot is taken, which can effectively distinguish the screenshot operation in the binding process from the original simple screenshot or remote monitoring screenshot. The purpose of the binding screenshot in the embodiment of the present application is to distinguish the display devices, rather than to view the current user interface or execution result of the display device.

[0158] Step S107: acquiring the screen image from the server and displaying the screen image in the screenshot display window;

[0159] The step of obtaining the screen image from the server comprises:

[0160] Sending a picture request to a server, wherein the picture request includes a picture identifier;

[0161] Receive the screen image sent by the server based on the image identifier.

[0162] In order to clarify the process of taking screenshots on the same network in the embodiment of the present application, an embodiment is disclosed below:

[0163] After sending the screenshot request to the server or the first device, the terminal will receive a message from the server or the first device indicating that the request is successful. After receiving the message that the request is successful, the terminal polls the screen image or the screen image URL (uniform resource locator) based on the image identifier. The screen image can be obtained according to the screen image URL. Polling the screen image means sending an image request at a preset interval until the screen image is obtained and then stopping the polling.

[0164] When the terminal performs polling, it uses the image ID in the screenshot request to obtain the specified screen image through the interface. For example, the interface is https: / / xxxxxx.com / v5 / image / imageurl / by / id?sessionID=voice_remote20230620170524636462&_=744987, where the value of sessionID is the image ID generated when the terminal sends the screenshot request.

[0165] In some embodiments, Fig.11 As shown, when the conditions for executing cross-network screenshots are met, the terminal application sends a screenshot request to the message subsystem of the server, and the screenshot request includes a device identifier and a picture identifier. After receiving the screenshot request, the message subsystem sends a message of successful request to the terminal and sends a screenshot request to the device (display device) corresponding to the device identifier, and the screenshot request includes a picture identifier. After receiving the screenshot request, the display device captures the user interface and generates a screen image, and uploads the picture identifier and the screen image to the AI ​​(Artificial Intelligence) data subsystem of the server. After receiving the data uploaded by the display device, the AI ​​data subsystem sends a message of successful upload to the display device. After receiving the message of successful request, the terminal starts to poll the screen image URL through the interface, and sends a picture request with a picture identifier until the server sends the screen image URL.

[0166] In some embodiments, Fig.12 As shown, when the conditions for executing the same network screenshot are met, the terminal application sends a screenshot request to the display device based on the display device IP, and the screenshot request includes a picture identifier. After receiving the screenshot request, the display device sends a message of successful request to the terminal, captures the user interface and generates a screen image, and uploads the picture identifier and screen image to the AI ​​data subsystem of the server. After receiving the data uploaded by the display device, the AI ​​data subsystem sends a message of successful upload to the display device. After receiving the message of successful request, the terminal starts to poll the screen image URL through the interface and sends a picture request with a picture identifier until the server sends the screen image URL.

[0167] In some embodiments, the screenshot display window further includes a refresh screen control. After receiving an instruction input by a user to select the refresh screen control, a screenshot request is sent to the first device again, so that the first device captures a screen image again based on the screenshot request and uploads the screen image and the image identifier to the server.

[0168] Step S108: receiving a binding confirmation operation input by the user, and binding the first device to the user account, so that the user can control the first device through the terminal.

[0169] The purpose of binding the first device to the user account is to control the first device through the terminal logged in to the user account. The control methods include turning on and off the device, adjusting the volume, and searching for media resources.

[0170] In some embodiments, if the first device corresponding to the first device control is a display device, detecting whether the first device is logged into a user account;

[0171] If it is detected that the first device has not logged in to the user account, a first guide frame is displayed on the binding guide page, the first guide frame includes guide information, and the guide information is used to guide the user to log in to the user account logged in by the terminal on the first device. The user can log in to the user account on the first device according to the guide information.

[0172] For example, Fig.13 As shown, the binding guide page includes a screenshot display window 131 and a first guide frame 132. The screenshot display window 131 includes a refresh screen control 1311.

[0173] If a first device login user account is detected, determining whether the first device login user account is the same as the terminal login user account;

[0174] If it is detected that the user account logged in to the first device is the same as the user account logged in to the terminal, displaying a binding control and a cancel control on the binding guide page;

[0175] If an instruction of selecting the binding control is received from the user, the first device is bound to the user account logged in by the terminal.

[0176] If a user input instruction to select the cancel control is received, the display is controlled to display a list of discovered devices.

[0177] For example, in Figure 4 In the example, the user clicks on the first living room TV control and displays the binding guide page. Fig.14 As shown, the binding guide page includes a screenshot display window 141, a binding control 142, and a cancel control 143. After the screenshot display window 141 displays the screen image, if the user determines that the current displayed screen image is the same as the user interface of the target display device, the binding control 142 can be selected. The user inputs an instruction to select the binding control 142, binds the living room TV to the user account logged in by the terminal, and displays a connection success interface, such as Fig.15 In the connection success interface, you can select the room to which the device belongs and change the device name. After the connection is successful, the device card of the living room TV is added to the bound device area on the home page of the application, such as Fig.16 By selecting the device card, you can control the TV in the living room.

[0178] If it is detected that the user account logged in by the first device is different from the user account logged in by the terminal, a second guide box is displayed on the binding guide page, and the second guide box includes adding a home control and rebinding a control;

[0179] If an instruction is received from the user to select to join the family control, the user account logged in at the terminal is added to the family of the user account logged in at the first device, so that the user account logged in at the terminal establishes a connection relationship with the first device;

[0180] If a user input is received to select rebinding the control, a first guide frame is displayed on the binding guide page.

[0181] The user account logged in to the first device is different from the user account logged in to the terminal, indicating that the first device has been bound to the user account logged in to the first device. If you want to control the first device through the terminal, you can add the user account logged in to the terminal to the family of the user account logged in to the first device, so that the user account logged in to the terminal establishes a connection relationship with the first device, thereby achieving the purpose of controlling the first device through the terminal. You can also unbind the first device from the user account logged in to the first device, that is, log in the terminal user account on the first device to bind the terminal user account to the first device.

[0182] For example, Fig.17 As shown, the binding guide page includes a screenshot display window 171 and a second guide frame 172, and the second guide frame includes a join home control 1721 and a rebind control 1722. If a user inputs an instruction to select the join home control 1721, the user account XX logged in by the terminal is added to the home of the user account AA logged in by the display device, and a connection success interface is displayed, such as Fig.15 If a user input is received to select a rebinding control 1722, a binding guide page is displayed, such as Fig.18 As shown, the binding guide page includes a screenshot display window 131 and a first guide frame 132. The first guide frame 132 includes a user account logged in to the display device.

[0183] If the number is equal to 1, the placeholder flag of the screenshot display window is set to a preset value and the placeholder flag is set to 0, for example, so that the screenshot display window is not displayed on the binding guide page. Fig.19 shown.

[0184] In some embodiments, Fig. 20As shown, the application program of the terminal discovers the device and sends the device information to the binding business layer of the terminal. The binding business layer filters the bound devices and controls the display to display the list of discovered devices. After receiving the user's selection of a device control in the discovered device list, the binding guide page is displayed, and it is determined whether the number of displayed devices in the discovered device list is greater than 1. If the number of displayed devices is greater than 1, it is determined whether there is a device in the discovered device list with the same IP as the selected device. If there is a device with the same IP as the selected device, a screenshot request is sent to the server through the cross-network. If there is no device with the same IP as the selected device, a screenshot request is sent to the display device through the same network. After receiving the screenshot request, the display device captures the user interface and generates a screen image, and uploads the screen image to the server. After receiving the result returned by the server or the display device, the binding business layer polls the captured screen image, sends a picture request to the server, and receives the screen image URL. The screen image is displayed on the binding guide page. If the number of displayed devices is not greater than 1, the display is controlled to display the binding guide page without the screen image.

[0185] Some embodiments of the present application provide a device binding method, which is applicable to a terminal, wherein the terminal includes a display and a controller, and the controller is configured to: after logging into a user account, in response to a user input of an instruction to add a device, control the display to display a discovered device list, wherein the discovered device list includes at least one device control; in response to a user input of an instruction to select a first device control among the at least one device control, if the first device corresponding to the first device control is a display device, control the display to display a binding guide page, and obtain the number of target controls in the discovered device list, wherein the binding guide page includes a screenshot display window, and the target control is a control of a device control corresponding to a display device; if the number is greater than 1, send a screenshot request to the first device, so that the first device captures a screen image based on the screenshot request and uploads the screen image to a server; obtain the screen image from the server and display the screen image in the screenshot display window; if a user confirmation binding operation is received, bind the first device to the user account, so that the user controls the first device through the terminal. The embodiment of the present application is applied to the scenario of binding a user account logged in at a terminal to a device. After determining that the device selected by the user is a display device and the number of display devices found is greater than 1, a screenshot of the selected device is obtained and displayed to the user, so that the user can quickly and accurately find the target device and bind it, thereby simplifying the operation process and saving user time.

[0186] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

[0187] For the convenience of explanation, the above description has been made in conjunction with specific embodiments. However, the above exemplary discussion is not intended to be exhaustive or limit the embodiments to the specific forms disclosed above. Based on the above teachings, various modifications and variations can be obtained. The selection and description of the above embodiments are to better explain the principles and practical applications, so that those skilled in the art can better use the embodiments and various different variations of the embodiments suitable for specific use considerations.

Claims

1. A terminal, characterized in that: include: monitor; The controller is configured as: After logging into the user account, in response to a user inputting an instruction to add a device, controlling the display to display a list of discovered devices, the list of discovered devices including at least one device control; In response to a user input of an instruction to select a first device control among the at least one device control, if the first device corresponding to the first device control is a display device, controlling the display to display a binding guide page, and obtaining the number of target controls in the discovered device list, the binding guide page including a screenshot display window, the target control being a control of a device corresponding to the device control being a display device; If the number is greater than 1, sending a screenshot request to the first device, so that the first device captures a screen image based on the screenshot request and uploads the screen image to a server; Acquire the screen image from the server and display the screen image in the screenshot display window; If a confirmation binding operation input by the user is received, the first device is bound to the user account, so that the user can control the first device through the terminal.

2. The terminal according to claim 1, characterized in that The controller executes sending a screenshot request to the first device so that the first device captures a screen image based on the screenshot request and uploads the screen image to the server, and is further configured to: If the second device corresponding to the second device control in the at least one device control has the same IP as the first device, a screenshot request is sent to the server, so that the server sends the screenshot request to the first device based on the device identifier and receives the screenshot data uploaded by the first device after capturing the screen image based on the screenshot request, the screenshot request includes the device identifier and the image identifier, and the screenshot data includes the screen image and the image identifier.

3. The terminal according to claim 1, characterized in that: The controller executes sending a screenshot request to the first device so that the first device captures a screen image based on the screenshot request and uploads the screen image to the server, and is further configured to: If the second device corresponding to the second device control in the at least one device control has an IP different from that of the first device, a screenshot request is sent to the first device based on the IP of the first device, so that the first device captures a screenshot image based on the screenshot request and uploads the screenshot data, the screenshot request includes an image identifier, and the screenshot data includes a screen image and an image identifier.

4. The terminal according to claim 2 or 3, characterized in that: The controller executes acquiring the screen image from the server and is configured to: Sending a picture request to a server, wherein the picture request includes a picture identifier; Receive the screen image sent by the server based on the image identifier.

5. The terminal according to claim 1, characterized in that: The controller is configured to: If the number is not greater than 1, the placeholder identifier of the screenshot display window is set to a preset value so that the screenshot display window is not displayed on the binding guide page.

6. The terminal according to claim 1, characterized in that: The screenshot request includes a preset instruction, where the preset instruction is used to instruct the first device to execute a preset operation corresponding to the preset instruction, and the preset operation is used to change the user interface of the display device.

7. The terminal according to claim 1, characterized in that: If the controller receives a confirmation binding operation from the user, the controller binds the first device to the user account, and is further configured to: If it is detected that the user account logged in to the first device is the same as the user account logged in to the terminal, displaying a binding control on the binding guide page; If an instruction of selecting the binding control is received from the user, the first device is bound to the user account logged in by the terminal.

8. The terminal according to claim 7, characterized in that: The controller is configured to: If it is detected that the first device has not logged in to the user account, a first guide frame is displayed on the binding guide page, the first guide frame includes guide information, and the guide information is used to guide the user to log in to the user account logged in by the terminal on the first device.

9. The terminal according to claim 7, characterized in that: The controller is configured to: If it is detected that the user account logged in by the first device is different from the user account logged in by the terminal, a second guide box is displayed on the binding guide page, and the second guide box includes adding a home control and rebinding a control; If an instruction is received from the user to select to join the family control, the user account logged in at the terminal is added to the family of the user account logged in at the first device, so that the user account logged in at the terminal establishes a connection relationship with the first device; If a user input is received to select rebinding the control, a first guide frame is displayed on the binding guide page.

10. A device binding method, characterized in that: include: After logging into the user account, in response to a user inputting an instruction to add a device, controlling the display to display a list of discovered devices, the list of discovered devices including at least one device control; In response to a user input of an instruction to select a first device control among the at least one device control, if the first device corresponding to the first device control is a display device, controlling the display to display a binding guide page, and obtaining the number of target controls in the discovered device list, the binding guide page including a screenshot display window, the target control being a control of a device corresponding to the device control being a display device; If the number is greater than 1, sending a screenshot request to the first device, so that the first device captures a screen image based on the screenshot request and uploads the screen image to a server; Acquire the screen image from the server and display the screen image in the screenshot display window; If a confirmation binding operation input by the user is received, the first device is bound to the user account so that the user can control the first device through the terminal.

Citation Information

Patent Citations

  • Method and system of controlling computer terminal by handheld device

    CN102932470A

  • Method and apparatus for displaying household electrical appliance information

    CN105204350A

  • Remote control method of intelligent television, terminal equipment and smart television

    CN110087124A

  • Image acquisition method, device and system, equipment and computer storage medium

    CN111787221A

  • Method and device for identifying electronic equipment and electronic equipment

    CN112804732A