A display method, device and electronic equipment
By obtaining the device category list and reported information, the system can query devices that support IoT functions and generate a list of devices to display, thus solving the problem of limited content display in the Bluetooth configuration method and improving the user experience.
Patent Information
- Application Number
- CN202410008004.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-03
- Publication Date
- 2026-01-09
- Estimated Expiration
- 2044-01-03
AI Technical Summary
In existing technologies, the broadcast packets of Bluetooth pairing have limited storage capacity, resulting in insufficient display of user device category names and icons, leading to a poor user experience.
By obtaining the device category list and reported information, and querying the device category list based on the actual identifier, the electronic devices that support IoT functions are identified, and the device model information is obtained to generate a display device list, showing the device icon, name and model.
It enhances the display content and interactive experience of user devices, enabling users to see information about addable electronic devices more clearly.
Smart Images

Figure CN119420990B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the technical field of Internet of Things, and particularly relates to a display method and device and electronic equipment. BACKGROUND
[0002] At present, for the network configuration of intelligent devices, the common technical means is a Bluetooth network configuration mode. According to the operation instructions of a mobile phone software (application, APP) interface, a Bluetooth module is configured in a network state. The Bluetooth module will send a broadcast packet. Because the content length stored in the broadcast packet is limited, usually according to the device type code in the broadcast content, the device category name, the device category icon and part of the bytes of the unique identification of the Bluetooth module are displayed to the user. The content displayed is limited, and the user experience is poor. SUMMARY
[0003] In order to solve the above technical problems, the present disclosure provides a display method, device and electronic equipment.
[0004] The technical scheme of the present disclosure is as follows:
[0005] In a first aspect, the present disclosure provides an electronic equipment, comprising: a processor configured to control a communicator to acquire a device category list and report information reported by the electronic equipment in a current environment in response to a start operation; wherein the device category list comprises a corresponding relationship between a theoretical identification and a network identification, the network identification is used to indicate whether the electronic equipment supports Internet of Things function, the theoretical identification comprises a local area network device identification code or a Bluetooth network configuration device identification code, and the report information comprises an actual identification; the processor is further configured to query the device category list acquired by the communicator based on the actual identification acquired by the communicator, determine that there is a theoretical identification same as the actual identification, and the network identification corresponding to the theoretical identification same as the actual identification is used to indicate that the electronic equipment supports the Internet of Things function, and when the device model information is acquired based on the configuration information of the electronic equipment corresponding to the actual identification, generate a display device list based on the device model information; wherein the device model information at least comprises a device icon, a device name and a device model, and the display device list comprises the electronic equipment corresponding to each device model information; the processor is further configured to control a 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 starting operation, obtaining a device category list and report information reported by an electronic device in a current environment; wherein the device category list comprises 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 comprises a local area network device identifier code or a Bluetooth network device identifier code, and the report information comprises an actual identifier; based on the actual identifier, querying in the device category list to determine that there is a same theoretical identifier as the actual identifier, and the network identifier corresponding to the same theoretical identifier as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and when device model information is obtained based on configuration information of the electronic device corresponding to the actual identifier, generating a display device list based on the device model information; wherein the device model information at least comprises a device icon, a device name and a device model, the display device list comprises an electronic device corresponding to each device model information; and 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 is used to store a computer program; and the processor is used to enable the electronic device to implement the display method of any one of the second aspect when executing the computer program.
[0008] In a fourth aspect, the present disclosure provides a computer readable storage medium, comprising: a computer readable storage medium storing a computer program, the computer program is executed by a processor to implement the display method of any one of the second aspect.
[0009] In a fifth aspect, the present disclosure provides a computer program product, when the computer program product is run on a computer, the computer program product enables the computer to execute the display method of any one of the second aspect.
[0010] It should be noted that the above computer instructions can be stored on the first computer readable storage medium in whole or in part. Wherein, the first computer readable storage medium can be packaged together with the processor of the electronic device, or can be packaged separately from the processor of the electronic device, and the present disclosure does not limit this.
[0011] The description of the second aspect, the third aspect, the fourth aspect and the fifth aspect in the present disclosure can refer to the detailed description of the first aspect; and the beneficial effects of the description of the second aspect, the third aspect, the fourth aspect and the fifth aspect can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.
[0012] In the present disclosure, the name of the above-mentioned electronic device does not constitute a limitation to the device or functional module itself, and in actual implementation, these devices or functional modules can appear with other names.
[0013] These aspects or other aspects of the present disclosure will be more apparent in the following description.
[0014] Compared with the prior art, the technical solutions provided by the present disclosure have the following advantages:
[0015] The display method provided by the present disclosure, in response to a starting operation, the electronic device acquires a device category list and report information reported by the electronic device in the current environment; then, the electronic device queries the device category list based on the actual identifier, determines that there is a theoretical identifier identical to the actual identifier, and the network identifier corresponding to the theoretical identifier 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 acquired, and based on the device model information, a display device list is generated; in this way, the electronic device can display device icons, device names and device models that are more consistent with the electronic device, thereby improving the content of the first application display and improving the user experience. Then, the electronic device displays based on the display device list. In this way, the user can see more information on the electronic device that is more consistent with the currently available electronic device, thereby improving the user's interactive experience and solving the problem of limited application program display content and poor user experience in the prior art. BRIEF DESCRIPTION OF DRAWINGS
[0016] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the specification, serve to explain the principles of the present disclosure.
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the accompanying drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, for those skilled in the art, other drawings can also be obtained without creative labor based on these drawings.
[0018] Figure 1 The scene schematic diagram of the display method provided by the present disclosure is provided.
[0019] Figure 2 The structure schematic diagram of the display device provided by the present disclosure is provided.
[0020] Figure 3 The structure schematic diagram of the display device provided by the present disclosure is provided.
[0021] Figure 4 The flowchart of the display method provided by the present disclosure is provided.
[0022] Figure 5 The scene schematic diagram of the display method provided by the present disclosure is provided.
[0023] Figure 6The second scene schematic diagram of the display method provided by the embodiment of the present application;
[0024] Figure 7 The second flow schematic diagram of the display method provided by the embodiment of the present application;
[0025] Figure 8 The third flow schematic diagram of the display method provided by the embodiment of the present application;
[0026] Figure 9 The fourth flow schematic diagram of the display method provided by the embodiment of the present application;
[0027] Figure 10 The structure schematic diagram of the mobile terminal provided by the embodiment of the present application;
[0028] Figure 11 The schematic diagram of the chip system provided by the embodiment of the present application. DETAILED DESCRIPTION
[0029] In order to more clearly understand the above-mentioned purposes, features and advantages of the present disclosure, the schemes 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 in order to provide a thorough understanding of the present disclosure, but the present disclosure can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only some of the embodiments of the present disclosure, not all the embodiments.
[0031] The display device provided by the embodiment of the present application can have various implementation forms, for example, can be a television, a smart television, a laser projection device, a monitor, an electronic bulletin board, an electronic table, etc. Figure 1 And Figure 2 A specific implementation of the display device of the present application.
[0032] 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.
[0033] 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.
[0034] In some embodiments, the electronic device provided in this application can be the mobile terminal 300 described above. During use of 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 startup operation, the first application obtains the reporting information from the electronic device in the current environment and sends the information to the IoT server 400. After receiving the information from the mobile terminal 300, the IoT server 400 sends a device category list to the mobile terminal 300. The mobile terminal 300 receives the device category list from the IoT server 400, thus obtaining the device category list. Then, based on the actual identifier, the first application queries the device category list to determine if there exists a theoretical identifier identical to the actual identifier. The network identifier corresponding to the theoretical identifier is used to indicate that the electronic device supports IoT functions. Based on the configuration information of the electronic device corresponding to the actual identifier, the first application sends query information carrying this configuration information to the IoT server 400. The IoT server 400 queries its database based on the query information sent by the mobile terminal 300, obtaining the device model information corresponding to the configuration information in the query. Then, the IoT server 400 sends the device model information to the mobile terminal 300. The mobile terminal 300 receives the device model information from the IoT server 400, thus the first application obtains the device model information. Next, the first application generates a list of displayed devices based on the device model information; thus, the first application can display device icons, device names, and device models that are more consistent with the electronic devices, thereby improving the content displayed by the first application and enhancing the user experience. Finally, the first application displays the list of displayed devices.
[0035] 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.
[0036] In some embodiments, the controller 250 controls the operation of the display device and the response to the user's operation by storing various software control programs in the memory. The controller 250 controls the overall operation of the display device 200.
[0037] In some examples, the display device 200 applying one or more embodiments is a television 1, and the operating system of the television 1 is an Android system. As shown in FIG. 1, the television 1 can be logically divided into an Applications layer (referred to as "application layer" for short) 21, an Application Framework layer (referred to as "framework layer" for short) 22, an Android runtime and system library layer (referred to as "system runtime library layer" for short) 23, and a kernel layer 24. Figure 3
[0038] The application layer 21 includes one or more applications. The applications can be system applications or third-party applications. The framework layer 22 provides an application programming interface (API) and a programming framework for the application programs of the application layer 21. The system runtime library layer 23 provides support for the upper layer, i.e., the framework layer 22, and when the framework layer 22 is used, the Android operating system runs the C / C++ library contained in the system runtime library layer 23 to realize the functions of the framework layer 22. The kernel layer 24 is 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, during the use of the mobile terminal 300, the user can control the television 1 through the mobile terminal 300. When the television 1 and the mobile terminal 300 do not establish a binding relationship, at this time 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 starting operation, controls the transceiver unit 202 to acquire the reporting information reported by the electronic device in the current environment, and controls the transceiver unit 202 to send the acquired 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 distributes the 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 transceiver unit 202 controls the acquisition of 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 acquired by the transceiver unit 202 based on the actual identifier acquired by the transceiver unit 202, determines that there is a theoretical identifier identical to the actual identifier, and the network identifier corresponding to the theoretical identifier 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 transceiver unit 202 sends the query information carrying the configuration information to the Internet of Things server 400. The Internet of Things server 400 queries in 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. Then, the Internet of Things server 400 distributes the device model information to the mobile terminal 300. The transceiver unit 202 of the mobile terminal 300 receives the device model information distributed by the Internet of Things server 400, so that the first application acquires the device model information. Then, the processing unit 201 generates a display device list based on the device model information acquired by the transceiver unit 202; thus, the first application can display device icons, device names and device models more suitable for the electronic device, thereby improving the content displayed by the first application and improving the user experience. Then, 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 embodiments of the present disclosure is the mobile terminal 300, the storage unit 204 of the mobile terminal 300 stores the program code and other data of the display method provided by the embodiments of the present disclosure.
[0041] In the following embodiments, the execution subject of the display method provided by the embodiments of the present disclosure is taken as the mobile terminal 300 described above, and the method of the embodiments of the present disclosure is described.
[0042] The embodiments of the present disclosure provide a display method, which is applied to a television 1, and the display method comprises the following steps. Figure 4As shown, the display method can include S11-S13.
[0043] S11, in response to the start operation, obtaining a device category list and report information reported by electronic devices 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 identifier code or a Bluetooth network device identifier code, and the report information includes an actual identifier.
[0044] In some examples, the actual identifier includes a local area network device identifier code or a Bluetooth network device identifier code.
[0045] In some examples, the first application in the mobile terminal 300 responds to the start operation, the first application calls the Bluetooth module of the mobile terminal 300, obtains the report information reported by the electronic device in the current environment, such as the content of the Bluetooth broadcast packet, parses the content of the broadcast packet, and connects with the Internet of Things server 400 to obtain the device model information. In addition, after the first application and the electronic device successfully perform Bluetooth network configuration, as long as the first application and the electronic device are in the same local area network, the first application can determine whether the electronic device has been connected to the local area network through the local area network discovery protocol.
[0046] In some examples, the first application continuously obtains the report information reported by the electronic device in the current environment within a specified time, until the specified time is reached or a communication connection with the electronic device is established, and then stops obtaining the report information reported by the electronic device in the current environment.
[0047] In some examples, the mobile terminal 300 installed with the first application is taken as a scanning center, and multiple target protocols are used to discover electronic devices in the current environment; the target protocols include 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 configured, the Bluetooth device can be discovered through the Bluetooth protocol; for a Bluetooth device that has been configured, such as the first application and the Bluetooth device being 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, the display list is directly generated.
[0049] In some examples, when the electronic devices in the current environment are greater than or equal to 2, the electronic devices need to be deduplicated to obtain a display device list. For example, when the electronic devices bound to the current account and the at least two electronic devices that can be added in the current environment are deduplicated, the electronic devices obtained through the Bluetooth protocol and the electronic devices obtained through the local area network protocol can be reacquired. Therefore, the electronic devices obtained through the local area network protocol and the Bluetooth protocol can be deduplicated first to obtain deduplicated electronic devices. Then, the deduplicated electronic devices and the electronic devices obtained through the Digital Living Network Alliance protocol are combined to obtain combined electronic devices. Since the combined electronic devices include the electronic devices bound to the current account logged in by the first application, the electronic devices bound to the current account and the combined electronic devices need to be deduplicated to obtain displayable electronic devices. Then, based on the displayable electronic devices, a display device list including each displayable electronic device is generated. For example, the electronic devices in the combined 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 devices) are deleted to obtain the displayable electronic devices. Alternatively, under normal circumstances, whether the electronic devices discovered through the Bluetooth protocol or the electronic devices discovered through the local area network protocol can be repeatedly discovered within a certain time (such as 10 seconds). Therefore, the electronic devices that are not repeatedly discovered within 10 seconds are removed to obtain the displayable electronic devices.
[0050] Then, based on the actual identification of the displayable electronic devices, the device category list is queried to determine whether there is a theoretical identification that is the same as the actual identification, and whether the network identification corresponding to the theoretical identification that is the same as the actual identification indicates that the electronic device supports the Internet of Things function. When the configuration information of the electronic device corresponding to the actual identification is obtained, the device model information is generated based on the device model information to generate a display device list.
[0051] In some examples, for the convenience of understanding, it is assumed that the electronic devices discovered through the Bluetooth protocol (referred to as Bluetooth devices) are B_1, the electronic devices discovered through the local area network service (referred to as local area network devices) are W_1, and the Bluetooth devices and the local area network devices discovered through the WiFi module are the same electronic device verified through the Media Access Control Address (MAC) of the WiFi module. This scheme relies on the MAC of the WiFi module reported by the Bluetooth device during broadcasting.
[0052] In some examples, the process of the Bluetooth device obtaining the MAC of the WiFi module is as follows: when the first M bits of the manufacturer_data information in the broadcast packet content reported by the Bluetooth device ≥ 128 (for example, M is equal to 2), the Bluetooth device is deleted, and the local area network device is retained. When the first 2 bits of the manufacturer_data information in the broadcast packet content reported by the Bluetooth device < 128, for example, the "manufacturer_data" information in the broadcast packet content of B_1 is "40007638640773889c", the first 2 bits "40" in "40007638640773889c" are taken, which is converted to decimal as 64, since 64 < 128, it is indicated that the electronic device supports MAC parsing. Then, by judging the size relationship between the first 2 bits of the "manufacturer_data" information in the broadcast packet content and the preset threshold (for example, 64), the address length of the MAC is determined, for example, when the first 2 bits of the "manufacturer_data" information in the broadcast packet content ≥ 64, it is determined that the address length of the MAC is 12; when the first 2 bits of the "manufacturer_data" information in the broadcast packet content < 64, it is determined that the address length of the MAC is 8. For example, the "manufacturer_data" information in the broadcast packet content is "40007638640773889c", the first 2 bits "40" in "40007638640773889c" are taken, which is converted to decimal as 64, since 64 = 64, therefore the address length of the MAC is 12. Then, based on the address length, the characters of the address length in the "manufacturer_data" information in the broadcast packet content are intercepted as the MAC (the characters of the address length after the "manufacturer_data" information in the broadcast packet content are taken). For example, the "manufacturer_data" information in the broadcast packet content is "40007638640773889c", the characters of the address length from the last character c are taken as the MAC, that is, the MAC is "8640773889c".
[0053] Afterwards, the process of LAN device obtaining the MAC of WiFi module is as follows: the definition rule of WiFi ID stipulates that the last 12 of WiFi ID is the MAC of WiFi module. Since the length of the MAC of WiFi module obtained by the Bluetooth device is dynamic, the length of the MAC of WiFi module obtained by the Bluetooth device is compared with 12. When the length of the MAC of WiFi module obtained by the Bluetooth device is greater than or equal to 12, the characters with a step length equal to 12 are taken from the last character of WiFi ID as the MAC. When the length of the MAC of 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 WiFi module obtained by the Bluetooth device are taken from the last character of WiFi ID as the MAC. For example, in combination with the number given above, the length of the MAC of WiFi module obtained by B_1 is 12, and the length of the MAC of WiFi module obtained by W_1 is 12, and the minimum value of the two is 12. Assuming that the WiFi ID of W_1 is “86100c00fffe00600000004038640773889c”; wherein the characters with a step length equal to 12 are taken from the last character c as the MAC, that is, the MAC is “8640773889c”.
[0054] Afterwards, the MAC of WiFi module obtained by the Bluetooth device is compared with the MAC of WiFi module obtained by the LAN device. When the MAC of WiFi module obtained by the Bluetooth device is the same as the MAC of WiFi module obtained by the LAN device, it is indicated that the Bluetooth device and the LAN device are the same device, the Bluetooth device can be deleted, the LAN device is retained, and the retained LAN device is taken as the electronic device after deduplication. When the MAC of WiFi module obtained by the Bluetooth device is not the same as the MAC of WiFi module obtained by the LAN device, it is indicated that the Bluetooth device and the LAN device are not the same device, and therefore the Bluetooth device and the LAN device need to be retained at the same time, that is, the retained Bluetooth device and the LAN device are taken as the electronic device after deduplication.
[0055] In some examples, the display method provided by the embodiments of the present disclosure can also utilize the category information to which the Bluetooth device belongs and the category information to which the LAN device belongs for deduplication. 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, the Bluetooth device and the LAN device need to be retained at the same time, that is, the retained Bluetooth device and the LAN device are taken as the electronic device after deduplication.
[0056] Exemplarily, when the first application is started, the current category data is acquired and persisted in the memory of the terminal device. Each time the first application is started, it is needed 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 Internet of Things server. The Internet of Things server determines that there is no new category data after the update date, and sends indication information of no update to the terminal device, so that the terminal device no longer updates the category data based on the indication information. The category data includes category information, code information of the Bluetooth module, code information of the WiFi module, and the like.
[0057] Suppose that the electronic device is an "oil fume machine", the code information of the corresponding category information 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 ", wherein each 2 bits correspond to a 16 hexadecimal value. The 3rd~4th bits in the "service_data" are taken, for example, the value "02" is taken. The hType field corresponding to W_1 is acquired, for example, "2". The hType is padded to the target length, for example, the target length is 2, and the code information of the WiFi module is obtained as "02". Then, the code information "23" of the Bluetooth module is inquired in the category data, and the code information "23" of the Bluetooth module corresponds to the code information "connector.device.type.fridge" of the category information. The code information "02" of the WiFi module is inquired in the category data, and the code information "02" of the WiFi module corresponds to the code information "connector.device.type.fridge" of the category information.
[0058] Then, when the code information of the Bluetooth module corresponds to the code information of the category information, and the code information of the WiFi module corresponds to the code information of the category information, it is indicated that the Bluetooth device and the local area network device are the same electronic device, so the Bluetooth device can be deleted, the local area network device is retained, and the retained local area network device is taken as the deduplicated electronic device. When the code information of the Bluetooth module corresponds to the code information of the category information, and the code information of the WiFi module corresponds to the code information of the category information, it is indicated that the two are not the same electronic device, so the two are needed to be retained at the same time, that is, the retained Bluetooth device and the local area network device are taken as the deduplicated electronic device.
[0059] In some examples, the display method provided by the embodiments of the present disclosure can determine whether the Bluetooth device and the local area network device are the same electronic device by using the network configuration information of the electronic device, because the electronic device cannot be discovered by the local area network service when the electronic device is not configured.
[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" being "0202040f000000 ", wherein each 2 bits correspond to a 16 hexadecimal value. The 5th-6th bits in "service_data" are taken, and the value "01" is obtained. Then, "01" is converted into an 8-bit binary value "00000100", and the 4th-6th bits "001" in "00000100" are taken.
[0061] Among them, "000" indicates that the network configuration information is not configured; "001" indicates that the network configuration information is configured.
[0062] When the network configuration information is not configured, it indicates that the electronic device has not been connected to the network, and thus the Bluetooth device needs to be retained. When the network configuration information is configured, it indicates that the electronic device has been connected to the network, and thus the Bluetooth device can be deleted.
[0063] In some examples, as shown in FIG. 2A, the first application provides M kinds of entrances to view the device list to be configured, such as M being equal to 3. The user can view the device list to be configured (i.e., the electronic devices in the current environment) through any one of the nearby device control 2-1, the code scanning adding control 2-2, and the manual adding control 2-3 in the adding page 1 displayed by the first application. Figure 5 Figure 5 The user can view the device list to be configured (i.e., the electronic devices in the current environment) through any one of the nearby device control 2-1, the code scanning adding control 2-2, and the manual adding control 2-3 in the adding page 1 displayed by the first application. After the user performs a selection operation on 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 device list to be configured. After the user performs a selection operation on the code scanning adding control 2-2 or the manual adding control 2-3, the first application can display the specified electronic devices to be configured in the display control 3-1 for displaying the device list to be configured. Regardless of the selection operation performed by the user on any one of the nearby device control 2-1, the code scanning adding control 2-2, and the manual adding control 2-3, the electronic devices in the device list to be configured displayed in the display control 3-1 need to be removed according to the above manner, so as to ensure the accuracy of the electronic devices in the device list to be configured displayed to the user.
[0064] S12, based on the actual identification, query in the device category list, determine that there is a same theoretical identification as the actual identification, and the network identification corresponding to the same theoretical identification 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, the device model information is obtained, and based on the device model information, a display device list is generated. Wherein, the device model information at least includes device icon, device name and device model, and the display device list includes each device model information corresponding to the electronic device.
[0065] In some examples, the device category list is pre-configured with the correspondence between the theoretical identification and the network identification, such as the network identification being netconfigStatus identification (wherein, when netconfigStatus identification is 0, it indicates that the electronic device does not support the Internet of Things function; when netconfigStatus identification is 1, it indicates that the electronic device supports the Internet of Things function, and the theoretical identification includes a local area network device identification code (deviceIdCode) or a Bluetooth network device identification code (deviceIdCodeBLE).
[0066] In some examples, the deviceIdCodeBLE is obtained in the manufacturer data (ManufacturerData) in the Bluetooth broadcast packet.
[0067] In some examples, the reported information includes a Bluetooth broadcast packet; when the first application receives the Bluetooth broadcast packet reported by the electronic device in the current environment, the first application analyzes the Bluetooth broadcast packet to determine the actual identifier (such as deviceIdCodeBLE1). Then, based on the deviceIdCodeBLE1, the device category list is queried to determine the same theoretical identifier as the 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 the Internet of Things server receives the configuration information sent by the mobile terminal, the configuration information is queried in the database based on the configuration information to obtain the device model information. Then, the Internet of Things server sends the device model information to the mobile terminal, so that the mobile terminal can display the device model information in the display device list based on the device model information sent by the Internet of Things server. Or, 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 the deviceIdCodeBLE1 is deleted. Or, based on the deviceIdCodeBLE1, the device category list is queried to determine the same theoretical identifier as the 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 the Internet of Things server receives the configuration information sent by the mobile terminal, the configuration information is queried in the database based on the configuration information, and if the device model information is not queried, the Internet of Things server sends the target information indicating that the device model information is not obtained to the mobile terminal. After the mobile terminal receives the target information sent by the Internet of Things server, based on the deviceIdCodeBLE1, the device category list is queried to determine that the device category corresponding to the theoretical identifier corresponding to the deviceIdCodeBLE1 exists corresponding device icon and device name, and the device category corresponding device icon and device name are used as device model information. So the mobile terminal can display the device model information in the display device list. Or, based on the deviceIdCodeBLE1, the device category list is queried to determine the same theoretical identifier as the 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 the Internet of Things server receives 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 target information to the mobile terminal to indicate that the device model information is not obtained. After the mobile terminal receives the target information sent by the Internet of Things server, the mobile terminal queries the device category list based on the deviceIdCodeBLE1. If the device category corresponding to the theoretical identifier corresponding to the deviceIdCodeBLE1 does not exist, the mobile terminal queries the database of the mobile terminal based on the deviceIdCodeBLE1. If the pre-configured local icon and local name corresponding to the deviceIdCodeBLE1 exist, the mobile terminal takes the local icon and the local name as the device model information. In this way, the mobile terminal can display the 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 analyzes the online package to determine the actual identifier (such as deviceIdCode 1). Then, the mobile terminal queries the device category list based on the deviceIdCode 1 to determine the theoretical identifier in the device category list that is the same as the deviceIdCode 1, and the network identifier corresponding to the theoretical identifier. If the network identifier indicates that the electronic device supports the Internet of Things function, the mobile terminal sends the configuration information of the electronic device corresponding to the deviceIdCode 1 to the Internet of Things server. After the Internet of Things server receives 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. Then, the Internet of Things server issues the device model information to the mobile terminal. In this way, the mobile terminal can display the device list based on the device model information issued by the Internet of Things server.
[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 the deviceIdCode 1 is deleted. Alternatively, the device category list is queried based on the deviceIdCode 1, the same theoretical identifier as the deviceIdCode 1 in the device category list is determined, and the network identifier corresponding to the theoretical identifier is determined. 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 the Internet of Things server receives the configuration information sent by the mobile terminal, the database is queried based on the configuration information, and if the device model information is not queried, the Internet of Things server sends target information indicating that the device model information is not obtained to the mobile terminal. After the mobile terminal receives the target information sent by the Internet of Things server, the device category corresponding to the theoretical identifier corresponding to the deviceIdCode 1 is determined to exist corresponding device icons and device names based on the query of the device category list based on the deviceIdCode 1, and the device icons and device names corresponding to the device category 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. Alternatively, the device category list is queried based on the deviceIdCode 1, the same theoretical identifier as the deviceIdCode 1 in the device category list is determined, and the network identifier corresponding to the theoretical identifier is determined. 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 the Internet of Things server receives the configuration information sent by the mobile terminal, the database is queried based on the configuration information, and if the device model information is not queried, the Internet of Things server sends target information indicating that the device model information is not obtained to the mobile terminal. After the mobile terminal receives the target information sent by the Internet of Things server, the device category corresponding to the theoretical identifier corresponding to the deviceIdCode 1 is determined to not exist corresponding device icons and device names based on the query of the device category list based on the deviceIdCode 1, and the device icons and device names corresponding to the device category 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 of the display device list include:
[0071] 1. The device list is displayed only once in the life cycle of the first application (after starting, before being killed in the background). For example, after the first application starts, a display flag is recorded, such as the default value of deviceListShowed is false, and after the device list is displayed in the target page, the default value of the display flag is set to true. Next time the target page is displayed again, the device list is not displayed.
[0072] 2. The first application is normally loaded successfully in the target page and is displayed on the top layer. For example, if the target page fails to load, even if there are devices that can be displayed in the current device list, the device list is not displayed. It must be ensured that the currently displayed page in the top layer is the target page, and then the device list is allowed to be displayed.
[0073] 3. There are electronic devices that can be added
[0074] When the number of electronic devices in the device list is greater than 1, the device list can be displayed.
[0075] In some examples, the target page can be the home page.
[0076] In some examples, one home page corresponds to one Tab page. Among them, the home page is the first Tab page of the home page (i.e. the page displayed after the start page is displayed after the first application starts). Any of the following can be displayed above the home page: upgrade list, user guide list, and device list. Among them, only one list can be displayed at the same time.
[0077] In some examples, each time the first application starts, the device list that meets the conditions will be automatically popped up. If it is found that the electronic device in the device list is a neighbor's TV or an electronic device that the user does not want to bind, the user experience will be affected when the electronic device continues to be displayed in the device list each time the first application starts. Therefore, the display method provided by the embodiments of the present disclosure optimizes this problem and provides an entry for the user to ignore the electronic device. The user can ignore all or ignore individually, and the first application locally records the device ignore flag as a basis for whether the device is displayed in the device list next time.
[0078] In some examples, the first application displays the page 2 as shown in Figure 6 The user can select the ignore control 1-1 or the add control 1-2 in the page 2 to delete and add electronic devices.
[0079] The display method provided by the present disclosure comprises the following steps: in response to a starting operation, an electronic device acquires a device category list and report information reported by the electronic device in a current environment; then, the electronic device queries the device category list based on an actual identifier, determines that there is a same theoretical identifier as the actual identifier, and that the same theoretical identifier as the actual identifier corresponds to a support Internet of Things function, and acquires device model information based on configuration information of the electronic device corresponding to the actual identifier; when the device model information is acquired, the electronic device generates a display device list based on the device model information; in this way, the electronic device can display a device icon, a device name and a device model that are more suitable for the electronic device, thereby improving the content of the first application display and improving the user experience; then, the electronic device displays based on the display device list. In this way, the user can see more information on the electronic device that is more suitable for the current addable electronic device, thereby improving the user interaction experience.
[0080] In some implementable examples, the configuration information comprises any one of a device model identifier, a device identifier and a module identifier, and the module identifier comprises any one of a Bluetooth identifier and a wireless communication technology identifier.
[0081] In some implementable examples, the device category list further comprises a device icon and a device name corresponding to different device categories; in combination with Figure 4 As shown in Figure 7 The display method provided by the present disclosure further comprises S14.
[0082] S14, querying the device category list based on the actual identifier, determining that there is a same theoretical identifier as the actual identifier, and that the same theoretical identifier as the actual identifier corresponds to a network identifier used for indicating that the electronic device supports the Internet of Things function, and that the configuration information of the electronic device corresponding to the actual identifier has not acquired device model information, and that the device category corresponding to the same theoretical identifier as the actual identifier has a corresponding device icon and device name; when the device category corresponding to the same theoretical identifier as the actual identifier has a corresponding device icon and device name, the device icon and the device name corresponding to the device category are used as the device model information.
[0083] In some implementable examples, in combination with Figure 7 As shown in Figure 8 The display method provided by the present disclosure further comprises S15 and S16.
[0084] S15, querying the device category list based on the actual identifier, determining that there is a same theoretical identifier as the actual identifier, and that the same theoretical identifier as the actual identifier corresponds to a network identifier used for indicating that the electronic device supports the Internet of Things function, and that the configuration information of the electronic device corresponding to the actual identifier has not acquired device model information, and that the device category corresponding to the same theoretical identifier as the actual identifier does not have a corresponding device icon and device name; when the device category corresponding to the same theoretical identifier as the actual identifier does not have a corresponding device icon and device name, acquiring a pre-configured local icon and a local name corresponding to the actual identifier;
[0085] S16, the local icon and the local name are taken as the device model information.
[0086] In some examples, the configuration information can be obtained by analyzing the reported information. The configuration information includes any one of a device model identifier, a device identifier, and a module identifier. 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 the device model information in the network configuration stage of the electronic device. Therefore, the display method provided by the embodiments of the present disclosure designs multiple ways of indirectly obtaining the configuration information from other data, and then querying the device model information according to the configuration information, and makes the device model information more convenient to transmit in the network configuration stage.
[0088] The Internet of Things server provides multiple ways of identifying the device model information in the network configuration stage, such as identifying the device model information according to a device model identifier (such as a device model), or identifying the device model information according to a device identifier (such as a device identification code), or identifying the device model information according to a Bluetooth identifier, or identifying the device model information according to a wireless communication technology identifier.
[0089] Among them, identifying the device model information according to the device model identifier (such as the device model) is that the Internet of Things server queries the device model identifier in the pre-configured database according to the device model identifier to obtain the device model information. For the device model identifier, some manufacturers have fixed device identifier generation rules, and the device model identifier can be obtained by analyzing the device identifier based on the rules; some manufacturers will import the device identifier in advance, and associate the device model identifier when importing. In this way, the device type identifier can be obtained from the device identifier, and the device model identifier can be queried by providing the device type identifier.
[0090] Identifying the device model information according to the device identifier (such as the device identification code) is that the Internet of Things server queries the device identifier in the pre-configured database according to the device identifier to obtain the device model information.
[0091] Identifying the device model information according to the wireless communication technology identifier is that the WiFi module is used. The WiFi module of some manufacturers cannot obtain the device model information, and can only obtain the WiFi identifier corresponding to the WiFi module. The mapping relationship between the device model information and the WiFi identifier is imported in advance in the Internet of Things server, and the device model information can be queried according to the WiFi identifier.
[0092] Identifying device model information based on Bluetooth identifiers is useful when Bluetooth identifiers are too long to be broadcast completely in Bluetooth broadcast packets. A mapping code for the feature value portion of the Bluetooth identifier can be defined. The IoT server retrieves the first feature value based on this code and then appends a second feature value to form the Bluetooth identifier. For example, a Bluetooth identifier might consist of A (e.g., a 24-bit feature value) and B (e.g., a 12-bit MAC address). A unique feature value code starting from 1 is assigned to the feature value, allowing the IoT server to retrieve the first feature value. Then, the IoT server appends the second feature value (e.g., 12 consecutive characters from the MAC address of a mobile terminal or a Bluetooth module) to the first feature value to obtain the Bluetooth identifier. Finally, the IoT server uses this Bluetooth identifier to query a pre-configured database to obtain the device model information.
[0093] For example, the WiFi ID definition rule is as follows: To distinguish product information, the WiFi ID begins with the product model number (featureCode) in the first target digits, such as 24 digits. Then, the MAC address of the WiFi module in the second target digits is concatenated after the featureCode, such as 12 digits. This gives the WiFi ID (if the first target digit is 24 digits and the second target digit is 12 digits, the WiFi ID length is 36 bits).
[0094] For example: WiFi ID is “86100c00fffe00600000004038640773889c”, where featureCode is “86100c00fffe006000000040” and MAC is “38640773889c”.
[0095] BLE ID definition rules: To distinguish devices from other manufacturers, the BLE ID begins with the target identifier, such as "HIS-". Then, the last N digits of the WiFi ID are appended after the target identifier. For example, if the WiFi ID is "86100c00fffe00600000004038640773889c", where N equals 4, then the BLE ID can be determined as "HIS-889c".
[0096] In some feasible examples, combining Figure 7 ,like Figure 9 As shown, the demonstration method provided in this embodiment of the present disclosure also includes S17.
[0097] S17, based on the actual identification, querying in the device category list, determining that there is a same theoretical identification as the actual identification, and the network identification corresponding to the same theoretical identification as the actual identification is used to indicate that the electronic device does not support the Internet of Things function, deleting the electronic device corresponding to the actual identification.
[0098] In some examples, at least one electronic device is displayed in the device list, and the device model information required to be displayed by each electronic device includes at least device icon, device name, and 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 scheme provided by the embodiments of the application from the perspective of the method. In order to realize the above functions, it contains the corresponding hardware structure and / or software module for executing 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 in the present application, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is driven by hardware or computer software, it depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0100] The embodiments of the present application can divide the functional modules of the display device according to the above method examples. For example, each functional module can be divided according to each function, or two or more functions can be integrated in one processing unit. The integrated module can be realized in the form of hardware or software functional module. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical functional division. When actually implemented, there can be another division method.
[0101] As shown in FIG. 3, Figure 10 The embodiments of the present application provide a structural schematic diagram of a mobile terminal 300. It includes a processor 101, a communicator 102, and a display 103.
[0102] The processor 101 is configured to control the communicator 102 to acquire a device category list and reported information reported by an electronic device in a current environment in response to a starting operation; the device category list comprises a correspondence relationship 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 comprises a local area network device identifier code or a Bluetooth network device identifier code, and the reported information comprises an actual identifier; the processor 101 is further configured to query the device category list acquired by the communicator 102 based on the actual identifier, determine that there is a theoretical identifier same as the actual identifier, and the network identifier corresponding to the theoretical identifier same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and when device model information is acquired based on configuration information of the electronic device corresponding to the actual identifier, generate a display device list based on the device model information; the device model information at least comprises a device icon, a device name and a device model, and the display device list comprises an electronic device corresponding to each device model information; the processor 101 is further configured to control the display 103 to display based on the display device list.
[0103] In some implementable examples, the configuration information comprises any one of a device model identifier, a device identifier and a module identifier, and the module identifier comprises any one of a Bluetooth identifier and a wireless communication technology identifier.
[0104] In some implementable examples, the device category list further comprises a device icon and a device name corresponding to different device categories; the processor 101 is further configured to query the device category list acquired by the communicator 102 based on the actual identifier, determine that there is a theoretical identifier same as the actual identifier, and the network identifier corresponding to the theoretical identifier same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and when the device model information is not acquired based on the configuration information of the electronic device corresponding to the actual identifier, and the device category corresponding to the theoretical identifier same as the actual identifier has corresponding device icon and device name, the device icon and the device name corresponding to the device category are taken as the device model information.
[0105] In some implementable examples, the processor 101 is further configured to query the device category list acquired by the communicator 102 based on the actual identifier, determine that there is a theoretical identifier same as the actual identifier, and the network identifier corresponding to the theoretical identifier same as the actual identifier is used to indicate that the electronic device supports the Internet of Things function, and when the device model information is not acquired based on the configuration information of the electronic device corresponding to the actual identifier, and the device category corresponding to the theoretical identifier same as the actual identifier has no corresponding device icon and device name, acquire a pre-configured local icon and local name corresponding to the actual identifier; the processor 101 is further configured to take the local icon and the local name as the device model information.
[0106] In some implementable examples, the processor 101 is further configured to, based on the actual identity acquired by the communicator 102, query the device category list acquired by the communicator 102, determine that there is a theoretical identity same as the actual identity, and the network identity corresponding to the theoretical identity same as the actual identity is used to indicate that the electronic device does not support the Internet of Things function, delete the electronic device corresponding to the actual identity.
[0107] Wherein, all the related content of each step involved in the above method embodiments can be cited to the function description of the corresponding function module, and the function is not described here.
[0108] Of course, the mobile terminal 300 provided by the embodiments of the present application includes but is not limited to the above-mentioned modules, for example, the mobile terminal 300 can also include a memory 104. The memory 104 can be used to store the program code of the mobile terminal 300, and can also be used to store the data generated by the mobile terminal 300 in the running process, such as the data in the write request.
[0109] As an example, in combination with Figure 4 , the function of the acquisition unit 202 in the mobile terminal 300 is the same as that of the communicator 102, the function of the processing unit 201 is the same as that of the processor 101, the function of the display unit 203 is the same as that of the display 103, and the function of the storage unit 204 is the same as that of the memory 104.
[0110] As Figure 11 shown, the embodiments of the present application also provide a chip system which 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 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 each step executed by the mobile terminal 300 in the above-mentioned embodiments. Of course, the chip system can also contain other discrete devices, and the embodiments of the present application do not make specific limitations thereto.
[0111] The embodiments of the present application also provide a computer readable storage medium for storing the computer instructions executed by the above-mentioned mobile terminal 300.
[0112] The foregoing is merely illustrative of the various implementations of the present disclosure and the general principles thereof. Numerous modifications can be made to these illustrations, and equivalents can be substituted therefor, without departing from the scope of the present disclosure. The specific embodiments commensurate with the specific application are intended to be illustrative only and not limiting of the scope of the application as set forth in the following claims.
Claims
1. A mobile terminal, characterized by comprising: The application relates to a device and a method for displaying a device list. The processor is configured to control the communicator to acquire a device category list and reported information of an electronic device in a current environment in response to a starting operation; wherein the device category list comprises a correspondence relationship between a theoretical identifier and a network identifier, the network identifier is used for indicating whether the electronic device supports an Internet of Things function, the theoretical identifier comprises a local area network device identifier code or a Bluetooth network device identifier code, and the reported information comprises an actual identifier. The processor is further configured to query the device category list acquired by the communicator based on the actual identifier acquired by the communicator, determine that there is a theoretical identifier identical to the actual identifier, the network identifier corresponding to the theoretical identifier identical to the actual identifier is used for indicating that the electronic device supports the Internet of Things function, and based on configuration information of the electronic device corresponding to the actual identifier, send the configuration information of the electronic device corresponding to the actual identifier to an Internet of Things server, and when device model information sent by the Internet of Things server is received, generate a display device list based on the device model information; wherein the device model information at least comprises a device icon, a device name and a device model, the display device list comprises an electronic device corresponding to each device model information, the device model information is obtained by querying a database by the Internet of Things server according to the configuration information, and the configuration information is obtained by analyzing the reported information. The processor is further configured to control the display to display based on the display device list.
2. The mobile terminal of claim 1, wherein, The configuration information comprises any one of a device model identifier, a device identifier and a module identifier, the module identifier comprises any one of a Bluetooth identifier and a wireless communication technology identifier.
3. The mobile terminal of claim 1, wherein, The device category list further comprises a device icon and a device name corresponding to different device categories. The processor is further configured to query the device category list acquired by the communicator based on the actual identifier acquired by the communicator, determine that there is a theoretical identifier identical to the actual identifier, the network identifier corresponding to the theoretical identifier identical to the actual identifier is used for indicating that the electronic device supports the Internet of Things function, and based on configuration information of the electronic device corresponding to the actual identifier, if device model information is not acquired, and the device category corresponding to the theoretical identifier identical to the actual identifier has corresponding device icons and device names, the device icons and device names corresponding to the device category are used as the device model information.
4. The mobile terminal of claim 3, wherein, The processor is further configured to query the device category list acquired by the communicator based on the actual identifier acquired by the communicator, determine that there is a theoretical identifier identical to the actual identifier, the network identifier corresponding to the theoretical identifier identical to the actual identifier is used for indicating that the electronic device supports the Internet of Things function, and based on configuration information of the electronic device corresponding to the actual identifier, if device model information is not acquired, and the device category corresponding to the theoretical identifier identical to the actual identifier has corresponding device icons and device names, the device icons and device names corresponding to the device category are used as the device model information. The processor is further configured to take the local icon and the local name as the device model information.
5. The mobile terminal of claim 1, wherein, The processor is further configured to, based on the actual identification obtained by the communicator, query the device category list obtained by the communicator, determine that there is a same theoretical identification as the actual identification, and the network identification corresponding to the same theoretical identification as the actual identification is used to indicate that the electronic device does not support the Internet of Things function, and delete the electronic device corresponding to the actual identification.
6. A method of presenting, comprising: Comprise: In response to the starting operation, obtain a device category list and report information reported by an electronic device in a current environment; wherein the device category list comprises a corresponding relationship between a theoretical identification and a network identification, the network identification is used to indicate whether the electronic device supports the Internet of Things function, the theoretical identification comprises a local area network device identification code or a Bluetooth network device identification code, and the report information comprises an actual identification; Based on the actual identification, query the device category list, determine that there is a same theoretical identification as the actual identification, and the network identification corresponding to the same theoretical identification 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, send the configuration information of the electronic device corresponding to the actual identification to the Internet of Things server, and receive the device model information sent by the Internet of Things server, based on the device model information, generate a display device list; wherein the device model information at least comprises a device icon, a device name and a device model, the display device list comprises an electronic device corresponding to each device model information, the device model information is obtained by the Internet of Things server by querying a database according to the configuration information, and the configuration information is obtained by analyzing the report information; Based on the display device list, display.
7. The method of claim 6, wherein, The configuration information comprises any one of device model identification, device identification and module identification, the module identification comprises any one of Bluetooth identification and wireless communication technology identification.
8. The method of claim 6, wherein, The device category list further comprises a device icon and a device name corresponding to different device categories; The method further comprises: Based on the actual identification, query the device category list, determine that there is a same theoretical identification as the actual identification, and the network identification corresponding to the same theoretical identification 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, no device model information is obtained, and the device category corresponding to the same theoretical identification as the actual identification has corresponding device icon and device name, the device icon and the device name corresponding to the device category are taken as the device model information.
9. The method of claim 8, wherein, The method further comprises: Based on the actual identifier, a query is made in the device category list to determine whether there is a same theoretical identifier as the actual identifier, and the network identifier corresponding to the same theoretical identifier 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 same theoretical identifier as the actual identifier does not have a corresponding device icon and device name, a pre-configured local icon and local name corresponding to the actual identifier are obtained; The local icon and the local name are used as the device model information.
10. A computer-readable storage medium, characterized in that, The method comprises the following steps: 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 any one of claims 6-9.
Citation Information
Patent Citations
Classified display method and device for external Bluetooth equipment and dual-hardware system display equipment
CN112073952A
Display method and display device
WO2022057322A1