CN113986369B - Internet of things equipment control method and system, electronic equipment and storage medium - Google Patents

Internet of things equipment control method and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN113986369B
CN113986369B CN202111101026.1A CN202111101026A CN113986369B CN 113986369 B CN113986369 B CN 113986369B CN 202111101026 A CN202111101026 A CN 202111101026A CN 113986369 B CN113986369 B CN 113986369B
Authority
CN
China
Prior art keywords
internet
equipment
things
card
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111101026.1A
Other languages
Chinese (zh)
Other versions
CN113986369A (en
Inventor
王辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202111101026.1A priority Critical patent/CN113986369B/en
Publication of CN113986369A publication Critical patent/CN113986369A/en
Application granted granted Critical
Publication of CN113986369B publication Critical patent/CN113986369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72415User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories for remote control of appliances
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application provides a method and a system for controlling Internet of things equipment, electronic equipment and a storage medium, and relates to the technical field of Internet of things. The Internet of things equipment control method comprises the following steps: acquiring the state of the Internet of things equipment; if the state of the Internet of things equipment meets a preset card generating condition, acquiring configuration information corresponding to the Internet of things equipment; and generating an equipment state card based on the configuration information, and controlling the equipment state card to be displayed on a screen of the electronic equipment. By means of the card generation method and device, the device state card can be generated under the condition that the state of the Internet of things device accords with the preset card generation condition, convenience in controlling the Internet of things device is improved, and efficiency of the control device is also improved.

Description

Internet of things equipment control method and system, electronic equipment and storage medium
Technical Field
The application relates to the technical field of internet of things, in particular to a method and a system for controlling internet of things equipment, electronic equipment and a storage medium.
Background
The intelligent home is embodied in an internet of things mode under the influence of the internet of things, and the intelligent home is integrated with internet of things equipment related to home life through the internet of things to be controlled, so that the convenience and the comfort of home control can be improved. Specifically, an intelligent home application for controlling the internet of things equipment can be installed in the electronic equipment (such as a mobile phone or a tablet computer) of the user, and the internet of things equipment can be controlled through the intelligent home application. However, in the control process, the user needs to open the smart home application, find out the device icon corresponding to the device to be controlled in the smart home application, then click the device icon to enter the control interface of the device, and finally control the device through the control interface. The existing Internet of things equipment is complex in control flow and long in time consumption, so that the operation of controlling the Internet of things equipment through intelligent home application is complex, and the convenience is poor.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, a system, an electronic device, and a storage medium for controlling devices in the internet of things, so as to improve convenience of controlling the devices in the internet of things and improve efficiency of controlling the devices.
In a first aspect, an embodiment of the present application provides an internet of things device control method, which is applied to an electronic device, and the method includes: acquiring the state of the Internet of things equipment; if the state of the Internet of things equipment meets a preset card generating condition, acquiring configuration information corresponding to the Internet of things equipment; and generating an equipment state card based on the configuration information, and controlling the equipment state card to be displayed on a screen of the electronic equipment.
By the technical scheme, whether the state of the Internet of things equipment meets the preset card generation condition is judged, and whether the equipment state card is generated is determined based on the condition, so that the situation that the card is generated by mistake under the condition of no need, the screen space of the electronic equipment is occupied and unnecessary energy loss is caused can be avoided; if the state of the Internet of things equipment meets a preset card generation condition, acquiring configuration information corresponding to the Internet of things equipment; the equipment state card is generated based on the configuration information, the equipment state card is controlled to be displayed on a screen of the electronic equipment, the state of the Internet of things equipment can be accurately represented according to the equipment state card generated according to the configuration information of the Internet of things equipment, and a user can know the current state of the Internet of things equipment conveniently. Meanwhile, the equipment state card can be used for controlling the Internet of things equipment, so that the control flow of the Internet of things equipment is reduced, the convenience of controlling the Internet of things equipment is improved, and the time of controlling the equipment is also reduced.
In one implementation, generating a device status card based on the configuration information includes: acquiring user data; and generating a device state card based on the configuration information and the user data. Through the technical scheme, the generated equipment state card can better accord with the use habit of the user based on the configuration information and the user data, so that the control efficiency of the equipment of the Internet of things is improved.
In one implementation, after controlling the device status card to be displayed on the screen of the electronic device, the method further includes: acquiring the triggering operation of the user on the equipment state card; and determining a control parameter corresponding to the Internet of things equipment based on the trigger operation, and sending the control parameter to the Internet of things equipment. Through the technical scheme, the Internet of things equipment can be controlled based on the equipment state card, so that the control flow of the Internet of things equipment is reduced, the convenience of controlling the Internet of things equipment is improved, and the time of controlling the equipment is also reduced.
In one implementation, the trigger operation includes a single click operation, a double click operation, and/or a long press operation. Through above-mentioned technical scheme, set up the convenience that multiple operation mode can improve control thing networking equipment.
In one implementation manner, the determining, based on the triggering operation, a control parameter corresponding to the internet of things device includes: determining the Internet of things equipment corresponding to the equipment state card based on the preset operation of the user on the equipment state card; displaying a control interface of the Internet of things equipment; and determining a control parameter corresponding to the Internet of things equipment according to the triggering operation of the user on the control interface. Through the technical scheme, when the user uses the preset operation on the equipment state card, the control interface of the Internet of things equipment corresponding to the equipment state card is displayed, the situation that the user cannot control all states of the Internet of things equipment based on the content in the equipment state card due to the fact that the equipment state card is small in size and cannot cover all configuration information of the Internet of things equipment is avoided, and the efficiency of controlling the Internet of things equipment is improved.
In one implementation, sending the control parameter to the internet of things device includes: acquiring an Internet of things protocol corresponding to the Internet of things equipment; performing data processing on the control parameters based on the Internet of things protocol to obtain target control parameters; and sending the target control parameter to the Internet of things equipment. Through the technical scheme, the control parameters are subjected to data processing based on the Internet of things protocol corresponding to the Internet of things equipment, so that the obtained target control parameters accord with the Internet of things protocol of the Internet of things equipment and can be identified by the Internet of things equipment, and the control efficiency is improved. In one implementation, after the sending the control parameter to the internet of things device, the method further includes: determining the current state parameter of the Internet of things equipment after adjustment according to the control parameter; and updating the equipment state card according to the current state parameter, and controlling the updated equipment state card to be displayed on a screen of the electronic equipment. Through the technical scheme, the equipment state card corresponding to the Internet of things equipment is updated based on the adjusted current state parameter of the Internet of things equipment, so that the equipment state displayed on the equipment state card is synchronous with the actual state of the Internet of things equipment, the accuracy of the equipment state card is improved, and the control efficiency of the Internet of things equipment is improved. In one implementation, after controlling the device status card to be displayed on the screen of the electronic device, the method further includes: acquiring current configuration information of the Internet of things equipment according to a preset time interval; and updating the equipment state card corresponding to the equipment of the Internet of things according to the current configuration information. Through the technical scheme, the equipment state card is updated regularly according to the preset time interval, so that the equipment state displayed on the equipment state card corresponding to the Internet of things equipment is synchronous with the actual state of the Internet of things equipment, the accuracy of the equipment state card is improved, and the control efficiency of the Internet of things equipment is improved.
In one implementation, the method further comprises: and adjusting the display of the equipment status card based on the adjustment operation of the user on the equipment status card. Through the technical scheme, the display of the equipment state card can better meet the requirements of users, and therefore the efficiency of controlling the equipment of the Internet of things is improved.
In one implementation, the adjusting operation includes: a move operation, a hide operation, a zoom operation, and/or an add-drop operation. Through above-mentioned technical scheme, set up multiple adjustment operation, can improve the variety of equipment status card adjustment, improve the efficiency of equipment status card adjustment.
In one implementation, the obtaining the state of the internet of things device includes: determining registered Internet of things equipment in the smart home application on the electronic equipment, and acquiring the state of the Internet of things equipment; and/or determining the Internet of things equipment establishing a control protocol with the electronic equipment, and acquiring the state of the Internet of things equipment. The internet of things equipment registered in the intelligent home application on the electronic equipment and the internet of things equipment establishing a control protocol with the electronic equipment are the internet of things equipment controlled by the electronic equipment, and the internet of things equipment to be monitored can be rapidly determined through the technical scheme, so that the efficiency of generating the equipment state card is improved.
In a second aspect, an embodiment of the application provides an internet of things device control system, which includes an electronic device and an internet of things device, where the electronic device obtains a state of the internet of things device; if the electronic equipment determines that the state of the Internet of things equipment meets a preset card generation condition, the electronic equipment acquires configuration information corresponding to the Internet of things equipment; the electronic equipment generates an equipment state card based on the configuration information and controls the equipment state card to be displayed on a screen; the electronic equipment determines control parameters corresponding to the Internet of things equipment based on the triggering operation of the user on the equipment state card; sending the control parameters to the Internet of things equipment; and the Internet of things equipment receives the control parameters and adjusts the control parameters based on the control parameters.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory and a processor; the memory to store program instructions; the processor is configured to read the program instructions stored in the memory, so as to implement the method for controlling an internet of things device as described above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, where computer-readable instructions are stored, and when executed by a processor, the computer-readable instructions implement the method for controlling an internet of things device as described above.
In addition, for technical effects brought by the second aspect, the third aspect and the fourth aspect, reference may be made to the description related to the methods designed in the above method part, and details are not repeated here.
Drawings
Fig. 1 is a schematic flow diagram of control of an existing internet of things device.
Fig. 2 is an application scenario diagram of the internet of things device control method provided in the embodiment of the present application.
Fig. 3 is a block diagram of a software structure of an electronic device according to an embodiment of the present application.
Fig. 4 is a flowchart of an internet of things device control method provided in the embodiment of the present application.
Fig. 5 is a scene schematic diagram of an apparatus status card according to an embodiment of the present application.
Fig. 6 is a flowchart of controlling an internet of things device according to an embodiment of the present application.
Fig. 7 is a flowchart of updating a device status card according to an embodiment of the present application.
Fig. 8 is a flowchart of another method for controlling an internet of things device according to an embodiment of the present application.
Fig. 9 is a flowchart of registering an internet of things device according to an embodiment of the present application.
Fig. 10 is another flowchart for controlling an internet of things device according to an embodiment of the present application.
Fig. 11 is a flowchart of another method for updating a device status card according to an embodiment of the present application.
Fig. 12 is a schematic view of an internet of things device control system provided in an embodiment of the present application.
Fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following, the terms "first", "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the embodiments of the present application, the words "exemplary," "or," "for example," etc. are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "exemplary," "or," "e.g.," are intended to present relevant concepts in a concrete fashion.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. It should be understood that in this application, "/" means "or" means "unless otherwise indicated. For example, A/B may represent A or B. In the present application, "and/or" is only one kind of association relation describing an associated object, and means that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. "at least one" means one or more. "plurality" means two or more than two. For example, at least one of a, b, or c, may represent: a, b, c, a and b, a and c, b and c, and a, b and c.
With the development of electronic information technology, smart homes gradually enter people's daily life. The intelligent home is embodied in an internet of things mode under the influence of the internet of things, and the intelligent home is integrated with internet of things equipment related to home life through the internet of things to be controlled, so that the convenience and the comfort of home control can be improved. For example, the internet of things devices may be integrated for control using a Wireless local area network, such as a Wireless Fidelity (Wi-Fi) network.
Specifically, an intelligent home application for controlling the internet of things device may be installed in the electronic device (such as a mobile phone or a tablet computer) of the user, and the internet of things device registered in the intelligent home application may be controlled through the intelligent home application. However, the process of controlling the internet of things device by the user through the smart home application is very complicated, and the control flow is complex. Taking a mobile phone as an example, as shown in fig. 1, a schematic flow diagram of the control of the internet of things device is shown.
101, the user triggers an instruction for starting the intelligent home application. For example, if the user clicks an icon of the smart home application, an instruction to open the smart home application is triggered.
And 102, displaying a user interface of the intelligent household application by the mobile phone according to the instruction for starting the intelligent household application. After the mobile phone receives the instruction of opening the intelligent home application, the intelligent home application is opened, and a user interface of the intelligent home application is displayed.
103, the user triggers an instruction for starting a control interface of the target internet of things device. For example, a user interface of the smart home application includes a plurality of icons corresponding to a plurality of internet of things devices, and each internet of things device corresponds to one icon. If the user clicks an icon corresponding to a certain internet of things device in a user interface of the smart home application, the physical network device is determined to be a target internet of things device, and an instruction for starting a control interface of the target internet of things device is triggered.
And 104, the mobile phone starts the control interface of the target Internet of things equipment according to the instruction for starting the control interface of the target Internet of things equipment.
105, the mobile phone generates control parameters of the target internet of things device based on the triggering operation of the user on the control interface. The control parameters are used for controlling the target internet of things equipment to adjust, such as adjusting the operation parameters of the target internet of things equipment.
And 106, the mobile phone sends the control parameters to the target Internet of things equipment. And the target Internet of things equipment can adjust the parameters after receiving the control parameters.
According to the flow of the control of the Internet of things equipment, the control flow of the Internet of things equipment is complex, time consumption is long, operation of controlling the Internet of things equipment through intelligent home application is complex, convenience is poor, and experience of a user is poor.
In order to solve the technical problem that the efficiency of controlling the internet of things equipment is not high due to the fact that user operation is complex and not convenient enough in the control process of the internet of things equipment, the embodiment of the application provides the method for controlling the internet of things equipment so as to improve convenience of user operation and improve efficiency of controlling the internet of things equipment.
In order to better understand the method for controlling the internet of things device provided in the embodiment of the present application, an application scenario of the method for controlling the internet of things device is described below.
Fig. 2 is an application scenario diagram of the internet of things device control method provided in the embodiment of the present application.
The method for controlling the internet of things equipment provided by the embodiment of the application is applied to the electronic equipment 20 and the internet of things equipment 21, wherein the electronic equipment 20 can comprise electronic equipment with a screen, such as a mobile phone, a tablet computer, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook and the like; the internet of things device 21 may include intelligent devices such as an intelligent air conditioner, an intelligent sound box, an intelligent camera device, an intelligent lamp, a curtain remote control machine, an intelligent clock, an intelligent water heater, an intelligent television, and an intelligent sweeper. For simplicity, fig. 2 illustrates one internet of things device 21 as an example, and in practical applications, a plurality of internet of things devices 21 may be controlled by the electronic device 20.
In the embodiment shown in fig. 2, the electronic device 20 is a mobile phone, and the internet of things device 21 is an intelligent air conditioner. The electronic device 20 monitors the operation state of the internet of things device 21. If the internet of things device 21 is in the preset running state, the electronic device 20 acquires running state information of the internet of things device 21, generates a device state card according to the running state information, and displays the generated device state card on a display screen of the electronic device 20. The user can adjust the operating state of the internet of things device 21 based on the device status card. For example, the control parameters of the internet of things device 21 may be generated based on the operation of the device status card by the user, and the electronic device 20 sends the control parameters to the internet of things device 21. After the internet of things device 21 receives the control parameters, parameter adjustment can be performed according to the control parameters, so that the operation parameters of the internet of things device 21 are changed, such as the air conditioner temperature is increased, the air conditioner temperature is decreased, and the air conditioner timing time is changed.
In the above embodiment, the device status card is used to refer to an information area on the screen of the electronic device 20, which contains information related to the internet of things device 21 or generated by the internet of things device 21, and the device status card can be viewed, moved, deleted or added by the user. If a plurality of internet of things devices 21 are included, a plurality of device status cards may be displayed on the screen of the electronic device 20. The plurality of device status cards may be presented in a stacked format, for example, the device status cards may be scaled down from bottom layer to top layer. The user can switch the uppermost device state card through sliding the card, and the switched device state card is arranged at the bottommost layer. After detecting the trigger operation of the user on a certain device status card, the electronic device 20 may generate a control parameter based on the trigger operation of the user, and send the control parameter to the corresponding internet of things device. For example, when a user clicks a certain device status card, the device status card may be enlarged, so that the user can conveniently click the device status card.
The method for controlling the equipment in the Internet of things can timely acquire the running state information of the equipment in the preset running state, and generate the equipment state card corresponding to the equipment in the Internet of things according to the running state information, so that the control flow of the equipment in the Internet of things can be reduced, the convenience of controlling the equipment in the Internet of things is improved, and meanwhile, the time for controlling the equipment is also reduced.
Fig. 3 is a block diagram of a software structure of an electronic device according to an embodiment of the present disclosure. The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the android system is divided into four layers, which are an application layer, a framework layer, a system library and a kernel layer from top to bottom.
The application layer may include a series of applications. For example, the application programs may include applications such as screen locking, gallery, calendar, call, map, navigation, desktop, bluetooth, music, video, short message, smart home, and the like. Among other things, the desktop application may be used to display a device status card on a screen of the electronic device. The smart home application may be used to manage internet of things devices that join a home network.
The framework layer provides an Application Programming Interface (API) and a Programming framework for the Application programs of the Application layer. The application framework layer includes a number of predefined functions. For example, the application framework layer may include a window manager, content provider, view system, phone manager, resource manager, notification manager, device manager, and the like.
The device manager can be used for registering the Internet of things device and acquiring the state of the Internet of things device. The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like. The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc. The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures. The phone manager is used to provide communication functions of the electronic device 100. Such as management of call status (including on, off, etc.). The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like. The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a brief dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The application layer and the framework layer run in a virtual machine. And executing java files of the application program layer and the framework layer into binary files by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. Such as surface managers (surface managers), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
Wherein the surface manager is used for managing the display subsystem and providing the fusion of the 2D and 3D layers for a plurality of application programs. The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc. The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, composition, layer processing and the like. The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
The kernel layer is the core of the operating system of the electronic device, is the first layer of software expansion based on hardware, provides the most basic functions of the operating system, is the basis of the operation of the operating system, is responsible for managing the process, the memory, the device driver, the file and the network system of the system, and determines the performance and the stability of the system. For example, the kernel may determine the operation time of an application on a certain portion of hardware.
The kernel layer includes programs closely related to hardware, such as interrupt handlers, device drivers, etc., as well as basic, common, higher-frequency-of-operation modules, such as clock management modules, process scheduling modules, etc., and critical data structures. The kernel layer may be provided in the processor or may be solidified in the internal memory.
Fig. 4 is a flowchart of a method for controlling an internet of things device according to an embodiment of the present application. The method can be applied to different types of electronic devices, and the electronic devices can be mobile phones, tablet computers, desktop computers, laptop computers, handheld computers, notebook computers, ultra-mobile personal computers (UMPCs), netbooks and other electronic devices with screens. The method specifically comprises the following steps.
And 41, acquiring the state of the Internet of things equipment.
And determining the equipment of the Internet of things to be monitored, and acquiring the state of the equipment of the Internet of things to be monitored.
The internet of things device may include an internet of things device registered in a smart home application on the electronic device. The electronic device can control the internet of things device registered in the smart home application. For example, an internet of things device registered in a home cloud for smart home applications. The Internet of things equipment can broadcast wireless signals by entering a to-be-configured network state, so that intelligent household applications in the electronic equipment can be found conveniently; after the electronic equipment is wirelessly connected with the Internet of things equipment, the Internet of things equipment requests the electronic equipment for a Service Set Identifier (SSID) and a password of a wireless local area network, and is connected to the router according to the SSID and the password, so that the electronic equipment is registered in a home cloud of the smart home application, and registration is achieved.
The internet of things equipment can also be the internet of things equipment which establishes a control protocol with the electronic equipment, and if the control protocol is established between one piece of internet of things equipment and the electronic equipment, the electronic equipment can control the internet of things equipment. The Control protocol may include a Consumer Electronics Control (CEC) protocol, a Universal Plug and Play (UPnP) protocol, a custom protocol (e.g., a vendor-owned protocol in which devices under the same protocol can communicate with each other), and the like. The internet of things device establishing a control protocol with the electronic device may include: and the equipment of the Internet of things is registered in the equipment manager in the electronic equipment framework layer.
The internet of things equipment registered in the intelligent home application on the electronic equipment and the internet of things equipment establishing a control protocol with the electronic equipment are the internet of things equipment which can be controlled by the electronic equipment, and the internet of things equipment to be monitored can be rapidly determined through the internet of things equipment registered in the intelligent home application on the electronic equipment and the internet of things equipment establishing a control protocol with the electronic equipment, so that the efficiency of generating the equipment state card is improved.
The method comprises the steps of monitoring and acquiring the state of the equipment of the Internet of things, wherein the state can comprise an opening state, a networking state and the like.
And 42, if the state of the Internet of things equipment accords with a preset card generating condition, acquiring configuration information corresponding to the Internet of things equipment.
The preset card generating condition can be that the Internet of things equipment is in an open state. For example, if the internet of things equipment is in an open state, determining that the internet of things equipment meets a preset card generation condition; and if the Internet of things equipment is not in the opening state, determining that the Internet of things equipment does not accord with the preset card generation condition.
The preset card generating condition can also be that the Internet of things equipment is in a networking state. For example, if the internet of things equipment is in a networking state, determining that the internet of things equipment meets a preset card generation condition; and if the Internet of things equipment is not in the networking state, determining that the Internet of things equipment does not accord with the preset card generation condition.
The preset card generating condition can also be that the Internet of things equipment is in an open state and is in a networking state. For example, if the internet of things device is in an open state and in a networking state, it is determined that the internet of things device meets a preset card generation condition.
The configuration information (Profile) of the internet of things device may include device information and operation information of the internet of things device.
The device information may include a device name of the internet of things device, a device icon of the internet of things device, function control information for implementing various functions of the internet of things device, and the like, the function control information is used for adjusting an operation state of the internet of things device, the function control information may include a control instruction corresponding to each function, and based on the control instruction, a control parameter of the internet of things device may be generated. The function control information may further include a function icon corresponding to each function, and the function icon may be set on an equipment status card of the internet of things equipment. The function icons can comprise a switch icon, a volume adjustment icon, a channel switching icon, a temperature adjustment icon and the like, wherein the switch icon is used for adjusting the on-off state of the internet of things equipment, and the control parameters corresponding to the switch icon can adjust the on-off state of the internet of things equipment; the volume adjusting icon is used for adjusting the volume of the Internet of things equipment, and the volume of the Internet of things equipment can be adjusted through the control parameter corresponding to the volume adjusting icon; the channel switching icon is used for adjusting a channel of the Internet of things equipment, and the channel of the Internet of things equipment can be switched by the control parameter corresponding to the channel switching icon; the temperature adjustment icon is used for adjusting the set temperature of the Internet of things equipment, and the control parameter corresponding to the temperature adjustment icon can adjust the set temperature of the Internet of things equipment.
When a user clicks a function icon on the device status card, a control parameter corresponding to the function icon can be generated. For example, assuming that the internet-of-things device is a smart tv, the device information of the smart tv may include a device name of the smart tv (e.g., brand smart tv, model tv), a device icon of the smart tv, and function control information of the smart tv (e.g., a switch control command, a volume adjustment command, a channel switching command, a switch icon, a volume adjustment icon, a channel switching icon, etc.). For another example, assuming that the internet-of-things device is an intelligent air conditioner, the device information of the intelligent air conditioner may include a device name of the intelligent air conditioner (e.g., air conditioner, model air conditioner), a device icon of the intelligent air conditioner, and function control information of the intelligent air conditioner (e.g., on-off control command, temperature adjustment command, on-off icon, temperature adjustment icon, and the like).
The operation information may include operation parameters, operation modes, and the like of the internet of things device. For example, assuming that the internet of things device is an intelligent television, the operation information of the intelligent television may include a play mode of the intelligent television, play content of the intelligent television, display brightness, volume, and the like of the intelligent television. For another example, assuming that the internet of things device is an intelligent air conditioner, the operation information of the intelligent air conditioner may include an operation mode (such as a cooling mode and a heating mode) of the intelligent air conditioner, a set temperature, an operating wind speed, an operating wind volume, and the like of the intelligent air conditioner.
And 43, generating a device status card based on the configuration information, and controlling the device status card to be displayed on the screen of the electronic device.
The device status card is used for indicating that the screen of the electronic device contains information areas related to the Internet of things device, the device status card can be checked, moved, deleted or added by a user, and the device status card can be used for controlling the Internet of things device. As shown in fig. 5, the device status card may be displayed on a screen of the electronic device.
The electronic equipment can generate an equipment state card corresponding to the Internet of things equipment according to the configuration information of the Internet of things equipment. The equipment state card can be used for controlling the Internet of things equipment by a user. Interface elements (such as charts or buttons) in the equipment state card corresponding to the internet of things equipment can be generated according to configuration information of the internet of things equipment, and the equipment state card corresponding to the internet of things equipment can include equipment information and running information of the internet of things equipment. For example, assuming that the internet of things device is an intelligent television, a device icon and a function icon of the intelligent television, playing content of the intelligent television, display brightness and volume of the intelligent television, and the like may be included on a device status card corresponding to the intelligent television. For another example, assuming that the internet of things device is an intelligent air conditioner, the operation information of the intelligent air conditioner may include a device icon and a function icon of the intelligent air conditioner, an operation mode of the intelligent air conditioner, a set temperature, an operating wind speed, an operating wind volume, and the like of the intelligent air conditioner. The specific method for generating the device state card corresponding to the internet of things device by the electronic device according to the configuration information of the internet of things device can refer to the detailed description of the electronic card in the conventional technology.
In an embodiment of the application, the generating a device status card based on the configuration information includes:
acquiring user data; and generating a device state card based on the configuration information and the user data.
The user data can comprise user setting data and/or user preference data, and based on the configuration information and the user data, the generated equipment state card can better accord with the use habit of the user, so that the efficiency of the control of the equipment of the Internet of things is improved.
The user setting data may include card setting data, such as card size data. For example, the style, e.g., size, etc., of the generated device status card is determined based on the user setting data.
The user preference data may include user usage habits, and the content displayed on the device status card may be determined according to the user usage habits. For example, a user prefers to adjust the set temperature and the operating wind speed of the smart air conditioner during the use of the smart air conditioner, and determines that the content displayed on the device status card corresponding to the smart air conditioner includes a temperature adjustment icon and a wind speed adjustment icon. For another example, a user prefers to adjust a playing channel and a playing volume of the smart television during using the smart television, and determines that the content displayed on the device status card corresponding to the smart television includes a channel switching icon and a volume adjustment icon.
In an embodiment of the present application, the method further includes: and adjusting the display of the equipment status card based on the adjustment operation of the user on the equipment status card. Through the technical scheme, the display of the equipment state card can better meet the requirements of users, and therefore the efficiency of controlling the equipment of the Internet of things is improved. The adjusting operation comprises: a move operation, a hide operation, a zoom operation, and/or an add-drop operation. The moving operation is used for changing the display position of the device status card, the hiding operation is used for hiding the device status card (namely, the device status card is not displayed on the screen), the zooming operation is used for changing the display size of the device status card, and/or the adding and deleting operation is used for changing the content displayed in the device status card (such as increasing the content displayed in the device status card or reducing the content displayed in the device status card). Through setting up multiple adjustment operation, can improve the variety of equipment status card adjustment, improve the efficiency of equipment status card adjustment.
In an embodiment of the application, after controlling the device status card to be displayed on the screen of the electronic device as shown in fig. 6, the method further includes:
and 61, acquiring the trigger operation of the user on the equipment state card.
And 62, determining a control parameter corresponding to the Internet of things equipment based on the trigger operation, and sending the control parameter to the Internet of things equipment.
The triggering operation of the user on the device status card may include a click operation, such as any one of a single click operation, a double click operation, and/or a long press operation.
The control parameters corresponding to the internet of things equipment can be determined based on clicking operation of the user on the function icons on the equipment status card. For example, assuming that the internet of things device is an intelligent television, a device state card corresponding to the intelligent television includes function icons (such as a channel switching icon and a volume adjustment icon), and based on a click operation of a user on the volume adjustment icon, a control parameter corresponding to the internet of things device is determined, where the control parameter is used to adjust the volume of the intelligent television. For another example, assuming that the internet of things device is an intelligent air conditioner, the device state card corresponding to the intelligent air conditioner includes function icons (such as a temperature adjustment icon and a wind speed adjustment icon), and based on a click operation of a user on the temperature adjustment icon, determining a control parameter corresponding to the internet of things device, where the control parameter is used for adjusting the set temperature of the intelligent air conditioner.
Illustratively, the control parameter may be sent to a main control chip of the internet of things device, so that the main control chip can correspondingly control the internet of things device according to the control parameter. It can be understood that the generated control parameters are parameters that can be identified by the main control chip of the internet of things device, and the internet of things device can be correspondingly controlled according to the control parameters.
Above-mentioned scheme can be based on equipment status card control thing networking device to reduce the control procedure to thing networking device, improved thing networking device control's convenience, also reduced the time of equipment control.
In an embodiment of the application, an internet of things protocol corresponding to the internet of things device can be obtained, and the control parameters are subjected to data processing based on the internet of things protocol to obtain target control parameters; and sending the control parameters to the Internet of things equipment. And performing data processing on the control parameters based on an internet of things protocol corresponding to the internet of things equipment, so that the obtained target control parameters conform to the internet of things protocol of the internet of things equipment and can be identified by the internet of things equipment, thereby improving the control efficiency.
In an embodiment of the application, the determining, based on the trigger operation, a control parameter corresponding to the internet of things device includes:
determining the Internet of things equipment corresponding to the equipment state card based on the preset operation of the user on the equipment state card;
displaying a control interface of the Internet of things equipment;
and determining a control parameter corresponding to the Internet of things equipment according to the triggering operation of the user on the control interface.
If the user uses preset operation on the equipment state card, the Internet of things equipment corresponding to the equipment state card is determined, and a control interface of the Internet of things equipment is displayed, wherein the preset operation can comprise any operation such as single click operation, double click operation and/or long press operation, and no limitation is made here. The control interface of the internet of things device may include all configuration information corresponding to the internet of things device. Based on the control interface, all states of the equipment of the Internet of things can be controlled.
According to the scheme, when the user uses the preset operation on the equipment state card, the control interface of the Internet of things equipment corresponding to the equipment state card is displayed, the situation that the user cannot control all states of the Internet of things equipment based on the content in the equipment state card due to the fact that the size of the equipment state card is small and all configuration information of the Internet of things equipment cannot be contained is avoided, and the efficiency of controlling the Internet of things equipment is improved.
In an embodiment of the application, after the sending the control parameter to the internet of things device, the method further includes:
determining the current state parameter of the Internet of things equipment after adjustment according to the control parameter;
and updating the equipment state card according to the current state parameter, and controlling the updated equipment state card to be displayed on a screen of the electronic equipment.
Based on the adjusted current state parameters of the Internet of things equipment, the equipment state card corresponding to the Internet of things equipment is updated, so that the equipment state displayed on the equipment state card is synchronous with the actual state of the Internet of things equipment, the accuracy of the equipment state card is improved, and the control efficiency of the Internet of things equipment is improved.
In an embodiment of the application, as shown in fig. 7, after controlling the device status card to be displayed on the screen of the electronic device, the method further includes:
71, acquiring current configuration information of the internet of things equipment according to a preset time interval;
and 72, updating the equipment state card corresponding to the Internet of things equipment according to the current configuration information.
The equipment state card is updated regularly at preset time intervals, so that the equipment state displayed on the equipment state card corresponding to the Internet of things equipment is synchronous with the actual state of the Internet of things equipment, the accuracy of the equipment state card is improved, and the control efficiency of the Internet of things equipment is improved.
According to the control method of the internet of things equipment provided by the embodiment, the state of the internet of things equipment is obtained, whether the state of the internet of things equipment meets the preset card generation condition is judged, and whether the equipment state card is generated is determined based on the condition, so that the situation that the card is generated by mistake under the condition of no need, the screen space of the electronic equipment is occupied is avoided, and meanwhile, unnecessary energy loss is caused; if the state of the Internet of things equipment meets a preset card generating condition, acquiring configuration information corresponding to the Internet of things equipment; the equipment state card is generated based on the configuration information, the equipment state card is controlled to be displayed on a screen of the electronic equipment, the state of the equipment in the Internet of things can be accurately represented according to the equipment state card generated by the configuration information of the equipment in the Internet of things, and a user can know the current state of the equipment in the Internet of things conveniently. Meanwhile, the equipment state card can be used for controlling the Internet of things equipment, so that the control flow of the Internet of things equipment is reduced, the convenience of the control of the Internet of things equipment is improved, and the time of the equipment control is shortened.
Fig. 8 is a flowchart of an internet of things device control method according to an embodiment of the present disclosure. 801, monitor the device status. The device manager is located on a framework layer in the electronic device, the device manager comprises registered Internet of things devices, the device manager monitors device states of the Internet of things devices, and the electronic device can control the registered Internet of things devices in the device manager. 802, sending the device status. And the equipment of the Internet of things sends the equipment state to the equipment manager. And 803, judging whether the equipment state meets the preset card generation condition. And the equipment manager receives the equipment state and judges whether the equipment state meets a preset card generation condition or not. And 804, if the equipment state meets a preset card generation condition, requesting configuration information corresponding to the internet of things equipment. And if the equipment state meets the preset card generation condition, the equipment manager requests the configuration information corresponding to the Internet of things equipment. 805, sending configuration information corresponding to the internet of things device. And the Internet of things equipment sends configuration information corresponding to the Internet of things equipment to an equipment manager. 806, generating an equipment status card according to the configuration information corresponding to the internet of things equipment. And the equipment manager generates an equipment state card according to the configuration information, and the equipment state card can be used for controlling the Internet of things equipment. 807, the device status card is sent. And the device manager sends the device state card to a desktop application so that the desktop application displays the device state card. 808, displaying the device status card. The desktop application causes the device status card to be displayed on a display screen of the electronic device.
In an embodiment of the present application, as shown in fig. 9, 801, before monitoring the device status, the following steps may be further included:
901, the device manager sends a device registration request to the internet of things device.
The device manager resides at a framework layer in the electronic device. If the electronic device and the internet of things device are the same vendor and the vendor includes a private internet of things communication protocol, the device manager may send a device registration request to the internet of things device based on the private internet of things communication protocol. For example, the device manager may send a device registration request to internet of things devices of the same vendor based on a smart home application in the electronic device.
If the electronic device and the internet of things device are different suppliers, the device manager can obtain an external communication protocol of the internet of things device, and send a device registration request to the internet of things device based on the external communication protocol.
And 902, based on the equipment registration request, the equipment of the Internet of things sends equipment information to an equipment manager.
The device information is used for the device manager to complete registration, and may include configuration information of the internet of things device, such as a device name, a device control function, and the like, where the device information is not limited.
And 903, registering the Internet of things equipment by the equipment manager based on the equipment information.
After the equipment manager registers the equipment of the Internet of things, the equipment of the Internet of things can be controlled through the electronic equipment.
Through the embodiment, the registration of the Internet of things equipment can be established in the electronic equipment, so that the registered Internet of things equipment can be controlled through the electronic equipment.
In an embodiment of the present application, as shown in fig. 10, after displaying the device status card 808, the method may further include the following steps:
and 100, the desktop application acquires the trigger operation of the user on the equipment state card.
101, the desktop application sends the trigger operation to the device manager.
And 102, the device manager determines a control parameter corresponding to the Internet of things device based on the trigger operation.
103, the device manager sends the control parameters to the internet of things device.
And 104, the Internet of things equipment is adjusted according to the control parameters, and the adjusted current state parameters are determined.
And 105, the Internet of things equipment sends the current state parameters to the equipment manager.
And 106, updating the equipment state card by the equipment manager according to the current state parameter.
The device manager sends the updated device status card to the desktop application 107.
The desktop application displays the updated device status card 108.
The specific implementation method in steps 100-108 can refer to the related description of steps 61-62, and is not described herein again.
Above-mentioned embodiment controls thing networking device through equipment status card to reduce the control procedure to thing networking device, improved thing networking device control's convenience, reduced the time of device control. Meanwhile, the state parameters of the Internet of things equipment after adjustment are obtained, the equipment state card is updated based on the adjusted state parameters, information synchronization is achieved, the accuracy of the equipment state card is improved, and therefore the efficiency of controlling the Internet of things equipment is improved.
In an embodiment of the present application, as shown in fig. 11, after the device status card is displayed 808, the method further includes the following steps:
and 110, acquiring current configuration information of the internet of things equipment by the equipment manager according to a preset time interval.
And 111, the Internet of things equipment sends the current configuration information to the equipment manager.
And 112, updating the equipment state card by the equipment manager according to the current configuration information.
The device manager sends the updated device status card to the desktop application 113.
114, the desktop application displays the updated device status card.
The specific implementation method in steps 110 to 114 may refer to the related description of steps 71 to 72, and will not be described herein again.
According to the embodiment, the equipment state card corresponding to the equipment of the internet of things is updated according to the current configuration information corresponding to the equipment of the internet of things, so that the equipment state displayed on the equipment state card corresponding to the equipment of the internet of things is synchronous with the actual state information of the equipment of the internet of things, the accuracy of the equipment state card is improved, and the control efficiency of the equipment of the internet of things is improved.
Fig. 12 is a schematic view of an internet of things device control system according to an embodiment of the present application. The Internet of things equipment control system comprises electronic equipment and Internet of things equipment. As shown in fig. 12, 1201, the electronic device acquires a state of the internet of things device; 1202, if the electronic device determines that the state of the internet of things device meets a preset card generation condition, the electronic device obtains configuration information corresponding to the internet of things device; 1203, generating an equipment status card by the electronic equipment based on the configuration information, and controlling the equipment status card to be displayed on a screen; 1204, the electronic device determines a control parameter corresponding to the internet of things device based on a trigger operation of a user on the device status card; sending the control parameters to the Internet of things equipment; 1205, the internet of things equipment receives the control parameter and adjusts based on the control parameter.
Some specific embodiments of each step in the internet of things device control system and technical effects brought by the specific embodiments may refer to the related description in the internet of things device method, and are not described herein again.
Fig. 13 is a schematic structural diagram of an electronic device with a screen according to an embodiment of the present application. Referring to fig. 13, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments of the present application, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments of the present application, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bidirectional synchronous serial bus including a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments of the present application, the processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments of the present application, the processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 through an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments of the present application, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, so as to implement a function of answering a call through a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments of the present application, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments of the present application, the audio module 170 may also transmit the audio signal to the wireless communication module 160 through the PCM interface, so as to implement the function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments of the present application, the processor 110 and the camera 193 communicate through a CSI interface to implement the shooting function of the electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments of the present application, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices 100, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device 100 through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In other embodiments, the power management module 141 may be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments of the present application, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments of the present application, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110. In some embodiments of the present application, communication between the electronic device and the internet of things device, such as transmission of control parameters, may be implemented based on the mobile communication module 150.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments of the present application, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments of the present application, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150 and the antenna 2 is coupled with the wireless communication module 160 so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information. In some embodiments of the present application, a device status card may be generated based on the GPU.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments of the present application, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1. In some embodiments of the present application, the device status cards are displayed on the display screen 194.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments of the present application, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments of the present application, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be implemented by the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The internal memory 121 may include one or more Random Access Memories (RAMs) and one or more non-volatile memories (NVMs).
The random access memory may include static random-access memory (SRAM), dynamic random-access memory (DRAM), synchronous dynamic random-access memory (SDRAM), double data rate synchronous dynamic random-access memory (DDR SDRAM), such as fifth generation DDR SDRAM generally referred to as DDR5 SDRAM, and the like; the nonvolatile memory may include a magnetic disk storage device, a flash memory (flash memory).
The FLASH memory may include NOR FLASH, NAND FLASH, 3D NAND FLASH, etc. according to the operation principle, may include single-level cell (SLC), multi-level cell (MLC), triple-level cell (TLC), quad-level cell (QLC), etc. according to the level order of the memory cell, and may include universal FLASH memory (english: UFS), embedded multimedia memory Card (mc em), etc. according to the storage specification.
The random access memory may be read and written directly by the processor 110, may be used to store executable programs (e.g., machine instructions) of an operating system or other programs in operation, and may also be used to store data of users and applications, etc.
The nonvolatile memory may also store executable programs, data of users and application programs, and the like, and may be loaded in advance into the random access memory for the processor 110 to directly read and write.
The external memory interface 120 may be used to connect an external nonvolatile memory, so as to expand the storage capability of the electronic device 100. The external non-volatile memory communicates with the processor 110 through the external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are saved in an external nonvolatile memory.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into analog audio signals for output, and also used to convert analog audio inputs into digital audio signals. The audio module 170 may also be used to encode and decode audio signals. In some embodiments of the present application, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into a sound signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or sending voice information, the user can input a voice signal to the microphone 170C by uttering a voice signal close to the microphone 170C through the mouth of the user. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be the USB interface 130, or may be an Open Mobile Terminal Platform (OMTP) standard interface of 3.5mm, a cellular telecommunications industry association (cellular telecommunications industry association) standard interface of the USA.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments of the present application, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments of the present application, touch operations that act on the same touch position but have different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message. In some embodiments of the present application, the trigger operation of the user on the on-screen device status card may be acquired based on the pressure sensor 180A; the preset operation of the user on the on-screen device status card can also be acquired based on the pressure sensor 180A.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments of the present application, the angular velocity of the electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by the gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments of the present application, the electronic device 100 calculates the altitude from the barometric pressure measured by the barometric pressure sensor 180C, and assists in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments of the application, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for identifying the posture of the electronic equipment 100, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments of the present application, the electronic device 100 may take a picture of a scene and may utilize the distance sensor 180F to measure a distance to achieve fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from a nearby object using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint characteristics to unlock a fingerprint, access an application lock, photograph a fingerprint, answer an incoming call with a fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments of the present application, the electronic device 100 executes a temperature processing strategy using the temperature detected by the temperature sensor 180J.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments of the present application, the bone conduction sensor 180M may acquire a vibration signal of the human voice vibrating the bone mass. The bone conduction sensor 180M may also contact the human body pulse to receive the blood pressure pulsation signal. In some embodiments of the present application, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects in response to touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 may be inserted into multiple frame cards simultaneously. The types of the multi-frame cards can be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments of the present application, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The embodiment also provides a computer storage medium, where computer instructions are stored in the computer storage medium, and when the computer instructions are run on the electronic device 100, the electronic device 100 executes the relevant method steps to implement the internet of things device control method in the foregoing embodiment.
The embodiment also provides a computer program product, and when the computer program product runs on a computer, the computer is caused to execute the relevant steps, so as to implement the method for controlling the internet of things device in the embodiment.
In addition, an apparatus, which may be specifically a chip, a component or a module, may include a processor and a memory connected to each other; the memory is used for storing computer execution instructions, and when the device runs, the processor can execute the computer execution instructions stored in the memory, so that the chip can execute the internet of things equipment control method in the above method embodiments.
The electronic device 100, the computer storage medium, the computer program product, or the chip provided in this embodiment are all configured to execute the corresponding methods provided above, so that the beneficial effects achieved by the electronic device may refer to the beneficial effects in the corresponding methods provided above, and are not described herein again.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the module or unit is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, that is, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods of the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that the above embodiments are only used for illustrating the technical solutions of the present application and not for limiting, and although the present application is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions can be made on the technical solutions of the present application without departing from the spirit and scope of the technical solutions of the present application.

Claims (14)

1. An Internet of things equipment control method is applied to electronic equipment, and is characterized by comprising the following steps:
acquiring the state of the Internet of things equipment;
if the states of the plurality of Internet of things devices meet preset card generation conditions, acquiring configuration information corresponding to the plurality of Internet of things devices;
generating an equipment status card based on the configuration information, and controlling the generated multiple equipment status cards to be displayed on a screen of the electronic equipment in a superposition mode, wherein the display sizes of the multiple equipment status cards are reduced layer by layer from the bottom layer to the upper layer;
and if the clicking operation of the user on one of the plurality of superposed and displayed equipment state cards is received, amplifying the clicked equipment state card.
2. The internet of things device control method of claim 1, wherein the generating a device status card based on the configuration information comprises:
acquiring user data;
and generating a device state card based on the configuration information and the user data.
3. The internet of things device control method according to claim 1, wherein after the plurality of device status cards generated by the control are displayed in a superimposed manner on a screen of the electronic device, the method further comprises:
acquiring the triggering operation of a user on one of the multiple equipment state cards;
and determining control parameters corresponding to the Internet of things equipment corresponding to the equipment state card based on the triggering operation, and sending the control parameters to the Internet of things equipment.
4. The Internet of things device control method according to claim 3, wherein the trigger operation comprises a single click operation, a double click operation and/or a long press operation.
5. The method for controlling internet of things equipment according to claim 3, wherein the determining the control parameters corresponding to the internet of things equipment corresponding to the equipment status card based on the trigger operation comprises:
determining the Internet of things equipment corresponding to the equipment state card based on the preset operation of the user on the equipment state card;
displaying a control interface of the Internet of things equipment;
and determining a control parameter corresponding to the Internet of things equipment according to the triggering operation of the user on the control interface.
6. The method for controlling internet-of-things equipment according to claim 3, wherein sending the control parameters to the internet-of-things equipment comprises:
acquiring an Internet of things protocol corresponding to the Internet of things equipment;
performing data processing on the control parameters based on the Internet of things protocol to obtain target control parameters;
and sending the target control parameter to the Internet of things equipment.
7. The method as claimed in any one of claims 3 to 6, wherein after the sending the control parameters to the IOT device, the method further comprises:
determining the current state parameter of the Internet of things equipment after adjustment according to the control parameter;
and updating the equipment state card according to the current state parameter, and controlling the updated equipment state card to be displayed on a screen of the electronic equipment.
8. The internet of things device control method according to claim 1, wherein after the plurality of device status cards generated by the control are displayed in a superimposed manner on a screen of the electronic device, the method further comprises:
acquiring current configuration information of the plurality of Internet of things devices according to a preset time interval;
and updating the equipment state card corresponding to each piece of Internet of things equipment in the plurality of pieces of Internet of things equipment according to the current configuration information.
9. The internet of things equipment control method of claim 1, further comprising:
and adjusting the display of the equipment status cards based on the adjustment operation of the user on the equipment status cards.
10. The internet-of-things device control method of claim 9, wherein the adjusting operation comprises: a move operation, a hide operation, a zoom operation, and/or an add-drop operation.
11. The method for controlling internet of things equipment according to claim 1, wherein the obtaining the state of the internet of things equipment comprises:
determining registered Internet of things equipment in the smart home application on the electronic equipment, and acquiring the state of the Internet of things equipment; and/or
And determining the Internet of things equipment establishing a control protocol with the electronic equipment, and acquiring the state of the Internet of things equipment.
12. The utility model provides a thing networking device control system, includes electronic equipment and a plurality of thing networking device, its characterized in that:
the electronic equipment acquires the states of the plurality of Internet of things equipment;
if the electronic equipment determines that the states of a plurality of Internet of things devices in the plurality of Internet of things devices meet preset card generation conditions, the electronic equipment acquires configuration information corresponding to the plurality of Internet of things devices;
the electronic equipment generates equipment status cards based on the configuration information and controls the generated equipment status cards to be displayed on a screen in a superposed mode, and the display sizes of the equipment status cards are reduced layer by layer from the bottom layer to the upper layer;
if receiving the clicking operation of the user on one of the multiple superposed equipment state cards, amplifying the clicked equipment state card;
the electronic equipment determines a control parameter of the Internet of things equipment corresponding to the equipment status card based on the triggering operation of a user on one of the equipment status cards; sending the control parameters to the Internet of things equipment;
and the Internet of things equipment receives the control parameters and adjusts the control parameters based on the control parameters.
13. An electronic device, comprising a memory and a processor;
the memory to store program instructions;
the processor is configured to read the program instructions stored in the memory to implement the method for controlling the internet of things device according to any one of claims 1 to 11.
14. A computer-readable storage medium, wherein computer-readable instructions are stored in the computer-readable storage medium, and when executed by a processor, implement the internet of things device control method according to any one of claims 1 to 11.
CN202111101026.1A 2021-09-18 2021-09-18 Internet of things equipment control method and system, electronic equipment and storage medium Active CN113986369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111101026.1A CN113986369B (en) 2021-09-18 2021-09-18 Internet of things equipment control method and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111101026.1A CN113986369B (en) 2021-09-18 2021-09-18 Internet of things equipment control method and system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113986369A CN113986369A (en) 2022-01-28
CN113986369B true CN113986369B (en) 2023-02-28

Family

ID=79736105

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111101026.1A Active CN113986369B (en) 2021-09-18 2021-09-18 Internet of things equipment control method and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113986369B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116028580B (en) * 2022-08-31 2023-10-20 荣耀终端有限公司 Object model management method, device and system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106201621A (en) * 2016-07-15 2016-12-07 乐视控股(北京)有限公司 Remote controller scene is prescribed a time limit the screen display method of card and device
KR102406099B1 (en) * 2017-07-13 2022-06-10 삼성전자주식회사 Electronic device and method for displaying information thereof
CN110035180B (en) * 2019-04-11 2022-01-28 Oppo广东移动通信有限公司 Card display method, device, terminal and storage medium

Also Published As

Publication number Publication date
CN113986369A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
CN109814766B (en) Application display method and electronic equipment
WO2020259452A1 (en) Full-screen display method for mobile terminal, and apparatus
CN113704014B (en) Log acquisition system, method, electronic device and storage medium
WO2021213164A1 (en) Application interface interaction method, electronic device, and computer readable storage medium
CN111666119A (en) UI component display method and electronic equipment
CN114089933B (en) Display parameter adjusting method, electronic device, chip and readable storage medium
CN114995715B (en) Control method of floating ball and related device
WO2023241209A1 (en) Desktop wallpaper configuration method and apparatus, electronic device and readable storage medium
CN114115770A (en) Display control method and related device
CN114189846A (en) Method, system, electronic device and storage medium for avoiding missed call
CN113986369B (en) Internet of things equipment control method and system, electronic equipment and storage medium
WO2023179123A1 (en) Bluetooth audio playback method, electronic device, and storage medium
CN113590346B (en) Method and electronic equipment for processing service request
CN114006698B (en) token refreshing method and device, electronic equipment and readable storage medium
CN115022982B (en) Multi-screen cooperative non-inductive access method, electronic equipment and storage medium
CN116939559A (en) Bluetooth audio coding data distribution method, electronic equipment and storage medium
CN114285946B (en) Number portability number display method, electronic equipment and storage medium
WO2022206769A1 (en) Method for combining content, electronic device, and system
WO2022166550A1 (en) Data transmission method and electronic device
CN115700462A (en) Shortcut display system, method and related device
CN115482143A (en) Application image data calling method and system, electronic equipment and storage medium
CN116935869A (en) Audio data distribution method, electronic device and storage medium
CN116939560A (en) Bluetooth audio data encoding method, electronic device and storage medium
CN117130975A (en) Bus interface expansion method and related equipment
CN114385282A (en) Theme color conversion method, electronic device, and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant