Display method and device and electronic equipment

By obtaining and querying the device category list and reporting information, and generating a display device list, the problem of limited display content in the existing technology of smart device distribution network is solved, and the user experience is improved.

CN119420990AActive Publication Date: 2025-02-11JUHAOKAN TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410008004.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-03
Publication Date
2025-02-11
Estimated Expiration
2044-01-03

AI Technical Summary

Technical Problem

In the prior art, when smart devices are distributed to the network, the length of content storage of Bluetooth broadcast packets is limited, resulting in limited device type encoding display and poor user experience.

Method used

By obtaining the device category list and the reported information of electronic devices in the current environment, query the device category list based on the actual identification, determine the devices that support the Internet of Things function, and obtain the device model information to generate a display device list.

Benefits of technology

It improves the richness of the content and user experience of the device display, and provides a better interactive experience through the display of icons, names and models that are more in line with the device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119420990A_ABST
    Figure CN119420990A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Internet of Things, in particular to a display method and device and electronic equipment, and is used for solving the problems that in the prior art, the content displayed by an application program is limited, and the user experience is poor. The method comprises the following steps: in response to a starting operation, acquiring an equipment category list and report information reported by electronic equipment in a current environment; querying in an equipment category list based on the actual identifier, determining that a theoretical identifier which is the same as the actual identifier exists, the theoretical identifier which is the same as the actual identifier correspondingly supports the Internet of Things function, and when the equipment model information is obtained based on the configuration information of the electronic equipment corresponding to the actual identifier, determining that the equipment model information corresponds to the theoretical identifier based on the equipment model information; generating a display equipment list; wherein the equipment model information at least comprises an equipment icon, an equipment name and an equipment model, and the display equipment list comprises electronic equipment corresponding to each piece of equipment model information; and displaying based on the display equipment list.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of Internet of Things, and in particular to a display method, device and electronic device. Background Art

[0002] At present, the common technical means for network configuration of smart devices is Bluetooth network configuration. According to the operation instructions of the mobile phone software (application, APP) interface, the Bluetooth module is configured to the network state. The Bluetooth module will send a broadcast packet. Because the content stored in the broadcast packet is limited in length, it is usually encoded according to the device type in the broadcast content, and the device category name, device category icon, and some bytes of the unique identification of the Bluetooth module are displayed to the user. The displayed content is limited, and the user experience is poor. Summary of the invention

[0003] In order to solve the above technical problems, the present disclosure provides a display method, device and electronic device.

[0004] The technical solution of the present disclosure is as follows:

[0005] In a first aspect, the present disclosure provides an electronic device, comprising: a processor, configured to, in response to a startup operation, control a communicator to obtain a device category list and reported information reported by electronic devices in a current environment; wherein the device category list includes a correspondence between a theoretical identifier and a network identifier, the network identifier is used to indicate whether the electronic device supports an Internet of Things function, the theoretical identifier includes a local area network device identification code or a Bluetooth network configuration device identification code, and the reported information includes an actual identifier; the processor is also configured to query in the device category list obtained by the communicator based on the actual identifier obtained by the communicator, determine whether there is a theoretical identifier that is the same as the actual identifier, and the network identifier corresponding to the theoretical identifier that is the same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, when the device model information is obtained, generate a display device list based on the device model information; wherein the device model information includes at least a device icon, a device name and a device model, and the display device list includes the electronic device corresponding to each device model information; the processor is also configured to control the display to display based on the display device list.

[0006] In a second aspect, the present disclosure provides a display method, comprising: in response to a startup operation, obtaining a device category list and reported information reported by electronic devices in a current environment; wherein the device category list includes a correspondence between a theoretical identifier and a network identifier, the network identifier is used to indicate whether the electronic device supports the Internet of Things function, the theoretical identifier includes a local area network device identification code or a Bluetooth configuration network device identification code, and the reported information includes an actual identifier; based on the actual identifier, querying in the device category list to determine whether there is a theoretical identifier that is the same as the actual identifier, and the network identifier corresponding to the theoretical identifier that is the same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, when the device model information is obtained, generating a display device list based on the device model information; wherein the device model information includes at least a device icon, a device name and a device model, and the display device list includes the electronic device corresponding to each device model information; displaying based on the display device list.

[0007] In a third aspect, the present disclosure provides an electronic device, comprising: a memory and a processor, the memory being used to store a computer program; the processor being used to enable the electronic device to implement any one of the display methods provided in the second aspect when executing the computer program.

[0008] In a fourth aspect, the present invention provides a computer-readable storage medium, comprising: a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform any of the display methods provided in the second aspect.

[0009] In a fifth aspect, the present invention provides a computer program product. When the computer program product is run on a computer, the computer executes any one of the display methods provided in the second aspect.

[0010] It should be noted that the above computer instructions may be stored in whole or in part on a first computer-readable storage medium, wherein the first computer-readable storage medium may be packaged together with the processor of the electronic device, or may be packaged separately from the processor of the electronic device, which is not limited in the present disclosure.

[0011] The description of the second, third, fourth and fifth aspects in the present disclosure can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

[0012] In the present disclosure, the names of the above electronic devices do not limit the devices or functional modules themselves. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present disclosure, they fall within the scope of the claims of the present disclosure and their equivalent technologies.

[0013] These and other aspects of the present disclosure will become more apparent from the following description.

[0014] Compared with the prior art, the technical solution provided by the present invention has the following advantages:

[0015] The display method provided by the present disclosure is that the electronic device responds to the startup operation and obtains the device category list and the reported information reported by the electronic devices in the current environment; then, the electronic device searches the device category list based on the actual identification, and determines that there is a theoretical identification that is the same as the actual identification, and the theoretical identification that is the same as the actual identification corresponds to the network identification used to indicate that the electronic device supports the Internet of Things function, and when the device model information is obtained based on the configuration information of the electronic device corresponding to the actual identification, a display device list is generated based on the device model information; in this way, the electronic device can display the device icon, device name and device model that are more in line with the electronic device, thereby improving the content displayed by the first application and improving the user experience. Afterwards, the electronic device is displayed based on the display device list. In this way, the user can see information on the electronic device that is more in line with the electronic device that can be added at present, thereby improving the user's interactive experience and solving the problem of limited content displayed by the application program and poor user experience in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0018] Figure 1 A schematic diagram of a scenario of a display method provided in an embodiment of the present application;

