CN108170429A - Implementation method, device and the terminal of Internet of Things plug-in unit - Google Patents

Implementation method, device and the terminal of Internet of Things plug-in unit Download PDF

Info

Publication number
CN108170429A
CN108170429A CN201711399275.7A CN201711399275A CN108170429A CN 108170429 A CN108170429 A CN 108170429A CN 201711399275 A CN201711399275 A CN 201711399275A CN 108170429 A CN108170429 A CN 108170429A
Authority
CN
China
Prior art keywords
internet
interface assembly
unit
home appliance
control command
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.)
Granted
Application number
CN201711399275.7A
Other languages
Chinese (zh)
Other versions
CN108170429B (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.)
Midea Group Co Ltd
Midea Smart Home Technology Co Ltd
Original Assignee
Midea Group Co Ltd
Midea Smart Home Technology 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 Midea Group Co Ltd, Midea Smart Home Technology Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201711399275.7A priority Critical patent/CN108170429B/en
Publication of CN108170429A publication Critical patent/CN108170429A/en
Application granted granted Critical
Publication of CN108170429B publication Critical patent/CN108170429B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephonic Communication Services (AREA)

Abstract

Present invention is disclosed a kind of implementation method, device and the terminals of Internet of Things plug-in unit, belong to computer application technology.The method includes:The interface assembly chosen from interface assembly library is obtained, the interface assembly is associated with the control command of home appliance, according to the interface assembly of selection, generates the Internet of Things plug-in unit that function control is carried out to the home appliance.In addition, additionally providing the realization device and terminal of above-mentioned Internet of Things plug-in unit, implementation method, device and the terminal of above-mentioned Internet of Things plug-in unit can reduce the threshold for realizing Internet of Things plug-in unit, improve the development efficiency of Internet of Things plug-in unit.

Description

