CN105629908B - Internet of things equipment control method and device - Google Patents

Internet of things equipment control method and device Download PDF

Info

Publication number
CN105629908B
CN105629908B CN201410608749.4A CN201410608749A CN105629908B CN 105629908 B CN105629908 B CN 105629908B CN 201410608749 A CN201410608749 A CN 201410608749A CN 105629908 B CN105629908 B CN 105629908B
Authority
CN
China
Prior art keywords
equipment
interface
control interface
control
party
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
CN201410608749.4A
Other languages
Chinese (zh)
Other versions
CN105629908A (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.)
Tencent Technology Shenzhen Co Ltd
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410608749.4A priority Critical patent/CN105629908B/en
Publication of CN105629908A publication Critical patent/CN105629908A/en
Application granted granted Critical
Publication of CN105629908B publication Critical patent/CN105629908B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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]

Abstract

A kind of internet of things equipment control method, comprising the following steps: receive the instruction for entering the control interface of equipment of user's operation selection;Obtain the interface categories information of the control interface of the preconfigured equipment;The control interface of the equipment is generated according to the interface categories information;Obtain the control instruction for the equipment that user's operation triggers in the control interface;The control instruction is sent to the equipment by the message transmission interface called by the control interface.The above method is for different types of equipment, as long as being pre-configured with the interface categories information of equipment, software and hardware resources needed for saving the multiple control softwares of installation and operation.In addition, also providing a kind of internet of things equipment control device.

Description

Internet of things equipment control method and device
Technical field
The present invention relates to internet of things field, more particularly to a kind of internet of things equipment control method and device.
Background technique
Internet of Things (Internet of Things) is one based on information carriers such as internet, conventional telecommunications nets, is allowed The network concept that all General Physics object implementatio8s that can be independently addressable interconnect.Theoretically, Internet of Things can will nowhere Not end-equipment and facility, pass through various wireless and/or wired long range and/or short distance communication network implementations interconnection Intercommunication.End-equipment and facility therein include the sensor for having " inherent intelligence ", mobile terminal, industrial system, building control system System, home intelligent facility, video monitoring system etc., and intelligent object or animal including " external enabled " (Enabled) Or " SMART DUST " (Mote), such as stick individual and the vehicle of the various assets (Assets) of RFID, portable radio terminal.
In current internet of things field, interconnecting between the equipment of each manufacturer's production is also far from reality It is existing.On the basis of existing technology, the control software of each manufacturer smart machine that respectively independent square root control oneself produces.It wants Realize with the real-time interactive of the smart machine of a certain manufacturer production, a kind of feasible scheme is to install the manufacturer on mobile terminals The control software for the smart machine of research and development passes through the mutual of the control software realization of the smart machine and the smart machine It is dynamic.
Since the control software of different smart machines is generally different from, in order to control different smart machines, accordingly Ground needs to download different control software.When needing the quantity of the smart machine controlled to increase, then can be brought to mobile terminal Heavy burden.Once the smart machine controlled is needed to reach certain upper limit, the limited hardware resource of mobile terminal cannot Meet needs.
Summary of the invention
Based on this, it is necessary to provide a kind of save when realization controls the equipment of multiple and different types and control resource Internet of things equipment control method and device.
A kind of internet of things equipment control method, comprising the following steps:
Receive the instruction for entering the control interface of equipment of user's operation selection;
Obtain the interface categories information of the control interface of the preconfigured equipment;
The control interface of the equipment is generated according to the interface categories information;
Obtain the control instruction for the equipment that user's operation triggers in the control interface;
The control instruction is sent to the equipment by the message transmission interface called by the control interface.
A kind of internet of things equipment control device, comprising:
Command reception module, for receiving the instruction for entering the control interface of equipment of user's operation selection;
Classification information obtains module, the interface categories information of the control interface for obtaining the preconfigured equipment;
Control interface generation module, for generating the control interface of the equipment according to the interface categories information;
Control instruction obtains module, for obtaining the control for the equipment that user's operation triggers in the control interface System instruction;
Message transmission module, the message transmission interface for being called by the control interface send the control instruction To the equipment.
Above-mentioned internet of things equipment control method and device, user's operation can select to appoint in a variety of different types of equipment It anticipates an equipment, it further can be according to being pre-configured with so as to receive the instruction of control interface for the equipment for entering selection The interface categories information of control interface of the equipment generate the control interface of the equipment, the control interface for passing through generation is realized pair The control of the equipment;To the above method and device, for different types of equipment, as long as being pre-configured with the interface categories of equipment Information is directed to multiple control softwares of multiple and different type equipment without downloading, so that it is more to save installation and operation Software and hardware resources needed for a control software.
Detailed description of the invention
Fig. 1 is the running environment schematic diagram that internet of things equipment control method of the invention can be achieved in one embodiment;
Fig. 2 is the flow diagram of the internet of things equipment control method in one embodiment;
Fig. 3 is the flow diagram of the step S206 of Fig. 2 in one embodiment;
Fig. 4 is the flow diagram of the step S306 of Fig. 3 in one embodiment;
Fig. 5 A is the schematic diagram that equipment controls unified Entry Interface in one embodiment;
Fig. 5 B is the template contral interface schematic diagram of study camera in one embodiment;
Fig. 5 C is the template contral interface schematic diagram of study camera in another embodiment;
Fig. 5 D is that third party's control interface of study camera in one embodiment starts schematic diagram;
Fig. 6 is the structural schematic diagram of the internet of things equipment control device in one embodiment;
Fig. 7 is the structural schematic diagram of the internet of things equipment control device in another embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and It is not used in the restriction present invention.
Fig. 1 is the running environment schematic diagram that internet of things equipment control method of the invention can be achieved in one embodiment.Such as Shown in Fig. 1, which is based on Internet of Things network communication system 100, which includes mobile terminal 102, object Networked platforms 104, equipment 106.Wherein, mobile terminal 102 can arbitrarily connect for mobile phone, laptop, tablet computer etc. Enter the intelligent terminal of internet;Platform of internet of things 104 can be in the server, clothes of realizing that mobile terminal 102 is communicated with equipment 106 Business device cluster, data processing centre or cloud etc.;Equipment 106 is that television set, camera, printer, lamp, beginning etc. arbitrarily may be used The equipment for accessing internet.
In the Internet of Things network communication system 100, equipment that third party device manufacturer produces it at 104 end of platform of internet of things The control interface supported is configured;Wherein control interface is divided into template contral interface and third party's control interface.Template control Interface processed belongs to the control interface of the offer of platform of internet of things 104;Third party's control interface is then other than the platform of internet of things 104 The control interface that third party device manufacturer provides.User selects to be controlled set in the cluster tool that mobile terminal 102 is shown Standby 106, mobile terminal 102 generates the instruction for entering the control interface of the equipment 106, is further matched in advance according to the equipment 106 The interface categories information for the control interface set generates the control interface of the equipment.If 106 control interfaces of the equipment are template control Interface processed, then between the template contral interface and equipment 106 of the equipment 106 according to platform of internet of things 104 arrange agreement via Platform of internet of things 104 is communicated.If the control interface of the equipment 106 is third party's control interface, and the third party controls boundary The communication interface that face calls platform of internet of things 104 to support, then third party's control interface of the equipment 106 can also be flat according to Internet of Things The agreement that platform 104 is arranged is communicated via platform of internet of things 104.Certainly, third party's control interface can not also be via Internet of Things Platform 104 forwards message, and the communication mechanism provided by third party device manufacturer and arranges according to third party device manufacturer Agreement is communicated with the equipment of third party device manufacturer;Present specification to this with no restriction.
As shown in Fig. 2, a kind of internet of things equipment control method, comprising the following steps:
Step S202 receives the instruction for entering the control interface of equipment of user's operation selection.
It in one embodiment, can presentation device set before step S202.In one embodiment, cluster tool It can be shown in the form of list etc., for example, device name list, appliance icon list etc..When generation is to certain in cluster tool It when the clicking operation of one equipment, indicates that the equipment is selected, can produce the instruction into the control interface of the equipment.Step S202 It can receive the instruction of the control interface of the equipment selected in cluster tool into user's operation.
It may include a variety of different types of equipment in the present embodiment, in cluster tool, user's operation can be in cluster tool Any one equipment is selected, so that the equipment in the present embodiment for multiple and different types provides unified control interface entrance, Without controlling multiple equipment by multiple program entries, the behaviour that user controls multiple equipment is greatly simplified Make.Step S204 obtains the interface categories information of the control interface of preconfigured selected equipment.
The device identification of selected equipment can be obtained, control circle of selected equipment is further obtained according to the device identification The interface categories information in face.
In one embodiment, the interface categories information of each equipment is pre-configured in facility information allocation list;It can be pre- It first pulls the facility information allocation list and facility information allocation list is stored in local, or facility information configuration can be pulled in real time Table reads the corresponding interface categories information of device identification of selected equipment from facility information allocation list.
Step S206 generates the control interface of selected equipment according to the corresponding interface categories information of selected equipment.
In one embodiment, control interface is divided into template contral interface categories and third party's control interface classification.Wherein, Template contral interface, which belongs to, runs control circle that the platform of internet of things that internet of things equipment control method of the invention is based on provides Face;Third party's control interface is then the control interface that the third party device manufacturer other than the platform of internet of things provides.Template contral Interface can be divided into native program (Native App needs application program to be mounted) control interface and webpage control interface again.It is former Raw program interface screen is the control interface presented by native program;Webpage control interface is control circle presented by webpage Face, the i.e. control interface are actually webpage.Native program control interface can be subdivided into the control interface of variety classes equipment again, For example, TV control interface, airconditioning control interface, camera control interface etc.;Further, the control of same kind of equipment Interface processed can also be subdivided into control interface of different models of equipment, etc..The classification of webpage control interface can be carried out similar Ground divides, and details are not described herein.
As shown in figure 3, in one embodiment, step S206 the following steps are included:
Step S302 judges that the control interface of selected equipment is according to the corresponding interface categories information of selected equipment It is no to belong to template contral interface categories, and judge whether the control interface of selected equipment belongs to third party's control interface classification, If belonging to template contral interface categories, S304 is thened follow the steps, if belonging to third party's control interface classification, is thened follow the steps S308。
Step S304 obtains the functional attributes that preconfigured selected equipment is supported.
In one embodiment, functional attributes complete or collected works' dictionary can be preset, wherein a functional attributes, which record, may include The marks of functional attributes, title, meaning, whether be must configuration item, attribute-value ranges and the corresponding meaning of each attribute value etc..One A functional attributes can correspond to one or more components in control interface, and the one or more components are for obtaining user's operation simultaneously Control instruction relevant to functional attributes is triggered according to user's operation.It is related that the following table 1 shows camera in functional attributes complete or collected works Partial function attribute example and functional attributes record part field.
Table 1
Step S304 can obtain the attribute-bit for the functional attributes that selected equipment is supported.In one embodiment, above-mentioned Facility information allocation list in store the corresponding relationship of device identification and attribute-bit, device identification in facility information allocation list Corresponding attribute-bit is the attribute-bit for the functional attributes that relevant device is supported;So as to from facility information allocation list The corresponding attribute-bit of device identification of selected equipment is read, to obtain the attribute mark for the functional attributes that selected equipment is supported Know.
Step S306 generates the template contral interface of selected equipment according to the functional attributes.
In the present embodiment, it can be pre-configured with and meet the functional attributes that the equipment of third party device manufacturer needs is supported, according to Mobile terminal is developed without third party device manufacturer in the template contral interface of preconfigured functional attributes generating device The control software of side, it is only necessary to configure the functional attributes of equipment support, and equipment side is according to (can also with template contral interface convention Be interpreted as and platform of internet of things arrange) protocol analysis template contral interface triggering message.
It, can be according to setting in the present embodiment moreover, because multiple functional attributes can synthesize the functional attributes combination of substantial amounts The huge different templates control interface of the different generation quantities of the standby functional attributes supported, to meet a variety of different demands, side Just the equipment of third party device manufacturer and platform of internet of things carry out fast adaptation.
As shown in figure 4, in one embodiment, step S306 the following steps are included:
Step S402 obtains the corresponding primary template control interface of selected equipment.
Primary template control interface be above-mentioned platform of internet of things provide for realizing the basic control function to equipment Control interface.In one embodiment, the equipment for belonging to same model corresponds to identical primary template control interface.In a reality It applies in example, the corresponding relationship and device model and primary template control interface of device identification and device model has been stored in advance The corresponding relationship of interface identification.Step S402 can obtain the corresponding primary template control interface of device identification of selected equipment Interface identification, and pull corresponding primary template control interface.
Step S404, hide equipment selected in the primary template control interface support the corresponding component of functional attributes it The optional component of remaining outer.
It include basic module and optional component in primary template control interface, basic module is for realizing basic function, most It is not set well as hidden state, and optional component can be arranged to hidden state for realizing optional function.
In one embodiment, functional attributes pass corresponding with the component in primary template control interface has been stored in advance System.Step S404 can obtain the corresponding component of functional attributes that preconfigured selected equipment is supported, and by primary template control Remaining optional component in the optional component at interface processed except the corresponding component is set as hidden state.
Step S406, the corresponding component of the functional attributes that selected equipment is supported is in the primary template control interface Layout optimizes adjustment, obtains the template contral interface of selected equipment.
In one embodiment, corresponding component can be optimized adjustment in the layout of primary template control interface, made Will not be left white in primary template control interface, components distribution will not be obviously uneven, etc..For example, if will form a line Members in multiple components are hidden, then can widen the distance between remaining components etc., so that remaining components substantially accounts for Space occupied by full former multiple components, etc..
Step S308 obtains the download address of the control interface of preconfigured selected equipment, according to the download address The resource data of third party's control interface of selected equipment is pulled, and generates the third of selected equipment according to the resource data Square control interface.
In one embodiment, third party's control interface can also be divided into native program control interface and webpage control interface. The download address of native program control interface is the software installation packet of the native program of the native program control interface for rendering Download address;The download address of webpage control interface is the URL that the webpage of the webpage control interface is presented.
When third party's control interface of selected equipment is native program control interface, can be downloaded according to its download address Software installation packet, and corresponding native program is installed and opens, the third party of selected equipment is presented by the native program Control interface.It is detectable that whether the native program has locally been installed before downloading software installation packet, if so, directly beating Open the native program.
When third party's control interface of selected equipment is webpage control interface, can directly be pulled according to its download address Webpage.Before pulling webpage, can check it is local whether the stored webpage, if so, net can be transferred from being locally stored Page.
In the present embodiment, when template contral interface can not achieve demand for control of the third party device manufacturer to equipment, the Tripartite device manufacturer can provide third party's control interface, and in advance control the corresponding third of equipment in platform of internet of things Interface is associated, and user can control entrance by (showing in mobile terminal) equipment, and cluster tool as escribed above is jumped Third party's control interface is gone to, to realize the control to equipment.
In one embodiment, above-mentioned internet of things equipment control method can be not limited to the step of judgement described in step S302 Suddenly, and the case where control interface belongs to template contral interface categories in step S304~S308 and control interface, can be belonged to The case where third party's control interface classification, carries out fractionation implementation;I.e. in one embodiment, when the corresponding interface of selected equipment When classification information indicates that the control interface of selected equipment belongs to template contral interface categories, step S304~S306 is executed;? In another embodiment, when the corresponding interface categories information of selected equipment indicates that the control interface of selected equipment belongs to third When square control interface classification, step S308 is executed;Present specification to this with no restriction.
Step S208 obtains the control for selected equipment of user's operation triggering in the control interface of selected equipment Instruction.
For example, can produce the instruction for increasing volume when the component for increasing volume in control interface is clicked.
Control instruction is sent to selected equipment by the message transmission interface that control interface is called by step S210.
In one embodiment, the message for indicating to increase volume can be generated according to the agreement of agreement, which is passed through into control The message transmission interface that interface processed is called is sent to selected equipment.After selected equipment receives the message, according to agreement The protocol analysis message.
In one embodiment, the Internet of Things that message transmission interface transmits the message to above-mentioned Internet of Things network communication system is put down Platform, platform of internet of things forward that message to selected equipment.
In one embodiment, the control interface of third party's control interface classification calls the control of template contral interface categories Control instruction is sent to selected equipment by the message transmission interface that interface is supported.That is, third control interface has been multiplexed template The message transmission interface that control interface is supported to send message to equipment.
As described above, template contral interface belongs to the control interface of platform of internet of things offer, and template contral interface is propped up The message transmission interface held also is understood as the message transmission interface or disappearing based on platform of internet of things that platform of internet of things is supported Transmission interface is ceased, which can be communicated with platform of internet of things, so as to send out via platform of internet of things to equipment Send message.The message transmission interface that template contral interface is supported also be template contral interface called for sending message Message transmission interface.
In the present embodiment, although third party's control interface is the control interface that provides of third party, itself and template contral circle The message transmission interface that face calls identical platform of internet of things to support sends message to equipment, also is understood as third control interface The identical message sendaisle based on platform of internet of things is shared with template contral interface to be communicated with equipment, without Additionally other message sendaisle is built for third party's control interface and equipment.
When the control interface of equipment is preconfigured to template contral interface or the control interface of equipment is preconfigured to Message transmission interface that third party's control interface and third control interface call template contral interface to be supported (namely Internet of Things The message transmission interface that platform is supported) when control instruction is sent to equipment, the agreement that can arrange according to platform of internet of things is raw Selected equipment is sent to by message transmission interface at the corresponding message of control instruction, and by the message.Selected equipment connects After receiving the message, according to the protocol analysis of the platform of internet of things agreement message.
In addition, third party's control interface can also be carried out by equipment belonging to the communication mechanism of third party oneself and third party Communication;At this point, after equipment receives message, according to the protocol analysis message of third party's agreement;Present specification does not limit this System.
In one embodiment, above-mentioned internet of things equipment control method is further comprising the steps of: passing through selected equipment The message sink interface supported of control interface selected by the message that reports of equipment;In the control interface of selected equipment Show the related content of message.
In the present embodiment, not only control instruction can be sent to equipment by control interface, can also be shown by control interface The message that equipment returns is interacted to realize with equipment.
In one embodiment, the message sink interface and template contral interface that third party's control interface is supported are supported Message sink interface it is identical.
The message sink interface that template contral interface is supported can be regarded as the message sink that platform of internet of things is supported and connect Mouth or the message sink interface based on platform of internet of things, the message sink interface can be communicated with platform of internet of things, so as to Receive the message that equipment is reported to platform of internet of things.
In the present embodiment, although third party's control interface is the control interface that provides of third party, itself and template contral circle The message that face supports the identical message sink interface based on platform of internet of things to report come receiving device, also is understood as third control Interface processed shares the identical message sink channel based on platform of internet of things with template contral interface and is communicated with equipment, thus It does not need additionally to be that third party's control interface and equipment build other message sink channel.
In order to facilitate understanding, illustrate in above-mentioned internet of things equipment control method below in conjunction with some interface schematic diagrams Partial routine.
As shown in Figure 5A, user selects one of equipment: book in the cluster tool 502 that mobile terminal 500 is shown Room camera, mobile terminal 500 are generated into the instruction of the control interface of study camera, further judge study camera Control interface is template contral interface or third party's control interface.
If the control interface of study camera is template contral interface, the functional attributes of study camera support are obtained. For all functional attributes shown in the study camera support matrix 1, mobile terminal produces study camera shooting as shown in Figure 5 B The template contral interface 504 of head, in which:
Video playback window 506 corresponds to the functional attributes of " checking real-time video ", broadcasting/pause in video playback window Control 508 is used to control the broadcasting and pause of the video of the study environment under the monitoring of study camera.For example, when control view occurs When the user's operation that frequency plays, attribute-bit " xx1 " and attribute value 1 encapsulation for the functional attributes that " can will check real-time video " At message, study camera is transmitted the message to, study camera can be parsed to obtain message expression and be broadcast according to functional attributes dictionary Put the meaning of video.
Upward control 510, downward control 512, to the left control 514, to the right control 516 it is corresponding " camera pan-tilt is upper and lower, Turn left and right " functional attributes.For example, when the clicking operation of control 514 to the left occurs, can will " camera pan-tilt is upper and lower, Turn left and right " functional attributes attribute-bit " xx2 " and attribute value 3 be packaged into message, transmit the message to study camera shooting Head.
In addition, corresponding " image quality control " functional attributes of image quality control control 518, corresponding " screenshotss " function of screenshotss control 520 Attribute, corresponding " intercommunication " functional attributes of intercommunication control 522, corresponding " mute control " functional attributes of mute control control 524.When upper When stating control and being clicked, mobile terminal produces corresponding message and is sent to study camera.
If study camera does not support " rotation of camera pan-tilt upper and lower, left and right " function category on the basis of above-mentioned example Property and " intercommunication " functional attributes, then mobile terminal 500 produces the template contral interface of study camera as shown in Figure 5 C 526, wherein upward control 510, downward control 512, control 514, to the right control 516 and intercommunication control 522 are hidden to the left The position of hiding, image quality control control 518, screenshotss control 520 and mute control control 524 has carried out adjustment appropriate.
If the control interface of study camera is third party's control interface, it is with third party's control interface of study camera For native program control interface, after getting the instruction into the control interface of study camera, can first detect is locally It is no that third party's native program has been installed, if so, mobile terminal can show picture 528 as shown in Figure 5 D, wherein including third The starting control 530 of square native program can start third party's native program when the starting control 530 is clicked book is presented Third party's control interface of room camera.If being fitted without third party's native program, third party's native program can be first being downloaded Software installation packet, and third party's native program is installed.
As shown in fig. 6, a kind of internet of things equipment control device, including command reception module 602, classification information obtain module 604, control interface generation module 606, control instruction obtain module 608 and message transmission module 610, in which:
Command reception module 602 is used to receive the instruction for entering the control interface of equipment of user's operation selection.
In one embodiment, above-mentioned internet of things equipment control device further include cluster tool display module (in figure not Show), for receive into equipment control interface instruction before, presentation device set.In one embodiment, if Cluster tool can be shown by standby set display module in the form of list etc., for example, device name list, appliance icon list Deng.In the present embodiment, above-mentioned internet of things equipment control device further includes command generation module (not shown), for when hair It (indicates that the equipment is selected) when giving birth to the clicking operation to equipment a certain in cluster tool, generates the control interface for entering the equipment Instruction.Command reception module 602 can receive the finger of the control interface of the equipment selected in cluster tool into user's operation It enables.
It may include a variety of different types of equipment in the present embodiment, in cluster tool, user's operation can be in cluster tool Any one equipment is selected, so that the equipment in the present embodiment for multiple and different types provides unified control interface entrance, Without controlling multiple equipment by multiple program entries, the behaviour that user controls multiple equipment is greatly simplified Make.
Classification information obtains the interface categories letter that module 604 is used to obtain the control interface of preconfigured selected equipment Breath.
Classification information, which obtains module 604, can obtain the device identification of selected equipment, further be obtained according to the device identification Take the interface categories information of the control interface of selected equipment.
In one embodiment, the interface categories information of each equipment is pre-configured in facility information allocation list;It is above-mentioned Internet of things equipment control device further include configuration pull module (not shown), for pull in advance the facility information configuration Facility information allocation list is stored in local by table, or for pulling the facility information allocation list in real time.In the present embodiment, classification Data obtaining module 604 can read the corresponding interface categories letter of device identification of selected equipment from facility information allocation list Breath.
Control interface generation module 606 is used to generate selected equipment according to the corresponding interface categories information of selected equipment Control interface.
In one embodiment, control interface is divided into template contral interface categories and third party's control interface classification.Wherein, Template contral interface belongs to the control interface that the platform of internet of things communicated with internet of things equipment control device of the invention provides;The Tripartite's control interface is then the control interface that the third party device manufacturer other than the platform of internet of things provides.Template contral interface is again Native program (Native App needs application program to be mounted) control interface and webpage control interface can be divided into.Native program Control interface is the control interface presented by native program;Webpage control interface is the control interface presented by webpage, i.e., The control interface is actually webpage.Native program control interface can be subdivided into the control interface of variety classes equipment again, for example, TV control interface, airconditioning control interface, camera control interface etc.;Further, control circle of same kind of equipment Face can also be subdivided into control interface of different models of equipment, etc..The classification of webpage control interface can similarly be drawn Point, details are not described herein.
Control interface generation module 606 is used to work as the corresponding interface categories information table of selected equipment in one embodiment When showing that the control interface of selected equipment belongs to template contral interface categories, the function that preconfigured selected equipment is supported is obtained Energy attribute generates the template contral interface of selected equipment according to the functional attributes.
In one embodiment, functional attributes complete or collected works dictionary can be pre-arranged and store, wherein a functional attributes note Record may include the marks of functional attributes, title, meaning, whether be must configuration item, attribute-value ranges and each attribute value it is corresponding Meaning etc..One functional attributes can correspond to one or more components in control interface, and the one or more components are for obtaining User's operation simultaneously triggers control instruction relevant to functional attributes according to user's operation.Upper table 1 is shown in functional attributes complete or collected works The part field of example and the functional attributes record of the relevant partial function attribute of camera.
Control interface generation module 606 can obtain the attribute-bit for the functional attributes that selected equipment is supported.In a reality It applies in example, the corresponding relationship of device identification and attribute-bit, facility information configuration is stored in above-mentioned facility information allocation list The corresponding attribute-bit of device identification is the attribute-bit for the functional attributes that relevant device is supported in table;To control interface Generation module 606 can read the corresponding attribute-bit of device identification of selected equipment from facility information allocation list, to obtain The attribute-bit for the functional attributes that selected equipment is supported.
In the present embodiment, it can be pre-configured with and meet the functional attributes that the equipment of third party device manufacturer needs is supported, control Interface generation module 606 can be according to the template contral interface of preconfigured functional attributes generating device, without third Method, apparatus manufacturer exploitation mobile terminal side control software, it is only necessary to configure equipment support functional attributes, and equipment side according to With disappearing for the protocol analysis template contral interface triggering of template contral interface convention (also being understood as arranging with platform of internet of things) Breath.
It, can be according to setting in the present embodiment moreover, because multiple functional attributes can synthesize the functional attributes combination of substantial amounts The huge different templates control interface of the different generation quantities of the standby functional attributes supported, to meet a variety of different demands, side Just the equipment of third party device manufacturer and platform of internet of things carry out fast adaptation.
In one embodiment, control interface generation module 606 generates institute according to the functional attributes that selected equipment is supported The process at template contral interface for selecting equipment includes:
(1) the corresponding primary template control interface of selected equipment is obtained.
Primary template control interface be above-mentioned platform of internet of things provide for realizing the basic control function to equipment Control interface.In one embodiment, the equipment for belonging to same model corresponds to identical primary template control interface.In a reality It applies in example, above-mentioned internet of things equipment control device further includes equipment interface information storage module (not shown), for depositing It is corresponding with the interface identification of primary template control interface with the corresponding relationship of device model and device model to store up device identification Relationship.Control interface generation module 606 can obtain the boundary of the corresponding primary template control interface of device identification of selected equipment Face mark, and pull corresponding primary template control interface.
(2) its except the corresponding component of functional attributes of the support of equipment selected in the primary template control interface is hidden Remaining optional component.Include basic module and optional component in primary template control interface, basic module for realizing basic function, It is preferably not set as hidden state, and optional component can be arranged to hidden state for realizing optional function.
In one embodiment, the internet of things equipment control device of upper palm fibre further includes attribute component information storage module (figure In be not shown), the corresponding relationship for the component in store function attribute and primary template control interface.Control interface generates mould Block 606 can obtain the corresponding component of functional attributes that preconfigured selected equipment is supported, and by primary template control interface Optional component in remaining optional component except the corresponding component be set as hidden state.
(3) layout of the corresponding component of the functional attributes supported selected equipment in the primary template control interface into Row is optimized and revised, and the template contral interface of selected equipment is obtained.
In one embodiment, control interface generation module 606 can be by corresponding component in primary template control interface Layout optimize adjustment so that will not be left white in primary template control interface, components distribution will not be obviously uneven, etc.. For example, the distance between remaining components etc. can be widened if the members in the multiple components to form a line are hidden, So that remaining components substantially takes space occupied by former multiple components, etc..
In one embodiment, control interface generation module 606 is used to work as the corresponding interface categories information of selected equipment When indicating that the control interface of selected equipment belongs to third party's control interface classification, the control of preconfigured selected equipment is obtained The download address at interface processed pulls the resource data of third party's control interface of selected equipment, and root according to the download address Third party's control interface of selected equipment is generated according to the resource data.
In one embodiment, third party's control interface can also be divided into native program control interface and webpage control interface. The download address of native program control interface is the software installation packet of the native program of the native program control interface for rendering Download address;The download address of webpage control interface is the URL that the webpage of the webpage control interface is presented.
When third party's control interface of selected equipment is native program control interface, control interface generation module 606 Software installation packet can be downloaded according to its download address, and installs and opens corresponding native program, be in by the native program Third party's control interface of existing selected equipment.It is detectable that whether the original has locally been installed before downloading software installation packet Raw program, if so, directly opening the native program.
When third party's control interface of selected equipment is webpage control interface, control interface generation module 606 can root Webpage is directly pulled according to its download address.Before pulling webpage, can check it is local whether the stored webpage, if so, Webpage can be transferred from being locally stored.
In the present embodiment, when template contral interface can not achieve demand for control of the third party device manufacturer to equipment, the Tripartite device manufacturer can provide third party's control interface, and in advance control the corresponding third of equipment in platform of internet of things Interface is associated, and user can control entrance, equipment as escribed above by the equipment that internet of things equipment control device provides Set, jumps to third party's control interface, to realize the control to equipment.
In one embodiment, control interface generation module 606 can not only belong to template contral interface to control interface The case where the case where classification is handled, and third party's control interface classification can also be belonged to control interface is handled;This Shen Please file to this with no restriction.
User's operation triggering is directed to institute in control interface of the control instruction acquisition module 608 for obtaining selected equipment Select the control instruction of equipment.
For example, control instruction obtains module 608 and can produce when the component for increasing volume in control interface is clicked Increase the instruction of volume.
Control instruction is sent to selected by the message transmission interface that message transmission module 610 is used to call by control interface Select equipment.
In one embodiment, message transmission module 610 can generate the message for indicating to increase volume according to the agreement of agreement, The message transmission interface that the message is called by control interface is sent to selected equipment.Selected equipment receives the message It afterwards, can be according to the protocol analysis of the agreement message.
In one embodiment, message transmission interface transmits the message to above-mentioned platform of internet of things, and platform of internet of things will The message is transmitted to selected equipment.
In one embodiment, the control interface of third party's control interface classification calls the control of template contral interface categories Control instruction is sent to selected equipment by the message transmission interface that interface is supported.That is, third control interface has been multiplexed template The message transmission interface that control interface is supported to send message to equipment.
As described above, template contral interface belongs to the control interface of platform of internet of things offer, and template contral interface is propped up The message transmission interface held also is understood as the message transmission interface or disappearing based on platform of internet of things that platform of internet of things is supported Transmission interface is ceased, which can be communicated with platform of internet of things, so as to send out via platform of internet of things to equipment Send message.The message transmission interface that template contral interface is supported also be template contral interface called for sending message Message transmission interface.
In the present embodiment, although third party's control interface is the control interface that provides of third party, itself and template contral circle The message transmission interface that face calls identical platform of internet of things to support sends message to equipment, also is understood as third control interface The identical message sendaisle based on platform of internet of things is shared with template contral interface to be communicated with equipment, without Additionally other message sendaisle is built for third party's control interface and equipment.
When the control interface of equipment is preconfigured to template contral interface or the control interface of equipment is preconfigured to Message transmission interface that third party's control interface and third control interface call template contral interface to be supported (namely Internet of Things The message transmission interface that platform is supported) when control instruction is sent to equipment, message transmission module 610 can be flat according to Internet of Things The agreement of platform agreement generates the corresponding message of control instruction, and the message is sent to selected set by message transmission interface It is standby.After selected equipment receives the message, according to the protocol analysis of the platform of internet of things agreement message.
In addition, third party's control interface can also be carried out by equipment belonging to the communication mechanism of third party oneself and third party Communication;At this point, after equipment receives message, according to the protocol analysis message of third party's agreement;Present specification does not limit this System.
As shown in fig. 7, in one embodiment, above-mentioned internet of things equipment control device further includes message reception module 702 and display module 704:
The message that equipment selected by the message sink interface supported by the control interface of selected equipment reports;? The related content of message is shown in the control interface of selected equipment.
In the present embodiment, not only control instruction can be sent to equipment by control interface, can also be shown by control interface The message that equipment returns is interacted to realize with equipment.
In one embodiment, the message sink interface and template contral interface that third party's control interface is supported are supported Message sink interface it is identical.
The message sink interface that template contral interface is supported can be regarded as the message sink that platform of internet of things is supported and connect Mouth or the message sink interface based on platform of internet of things, the message sink interface can be communicated with platform of internet of things, to can receive The message reported to equipment to platform of internet of things.
In the present embodiment, although third party's control interface is the control interface that provides of third party, itself and template contral circle The message that face supports the identical message sink interface based on platform of internet of things to report come receiving device, also is understood as third control Interface processed shares the identical message sink channel based on platform of internet of things with template contral interface and is communicated with equipment, thus It does not need additionally to be that third party's control interface and equipment build other message sink channel.
Above-mentioned internet of things equipment control method and device, user's operation can select to appoint in a variety of different types of equipment It anticipates an equipment, it further can be according to being pre-configured with so as to receive the instruction of control interface for the equipment for entering selection The interface categories information of control interface of the equipment generate the control interface of the equipment, the control interface for passing through generation is realized pair The control of the equipment;To the above method and device, for different types of equipment, as long as being pre-configured with the interface categories of equipment Information is directed to multiple control softwares of multiple and different type equipment without downloading, so that it is more to save installation and operation Software and hardware resources needed for a control software.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (6)

1. a kind of internet of things equipment control method, comprising the following steps:
Receive the instruction for entering the control interface of equipment of user's operation selection;
Obtain the interface categories information of the control interface of the preconfigured equipment;
The control interface of the equipment is generated according to the interface categories information;
Obtain the control instruction for the equipment that user's operation triggers in the control interface;
The control instruction is sent to the equipment by the message transmission interface called by the control interface;
The control interface is divided into template contral interface categories and third party's control interface classification, and template contral interface is based on object The control interface that networked platforms provide, third party's control interface are the controls that the third party device manufacturer other than platform of internet of things provides Interface processed, the message that the control interface of third party's control interface classification calls the control interface of template contral interface categories to be supported The control instruction is sent to the equipment by transmission interface;
The step of generating the control interface of the equipment according to the interface categories information include:
When the interface categories information indicates that the control interface of the equipment belongs to template contral interface categories, acquisition is matched in advance The functional attributes that the equipment set is supported, and generate according to the functional attributes that the equipment is supported the template contral of the equipment Interface;
According to the equipment support functional attributes generate the template contral interface of the equipment the step of include:
Obtain the corresponding primary template control interface of the equipment;
Remaining hidden except the corresponding component of functional attributes of the support of equipment described in the primary template control interface is optional Component;
The layout of the corresponding component of functional attributes that the equipment is supported in the primary template control interface is optimized Adjustment, obtains the template contral interface of the equipment.
2. internet of things equipment control method according to claim 1, which is characterized in that raw according to the interface categories information At the equipment control interface the step of include:
When the interface categories information indicates that the control interface of the equipment belongs to third party's control interface classification, obtain preparatory The download address of the control interface of the equipment of configuration controls boundary according to the third party that the download address pulls the equipment The resource data in face, and generate according to the resource data third party's control interface of the equipment.
3. internet of things equipment control method according to claim 1, which is characterized in that the method also includes following steps It is rapid:
The message that equipment described in the message sink interface supported by the control interface reports;
The related content of the message is shown in the control interface.
4. a kind of internet of things equipment control device characterized by comprising
Command reception module, for receiving the instruction for entering the control interface of equipment of user's operation selection;
Classification information obtains module, the interface categories information of the control interface for obtaining the preconfigured equipment;
Control interface generation module, for generating the control interface of the equipment according to the interface categories information;
Control instruction obtains module, refers to for obtaining the control for the equipment that user's operation triggers in the control interface It enables;
The control instruction is sent to institute by message transmission module, the message transmission interface for being called by the control interface State equipment;
The control interface is divided into template contral interface categories and third party's control interface classification, and template contral interface is based on object The control interface that networked platforms provide, third party's control interface are the controls that the third party device manufacturer other than platform of internet of things provides Interface processed, the message that the control interface of third party's control interface classification calls the control interface of template contral interface categories to be supported The control instruction is sent to the equipment by transmission interface;
The control interface generation module is used to indicate that the control interface of the equipment belongs to template when the interface categories information When control interface classification, the functional attributes that the preconfigured equipment is supported, and the function of supporting according to the equipment are obtained Attribute generates the template contral interface of the equipment;
The control interface generation module generates the template contral interface of the equipment according to the functional attributes that the equipment is supported Process include: to obtain the corresponding primary template control interface of the equipment, hide described in the primary template control interface Remaining optional component except the corresponding component of functional attributes that equipment is supported, the functional attributes that the equipment is supported are corresponding Layout of the component in the primary template control interface optimizes adjustment, obtains the template contral interface of the equipment.
5. internet of things equipment control device according to claim 4, which is characterized in that the control interface generation module is used When indicating that the control interface of the equipment belongs to third party's control interface classification when the interface categories information, acquisition is matched in advance The download address of the control interface for the equipment set pulls third party's control interface of the equipment according to the download address Resource data, and generate according to the resource data third party's control interface of the equipment.
6. internet of things equipment control device according to claim 4, which is characterized in that described device further include:
Message reception module, what equipment described in the message sink interface for being supported by the control interface reported disappears Breath;
Display module, for showing the related content of the message in the control interface.
CN201410608749.4A 2014-10-31 2014-10-31 Internet of things equipment control method and device Active CN105629908B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410608749.4A CN105629908B (en) 2014-10-31 2014-10-31 Internet of things equipment control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410608749.4A CN105629908B (en) 2014-10-31 2014-10-31 Internet of things equipment control method and device

