CN105049338B - A kind of interface creation method and device of the smart machine based on instant messaging - Google Patents

A kind of interface creation method and device of the smart machine based on instant messaging Download PDF

Info

Publication number
CN105049338B
CN105049338B CN201510502207.3A CN201510502207A CN105049338B CN 105049338 B CN105049338 B CN 105049338B CN 201510502207 A CN201510502207 A CN 201510502207A CN 105049338 B CN105049338 B CN 105049338B
Authority
CN
China
Prior art keywords
smart machine
instant messaging
messaging account
client
functional
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
CN201510502207.3A
Other languages
Chinese (zh)
Other versions
CN105049338A (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510502207.3A priority Critical patent/CN105049338B/en
Publication of CN105049338A publication Critical patent/CN105049338A/en
Application granted granted Critical
Publication of CN105049338B publication Critical patent/CN105049338B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention provides the interface creation methods and device of a kind of smart machine based on instant messaging, this method comprises: configuring one or more functions object to smart machine;For one or more of functional objects, one or more functions executing rule is set;One or more of function executing rules are encapsulated in application developmentpackage, to allow the smart machine for configuring the application developmentpackage when meeting the function executing rule, are communicated by the first instant messaging account with the second instant messaging account.The embodiment of the present invention realizes being automatically brought into operation for smart machine, reduces the number of operations of user, greatly reduces using threshold, improves the convenience of operation.

Description

A kind of interface creation method and device of the smart machine based on instant messaging
Technical field
The present invention relates to the technical fields of instant messaging, more particularly to a kind of connecing for smart machine based on instant messaging Mouth generation method and a kind of interface generation apparatus of the smart machine based on instant messaging.
Background technique
With the continuous development of electronic technology, the electronic products such as electric cooker, air-conditioning, micro-wave oven, water heater are answered extensively For in daily life, work, study.
Currently, each producer is generally configured with corresponding application, it is mounted in the terminals such as mobile phone, the computer of user, facilitates use Family controls electronic product.
The family of user is much equipped with tens of kinds of electronic products, and the model of the tens of kinds of electronic products is mostly not Together, if user needs to control this tens of kinds of electronic products, at most need to install tens of kinds of applications, control operation is very numb It is tired, the more resource of occupied terminal, moreover, each producer requires to configure an independent application, electricity for an electronic product The development cost of sub- product is also higher.
If more people need to control the same electronic product, then everyone requires to install in the same family Using control operation is cumbersome.Also, for the user for being unfamiliar with the electronic product, all control authorities are achieved, due to Certain electronic products use threshold higher, and possible operation is improper, causes the damage of electronic product.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the interface creation method and a kind of intelligence based on instant messaging accordingly of a kind of smart machine based on instant messaging of problem The interface generation apparatus of energy equipment.
According to one aspect of the present invention, a kind of interface creation method of smart machine based on instant messaging is provided, Include:
One or more functions object is configured to smart machine;
For one or more of functional objects, one or more functions executing rule is set;
One or more of function executing rules are encapsulated in application developmentpackage, configure the application developmentpackage to allow Smart machine when meeting the function executing rule, pass through the first instant messaging account and the second instant messaging account and carry out Communication.
Optionally, described the step of configuring one or more functions object to smart machine, includes:
When determining the model of the smart machine, one or more functions pair are configured to smart machine according to the model As.
Optionally, the functional object includes publicly-owned functional object;It is described that one or more functions are configured to smart machine The step of object includes:
One or more publicly-owned functional objects are sent to client to be shown;
When detecting selection operation of the client for the publicly-owned object shown, the public affairs are configured to the smart machine Functional object.
Optionally, the functional object includes privately owned functional object;It is described that one or more functions are configured to smart machine The step of object includes:
Receive the privately owned functional object that client is sent;
The privately owned functional object is configured to the smart machine.
Optionally, the function executing rule be configuration smart machine a certain attribute reach preset first threshold or Preset first range, and/or, a certain attribute of local environment is held when reaching preset second threshold or preset second range Capable operation.
Optionally, corresponding communicate of the function executing rule includes:
By the first instant messaging account, the terminal device client of Xiang Denglu the second instant messaging account sends message;
And/or
By the first instant messaging account, operation is sent to other smart machines of the second instant messaging account of configuration and is referred to It enables.
According to another aspect of the present invention, a kind of interface generation apparatus of smart machine based on instant messaging is provided, Include:
Functional object configuration module is suitable for configuring one or more functions object to smart machine;
Function executing rule setup module is suitable for that one or more functions are arranged for one or more of functional objects Executing rule;
Application developmentpackage package module, suitable for one or more of function executing rules are encapsulated in application developmentpackage In, to allow the smart machine for configuring the application developmentpackage when meeting the function executing rule, pass through the first instant messaging Account is communicated with the second instant messaging account.
Optionally, the functional object configuration module is further adapted for:
When determining the model of the smart machine, one or more functions pair are configured to smart machine according to the model As.
Optionally, the functional object includes publicly-owned functional object;The functional object configuration module is further adapted for:
One or more publicly-owned functional objects are sent to client to be shown;
When detecting selection operation of the client for the publicly-owned object shown, the public affairs are configured to the smart machine Functional object.
Optionally, the functional object includes privately owned functional object;The functional object configuration module is further adapted for:
Receive the privately owned functional object that client is sent;
The privately owned functional object is configured to the smart machine.
Optionally, the function executing rule be configuration smart machine a certain attribute reach preset first threshold or Preset first range, and/or, a certain attribute of local environment is held when reaching preset second threshold or preset second range Capable operation.
Optionally, corresponding communicate of the function executing rule includes:
By the first instant messaging account, the terminal device client of Xiang Denglu the second instant messaging account sends message;
And/or
By the first instant messaging account, operation is sent to other smart machines of the second instant messaging account of configuration and is referred to It enables.
Function executing rule is arranged to smart machine configuration feature object, to functional object in the embodiment of the present invention, by function Executing rule is encapsulated in application developmentpackage, to allow smart machine when meeting function executing rule, passes through the first instant messaging Account is communicated with the second instant messaging account, realizes being automatically brought into operation for smart machine, reduces the number of operations of user, Greatly reduce using threshold, improve the convenience of operation.
The embodiment of the present invention, which is realized, accesses instant messaging for smart machine, avoids a large amount of independent utility of installation, greatly The convenience for improving control operation greatly decreases the occupancy of terminal resource since number of applications reduces, moreover, each Producer might not require to configure an independent application for each smart machine, reduce the development cost of smart machine.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows a kind of interface generation side of smart machine based on instant messaging according to an embodiment of the invention The step flow chart of method embodiment;
Fig. 2 shows a kind of examples of interfaces figures of instant communication client according to an embodiment of the invention;
Fig. 3 shows a kind of exemplary diagram of the control interface of smart machine according to an embodiment of the invention;And
The interface that Fig. 4 shows a kind of smart machine based on instant messaging according to an embodiment of the invention generates dress Set the structural block diagram of embodiment.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Referring to Fig.1, a kind of interface of smart machine based on instant messaging according to an embodiment of the invention is shown The step flow chart of generation method embodiment, can specifically include following steps:
Step 101, one or more functions object is configured to smart machine;
It should be noted that the embodiment of the present invention should be able to be using in the instant communication server of instant communicating system When communication server can connect various electronic equipments, for example, mobile phone, tablet computer, wearable device (such as glasses, wrist-watch) etc. Deng the embodiments of the present invention are not limited thereto.
The operating system of the electronic equipment may include Android (Android), IOS, Windows Phone, Windows etc. Deng can usually support the operation of instant messaging (Instant Messaging, IM) client, access instant communicating system.
In instant communicating system, user can log in the second instant messaging account in instant communication client, pass through Instant messaging technology come realize online chatting, exchange.
Currently, instant communicating system has 2 kinds of architectural forms:
1, one is C/S framework, i.e. client/server form, it is specific to need to download installation in user's use process Using;
2, using B/S framework, i.e. browser/server-side form, the instant messaging application of this form, directly by interconnection Net is medium, without the specific application of installation, can experience communication dialogue.
Wherein, smart machine may include camera, sound equipment, water heater, electric cooker, air-conditioning, TV, air purifier, Bulb etc..
The developer of smart machine can be in the backstage configuration feature object of instant communication server, the i.e. smart machine The function of being possessed is abstracted, and essence can be the data such as text, the icon for characterizing some function.
In practical applications, different types of smart machine generally has the function of different, when the type for determining smart machine Number when, according to model to smart machine configure one or more functions object.
For example, switch, temperature display, temperature adjusting, model selection (such as refrigeration mode, sleep can be configured for air-conditioning Mode, dehumidification mode), wind speed selection etc. functional objects.
In another example the functional objects such as switch, illumination effect, coloration selection, colour temperature selection can be configured for light bulb.
In another example switch can be configured for air purifier, air index is shown, time opening, anion selection, Model selection (such as sleep pattern), wind speed select functional object.
In an alternative embodiment of the invention, the functional object includes publicly-owned functional object, then of the invention real It applies in example, step 101 may include following sub-step:
One or more publicly-owned functional objects are sent to client and are shown by sub-step S11;
Sub-step S12, when detecting selection operation of the client for the publicly-owned object shown, to the smart machine Configure the publicly-owned functional object.
Using the embodiment of the present invention, instant communication server can provide functional object for different types of smart machine Uniform template (publicly-owned functional object).
In another example generally there is the publicly-owned functions pair such as switch, illumination effect, coloration selection, colour temperature selection for light bulb As.
Pre-set publicly-owned functional object is shown by instant communication server, allows developer according to smart machine Actual conditions selected, no longer need to be developed, further reduced development cost.
In another alternative embodiment of the invention, the functional object includes privately owned functional object;Then in the present invention In embodiment, step 101 may include following sub-step:
Sub-step S21 receives the privately owned functional object that client is sent;
Sub-step S22 configures the privately owned functional object to the smart machine.
In practical applications, the smart machine of different producer's productions, even same type, but function also can or it is more Or it has differences less.
At this point, developer can create customized template (the i.e. privately owned function of function according to the actual conditions of smart machine Energy object), it is uploaded to server and is configured.
For example, for light bulb, can customized flashing privately owned functional object.
Step 102, one or more functions executing rule is set for one or more of functional objects;
In practical applications, function executing rule is that a certain attribute of the smart machine of configuration reaches preset first threshold Or preset first range;
For example, the system time (attribute) of water dispenser reaches regular hour point (first threshold), the water of water dispenser (belongs to Property) in certain water range (the first range), etc..
And/or
The a certain attribute of local environment reaches the operation executed when preset second threshold or preset second range.
For example, the colour temperature (attribute) of camera detection to environment is higher than certain colour temperature threshold value (second threshold), air inspection Measurement equipment is in the certain index range (the second range) of PM2.5 (attribute) arrival for detecting environment, etc..
Step 103, one or more of function executing rules are encapsulated in application developmentpackage, are answered described in configuration with allowing With the smart machine of development kit when meeting the function executing rule, pass through the first instant messaging account and the second instant messaging Account is communicated.
In practical applications, function executing rule is encapsulated in application developmentpackage, such as SDK (Software Development Kit, Software Development Kit).
SDK is some to be used for by developer as the wound such as specific software package, software frame, hardware platform, operating system Build the set of the developing instrument of application software, it is however generally that, SDK used in the application program under SDK, that is, development platform.
It can provide application programming interfaces API (Application Programming for some programming language Interface, application programming interface) some files, it is also possible to include can with certain embedded system communicate answer Miscellaneous hardware.
So the development scheme for writing application program using only API is also often called " SDK programming " by people.
And API and SDK are things needed for development and application program, other programming frameworks and class libraries are built upon them mostly On.
Then developer can be configured in smart machine, when smart machine meets function executing rule, pass through One instant messaging account is communicated with the second instant messaging account.
For the function executing rule of message-type, corresponding communication be can further include:
1, by the first instant messaging account, the terminal device client transmission of Xiang Denglu the second instant messaging account disappears Breath;
In this example, the first instant messaging account can be configured for smart machine, smart machine is allowed to access instant messaging System, and the second instant messaging account of user is logged in instant communication client, it " is searched for newly by as shown in Figure 2 The control of smart machine " searches smart machine, and the first instant messaging account and the second instant messaging account are bound, will be intelligent Equipment becomes " good friend " of user.
As shown in figure 3, the window of session can be opened if user clicks the information of smart machine, substantially control Interface has one or more control controls in control interface.
In practical applications, control interface is HTML5 (the 5th material alteration of hypertext markup language (HTML)) shape Formula, and control is the form of ActiveX plug-in unit with control.
Wherein, the control of ActiveX card format is integrated with the control instruction interface of smart machine with control.
ActiveX component actually refers to some executable codes or a program, for example.EXE, a .DLL or .OCX file can be embedded in by ActiveX technology by these reusable software combinations into instant communication client It is executed into the webpage of HTML5, and in instant communication client.
Then smart machine can be sent a notification message by the window timing of session to the second instant messaging account, such as drunk water Machine sent the reminder message drunk water every a one hour, can also dynamically send a notification message to the second instant messaging account, such as Camera monitors to send alert message when face.
In addition, the message may include text data, image data, video data etc..
2, by the first instant messaging account, operation is sent to other smart machines of the second instant messaging account of configuration and is referred to It enables.
In this example, the first instant messaging account, the second instant messaging account can be configured for smart machine, allows intelligence Equipment accesses instant communicating system, and the third instant messaging account of user is logged in instant communication client, passes through such as Fig. 2 Shown in " search for new smart machine " control, search smart machine, by the first instant messaging account, the second instant messaging account Number with third instant messaging account bind, smart machine is become " good friend " of user, user can set a wherein intelligence Back-up matches the rights parameters of an other smart machine, can be carried out by instant communication server between this two smart machines Communication, the message of communication are substantially operational order, i.e., control an other smart machine by a wherein smart machine and grasped Make.
In one example, wherein a smart machine is camera, in addition a smart machine is bulb, permission ginseng Number is that starting rights parameters start bulb when configuration condition is " 18:00-20:00 " at the appointed time, detects face.
It goes back home if user comes off duty in 18:30, camera carries out recognition of face and identifies successfully, judges presence of people, i.e., The operational order that starting can be generated is sent to bulb, and then starts bulb, welcomes and goes home, user no longer needs to hand Dynamic starting bulb.
In another example, wherein a smart machine is air detection equipment, in addition a smart machine is air Clarifier, rights parameters are starting rights parameters, anion fine-purification rights parameters, and configuration condition is the numerical value of PM2.5 in 50- Between 100, start normal purification, the numerical value of PM2.5 starts anion fine-purification between 100-150.
If being left old man and child in family in the work hours, air detection equipment carries out air detection, detects The numerical value of PM2.5 is 85, it can the operational order for generating starting is sent to air purifier, and then starts air purifier It is normally purified, even if old man and child are unfamiliar with air purifier, manually boots air purifier without user, protected The normal use of air purifier is demonstrate,proved.
In general, smart machine needs are online, can just control it.
Instant communication server can judge whether smart machine is online by the detection of heartbeat packet.
So-called heartbeat packet is that the timing of the second smart machine broadcasts fixed information to instant communication server, Instant Messenger Inquiry server replys a fix information.If instant communication server does not receive the second smart machine after a certain time Information, it may be considered that the second smart machine disconnects (i.e. off-line state).
Inside TCP (Transmission Control Protocol, transmission control protocol) mechanism, have existed Heartbeat machine contracting system, that is, TCP option: SO_KEEPALIVE.
In practical applications, between the smart machine that different producers produces with different Parameter specifications, different manufacturers Operational order be unreadable in many cases.
Therefore, instant communication server can convert the operational order between different intelligent equipment.
Will the operational order that sends of current smart machine be mapped as the readable operational order of other smart machines, will be readable Operational order be sent to the second instant messaging account, to drive other smart machines to execute according to the readable operational order Operation.
For example, instant communication server provides that the operational order opened is open, current smart machine provides the behaviour opened Making instruction is enable, other smart machines provide that the operational order opened is unlock, then instant communication server is receiving After the enable instruction sent to current smart machine, it can be mapped as open instruction, then be by open command mappings Unlock instruction.
In order to improve safety, instant communication server can carry out safety detection to operational order;
For example, detecting whether the operational order is tampered, whether the first instant messaging account of detection has the operational order Rights parameters, it is whether legal, etc. to detect operating function mark in the operational order, operating parameter.
When passing through safety detection, operational order can be sent to the second instant messaging account.
When not passing through safety detection, can refuse for operational order to be sent to the second instant messaging account.
Function executing rule is arranged to smart machine configuration feature object, to functional object in the embodiment of the present invention, by function Executing rule is encapsulated in application developmentpackage, to allow smart machine when meeting function executing rule, passes through the first instant messaging Account is communicated with the second instant messaging account, realizes being automatically brought into operation for smart machine, reduces the number of operations of user, Greatly reduce using threshold, improve the convenience of operation.
The embodiment of the present invention, which is realized, accesses instant messaging for smart machine, avoids a large amount of independent utility of installation, greatly The convenience for improving control operation greatly decreases the occupancy of terminal resource since number of applications reduces, moreover, each Producer might not require to configure an independent application for each smart machine, reduce the development cost of smart machine.
For embodiment of the method, for simple description, therefore, it is stated as a series of action combinations, but this field Technical staff should be aware of, and embodiment of that present invention are not limited by the describe sequence of actions, because implementing according to the present invention Example, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know that, specification Described in embodiment belong to preferred embodiment, the actions involved are not necessarily necessary for embodiments of the present invention.
Referring to Fig. 4, a kind of interface of smart machine based on instant messaging according to an embodiment of the invention is shown The structural block diagram of generating means embodiment, can specifically include following module:
Functional object configuration module 401 is suitable for configuring one or more functions object to smart machine;
Function executing rule setup module 402 is suitable for one or more for the setting of one or more of functional objects Function executing rule;
Application developmentpackage package module 403, suitable for one or more of function executing rules are encapsulated in application and development Bao Zhong passes through the first Instant Messenger to allow the smart machine for configuring the application developmentpackage when meeting the function executing rule News account is communicated with the second instant messaging account.
In an alternative embodiment of the invention, the functional object configuration module 401 can be adapted to:
When determining the model of the smart machine, one or more functions pair are configured to smart machine according to the model As.
In an alternative embodiment of the invention, the functional object includes publicly-owned functional object;The functional object Configuration module 401 can be adapted to:
One or more publicly-owned functional objects are sent to client to be shown;
When detecting selection operation of the client for the publicly-owned object shown, the public affairs are configured to the smart machine Functional object.
In an alternative embodiment of the invention, the functional object includes privately owned functional object;The functional object Configuration module 401 can be adapted to:
Receive the privately owned functional object that client is sent;
The privately owned functional object is configured to the smart machine.
In practical applications, the function executing rule is that a certain attribute of the smart machine of configuration reaches preset first Threshold value or preset first range, and/or, a certain attribute of local environment reaches preset second threshold or preset second model The operation executed when enclosing.
In the concrete realization, corresponding communicate of the function executing rule may include:
By the first instant messaging account, the terminal device client of Xiang Denglu the second instant messaging account sends message;
And/or
By the first instant messaging account, operation is sent to other smart machines of the second instant messaging account of configuration and is referred to It enables.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) realize the smart machine according to an embodiment of the present invention based on instant messaging Interface generating device in some or all components some or all functions.The present invention is also implemented as holding Some or all device or device programs of row method as described herein are (for example, computer program and computer Program product).It is such to realize that program of the invention can store on a computer-readable medium, or can have one or The form of the multiple signals of person.Such signal can be downloaded from an internet website to obtain, or be provided on the carrier signal, or Person is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.
The embodiment of the invention discloses A1, a kind of interface creation method of the smart machine based on instant messaging, comprising:
One or more functions object is configured to smart machine;
For one or more of functional objects, one or more functions executing rule is set;
One or more of function executing rules are encapsulated in application developmentpackage, configure the application developmentpackage to allow Smart machine when meeting the function executing rule, pass through the first instant messaging account and the second instant messaging account and carry out Communication.
A2, method as described in a1, it is described to smart machine configure one or more functions object the step of include:
When determining the model of the smart machine, one or more functions pair are configured to smart machine according to the model As.
A3, method as described in a1 or a2, the functional object include publicly-owned functional object;It is described that smart machine is configured The step of one or more functions object includes:
One or more publicly-owned functional objects are sent to client to be shown;
When detecting selection operation of the client for the publicly-owned object shown, the public affairs are configured to the smart machine Functional object.
A4, method as described in a1 or a2, the functional object include privately owned functional object;It is described that smart machine is configured The step of one or more functions object includes:
Receive the privately owned functional object that client is sent;
The privately owned functional object is configured to the smart machine.
A5, method as described in a1, the function executing rule are that a certain attribute of the smart machine of configuration reaches default First threshold or preset first range, and/or, a certain attribute of local environment reaches preset second threshold or preset The operation executed when the second range.
A6, the method as described in A1 or A5, corresponding communicate of the function executing rule include:
By the first instant messaging account, the terminal device client of Xiang Denglu the second instant messaging account sends message;
And/or
By the first instant messaging account, operation is sent to other smart machines of the second instant messaging account of configuration and is referred to It enables.
The embodiment of the invention also discloses B7, a kind of interface generation apparatus of the smart machine based on instant messaging, comprising:
Functional object configuration module is suitable for configuring one or more functions object to smart machine;
Function executing rule setup module is suitable for that one or more functions are arranged for one or more of functional objects Executing rule;
Application developmentpackage package module, suitable for one or more of function executing rules are encapsulated in application developmentpackage In, to allow the smart machine for configuring the application developmentpackage when meeting the function executing rule, pass through the first instant messaging Account is communicated with the second instant messaging account.
B8, device as described in b7, the functional object configuration module are further adapted for:
When determining the model of the smart machine, one or more functions pair are configured to smart machine according to the model As.
B9, device as described in b7 or b8, the functional object include publicly-owned functional object;The functional object configures mould Block is further adapted for:
One or more publicly-owned functional objects are sent to client to be shown;
When detecting selection operation of the client for the publicly-owned object shown, the public affairs are configured to the smart machine Functional object.
B10, device as described in b7 or b8, the functional object include privately owned functional object;The functional object configuration Module is further adapted for:
Receive the privately owned functional object that client is sent;
The privately owned functional object is configured to the smart machine.
B11, device as described in b7, the function executing rule are that a certain attribute of the smart machine of configuration reaches default First threshold or preset first range, and/or, a certain attribute of local environment reaches preset second threshold or preset The operation executed when the second range.
B12, the device as described in B7 or B11, corresponding communicate of the function executing rule include:
By the first instant messaging account, the terminal device client of Xiang Denglu the second instant messaging account sends message;
And/or
By the first instant messaging account, operation is sent to other smart machines of the second instant messaging account of configuration and is referred to It enables.