[0019] Figure 2 One of the structural schematic diagrams of the display device provided in the embodiment of the present application;

[0020] Figure 3 A second structural schematic diagram of a display device provided in an embodiment of the present application;

[0021] Figure 4 One of the flow charts of the display method provided in the embodiment of the present application;

[0022] Figure 5 One of the scene schematic diagrams of the display method provided in the embodiment of the present application;

[0023] Figure 6 The second schematic diagram of the scene of the display method provided in the embodiment of the present application;

[0024] Figure 7 The second flowchart of the display method provided in the embodiment of the present application;

[0025] Figure 8 The third flowchart of the display method provided in the embodiment of the present application;

[0026] Fig. 9 A fourth flowchart of the display method provided in the embodiment of the present application;

[0027] Fig.10 A schematic diagram of the structure of a mobile terminal provided in an embodiment of the present application;

[0028] Fig.11 A schematic diagram of a chip system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0029] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0030] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0031] The display device provided in the embodiments of the present application may have various implementation forms, for example, it may be a television, a smart TV, a laser projection device, a monitor, an electronic whiteboard, an electronic table, etc. Figure 1 and Figure 2 This is a specific implementation of the display device of the present application.

[0032] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0033] Figure 1 is a schematic diagram of an operation scenario between a household appliance and a control device according to one or more embodiments of the present application, such as Figure 1 As shown, the user can operate the display device 200 through the mobile terminal 300 and / or the control device 100. The control device 100 can be a remote controller, and the communication between the remote controller 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 instructions through buttons on the remote controller, voice input, control panel input, etc. to control the display device 200. In some embodiments, a mobile terminal, a tablet computer, a computer, a laptop computer, and other smart devices can also be used to control the display device 200.

[0034] In some embodiments, the electronic device provided in the embodiment of the present application may be the mobile terminal 300 described above. In the process of using the mobile terminal 300, the user may control the display device 200 through the mobile terminal 300. If the display device 200 and the mobile terminal 300 have not established a binding relationship, the user may open the first application on the mobile terminal 300. At this time, the first application responds to the startup operation, obtains the reporting information reported by the electronic device in the current environment, and sends the acquisition information to the Internet of Things server 400. After receiving the acquisition information sent by the mobile terminal 300, the Internet of Things server 400 sends a device category list to the mobile terminal 300. The mobile terminal 300 receives the device category list sent by the Internet of Things server 400, and thus obtains the device category list. Afterwards, the first application searches the device category list based on the actual identifier, determines that there is a theoretical identifier that is the same as the actual identifier, and the network identifier corresponding to the theoretical identifier that is the same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, sends the query information carrying the configuration information to the Internet of Things server 400. The Internet of Things server 400 queries the database based on the query information sent by the mobile terminal 300, and obtains the device model information corresponding to the configuration information in the query information. Afterwards, the Internet of Things server 400 sends the device model information to the mobile terminal 300. The mobile terminal 300 receives the device model information sent by the Internet of Things server 400, so that the first application obtains the device model information. Afterwards, the first application generates a display device list based on the device model information; in this way, the first application can display the device icon, device name and device model that are more in line with the electronic device, thereby improving the content displayed by the first application and improving the user experience. Afterwards, the first application displays based on the display device list.

[0035] Figure 2 FIG. 2 shows a hardware configuration block diagram of a display device 200 according to an exemplary embodiment. Figure 2 The display device 200 shown includes at least one of a tuner 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, a RAM, a ROM, and a first interface to an nth interface for input / output. The display 260 can be a display with a touch function, such as a touch display. The detector 230 is used to collect signals of the external environment or interaction with the outside.

[0036] 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 the memory. The controller 250 controls the overall operation of the display device 200.

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

[0038] Among them, the application layer 21 includes one or more applications. The application can be a system application or a third-party application. The framework layer 22 provides an application programming interface (API) and a programming framework for the application of the application layer 21. The system runtime layer 23 provides support for the upper layer, namely the framework layer 22. When the framework layer 22 is used, the Android operating system will run the C / C++ library contained in the system runtime layer 23 to implement the functions to be implemented by the framework layer 22. The kernel layer 24 serves as a software middleware between the hardware layer and the application layer 21, and is used to manage and control hardware and software resources.

[0039] In some examples, the user can control the TV 1 through the mobile terminal 300 while using the mobile terminal 300. If the TV 1 and the mobile terminal 300 have not established a binding relationship, the user can open the first application on the mobile terminal 300. At this time, the processing unit 201 of the first application responds to the start operation, controls the transceiver unit 202 to obtain the reporting information reported by the electronic device in the current environment, and controls the transceiver unit 202 to send the acquisition information to the Internet of Things server 400. After receiving the acquisition information sent by the mobile terminal 300, the Internet of Things server 400 sends a device category list to the mobile terminal 300. The transceiver unit 202 of the mobile terminal 300 receives the device category list sent by the Internet of Things server 400, so that the device category list is obtained. The control transceiver unit 202 obtains the device category list and the reporting information reported by the electronic device in the current environment; then, the processing unit 201 of the first application queries the device category list obtained by the transceiver unit 202 based on the actual identifier obtained by the transceiver unit 202, determines that there is a theoretical identifier that is the same as the actual identifier, and the network identifier corresponding to the theoretical identifier that is the same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, controls the transceiver unit 202 to send query information carrying the configuration information to the Internet of Things server 400. The Internet of Things server 400 queries the database based on the query information sent by the mobile terminal 300, and obtains the device model information corresponding to the configuration information in the query information. After that, the Internet of Things server 400 sends the device model information to the mobile terminal 300. The transceiver unit 202 of the mobile terminal 300 receives the device model information sent by the Internet of Things server 400, so that the first application obtains the device model information. Afterwards, the processing unit 201 generates a display device list based on the device model information obtained by the transceiver unit 202; in this way, the first application can display a device icon, device name, and device model that are more suitable for the electronic device, thereby improving the content displayed by the first application and improving the user experience. Afterwards, the first application processing unit 201 controls the display unit 203 to display based on the display device list.