Implementation method, device and the terminal of Internet of Things plug-in unit
Technical field
The present invention relates to computer application technology, more particularly to a kind of implementation method, device and the end of Internet of Things plug-in unit End.
Background technology
With the rapid development of computer technology, the control of home appliance is obtained by terminal realization more and more extensive It is universal.Terminal is carried out communication with home appliance to connect, and then by running on the Internet of Things plug-in unit in terminal to associated household electrical appliances Equipment is controlled.
At present, typically using Native modes or tradition Web modes, to home appliance, associated Internet of Things plug-in unit is opened Hair.
The detailed development scheme of Native refer to React Native official websites (http://reactnative.cn/), by React Native official website j are introduced it is known that although Native modes can be directed to iOS (the mobile phone behaviour of Apple Inc.'s exploitation Make system), Android (Android operation system), WP (Windows Phone, Microsoft's mobile phone operating system) platform carry out respectively The exploitation of Internet of Things plug-in unit, but cannot be compatible between variant operating system platform, therefore, each household electrical appliances is set It is standby, the platforms such as iOS, Android, WP need to be directed to and write program respectively and carry out the exploitation of Internet of Things plug-in unit, cause development efficiency compared with It is low, and each platform need to be updated respectively when being iterated update, it will lead to update that cost is higher and the update cycle is stagnant Afterwards;During using traditional Web modes, need in a manner of program coding to different home appliances carry out Internet of Things plug-in unit exploitation, and by The front-end technology and exploitation custom used in different home appliance manufacturers is inconsistent, leads to different home appliance manufacturers exploitations Internet of Things plug-in unit can not be multiplexed, and greatly reduce development efficiency.
From the foregoing, it will be observed that in existing Internet of Things developing plug, need in a manner of program coding, for different operating system platforms The exploitation of Internet of Things plug-in unit is carried out respectively, and the Internet of Things plug-in unit of variant home appliance manufacturer exploitation can not be multiplexed, and Internet of Things is caused to be inserted The exploitation threshold of part is higher, and development efficiency is relatively low.Therefore, how to realize to low threshold that the efficient development of Internet of Things plug-in unit will be into The technical issues of being current urgently to be resolved hurrily.
Invention content
The technical issues of in order to solve to realize to low threshold the efficient development of Internet of Things plug-in unit in the relevant technologies, the present invention carries A kind of implementation method, device and the terminal of new Internet of Things plug-in unit are supplied.
In a first aspect, a kind of implementation method of Internet of Things plug-in unit is provided, including:
The interface assembly chosen from interface assembly library is obtained, the interface assembly is related to the control command of home appliance Connection;
According to the interface assembly of selection, the Internet of Things plug-in unit that function control is carried out to the home appliance is generated.
Second aspect provides a kind of realization device of Internet of Things plug-in unit, including:
Interface assembly chooses module, for obtaining the interface assembly chosen from interface assembly library, the interface assembly with The control command of home appliance is associated;
Internet of Things plug-in unit generation module for the interface assembly according to selection, generates and carries out work(to the home appliance The Internet of Things plug-in unit that can be controlled.
The third aspect provides a kind of terminal, which is characterized in that the terminal includes:
Processor;And
The memory being connect with the processor communication;Wherein,
The memory is stored with readable instruction, and the readable instruction realizes such as first when being performed by the processor Method described in aspect.
Fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program, and feature exists In the computer program realizes the method such as first aspect when executed.
The technical solution provided by the embodiment of the present invention can obtain following advantageous effect:
In the exploitation for carrying out Internet of Things plug-in unit, the interface assembly chosen from interface assembly library, interface assembly and family are obtained The control command of electric equipment is associated, and according to the interface assembly of selection, generates and carries out function control to the home appliance Internet of Things plug-in unit, put down since the interface assembly in interface assembly library is compatible with a variety of different home appliances and different operating system Platform writes the corresponding journey of corresponding control command one by one by way of program coding without developer for each home appliance Sequence only need to can generate corresponding Internet of Things plug-in unit by the drag operation at interface, and the Internet of Things plug-in unit can run on it is various Different operating system platforms greatly reduces the threshold for realizing Internet of Things plug-in unit, improves the development efficiency of Internet of Things plug-in unit.
It should be understood that above general description and following detailed description is only exemplary, the present invention not by Limitation.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart according to a kind of implementation method of Internet of Things plug-in unit shown in an exemplary embodiment.
Fig. 2 is the implementation method according to another Internet of Things plug-in unit shown in Fig. 1 corresponding embodiments.
Fig. 3 is a kind of specific reality according to step S120 in the implementation method of the Internet of Things plug-in unit shown in Fig. 1 corresponding embodiments Existing flow chart.
Fig. 4 is the implementation method according to another Internet of Things plug-in unit shown in Fig. 1 corresponding embodiments.
Fig. 5 is the implementation method according to another Internet of Things plug-in unit shown in Fig. 4 corresponding embodiments.
Fig. 6 is the block diagram according to a kind of realization device of Internet of Things plug-in unit shown in an exemplary embodiment.
Fig. 7 is the block diagram according to the realization device of another Internet of Things plug-in unit shown in Fig. 6 corresponding embodiments.
Fig. 8 is according to Internet of Things plug-in unit generation module 120 in the realization device of the Internet of Things plug-in unit shown in Fig. 6 corresponding embodiments A kind of block diagram.
Fig. 9 is the block diagram according to the realization device of another Internet of Things plug-in unit shown in Fig. 6 corresponding embodiments.
Figure 10 is the block diagram according to the realization device of another Internet of Things plug-in unit shown in Fig. 9 corresponding embodiments.
Figure 11 is the block diagram according to a kind of device shown in an exemplary embodiment..
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following exemplary is implemented Embodiment described in example does not represent all embodiments consistent with the present invention.On the contrary, they are only and such as institute The example of the consistent device and method of recorded, of the invention some aspects in attached claims.
Fig. 1 is the flow chart according to a kind of implementation method of Internet of Things plug-in unit shown in an exemplary embodiment.Such as Fig. 1 institutes Show, the implementation method of the Internet of Things plug-in unit may comprise steps of.
In step 110, the interface assembly chosen from interface assembly library, the control of interface assembly and home appliance are obtained Order is associated.
Interface assembly is the visualized graphs " member that can be placed on interface established in advance for the control command of home appliance Part ", such as button, Document Editing frame etc..
Interface assembly has the function of to perform, and causing code by trigger actions such as the clicks of user runs, so as to complete to control System orders corresponding function.
Include the corresponding interface assembly of various control commands in interface assembly library, for example, switching on and shutting down, raising temperature, drop The corresponding interface assembly of the control commands such as low temperature, swingable manner.
Since the control command of most home appliance communicates, thus the interface assembly in interface assembly library can Compatible a variety of different home appliances.For example, the switching on and shutting down control command of each home appliance;In another example the heating, cooling of air-conditioning The heating, cooling control command of control command and water heater.
Interface group is carried out by using the technology that can be compatible with the various different operating system platforms such as iOS, Android, WP Without developer for various different operating system platforms, corresponding interface is developed for each home appliance for the exploitation of part Component.
In the step 120, according to the interface assembly of selection, the Internet of Things plug-in unit that function control is carried out to home appliance is generated.
Internet of Things plug-in unit is the program that a kind of application programming interfaces for following certain specification are write out.
Internet of Things plug-in unit is embedded in terminal, the letter provided by the trigger action of interface assembly, call operation system platform Number library or the corresponding function of the corresponding control command of data realization.
Operating system platform offer enables the respective services that Internet of Things plug-in unit is applied, and including load mode is provided, makes Internet of Things plug-in unit can be loaded into application program and the network transmission protocol, so as to carry out data exchange with Internet of Things plug-in unit.Internet of Things are inserted Part is necessarily dependent upon operating system platform competence exertion itself function, is only unable to operate normally by Internet of Things plug-in unit.On the contrary, The application program run in operating system platform, which does not need to dependence Internet of Things plug-in unit, to be run, so, Internet of Things plug-in unit It can be loaded into application program and dynamic is updated without causing any change to application program.
It, can be according to default when carrying out the Internet of Things plug-in unit of function control to home appliance according to the generation of the interface assembly of selection The corresponding Internet of Things plug-in unit of pattern-autogeneration or corresponding Internet of Things plug-in unit is generated according to the self-defined setting of user, It can also be and Internet of Things plug-in unit is generated according to the interface assembly of selection in other way.
By method as described above, in the exploitation for carrying out Internet of Things plug-in unit, the boundary chosen from interface assembly library is obtained Face component, interface assembly is associated with the control command of home appliance, according to the interface assembly of selection, generate to home appliance into The Internet of Things plug-in unit of row function control, since the interface assembly in interface assembly library is compatible with a variety of different home appliances and different Operating system platform writes corresponding control command pair one by one by way of coding without developer for each home appliance The program answered only need to can generate corresponding Internet of Things plug-in unit, and the Internet of Things plug-in unit can be run by the drag operation at interface In a variety of different operating system platforms, the threshold for realizing Internet of Things plug-in unit is greatly reduced, improves the exploitation effect of Internet of Things plug-in unit Rate.
Fig. 2 is according to the implementation method of another Internet of Things plug-in unit shown in Fig. 1 corresponding embodiments, as shown in Fig. 2, step Before S110, the implementation method of Internet of Things plug-in unit shown in Fig. 1 can also include the following steps.
In step S210, according to the control command of home appliance, created using weex technologies related to each control command The interface assembly of connection.
Control command is that the instruction of corresponding function control is carried out to home appliance.For example, pass through switching on and shutting down control command pair Associated home appliance carries out switching on and shutting down control.
Weex is a kind of cross-platform Mobile Development tool.Weex can perfection take into account performance and dynamic, allow developer The performance that Native ranks are write out by simple and direct front end grammer is experienced, and support the several operation systems such as iOS, Android, WP Platform.
For the control command of each home appliance, weex technologies is used to create corresponding interface group for each control command Part.
It should be noted that for the general control command of each home appliance (for example, switching on and shutting down control command), need to only open A general interface assembly is sent out, when developing Internet of Things plug-in unit for each home appliance, the interface assembly that can be used this general.
In step S220, all interface assemblies are stored in interface assembly library.
By the way that all interface assemblies are packaged, are stored in the form of interface assembly library, subsequently carrying out object When joining the exploitation of plug-in unit, the interface assembly in the interface assembly library need to be only called, you can quickly and easily generate Internet of Things plug-in unit, greatly The big development efficiency for improving Internet of Things plug-in unit.
Using method as described above, before Internet of Things plug-in unit is generated, use weex technologies in advance for each home appliance Control command carries out the establishment of interface assembly, and is stored in interface assembly library, enables each interface assembly in interface assembly library A variety of different operating system platforms are enough compatible with, when generating Internet of Things plug-in unit according to interface assembly, only need calling interface Component Gallery In interface assembly, you can quickly and easily generate Internet of Things plug-in unit, and can be compatible with by the Internet of Things plug-in unit of weex technological development In a variety of different operating system platforms, the threshold for realizing Internet of Things plug-in unit is greatly reduced, improves the exploitation effect of Internet of Things plug-in unit Rate, and the interactive interface that the Internet of Things plug-in unit based on weex technological development is consistent replace different Internet of Things plug-in units in user Shi Wuxu spends larger time cost to be accustomed to, and greatly reduces the time cost of user.
Optionally, Fig. 3 is the details according to step S120 in the implementation method of the Internet of Things plug-in unit shown in Fig. 1 corresponding embodiments Description, as shown in figure 3, control parameter includes work timing, the step S120 in the implementation method of the Internet of Things plug-in unit can also be wrapped Include following steps.
In step S121, personalized definition is carried out to the interface assembly of selection.
Personalization definition be user after interface assembly is chosen, according to the demand of itself with being accustomed to the interface assembly of selection Carry out pattern and the adjustment of layout.
For example, being adjusted to the font in interface assembly, the position relationship mutual to each interface assembly is adjusted It is whole.
In step S122, according to the layout and pattern after the personalized definition of interface assembly progress, generate and household electrical appliances are set The standby Internet of Things plug-in unit for carrying out function control.
By carrying out personalized definition to interface assembly, the Internet of Things plug-in unit of generation is made to be more in line with each user habit of itself It is used, greatly strengthen the usage experience of user.
Fig. 4 is according to the implementation method of another Internet of Things plug-in unit shown in Fig. 1 corresponding embodiments, as shown in figure 4, Internet of Things are inserted Part is run in terminal, and after step S120, the implementation method of Internet of Things plug-in unit shown in Fig. 1 can also include the following steps.
In step S310, the trigger action carried out to the Internet of Things plug-in unit median surface component for running on terminal is received.
Terminal can be the computer equipments such as mobile phone, computer, and specific implementation is not limited by the present embodiment.
As described above, Internet of Things plug-in unit is embedded in terminal, by the way that operating system platform is depended on to realize corresponding control Function.
The various operations that trigger action carries out the interface assembly in Internet of Things plug-in unit in the display interface of terminal for user.
In step s 320, according to the interface assembly of trigger action, control command associated with interface assembly is determined.
As described above, each interface assembly is associated with control command.Therefore, according to the interface group of user's trigger action Part obtains the associated control command of the interface assembly,
In step S330, to associated home appliance send control command so that home appliance according to control command into Row work.
It should be noted that network module is installed in home appliance.By network module, between home appliance and terminal Carry out communication connection.
Terminal is set after the associated control command of interface assembly for determining trigger action to the associated household electrical appliances of Internet of Things plug-in unit Preparation gives the control command, and the home appliance is made to be worked according to control command.
It should be noted that an Internet of Things plug-in unit can be associated with a type of home appliance (such as washing machine), it is each A Internet of Things plug-in unit can the (home appliance of same type different model, such as together associated with same type of multiple home appliances Belong to rotary drum washing machine, the roller washing machine of washing machine).
When an Internet of Things plug-in unit is associated with same type of multiple home appliances simultaneously, can and meanwhile to associated multiple Home appliance sends control command;It can also be sent by pre-set priority to the home appliance of highest priority Control command;Can also be according to the selection of user, the home appliance selected to user sends control command;Other can also be passed through Mode sends control command to associated home appliance.
Using method as described above, Internet of Things plug-in unit is embedded in terminal, and is communicated between home appliance and terminal When trigger action of the user in terminal interface progress interface assembly, life is controlled by obtaining the interface assembly accordingly for connection The associated home appliance of Internet of Things plug-in unit is sent to after order, home appliance is made to be worked according to control command, passes through Internet of Things plug-in unit It realizes the remote control to home appliance, substantially increases the convenience to home appliance.
Fig. 5 is according to the implementation method of another Internet of Things plug-in unit shown in Fig. 4 corresponding embodiments, as shown in figure 5, Internet of Things are inserted Part is run in terminal, and after step S120, the implementation method of Internet of Things plug-in unit shown in Fig. 4 can also include the following steps.
In step S340, the status data that home appliance uploads is received.
The data of home appliance working condition are characterized during status data.By status data, home appliance can be known Working condition.
After home appliance receives the control command that terminal is sent, the working condition of itself will be adjusted according to the control command, And status data will be uploaded to terminal.
Can upload shape to home appliance according to preset time interval when home appliance is to terminal upload status data State data;Can also upload status data to the terminal after the state data acquisition request for receiving terminal transmission;May be used also To upload status data to terminal by other means, herein without describing one by one.
In step S350, according to status data, the working condition of home appliance is illustrated in the display interface of terminal.
By the way that the working condition of home appliance to be illustrated in the display interface of terminal, more convenient user knows home appliance Working condition, to inform the work shape that home appliance whether is successfully controlled by the trigger action that is carried out to interface assembly State, avoids when to the control of home appliance failure and user has no way of finding out about it, and home appliance is carried out to pass through Internet of Things plug-in unit Control provide better convenience.
Following is present system embodiment, can be used for performing the implementation method embodiment of above-mentioned Internet of Things plug-in unit.For The details not disclosed in present system embodiment please refers to the implementation method embodiment of Internet of Things plug-in unit of the present invention.
Fig. 6 is according to a kind of block diagram of the realization device of Internet of Things plug-in unit shown in an exemplary embodiment, which includes But it is not limited to:Interface assembly chooses module 110 and Internet of Things plug-in unit generation module 120.
Interface assembly chooses module 110, for obtaining the interface assembly chosen from interface assembly library, interface assembly and family The control command of electric equipment is associated;
Internet of Things plug-in unit generation module 120 for the interface assembly according to selection, generates and carries out function control to home appliance Internet of Things plug-in unit.
The function of modules and the realization process of effect specifically refer to the realization side of above-mentioned Internet of Things plug-in unit in above device The realization process of step is corresponded in method, details are not described herein.
Optionally, Fig. 7 is according to the block diagram of the realization device of another Internet of Things plug-in unit shown in Fig. 6 corresponding embodiments, such as Shown in Fig. 7, the realization device of the Internet of Things plug-in unit in Fig. 6 is further included but is not limited to:Interface assembly creation module 210 and interface assembly Memory module 220.
Interface assembly creation module 210 for the control command according to home appliance, is created and each control using weex technologies System orders associated interface assembly;
Interface assembly memory module 220, for all interface assemblies to be stored in interface assembly library.
Optionally, Internet of Things plug-in unit generation module in the realization device of Internet of Things plug-in units of the Fig. 8 according to Fig. 6 corresponding embodiments 120 a kind of block diagram, as shown in figure 8, the Internet of Things plug-in unit generation module 120 in Fig. 6 includes but not limited to:Personalized definition unit 121 and Internet of Things plug-in unit generation unit 122.
Personalized definition unit 121, for carrying out personalized definition to the interface assembly of selection;
Internet of Things plug-in unit generation unit 122, for according to the layout and pattern after the personalized definition of interface assembly progress, life Pairs of home appliance carries out the Internet of Things plug-in unit of function control.
Optionally, Fig. 9 is according to the block diagram of the realization device of another Internet of Things plug-in unit shown in Fig. 6 corresponding embodiments, such as Shown in Fig. 9, the realization device of the Internet of Things plug-in unit in Fig. 6 is further included but is not limited to:Trigger action receiving module 310, control command Determining module 320 and control command sending module 330.
Trigger action receiving module 310 touches for receiving to what the Internet of Things plug-in unit median surface component for running on terminal carried out Hair operation;
Control command determining module 320 for the interface assembly according to trigger action, determines associated with interface assembly Control command;
Control command sending module 330, for associated home appliance send control command so that home appliance according to Control command works.
Optionally, Figure 10 is according to the block diagram of the realization device of another Internet of Things plug-in unit shown in Fig. 9 corresponding embodiments, such as Shown in Figure 10, the realization device of the Internet of Things plug-in unit in Fig. 9 is further included but is not limited to:Status data receiving module 340 and work shape State display module 350.
Status data receiving module 340, for receiving the status data of home appliance upload;
Working condition display module 350, for according to status data, the working condition of home appliance to be illustrated in terminal Display interface.
Optionally, the present invention also provides a kind of terminal, perform it is as above any shown in Internet of Things plug-in unit implementation method it is complete Portion or part steps.The terminal includes:
Processor;And
The memory being connect with the processor communication;Wherein,
The memory is stored with readable instruction, and the readable instruction is realized when being performed by the processor as above-mentioned Method described in either exemplary embodiment.
Processor performs the concrete mode of operation in the realization in relation to the Internet of Things plug-in unit in terminal in the embodiment Detailed description is performed in the embodiment of method, explanation will be not set forth in detail herein.
Figure 11 is the block diagram according to a kind of device shown in an exemplary embodiment.For example, device 100 is as described above Terminal.
With reference to figure 11, device 100 can include one or more following component:Processing component 101, memory 102, electricity Source component 103, multimedia component 104, audio component 105, sensor module 107 and communication component 108.Wherein, above-mentioned group Part is simultaneously not all necessary, and device 100 can increase other assemblies according to itself functional requirement or reduce certain components, this implementation Example is not construed as limiting.
The integrated operation of 101 usual control device 100 of processing component, such as with display, call, data communication, phase Machine operates and record operates associated operation etc..Processing component 101 can be performed including one or more processors 109 Instruction, to complete all or part of step of aforesaid operations.In addition, processing component 101 can include one or more modules, just Interaction between processing component 101 and other assemblies.For example, processing component 101 can include multi-media module, it is more to facilitate Interaction between media component 104 and processing component 101.
Memory 102 is configured as storing various types of data to support the operation in device 100.These data are shown Example includes the instruction of any application program or method for operating on the device 100.Memory 102 can be by any kind of Volatibility or non-volatile memory device or combination thereof are realized, such as SRAM (Static Random Access Memory, static RAM), EEPROM (Electrically Erasable Programmable Read- Only Memory, electrically erasable programmable read-only memory), EPROM (Erasable Programmable Read Only Memory, Erasable Programmable Read Only Memory EPROM), (Programmable Read-Only Memory may be programmed read-only PROM Memory), ROM (Read-Only Memory, read-only memory), magnetic memory, flash memory, disk or CD.Storage One or more modules are also stored in device 102, which is configured to by the one or more processors 109 It performs, to complete all or part of step in following any shown method.
Power supply module 103 provides electric power for the various assemblies of device 100.Power supply module 103 can include power management system System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 100.
Multimedia component 104 is included in the screen of one output interface of offer between described device 100 and user.One In a little embodiments, screen can include LCD (Liquid Crystal Display, liquid crystal display) and TP (Touch Panel, touch panel).If screen includes touch panel, screen may be implemented as touch screen, from the user to receive Input signal.Touch panel includes one or more touch sensors to sense the gesture on touch, slide, and touch panel.Institute The boundary of a touch or slide action can not only be sensed by stating touch sensor, but also be detected and the touch or slide phase The duration and pressure of pass.
Audio component 105 is configured as output and/or input audio signal.For example, audio component 105 includes a Mike Wind, when device 100 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone is configured as connecing Receive external audio signal.The received audio signal can be further stored in memory 102 or be sent out via communication component 108 It send.In some embodiments, audio component 105 further includes a loud speaker, for exports audio signal.
Sensor module 107 includes one or more sensors, and the state for providing various aspects for device 100 is commented Estimate.For example, sensor module 107 can detect opening/closed state of device 100, the relative positioning of component, sensor group Part 107 can be changed with the coordinate of 100 1 components of detection device 100 or device and the temperature change of device 100.At some In embodiment, which can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 108 is configured to facilitate the communication of wired or wireless way between device 100 and other equipment.Device 100 can access the wireless network based on communication standard, such as WiFi (Wireless-Fidelity, wireless network), 2G or 3G, Or combination thereof.In one exemplary embodiment, communication component 108 is received via broadcast channel from external broadcasting management The broadcast singal or broadcast related information of system.In one exemplary embodiment, the communication component 108 further includes NFC (Near Field Communication, near-field communication) module, to promote short range communication.For example, it can be based in NFC module RFID (Radio Frequency Identification, radio frequency identification) technology, IrDA (Infrared Data Association, Infrared Data Association) technology, UWB (Ultra-Wideband, ultra wide band) technology, BT (Bluetooth, it is blue Tooth) technology and other technologies realize.
In the exemplary embodiment, device 100 can be by one or more ASIC (Application Specific Integrated Circuit, application specific integrated circuit), DSP (Digital Signal Processing, at digital signal Manage device), PLD (Programmable Logic Device, programmable logic device), FPGA (Field-Programmable Gate Array, field programmable gate array), controller, microcontroller, microprocessor or other electronic components realize, be used for Perform the above method.
Processor performs the concrete mode of operation in the realization in relation to the Internet of Things plug-in unit in device in the embodiment Detailed description is performed in the embodiment of method, will no longer elaborate explanation herein.
In the exemplary embodiment, a kind of computer readable storage medium is additionally provided, such as can be to include instruction Provisional and non-transitorycomputer readable storage medium.Memory 102 of the storage medium for example including instruction, above-mentioned finger Enable the implementation method that can be performed by the processor 109 of device 100 to complete above-mentioned Internet of Things plug-in unit.
It should be understood that the invention is not limited in the precision architecture for being described above and being shown in the drawings, this Field technology personnel can perform various modifications and change without departing from the scope.The scope of the present invention only will by appended right It asks to limit.

Claims (12)

1. a kind of implementation method of Internet of Things plug-in unit, which is characterized in that the method includes:
The interface assembly chosen from interface assembly library is obtained, the interface assembly is associated with the control command of home appliance;
According to the interface assembly of selection, the Internet of Things plug-in unit that function control is carried out to the home appliance is generated.
2. according to the method described in claim 1, it is characterized in that, described obtain the interface assembly chosen from interface assembly library The step of before, the method further includes:
According to the control command of home appliance, interface assembly associated with each control command is created using weex technologies;
All interface assemblies are stored in interface assembly library.
3. according to the method described in claim 1, it is characterized in that, the interface assembly according to selection, generates to institute The step of home appliance carries out the Internet of Things plug-in unit of function control is stated to include:
Personalized definition is carried out to the interface assembly of selection;
According to the layout and pattern after the personalized definition of interface assembly progress, generate and function is carried out to the home appliance The Internet of Things plug-in unit of control.
4. according to the method described in claim 1, it is characterized in that, the Internet of Things plug-in component operation in terminal, it is described according to choosing The interface assembly taken, after generating the step of carrying out the Internet of Things plug-in unit of function control to the home appliance, the method It further includes:
Receive the trigger action carried out to the Internet of Things plug-in unit median surface component for running on terminal;
According to the interface assembly of trigger action, control command associated with the interface assembly is determined;
The control command is sent to associated home appliance, so that the home appliance carries out work according to the control command Make.
5. according to the method described in claim 4, it is characterized in that, described send the control life to associated home appliance It enables, so that after the step of home appliance is worked according to the control command, the method further includes:
Receive the status data that the home appliance uploads;
According to the status data, the working condition of the home appliance is illustrated in the display interface of the terminal.
6. a kind of realization device of Internet of Things plug-in unit, which is characterized in that described device includes:
Interface assembly chooses module, for obtaining the interface assembly chosen from interface assembly library, the interface assembly and household electrical appliances The control command of equipment is associated;
Internet of Things plug-in unit generation module for the interface assembly according to selection, generates and carries out function control to the home appliance The Internet of Things plug-in unit of system.
7. device according to claim 6, which is characterized in that described device further includes:
Interface assembly creation module for the control command according to home appliance, is created and each control command using weex technologies Associated interface assembly;
Interface assembly memory module, for all interface assemblies to be stored in interface assembly library.
8. device according to claim 6, which is characterized in that the Internet of Things plug-in unit generation module includes:
Personalized definition unit, for carrying out personalized definition to the interface assembly of selection;
Internet of Things plug-in unit generation unit, for according to the layout and pattern after the personalized definition of interface assembly progress, generation The Internet of Things plug-in unit of function control is carried out to the home appliance.
9. device according to claim 6, which is characterized in that the Internet of Things plug-in component operation is in terminal, described device packet It includes:
Trigger action receiving module, for receiving the trigger action carried out to the Internet of Things plug-in unit median surface component for running on terminal;
Control command determining module for the interface assembly according to trigger action, determines associated with the interface assembly Control command;
Control command sending module, for sending the control command to associated home appliance, so that the home appliance root It works according to the control command.
10. device according to claim 9, which is characterized in that described device further includes:
Status data receiving module, for receiving the status data that the home appliance uploads;
Working condition display module, for according to the status data, the working condition of the home appliance being illustrated in described The display interface of terminal.
11. a kind of terminal, which is characterized in that the terminal includes:
Processor;And
The memory being connect with the processor communication;Wherein,
The memory is stored with readable instruction, and the readable instruction realizes such as claim when being performed by the processor 1-5 any one of them methods.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer journey Sequence is realized when executed such as claim 1-5 any one of them methods.
CN201711399275.7A 2017-12-21 2017-12-21 Method and device for realizing Internet of things plug-in and terminal Expired - Fee Related CN108170429B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711399275.7A CN108170429B (en) 2017-12-21 2017-12-21 Method and device for realizing Internet of things plug-in and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711399275.7A CN108170429B (en) 2017-12-21 2017-12-21 Method and device for realizing Internet of things plug-in and terminal

Publications (2)

Publication Number Publication Date
CN108170429A true CN108170429A (en) 2018-06-15
CN108170429B CN108170429B (en) 2021-04-02

Family

ID=62523487

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711399275.7A Expired - Fee Related CN108170429B (en) 2017-12-21 2017-12-21 Method and device for realizing Internet of things plug-in and terminal

Country Status (1)

Country Link
CN (1) CN108170429B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020062613A1 (en) * 2018-09-25 2020-04-02 珠海格力电器股份有限公司 Page generation method and apparatus, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7093264B2 (en) * 2001-12-28 2006-08-15 Electronics And Telecommunications Research Institute Method and apparatus for assembling Enterprise JavaBeans components
CN104166711A (en) * 2014-08-12 2014-11-26 小米科技有限责任公司 Method and device for controlling router plug-in
CN104991764A (en) * 2015-08-04 2015-10-21 广东康宝电器股份有限公司 User interface dynamic generation model of household electric apparatus integrated with universal protocol
CN105241011A (en) * 2015-10-14 2016-01-13 珠海格力电器股份有限公司 Air conditioner group control system development device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7093264B2 (en) * 2001-12-28 2006-08-15 Electronics And Telecommunications Research Institute Method and apparatus for assembling Enterprise JavaBeans components
CN104166711A (en) * 2014-08-12 2014-11-26 小米科技有限责任公司 Method and device for controlling router plug-in
CN104991764A (en) * 2015-08-04 2015-10-21 广东康宝电器股份有限公司 User interface dynamic generation model of household electric apparatus integrated with universal protocol
CN105241011A (en) * 2015-10-14 2016-01-13 珠海格力电器股份有限公司 Air conditioner group control system development device and method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020062613A1 (en) * 2018-09-25 2020-04-02 珠海格力电器股份有限公司 Page generation method and apparatus, and computer-readable storage medium

Also Published As

Publication number Publication date
CN108170429B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
US10656917B2 (en) Generation of a device application
CN106416143B (en) Apparatus control method and device
US20160191267A1 (en) Information Processing Method and Central Control Device
CN102830906B (en) Method and the terminal unit of file process is carried out based on user interface
CN109428911A (en) Apparatus control method, device, terminal device and operating system
CN107703872A (en) Terminal control method, device and the terminal of home appliance
CN111856955A (en) Method and apparatus for controlling device for smart home service
CN105373003A (en) Parameter correction method and device
CN105338083A (en) Interface display method and interface display device
CN105068467B (en) Control the method and device of smart machine
CN107294793A (en) Replacement method, device, equipment and the storage medium of intelligent home device
CN104539476A (en) Data package obtaining method and device
CN105652671A (en) Intelligent equipment operating mode setting method and device
CN111356960A (en) System and method for controlling operation of a device
CN110955420A (en) User-defined equipment control method, device, equipment and readable medium
CN114019807A (en) Data processing method, device, system, equipment and readable storage medium
CN105376410A (en) Method and device for setting alarm clock
CN104898930A (en) Setting method and system of working scene of intelligent terminal
TW201712487A (en) Active stylus and method of using the same providing a programmable active stylus for operating a touch panel of an electronic device
CN108170429A (en) Implementation method, device and the terminal of Internet of Things plug-in unit
CN104615172A (en) Intelligent temperature control method, device and mobile terminal
CN106527642A (en) Power supply control method and device for extension socket, and extension socket
CN109709880B (en) Control method and control system of projector
CN104008634A (en) Equipment control method, device and system
CN108132736A (en) Display control method and device in window

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210402

Termination date: 20211221

CF01 Termination of patent right due to non-payment of annual fee