Claims (12)

1. a kind of interface creation method of the smart machine based on instant messaging, comprising:
One or more functions object is configured to smart machine;
For one or more of functional objects, one or more functions executing rule is set;
One or more of function executing rules are encapsulated in application developmentpackage, to allow the intelligence for configuring the application developmentpackage Energy equipment is when meeting the function executing rule, by the first instant messaging account, to the second instant messaging account of configuration Other smart machines send operational order;Wherein, the smart machine be configured with the first instant messaging account, described first Instant messaging account and the second instant messaging account are used to smart machine accessing instant communicating system, take with instant messaging The electronic equipment of business device connection has instant communication client, is logged in third instant messaging account in the instant communication client Number, the third instant messaging account and the first instant messaging account, the second instant messaging account are bound, and to it In a smart machine distribute the rights parameters of an other smart machine.
2. the method as described in claim 1, which is characterized in that described to configure one or more functions object to smart machine Step includes:
When determining the model of the smart machine, one or more functions object is configured to smart machine according to the model.
3. method according to claim 1 or 2, which is characterized in that the functional object includes publicly-owned functional object;It is described right Smart machine configure one or more functions object the step of include:
One or more publicly-owned functional objects are sent to client to be shown;
When detecting selection operation of the client for the publicly-owned object shown, the publicly-owned function is configured to the smart machine It can object.
4. method according to claim 1 or 2, which is characterized in that the functional object includes privately owned functional object;It is described right Smart machine configure one or more functions object the step of include:
Receive the privately owned functional object that client is sent;
The privately owned functional object is configured to the smart machine.
5. the method as described in claim 1, which is characterized in that the function executing rule is a certain of the smart machine of configuration Attribute reaches preset first threshold or preset first range, and/or, a certain attribute of local environment reaches preset second The operation executed when threshold value or preset second range.
6. method as claimed in claim 1 or 5, which is characterized in that the corresponding communication of the function executing rule includes:
By the first instant messaging account, the terminal device client of Xiang Denglu the second instant messaging account sends message.
7. a kind of interface generation apparatus of the smart machine based on instant messaging, comprising:
Functional object configuration module is suitable for configuring one or more functions object to smart machine;
Function executing rule setup module is suitable for executing for one or more of functional objects setting one or more functions Rule;
Application developmentpackage package module, suitable for one or more of function executing rules are encapsulated in application developmentpackage, with Allow the smart machine for configuring the application developmentpackage when meeting the function executing rule, by the first instant messaging account, Operational order is sent to other smart machines of the second instant messaging account of configuration;Wherein, the smart machine is configured with described First instant messaging account, the first instant messaging account are used to access smart machine with the second instant messaging account Instant communicating system, the electronic equipment connecting with instant communication server have instant communication client, the instant messaging visitor It is logged in third instant messaging account in the end of family, it is the third instant messaging account and the first instant messaging account, described The binding of second instant messaging account, and the rights parameters of an other smart machine are distributed a wherein smart machine.
8. device as claimed in claim 7, which is characterized in that the functional object configuration module is further adapted for:
When determining the model of the smart machine, one or more functions object is configured to smart machine according to the model.
9. device as claimed in claim 7 or 8, which is characterized in that the functional object includes publicly-owned functional object;The function Energy object configuration module is further adapted for:
One or more publicly-owned functional objects are sent to client to be shown;
When detecting selection operation of the client for the publicly-owned object shown, the publicly-owned function is configured to the smart machine It can object.
10. device as claimed in claim 7 or 8, which is characterized in that the functional object includes privately owned functional object;It is described Functional object configuration module is further adapted for:
Receive the privately owned functional object that client is sent;
The privately owned functional object is configured to the smart machine.
11. device as claimed in claim 7, which is characterized in that the function executing rule is certain of the smart machine of configuration Attribute reaches preset first threshold or preset first range, and/or, a certain attribute of local environment reaches preset the The operation executed when two threshold values or preset second range.
12. the device as described in claim 7 or 11, which is characterized in that the corresponding communication of the function executing rule includes:
By the first instant messaging account, the terminal device client of Xiang Denglu the second instant messaging account sends message.
CN201510502207.3A 2015-08-14 2015-08-14 A kind of interface creation method and device of the smart machine based on instant messaging Active CN105049338B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510502207.3A CN105049338B (en) 2015-08-14 2015-08-14 A kind of interface creation method and device of the smart machine based on instant messaging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510502207.3A CN105049338B (en) 2015-08-14 2015-08-14 A kind of interface creation method and device of the smart machine based on instant messaging