[0040] Specifically, when the execution subject of the display method provided by the embodiment of the present disclosure is the mobile terminal 300, the storage unit 204 of the mobile terminal 300 is used to store data such as the program code of the display method provided by the embodiment of the present disclosure.

[0041] In the following embodiments, the method of the embodiment of the present application is described by taking the mobile terminal 300 as an example of an execution subject of the display method provided in the embodiment of the present disclosure.

[0042] The present application embodiment provides a display method, which is applied to a television set 1, such as Figure 4As shown, the display method may include S11-S13.

[0043] S11, in response to the start operation, obtain a device category list and reported information reported by the electronic device in the current environment. The device category list includes a correspondence between a theoretical identifier and a network identifier, the network identifier is used to indicate whether the electronic device supports the Internet of Things function, the theoretical identifier includes a local area network device identification code or a Bluetooth network device identification code, and the reported information includes an actual identifier.

[0044] In some examples, the actual identification includes a local area network device identification code or a Bluetooth pairing device identification code.

[0045] In some examples, the first application in the mobile terminal 300 responds to the startup operation, and the first application calls the Bluetooth module of the mobile terminal 300 to obtain the reporting information reported by the electronic device in the current environment, such as the content of the Bluetooth broadcast packet, and after parsing the content of the broadcast packet, connects with the Internet of Things server 400 to obtain the device model information. In addition, after the first application successfully pairs the Bluetooth network with the electronic device, as long as the first application and the electronic device are in the same local area network, the local area network discovery protocol can be used to determine whether the electronic device has been connected to the local area network.

[0046] In some examples, the first application continuously obtains reporting information reported by electronic devices in the current environment within a specified time, and stops obtaining reporting information reported by electronic devices in the current environment until the specified time is reached or a communication connection is established with the electronic device.

[0047] In some examples, the mobile terminal 300 installed with the first application is used as a scanning center, and multiple target protocols are used to discover electronic devices in the current environment; the target protocol includes any one of the Bluetooth protocol and the local area network protocol; the purpose of discovering electronic devices in the current environment through the target protocol is to be compatible with multiple application scenarios. For example, for a Bluetooth device to be networked, the Bluetooth device can be discovered through the Bluetooth protocol; for a Bluetooth device that has been networked, if the first application and the Bluetooth device are in the same local area network, the first application can discover the Bluetooth device through the local area network protocol.

[0048] In some examples, when there is only one electronic device in the current environment, a display list is directly generated.

[0049] In some examples, when there are more than or equal to 2 electronic devices in the current environment, it is necessary to perform deduplication on the electronic devices to obtain a display device list, such as: when deduplication is performed on the electronic devices bound to the current account and at least two electronic devices that can be added to the current environment, since the electronic devices obtained through the Bluetooth protocol and the electronic devices obtained through the local area network protocol have the problem of re-acquisition, the electronic devices obtained by the local area network protocol and the Bluetooth protocol can be deduplicated first to obtain the deduplicated electronic devices; then, the deduplicated electronic devices and the electronic devices obtained by the digital life network alliance protocol are merged to obtain the merged electronic devices. Since there are electronic devices in the merged electronic devices that have been bound to the current account currently logged in by the first application, it is necessary to perform deduplication on the electronic devices bound to the current account and the merged electronic devices to obtain the electronic devices that can be displayed. Afterwards, based on the electronic devices that can be displayed, a display device list containing each electronic device that can be displayed is generated, such as: deleting the electronic devices in the merged electronic devices that are the same as the electronic devices bound to the current account (such as the same device identification code used to uniquely identify the electronic device), thereby obtaining the electronic devices that can be displayed. Alternatively, under normal circumstances, whether it is an electronic device discovered through the Bluetooth protocol or an electronic device discovered through the LAN protocol, it can be repeatedly discovered within a certain period of time (such as 10s). Therefore, it is necessary to eliminate electronic devices that are not repeatedly discovered within 10s to obtain electronic devices that can be displayed.

[0050] Afterwards, based on the actual identification of the electronic device that can be displayed, a query is performed in the device category list to determine whether there is a theoretical identification that is the same as the actual identification, and the network identification corresponding to the theoretical identification that is the same as the actual identification is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identification, when the device model information is obtained, a display device list is generated based on the device model information.

[0051] In some examples, for ease of understanding, it is assumed that the electronic device discovered through the Bluetooth protocol (such as called the Bluetooth device) is B_1, and the electronic device discovered through the LAN service (such as called the LAN device) is W_1, and the unique identification media access control address (MAC) of the WiFi module is used to verify that the electronic device discovered by the Bluetooth protocol and the electronic device discovered by the LAN service are the same electronic device. This solution relies on the MAC of the WiFi module reported by the Bluetooth device when broadcasting.

[0052] In some examples, the process of obtaining the MAC of the WiFi module by the Bluetooth device is as follows: when the first M bits of the manufacturer_data information in the broadcast packet content reported by the Bluetooth device are ≥128 (such as M is equal to 2), the Bluetooth device is deleted and the LAN device is retained. When the first 2 bits of the manufacturer_data information in the broadcast packet content reported by the Bluetooth device are <128, such as: the "manufacturer_data" information in the broadcast packet content of B_1 is "40007638640773889c", the first 2 bits "40" in "40007638640773889c" are taken and converted to decimal 64. Since 64<128, it means that the electronic device supports MAC resolution. Afterwards, the MAC address length is determined by judging the relationship between the first two bits of the "manufacturer_data" information in the broadcast packet content and a preset threshold value (such as 64), such as: when 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; when 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" in "40007638640773889c" are taken and converted to decimal 64. Since 64=64, the MAC address length is 12. Afterwards, based on the address length, the characters of the address length are intercepted from the "manufacturer_data" information in the broadcast packet content as the MAC (the characters after the address length in the "manufacturer_data" information in the broadcast packet content are taken). For example, if the "manufacturer_data" information in the broadcast packet content is "40007638640773889c", the characters with a step length equal to the address length are intercepted from the last character c as the MAC, that is, the MAC is "8640773889c".

