A display method, apparatus and electronic device

By using the first application on the mobile terminal and employing multiple protocols to obtain and display a list of electronic devices, the problem of users having difficulty finding devices to add is solved, and a convenient device addition process is achieved.

CN119420976BActive Publication Date: 2026-01-06JUHAOKAN TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410009495.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-01-03
Publication Date
2026-01-06
Estimated Expiration
2044-01-03

AI Technical Summary

Technical Problem

When users control electronic devices through terminal devices, it is difficult to find the devices that can be added, especially due to the difficulty in adding devices caused by the different levels of user proficiency.

Method used

The first application on the mobile terminal uses LAN protocol, Bluetooth protocol and Digital Life Network Alliance protocol to obtain the electronic devices that can be added in the current environment, generate a display list, and display the device list pop-up window on the target page for users to view and add.

Benefits of technology

Users do not need to manually obtain the devices to be added; they can directly view and add electronic devices on their terminal devices, avoiding difficulties in adding devices due to varying levels of proficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420976B_ABST
    Figure CN119420976B_ABST
Patent Text Reader

Abstract

The present disclosure relates to the technical field of display, and particularly relates to a display method, a display device and an electronic device, which are used for solving the problem of how to conveniently let the user find the electronic device which can be currently added. The method comprises the following steps: in response to a starting operation, acquiring two electronic devices which can be currently added in the current environment through a target protocol; wherein the target protocol comprises a local area network protocol, a Bluetooth protocol and a digital living network alliance protocol; generating a display list based on the electronic device; wherein the display list comprises one or more electronic devices; if there is no other preset pop-up window to be displayed at present, and the currently displayed page is a target page, displaying a device list pop-up window in the target page according to the display list.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of display technology, and more particularly to a display method, apparatus, and electronic device. Background Technology

[0002] Currently, more and more electronic devices (such as televisions and refrigerators) support remote control. For example, users can control the television to turn on and off, or adjust the refrigerator's operating mode through the terminal device.

[0003] Typically, when a user controls an electronic device through a terminal device, they need to bind the electronic device to the terminal device. This process requires the user to manually obtain the currently available electronic devices and select the desired device to bind. After binding, the user can control the electronic device through the terminal device. However, due to varying levels of proficiency with terminal devices among users, they often encounter the problem of not being able to find currently available electronic devices when adding them.

[0004] Therefore, making it easy for users to find currently available electronic devices has become an urgent problem to be solved. Summary of the Invention

[0005] To address the aforementioned technical problems, this disclosure provides a display method, apparatus, and electronic device.

[0006] The technical solution disclosed herein is as follows:

[0007] In a first aspect, this disclosure provides an electronic device, including: a processor configured to, in response to a startup operation, control a communicator to obtain, via a target protocol, electronic devices that can be added in the current environment; wherein the target protocol includes a local area network protocol, a Bluetooth protocol, and a Digital Living Network Alliance protocol; the processor is further configured to generate a display list based on the electronic devices; wherein the display list includes one or more electronic devices; the processor is further configured to, if there are no other preset pop-ups to display and the currently displayed page is the target page, display a device list pop-up window on the target page according to the display list.

[0008] Secondly, this disclosure provides a display method, comprising: in response to a startup operation, obtaining two addable electronic devices in the current environment through a target protocol; wherein the target protocol includes a local area network protocol, a Bluetooth protocol, and a Digital Living Network Alliance protocol; generating a display list based on the electronic devices; wherein the display list includes one or more electronic devices; if there are no other preset pop-ups to display, and the currently displayed page is the target page, displaying a device list pop-up window in the target page according to the display list.

[0009] Thirdly, this disclosure provides an electronic device, including: a memory and a processor, wherein the memory is used to store a computer program; and the processor is used to cause the electronic device to implement any of the display methods provided in the second aspect when executing the computer program.

[0010] Fourthly, the present invention provides a computer-readable storage medium comprising: storing a computer program on the computer-readable storage medium, the computer program being executed by a processor of a display method as provided in any of the second aspects.

[0011] Fifthly, the present invention provides a computer program product that, when run on a computer, causes the computer to perform a display method as provided in any of the second aspects.

[0012] It should be noted that the aforementioned computer instructions may be stored, in whole or in part, on the first computer-readable storage medium. The first computer-readable storage medium may be packaged together with the processor of the electronic device, or it may be packaged separately from the processor of the electronic device; this disclosure does not impose any limitations on this.

[0013] The descriptions of the second, third, fourth, and fifth aspects in this disclosure can be referenced to the detailed description of the first aspect; and the beneficial effects of the descriptions of the second, third, fourth, and fifth aspects can be referenced to the analysis of the beneficial effects of the first aspect, which will not be repeated here.

[0014] In this disclosure, the names of the aforementioned electronic devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear under other names. As long as the functions of each device or functional module are similar to those of this disclosure, they fall within the scope of the claims of this disclosure and their equivalents.

[0015] These or other aspects of this disclosure will become more readily apparent in the following description.

[0016] The technical solution provided in this disclosure has the following advantages compared with the prior art:

[0017] The electronic devices provided in this disclosure can be mobile terminals. Users can control electronic devices (such as televisions, refrigerators, etc.) through the mobile terminal. If the electronic device and the mobile terminal are not bound together, the user can open a first application on the mobile terminal. The first application, in response to the launch operation, obtains at least two addable electronic devices in the current environment through target protocols. These target protocols include LAN protocols, Bluetooth protocols, and the Digital Life Network Alliance (DNL). The first application then deduplicates the electronic devices already bound to the current account and the at least two addable electronic devices in the current environment to obtain the addable electronic devices. Next, if no other preset pop-ups are displayed and the currently displayed page is the target page, the first application displays a device list pop-up window on the target page. This device list pop-up window includes each addable electronic device. Thus, the user can view the electronic devices to be added in the device list pop-up window displayed on the target page, such as the homepage, and perform the corresponding addition operation.

[0018] As can be seen, by using the display method provided in this disclosure, when a user needs to add an electronic device, the user only needs to open the first application installed on the terminal device to view the electronic devices that can be added in the current environment on the target page. The user does not need to manually obtain the electronic devices that can be added, thus avoiding the problem that users often cannot find the electronic devices that can be added due to different levels of proficiency in using the terminal device. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0020] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 A schematic diagram of a scenario for the display method provided in an embodiment of this application;

[0022] Figure 2 This is one of the structural schematic diagrams of the display device provided in the embodiments of this application;

[0023] Figure 3 This is a second schematic diagram of the structure of the display device provided in the embodiments of this application;

[0024] Figure 4One of the flowcharts of the display method provided in the embodiments of this application;

[0025] Figure 5 One of the scenario diagrams illustrating the display method provided in the embodiments of this application;

[0026] Figure 6 A second schematic diagram of a scenario for the display method provided in an embodiment of this application;

[0027] Figure 7 A third schematic diagram of a scenario illustrating the display method provided in this application embodiment;

[0028] Figure 8 Fourth scenario illustration of the display method provided in the embodiments of this application;