Publications (2)

Publication Number Publication Date
CN105629908A CN105629908A (en) 2016-06-01
CN105629908B true CN105629908B (en) 2019-02-01

Family

ID=56044970

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410608749.4A Active CN105629908B (en) 2014-10-31 2014-10-31 Internet of things equipment control method and device

Country Status (1)

Country Link
CN (1) CN105629908B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106126257A (en) * 2016-06-30 2016-11-16 珠海金山网络游戏科技有限公司 The system and method that a kind of interface generates
CN106375409A (en) * 2016-08-31 2017-02-01 杭州古北电子科技有限公司 Method for automatically generating smart device control interface
CN106445545A (en) * 2016-10-11 2017-02-22 深圳Tcl智能家庭科技有限公司 System and method for generating intelligent control interface
CN106452895A (en) * 2016-11-01 2017-02-22 东软集团股份有限公司 Service communication method for master equipment and slave equipment and relevant equipment
CN109428911A (en) * 2017-08-24 2019-03-05 阿里巴巴集团控股有限公司 Apparatus control method, device, terminal device and operating system
CN110609522A (en) * 2018-06-15 2019-12-24 虫洞科技股份有限公司 Machine parameter acquisition device
CN109151561A (en) * 2018-09-13 2019-01-04 青岛海信智慧家居系统股份有限公司 The operation control interface creation method and relevant device of smart home system equipment
CN110071921B (en) * 2019-04-19 2022-01-18 广东中安金狮科创有限公司 Internet of things platform access method, device, computer readable storage medium and system
CN113162786A (en) * 2020-01-23 2021-07-23 华为技术有限公司 Method, device and system for configuring secondary device
CN112153123B (en) * 2020-09-11 2022-08-19 三星电子(中国)研发中心 Method, device and system for controlling Internet of things device in Internet of things system
CN112615906A (en) * 2020-12-03 2021-04-06 北京和兴宏图科技有限公司 Court trial control method and system, equipment and medium
CN114301940A (en) * 2021-12-27 2022-04-08 锐迪科创微电子(北京)有限公司 Internet of things equipment control method, device and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1481117A (en) * 2002-09-24 2004-03-10 联想(北京)有限公司 Equipment for dynamic generating interface of controlling networked information household electrical appliances and its method
CN1776681A (en) * 2005-12-13 2006-05-24 北京大学 WEB control interface unified generating method and IP home network integrated control method
WO2008099776A1 (en) * 2007-02-16 2008-08-21 Sharp Kabushiki Kaisha User interface generator, information terminal, user interface generation control program, recording medium, and user interface generation method
CN101316183A (en) * 2007-05-31 2008-12-03 海尔集团公司 Human-machine interaction interface generation method and system of digital home network
CN101902597A (en) * 2001-11-20 2010-12-01 环球电子有限公司 User interface in order to remote control application
CN102368214A (en) * 2011-10-17 2012-03-07 深圳和而泰智能控制股份有限公司 Automatic interface generation method and system
CN102833221A (en) * 2011-06-17 2012-12-19 深圳市鑫海诺科技有限公司 Method, client side, server and system for realizing intelligent remote control of household appliances
CN103051694A (en) * 2012-12-12 2013-04-17 北京奇虎科技有限公司 Method for controlling equipment by mobile communication terminal and mobile communication terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4744523B2 (en) * 2005-07-05 2011-08-10 パナソニック株式会社 Information transmission device, information acquisition terminal, and information distribution system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101902597A (en) * 2001-11-20 2010-12-01 环球电子有限公司 User interface in order to remote control application
CN1481117A (en) * 2002-09-24 2004-03-10 联想(北京)有限公司 Equipment for dynamic generating interface of controlling networked information household electrical appliances and its method
CN1776681A (en) * 2005-12-13 2006-05-24 北京大学 WEB control interface unified generating method and IP home network integrated control method
WO2008099776A1 (en) * 2007-02-16 2008-08-21 Sharp Kabushiki Kaisha User interface generator, information terminal, user interface generation control program, recording medium, and user interface generation method
CN101316183A (en) * 2007-05-31 2008-12-03 海尔集团公司 Human-machine interaction interface generation method and system of digital home network
CN102833221A (en) * 2011-06-17 2012-12-19 深圳市鑫海诺科技有限公司 Method, client side, server and system for realizing intelligent remote control of household appliances
CN102368214A (en) * 2011-10-17 2012-03-07 深圳和而泰智能控制股份有限公司 Automatic interface generation method and system
CN103051694A (en) * 2012-12-12 2013-04-17 北京奇虎科技有限公司 Method for controlling equipment by mobile communication terminal and mobile communication terminal