[0053] Afterwards, the process of the LAN device obtaining the MAC of the WiFi module is as follows: the definition rule of the WiFi ID stipulates that the last 12 of the WiFi ID are the MAC of the WiFi module. Since the length of the MAC of the WiFi module obtained by the Bluetooth device is dynamic, the length of the MAC of the WiFi module obtained by the Bluetooth device is compared with 12. When the length of the MAC of the WiFi module obtained by the Bluetooth device is greater than or equal to 12, the characters with a step length of 12 are intercepted from the last character of the WiFi ID as the MAC. When the length of the MAC of the WiFi module obtained by the Bluetooth device is less than 12, the characters with a step length equal to the length of the MAC of the WiFi module obtained by the Bluetooth device are intercepted from the last character of the WiFi ID as the MAC. Exemplarily, in combination with the above-mentioned numbers, the length of the MAC of the WiFi module obtained by B_1 is 12, and the length of the MAC of the WiFi module obtained by W_1 is 12, and the minimum value of the two is 12. Assume that the WiFi ID of W_1 is "86100c00fffe00600000004038640773889c"; wherein, characters with a step length of 12 are intercepted from the last character c as MAC, that is, the MAC is "8640773889c".

[0054] Afterwards, the MAC of the WiFi module obtained by the Bluetooth device is compared with the MAC of the WiFi module obtained by the LAN device. When the MAC of the WiFi module obtained by the Bluetooth device is the same as the MAC of the WiFi module obtained by the LAN device, it means that the Bluetooth device and the LAN device are the same device, and the Bluetooth device can be deleted, the LAN device is retained, and the retained LAN device is used as the electronic device after deduplication. When the MAC of the WiFi module obtained by the Bluetooth device is different from the MAC of the WiFi module obtained by the LAN device, it means that the Bluetooth device and the LAN device are not the same device, so both need to be retained at the same time, that is, the retained Bluetooth device and the LAN device are used as the electronic device after deduplication.

[0055] In some examples, the display method provided by the embodiments of the present disclosure can also perform deduplication using the category information to which the Bluetooth device belongs and the category information to which the LAN device belongs. For example, the category information corresponding to B_1 is a washing machine, and the category information corresponding to W_1 is an air conditioner. Since the category information of the two is different, it is necessary to retain both the Bluetooth device and the LAN device, that is, the retained Bluetooth device and LAN device are used as the deduplicated electronic devices.

[0056] Exemplarily, when the first application is started, the current category data is obtained and persisted in the memory of the terminal device. Each time the first application is started, it is necessary to detect whether the locally stored category data needs to be updated. For example, 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 non-update indication to the terminal device, so that the terminal device does not update the category data for the current time based on the indication. The category data includes category information, code information of the Bluetooth module, code information of the WiFi module, etc.

[0057] Assume that the code information of the category information corresponding to the electronic device "range hood" is "connector.device.type.greasepump", the code information of the Bluetooth module is "23", and the code information of the WiFi module is "35". The code information of the corresponding category information can be uniquely matched through the code information of the Bluetooth module or the code information of the WiFi module. For example, the "service_data" corresponding to B_1 is "0202040f000000", where every 2 bits correspond to a hexadecimal value. Take the 3rd to 4th bits in "service_data", such as "02". Get the hType field corresponding to W_1, such as "2", and pad the front bit of hType to the target length. For example, if the target length is 2, the code information of the WiFi module is "02". After that, query the code information "23" of the Bluetooth module in the category data, and get the code information of the category information corresponding to the code information "23" of the Bluetooth module as "connector.device.type.fridge". The code information "02" of the WiFi module is searched in the category data, and the code information of the category information corresponding to the code information "02" of the WiFi module is obtained as "connector.device.type.fridge".

[0058] Afterwards, when the code information of the category information corresponding to the code information of the Bluetooth module is the same as the code information of the category information corresponding to the code information of the WiFi module, it means that the Bluetooth device and the LAN device are the same electronic device. Therefore, the Bluetooth device can be deleted, the LAN device can be retained, and the retained LAN device can be used as the deduplicated electronic device. When the code information of the category information corresponding to the code information of the Bluetooth module is different from the code information of the category information corresponding to the code information of the WiFi module, it means that the two are not the same electronic device. At this time, both need to be retained at the same time, that is, the retained Bluetooth device and LAN device will be used as the deduplicated electronic device.

[0059] In some examples, the display method provided by the embodiments of the present disclosure 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, because the electronic device cannot be discovered by the local area network service when it is not networked.

[0060] 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, such as: "service_data" is "0202040f000000", where every 2 bits correspond to a hexadecimal value. Take the 5th to 6th bits in "service_data", and the value is "01". Then, convert "01" into an 8-bit binary value "00000100", and take out the 4th to 6th bits "001" in "00000100".

[0061] Among them, "000" means that the network configuration information is not configured; "001" means that the network configuration information is configured.

[0062] When the network configuration information is not configured, it means that the electronic device is not connected to the network, so the Bluetooth device needs to be retained. When the network configuration information is configured, it means that the electronic device is connected to the network, so the Bluetooth device can be deleted.

[0063] In some examples, such as Figure 5 As shown, the first application provides M types of entrances to view the list of devices to be configured. For example, when M is equal to 3, the user can enter Figure 5 Any of the nearby device controls 2-1, scan code to add controls 2-2, and manually add controls 2-3 in the displayed add page 1, to view the list of devices to be networked (i.e., electronic devices in the current environment). After the user selects the nearby device control 2-1, the first application can display the electronic devices discovered through the Bluetooth protocol and the electronic devices discovered through the local area network protocol in the display control 3-1 for displaying the list of devices to be networked. After the user selects the scan code to add control 2-2 or the manual add control 2-3, the first application can display the specified electronic devices to be networked in the display control 3-1 for displaying the list of devices to be networked. Regardless of whether the user selects any of the nearby device controls 2-1, the scan code to add control 2-2, and the manual add control 2-3, the electronic devices in the list of devices to be networked displayed in the display control 3-1 need to be eliminated in the above manner to ensure the accuracy of the electronic devices in the list of devices to be networked displayed to the user.

[0064] S12. Based on the actual identification, query the device category list to determine whether there is a theoretical identification that is the same as the actual identification, and the network identification corresponding to the theoretical identification that is the same as the actual identification is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identification, when the device model information is obtained, generate a display device list based on the device model information. The device model information includes at least a device icon, a device name, and a device model, and the display device list includes the electronic device corresponding to each device model information.