[0029] Figure 9 Fifth scenario illustration of the display method provided in the embodiments of this application;

[0030] Figure 10 A second schematic flowchart illustrating the display method provided in an embodiment of this application;

[0031] Figure 11 The third schematic flowchart of the display method provided in the embodiments of this application;

[0032] Figure 12 The fourth schematic flowchart of the display method provided in the embodiments of this application;

[0033] Figure 13 Fifth schematic flowchart of the display method provided in the embodiments of this application;

[0034] Figure 14 A flowchart illustrating the display method provided in this application embodiment is shown in Figure 6.

[0035] Figure 15 Seventh schematic flowchart of the display method provided in the embodiments of this application;

[0036] Figure 16 Eighth schematic flowchart of the display method provided in the embodiments of this application;

[0037] Figure 17 This is the ninth flowchart illustrating the display method provided in the embodiments of this application. Detailed Implementation

[0038] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0039] Numerous specific details are set forth in the following description in order to provide a full understanding of this disclosure, but this disclosure may also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some, and not all, of the embodiments of this disclosure.

[0040] The display device provided in this application can have various implementation forms, such as a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 and Figure 1 This is one specific embodiment of the display device of this application.

[0041] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0042] In this embodiment of the disclosure, a tab page refers to an interface design similar to a tab page, which typically uses a series of independent tabs at the top of the page to display different content areas of the same page.

[0043] Figure 1 This is a schematic diagram illustrating an operational scenario between a home appliance and a control device according to one or more embodiments of this application, such as... Figure 1 As shown, a user can operate the display device 200 via a mobile terminal 300 and / or a control device 100. The control device 100 can be a remote control, and communication between the remote control and the display device includes infrared protocol communication, Bluetooth protocol communication, wireless, or other wired methods to control the display device 200. The user can input user commands through buttons on the remote control, voice input, control panel input, etc., to control the display device 200. In some embodiments, a mobile terminal, tablet computer, computer, laptop computer, and other smart devices can also be used to control the display device 200.

[0044] In some embodiments, the electronic device provided in this application can be the mobile terminal 300 described above. When using the mobile terminal 300, the user can control the display device 200. If the display device 200 and the mobile terminal 300 are not bound together, the user can open a first application on the mobile terminal 300. In response to the launch operation, the first application obtains the electronic devices that can be added in the current environment through a target protocol. The target protocol includes LAN protocols, Bluetooth protocols, and the Digital Life Network Alliance protocol. Then, the first application generates a display list based on the electronic devices; the display list includes one or more electronic devices. When the first application determines that there are no other preset pop-ups to display and the currently displayed page is the target page, it displays a device list pop-up window on the target page according to the display list. Thus, the user can view the display device 200 that needs to be added in the device list pop-up window displayed on the target page, such as the homepage, and perform the corresponding addition operation.

[0045] As can be seen, by using the display method provided in this embodiment, when a user needs to add an electronic device, the user only needs to open the first application installed on the terminal device to view the electronic devices that can be added in the current environment on the target page. The user does not need to manually obtain the electronic devices that can be added, thereby avoiding the problem that users often cannot find the electronic devices that can be added due to different levels of proficiency in using the terminal device.

[0046] Figure 2 A hardware configuration block diagram of a display device 200 according to an exemplary embodiment is shown. For example... Figure 2 The display device 200 shown includes at least one of the following: a tuner / demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a memory, a power supply, and a user interface 280. The controller includes a central processing unit, a video processor, an audio processor, a graphics processor, RAM, ROM, and a first to nth interface for input / output. The display 260 may be a touch-enabled display, such as a touch screen display. The detector 230 is used to acquire signals from the external environment or for interaction with the external environment.

[0047] In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display device 200.

[0048] In some examples, the display device 200 of one or more embodiments is a television 1, and the operating system of the television 1 is the Android system, for example... Figure 3 As shown, TV 1 can be logically divided into an application layer (referred to as "application layer") 21, an application framework layer (referred to as "framework layer") 22, an Android runtime and system library layer (referred to as "system runtime library layer") 23, and a kernel layer 24.

[0049] The application layer 21 includes one or more applications. These applications can be system applications or third-party applications. The framework layer 22 provides application programming interfaces (APIs) and programming frameworks for the applications in the application layer 21. The system runtime library layer 23 provides support for the upper layer, namely the framework layer 22. When the framework layer 22 is used, the Android operating system runs the C / C++ libraries contained in the system runtime library layer 23 to implement the functions required by the framework layer 22. The kernel layer 24 acts as a software middleware between the hardware layer and the application layer 21, and is used to manage and control hardware and software resources.

[0050] In some examples, while using mobile terminal 300, a user can control television 1 through mobile terminal 300. If television 1 and mobile terminal 300 are not bound together, the user can open a first application on mobile terminal 300. In response to the launch operation, the processing unit 201 of the first application controls the acquisition unit 202 to obtain the electronic devices that can be added in the current environment through target protocols. These target protocols include LAN protocols, Bluetooth protocols, and the Digital Life Network Alliance protocol. Then, based on the electronic devices obtained by the acquisition unit 202, the processing unit 201 of the first application generates a display list; the display list includes one or more electronic devices. Next, if the processing unit 201 determines that there are no other preset pop-ups to display and the currently displayed page is the target page, it controls the display unit 203 to display a device list pop-up window on the target page according to the display list. Thus, the user can view the electronic devices to be added in the device list pop-up window displayed on the target page, such as viewing television 1 in the device list pop-up window displayed on the homepage, and perform the corresponding addition operation.

[0051] Specifically, when the executing entity of the display method provided in this embodiment is a mobile terminal 300, the storage unit 204 of the mobile terminal 300 is used to store data such as program code of the display method provided in this embodiment.

[0052] In the following embodiments, the television set 1 described above is used as the execution subject for the display method provided in the embodiments of this disclosure to illustrate the method of this application.

[0053] This application provides a display method applied to a television set 1, such as... Figure 4 As shown, the display method may include S11-S13.

[0054] S11. In response to the startup operation, obtain the electronic devices that can be added in the current environment through the target protocols. The target protocols include LAN protocols, Bluetooth protocols, and the Digital Living Network Alliance (DLNA) protocol.

[0055] In some examples, in response to the startup operation, the first application sends broadcast information using the target protocol. After receiving the broadcast information sent by the first application, the electronic device reports configuration information to the first application. For example, when the target protocol is Bluetooth, the configuration information includes the Media Access Control Address (MAC) corresponding to the mobile hotspot module of the mobile terminal 300 and the Bluetooth identifier (the code information of the Bluetooth module). When the target protocol is a local area network protocol, the configuration information includes the local area network identifier (the code information of the Wi-Fi module).

[0056] In some examples, after the first application starts, it automatically discovers a first electronic device, such as a TV, stereo, or game console, that is on the same local area network as the terminal device currently installed by the first application via DLNA service. The first application also automatically discovers a second electronic device, such as a washing machine, dryer, or dishwasher, that is on the same local area network as the terminal device currently installed by the first application via Bluetooth service and / or LAN service.