Publications (2)

Publication Number Publication Date
CN105049338A CN105049338A (en) 2015-11-11
CN105049338B true CN105049338B (en) 2019-06-04

Family

ID=54455559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510502207.3A Active CN105049338B (en) 2015-08-14 2015-08-14 A kind of interface creation method and device of the smart machine based on instant messaging

Country Status (1)

Country Link
CN (1) CN105049338B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106790598A (en) * 2016-12-29 2017-05-31 上海木爷机器人技术有限公司 Function configuration method and system
CN108446151B (en) * 2017-02-14 2022-01-25 阿里巴巴集团控股有限公司 Communication method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495618A (en) * 2011-12-28 2012-06-13 深圳市松本先天下科技发展有限公司 Instant communication intelligent household control system and control method thereof
CN103067259A (en) * 2012-12-24 2013-04-24 符晓友 Method and device used for sending and display and execution of special message instructions and based on instant messaging
CN103533059A (en) * 2013-10-17 2014-01-22 中国地质大学(武汉) Remote control method for security of Internet of things based on WeChat
CN104426750A (en) * 2013-09-11 2015-03-18 腾讯科技(深圳)有限公司 Method, equipment and system for instant messaging
CN104660676A (en) * 2015-01-15 2015-05-27 小米科技有限责任公司 Equipment information sharing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102495618A (en) * 2011-12-28 2012-06-13 深圳市松本先天下科技发展有限公司 Instant communication intelligent household control system and control method thereof
CN103067259A (en) * 2012-12-24 2013-04-24 符晓友 Method and device used for sending and display and execution of special message instructions and based on instant messaging
CN104426750A (en) * 2013-09-11 2015-03-18 腾讯科技(深圳)有限公司 Method, equipment and system for instant messaging
CN103533059A (en) * 2013-10-17 2014-01-22 中国地质大学(武汉) Remote control method for security of Internet of things based on WeChat
CN104660676A (en) * 2015-01-15 2015-05-27 小米科技有限责任公司 Equipment information sharing method and device