[0065] In some examples, the correspondence between the theoretical identifier and the network identifier is pre-configured in the device category list, such as the network identifier is the netconfigStatus identifier (wherein, when the netconfigStatus identifier is 0, it indicates that the electronic device does not support the Internet of Things function; when the netconfigStatus identifier is 1, it indicates that the electronic device supports the Internet of Things function, the theoretical identifier includes a local area network device identification code (deviceIdCode) or a Bluetooth network device identification code (deviceIdCodeBLE).

[0066] In some examples, deviceIdCodeBLE is obtained in the manufacturer data (ManufacturerData) in the Bluetooth advertising packet.

[0067] In some examples, the reported information includes a Bluetooth broadcast packet; when the first application receives a Bluetooth broadcast packet reported by an electronic device in the current environment, the first application parses the Bluetooth broadcast packet to determine the actual identifier (such as deviceIdCodeBLE1). Afterwards, based on deviceIdCodeBLE1, a query is made in the device category list to determine the theoretical identifier that is the same as deviceIdCodeBLE1 in the device category list, and the network identifier corresponding to the theoretical identifier. If the network identifier is used to indicate that the electronic device supports the Internet of Things function, the configuration information of the electronic device corresponding to the deviceIdCodeBLE1 is sent to the Internet of Things server. After receiving the configuration information sent by the mobile terminal, the Internet of Things server queries the database based on the configuration information to obtain the device model information. Afterwards, the Internet of Things server sends the device model information to the mobile terminal, so that the mobile terminal can display it in the display device list based on the device model information sent by the Internet of Things service. Alternatively, if the network identifier is used to indicate that the electronic device does not support the Internet of Things function, the electronic device corresponding to deviceIdCodeBLE1 is deleted. Alternatively, a query is performed in the device category list based on deviceIdCodeBLE1 to determine the theoretical identifier in the device category list that is the same as deviceIdCodeBLE1, and the network identifier corresponding to the theoretical identifier. If the network identifier is used to indicate that the electronic device supports the Internet of Things function, the configuration information of the electronic device corresponding to the deviceIdCodeBLE1 is sent to the Internet of Things server. After the Internet of Things server receives the configuration information sent by the mobile terminal, it queries the database based on the configuration information. If the device model information is not found, the Internet of Things server sends the target information to the mobile terminal to indicate that the device model information has not been obtained. After the mobile terminal receives the target information sent by the Internet of Things server, it queries in the device category list based on deviceIdCodeBLE1. When it is determined that the device category corresponding to the theoretical identifier corresponding to deviceIdCodeBLE1 has a corresponding device icon and device name, the device icon and device name corresponding to the device category are used as the device model information. In this way, the mobile terminal can be displayed in the display device list based on the device model information. Alternatively, based on deviceIdCodeBLE1, a query is performed in the device category list to determine the theoretical identifier in the device category list that is the same as deviceIdCodeBLE1, and the network identifier corresponding to the theoretical identifier. If the network identifier is used to indicate that the electronic device supports the Internet of Things function, the configuration information of the electronic device corresponding to the deviceIdCodeBLE1 is sent to the Internet of Things server.After the IoT server receives the configuration information sent by the mobile terminal, it queries the database based on the configuration information. If the device model information is not found, the IoT server sends the target information to the mobile terminal to indicate that the device model information has not been obtained. After the mobile terminal receives the target information sent by the IoT server, it queries the device category list based on deviceIdCodeBLE1. When it is determined that the device category corresponding to the theoretical identifier corresponding to deviceIdCodeBLE1 does not have a corresponding device icon and device name, it queries the database of the mobile terminal based on deviceIdCodeBLE1. If there is a pre-configured local icon and local name corresponding to the deviceIdCodeBLE1, the local icon and the local name are used as the device model information. In this way, the mobile terminal can display in the display device list based on the device model information.

[0068] In some examples, the reported information includes an online package; when the first application receives the online package reported by the electronic device in the current environment, the first application parses the online package to determine the actual identifier (such as deviceIdCode1). Afterwards, based on deviceIdCode 1, a query is performed in the device category list to determine the theoretical identifier that is the same as deviceIdCode 1 in the device category list, and the network identifier corresponding to the theoretical identifier. If the network identifier is used to indicate that the electronic device supports the Internet of Things function, the configuration information of the electronic device corresponding to the deviceIdCode 1 is sent to the Internet of Things server. After receiving the configuration information sent by the mobile terminal, the Internet of Things server queries the database based on the configuration information to obtain the device model information. Afterwards, the Internet of Things server sends the device model information to the mobile terminal, so that the mobile terminal can display it in the display device list based on the device model information sent by the Internet of Things service.

[0069] Alternatively, if the network identifier is used to indicate that the electronic device does not support the Internet of Things function, the electronic device corresponding to deviceIdCode1 is deleted. Alternatively, a query is performed in the device category list based on deviceIdCode 1 to determine the theoretical identifier in the device category list that is the same as deviceIdCode 1, and the network identifier corresponding to the theoretical identifier. If the network identifier is used to indicate that the electronic device supports the Internet of Things function, the configuration information of the electronic device corresponding to the deviceIdCode 1 is sent to the Internet of Things server. After receiving the configuration information sent by the mobile terminal, the Internet of Things server queries the database based on the configuration information. If the device model information is not found, the Internet of Things server sends the target information indicating that the device model information has not been obtained to the mobile terminal. After receiving the target information sent by the Internet of Things server, the mobile terminal queries in the device category list based on deviceIdCode 1. When it is determined that the device category corresponding to the theoretical identifier corresponding to deviceIdCode 1 has a corresponding device icon and device name, the device icon and device name corresponding to the device category are used as the device model information. In this way, the mobile terminal can be displayed in the display device list based on the device model information. Alternatively, a query is performed in the device category list based on deviceIdCode 1 to determine the theoretical identifier in the device category list that is the same as deviceIdCode 1, and the network identifier corresponding to the theoretical identifier. If the network identifier is used to indicate that the electronic device supports the Internet of Things function, the configuration information of the electronic device corresponding to the deviceIdCode 1 is sent to the Internet of Things server. After receiving the configuration information sent by the mobile terminal, the Internet of Things server queries the database based on the configuration information. If the device model information is not found, the Internet of Things server sends the target information indicating that the device model information has not been obtained to the mobile terminal. After receiving the target information sent by the Internet of Things server, the mobile terminal queries the device category list based on deviceIdCode 1. When it is determined that the device category corresponding to the theoretical identifier corresponding to deviceIdCode 1 does not have a corresponding device icon and device name, a query is performed in the database of the mobile terminal based on deviceIdCode 1. If there is a pre-configured local icon and local name corresponding to the deviceIdCode 1, the local icon and the local name are used as the device model information. In this way, the mobile terminal can display in the display device list based on the device model information. S13: Display based on the display device list.

[0070] In some examples, the display conditions for displaying the device list include:

[0071] 1. The display device list is displayed only once in the life cycle of the first application (after startup and before the process is killed by the background). For example, after the first application is started, the display mark is recorded, such as: the default value of deviceListShowed is false. After the display device list is displayed in the target page, the default value of the display mark is set to true. The display device list will not be displayed when the target page is displayed again next time.

[0072] 2. The first application is successfully loaded on the target page and displayed on the top layer. For example, when the target page fails to load, even if there are displayable devices in the current display device list, the display device list will not be displayed. It is necessary to ensure that the page currently displayed on the top layer is the target page before the device list is allowed to be displayed.

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

[0074] The display device list can only be displayed when the number of electronic devices in the display device list is greater than 1.

[0075] In some examples, the target page may be a home page.

[0076] In some examples, a home page corresponds to a Tab page. The home page is the first Tab page of the home page (i.e., the page displayed after the first application is started and the startup page is displayed). The categories that may be displayed on the home page are, for example, any one of the upgrade list, user guide list, and display device list. Only one list can be displayed at the same time.

[0077] In some examples, each time the first application is started, a list of eligible display devices will automatically pop up. If the electronic device found in the display device list is a neighbor's TV, or an electronic device that the user does not want to bind, the display device list will continue to display the electronic device each time the first application is started, which will affect the user experience. Therefore, the display method provided in the embodiment of the present disclosure is to optimize this problem and provide users with an entry to ignore the electronic device. Users can ignore all or ignore a single device with one click. The first application locally records the device ignore mark as a basis for whether the device is displayed in the device list next time.

[0078] In some examples, the first application displays Figure 6 On the page 2, the user can select the ignore control 1-1 or the add control 1-2 on the page 2, thereby deleting or adding electronic devices.

[0079] The display method provided by the present disclosure is that the electronic device responds to the startup operation and obtains the device category list and the reported information reported by the electronic devices in the current environment; then, the electronic device searches the device category list based on the actual identification, determines that there is a theoretical identification that is the same as the actual identification, and the theoretical identification that is the same as the actual identification corresponds to the support of the Internet of Things function, and when the device model information is obtained based on the configuration information of the electronic device corresponding to the actual identification, a display device list is generated based on the device model information; in this way, the electronic device can display the device icon, device name and device model that are more in line with the electronic device, thereby improving the content displayed by the first application and improving the user experience. Afterwards, the electronic device is displayed based on the display device list. In this way, the user can see information on the electronic device that is more in line with the electronic devices that can be added at present, thereby improving the user's interactive experience.

[0080] In some feasible examples, the configuration information includes any one of a device model identifier, a device identifier, and a module identifier, and the module identifier includes any one of a Bluetooth identifier and a wireless communication technology identifier.

[0081] In some feasible examples, the device category list also includes device icons and device names corresponding to different device categories; Figure 4 ,like Figure 7 As shown, the display method provided by the embodiment of the present disclosure also includes S14.

[0082] S14. Based on the actual identifier, query the device category list to determine whether there is a theoretical identifier that is the same as the actual identifier, and the network identifier corresponding to the theoretical identifier that is the same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, the device model information is not obtained, and when the device category corresponding to the theoretical identifier that is the same as the actual identifier has a corresponding device icon and device name, the device icon and device name corresponding to the device category are used as the device model information.

[0083] In some possible implementation examples, combined with Figure 7 ,like Figure 8 As shown, the display method provided in the embodiment of the present disclosure also includes S15 and S16.

[0084] S15. Based on the actual identifier, query the device category list to determine whether there is a theoretical identifier that is the same as the actual identifier, and the network identifier corresponding to the theoretical identifier that is the same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, the device model information is not obtained, and the device category corresponding to the theoretical identifier that is the same as the actual identifier does not have a corresponding device icon and device name, obtain a pre-configured local icon and local name corresponding to the actual identifier;

[0085] S16. Use the local icon and the local name as device model information.

[0086] In some examples, the configuration information can be obtained by parsing the reported information, wherein the configuration information includes any one of a device model identifier, a device identifier, and a module identifier, and the module identifier includes any one of a Bluetooth identifier (BLE ID) and a wireless communication technology identifier (WiFi ID).

[0087] In some examples, it is difficult to directly obtain device model information during the network configuration stage of an electronic device. To this end, the display method provided in the embodiment of the present disclosure designs a variety of ways to indirectly obtain configuration information through other data, and then query device model information based on the configuration information, and makes it easier to transmit device model information during the network configuration stage.

[0088] The IoT server provides a variety of ways to identify device model information during the network configuration phase, such as identifying device model information based on device model identification (such as device model), identifying device model information based on device identification (such as device identification code), identifying device model information based on Bluetooth identification, or identifying device model information based on wireless communication technology identification.

[0089] Among them, identifying the device model information according to the device model identifier (such as the device model) is that the IoT server queries the device model identifier in a pre-configured database according to the device model identifier to obtain the device model information. Among them, for the device model identifier, some manufacturers have fixed device identifier generation rules, and the device model identifier can be obtained by parsing the device identifier based on the rules; some manufacturers will store the device identifier in advance and associate the device model identifier when storing it. In this way, the device type identifier can be obtained through the device identifier, and then the device type identifier query can be provided to obtain the device model identifier.

[0090] Identifying the device model information according to the device identification (such as the device identification code) is that the Internet of Things server queries the device identification in a pre-configured database through the device identification to obtain the device model information.

[0091] The device model information is identified according to the wireless communication technology identifier through the WiFi module. The WiFi modules of some manufacturers cannot obtain the device model information. Only the WiFi identifier corresponding to the WiFi module can be obtained. The mapping relationship between the device model information and the WiFi identifier is imported into the IoT server in advance, and the device model information can be queried according to the WiFi identifier.

[0092] Identifying device model information based on Bluetooth identification is for the case where the Bluetooth identification is too long and the complete Bluetooth identification cannot be broadcast in the Bluetooth broadcast packet. A mapping code of the characteristic value part in the Bluetooth identification can be defined. The Internet of Things server obtains the first characteristic value based on the characteristic value code query, and then splices another part of the second characteristic value to form the Bluetooth identification. For example: the Bluetooth identification is composed of A (such as a 24-bit characteristic value and B (such as a 12)-bit MAC. At this time, a unique characteristic value code starting from 1 is given to the characteristic value. The Internet of Things server can find the first characteristic value based on this characteristic value code. Afterwards, the Internet of Things server splices the second characteristic value (such as a continuous 12-bit character in the MAC of the mobile terminal, or a continuous 12-bit character in the MAC of the Bluetooth module) after the first characteristic value to obtain the Bluetooth identification. Afterwards, the Internet of Things server queries the Bluetooth identification in a pre-configured database based on the Bluetooth identification to obtain the device model information.

[0093] Exemplary WiFi ID definition rules: To distinguish product information, the WiFi ID starts with the product model (featureCode) of the first target number of digits, such as the first target number of digits is 24. After that, the MAC of the second target number of digits corresponding to the WiFi module is spliced ​​after the featureCode, such as the second target number of digits is 12, so that the WiFi ID can be obtained (if the first target number of digits is 24 and the second target number of digits is 12, the length of the WiFi ID is 36 bits).

[0094] For example: WiFi ID is "86100c00fffe00600000004038640773889c", featureCode is "86100c00fffe006000000040", MAC is "38640773889c".

[0095] BLE ID definition rules: To distinguish devices from other manufacturers, the BLE ID starts with the target identifier, such as "HIS-". Then, the last N digits of the WiFi ID are added after the target identifier. For example, if the WiFi ID is "86100c00fffe00600000004038640773889c", N is 4, and the BLE ID can be determined to be "HIS-889c".

[0096] In some possible implementation examples, combined with Figure 7 ,like Fig. 9 As shown, the display method provided by the embodiment of the present disclosure also includes S17.

[0097] S17. Based on the actual identification, a query is performed in the device category list to determine whether there is a theoretical identification that is identical to the actual identification, and when the network identification corresponding to the theoretical identification that is identical to the actual identification is used to indicate that the electronic device does not support the Internet of Things function, the electronic device corresponding to the actual identification is deleted.

[0098] In some examples, at least one electronic device is displayed in the device list, and the device model information that needs to be displayed for each electronic device includes at least a device icon, a device name, and a device model.

[0099] In some examples, the device icon is an actual product image corresponding to the electronic device, such as a front view. The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to achieve the above functions, it includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0100] The embodiment of the present application can divide the functional modules of the display device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0101] like Fig.10 As shown, an embodiment of the present application provides a structural diagram of a mobile terminal 300 , which includes a processor 101 , a communicator 102 , and a display 103 .