[0057] It should be noted that the first application starts the DLNA service, Bluetooth service and LAN service immediately after the first application starts. The new devices (such as the first electronic device and / or the second electronic device) discovered by the DLNA service, Bluetooth service and LAN service are stored in the "Device Update Subunit" of the first application. After the "Upgrade Detection Subunit" and "Boot Detection Subunit" have completed their detection, the application will start to actively notify the device list pop-up of the changes.

[0058] In some examples, the processing unit also includes a device update subunit, an upgrade detection subunit, a boot detection subunit, and a home tab manager.

[0059] After the first application starts, the upgrade detection subunit checks the version information, such as the detection information carrying the current version information sent by the first application to the IoT server. Upon receiving the detection information from the first application, the IoT server determines if there is new version information. If new version information is available, the IoT server sends upgrade information to terminal devices with the first application installed. After receiving the upgrade information from the IoT server, the upgrade detection subunit of the first application adds an upgrade pop-up to the homepage tab manager. When the homepage tab manager determines that the upgrade pop-up needs to be displayed, it initializes the PageStatus to a non-started state. PageStatus includes pop-up label attributes (upgrade, guide) and display status (not started, displaying, and finished). The upgrade pop-up is then inserted into pageList, which is initialized to an empty list. The homepage tab manager determines that the current homepage is the target page (e.g., the homepage identifier indicates that the current homepage is the homepage), displays the upgrade pop-up on the target page, and simultaneously sends an indication message to the upgrade detection subunit that the upgrade pop-up has been displayed. Subsequently, the upgrade detection subunit, in response to the closing operation of the upgrade pop-up, sends a pop-up closing instruction to the main page tab manager. The main page tab manager retrieves the corresponding PageStatus from pageList and changes its display status to "Ended." If the main page display changes, the main page identifier changes, or the device update subunit determines that the display list has changed, and the main page tab manager determines that the current page is not the target page, then it does nothing. If the main page tab manager determines that the current page is the target page, and all pop-ups in pageList have a display status of "Ended," and deviceListshowed is false, and there is a displayable list, then it displays the pop-up in the device list pop-up according to the display list. If the main page tab manager determines that the current page is the target page, and not all pop-ups in pageList have a display status of "Ended," and there is a pop-up currently being displayed, then it continues to display that pop-up. If the main page tab manager determines that the current page is the target page, and not all pop-ups in pageList have a display status of "Ended," and there is no pop-up currently being displayed, then it removes the next display pop-up from pageList and displays it. If the homepage tab manager determines that the current page is not the target page, it will not perform any action. If the homepage tab manager determines that the current page is the target page, and the display status of the pop-ups in pageList is all "Ended", and deviceListshowed is not all false, the homepage tab manager will notify the device to update the sub-units to continue retrieving the display list.

[0060] If the homepage tab manager determines that the current page is not the target page, it will not perform any action. If the homepage tab manager determines that the current page is the target page, and the pop-ups in pageList are all in the "Ended" state, and deviceListshowed is all false, and there is no list to display, it will continue to wait.

[0061] It should be noted that the process of displaying and closing the user guidance pop-up in the guidance detection subunit is similar to the process of displaying and closing the upgrade pop-up in the upgrade detection subunit, and will not be described again here.

[0062] In some examples, because Bluetooth and LAN services may discover the same electronic devices, it's necessary to deduplicate the discovered devices. For instance, if a second electronic device is already network-connected (i.e., it can establish a communication connection with the LAN), it can be discovered via both Bluetooth and LAN protocols. Therefore, the same electronic device can be discovered as two devices: one discovered by the LAN service and the other by the Bluetooth service. However, when displaying the device list in the pop-up window, it's necessary to prioritize showing the user the electronic devices discovered by the LAN service and filter out duplicate devices discovered by the Bluetooth service. This necessitates deduplicating the discovered devices.

[0063] In some examples, the broadcast packet content of electronic devices discovered by the local area network service or by the Bluetooth service is shown in Table 1:

[0064] Table 1

[0065]

[0066] The Wi-Fi ID definition rules for the Wi-Fi module are as follows:

[0067] To distinguish product information, the wifiId begins with the product model number (featureCode) in the first target digits, such as 24 digits. Then, the MAC address corresponding to the wifi module in the second target digits is concatenated after the featureCode, such as 12 digits. This gives the wifiId (if the first target digit is 24 digits and the second target digit is 12 digits, the length of the wifiId is 36 bits).

[0068] For example, the wifiId is "86100c00fffe00600000004038640773889c", where the featureCode is "86100c00fffe006000000040" and the MAC address is "38640773889c".

[0069] Bluetooth module local_name definition rules:

[0070] To distinguish it from devices from other manufacturers, local_name begins with the target identifier, such as "HIS-".

[0071] Next, append the last N digits of the Wi-Fi ID corresponding to the Wi-Fi module after the target identifier. For example, if the Wi-Fi ID is "86100c00fffe00600000004038640773889c", N equals 4. At this point, we can determine that the local_name is "HIS-889c".

[0072] S12. Generate a display list based on electronic devices; wherein the display list includes one or more electronic devices.

[0073] In some examples, based on the actual identifier in the information reported by the electronic device, a query can be performed in the device category list to determine if there is a theoretical identifier that matches the actual identifier. The network identifier corresponding to the theoretical identifier that matches the actual identifier is used to indicate that the electronic device supports IoT functions. When the device model information is obtained based on the configuration information of the electronic device corresponding to the actual identifier, a display list is generated based on the device model information. The device model information includes at least the device icon, device name, and device model, and the display list includes the electronic device corresponding to each device model.

[0074] In some examples, the actual identifier includes a LAN device identifier or a Bluetooth pairing device identifier.

[0075] In some examples, in response to the startup operation, the first application in the mobile terminal 300 calls the Bluetooth module of the mobile terminal 300 to obtain the reported information from electronic devices in the current environment, such as the content of Bluetooth broadcast packets. After parsing the content of the broadcast packets, the application connects to the IoT server 400 to obtain the device model information. In addition, after the first application successfully pairs with the electronic device via Bluetooth, as long as the first application and the electronic device are on the same local area network (LAN), they can use the LAN discovery protocol to determine whether the electronic device is connected to that LAN.

[0076] In some examples, the device category list pre-configures the correspondence between theoretical identifiers and network identifiers. For example, the network identifier is the netconfigStatus identifier (where netconfigStatus is 0, it means that the electronic device does not support IoT functions; netconfigStatus is 1, it means that the electronic device supports IoT functions). The theoretical identifier includes the LAN device identifier (deviceIdCode) or the Bluetooth configuration device identifier (deviceIdCodeBLE).

[0077] In some examples, deviceIdCodeBLE is obtained from the manufacturer data in the Bluetooth broadcast packet.