Also Published As

Publication number Publication date
CN105629908A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN105629908B (en) Internet of things equipment control method and device
US8559936B2 (en) Remote control of a telephone
KR101748370B1 (en) Operation System And Method For Identification Code, and Device supporting the same
EP4130963A1 (en) Object dragging method and device
CN101282459B (en) IPTV increased value service system facing to handhold mobile terminal
CN105635063B (en) Internet of Things communication protocol configuration method and device
CN103379370A (en) Intelligent television system, intelligent television, mobile device and input operation method
CN114286165B (en) Display equipment, mobile terminal, and screen-throwing data transmission method and system
CN108810049A (en) Control method, device, system and the Virtual Reality equipment of equipment
CN101998162B (en) Method, system and device for realizing multimedia program interaction service in mobile terminal
CN104866269A (en) Screen splitting area regulation method and terminal
WO2013174080A1 (en) Interface display method and system of home gateway applicable to multiple display types
CN111629259A (en) Image quality adjusting method and display device
WO2022105409A1 (en) Fault diagnosis method, terminal device, and display device
CN106911937B (en) The configuration method and system of present banner background colour in a kind of live streaming
CN113225838A (en) Microphone control method, audio receiving equipment and audio collecting equipment
TWI482461B (en) Device management system and method
CN111654729B (en) Account login state updating method and display device
US10873783B2 (en) Information processing apparatus, information processing method, receiving apparatus, and receiving method
JP2013034169A (en) Information communication terminal, broadcast reception terminal and computer program
KR101810108B1 (en) A remote control system for eletronic devices using the mobile interface on the web
CN103648054A (en) Network-data-resource transmission method and device
CN104065992A (en) HTML-based multi-screen set top box remote controller system and working method
CN106165436A (en) Use optical character recognition that Set Top Box is carried out double-direction control
KR101735714B1 (en) Remote control apparatus having integrated remote control program and method for remote control

Legal Events

Date Code Title Description
C06 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
TR01 Transfer of patent right

Effective date of registration: 20210916

Address after: 518057 Tencent Building, No. 1 High-tech Zone, Nanshan District, Shenzhen City, Guangdong Province, 35 floors

Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right