[0102] The processor 101 is configured to, in response to a startup operation, control the communicator 102 to obtain a device category list and reported information reported by electronic devices in the current environment; wherein the device category list includes a correspondence between a theoretical identifier and a network identifier, the network identifier is used to indicate whether the electronic device supports the Internet of Things function, the theoretical identifier includes a local area network device identification code or a Bluetooth network configuration device identification code, and the reported information includes an actual identifier; the processor 101 is also configured to query the device category list obtained by the communicator 102 based on the actual identifier obtained by the communicator 102, determine whether there is a theoretical identifier that is the same as the actual identifier, and the network identifier corresponding to the theoretical identifier that is the same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, when the device model information is obtained, generate a display device list based on the device model information; wherein the device model information at least includes a device icon, a device name and a device model, and the display device list includes the electronic device corresponding to each device model information; the processor 101 is also configured to control the display 103 to display based on the display device list.

[0103] In some feasible examples, the configuration information includes any one of a device model identifier, a device identifier, and a module identifier, and the module identifier includes any one of a Bluetooth identifier and a wireless communication technology identifier.

[0104] In some feasible examples, the device category list also includes device icons and device names corresponding to different device categories; the processor 101 is further configured to query the device category list obtained by the communicator 102 based on the actual identifier obtained by the communicator 102, and determine whether there is a theoretical identifier that is identical to the actual identifier, and the network identifier corresponding to the theoretical identifier that is identical to the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, the device model information is not obtained, and when the device category corresponding to the theoretical identifier that is identical to the actual identifier has a corresponding device icon and device name, the device icon and device name corresponding to the device category is used as the device model information.