[0078] In some examples, the reported information includes Bluetooth broadcast packets. When the first application receives a Bluetooth broadcast packet reported by an electronic device in the current environment, it parses the packet to determine the actual identifier (e.g., deviceIdCodeBLE1). Then, based on deviceIdCodeBLE1, it queries the device category list to determine the theoretical identifier in the list that matches deviceIdCodeBLE1, as well as the network identifier corresponding to that theoretical identifier. If the network identifier indicates that the electronic device supports IoT functionality, it sends configuration information for the electronic device corresponding to deviceIdCodeBLE1 to the IoT server. After receiving the configuration information from the mobile terminal, the IoT server queries the database based on the configuration information to obtain the device model information. The IoT server then sends the device model information to the mobile terminal, allowing the mobile terminal to display the device in the display list based on the device model information sent by the IoT service. Alternatively, if the network identifier indicates that the electronic device does not support IoT functionality, the electronic device corresponding to deviceIdCodeBLE1 is deleted. Alternatively, the system queries the device category list based on deviceIdCodeBLE1 to identify the theoretical identifier that matches deviceIdCodeBLE1 and the corresponding network identifier. If the network identifier indicates that the electronic device supports IoT functionality, the system sends configuration information for the electronic device corresponding to deviceIdCodeBLE1 to the IoT server. Upon receiving the configuration information from the mobile terminal, the IoT server queries its database. If no device model information is found, the IoT server sends target information to the mobile terminal indicating that no device model information was found. Upon receiving this target information, the mobile terminal queries the device category list based on deviceIdCodeBLE1. If a device icon and name exist for the device category corresponding to the theoretical identifier of deviceIdCodeBLE1, the mobile terminal uses the device icon and name for that device category as the device model information. The mobile terminal can then display the device in the display list based on the device model information. Alternatively, a query is performed in the device category list based on deviceIdCodeBLE1 to determine the theoretical identifier that matches deviceIdCodeBLE1 in the list, as well as the network identifier corresponding to that theoretical identifier. If the network identifier is used to indicate that the electronic device supports IoT functions, then the configuration information of the electronic device corresponding to deviceIdCodeBLE1 is sent to the IoT server.After receiving configuration information from the mobile terminal, the IoT server queries its database based on this information. If no device model information is found, the IoT server sends a target message to the mobile terminal indicating that no device model information was obtained. Upon receiving this target message, the mobile terminal queries the device category list based on `deviceIdCodeBLE1`. If the theoretical identifier corresponding to `deviceIdCodeBLE1` does not have a corresponding device icon and name, the mobile terminal queries its database based on `deviceIdCodeBLE1`. If a pre-configured local icon and name corresponding to `deviceIdCodeBLE1` exist, these are used as the device model information. The mobile terminal can then display the device in the display list based on this device model information.

[0079] In some examples, the reported information includes an online packet. When the first application receives an online packet reported by an electronic device in the current environment, it parses the packet to determine the actual identifier (e.g., deviceIdCode1). Then, based on deviceIdCode1, it queries the device category list to determine the theoretical identifier in the list that matches deviceIdCode1, as well as the network identifier corresponding to that theoretical identifier. If the network identifier indicates that the electronic device supports IoT functionality, it sends the configuration information of the electronic device corresponding to deviceIdCode1 to the IoT server. After receiving the configuration information sent by the mobile terminal, the IoT server queries the database based on the configuration information to obtain the device model information. Then, the IoT server sends the device model information to the mobile terminal, allowing the mobile terminal to display the device in the display list based on the device model information sent by the IoT service.

[0080] Alternatively, if the network identifier indicates that the electronic device does not support IoT functionality, the electronic device corresponding to deviceIdCode1 is deleted. Alternatively, a query is performed in the device category list based on deviceIdCode1 to determine the theoretical identifier in the device category list that is identical to deviceIdCode1, and the network identifier corresponding to that theoretical identifier. If the network identifier indicates that the electronic device supports IoT functionality, configuration information carrying the electronic device corresponding to deviceIdCode1 is sent to the IoT server. After receiving the configuration information sent by the mobile terminal, the IoT server queries the database based on the configuration information. If no device model information is found, the IoT server sends target information to the mobile terminal indicating that no device model information has been obtained. After receiving the target information sent by the IoT server, the mobile terminal queries the device category list based on deviceIdCode1. If a device icon and device name exist for the device category corresponding to the theoretical identifier of deviceIdCode1, the device icon and device name corresponding to that device category are used as the device model information. In this way, the mobile terminal can display the device in the display list based on the device model information. Alternatively, the system queries the device category list based on deviceIdCode 1 to determine the theoretical identifier in the list that matches deviceIdCode 1, as well as the network identifier corresponding to that theoretical identifier. If the network identifier indicates that the electronic device supports IoT functionality, the system sends configuration information of the electronic device corresponding to deviceIdCode 1 to the IoT server. After receiving the configuration information from the mobile terminal, the IoT server queries its database based on the configuration information. If no device model information is found, the IoT server sends target information to the mobile terminal indicating that no device model information has been obtained. After receiving the target information from the IoT server, the mobile terminal queries the device category list based on deviceIdCode 1. If the theoretical identifier corresponding to deviceIdCode 1 does not have a corresponding device icon and device name, the mobile terminal queries its database based on deviceIdCode 1. If a pre-configured local icon and local name corresponding to deviceIdCode 1 exist, the local icon and local name are used as the device model information. In this way, the mobile terminal can display the device in the display list based on the device model information.

[0081] In some examples, if the target protocol indicates that only one electronic device can be added to the current environment, a display list is generated directly.

[0082] In some examples, when the target protocol retrieves two or more addable electronic devices for the current environment, deduplication of these addable devices is required to obtain a display list. For instance, when deduplicating the electronic devices already bound to the current account and the at least two addable electronic devices for the current environment, since there is a re-retrieval issue between electronic devices obtained via Bluetooth and those obtained via LAN protocol, deduplication can be performed first on the electronic devices obtained via LAN and Bluetooth protocols respectively to obtain deduplicated electronic devices. Then, the deduplicated electronic devices are merged with the electronic devices obtained via the Digital Life Network Alliance protocol to obtain merged electronic devices. Since some of these merged electronic devices are already bound to the currently logged-in account of the first application, deduplication of the already bound electronic devices and the merged electronic devices is required to obtain displayable electronic devices. Finally, based on the displayable electronic devices, a display list containing each displayable electronic device is generated. For example, electronic devices in the merged electronic devices that are identical to those already bound to the current account (e.g., identical device identifiers used to uniquely identify electronic devices) are deleted, thus obtaining the displayable electronic devices.

[0083] S13. If there are no other preset pop-ups to display, and the currently displayed page is the target page, display the device list pop-up in the target page according to the display list.

[0084] In some examples, the display conditions for the device list pop-up include:

[0085] 1. The device list pop-up is displayed only once during the lifecycle of the first application (after startup, before the process is killed in the background). For example, after the first application starts, a display flag is recorded, such as deviceListShowed, whose default value is false. After the device list pop-up is displayed on the target page, the default value of this display flag is set to true. The device list pop-up will not be displayed the next time the target page is displayed again.

