Method and related apparatus for accessing large-screen device
By discovering and assisting large-screen devices in connecting to the smart home platform through terminal devices, the problem of cumbersome user operations has been solved, resulting in a convenient access process and an improved user experience.
Patent Information
- Application Number
- CN202210055949.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-01-18
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2042-01-18
AI Technical Summary
During the initial setup and configuration of large-screen devices, users need to manually operate to connect to the smart home platform. Especially when skipping the tutorial process, the operation is cumbersome and the user experience is poor. It is particularly difficult for users who are not familiar with the device to complete the connection.
The system discovers large-screen devices through terminal devices and assists them in connecting to the smart home platform. The terminal devices display controls and send access notifications, scan account entry points, and achieve automated access for large-screen devices, reducing the amount of user operation on the large-screen devices.
It simplifies the large-screen device access process, enhances the user experience, and reduces the number of steps required to operate the large-screen device by using familiar terminal devices, thereby improving the convenience and security of access.
Smart Images

Figure CN116501230B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of terminal technology, and in particular to a method and related apparatus for accessing large-screen devices. Background Technology
[0002] With the development of IoT technology, more and more home devices can be connected together. Smart homes use IoT technology to connect various devices in the home, providing a variety of functions such as appliance control, lighting control, remote telephone control, indoor and outdoor remote control, burglar alarms, environmental monitoring, HVAC control, infrared relay, and programmable timer control. These devices include: audio-visual equipment, lighting systems, curtain control devices, air conditioning control devices, security systems, digital cinema systems, audio-visual servers, media storage systems, and networked appliances.
[0003] Large-screen devices, as a type of smart home device, can be connected to a smart home open interconnection platform (hereinafter referred to as the smart home platform) to enable functions such as appliance control, lighting control, and remote telephone control. The initial setup and configuration experience (out-of-box experience, OOBE) for large-screen devices includes a guided process to help users log in to their accounts and complete the access service agreement signing, thereby connecting the large-screen device to the smart home platform.
[0004] However, when users skip this onboarding process, they need to navigate to the large-screen device's settings interface - account center - login account - access service (also known as user privacy service, home service, etc.) authorization signing to connect the large-screen device to the smart home platform. This process is cumbersome and results in a poor user experience. Furthermore, for users unfamiliar with large-screen devices, it is difficult to connect them to the smart home platform without a guided process. Summary of the Invention
[0005] This application provides a method and related apparatus for accessing large-screen devices. When the large-screen device and the terminal device are on the same network, the terminal device can discover the large-screen device and assist the large-screen device in accessing the smart home platform, reducing user operations on the large-screen device, optimizing the large-screen device access process, and improving user experience.
[0006] In a first aspect, embodiments of this application provide a method for accessing a large-screen device, which is applied to an access system, including a terminal device, a large-screen device, and a target platform.
[0007] The method includes: a terminal device discovering a large-screen device and displaying a first control; after receiving a first trigger operation on the first control, the terminal device sends an access notification to the large-screen device; the large-screen device displays an account entry based on the access notification; the terminal device sends account information to the large-screen device by scanning the account entry; and the large-screen device accesses the target platform based on the account information.
[0008] In this way, terminal devices can discover large-screen devices and assist them in connecting to the target platform, reducing user interaction with the large-screen devices, optimizing the connection process, and improving the user experience. Furthermore, users can use more familiar terminal devices to assist with the large-screen device connection, further enhancing the user experience.
[0009] Optionally, the terminal device discovers the large-screen device and displays a first control, including: the terminal device sending a first broadcast; the first broadcast includes: information of a random port and information of a fixed port, the fixed port corresponding to the access service of the target platform; the large-screen device sending a first message to the terminal device according to the first broadcast, the first message including: information of the random port and device information of the large-screen device; the terminal device displaying a first control according to the first message.
[0010] In this way, terminal devices can automatically discover large-screen devices through broadcasting, making it easier for terminal devices to assist large-screen devices in logging into their accounts and connecting the large-screen devices to the target platform.
[0011] Optionally, the first broadcast is a CoAP (Coordinated Application Protocol) broadcast.
[0012] In this way, when the terminal device and the large-screen device are on the same network, the terminal device can discover the large-screen device.
[0013] Optionally, after receiving the first trigger operation for the first control, the terminal device sends an access notification to the large screen device, including: after receiving the first trigger operation for the first control, the terminal device displays a second control, which is used to indicate authorized access to the service; after receiving the second trigger operation for the second control, the terminal device sends an access notification to the large screen device.
[0014] This allows authorization and access to services to be completed on the terminal device, eliminating the need for operation on a large screen, making it more convenient and improving the user experience.
[0015] Optionally, the large-screen device accesses the target platform based on account information, including: after receiving the account information, the large-screen device displays a third control, which is used to indicate authorized access to the service; after receiving a third trigger operation for the third control, the large-screen device accesses the target platform based on the account information.
[0016] In this way, access services can also be authorized on large-screen devices, which is similar to possible implementation methods and facilitates application.
[0017] Optionally, after the terminal device sends account information to the large-screen device by scanning the account entry, the method further includes: the terminal device displays a fourth control, which is used to indicate authorized access to the service; after receiving a fourth trigger operation for the fourth control, the terminal device sends a second message to the large-screen device, which is used to indicate authorized access to the service; the large-screen device accesses the target platform based on the account information, including: after receiving the second message, the large-screen device accesses the target platform based on the account information.
[0018] This allows authorization and access to services to be completed on the terminal device, eliminating the need for operation on a large screen, making it more convenient and improving the user experience.
[0019] Optionally, before the terminal device sends an access notification to the large-screen device, the method further includes: the terminal device sending a message to the large-screen device, the message carrying a key and the terminal device's device information; the large-screen device sending a third message to the terminal device based on the message, the third message indicating that key authentication is successful; and the terminal device establishing a communication connection with the large-screen device based on the third message.
[0020] In this way, terminal devices and large-screen devices can establish encrypted communication connections through keys, increasing the security of communication.
[0021] Optionally, the method also includes: when the large-screen device logs into the first account before displaying the account entry according to the access notification, the large-screen device generates a prompt message to indicate that the large-screen device has logged into the first account.
[0022] In this way, when the user has logged into the first account on the large-screen device, a prompt message can be sent to remind the user.
[0023] Optionally, after the large-screen device accesses the target platform based on the account information, the method further includes: the target platform sending a fourth message to the terminal device, the fourth message being used to instruct the large-screen device to access the target platform.
[0024] In this way, the terminal device can exit the auxiliary process after the large-screen device is connected to the target platform.
[0025] Optionally, the target platform may include a smart home platform, and the account entry may include a QR code.
[0026] In this way, QR codes become more commonly used and convenient.
[0027] Secondly, embodiments of this application provide a method for accessing a large-screen device, applied to a terminal device, which can also be called a terminal, user equipment (UE), mobile station (MS), mobile terminal (MT), etc. The terminal device can be a mobile phone, smart TV, PDA, wearable device, tablet computer, computer with wireless transceiver function, virtual reality (VR) terminal device, augmented reality (AR) terminal device, wireless terminal in industrial control, wireless terminal in self-driving, wireless terminal in remote medical surgery, wireless terminal in smart grid, wireless terminal in transportation safety, wireless terminal in smart city, wireless terminal in smart home, etc. Embodiments of this application do not limit the specific technology or device form used in the terminal device.
[0028] The method includes: the terminal device discovers the large-screen device and displays a first control; after receiving a first trigger operation for the first control, the terminal device sends an access notification to the large-screen device; the terminal device sends account information to the large-screen device by scanning the account entry, the account entry being displayed by the large-screen device based on the access notification, and the account information being used to access the target platform.
[0029] Optionally, the terminal device discovers the large-screen device and displays the first control, including: the terminal device sending a first broadcast; the first broadcast includes: information of a random port and information of a fixed port, the fixed port corresponding to the access service of the target platform; the terminal device receiving a first message sent by the large-screen device according to the first broadcast, the first message including: information of the random port and device information of the large-screen device; the terminal device displaying the first control according to the first message.
[0030] Optionally, the first broadcast is a CoAP (Coordinated Application Protocol) broadcast.
[0031] Optionally, after receiving the first trigger operation for the first control, the terminal device sends an access notification to the large screen device, including: after receiving the first trigger operation for the first control, the terminal device displays a second control, which is used to indicate authorized access to the service; after receiving the second trigger operation for the second control, the terminal device sends an access notification to the large screen device.
[0032] Optionally, after the terminal device sends account information to the large-screen device by scanning the account entry, the method further includes: the terminal device displaying a fourth control, which is used to indicate authorized access to the service; after receiving a fourth trigger operation for the fourth control, the terminal device sending a second message to the large-screen device, which is used to indicate authorized access to the service.
[0033] Optionally, before the terminal device sends an access notification to the large-screen device, the method further includes: the terminal device sending a message to the large-screen device, the message carrying a key and the terminal device's device information; the terminal device receiving a third message sent by the large-screen device based on the message, the third message indicating that key authentication is successful; and the terminal device establishing a communication connection with the large-screen device based on the third message.
[0034] Optionally, after the terminal device sends account information to the large-screen device by scanning the account entry, the method further includes: the terminal device receiving a fourth message sent by the target platform, the fourth message being used to instruct the large-screen device to access the target platform.
[0035] Optionally, the target platform may include a smart home platform, and the account entry may include a QR code.
[0036] Thirdly, embodiments of this application provide a method for accessing a large-screen device, which is applied to a large-screen device. The large-screen device includes a display screen and can be a television, personal computer (PC), tablet computer, netbook, projection device, smart screen, etc.
[0037] The method includes: the large-screen device receiving an access notification sent by the terminal device after discovering the large-screen device; the large-screen device displaying an account entry based on the access notification; the large-screen device receiving account information sent by the terminal device through scanning the account entry; and the large-screen device accessing the target platform based on the account information.
[0038] Optionally, before the large-screen device receives the access notification sent by the terminal device, the method further includes: the large-screen device receiving a first broadcast sent by the terminal device; the first broadcast includes: information of a random port and information of a fixed port, the fixed port corresponding to the access service of the target platform; the large-screen device sending a first message to the terminal device according to the first broadcast, the first message including: information of the random port and device information of the large-screen device.
[0039] Optionally, the first broadcast is a CoAP (Coordinated Application Protocol) broadcast.
[0040] Optionally, the large-screen device accesses the target platform based on account information, including: after receiving the account information, the large-screen device displays a third control, which is used to indicate authorized access to the service; after receiving a third trigger operation for the third control, the large-screen device accesses the target platform based on the account information.
[0041] Optionally, the large-screen device accesses the target platform based on account information, including: after receiving the account information, the large-screen device receives a second message sent by the terminal device, the second message being used to indicate authorized access to the service; after receiving the second message, the large-screen device accesses the target platform based on the account information.
[0042] Optionally, before the large-screen device receives the access notification sent by the terminal device, the method further includes: the large-screen device receiving a message sent by the terminal device, the message carrying a key and device information of the terminal device; the large-screen device sending a third message to the terminal device based on the message, the third message being used to indicate that the key authentication is successful; and the large-screen device and the terminal device establishing a communication connection based on the third message.
[0043] Optionally, the method also includes: when the large-screen device logs into the first account before displaying the account entry according to the access notification, the large-screen device generates a prompt message to indicate that the large-screen device has logged into the first account.
[0044] Optionally, the target platform may include a smart home platform, and the account entry may include a QR code.
[0045] Fourthly, embodiments of this application provide a terminal device, including: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, causing the processor to perform the method described in the second aspect above.
[0046] Fifthly, embodiments of this application provide a large-screen device, including: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, causing the processor to perform the method described in the third aspect above.
[0047] Sixthly, embodiments of this application provide a computer-readable storage medium storing a computer program or instructions that, when executed, implement the method of the second aspect or the method of the third aspect described above.
[0048] In a seventh aspect, embodiments of this application provide a computer program product, including a computer program or instructions, which, when executed by a processor, implement the method of the second aspect or the method of the third aspect described above.
[0049] The beneficial effects of the various possible implementations of the second to seventh aspects can be found in the first aspect and the beneficial effects of the various possible implementations of the first aspect, and will not be repeated here. Attached Figure Description
[0050] Figure 1This is a schematic diagram of an application scenario provided by an embodiment of this application;
[0051] Figure 2 A schematic diagram illustrating a possible interface for connecting medium to large-screen devices to a smart home platform;
[0052] Figure 3 This is a schematic diagram of the software structure of a terminal device provided in an embodiment of this application;
[0053] Figure 4 This is a schematic diagram of the software structure of a large-screen device provided in an embodiment of this application;
[0054] Figure 5 A flowchart illustrating a method for connecting a large-screen device to a smart home platform, provided as an embodiment of this application;
[0055] Figure 6 This application provides a schematic diagram of the interface of a terminal device according to an embodiment of the present application.
[0056] Figure 7 A schematic diagram of a discovery process provided in an embodiment of this application;
[0057] Figure 8 This is a schematic diagram illustrating a communication connection establishment process provided in an embodiment of this application.
[0058] Figure 9 This application provides a schematic diagram of an account login process.
[0059] Figure 10 This application provides a schematic flowchart of a method for connecting a large-screen device to a smart home platform.
[0060] Figure 11 This application provides a schematic diagram of the interface of a terminal device according to an embodiment of the present application.
[0061] Figure 12 This is a schematic diagram of the interface of a large-screen device provided in an embodiment of this application;
[0062] Figure 13 This is a schematic diagram of the interface of a large-screen device provided in an embodiment of this application;
[0063] Figure 14 A schematic diagram of the hardware structure of a large-screen device access device provided in an embodiment of this application;
[0064] Figure 15 This is a schematic diagram of the hardware structure of a terminal device provided in an embodiment of this application. Detailed Implementation
[0065] To facilitate a clear description of the technical solutions in the embodiments of this application, the terms "first" and "second" are used in the embodiments of this application to distinguish identical or similar items with essentially the same function and purpose. For example, "first device" and "second device" are merely used to distinguish different devices and do not limit their order of execution. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that "first" and "second" do not necessarily imply that they are different.
[0066] It should be noted that, in this application, the terms "exemplary" or "for example" are used to indicate that something is being described as an example, illustration, or illustration. Any embodiment or design described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design solutions. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0067] It should be noted that the network architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0068] Figure 1 This is a schematic diagram illustrating an application scenario provided by an embodiment of this application. For example... Figure 1 As shown, the application scenarios include: terminal device 101, smart home platform 102, and large screen device 103.
[0069] Among them, the terminal device 101 is used to discover and connect to the large screen device 103. After connecting to the large screen device 103, it can control the large screen device 103 to log in to the smart home platform 102.
[0070] Terminal device 101 can be a smartphone, tablet computer, PDA, etc.
[0071] The smart home platform 102 is used to enable intelligent connection and linkage between smart home devices. The smart home platform 102 can be deployed on a cloud server or a cloud server cluster. The smart home platform can also be referred to as an ecosystem.
[0072] In this embodiment, when the large-screen device 103 connects to the smart home platform 102, the smart home platform 102 sends a message to the terminal device 101 to indicate that the large-screen device 103 has completed the connection.
[0073] The large-screen device 103 includes a display screen, which can be a television, a personal computer (PC), a tablet computer, a netbook, a projector, a smart screen, etc.
[0074] A large-screen device is a rich device with a screen. Large-screen devices can independently connect to a smart home platform. The initial setup and configuration experience (out-of-box experience, OOBE) for large-screen devices includes a guided process to help users log in to their account and complete the access service authorization signing, thereby connecting the large-screen device to the smart home platform. If the user skips this guided process, they need to go to Settings > Account Center > Login Account > Access Service (also known as User Privacy Service, Home Service, etc.) to authorize and sign the agreement, connecting the large-screen device to the smart home platform.
[0075] For example, Figure 2 This is a schematic diagram illustrating a possible interface for connecting large-screen devices to a smart home platform. When a large-screen device... Figure 2 In the main interface shown in Figure 'a', when the user's operation to open the settings control 201 of the large-screen device is received, the large-screen device can enter... Figure 2 The settings interface shown in b is as follows. Figure 2 As shown in b, the settings interface may include a settings tab bar 202 and settings items. For example, the settings items may include one or more of the following: display settings, network settings, account center, application management, system upgrade, or other types of settings items.
[0076] When the user Figure 2 When the account center 203 is triggered by clicking, touching, or selecting via remote control in the settings interface shown in b, the large-screen device receives the user's operation to set up the account center 203, and the account center settings appear on the right side of the large-screen device's interface. The account center settings include multiple login methods, including but not limited to: account password login, QR code login, and verification code login.
[0077] Understandably, if the large-screen device is already logged into an account, the settings in the account center will display the logged-in account, the password for the logged-in account, and a control to indicate when to log out.
[0078] When the user Figure 2 In the settings interface shown in b, when the QR code login is triggered by clicking, touching, or selecting via remote control, the large-screen device enters a state similar to... Figure 2 The QR code login interface shown in 'c' includes: a QR code, a password login control, and a verification code login control.
[0079] When the user Figure 2When the settings interface shown in 'c' triggers account login by scanning QR code 205, the large-screen device enters a menu similar to the one shown in 'c'. Figure 2 The access service interface is shown as 'd' in the diagram. This interface may include access service items, corresponding selection controls, cancellation controls, and confirmation controls. Access service items may include one or more of the following: Smart Living Smart Screen Service, User Experience Improvement Plan, Registering this large-screen device to a smart home platform, or other services of any type. The confirmation control 206 may represent "Next," "Confirm," or "Agree" in the interface.
[0080] When the user Figure 2 When the large-screen device enters the smart home platform, it is triggered by clicking, touching, or selecting via remote control in the access service interface shown in d.
[0081] However, connecting large-screen devices to the smart home platform by triggering corresponding controls on the device's interface is cumbersome and results in a poor user experience. Furthermore, for users unfamiliar with large-screen devices, it's difficult to connect them to the smart home platform without a guided process.
[0082] In view of this, embodiments of this application provide a method for connecting a large-screen device. When the large-screen device and the terminal device are on the same network, the terminal device can discover and connect to the large-screen device to guide the user to connect the large-screen device to the smart home platform. By assisting the large-screen device in connection with the terminal device, the user's operation on the large-screen device is reduced, the connection process is simplified, the operation is simple, and the user experience is enhanced.
[0083] To facilitate understanding, the software structure of terminal devices and large-screen devices will be explained below.
[0084] For example, Figure 3 This is a software structure block diagram of a terminal device according to an embodiment of this application. For example... Figure 3 As shown, the layered architecture divides the software into several layers, each with a clear role and function. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.
[0085] The application layer can include a series of application packages. For example... Figure 3 As shown, the application package may include applications such as camera, calendar, phone, music, settings, video, smart living, and account center.
[0086] In this embodiment, the smart living application corresponds to the smart home platform. The smart living application includes a device connection management module, which connects to the smart home platform and manages home devices (e.g., large-screen devices and smart desk lamps) that have been connected to the smart home platform.
[0087] It is understood that the smart living application is only an example, and the smart home platform can correspond to other applications. This application does not limit this.
[0088] The account center is used for account management, such as account registration, login, and switching. It includes two services: kit services and engine services. Kit services handle account login, logout, switching, and access processing. Access processing includes authorizing other devices to log in and authorizing applications to use the account. Engine services handle account-related logic, such as providing access services after account login.
[0089] The account center can be an independent application or a module in a specific application (e.g., a smart living application), and this application embodiment does not limit this.
[0090] The application framework layer provides application programming interfaces (APIs) and a programming framework for applications in the application layer. The application framework layer includes some predefined functions.
[0091] like Figure 3 As shown, the application framework layer may include a window manager, content provider, resource manager, view system, notification manager, etc.
[0092] The window manager is used to manage windowed applications. It can obtain the screen size, determine if a status bar is present, lock the screen, allow screen touch, drag the screen, and capture the screen, among other things.
[0093] Content providers store and retrieve data, making that data accessible to applications. This data can include videos, images, audio, phone calls made and received, browsing history and bookmarks, phone books, and more.
[0094] The file explorer provides applications with various resources, such as localized strings, icons, images, layout files, video files, and more.
[0095] A view system includes visual controls, such as controls for displaying text and controls for displaying images. View systems can be used to build applications. A display interface can consist of one or more views. For example, a display interface including a text notification icon could include views for displaying text and views for displaying images.
[0096] The notification manager allows applications to display notifications in the status bar. These notifications can be used to deliver informational messages and can disappear automatically after a short pause, requiring no user interaction. For example, the notification manager can be used to notify users of download completion or message alerts. The notification manager can also display notifications as icons or scrolling text in the top status bar, such as notifications from background applications, or as dialog boxes on the screen. Examples include displaying text messages in the status bar, emitting sounds, vibrating the device, and flashing indicator lights.
[0097] The Android runtime consists of core libraries and a virtual machine. The Android runtime is responsible for scheduling and managing the Android system.
[0098] The core library consists of two parts: one part is the functionalities that need to be called by the Java language, and the other part is the Android core library.
[0099] The application layer and application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and application framework layer as binary files. The virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, security and exception management, and garbage collection.
[0100] System libraries can include multiple functional modules. Examples include: surface managers, media libraries, 3D graphics processing libraries (e.g., OpenGL ES), and 2D graphics engines (e.g., SGL). System libraries can also be referred to as common foundation libraries.
[0101] The Surface Manager is used to manage the display subsystem and provides the blending of 2D and 3D layers for multiple applications.
[0102] The media library supports playback and recording of various common audio and video formats, as well as still image files. It supports multiple audio and video encoding formats, such as MPEG4, H.264, MP3, AAC, AMR, JPG, and PNG.
[0103] 3D graphics processing libraries are used to implement 3D graphics drawing, image rendering, compositing, and layer processing. 2D graphics engines are drawing engines for 2D graphics.
[0104] The kernel layer is the layer between hardware and software. The kernel layer contains at least the display driver, camera driver, audio driver, and sensor driver.
[0105] In a possible implementation, the terminal device includes a hardware layer, which comprises modules such as display, camera, audio, sensors, Wi-Fi, and Bluetooth. The Wi-Fi and / or Bluetooth modules are used to enable near-field connections (e.g., Bluetooth connections, hotspot connections, etc.) with other devices (e.g., large-screen devices and wearable devices).
[0106] For example, Figure 4 This is a schematic diagram of the software architecture of a large-screen device provided in an embodiment of this application. Figure 4 As shown, the software architecture of a large-screen device, from top to bottom, consists of the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer. The application layer includes business applications, instruction processing modules, and device connectivity management modules.
[0107] Business applications are used to implement different functions of large-screen devices. Business applications include, but are not limited to: video, settings, music, access services (user privacy services), and account center.
[0108] The instruction processing module is used to receive instructions and distribute them to the corresponding business applications to realize various functions of the large-screen device.
[0109] The device connection management module is used to connect to the smart home platform and manage home devices (such as large-screen devices and smart desk lamps) that have been connected to the smart home platform.
[0110] The application layer of a large-screen device can include the applications of the aforementioned terminal devices. It is understood that the software structure of a large-screen device is similar to that of a terminal device, and can be referred to the software architecture description of the aforementioned terminal devices; it will not be repeated here.
[0111] The large-screen device access method provided in the embodiments of this application is described below with reference to the accompanying drawings.
[0112] Figure 5 This is a schematic flowchart illustrating a method for connecting a large-screen device to a smart home platform, provided as an embodiment of this application. Figure 5 As shown, the method includes:
[0113] S501. When the terminal device discovers the large-screen device, it displays the first control, which is used to indicate access to the smart home platform.
[0114] When the terminal device and the large-screen device are on the same local area network, the terminal device can discover the large-screen device. For details on the implementation, please refer to the following text. Figure 7The relevant explanations will not be repeated here. Terminal devices can also discover large-screen devices through other near-field connection methods (such as Bluetooth, NFC, etc.).
[0115] For example, the terminal device discovers the large-screen device based on the device connection management module in the smart living system. After the device connection management module discovers the large-screen device, it displays the first control on the display interface of the smart living system.
[0116] S502, The terminal device receives and responds to the first trigger operation on the first control, and displays the second control, which is used to indicate authorized access service.
[0117] In this way, accessing services through authorization and signing via terminal devices is convenient and quick.
[0118] In this embodiment, the first triggering operation may include a touch operation, a drag operation, a gesture triggering operation, and / or a mouse click operation. The user triggers the first control through any of the following operations: touch drag, gesture, and / or mouse click.
[0119] For example, the terminal device receives and responds to a first trigger operation on the first control on the smart living display interface, and displays the second control on the smart living display interface.
[0120] S503. When the terminal device receives and responds to the second trigger operation on the second control, the terminal device sends an access notification to the large screen device.
[0121] In this embodiment, the second triggering operation may include touch operation, drag operation, gesture triggering operation, and / or mouse click operation. The user triggers the second control through any of the following operations: touch drag, gesture, and / or mouse click.
[0122] For example, the terminal device receives and responds to the second trigger operation on the second control on the display interface of the smart life, and sends an access notification to the large screen device based on the device connection management module of the smart life.
[0123] In one possible implementation, the terminal device sends an access notification to the large-screen device and then enters the QR code scanning interface.
[0124] S504: After receiving the access notification, the large-screen device displays a QR code for logging in.
[0125] For example, the large-screen device receives the access notification based on the device connection management module in smart living, and calls the account center to obtain the QR code for the login account, which is then displayed on the interface.
[0126] It is understood that in this embodiment, the account entry is displayed in the form of a QR code. After receiving the access notification, the large-screen device displays the account used to log in to the smart home platform. The account entry can be displayed in the form of a QR code or a barcode; this embodiment does not limit the display format of the account entry.
[0127] S505. When the terminal device scans the QR code of the large screen device, the large screen device logs in to the account.
[0128] For example, the terminal device scans the QR code on the large-screen device and accesses the account in the account center. The large-screen device then logs in to the account based on the account center.
[0129] This method of logging in by scanning a QR code makes it convenient for users and simplifies the account login process.
[0130] After logging into their accounts, S506 and large-screen devices send access requests to the smart home platform.
[0131] For example, a large-screen device sends an access request to the smart home platform based on its account in the access service and account center.
[0132] S507: After the large-screen device is connected, the smart home platform sends a message to the terminal device to indicate that the large-screen device connection is complete.
[0133] In summary, terminal devices can discover large-screen devices and authorize access services (access services), assisting large-screen devices in logging into their accounts and connecting them to the smart home platform. This reduces user interaction with the large-screen devices, simplifies the operation process, enhances convenience, and optimizes the user experience. Furthermore, users can use more familiar terminal devices to assist with the large-screen device connection, further optimizing the user experience.
[0134] The method of this application embodiment will be described below with reference to the display interface of the terminal device.
[0135] For example, Figure 6 This is a schematic diagram of the display interface of the terminal device provided in an embodiment of this application. Figure 6 As shown, Figure 6 The interface shown in 'a' is the main interface for smart living on the terminal device.
[0136] When the terminal device receives a user-triggered discovery control 601 on the Smart Life main interface, the terminal device can discover the large-screen device. When the terminal device discovers the large-screen device, a pop-up window 602 may be displayed on the Smart Life main interface. Pop-up window 602 is used to indicate the large-screen device that needs to be configured.
[0137] When the terminal device is Figure 6When the user triggers the immediate configuration control 603 in pop-up window 602 of the interface shown in Figure 'a', the terminal device displays pop-up window 604. Pop-up window 604 is used to indicate the Smart Life Smart Screen Service (Access Service).
[0138] Understandably, the first control can be Figure 6 Configure control 603 immediately in the interface shown in 'a'.
[0139] When the terminal device is Figure 6 When the user triggers the confirmation control 605 in the pop-up window 604 of the interface shown in b, the terminal device sends an access notification to the large screen device and enters... Figure 6 The scanning interface shown in 'c' is adapted for large-screen devices to display QR codes. This scanning interface includes a scanning control 606.
[0140] Understandably, the second control can be Figure 6 The interface shown in Figure b contains a confirmation control 605. The confirmation control 605 can represent "Next," "Confirm," or "Agree" on the interface. This application embodiment does not limit the specific form of the control.
[0141] when Figure 6 When the scanning control 606 in the scanning interface shown in Figure 'c' scans the QR code displayed on the large screen device, the terminal device enters... Figure 6 The QR code login confirmation interface shown in 'd' is an example. This interface includes a login control (607) and a cancellation control. This further confirmation from the user reduces the possibility of accidental operation.
[0142] When the terminal device is Figure 6 When the QR code login confirmation interface (shown as 'd') receives a user's login control 607, the large-screen device logs into its account and connects to the smart home platform. After the large-screen device connects to the smart home platform, the platform sends a message to the terminal device indicating that the connection is complete, and the terminal device then enters... Figure 6 The connection success screen shown in 'e' is displayed. This connection success screen displays the identifier 608 to indicate a successful connection.
[0143] The following is combined with Figure 7 , Figure 8 , Figure 9 The discovery process, communication connection establishment process, and account login process in the above embodiments are described respectively.
[0144] It's understandable that when the terminal device and the large-screen device are on the same local area network, the terminal device can discover the large-screen device. One possible implementation is that the terminal device can discover the large-screen device through the Constrained Application Protocol (CoAP). The following section will discuss this further. Figure 7 One specific implementation of the discovery process in S501 above will be described.
[0145] It should be noted that CoAP is a network application protocol specifically designed for constrained devices. Constrained application protocols enable constrained devices, referred to as "nodes," to communicate with the wider network (the internet) using similar protocols. CoAP is designed for use between devices on the same constrained network (e.g., low-power, lossy networks), between devices and general nodes on the internet, and between devices on different constrained networks connected by the internet.
[0146] For example, Figure 7 This is a flowchart illustrating a discovery process provided in an embodiment of this application. Figure 7 As shown, the discovery process is as follows: CoAP monitoring is enabled by default on large-screen devices.
[0147] S701. When the discovery function of the terminal device is enabled, the terminal device starts the CoAP protocol to initialize the socket and generate a random port.
[0148] One possible implementation is that the terminal device automatically enables the discovery function when it opens the corresponding application on the smart home platform (e.g., Smart Life). Alternatively, the terminal device enables the discovery function when it receives a user's triggering of the discovery control.
[0149] For example, in the smart living application of the terminal device, the device connection management module initiates the CoAP protocol to initialize the socket and generate a random port.
[0150] S702. The terminal device sends a CoAP broadcast. The CoAP broadcast carries information about the fixed port, the terminal device's identification information, and the terminal device's random port information.
[0151] In this embodiment, a fixed port is used to discover large-screen devices, and the fixed port corresponds to the access service (privacy service). For example, the fixed port can be 5683 or 8883.
[0152] CoAP broadcasts may include one or more of the following: broadcast length, broadcast type, universally unique identifier (UUID), version, service, type table, media access control (MAC) address of the terminal device, random port, fixed port, or other types of information. This application does not specifically limit the content and format of targeted broadcasts.
[0153] For example, the terminal device sends a CoAP broadcast to the outside world based on the device connection management module of the smart living application.
[0154] S703: After receiving the CoAP broadcast, the large-screen device parses the CoAP broadcast.
[0155] Understandably, the large-screen device parses the CoAP broadcast to obtain the fixed port and the random port of the terminal device.
[0156] For example, the large-screen device receives and parses the CoAP broadcast based on the device connection management module.
[0157] S704. When the fixed port in the CoAP broadcast is consistent with the fixed port of the large screen device, the large screen device replies to the terminal device with the random port and the device information of the large screen device.
[0158] Adaptively, the terminal device receives a random port number and device information from the large screen device in response.
[0159] In this embodiment, the device information includes one or more of the following: device name, network information, or device ID. Network information includes: the WIFI service set identifier (SSID), connection status, and other information.
[0160] For example, the large-screen device replies to the terminal device with a random port and the device information of the large-screen device based on the device connection management module.
[0161] S705: When the terminal device discovers the large-screen device, a prompt message is displayed.
[0162] For example, the terminal device displays a prompt message based on the device connection management module.
[0163] The notification message is used to alert the user when a large-screen device is detected. The notification message can be device information about the large-screen device. For example, the device name of the large-screen device can be displayed on the interface. In possible implementations, the notification message can be displayed as a pop-up window on the terminal device's interface. The terminal device can also play the notification message via voice. This application embodiment does not limit the specific content or display format of the notification message.
[0164] In other possible implementations, the terminal device can also discover the large-screen device through other near-field connection methods. These other near-field connection methods may include, but are not limited to, Bluetooth or Near Field Communication (NFC).
[0165] Based on the above embodiments, prior to S504, the terminal device and the large-screen device need to establish a communication connection. For example, Figure 8 This is a schematic diagram illustrating a process for establishing a communication connection between a terminal device and a large-screen device, as provided in an embodiment of this application. Figure 8 As shown,
[0166] S801: After executing S501 or S502, the terminal device sends a message to the large-screen device. The message carries a key and the terminal device's device information. The message is used to indicate the establishment of a communication connection.
[0167] Understandably, a key is a form of encryption that can increase the security of interactions between terminal devices and large-screen devices. However, the message may not necessarily include the key.
[0168] S802. After receiving the message, the large-screen device performs personal identification number (PIN) authentication.
[0169] S803. When the PIN code authentication is successful, the large screen device replies to the terminal device with a message indicating that the authentication is successful.
[0170] S804. After receiving a reply indicating successful authentication, the terminal device establishes a communication connection with the large screen device.
[0171] It is understandable that a communication connection can be established between a terminal device and a large-screen device even when the message does not carry a key.
[0172] The following is combined with Figure 9 This document describes a specific implementation process for the account login procedure in S504-S505.
[0173] S901. After receiving the access notification, the large-screen device sends a login request to the account server to log in to the account.
[0174] S902: The cloud server receives the login request and generates a random string;
[0175] S903, the cloud server sends a random string to the large-screen device.
[0176] S904, large-screen devices generate QR codes based on random strings.
[0177] Among possible implementations, the QR code includes: a random string and a login verification interface.
[0178] S905, large-screen device displays a QR code for login.
[0179] S906. When the terminal device scans the QR code of the large screen device, a random string is obtained.
[0180] S907: The terminal device sends a random string and account ID to the account server.
[0181] S908, the account server sends the account information corresponding to the account ID to the large screen device.
[0182] S909, login account for large screen devices.
[0183] Understandably, QR code login is faster and more convenient. Large-screen devices can also log in to accounts via SMS verification codes and other methods.
[0184] Figure 10 This is a schematic flowchart illustrating a method for connecting a large-screen device to a smart home platform, provided as an embodiment of this application. Figure 10 As shown, the method includes:
[0185] S1001. When the terminal device discovers the large-screen device, it displays a third control, which is used to indicate access to the smart home platform.
[0186] When the terminal device and the large-screen device are on the same local area network, the terminal device can discover the large-screen device. For specific implementation details, please refer to the above text. Figure 7 The relevant explanations will not be repeated here. Terminal devices can also discover large-screen devices through other near-field connection methods (such as Bluetooth, NFC, etc.).
[0187] For example, the terminal device discovers the large-screen device based on the device connection management module in the smart living system. After the device connection management module discovers the large-screen device, it displays a third control on the display interface of the smart living system.
[0188] S1002, The terminal device receives and responds to the third trigger operation on the third control, and sends an access notification to the large screen device.
[0189] In this embodiment, the third triggering operation may include touch operation, drag operation, gesture triggering operation, and / or mouse click operation. The user triggers the first control through any of the following operations: touch drag, gesture, and / or mouse click.
[0190] For example, the terminal device receives and responds to a third trigger operation on a third control on the smart living display interface, and the terminal device sends an access notification to the large screen device based on the device connection management module.
[0191] In one possible implementation, the terminal device sends an access notification to the large-screen device and then enters the QR code scanning interface.
[0192] S1003: After receiving the access notification, the large-screen device displays a QR code for logging in.
[0193] For example, the large-screen device receives the access notification based on the device connection management module in smart living, and calls the account center to obtain the QR code for the login account, which is then displayed on the interface.
[0194] S1004. When the terminal device scans the QR code of the large screen device, the large screen device logs in to the account.
[0195] For example, the terminal device scans the QR code on the large-screen device and accesses the account in the account center. The large-screen device then logs in to the account based on the account center.
[0196] This method of logging in by scanning a QR code makes it convenient for users and simplifies the account login process.
[0197] S1005. After logging into the account on the large screen device, the large screen device displays the fourth control, which is used to indicate authorized access to the service.
[0198] For example, after logging into an account, a large-screen device displays a fourth control based on the access service.
[0199] S1006. The large-screen device receives and responds to the fourth trigger operation on the fourth control, and sends an access request to the smart home platform.
[0200] For example, a large-screen device sends an access request to the smart home platform based on its account in the access service and account center.
[0201] In a possible implementation, steps S1005 and S1006 are not executed. After the large-screen device logs in to its account, the terminal device displays the fifth control. When the terminal device receives and responds to the fifth trigger operation on the fifth control, it controls the large-screen device to send an access request to the smart home platform to connect the large-screen device to the smart home platform. In this way, access to the service is convenient and quick through authorization and signing by the terminal device.
[0202] S1007. After the large-screen device is connected, the smart home platform sends a message to the terminal device to indicate that the large-screen device connection is complete.
[0203] The discovery process, the encrypted connection establishment process, and the QR code login account process in this application embodiment are similar to the related processes described above, and will not be repeated here.
[0204] In summary, terminal devices can discover large-screen devices, assist them in logging into their accounts, and authorize access services (access services) to connect them to the smart home platform. This reduces user interaction with the large-screen devices, simplifies the process, enhances convenience, and optimizes the user experience. Furthermore, users can use more familiar terminal devices to assist with the large-screen device connection, further improving the user experience.
[0205] The following is combined with Figure 11 right Figure 10 The interface of the terminal device is described in the illustrated method. For example... Figure 11 As shown, Figure 11 The interface shown in 'a' is the main interface for smart living on the terminal device.
[0206] When the terminal device receives a user-triggered discovery control 1101 on the Smart Life main interface, the terminal device can discover the large-screen device. When the terminal device discovers the large-screen device, a pop-up window 1102 may be displayed on the Smart Life main interface. Pop-up window 1102 is used to indicate the large-screen device that needs to be configured.
[0207] When the terminal device is Figure 11 When the user triggers the immediate configuration control 1103 in the pop-up window 1102 of the interface shown in Figure 'a', the terminal device sends an access notification to the large screen device and enters... Figure 11 The scanning interface shown in b is adaptive to large-screen devices, displaying the QR code. This scanning interface includes a scanning control 1104.
[0208] when Figure 11 When the scanning control 1104 in the scanning interface shown in b scans the QR code displayed on the large screen device, the terminal device enters... Figure 11 The QR code login confirmation interface shown in Figure 'c' includes a login control 1105 and a cancellation control. This further confirmation from the user reduces the possibility of accidental operation.
[0209] Understandably, the third control can be Figure 11 Configure control 1103 immediately in the interface shown in 'a'.
[0210] When the terminal device is Figure 11When the QR code login interface shown in 'c' receives the user's login control 1105, the terminal device authorizes the large screen device to log in to the account, and the terminal device enters... Figure 11 The device connection interface shown in d has a label 1106 indicating the next step.
[0211] Identifier 1106 is used to instruct the user to confirm the completion of the smart screen service by controlling the large-screen device, thus connecting to the smart home platform. Once the large-screen device is connected to the smart home platform, the platform sends a message to the terminal device indicating that the connection is complete. Figure 11 Enter the interface shown by d in the middle. Figure 12 The connection success screen shown in 'e' is displayed. This connection success screen displays the identifier 1107 to indicate a successful connection.
[0212] Based on the above embodiments, the large-screen device may already be logged into an account. The terminal device or the large-screen device may also display an account logout prompt on the display interface to inform the user that the large-screen device is already logged into an account.
[0213] In one possible implementation, the QR code interface on the large-screen device may also include an account logout prompt, reminding the user to log out of their logged-in account after scanning the code. For example, such as... Figure 13 As shown, the QR code interface of the large screen device includes QR code 1201 and account logout prompt 1202.
[0214] In the second possible implementation, when the large-screen device receives the access notification and is already logged into an account, it generates an account logout prompt to remind the user to log out of their account. When the large-screen device receives an operation instructing the user to log out, it displays a QR code.
[0215] For example, such as Figure 13 As shown, when the large-screen device receives the access notification and has already logged in with an account, the large-screen device enters... Figure 13 The account interface shown in 'a' is shown in the image. The account interface includes the logout indicator 1301. When the large-screen device is... Figure 13 When the account interface shown in 'a' receives an operation that triggers identifier 1301, it enters... Figure 14 The QR code interface shown in b is shown in the image. This QR code interface includes QR code 1302.
[0216] In the third possible implementation, before the terminal device enters the QR code scanning interface, the terminal device displays an account logout prompt to remind the user to log out of the already logged-in account after scanning the QR code. When the terminal device receives a trigger operation indicating that a new account should be logged in, the terminal device enters the QR code scanning interface.
[0217] The large-screen device access method of the present application embodiments has been described above. The terminal device for executing the above-described large-screen device access method, provided in the embodiments of the present application, is described below. Those skilled in the art will understand that the methods and apparatus can be combined and referenced together, and the terminal device provided in the embodiments of the present application can execute the steps in the above-described large-screen device access method.
[0218] Figure 14 This is a schematic diagram of the hardware structure of a large-screen device access device provided in an embodiment of this application. Please refer to... Figure 15 The device includes a memory 1401, a processor 1402, and an interface circuit 1403. The device may also include a display screen 1404, wherein the memory 1401, processor 1402, interface circuit 1403, and display screen 1404 are communicable. For example, the memory 1401, processor 1402, interface circuit 1403, and display screen 1404 can communicate via a communication bus. The memory 1401 stores computer execution instructions, which are controlled by the processor 1402, and the interface circuit 1403 performs the communication, thereby implementing the method provided in the following embodiments of this application.
[0219] In possible implementations, the computer execution instructions in the embodiments of this application may also be referred to as application code, and the embodiments of this application do not specifically limit this.
[0220] Optionally, the interface circuit 1403 may further include a transmitter and / or a receiver. Optionally, the processor 1402 may include one or more CPUs, or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in this application can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0221] The large-screen device access device provided in this application embodiment is used to execute the large-screen device access device method of the above embodiment. The technical principle and technical effect are similar, and will not be repeated here.
[0222] The hardware structure of large-screen devices can be referenced from the hardware structure of large-screen device access devices, and will not be elaborated here.
[0223] This application provides a terminal device. See the structural details below. Figure 15 . Figure 15A schematic diagram of the terminal device is shown. The terminal device may include components such as: a radio frequency (RF) circuit 110, a memory 120, an input unit 130, a display unit 140, a sensor 150, an audio circuit 160, a wireless fidelity (WiFi) module 170, a processor 180, a power supply 190, and a Bluetooth module 1100. Those skilled in the art will understand that... Figure 15 The terminal device structure shown does not constitute a limitation on the terminal device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0224] The following is combined with Figure 15 A detailed introduction to each component of the terminal device:
[0225] RF circuit 110 can be used for receiving and transmitting signals during information transmission or calls. Specifically, it receives downlink information from the base station and processes it with processor 180; additionally, it transmits uplink data to the base station. Typically, RF circuitry includes, but is not limited to, antennas, at least one amplifier, transceiver, coupler, low-noise amplifier (LNA), duplexer, etc. Furthermore, RF circuit 110 can also communicate wirelessly with networks and other devices. The aforementioned wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, and Short Message Service (SMS).
[0226] The memory 120 can be used to store software programs and modules. The processor 180 executes various functional applications and data processing of the terminal device by running the software programs and modules stored in the memory 120. The memory 120 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback function, image playback function, etc.), a boot loader, etc.; the data storage area may store data created according to the use of the terminal device (such as audio data, phonebook, etc.). In addition, the memory 120 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. It is understood that in this embodiment, the memory 120 stores a program for Bluetooth device reconnection.
[0227] The input unit 130 can be used to receive input numerical or character information, and to generate key signal inputs related to user settings and function control of the terminal device. Specifically, the input unit 130 may include a touch panel 131 and other input devices 132. The touch panel 131, also known as a touch screen, can collect touch operations performed by the user on or near it (such as operations performed by the user using a finger, stylus, or any suitable object or accessory on or near the touch panel 131), and drive the corresponding connection devices according to a pre-set program. Optionally, the touch panel 131 may include two parts: a touch detection device and a touch controller. The touch detection device detects the user's touch position and the signal generated by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to the processor 180, and can receive and execute commands sent by the processor 180. In addition, the touch panel 131 can be implemented using various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 131, the input unit 130 may also include other input devices 132. Specifically, other input devices 132 may include, but are not limited to, one or more of the following: physical keyboard, function keys (such as volume control buttons, power buttons, etc.), trackball, mouse, joystick, etc.
[0228] The display unit 140 can be used to display information input by the user or information provided to the user, as well as various menus of the terminal device. The display unit 140 may include a display panel 141, optionally configured as a liquid crystal display (LCD), organic light-emitting diode (OLED), or similar form. Further, a touch panel 131 may cover the display panel 141. When the touch panel 131 detects a touch operation on or near it, it transmits the information to the processor 180 to determine the type of touch event. Subsequently, the processor 180 provides corresponding visual output on the display panel 141 based on the type of touch event. Although in Figure 15 In this embodiment, the touch panel 131 and the display panel 141 are two separate components to realize the input and output functions of the terminal device. However, in some embodiments, the touch panel 131 and the display panel 141 can be integrated to realize the input and output functions of the terminal device.
[0229] The terminal device may also include at least one sensor 150, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 141 according to the ambient light level, and the proximity sensor can turn off the display panel 141 or the backlight when the terminal device is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity and can be used for applications that identify the terminal device's posture (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition-related functions (such as pedometers, taps), etc. Other sensors that may be configured in the terminal device, such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be described in detail here.
[0230] Audio circuit 160, speaker 161, and microphone 162 provide an audio interface between the user and the terminal device. Audio circuit 160 converts received audio data into electrical signals and transmits them to speaker 161, where speaker 161 converts them into sound signals for output. On the other hand, microphone 162 converts collected sound signals into electrical signals, which are then received by audio circuit 160, converted into audio data, and then processed by processor 180 before being transmitted via RF circuit 110 to, for example, another terminal device, or the audio data can be output to memory 120 for further processing.
[0231] WiFi is a short-range wireless transmission technology. Terminal devices using a WiFi module 170 can help users send and receive emails, browse web pages, and access streaming media, providing users with wireless broadband internet access. Although Figure 1 WiFi module 170 is shown, but it is understood that it is not a necessary component of the terminal device and can be omitted as needed without changing the essence of the invention.
[0232] The processor 180 is the control center of the terminal device. It connects various parts of the terminal device via various interfaces and lines. By running or executing software programs or modules stored in the memory 120, and by calling data stored in the memory 120, it performs various functions and processes data of the terminal device, thereby providing overall monitoring of the terminal device. Optionally, the processor 180 may include one or more processing units; preferably, the processor 180 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 180. It is understood that in this embodiment, the memory 120 stores a program for Bluetooth device reconnection, and the processor 180 can be used to call and execute the Bluetooth device reconnection program stored in the memory 120 to implement the Bluetooth device reconnection method of this embodiment.
[0233] The terminal device also includes a power supply 190 (such as a battery) that supplies power to various components. Preferably, the power supply can be logically connected to the processor 180 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system.
[0234] Bluetooth technology is a short-range wireless transmission technology. Terminal devices can establish Bluetooth connections with other terminal devices equipped with Bluetooth modules via Bluetooth module 1100, thereby transmitting data based on the Bluetooth communication link. Bluetooth module 1100 can be Bluetooth Low Energy (BLE) or a module, depending on actual needs. It is understood that in the embodiments of this application where the terminal device is a user terminal or a business device, the terminal device includes a Bluetooth module. However, it is understood that the Bluetooth module is not a necessary component of the terminal device and can be omitted as needed without changing the essence of the invention; for example, a server may not include a Bluetooth module.
[0235] Although not shown, the terminal device may also include a camera. Optionally, the camera may be positioned on the front, rear, or built-in (extending out of the device during use), and this application embodiment does not limit this.
[0236] The terminal device's memory can be used to store at least one program instruction, and the processor is used to execute at least one program instruction to implement the technical solution of the above method embodiments. Its implementation principle and technical effects are similar to those of the related embodiments of the above method, and will not be repeated here.
[0237] This application provides a terminal device, including: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, causing the processor to perform the above-described method.
[0238] This application provides a large-screen device, including: a processor and a memory; the memory stores computer execution instructions; the processor executes the computer execution instructions stored in the memory, causing the processor to perform the above-described method.
[0239] This application provides a chip. The chip includes a processor, which is used to call a computer program in memory to execute the technical solutions in the above embodiments. Its implementation principle and technical effects are similar to those in the related embodiments described above, and will not be repeated here.
[0240] This application provides a computer program product, including a computer program or instructions, which, when executed by a processor, implement the above-described method. Its implementation principle and technical effects are similar to the related embodiments described above, and will not be repeated here.
[0241] This application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program or instructions that, when executed, implement the described methods. The methods described in the above embodiments can be implemented wholly or partially by software, hardware, firmware, or any combination thereof. If implemented in software, the functionality can be stored as one or more instructions or code on or transmitted over the computer-readable medium. The computer-readable medium can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium accessible by a computer.
[0242] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc-read-only memory (CD-ROM) or other optical disc storage, disk storage or other magnetic storage devices, or any other medium targeted to carry or to store the required program code in the form of instructions or data structures, and accessible by a computer. Furthermore, any connection is appropriately referred to as a computer-readable medium. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. As used herein, disks and optical discs include optical discs, laser discs, optical discs, Digital Versatile Discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs optically reproduce data using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0243] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes A device that provides the functions specified in one or more boxes.
[0244] The above specific embodiments further illustrate the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above are merely specific embodiments of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made on the basis of the technical solution of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for connecting a large-screen device, characterized in that, Applied to an access system, the access system including terminal devices, large-screen devices, and a target platform, the method includes: The terminal device sends a first broadcast; the first broadcast includes: information of a random port and information of a fixed port, wherein the fixed port corresponds to the access service of the target platform; The large-screen device that receives the first broadcast parses the first broadcast and obtains the fixed port in the first broadcast; When the large-screen device determines that the fixed port in the first broadcast is consistent with the local fixed port, it sends a first message to the terminal device. The first message includes: information of the random port and device information of the large-screen device. The terminal device displays a first control according to the first message; the first control is used to instruct the large-screen device to access the target platform. After receiving the first trigger operation for the first control, the terminal device sends an access notification to the large screen device. The large-screen device generates and displays the account entry based on the access notification; The terminal device sends account information to the large-screen device by scanning the account entry; The large-screen device accesses the target platform based on the account information; It also includes: displaying a control for instructing authorization of the access service; wherein the control is displayed on the terminal device after the terminal device receives a first trigger operation on the first control, or after the terminal device sends the account information; or, the control is displayed on the large screen device after the large screen device receives the account information; When the terminal device receives a trigger operation on the control, it sends a notification message to the large-screen device; the notification message includes: the access notification, or a message indicating authorization for the access service; or... When the large-screen device receives a trigger operation for the control, it executes the step of the large-screen device accessing the target platform based on the account information.
2. The method according to claim 1, characterized in that, The first broadcast is a CoAP (Coordinated Application Protocol) broadcast.
3. The method according to claim 1, characterized in that, The display controls used to instruct authorization of the access service include: After receiving a first trigger operation for the first control, the terminal device displays a second control, which is used to indicate authorization for the access service; When the terminal device receives a trigger operation for the control, it sends a notification message to the large-screen device, including: After receiving the second trigger operation for the second control, the terminal device sends the access notification to the large screen device.
4. The method according to claim 1, characterized in that, The display controls used to instruct authorization of the access service include: After receiving the account information, the large-screen device displays a third control, which is used to instruct authorization of the access service; When the large-screen device receives a trigger operation for the control, it executes the step of the large-screen device accessing the target platform based on the account information, including: After receiving the third trigger operation for the third control, the large-screen device accesses the target platform based on the account information.
5. The method according to claim 1, characterized in that, The display controls used to instruct authorization of the access service include: After the terminal device sends the account information to the large screen device by scanning the account entry, the terminal device displays a fourth control, which is used to indicate authorization for the access service; When the terminal device receives a trigger operation for the control, it sends a notification message to the large-screen device, including: After receiving the fourth trigger operation for the fourth control, the terminal device sends a second message to the large screen device, the second message being used to instruct authorization of the access service; The large-screen device accesses the target platform based on the account information, including: After receiving the second message, the large-screen device accesses the target platform based on the account information.
6. The method according to any one of claims 1-5, characterized in that, Before the terminal device sends an access notification to the large-screen device, the method further includes: The terminal device sends a message to the large screen device, the message carrying a key and the device information of the terminal device; The large-screen device sends a third message to the terminal device based on the message, the third message being used to indicate that the key authentication is successful; The terminal device establishes a communication connection with the large screen device based on the third message.
7. The method according to any one of claims 1-5, characterized in that, The method further includes: When the large-screen device logs into the first account before displaying the account entry according to the access notification, the large-screen device generates a prompt message, which indicates that the large-screen device has logged into the first account.
8. The method according to any one of claims 1-5, characterized in that, After the large-screen device accesses the target platform based on the account information, the method further includes: The target platform sends a fourth message to the terminal device, the fourth message being used to instruct the large-screen device to access the target platform.
9. The method according to any one of claims 1-5, characterized in that, The target platform includes a smart home platform, and the account entry includes a QR code.
10. A method for connecting a large-screen device, characterized in that, Applied to a terminal device, the method includes: The terminal device sends a first broadcast, so that the large-screen device receiving the first broadcast can parse the first broadcast to obtain the fixed port in the first broadcast, and when it is determined that the fixed port in the first broadcast is consistent with the local fixed port, it sends a first message to the terminal device; wherein, the first broadcast includes: information of a random port and information of a fixed port, the fixed port corresponding to the access service of the target platform; the first message includes: information of the random port and device information of the large-screen device; The terminal device receives the first message and displays a first control according to the first message; the first control is used to instruct the large screen device to access the target platform; After receiving the first trigger operation for the first control, the terminal device sends an access notification to the large screen device, so that the large screen device generates and displays the account entry according to the access notification; The terminal device sends account information to the large-screen device by scanning the account entry, so that the large-screen device can access the target platform based on the account information; the account information is used to access the target platform. It also includes: the terminal device displaying a control for instructing authorization of the access service; wherein the control is displayed after the terminal device receives a first trigger operation on the first control, or after the terminal device sends the account information; when the terminal device receives a trigger operation on the control, it sends a notification message to the large screen device; the notification message includes: the access notification, or a message for instructing authorization of the access service.
11. The method according to claim 10, characterized in that, The first broadcast is a CoAP (Coordinated Application Protocol) broadcast.
12. The method according to claim 10, characterized in that, The terminal device displays controls for instructing authorization of the access service, including: After receiving a first trigger operation for the first control, the terminal device displays a second control, which is used to indicate authorization for the access service; When the terminal device receives a trigger operation for the control, it sends a notification message to the large-screen device, including: After receiving the second trigger operation for the second control, the terminal device sends the access notification to the large screen device.
13. The method according to claim 10, characterized in that, The terminal device displays controls for instructing authorization of the access service, including: After the terminal device sends the account information to the large screen device by scanning the account entry, the terminal device displays a fourth control, which is used to indicate authorization for the access service; When the terminal device receives a trigger operation for the control, it sends a notification message to the large-screen device, including: After receiving the fourth trigger operation for the fourth control, the terminal device sends a second message to the large screen device, the second message being used to instruct authorization of the access service.
14. The method according to any one of claims 10-13, characterized in that, Before the terminal device sends an access notification to the large-screen device, the method further includes: The terminal device sends a message to the large screen device, the message carrying a key and the device information of the terminal device; The terminal device receives a third message sent by the large screen device according to the message, the third message being used to indicate that the key authentication is successful; The terminal device establishes a communication connection with the large screen device based on the third message.
15. The method according to any one of claims 10-13, characterized in that, After the terminal device sends account information to the large-screen device by scanning the account entry, the method further includes: The terminal device receives a fourth message sent by the target platform, the fourth message being used to instruct the large-screen device to access the target platform.
16. The method according to any one of claims 10-13, characterized in that, The target platform includes a smart home platform, and the account entry includes a QR code.
17. A method for connecting a large-screen device, characterized in that, Applied to large-screen devices, the method includes: The large-screen device receives an access notification sent by the terminal device; the access notification is sent by the terminal device to the large-screen device after it discovers the large-screen device and displays the first control, and after receiving the first trigger operation for the first control; the first control is used to instruct the large-screen device to access the target platform; The large-screen device generates and displays an account entry based on the access notification, so that the terminal device can send account information to the large-screen device by scanning the account entry; The large-screen device receives the account information sent by the terminal device through scanning the account entry; The large-screen device accesses the target platform based on the account information; Before the large-screen device receives the access notification sent by the terminal device, the method further includes: The large-screen device receives a first broadcast sent by the terminal device; the first broadcast includes: information of a random port and information of a fixed port, wherein the fixed port corresponds to the access service of the target platform; The large-screen device parses the first broadcast to obtain the fixed port in the first broadcast; When the large-screen device determines that the fixed port in the first broadcast is consistent with the local fixed port, it sends a first message to the terminal device to make the terminal device display the first control; the first message includes: information of the random port and device information of the large-screen device; Also includes: The large-screen device receives a notification message from the terminal device; wherein, the notification message is sent by the terminal device after receiving a trigger operation for a control used to indicate authorized access to the service, and the control is displayed on the terminal device after the terminal device receives a first trigger operation for the first control, or after the terminal device sends the account information; the notification message includes: the access notification, or a message used to indicate authorized access to the service; When the notification message is the access notification, the large screen device performs the step of generating and displaying the account entry based on the access notification; or, when the notification message is a message used to indicate authorized access to the service, the large screen device performs the step of accessing the target platform based on the account information. or, After receiving the account information, the large-screen device displays a control for instructing authorized access to the service; after receiving a trigger operation on the control, the large-screen device executes the step of accessing the target platform based on the account information.
18. The method according to claim 17, characterized in that, The first broadcast is a CoAP (Coordinated Application Protocol) broadcast.
19. The method according to claim 17, characterized in that, Before the large-screen device receives the access notification sent by the terminal device, the method further includes: The large-screen device receives a message sent by the terminal device, the message carrying a key and the device information of the terminal device; The large-screen device sends a third message to the terminal device based on the message, the third message being used to indicate that the key authentication is successful; The large-screen device and the terminal device establish a communication connection based on the third message.
20. The method according to any one of claims 17-19, characterized in that, The method further includes: When the large-screen device logs into the first account before displaying the account entry according to the access notification, the large-screen device generates a prompt message, which indicates that the large-screen device has logged into the first account.
21. The method according to any one of claims 17-19, characterized in that, The target platform includes a smart home platform, and the account entry includes a QR code.
22. A terminal device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 10-16.
23. A large-screen device, characterized in that, include: Processor and memory; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 17-21.
24. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program or instructions that, when executed, implement the method as described in any one of claims 10-16, or the method as described in any one of claims 17-21.
25. A computer program product comprising a computer program or instructions, characterized in that, When the computer program or instructions are executed by a processor, they implement the method as described in any one of claims 10-16, or the method as described in any one of claims 17-21.
Citation Information
Patent Citations
Method, system and device for authorization aiming at intelligent household electrical appliance
CN103023917A
Binding method of user operation terminal and household appliance control device and household appliance control system
CN103914041A
Binding method, binding device, terminal, server and readable storage medium
CN107566225A
Method and device of connecting smart device and storage medium
CN108810866A
Intelligent household equipment control method and equipment, and storage medium
CN112764350A