[0105] In some implementable examples, the processor 101 is further configured to query in the device category list obtained by the communicator 102 based on the actual identification obtained by the communicator 102, and determine whether there is a theoretical identification that is identical to the actual identification, and the network identification corresponding to the theoretical identification that is identical to the actual identification is used to indicate that the electronic device supports the Internet of Things function, and when the device model information is not obtained based on the configuration information of the electronic device corresponding to the actual identification, and the device category corresponding to the theoretical identification that is identical to the actual identification does not have a corresponding device icon and device name, obtain a pre-configured local icon and local name corresponding to the actual identification; the processor 101 is further configured to use the local icon and local name as the device model information.

[0106] In some feasible examples, the processor 101 is further configured to query in the device category list obtained by the communicator 102 based on the actual identification obtained by the communicator 102, and when it is determined that there is a theoretical identification that is identical to the actual identification, and the network identification corresponding to the theoretical identification that is identical to the actual identification is used to indicate that the electronic device does not support the Internet of Things function, the electronic device corresponding to the actual identification is deleted.

[0107] Among them, all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, and its role will not be repeated here.

[0108] Of course, the mobile terminal 300 provided in the embodiment of the present application includes but is not limited to the above modules, for example, the mobile terminal 300 may also include a memory 104. The memory 104 may be used to store program codes 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 a write request.