[0086] 2. The first application must load successfully on the target page and be displayed on the top layer. For example, if the target page fails to load, the device list pop-up will not be displayed even if there are devices to display in the current device list pop-up. The device list pop-up will only be allowed to be displayed if the currently displayed top-level page is the target page.

[0087] 3. There are currently electronic devices that can be added.

[0088] The device list pop-up will only be displayed when the number of addable electronic devices is greater than 1.

[0089] In some examples, the target page can be the homepage.

[0090] In some examples, the first application responds to the launch action by first displaying, as shown below. Figure 5 The startup page shown leads to the designated homepage, such as the homepage. The first application includes at least one homepage; for example, if the first application includes four homepages, they are as follows: Figure 6 The homepage shown is 1, as follows: Figure 7 Homepage 2 as shown Figure 8 Homepage 3 and as shown Figure 9 As shown in Homepage 4. When the user sets Homepage 1 as their homepage, the first application responds to the startup operation and first enters the following page: Figure 5 The startup page shown above leads to... Figure 6 The homepage shown.

[0091] In some examples, one homepage corresponds to one tab page. The homepage is the first tab page of the main page (i.e., the page displayed after the initial launch screen of the first application). Pop-ups may be displayed above the homepage, such as any one of the following: upgrade pop-up 3-1, user onboarding pop-up 4-1, or device list pop-up 5-1. Only one pop-up can be displayed at a time.

[0092] In some examples, the display priority of pop-ups includes that of upgrade pop-ups, which have a higher priority than user onboarding pop-ups, and user onboarding pop-ups have a higher priority than device list pop-ups.

[0093] In some examples, because the first application uses hybrid stack routing management, the tab page can have two forms: Flutter pages (such as Homepage 1, Homepage 4, etc.) and Native pages (such as splash screen, Homepage 2, Homepage 3, etc.). If the pop-ups are displayed according to priority, it is necessary to ensure that the higher-priority pop-ups do not exist or are closed before displaying subsequent pop-ups. Therefore, when displaying the device list pop-up, it is necessary to ensure that the upgrade pop-up and user onboarding pop-up are closed.

[0094] As can be seen from the above, when a user needs to add an electronic device using the display method provided in this disclosure, the user only needs to open the first application installed on the terminal device to view the electronic devices that can be added in the current environment on the target page. The user does not need to manually obtain the electronic devices that can be added, thus avoiding the problem that users often cannot find the electronic devices that can be added due to different levels of proficiency in using the terminal device.

[0095] In some feasible examples, combining Figure 4 ,like Figure 10 As shown, the above S12 can be specifically implemented through the following S120-S122.

[0096] S120: Perform deduplication processing on the electronic devices obtained from the local area network protocol and Bluetooth protocol respectively to obtain the deduplicated electronic devices.

[0097] S121. Based on the deduplicated electronic devices and the electronic devices obtained from the Digital Life Network Alliance Protocol, a merged electronic device is obtained.

[0098] S122. Based on the electronic devices already bound to the current account and the merged electronic devices, perform deduplication and generate a display list.

[0099] In some examples, for scenarios where deduplication accuracy is not high, the identity of the electronic device discovered by Bluetooth and the electronic device discovered by LAN can be determined by using the local_name and wifiId to determine if they are the same electronic device. For example, referring to the example given in S11 above, the last 4 digits of local_name and wifiId are used for deduplication. If the last 4 digits of local_name and wifiId are equal, it means that the electronic device discovered by Bluetooth and the electronic device discovered by LAN are the same electronic device. In this case, the electronic device discovered by LAN is retained, the electronic device discovered by Bluetooth is deleted, and the retained electronic device discovered by LAN is used as the deduplicated electronic device.

[0100] In some examples, a 4-digit hexadecimal number can enumerate up to 65,536 devices. When determining whether an electronic device discovered by Bluetooth and an electronic device discovered by LAN services are the same device using `local_name` and `wifiId`, the last four digits of `local_name` and `wifiId` may be the same, but the electronic device discovered by Bluetooth and the electronic device discovered by LAN services are two different devices. This can lead to the incorrect filtering of electronic devices discovered by Bluetooth. Therefore, the display method provided in this disclosure uses one or more of the following—category information, media access control address, and network configuration information—to deduplicatize electronic devices discovered by Bluetooth and LAN services, thereby ensuring the accuracy of deduplication.

[0101] In some feasible examples, combining Figure 10 ,like Figure 11 As shown, the above S120 can be specifically implemented through the following S1200 and S1201.

[0102] S1200: Obtains target information of electronic devices obtained by both the local area network protocol and the Bluetooth protocol.

[0103] S1201. Based on the target information, perform deduplication processing on the electronic devices obtained from both the local area network protocol and the Bluetooth protocol to obtain the deduplicated electronic devices. The target information includes either the media access control address or configuration information corresponding to the mobile hotspot module.

[0104] In some feasible examples, the target information includes the media access control address corresponding to the mobile hotspot module; combined with Figure 11 ,like Figure 12 As shown, the above S1201 can be specifically implemented through the following S12010 and S12011.

[0105] S12010. Obtain Bluetooth information reported by each electronic device obtained through the Bluetooth protocol; wherein, the Bluetooth information includes information added to indicate the Media Access Control address;

[0106] S12011. If the media access control address and Bluetooth information corresponding to the mobile hotspot module are the same, delete the electronic device obtained by the first protocol, retain the electronic device obtained by the second protocol, and use the retained electronic device obtained by the second protocol as the deduplicated electronic device; wherein, the first protocol includes either the local area network protocol or the Bluetooth protocol, and the second protocol includes the local area network protocol and the Bluetooth protocol other than the first protocol.

[0107] In some examples, the electronic devices obtained by the second protocol are retained as the deduplicated electronic devices.

[0108] In some examples, for ease of understanding, it is assumed that the electronic device discovered via Bluetooth service (e.g., the Bluetooth device) is B_1, and the electronic device discovered via LAN service (e.g., the LAN device) is W_1. The unique MAC address of the Wi-Fi module is used to verify that the electronic device discovered via Bluetooth service and the electronic device discovered via LAN service are the same electronic device. This scheme relies on the MAC address of the Wi-Fi module reported by the Bluetooth device during broadcast.

