CN107368042B - Intelligent home control system and its control device and control method - Google Patents
Intelligent home control system and its control device and control method Download PDFInfo
- Publication number
- CN107368042B CN107368042B CN201610318165.2A CN201610318165A CN107368042B CN 107368042 B CN107368042 B CN 107368042B CN 201610318165 A CN201610318165 A CN 201610318165A CN 107368042 B CN107368042 B CN 107368042B
- Authority
- CN
- China
- Prior art keywords
- control
- application program
- control interface
- smart home
- intelligent
- 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.)
- Expired - Fee Related
Links
Classifications
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
- General Engineering & Computer Science (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Stored Programmes (AREA)
Abstract
A kind of intelligent home control system and its control device and control method, the control device include: control terminal and display end;First control interface of smart home device is shown in display end after operation by the first application program of control terminal installation;Control terminal also installs at least one second application program, wherein comprising for realizing communications protocol needed for smart home device control, including unopened agreement;First application program includes equipment adding module, and for the call entry of corresponding second application program of Intelligent target home equipment to be added in the first application program, the first control corresponding to call entry is presented in the first control interface;First application program further includes switching module, for calling the second application program from the first control interface and being switched to corresponding second control interface and return to the first control interface from the second application program.The present invention can be not required to quadratic programming realization to the centralized control of the unopened smart home device of all kinds of communications protocol.
Description
Technical field
The present invention relates to Smart Home technical field, in particular to a kind of Intelligent housing integrated system and its control dress
It sets and control method.
Background technique
With the improvement of people's living standards, smart home technology is also rapidly developed.Smart home is to live
Residence is platform, utilizes comprehensive wiring technology, network communication technology, Design for Smart Home System scheme, security precautions technology, automatic
Control technology, audio and video technology etc. integrate the related facility of home life, construct efficient housing facilities and family's schedule thing
The management system of business promotes house security, convenience, comfort and artistry, and realizes the living environment of environmental protection and energy saving.
It usually all can include control terminal and display end in existing intelligent home control system, when user needs to intelligent family
When occupying equipment and being controlled, just it is able to achieve by being operated to the control terminal, and the operation carried out to the control terminal is then
It needs further to be achieved by display end, the display end is especially by some display equipment (such as with television set, computer
Display etc. is as display equipment) control interface is presented, it is shown in the control interface each in intelligent home control system
The control panel of smart home device is realized by each virtual key (control) on triggering control panel for household electrical appliance
Control.
Certainly, the control terminal and display end can also be usually integrated, such as be integrated in smart phone or flat
In the intelligent terminals such as plate computer.When realizing the control to smart home device using smart phone or tablet computer etc.,
It generally requires and specific software systems is installed as control platform, the at present main control of smart home product in the control terminal
Technology is more with application program (APP, Application;Can also referred to as " apply ") for control platform, usually each
Smart home product can correspond to a dedicated APP, because of the communications protocol disunity of various smart machines, different brands and kind
The smart home product of class needs APP control independent, if such as having used intelligent electric lamp, intelligent socket, intelligence simultaneously
Energy air-conditioning, that will use three independent APP to control, and need to open respectively when due to using every time, close respective APP progress
Operation, therefore control operation seems very troublesome, the usage experience of user is bad, cannot embody the convenience of Intelligent housing
Property.
The common method for improving above-mentioned condition is all focused on all smart home devices in one APP, as long as user
All smart home devices can be controlled by opening an APP, and current technology solution is by institute's control in need
The communications protocol of smart home product is all added in an APP, when having new intellectual product to occur, is needed to former APP again
The communications protocol of new product is added in programming, however, the communications protocol of some smart home products is underground (not opening), that
It can not just be added;In addition, since smart home product category is various, new product is continuous, it is achieved that unified control needs are known
The technical protocol of all smart home products is also very difficult.The above problem is one for obstructing smart home product universal
Important bottleneck.
Summary of the invention
The problem to be solved in the present invention is that the prior art is difficult in the unopened situation of the communications protocol of smart home device
Under without quadratic programming realize for all kinds of smart home devices centralized control.
To solve the above problems, technical solution of the present invention provides a kind of household appliance control device, comprising: control terminal and aobvious
Show end;The control terminal is equipped with the first application program, and postrun first application program will connect controlled intelligence
First control interface of home equipment is shown in the display end;The control terminal is also equipped at least one second using journey
Sequence, comprising for realizing carrying out controlling required communications protocol at least one smart home device in second application program
And control routine, the communications protocol include unopened agreement;First application program includes equipment adding module, is used for
The call entry of corresponding second application program of Intelligent target home equipment is added in first application program, success
First control corresponding to the call entry after addition is presented in first control interface, and first control is for touching
Send out the calling for corresponding second application program;First application program further includes switching module, for controlling from described first
It calls second application program and is switched to corresponding second control interface and is moved back from second application program in interface processed
First control interface is returned to, second control interface is shown in institute after running for second application program is called
State the operation and control interface of the corresponding smart home device of display end.
Optionally, first application program further includes replacement module, for Intelligent target home equipment is corresponding
The call entry of second application program is successfully added to after first application program, will be presented in first control interface
The icon of first control replace with specified icons, second application program of first control interface will be presented in
Program name replace with specified title.
Optionally, first control interface is Graph Control interface, and the Graph Control interface is controlled can connect
Smart home device is distributed in indoor realistic picture or plan-position sign picture as background, the icon energy quilt of first control
It configures corresponding with the present position in kind of smart home device controlled on the realistic picture or plan-position sign picture
Position.
Optionally, first control interface is list controls interface, in the list controls interface in a manner of list
Enumerating display each can connect controlled smart home device and its status information;List content includes device name, annotation, control
The icon of control equipment, icon show different equipment states, device name, annotation, the icon for controlling equipment by different colours
It can all modify.
Optionally, the control terminal and the display end integrate.
Optionally, the intelligent home control device is smart phone, smart television or tablet computer.
To solve the above problems, technical solution of the present invention also provides a kind of intelligent home control system, comprising: above-mentioned intelligence
Home control device and its at least one smart home device of control.
To solve the above problems, technical solution of the present invention also provides a kind of controlling party of above-mentioned intelligent home control system
Method, comprising: first control interface is shown in the display end by operation first application program;By Intelligent target man
The call entry for occupying corresponding second application program of equipment is added in first application program, and is made after successfully adding
First control corresponding to the call entry is presented in first control interface;It is triggered by first control for phase
The calling of the second application program is answered, second application program is opened and first control interface is switched to described second and answer
With the control interface (the second control interface) of program, second control interface is made to be shown in the display end, starts execution
Two application programs.
Optionally, after any second control in second control interface is triggered, the control terminal call this
The control instruction is sent to the Intelligent target home equipment, sets the smart home by the corresponding control instruction of two controls
It is standby to execute the control instruction to realize corresponding function.
Optionally, the call entry by corresponding second application program of Intelligent target home equipment is added to described
It include: to be built after triggering adds the instruction of Intelligent target home equipment into first application program in first application program
Found a new thread;In the newly-established thread obtain operating system in all mounted described second apply journey
Sequence, and the first relevant information of the second application program that will acquire is stored in a list of application, described first is related
Information includes the application name of second application program, the packet name of application, version name, version number and the icon of application;Selected mesh
After marking corresponding second application program of smart home device, by the first relevant information of selected second application program from institute
It states and extracts independent preservation in list of application.
Optionally, the operating system is android system, by first control triggering for corresponding second application
The calling of program includes: that the call entry for the second application program that ought be successfully added in first application program is corresponding
When first control is triggered, the second relevant information of second application program is obtained by the packet name of the application saved, is judged
Whether second application program has been unloaded;If judging, second application program is not unloaded, and one classification of creation is
The Intent of the packet name of CATEGORY_LAUNCHER, and pass through getPackageManager's
QueryIntentActivities method traversal, obtains the class name of the entrance Activity of second application program;With having obtained
The packet name of the application obtained and the class name of entrance Activity create a ComponentName object and one
The Intent of Action_ACTION_MAIN, setting classification are Intent.CATEGORY_LAUNCHER, and setting Component is
The newly-built ComponentName object enters second application program finally by startActivity.
Compared with prior art, technical solution of the present invention has at least the following advantages:
Under the technical conditions that the communications protocol of smart home device can not be unified, set by designing one with smart home
The unrelated intelligent control APP of standby product agreement can add various smart home devices at any time and accordingly control application program
Call entry is equivalent to using the APP of each smart home device as an equipment in the APP, arbitrarily adds into the APP
Add, so that it may solve in the unopened situation of communications protocol of smart home device for the unification of all kinds of smart home devices,
The problem of centralized control.
Any one smart home device can be introduced one specifically by being controlled APP by technical solution of the present invention
APP control platform is controlled with realizing that an APP (specific APP control platform) can concentrate the smart machine of other APP
System, this specific APP control platform is unrelated with the product category of smart home device, communications protocol, does not also need secondary volume
Journey.
When it is implemented, intelligent home control system and its control device and control method that technical solution of the present invention provides
At least have following characteristics:
1, other applications can be introduced into the application of oneself, other applications is opened in the application of oneself.
2, it can go to open other applications in existing application in the case where not receding into desktop.
3, from also may return in the application of oneself when return in other application, without returning to desktop.
4, the icon of other application can be changed into specified icons, and gives specific title.
Detailed description of the invention
Fig. 1 is the structural schematic diagram of intelligent home control device provided in an embodiment of the present invention;
Fig. 2 to Fig. 7 is the operation schematic diagram of the intelligent home control device addition equipment of the embodiment of the present invention;
Fig. 8 is the schematic diagram that the first control interface is Graph Control interface in the embodiment of the present invention;
Fig. 9 is the schematic diagram that the first control interface is list controls interface in the embodiment of the present invention.
Specific embodiment
As stated in the background art, under the technical conditions that the communications protocol of smart home device can not be unified, the prior art
It is difficult to realize the centralized control for all kinds of smart home devices.
In this regard, present inventor thinks, those skilled in the art are in order to realize for all kinds of smart home devices
Centralized control, being often confined to the concern smart home device to be controlled whether there is the communications protocol opened, therefore also only
It is able to achieve the control that unification is carried out to the smart home device for having opened communications protocol, is concentrated, and to those not open communication associations
The smart home device of view then seems at one's wit's end;In fact, the type due to smart home device is more and more, product pushes away old
New speed is also getting faster out, look to the communications protocol of all kinds of smart home devices all obtain opening be it is unrealistic, together
When new intellectual product is integrated into not a duck soup in a software, therefore eye should be moved up from the technical protocol of product
It opens, then tries every possible means to realize the concentration control to all kinds of smart home devices on the basis of being detached from smart home product technology agreement
System.
Based on above-mentioned consideration, technical solution of the present invention designs one under the technical conditions that intellectual product agreement can not be unified
The intelligent control APP unrelated with product agreement can add various smart home products into the APP, each intelligence at any time
Energy family product is any to add, so that it may to solve the problems, such as that intellectual product is uniformly controlled as an equipment in APP.
The intelligent control APP that technical solution of the present invention provides is (in order to be different from other for smart home device
Intelligent control APP is known as ONE-APP by the APP controlled, ONE-APP be for all kinds of smart home device APP into
The APP that row manages and controls), have the function of equipment addition, original APP of any one smart home device all can serve as one
A equipment is added in ONE-APP, and the control interface for opening ONE-APP can show the icon of various smart home device APP,
As long as user opens smart home device APP in the control interface of ONE-APP and is equivalent to directly open single smart home
Equipment APP, control interface automatically switch to smart home device APP, and user can directly operate the smart home device.When
When being mounted with multiple smart home devices, they can be simultaneously displayed in control interface by ONE-APP, it is no longer necessary to each
Complicated operation is done between smart home device APP, and very clear to the smart home device possessed.
To make the above purposes, features and advantages of the invention more obvious and understandable, with reference to the accompanying drawing to the present invention
Specific embodiment be described in detail.
As shown in Figure 1, intelligent home control device provided in an embodiment of the present invention includes: control terminal 10 and display end 20;
The control terminal 10 is equipped with the first application program 101, and postrun first application program 101 will connect controlled intelligence
First control interface of energy home equipment is shown in the display end 20;The control terminal 20 is also equipped at least one and second answers
With program, for example, the second application program 1, the second application program 2 ..., the second application program N, in second application program
Comprising control required communications protocol and control routine, the communication association for realizing at least one smart home device
View includes unopened agreement;First application program 101 includes equipment adding module 1011, is used for Intelligent target household
The call entry of corresponding second application program of equipment is added in first application program 101, the institute after successfully adding
It states the first control corresponding to call entry and is presented in first control interface, first control is for triggering for corresponding
The calling of second application program;First application program 101 further includes switching module 1012, for controlling boundary from described first
It calls second application program and is switched to corresponding second control interface and is returned to from second application program in face
First control interface, second control interface are described aobvious to be shown in after the called operation of second application program
Show the operation and control interface of the corresponding smart home device at end 20.
It should be noted that in the present embodiment, the control terminal 10 and the display end 20, which can be, to be integrated, this
Shi Suoshu intelligent home control device then can be the equipment such as smart phone, tablet computer, pass through in multiple smart home devices
In the case where wireless communication technique or electric power carrier communication technology networking, user passes through smart phone, smart television or plate
Apparatus such as computer can directly control each intelligent home control device;Certainly, in other embodiments, the control terminal 10 with
It is also possible to separation between the display end 20, the control terminal can specifically include control host and remote controler, described aobvious
Showing that end specifically can be television set, computer monitor etc. and show equipment, the signal that the remote controler is sent is received by control host,
Result after control host runs program or executes instruction is shown in the display end.
In the present embodiment, the intelligent home control device will be by taking the smart phone for installing Android operation system as an example
It is illustrated (in other embodiments, operating system is also possible to iOS), first application program 101 is then installation at this time
Aforementioned intelligent among smart phone controls APP (ONE-APP);Second application program is usually smart home device
The APP controlled for smart home device that the producer or other exploitation sides for obtaining authorization are developed, i.e. aforementioned intelligent
It is encapsulated in home equipment APP, these APP for realizing carrying out controlling required communications protocol to corresponding smart home device,
The communications protocol is also possible to unopened agreement either the agreement opened, if the communications protocol is to have opened
Agreement, then second application program (can be set by any third party relative to the exploitation side of ONE-APP and smart home
The exploitation side of the standby producer or other acquisition authorizations) it is developed;It is described to connect controlled smart home device, such as can be with
It is intelligent electric lamp, intelligent socket, intelligent air condition, intelligent refrigerator, intelligent electric cooker, Intelligent electric curtain, intelligent TV set etc..
In the present embodiment, first application program can also include replacement module (not shown in figure 1), for by mesh
The call entry of corresponding second application program of mark smart home device is successfully added to after first application program, will be in
Specified icons now are replaced in the icon of first control of first control interface, first control circle will be presented in
The program name of second application program in face replaces with specified title.
It is illustrated below with reference to operation of the Fig. 2 to Fig. 7 to intelligent home control device addition equipment.
Fig. 2 shows be operation and control interface shown by the display screen of smart phone, which is described first to answer
First control interface generated after being run with program, first control interface are for triggering for each intelligent family
Occupy the operation interface of the calling of equipment APP.As can be seen that being temporarily not added with any intelligent family in the first control interface in Fig. 2
The first control corresponding to the call entry of equipment APP is occupied, first control can be in by way of icon and/or text
Now in the first control interface.If user wishes to add among some Intelligent target home equipment to ONE-APP, can pass through a little
The "+" pop-up function menu in first control interface upper right corner is hit, the function menu of pop-up is as shown in Figure 3.
With continued reference to Fig. 3, it can be triggered by " adding other " in the click function menu to described first and be answered
With the instruction for adding Intelligent target home equipment in program.
Specifically, point is opened menu and to be added in application, initially set up a new thread, passes through Android in thread
Method inside operating system goes to obtain all applications being mounted with, and the label (application for the application that will acquire
Name), packageName (the packet name of application), versionName (version name), versionCode (version number) and icon
(icon of application) is stored in a list of application (List).
As shown in figure 4, showing all mounted applications in a display operation system after click " adding other "
Option list, including all APP that can control smart home device, then only needing to select in open option
The smart home device APP needed, such as selection " easily-controllable ".
The application to be introduced is selected by way of list, and the relevant information of this application is believed from all applications are preserved
It extracts in the List of breath and is individually saved.As shown in figure 5, clicking " confirmation ", configuration is saved.
It, can be in first control interface after smart home device APP is added successfully to ONE-APP refering to Fig. 5
Corresponding control icon (i.e. described first control) is automatically generated, the smart home can be directly entered by clicking the control icon
Equipment APP.Certainly, since smart home device APP has the control icon of its own, such as the icon of " easily-controllable ", then showing
It is defaulted as the corresponding control icon of smart home device APP in the first control interface, in order to make one the clearly intelligence
Home equipment APP can control which or which corresponding smart home device, can will be original by the replacement module
The control icon of smart home device APP replaces with specified icons.In addition, the control icon of original smart home device APP
Corresponding title can also be modified, such as after the icon of " easily-controllable " is replaced with specified icons, can also be further
" easily-controllable " text below " easily-controllable " icon is changed to specified text.Therefore, in the present embodiment, second application program
After being introduced in the corresponding control interface of the first application program, the display icon and program name of second application program are
It can be modified.
After the call entry of smart home device APP is added successfully to ONE-APP, the first control circle can be passed through
Calling of the triggering of first control corresponding to the call entry for corresponding smart home device APP on face.Such as: when " easily
After the icon of control " is added into the operation and control interface of ONE-APP, clicking " easily-controllable " icon in the operation and control interface just can be by " easily-controllable "
APP is introduced into ONE-APP and is run.
Specifically, open it is being added successfully in application, this available APP of the packet name for first passing through the application saved more
For details, including Activities, services, versioncode, name etc., and can be in this way
To judge whether the application has been unloaded.If all kinds of detailed information of application can be obtained, so that it may create a class
Not Wei CATEGORY_LAUNCHER the packet name Intent, pass through getPackageManager's ()
QueryIntentActivities method traversal, can be obtained by the class name of the Activity for applying entrance in this way.With
The class name of packet name and application entrance Activity through obtaining creates a ComponentName object, creates an Action_
The Intent of ACTION_MAIN, setting Category are Intent.CATEGORY_LAUNCHER, and setting Component is rigid
The just object of newly-built ComponentName, last startActivity.It is so to have advanced in another application
?.
As known to those skilled in the art, Intent (intention) is mainly to solve between every component of Android application
Communication.The Chinese of Intent means " being intended to, intention ", provides Intent mechanism in Android operation system to assist
Using interaction and communication, Intent is responsible for being related to data to the movement of once-through operation in application, movement, additional data carries out
Description, Android are responsible for finding corresponding component, Intent are passed to the component of calling then according to the description of this Intent,
And complete the calling of component.Intent cannot be only used between application program, it can also be used to the Activity/ inside application program
Interaction between Service.Therefore, " medium " that Intent can be interpreted as communicating between different components specially provides component
The relevant information called mutually.
LAUNCHER_CATEGORY indicates that the recipient of Intent should occur in Launcher as top application;
And ALTERNATIVE_CATEGORY indicates that current Intent is one in a series of optional movement, these movements can be with
It is executed in same data.
Movable (Activity) is a kind of component that may include user interface, is mainly used for interacting with user, one
A application program may include zero or more activity.Activity, which is one, can allow screen to provide user's interactive action
Component, for example make a phone call, take a picture, sending mail and consult a map.In simple terms, the content that can be seen in the application,
The overwhelming majority is that Activity component provides.
Fig. 7 show " easily-controllable " APP be introduced into run in ONE-APP after be formed by operation and control interface (second control
Interface), select corresponding smart home device that can realize control by the operation and control interface, such as can to Haier's air-conditioning with
Samsung air-conditioning is accordingly controlled.The control in second control interface is collectively referred to as the second control in the embodiment of the present invention
Part, after any second control in the second control interface is triggered, the control terminal is corresponding by calling second control
The control instruction is sent to the Intelligent target home equipment by control instruction, and the smart home device is made to execute the control
System instruction is to realize corresponding function.
During operation and control interface shown in Fig. 7 selects corresponding smart home device to realize control, by clicking two
Secondary " return " can return to ONE-APP main interface shown in fig. 6 (i.e. the first control interface), to realize without returning to
In the case where operating system desktop, go to open other again in existing ONE-APP application for controlling smart home device
APP application, manipulate it is more convenient, simple, for Intelligent housing convenience more preferably.
It should be noted that first control interface can both use the shape at Graph Control interface in actual implementation
Formula can also use the form at list controls interface.
Can be refering to Fig. 8, if first control interface is Graph Control interface, the Graph Control interface can be with
Controlled smart home device will be connect and be distributed in indoor realistic picture or plan-position sign picture as background, described first
The icon of control can arbitrarily drag on the realistic picture or plan-position sign picture, until being configured in the realistic picture or flat
Position corresponding with the present position in kind of smart home device controlled on the location mark figure of face.
It can be refering to Fig. 9, if first control interface is list controls interface, with list in the list controls interface
Mode enumerate display and each can connect controlled smart home device and its status information.Fig. 9 shows all be added to
The list of smart home device in ONE-APP shows the device name of every smart home device and right in the list
The equipment state answered.In actual implementation, different types of equipment possesses respectively different equipment drawings, and can be by described
Equipment drawing shows different colors to embody current device state in which.
In first control interface shown in Fig. 8 or Fig. 9, there is also Graph Control interface selection key (" plane " keys)
With list controls interface selection key (" list " key), two kinds of different form controls may be implemented by clicking corresponding key
Switching between interface.
Based on above-mentioned intelligent home control device, the embodiment of the present invention also provides a kind of intelligent home control system, comprising:
Above-mentioned intelligent home control device and its at least one smart home device of control.
It should be noted that in embodiments of the present invention, realizing that intelligent home control system can be logical by power carrier
News technology forms intelligent home network, and the intelligent home control system further includes that can meet controlled intelligent family with each at this time
It occupies equipment and corresponds connected power carrier parsing module, controlled smart home device can be connect and pass through the power carrier
Parsing module is connected with power line, and the control terminal is by loading on control instruction on the power line, and by the electric power
Carrier wave parsing module receives control signal to realize the control to smart home device;Certainly, composition home furnishings intelligent network can also
To be realized by other technologies, such as short-distance wireless communication technology (WiFi technology, Bluetooth technology, ZigBee technology etc.), this
When can connect corresponding communication module should be set on controlled smart home device, which sets with controlled smart home
Standby control module is connected, and the control module of smart home device receives control instruction according to the communication module and realizes to this
The control of smart home device, to realize corresponding function.
The specific implementation of the intelligent home control system can be with reference to the implementation correlation of above-mentioned intelligent home control device
Content, details are not described herein again.
Based on above-mentioned intelligent home control system, the embodiment of the present invention also provides a kind of above-mentioned intelligent home control system
Control method, comprising: first control interface is shown in the display end by operation first application program;By target
The call entry of corresponding second application program of smart home device is added in first application program, and makes successfully to add
First control corresponding to the call entry after adding is presented in first control interface;It is triggered by first control
For the calling of corresponding second application program, open second application program and by first control interface be switched to this
Corresponding second control interface of two application programs, makes second control interface be shown in the display end, starts described in execution
Second application program.
When it is implemented, the control terminal is called after any second control in second control interface is triggered
The control instruction is sent to the Intelligent target home equipment, makes the intelligence man by the corresponding control instruction of the second control
It occupies equipment and executes the control instruction to realize corresponding function.
When it is implemented, the call entry by corresponding second application program of Intelligent target home equipment is added to
It include: the instruction for adding Intelligent target home equipment into first application program in triggering in first application program
Afterwards, a new thread is established;It obtains in the newly-established thread and all mounted described second is answered in operating system
It is stored in a list of application with the first relevant information of program, and the second application program that will acquire, described first
Relevant information includes the application name of second application program, the packet name of application, version name, version number and the icon of application;Choosing
After corresponding second application program of the smart home device that sets the goal, by the first relevant information of selected second application program
Independent preservation is extracted from the list of application.
When it is implemented, the operating system is android system, triggered by first control for corresponding second
The calling of application program includes: the call entry pair for the second application program that ought be successfully added in first application program
When the first control answered is triggered, the second relevant information of second application program is obtained by the packet name of the application saved,
Judge whether second application program has been unloaded;If judging, second application program is not unloaded, creates a class
Not Wei CATEGORY_LAUNCHER the packet name Intent, and by getPackageManager
QueryIntentActivities method traversal, obtains the class name of the entrance Activity of second application program;With having obtained
The packet name of the application obtained and the class name of entrance Activity create a ComponentName object and one
The Intent of Action_ACTION_MAIN, setting classification are Intent.CATEGORY_LAUNCHER, and setting Component is
The newly-built ComponentName object enters second application program finally by startActivity.
The specific implementation of the control method of the intelligent home control system can also be filled with reference to above-mentioned Intelligent housing
The implementation related content set.
It will be understood by those skilled in the art that realizing whole or the portion of above-mentioned intelligent home control system and its control device
Dividing is that relevant hardware can be instructed to complete by program, and the program can store in computer readable storage medium
In, the storage medium can be ROM, RAM, magnetic disk, CD etc..
Although the invention has been described by way of example and in terms of the preferred embodiments, but it is not for limiting the present invention, any this field
Technical staff without departing from the spirit and scope of the present invention, may be by the methods and technical content of the disclosure above to this hair
Bright technical solution makes possible variation and modification, therefore, anything that does not depart from the technical scheme of the invention, and according to the present invention
Technical spirit any simple modifications, equivalents, and modifications to the above embodiments, belong to technical solution of the present invention
Protection scope.
Claims (10)
1. a kind of intelligent home control device characterized by comprising control terminal and display end;The control terminal is equipped with
One application program, first application program include the first control interface, and first control interface can receive for showing
First control interface is shown in the display by the smart home device of control, postrun first application program
End;The control terminal is also equipped at least one second application program, includes for realizing to extremely in second application program
A few smart home device carries out controlling required communications protocol, and the communications protocol includes unopened agreement;Described
One application program includes equipment adding module, for entering the calling of corresponding second application program of Intelligent target home equipment
Mouth is added in first application program, and is presented in the first control corresponding to the call entry after successfully adding
First control interface, first control are used to trigger the calling for corresponding second application program;First application
Program further includes switching module, for calling second application program from first control interface and being switched to corresponding the
Two control interfaces and first control interface is returned to from second application program, second control interface is described
The operation and control interface of the corresponding smart home device of the display end is shown in after the called operation of second application program.
2. intelligent home control device according to claim 1, which is characterized in that first application program further includes replacing
Block is changed the mold, for the call entry of corresponding second application program of Intelligent target home equipment to be successfully added to described first
After application program, the icon for being presented in first control of first control interface is replaced with into specified icons, will be in
Now specified title is replaced in the program name of second application program of first control interface.
3. intelligent home control device according to claim 1, which is characterized in that first control interface is figure control
Interface processed, the Graph Control interface are distributed in indoor realistic picture or plan-position can connect controlled smart home device
As background, the icon of first control can be configured on the realistic picture or plan-position sign picture and be controlled sign picture
The corresponding position in present position in kind of the smart home device of system.
4. intelligent home control device according to claim 1, which is characterized in that first control interface is list control
Interface processed, enumerated in a manner of list in the list controls interface display it is each can connect controlled smart home device and its
Status information.
5. intelligent home control device according to claim 1, which is characterized in that the control terminal and the display end one
Body is integrated, and the intelligent home control device is smart phone, smart television or tablet computer.
6. a kind of intelligent home control system characterized by comprising smart home control described in any one of claim 1 to 5
Device processed and its at least one smart home device of control.
7. a kind of control method of intelligent home control system as claimed in claim 6 characterized by comprising
First application program is run, first control interface is shown in the display end;
The call entry of corresponding second application program of Intelligent target home equipment is added in first application program,
And the first control corresponding to the call entry after successfully adding is made to be presented in first control interface;
By first control triggering for the calling of corresponding second application program, second application program is opened and by institute
It states the first control interface and is switched to second control interface, second control interface is made to be shown in the display end, start
Execute second application program.
8. the control method of intelligent home control system according to claim 7, which is characterized in that further include: when described
After any second control in second control interface is triggered, the control terminal calls the corresponding control instruction of the second control,
The control instruction is sent to the Intelligent target home equipment, the smart home device is made to execute the control instruction with reality
Existing corresponding function.
9. the control method of intelligent home control system according to claim 7, which is characterized in that described by Intelligent target
The call entry of corresponding second application program of home equipment, which is added in first application program, includes:
After triggering adds the instruction of Intelligent target home equipment into first application program, a new thread is established;
All mounted second application programs in operating system are obtained in the newly-established thread, and will acquire
To the first relevant information of the second application program be stored in a list of application, first relevant information include this second
Application name, the packet name of application, version name, version number and the icon of application of application program;
After corresponding second application program of selected target smart home device, by the first phase of selected second application program
It closes information and extracts independent preservation from the list of application.
10. the control method of intelligent home control system according to claim 9, which is characterized in that the operating system
It include: that ought successfully be added to institute for the calling of corresponding second application program by first control triggering for Android
When stating corresponding first control in call entry of the second application program in the first application program and being triggered, answered by what is saved
Packet name obtains the second relevant information of second application program, judges whether second application program has been unloaded;
If judging, second application program is not unloaded, creates the packet name that a classification is CATEGORY_LAUNCHER
Intent, and traversed by the queryIntentActivities method of getPackageManager, obtain this and second answer
With the class name of the entrance Activity of program;It is newly-built with the class name of the packet name of the application obtained and entrance Activity
The Intent of one ComponentName object and an Action_ACTION_MAIN, setting classification are
Intent.CATEGORY_LAUNCHER, setting Component are the newly-built ComponentName object, finally by
StartActivity enters second application program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610318165.2A CN107368042B (en) | 2016-05-13 | 2016-05-13 | Intelligent home control system and its control device and control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610318165.2A CN107368042B (en) | 2016-05-13 | 2016-05-13 | Intelligent home control system and its control device and control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107368042A CN107368042A (en) | 2017-11-21 |
CN107368042B true CN107368042B (en) | 2019-07-30 |
Family
ID=60304624
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610318165.2A Expired - Fee Related CN107368042B (en) | 2016-05-13 | 2016-05-13 | Intelligent home control system and its control device and control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107368042B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107991895B (en) * | 2017-11-28 | 2021-09-07 | 深圳市东微智能科技股份有限公司 | Multi-system control method and device, computer equipment and storage medium |
CN108490824B (en) * | 2018-03-05 | 2019-07-19 | Oppo广东移动通信有限公司 | Intelligent electric appliance control method, device and mobile terminal |
CN110351225B (en) * | 2018-04-03 | 2021-09-24 | 腾讯科技(深圳)有限公司 | Hardware device networking method and system, computing device and readable storage medium |
CN108717373B (en) * | 2018-05-28 | 2022-02-08 | 北京小米移动软件有限公司 | Name display method and device of intelligent equipment and storage medium |
CN109412906A (en) * | 2018-10-09 | 2019-03-01 | 南京物联传感技术有限公司 | Across APP program intelligent control interactive system and working method |
CN109448356B (en) * | 2019-01-04 | 2020-04-28 | 恬家(上海)信息科技有限公司 | Remote controller, intelligent equipment and configuration method |
CN111625379B (en) * | 2020-06-02 | 2021-06-04 | 网易(杭州)网络有限公司 | Information processing method and device, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103747369A (en) * | 2013-11-27 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Intelligent household control method and apparatus, and intelligent household system |
CN104102537A (en) * | 2013-04-07 | 2014-10-15 | 华为技术有限公司 | Application calling method and user terminal |
CN104461581A (en) * | 2014-12-30 | 2015-03-25 | 中科创达软件股份有限公司 | Hardware calling method and system based on virtualized technology and hardware sharing method and system based on virtualized technology |
CN104503688A (en) * | 2014-12-31 | 2015-04-08 | 小米科技有限责任公司 | Intelligent hardware device control achieving method and device |
-
2016
- 2016-05-13 CN CN201610318165.2A patent/CN107368042B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104102537A (en) * | 2013-04-07 | 2014-10-15 | 华为技术有限公司 | Application calling method and user terminal |
CN103747369A (en) * | 2013-11-27 | 2014-04-23 | 乐视致新电子科技(天津)有限公司 | Intelligent household control method and apparatus, and intelligent household system |
CN104461581A (en) * | 2014-12-30 | 2015-03-25 | 中科创达软件股份有限公司 | Hardware calling method and system based on virtualized technology and hardware sharing method and system based on virtualized technology |
CN104503688A (en) * | 2014-12-31 | 2015-04-08 | 小米科技有限责任公司 | Intelligent hardware device control achieving method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107368042A (en) | 2017-11-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107368042B (en) | Intelligent home control system and its control device and control method | |
CN104618793B (en) | A kind of information processing method and electronic equipment | |
CN104597759B (en) | Appliance control method and system and intelligent household management system based on Internet video | |
CN103049258A (en) | Method and system for controlling video playing based on android operating system | |
CN106227480A (en) | A kind of server, client and multi-screen interaction method, system | |
CN107294793A (en) | Replacement method, device, equipment and the storage medium of intelligent home device | |
CN104506650A (en) | Cooperative user equipment control method, user equipment and communication system | |
CN103281580A (en) | Television set remote control method for separating user interface and system thereof | |
CN104317648B (en) | A kind of method and apparatus of monitoring advertisement | |
CN104778022B (en) | A kind of data processing method and electronic equipment | |
CN107291456A (en) | The control method and system of a kind of multihead display | |
CN107045296B (en) | Intelligence control system and method | |
WO2020168568A1 (en) | Data processing method and apparatus, electronic device and readable storage medium | |
CN106597860A (en) | Household electrical appliance control system, and control device, construction method and control method thereof | |
CN110401764A (en) | Simplified interaction logic and exchange method, electronic equipment | |
CN110070496A (en) | Generation method, device and the hardware device of image special effect | |
CN106850719A (en) | A kind of data transmission method and device | |
CN109933651A (en) | Information interacting method, device and server | |
CN109799941A (en) | Control method, control equipment, system and computer readable storage medium | |
CN109617963A (en) | Apparatus control method, device and Internet of things system | |
CN110276819A (en) | A kind of displaying control method and device and computer readable storage medium | |
CN108337669A (en) | A kind of control method and device of smart home device | |
CN108919658A (en) | Smart machine control method and device | |
CN109561329A (en) | Control method, mobile terminal and the computer readable storage medium of smart television | |
CN103873943B (en) | A kind of OSD interactive interface display methods, terminal and system |
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: 20190730 Termination date: 20200513 |
|
CF01 | Termination of patent right due to non-payment of annual fee |