[0109] As an example, combining Figure 4 The function implemented by the acquisition unit 202 in the mobile terminal 300 is the same as that of the communicator 102, the function implemented by the processing unit 201 is the same as that of the processor 101, the function implemented by the display unit 203 is the same as that of the display 103, and the function implemented by the storage unit 204 is the same as that of the memory 104.

[0110] like Fig.11 As shown, an embodiment of the present application also provides a chip system, which can be applied to the mobile terminal 300 in the aforementioned embodiment. The chip system includes at least one processor 1501 and at least one interface circuit 1502. The processor 1501 can be the processor in the above-mentioned mobile terminal 300. The processor 1501 and the interface circuit 1502 can be interconnected through a line. The processor 1501 can receive and execute computer instructions from the memory of the above-mentioned mobile terminal 300 through the interface circuit 1502. When the computer instructions are executed by the processor 1501, the mobile terminal 300 can execute the various steps performed by the mobile terminal 300 in the above-mentioned embodiment. Of course, the chip system can also include other discrete devices, which is not specifically limited in the embodiment of the present application.

[0111] The embodiment of the present application also provides a computer-readable storage medium for storing computer instructions executed by the mobile terminal 300.

[0112] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be 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 the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. An electronic device, characterized in that: include: The processor is configured to control the communicator to obtain a device category list and reported information reported by the electronic device in the current environment in response to the startup operation; wherein the device category list includes a correspondence between a theoretical identifier and a network identifier, the network identifier is used to indicate whether the electronic device supports an Internet of Things function, the theoretical identifier includes a local area network device identification code or a Bluetooth network configuration device identification code, and the reported information includes an actual identifier; The processor is further configured to query the device category list obtained by the communicator based on the actual identifier obtained by the communicator, determine that there is a theoretical identifier that is the same as the actual identifier, and the network identifier corresponding to the theoretical identifier that is the same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, when device model information is obtained, generate a display device list based on the device model information; wherein the device model information at least includes a device icon, a device name and a device model, and the display device list includes each electronic device corresponding to the device model information; The processor is further configured to control the display to display based on the display device list.

2. The electronic device according to claim 1, characterized in that: The configuration information includes any one of a device model identifier, a device identifier, and a module identifier, and the module identifier includes any one of a Bluetooth identifier and a wireless communication technology identifier.

3. The electronic device according to claim 1, characterized in that: The device category list also includes device icons and device names corresponding to different device categories; The processor is further configured to query the device category list obtained by the communicator based on the actual identifier obtained by the communicator, determine whether there is a theoretical identifier that is identical to the actual identifier, and the network identifier corresponding to the theoretical identifier that is identical to the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, if the device model information is not obtained, and if the device category corresponding to the theoretical identifier that is identical to the actual identifier has a corresponding device icon and device name, the device icon and device name corresponding to the device category are used as the device model information.

4. The electronic device according to claim 3, characterized in that: The processor is further configured to query the device category list obtained by the communicator based on the actual identifier obtained by the communicator, determine that there is a theoretical identifier that is the same as the actual identifier, and the network identifier corresponding to the theoretical identifier that is the same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, when the device model information is not obtained, and the device category corresponding to the theoretical identifier that is the same as the actual identifier does not have a corresponding device icon and device name, obtain a pre-configured local icon and local name corresponding to the actual identifier; The processor is further configured to use the local icon and the local name as device model information.

5. The electronic device according to claim 1, characterized in that: The processor is also configured to query the device category list obtained by the communicator based on the actual identification obtained by the communicator, and when it is determined that there is a theoretical identification that is identical to the actual identification, and the network identification corresponding to the theoretical identification that is identical to the actual identification is used to indicate that the electronic device does not support the Internet of Things function, delete the electronic device corresponding to the actual identification.

6. A display method, characterized in that: include: In response to the start-up operation, a device category list and reported information reported by the electronic device in the current environment are obtained; wherein the device category list includes a correspondence between a theoretical identifier and a network identifier, the network identifier is used to indicate whether the electronic device supports an Internet of Things function, the theoretical identifier includes a local area network device identification code or a Bluetooth network device identification code, and the reported information includes an actual identifier; Based on the actual identifier, a query is performed in the device category list to determine whether there is a theoretical identifier that is the same as the actual identifier, and the network identifier corresponding to the theoretical identifier that is the same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, when the device model information is obtained, a display device list is generated based on the device model information; wherein the device model information at least includes a device icon, a device name and a device model, and the display device list includes each electronic device corresponding to the device model information; Display is performed based on the display device list.

7. The display method according to claim 6, characterized in that: The configuration information includes any one of a device model identifier, a device identifier, and a module identifier, and the module identifier includes any one of a Bluetooth identifier and a wireless communication technology identifier.

8. The display method according to claim 6, characterized in that: The device category list also includes device icons and device names corresponding to different device categories; The method further comprises: Based on the actual identifier, a query is performed in the device category list to determine whether there is a theoretical identifier that is identical to the actual identifier, and the network identifier corresponding to the theoretical identifier that is identical to the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, the device model information is not obtained, and when the device category corresponding to the theoretical identifier that is identical to the actual identifier has a corresponding device icon and device name, the device icon and device name corresponding to the device category are used as the device model information.

9. The display method according to claim 8, characterized in that: The method further comprises: Based on the actual identifier, a query is performed in the device category list to determine whether there is a theoretical identifier that is identical to the actual identifier, and the network identifier corresponding to the theoretical identifier that is identical to the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and based on the configuration information of the electronic device corresponding to the actual identifier, when the device model information is not obtained, and the device category corresponding to the theoretical identifier that is identical to the actual identifier does not have a corresponding device icon and device name, obtain a pre-configured local icon and local name corresponding to the actual identifier; The local icon and the local name are used as device model information.

10. A computer-readable storage medium, characterized in that: include: 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 described in any one of claims 6 to 9.

Citation Information

Patent Citations

  • Method, device and system for carrying out network configuration on device

    CN111586590A

  • Classified display method and device for external Bluetooth equipment and dual-hardware system display equipment

    CN112073952A

  • Network distribution method and device, and storage medium

    CN112654041A

  • Display device and Bluetooth pairing control method

    CN115567748A

  • Display method and display device

    WO2022057322A1