[0109] In some examples, referring to the examples given in Table 1, the process by which a Bluetooth device obtains the MAC address of a Wi-Fi module is as follows: If the first M bits of the manufacturer_data information in the broadcast packet reported by the Bluetooth device are ≥128 (e.g., M equals 2), then the Bluetooth device is deleted, and the local area network device is retained. If the first two bits of the manufacturer_data information in the broadcast packet reported by the Bluetooth device are <128, such as when the "manufacturer_data" information in the broadcast packet of B_1 is "40007638640773889c", taking the first two bits "40" from "40007638640773889c", converting it to decimal gives 64. Since 64 < 128, this indicates that the electronic device supports MAC resolution. Next, the MAC address length is determined by comparing the first two bits of the "manufacturer_data" information in the broadcast packet content with a preset threshold (e.g., 64). For example, if the first two bits of the "manufacturer_data" information in the broadcast packet content are ≥ 64, the MAC address length is determined to be 12; if the first two bits of the "manufacturer_data" information in the broadcast packet content are < 64, the MAC address length is determined to be 8. For example, if the "manufacturer_data" information in the broadcast packet content is "40007638640773889c", the first two bits "40" are taken and converted to decimal, which is 64. Since 64 = 64, the MAC address length is 12. Then, based on this address length, characters of that address length are extracted from the "manufacturer_data" information in the broadcast packet content as the MAC address (taking characters from the "manufacturer_data" information in the broadcast packet content that are at the end of the address length). For example, if the "manufacturer_data" information in the broadcast packet content is "40007638640773889c", characters with a step size equal to the address length are extracted from the last character 'c' to obtain the MAC address, i.e., the MAC address is "8640773889c".

[0110] The process of obtaining the MAC address of the Wi-Fi module by the LAN device is as follows: As shown in Table 1, the definition rules of Wi-Fi ID stipulate that the last 12 characters of the Wi-Fi ID are the MAC address of the Wi-Fi module. Since the length of the MAC address obtained by the Bluetooth device is dynamic, it is compared with 12. When the length of the MAC address obtained by the Bluetooth device is greater than or equal to 12, characters with a step size of 12 are truncated from the last character of the Wi-Fi ID to obtain the MAC address. When the length of the MAC address obtained by the Bluetooth device is less than 12, characters with a step size equal to the length of the MAC address obtained by the Bluetooth device are truncated from the last character of the Wi-Fi ID to obtain the MAC address. For example, combining the quantities given above, the length of the MAC address obtained by B_1 is 12, the length of the MAC address obtained by W_1 is 12, and the minimum value is 12. Suppose W_1 has a wifiId of “86100c00fffe00600000004038640773889c”; where the MAC is obtained by taking a step of 12 characters forward from the last character 'c'. That is, the MAC is “8640773889c”.

[0111] Next, the MAC addresses of the Wi-Fi module obtained by the Bluetooth device and the MAC addresses of the Wi-Fi module obtained by the LAN device are compared. If the MAC addresses are the same, it means the Bluetooth device and the LAN device are the same device. The Bluetooth device can be deleted, and the LAN device is kept. The kept LAN device is used as the deduplicated electronic device. If the MAC addresses are different, it means the Bluetooth device and the LAN device are not the same device. Therefore, both need to be kept, and the kept Bluetooth device and the LAN device are used as the deduplicated electronic device.

[0112] In some feasible examples, the target information includes configuration information, which includes the category information to which the electronic device belongs; combined with Figure 11 ,like Figure 13 As shown, the above S1201 can be specifically implemented through the following S12012.

[0113] S12012. In the case of electronic devices with the same category information, delete the electronic devices obtained by the third protocol, retain the electronic devices obtained by the fourth protocol, and use the retained electronic devices obtained by the fourth protocol as the deduplicated electronic devices; wherein, the third protocol includes either the local area network protocol or the Bluetooth protocol, and the fourth protocol includes the local area network protocol and the Bluetooth protocol other than the first protocol.

[0114] In some examples, the electronic devices obtained by the retained fourth protocol are used as the deduplicated electronic devices.

[0115] In some examples, in conjunction with the examples given in S12011 above, the display method provided in this disclosure embodiment can also use the category information to which the Bluetooth device belongs and the category information to which the local area network device belongs for deduplication. For example, if the category information corresponding to B_1 is washing machine and the category information corresponding to W_1 is air conditioner, since the category information of the two is different, it is necessary to retain both the Bluetooth device and the local area network device at the same time, that is, the retained Bluetooth device and the local area network device are used as the deduplicated electronic devices.

[0116] For example, when the first application starts, it acquires the current category data and persists it to the terminal device's storage. Each time the first application starts, it needs to check whether the locally stored category data needs to be updated. For instance, the first application sends an update request carrying the update date of the current category data to the IoT server. The IoT server determines that there is no new category data after the update date and sends a no-update instruction to the terminal device. Based on this instruction, the terminal device will not update the category data in the current iteration. This category data includes category information, Bluetooth module code information, Wi-Fi module code information, etc.

[0117] Assuming the electronic device is a "range hood," the corresponding category information code is "connector.device.type.greasepump," the Bluetooth module's code is "23," and the Wi-Fi module's code is "35." The code of the corresponding category information can be uniquely matched using either the Bluetooth or Wi-Fi module's code. For example, referring to the example in Table 1 above, the "service_data" corresponding to B_1 is "0202040f000000," where each two digits correspond to a hexadecimal value. Taking the 3rd and 4th digits of "service_data," for example, the value is "02." Obtaining the hType field corresponding to W_1, such as "2," and padding the leading digits of hType to the target length (e.g., if the target length is 2), we get the Wi-Fi module's code information as "02." Then, querying the category data for the Bluetooth module's code information "23," we find the corresponding category information code information as "connector.device.type.fridge." Querying the category data for the code information "02" of this WiFi module, we find that the category information code information corresponding to the code information "02" of this WiFi module is "connector.device.type.fridge".

[0118] Next, if the code information for the category corresponding to the Bluetooth module's code information is the same as the code information for the category corresponding to the Wi-Fi module's code information, it means that the Bluetooth device and the LAN device are the same electronic device. Therefore, the Bluetooth device can be deleted, and the LAN device can be kept, with the kept LAN device used as the deduplicated electronic device. If the code information for the category corresponding to the Bluetooth module's code information is different from the code information for the category corresponding to the Wi-Fi module's code information, it means that they are not the same electronic device. In this case, both need to be kept, i.e., the kept Bluetooth device and the LAN device should be used as the deduplicated electronic device.

[0119] In some feasible examples, the target information includes configuration information, which includes network distribution information, which includes either a network that is already configured or not configured; combined with Figure 11 As shown in 14, the above S1201 can be specifically implemented through the following S12013 and S12014.

[0120] S12013. If the network configuration information of an electronic device obtained by the Bluetooth protocol is "not configured", retain the electronic device whose network configuration information is "not configured" and use the retained electronic device whose network configuration information is "not configured" as the deduplicated electronic device.

[0121] S12014. If the network configuration information of an electronic device obtained through the Bluetooth protocol indicates that it has been configured with a network, delete the electronic device whose network configuration information indicates that it has been configured with a network.

[0122] In some examples, the retained network configuration information is used for electronic devices that are not configured with a network, and these are used as the deduplicated electronic devices.

[0123] In some examples, in conjunction with the examples given in S12011 above, the display method provided in this disclosure embodiment can use the network configuration information of the electronic device to determine whether the Bluetooth device and the local area network device are the same electronic device, since the electronic device cannot be discovered by the local area network service when it is not network-configured.

[0124] For example, the first application can determine the network configuration information based on the "service_data" in the broadcast packet content reported by B_1. For instance, if "service_data" is "0202040f000000", where every two bits correspond to a hexadecimal value, the application can extract bits 5 and 6 of "service_data", which are then "01". Next, "01" is converted to an 8-bit binary value "00000100", and bits 4 to 6 of "00000100" are extracted as "001".