Also Published As

Publication number Publication date
CN105049338A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
Manual ICC
Yue et al. Voice activated smart home design and implementation
US10338904B2 (en) Specialized app development and deployment system and method
KR102509180B1 (en) A computerised system for managing the operation of an electric power distribution grid and a configuration method thereof
CN105049340A (en) Method and device for accessing intelligent equipment based on instant communication
CN105049339A (en) Method and device for loading control interface of intelligent device
CN105049338B (en) A kind of interface creation method and device of the smart machine based on instant messaging
CN105978966B (en) A kind of data transmission method and device of mobile terminal
CN103533099A (en) Variable-frequency drive and address mapping method thereof under MODBUS communication protocol
CN105208085B (en) A kind of authority configuring method and device of the smart machine based on instant messaging
CN105049337B (en) Communication means and device between a kind of smart machine based on instant messaging
US20200150613A1 (en) Method and device for operating and controlling a machine installation by means of a graphical development interface and generation of a field bus configuration
CN106201817A (en) Dynamic Display content monitor method, system and device
CN104063227B (en) A kind of instruction learning method based on Internet of Things
CN104483865B (en) The installation implementation method and device of intelligent hardware devices
CN104243252B (en) A kind of intelligent domestic system for supporting IGRS agreements
CN105897789A (en) High-voltage frequency-converter remote monitoring system based on Internet
CN114280953A (en) Scene mode creating method and device, electronic equipment and storage medium
CN109993951A (en) A kind of doorplate system and its control method and device
CN114296359A (en) Device control system, method, apparatus, electronic device, storage medium
CN110098991B (en) Equipment for accessing EtherCAT bus system to universal Internet of things cloud platform
CN114201283A (en) Task scheduling method and device, intelligent scheduling system and processor
CN108965072B (en) Intelligent gateway external equipment association control method
CN106559475A (en) A kind of Programmable Embedded web server
CN109684824A (en) The authority configuring method and device of process

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220715

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: Room 112, block D, No. 28, Xinjiekou outer street, Xicheng District, Beijing 100088 (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.