[0125] "000" indicates that the distribution network information is not distributed; "001" indicates that the distribution network information is distributed.

[0126] When the network configuration information is "not configured," it means the electronic device is not connected to a network, and therefore the Bluetooth device should be retained. When the network configuration information is "configured," it means the electronic device is connected to a network, and therefore the Bluetooth device can be deleted.

[0127] In some feasible examples, combining Figure 10 ,like Figure 15 As shown, the above S122 can be specifically implemented through the following S1220.

[0128] S1220. Delete the electronic devices that are already bound to the current account from the merged electronic devices to obtain the electronic devices that can be added.

[0129] In some examples, if a device is already linked to the current account, it will be removed from the homepage device list. This avoids repeatedly popping up notifications for devices already linked to the user's account every time the app is launched, thus improving user experience.

[0130] In some feasible examples, the device list pop-up also includes an ignore control for not displaying the device again after a preset time, with one ignore control per electronic device; combined with Figure 4 ,like Figure 16 As shown, the display method provided in this embodiment of the disclosure further includes: S14.

[0131] S14. In response to the selection operation of the ignore control, delete the electronic device corresponding to the ignore control in the device list pop-up window, and stop displaying the electronic device corresponding to the ignore control in the device list pop-up window for a preset time.

[0132] In some examples, a device list pop-up window automatically appears each time the first application is launched, displaying devices that meet certain criteria. If the electronic device in this device list pop-up is a neighbor's TV or an electronic device that the user does not want to bind, continuing to display this electronic device in the device list pop-up window every time the first application is launched will affect the user experience. Therefore, the display method provided in this disclosure embodiment optimizes this problem by providing an entry point for the user to ignore the electronic device. The user can ignore all or individual devices with one click. The first application locally records the device ignore flag as a basis for whether the device is displayed in the device list next time.

[0133] In some examples, combined Figure 9As shown in Homepage 5, users can select the electronic devices they want to add from the device list pop-up window 5-1. For example, if a user wants to add the refrigerator RDDDEE-af (b888b), they can select the add control 5-1-1 corresponding to the refrigerator RDDDEE-af (b888b) to add it to AAA's home. Alternatively, if a user no longer wants the refrigerator RDDDEE-af (b888b) to be displayed in the device list pop-up window, they can select the ignore control 5-1-2 corresponding to the refrigerator RDDDEE-af (b888b) to remove it from the device list pop-up window.

[0134] In some examples, to prevent users from needing to re-enable an electronic device in the device list pop-up after ignoring it, the application can periodically (e.g., once a month) prompt the user whether to display the electronic device in the device list pop-up.

[0135] In some feasible examples, combining Figure 4 ,like Figure 17 As shown, the above S13 can be implemented by the following S130-S132.

[0136] S130. Obtain the priority of the category to which each addable electronic device belongs.

[0137] S131. Sort the addable electronic devices in descending order of priority to obtain the display order.

[0138] S132. If there are no other preset pop-ups to display, and the currently displayed page is the target page, the addable electronic devices are displayed in the device list pop-up window displayed on the target page in the order of display.

[0139] In some examples, since the outbound quantities of different product categories vary, in order to improve the user experience, the display method provided in this disclosure sorts the categories to which the electronic devices displayed in the device list pop-up belong based on the outbound quantities of different product categories, thereby ensuring the sequential display of electronic devices in the device list pop-up.

[0140] For example, the first electronic device has a higher priority than the second electronic device.

[0141] In some examples, electronic devices of the same priority are displayed in the device list pop-up in ascending order of discovery time.

[0142] The foregoing mainly describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the above functions, it includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0143] This application embodiment can divide the display device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing unit. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0144] This application provides a schematic diagram of the structure of a mobile terminal 300, including a processor 101, a communicator 102, and a display 103.

[0145] Processor 101 is configured to, in response to a startup operation, control communicator 102 to obtain the list of addable electronic devices in the current environment via a target protocol; wherein the target protocol includes a local area network protocol, a Bluetooth protocol, and a Digital Living Network Alliance protocol; processor 101 is also configured to generate a display list based on the electronic devices obtained by communicator 102; wherein the display list includes one or more electronic devices; processor 101 is also configured to, if there are no other preset pop-ups to display and the currently displayed page is the target page, control display 103 to display a device list pop-up window on the target page according to the display list; wherein the device list pop-up window includes each addable electronic device.

[0146] In some feasible examples, processor 101 is further configured to perform deduplication on the electronic devices obtained by communicator 102 through both LAN protocol and Bluetooth protocol to obtain deduplicated electronic devices; processor 101 is further configured to obtain merged electronic devices based on the deduplicated electronic devices and the electronic devices obtained by communicator 102 through Digital Life Network Alliance protocol; processor 101 is further configured to perform deduplication on the electronic devices already bound to the current account and the merged electronic devices to generate a display list.

[0147] In some implementable examples, the communicator 102 is further configured to acquire target information of electronic devices acquired by both the local area network protocol and the Bluetooth protocol; the processor 101 is further configured to perform deduplication processing on the electronic devices acquired by the communicator 102 based on the target information, thereby obtaining deduplicated electronic devices; wherein, the target information includes either the media access control address or configuration information corresponding to the mobile hotspot module.

[0148] In some implementable examples, the target information includes the media access control address corresponding to the mobile hotspot module; the communicator 102 is further configured to acquire Bluetooth information reported by each electronic device obtained by the Bluetooth protocol; wherein the Bluetooth information includes information added to indicate the media access control address; the processor 101 is further configured to delete the electronic device obtained by the first protocol and retain the electronic device obtained by the second protocol when the media access control address corresponding to the mobile hotspot module and the Bluetooth information obtained by the communicator 102 are the same, and use the retained electronic device obtained by the second protocol as the deduplicated electronic device; wherein the first protocol includes either the local area network protocol or the Bluetooth protocol, and the second protocol includes protocols other than the first protocol among the local area network protocol and the Bluetooth protocol.

[0149] In some implementable examples, the target information includes configuration information, which includes category information to which the electronic device belongs; the communicator 102 is further configured to delete the electronic device obtained by the third protocol and retain the electronic device obtained by the fourth protocol when there are electronic devices with the same category information, and use the retained electronic device obtained by the fourth protocol as the deduplicated electronic device; wherein the third protocol includes either the local area network protocol or the Bluetooth protocol, and the fourth protocol includes the local area network protocol and the Bluetooth protocol other than the first protocol.

[0150] In some implementable examples, the target information includes configuration information, which includes network configuration information, which includes either network configured or network unconfigured; the communicator 102 is further configured to retain electronic devices with network unconfigured information when the network configuration information of the electronic device obtained by the Bluetooth protocol is network unconfigured, and to use the retained electronic devices with network unconfigured information as deduplicated electronic devices; the communicator 102 is further configured to delete electronic devices with network configured information when the network configuration information of the electronic device obtained by the Bluetooth protocol is network configured.

[0151] In some implementable examples, communicator 102 is further configured to remove electronic devices already bound to the current account from the merged electronic devices, resulting in electronic devices that can be added.

[0152] In some implementable examples, the device list pop-up also includes an ignore control for not displaying again for a preset time, with one ignore control for each electronic device; the communicator 102 is also configured to delete the electronic device corresponding to the ignore control in the device list pop-up in response to the selection operation of the ignore control, and to not display the electronic device corresponding to the ignore control in the device list pop-up for a preset time.

[0153] In some implementable examples, the communicator 102 is further configured to obtain the priority of the category to which each addable electronic device belongs; the processor 101 is further configured to sort the addable electronic devices in descending order of priority obtained by the communicator 102 to obtain a display order; the processor 101 is further configured to, if there are no other preset pop-ups to display and the page currently displayed on the display 103 is the target page, control the display 103 to display the addable electronic devices in the device list pop-up window displayed on the target page in the display order.

[0154] All relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and their functions will not be repeated here.

[0155] Of course, the mobile terminal 300 provided in this application embodiment includes, but is not limited to, the modules described above. For example, the mobile terminal 300 may also include a memory 104. The memory 104 may be used to store the program code of the mobile terminal 300, and may also be used to store data generated by the mobile terminal 300 during operation, such as data in write requests.

[0156] As an example, combined Figure 4 The acquisition unit 202 in the mobile terminal 300 performs the same function as the communicator 102, the processing unit 201 performs the same function as the processor 101, the display unit 203 performs the same function as the display 103, and the storage unit 204 performs the same function as the memory 104.

[0157] This application also provides a chip system that can be applied to the mobile terminal 300 in the foregoing embodiments. The chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 may be the processor in the mobile terminal 300. The processor 1501 and the interface circuit 1502 are interconnected via a line. The processor 1501 can receive and execute computer instructions from the memory of the mobile terminal 300 through the interface circuit 1502. When the computer instructions are executed by the processor 1501, the mobile terminal 300 can perform the various steps executed by the mobile terminal 300 in the foregoing embodiments. Of course, the chip system may also include other discrete devices, which are not specifically limited in this application.

[0158] This application also provides a computer-readable storage medium for storing computer instructions executed by the mobile terminal 300.

[0159] The above description is merely a specific embodiment of this disclosure, enabling those skilled in the art to understand or implement it. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this disclosure. Therefore, this disclosure is not to be limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An electronic device, comprising: The application relates to a device and a method for adding electronic devices. The processor is configured to control the communicator to acquire, in response to a starting operation, electronic devices that can be added in a current environment through a target protocol; wherein the target protocol comprises a local area network protocol, a Bluetooth protocol and a digital living network alliance protocol. The processor is further configured to generate a display list based on the electronic devices acquired by the communicator; wherein the display list comprises one or more electronic devices. The processor is further configured to control the display to display a device list pop-up window in a target page according to the display list if no other preset pop-up window is displayed and the currently displayed page is the target page.

2. The electronic device of claim 1, wherein, The processor is further configured to perform deduplication processing on the electronic devices acquired by the communicator through the local area network protocol and the Bluetooth protocol respectively to obtain deduplicated electronic devices. The processor is further configured to obtain combined electronic devices based on the deduplicated electronic devices and electronic devices acquired by the communicator through the digital living network alliance protocol. The processor is further configured to perform deduplication processing on the combined electronic devices and electronic devices bound to a current account to generate a display list.

3. The electronic device of claim 2, wherein, The communicator is further configured to acquire target information of the electronic devices acquired through the local area network protocol and the Bluetooth protocol respectively. The processor is further configured to perform deduplication processing on the electronic devices acquired by the communicator through the local area network protocol and the Bluetooth protocol respectively based on the target information to obtain deduplicated electronic devices; wherein the target information comprises any one of a media access control address corresponding to a mobile hotspot module or configuration information.

4. The electronic device of claim 3, wherein, The target information comprises a media access control address corresponding to a mobile hotspot module. The communicator is further configured to acquire Bluetooth information reported by each electronic device acquired through the Bluetooth protocol; wherein the Bluetooth information comprises information added to represent a media access control address. The processor is further configured to delete electronic devices acquired through a first protocol, retain electronic devices acquired through a second protocol and take the retained electronic devices acquired through the second protocol as deduplicated electronic devices in the case that a media access control address corresponding to a mobile hotspot module and the Bluetooth information acquired by the communicator are the same; wherein the first protocol comprises any one of the local area network protocol and the Bluetooth protocol, and the second protocol comprises a protocol other than the first protocol among the local area network protocol and the Bluetooth protocol.

5. The electronic device of claim 3, wherein, The target information comprises configuration information, and the configuration information comprises category information to which the electronic devices belong. The communicator is further configured to delete the electronic device acquired by the third protocol, retain the electronic device acquired by the fourth protocol, and take the retained electronic device acquired by the fourth protocol as the deduplicated electronic device in the case where there is an electronic device with the same category information; the third protocol includes any one of the local area network protocol and the Bluetooth protocol, and the fourth protocol includes a protocol other than the third protocol among the local area network protocol and the Bluetooth protocol.

6. The electronic device of claim 3, wherein, The target information includes configuration information, and the configuration information includes network configuration information, the network configuration information including any one of network configuration and non-network configuration. The communicator is further configured to retain the electronic device with the non-network configuration in the case where the network configuration information of the electronic device acquired by the Bluetooth protocol is non-network configuration, and take the retained electronic device with the non-network configuration as the deduplicated electronic device. The communicator is further configured to delete the electronic device with the network configuration in the case where the network configuration information of the electronic device acquired by the Bluetooth protocol is network configuration.

7. The electronic device of claim 2, wherein, The communicator is further configured to delete the electronic device in the combined electronic device which is bound to the current account, and obtain the addable electronic device.

8. The electronic device of claim 1, wherein, The device list pop-up window further includes an ignore control for not displaying within a preset time, and one electronic device corresponds to one ignore control; The communicator is further configured to delete the electronic device corresponding to the ignore control in the device list pop-up window in response to the selection operation on the ignore control, and not display the electronic device corresponding to the ignore control in the device list pop-up window displayed within a preset time.

9. A display method characterized by comprising: Comprising: In response to the start operation, two electronic devices that can be added in the current environment are acquired through a target protocol; the target protocol includes a local area network protocol, a Bluetooth protocol, and a digital living network alliance protocol; Based on the electronic device, a display list is generated; the display list includes one or more electronic devices; If there is no other preset pop-up window to be displayed at present, and the currently displayed page is a target page, a device list pop-up window is displayed in the target page according to the display list.

10. A computer-readable storage medium, characterized in that, Comprising: The computer readable storage medium stores a computer program, and when the computer program is executed by a computing device, the computing device implements the display method of claim 9.

Citation Information

Patent Citations

  • Pop-up window display method and device

    CN107463440A

  • Equipment binding method and device and computer readable storage medium

    CN113596795A