CN105049337B - Communication means and device between a kind of smart machine based on instant messaging - Google Patents
Communication means and device between a kind of smart machine based on instant messaging Download PDFInfo
- Publication number
- CN105049337B CN105049337B CN201510502161.5A CN201510502161A CN105049337B CN 105049337 B CN105049337 B CN 105049337B CN 201510502161 A CN201510502161 A CN 201510502161A CN 105049337 B CN105049337 B CN 105049337B
- Authority
- CN
- China
- Prior art keywords
- smart machine
- operational order
- instant messaging
- messaging account
- sent
- 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
Abstract
The embodiment of the invention provides the communication means and device between a kind of smart machine based on instant messaging, this method comprises: receiving call request that the first smart machine is sent by the first instant messaging account, generating when meeting preset function executing rule;The second instant messaging account and operational order are extracted from the call request, the second instant messaging account is the account configured to the second smart machine;The operational order is sent to the second instant messaging account, to drive second smart machine to execute operation according to the operational order.The embodiment of the present invention, which realizes, to be automatically controlled the second smart machine and is operated, and is reduced the number of operations of user, is greatly reduced using threshold, improves the convenience of operation.
Description
Technical field
The present invention relates to the technical fields of instant messaging, more particularly between a kind of smart machine based on instant messaging
Communication means and a kind of smart machine based on instant messaging between communication device.
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 communication means between a kind of smart machine based on instant messaging of problem and a kind of corresponding intelligence based on instant messaging
Communication device between energy equipment.
According to one aspect of the present invention, the communication means between a kind of smart machine based on instant messaging is provided,
Include:
Receive the first smart machine by the first instant messaging account send, when meeting preset function executing rule
The call request of generation;
Extract the second instant messaging account and operational order from the call request, the second instant messaging account is to the
The account of two smart machines configuration;
The operational order is sent to the second instant messaging account, to drive second smart machine according to institute
It states operational order and executes operation.
Optionally, the function executing rule is that a certain attribute of the first smart machine reaches preset first threshold or pre-
If the first range, and/or, execution when a certain attribute of local environment reaches preset second threshold or preset second range
Operation.
Optionally, described that the operational order is sent to the second instant messaging account, to drive second intelligence
Energy equipment executes the step of operating according to the operational order
The operational order that first smart machine is sent is mapped as the readable operational order of the second smart machine;
The readable operational order is sent to the second instant messaging account, with drive second smart machine according to
The readable operational order executes operation.
Optionally, the operational order that the first smart machine is sent is mapped as the readable operation of the second smart machine and refers to
The step of enabling include:
The operational order that first smart machine is sent is mapped as to the operational order of reference;
The operational order of reference is mapped as the readable operational order of the second smart machine.
Optionally, further includes:
Receive the formulation request sent by third instant messaging account;The third instant messaging account is instant with first
It communicates account binding, bound with the second instant messaging account;
From the matched function executing rule of rights parameters and second formulated and extracted in request with the second smart machine
Second instant messaging account of smart machine;
The function executing rule and the second instant messaging account are sent to the first instant messaging account, with configuration the
In one smart machine.
Optionally, the rights parameters include below one or more:
The unlatching rights parameters of second smart machine, the closing rights parameters of the second smart machine, the second smart machine
Rights parameters, the read right parameter of the data of the second smart machine output, the number of the second smart machine output is arranged in function amplitude
According to write permission parameter, the forwarding rights parameters of the second smart machine notification message.
Optionally, the operational order includes:
Operating function mark;
Alternatively,
Operating function mark, operating parameter;
The rights parameters include:
The setting rights parameters of operating function mark;
Alternatively,
Setting rights parameters, the adjustment rights parameters of operating parameter of operating function mark.
Optionally, further includes:
Safety detection is carried out to the operational order;
When passing through safety detection, execution is described to be sent to the second instant messaging account for the operational order,
To drive second smart machine to execute the step of operating according to the operational order;
When not passing through safety detection, the operational order is sent to the second instant messaging account by refusal.
According to another aspect of the present invention, the communication device between a kind of smart machine based on instant messaging is provided,
Include:
Call request receiving module, suitable for receive it is that the first smart machine is sent by the first instant messaging account, full
The call request generated when the preset function executing rule of foot;
Operation information extraction module, suitable for extracting the second instant messaging account and operational order from the call request,
Second instant messaging account is the account configured to the second smart machine;
Operational order sending module, suitable for the operational order is sent to the second instant messaging account, with driving
Second smart machine executes operation according to the operational order.
Optionally, the function executing rule is that a certain attribute of the first smart machine reaches preset first threshold or pre-
If the first range, and/or, execution when a certain attribute of local environment reaches preset second threshold or preset second range
Operation.
Optionally, the operational order sending module is further adapted for:
The operational order that first smart machine is sent is mapped as the readable operational order of the second smart machine;
The readable operational order is sent to the second instant messaging account, with drive second smart machine according to
The readable operational order executes operation.
Optionally, the operational order sending module is further adapted for:
The operational order that first smart machine is sent is mapped as to the operational order of reference;
The operational order of reference is mapped as the readable operational order of the second smart machine.
Optionally, further includes:
Request receiving module is formulated, suitable for receiving the formulation request sent by third instant messaging account;The third
Instant messaging account and the binding of the first instant messaging account are bound with the second instant messaging account;
Information extraction modules are formulated, are matched suitable for being extracted from formulation request with the rights parameters of the second smart machine
Function executing rule and the second smart machine the second instant messaging account;
Function executing rule sending module, suitable for the function executing rule and the second instant messaging account are sent to
One instant messaging account, to configure in the first smart machine.
Optionally, the rights parameters include below one or more:
The unlatching rights parameters of second smart machine, the closing rights parameters of the second smart machine, the second smart machine
Rights parameters, the read right parameter of the data of the second smart machine output, the number of the second smart machine output is arranged in function amplitude
According to write permission parameter, the forwarding rights parameters of the second smart machine notification message.
Optionally, the operational order includes:
Operating function mark;
Alternatively,
Operating function mark, operating parameter;
The rights parameters include:
The setting rights parameters of operating function mark;
Alternatively,
Setting rights parameters, the adjustment rights parameters of operating parameter of operating function mark.
Optionally, further includes:
Safety detection module is suitable for carrying out safety detection to the operational order;When passing through safety detection, adjust
With operational order sending module;When not passing through safety detection, refusal sending module is called;
Refuse sending module, the operational order is sent to the second instant messaging account suitable for refusing.
First smart machine is passed through the operational order that the first instant messaging account is sent by the embodiment of the present invention, is sent to the
Two instant messaging accounts control the second smart machine according to the operational order and execute operation, realize the second intelligence of automatic control
Equipment is operated, and the number of operations of user is reduced, and greatly reduces using threshold, improves 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 the communication party between a kind 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;And
Fig. 3 shows the dress of the communication between a kind of smart machine based on instant messaging according to an embodiment of the invention
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, it shows between a kind of smart machine based on instant messaging according to an embodiment of the invention
The step flow chart of communication means embodiment, can specifically include following steps:
Step 101, receive it is that the first smart machine is sent by the first instant messaging account, hold meeting preset function
The call request generated when line discipline;
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.
Before step 101, following steps can be executed:
Step S11 receives the formulation request sent by third instant messaging account;
Wherein, third instant messaging account and the binding of the first instant messaging account and the second instant messaging account are bound;
Using the embodiment of the present invention, the first instant messaging account can be configured for the first smart machine, be set for the second intelligence
The second instant messaging account of standby configuration, allows the first smart machine, the second smart machine access instant communicating system, and instant messaging
It is logged in third instant messaging account in client, by the control of " searching for new smart machine " as shown in Figure 2, searches intelligence
Third instant messaging account and the first instant messaging account, the second instant messaging account are bound, smart machine are become by energy equipment
At " good friend " of user.
Wherein, smart machine (including first smart machine, the second smart machine) may include camera, sound equipment, hot water
Device, electric cooker, air-conditioning, TV, air purifier, bulb etc..
Furthermore, the first smart machine, the second smart machine are usually privately owned smart machine, for example, electric cooker,
Air-conditioning etc., i.e. active user are the user belonging to it, and instant communication server can verify whether third instant messaging account has
There is the ownership of the first smart machine, the second smart machine, for example, being unique identifying code of its configuration under input line.
When judging that third instant messaging account has the ownership of first smart machine, the second smart machine, establish
The binding relationship of first instant messaging account, the second instant messaging account and third instant messaging account, to third instant messaging
Account configures all permissions parameter of the first smart machine, the second smart machine.
Step S12 is extracted from the formulation request and is executed rule with the matched function of rights parameters of the second smart machine
Then with the second instant messaging account of the second smart machine;
In embodiments of the present invention, user can open the control interface of the second smart machine, click " licensing to good friend "
Controls are waited, all or part of rights parameters are selected in the permissions data all from its, request instant communication server is to first
When communication account configure the rights parameters of second smart machine, i.e., distribute the first smart machine the part of the second smart machine
Or whole control authorities.
Wherein, the rights parameters may include below one or more:
The unlatching rights parameters of second smart machine, the closing rights parameters of the second smart machine, the second smart machine
Rights parameters (size, the size of coloration, the size of temperature of such as sound) is arranged in function amplitude, the output of the second smart machine
The read right parameter of data, the write permission parameter of the data of the second smart machine output, the second smart machine notification message turn
Send out rights parameters.
It should be noted that the first smart machine can regularly send notification message to the first instant messaging account, such as drink
Water dispenser sent the reminder message drunk water every a one hour, can also dynamically send a notification message to the first instant messaging account,
As camera monitors to send alert message when face.
This is that the notification message may include text data, image data, video data etc..
Certainly, above-mentioned rights parameters are intended only as example, in implementing the embodiments of the present invention, can set according to the actual situation
Other rights parameters are set, the embodiments of the present invention are not limited thereto.In addition, other than above-mentioned rights parameters, art technology
Personnel can also use other rights parameters according to actual needs, and the embodiment of the present invention is also without restriction to this.
Meanwhile matching feature executing rule can be arranged according to the rights parameters of distribution in user, so that the second smart machine
The first smart machine is controlled to be operated.
For example, if being assigned with the unlatching rights parameters of the second smart machine to the first smart machine, it can be with set-up function
Executing rule, so that the first smart machine starts the second smart machine under certain condition.
Wherein, function executing rule is that a certain attribute of the first smart machine reaches preset first threshold or preset the
One 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..
The function executing rule and the second instant messaging account are sent to the first instant messaging account by step S13, with
Configuration is in the first smart machine.
The function executing rule and the second instant messaging account are issued to the first instant messaging account by instant communication server
Number, it configures in the first smart machine, so that the first smart machine is according to the function executing rule and the second instant messaging account
It is communicated.
Step 102, the second instant messaging account and operational order, the second instant messaging account are extracted from the call request
Number for the account that is configured to the second smart machine;
In the concrete realization, operational order may include the following two kinds mode:
One, operating function identifies;
In such mode, operating function mark characterizes functional operation.
For example, the first smart machine, which can be sent, to be promoted temperature including mark or reduces temperature (operating function for air-conditioning
Mark) operational order to air-conditioning, indicate that air-conditioning promotes temperature or reduces temperature.
In another example the first smart machine, which can be sent, opens or closes (operating function mark) including mark for light bulb
Operational order to light bulb, pilot bulb opens or closes.
In another example the first smart machine can be sent including identifying sleep pattern (operating function mark for air purifier
Know) operational order to air purifier, indicate that air purifier carries out sleep pattern.
Two, operating function mark, operating parameter.
In this mode, operating function mark characterizes functional operation, and operating parameter identifies the functional performance
Fine granularity control parameter.
For example, the first smart machine, which can be sent, adjusts wind speed (operating function mark) and wind including mark for air-conditioning
Speed is the operational order of X (operating parameter) to air-conditioning, indicates that air-conditioning is adjusted to the wind speed of X.
In another example for light bulb, the first smart machine can send including mark adjust colour temperature (operating function mark) and
Colour temperature is the operational order of Y (operating parameter) to light bulb, and pilot bulb is adjusted to the colour temperature of Y.
In another example the first smart machine can be sent including identifying time opening (operating function mark for air purifier
Know) and the opening time be Z (operating parameter) operational order to air purifier, indicate air purifier in time Z unlatching.
Correspondingly, the first rights parameters may include:
The setting rights parameters of operating function mark, i.e. third instant messaging account can operate operating function mark;
Alternatively,
Setting rights parameters, the adjustment rights parameters of operating parameter, i.e. third instant messaging account of operating function mark
Both operating function mark can have been operated, also adjustable operating parameter.
Step 103, the operational order is sent to the second instant messaging account, to drive second intelligence to set
It is standby to execute operation according to the operational order.
In embodiments of the present invention, the first instant messaging account is configured with the rights parameters of the second instant messaging account, i.e.,
First smart machine obtains some or all of the second smart machine control authority, and instant communication server can be to according to it
Permission sends operational order to the second instant messaging account, and the second smart machine of control is operated.
In one example, the first smart machine is camera, and the second smart machine is bulb, and rights parameters are 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, the first smart machine is air detection equipment, and the second smart machine is air purifier, power
Limiting parameter is starting rights parameters, anion fine-purification rights parameters, and configuration condition is the numerical value of PM2.5 between 50-100, is opened
Dynamic normal purification, the numerical value of PM2.5 start 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, the second smart machine needs are online, can just control it.
Instant communication server can judge whether the second 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 an alternative embodiment of the invention, step 103 may include following sub-step:
The operational order that first smart machine is sent is mapped as the readable operation of the second smart machine and referred to by sub-step S21
It enables;
The readable operational order is sent to the second instant messaging account by sub-step S22, to drive second intelligence
Energy equipment executes operation according to the readable operational order.
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.
Specifically, the operational order that the first smart machine is sent can be mapped as the behaviour of reference by instant communication server
It instructs, then the operational order of reference is mapped as the readable operational order of the second smart machine.
For example, instant communication server provides that the operational order opened is open, the first smart machine provides the behaviour opened
Making instruction is enable, and the second smart machine provides that the operational order opened is unlock, then instant communication server is receiving
After the enable instruction sent to the first 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 after extracting the second instant messaging account and operational order
To carry out safety detection to operational order;
For example, detecting whether the operational order is tampered, whether detection third instant messaging account 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, step 103 can be executed;
When not passing through safety detection, can refuse for operational order to be sent to the second instant messaging account.
First smart machine is passed through the operational order that the first instant messaging account is sent by the embodiment of the present invention, is sent to the
Two instant messaging accounts control the second smart machine according to the operational order and execute operation, realize the second intelligence of automatic control
Equipment is operated, and the number of operations of user is reduced, and greatly reduces using threshold, improves 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. 3, show between a kind of smart machine based on instant messaging according to an embodiment of the invention
The structural block diagram of communication device embodiment, can specifically include following module:
Call request receiving module 301, suitable for receive the first smart machine by the first instant messaging account send,
The call request generated when meeting preset function executing rule;
Operation information extraction module 302 refers to suitable for extracting the second instant messaging account from the call request with operation
It enables, the second instant messaging account is the account configured to the second smart machine;
Operational order sending module 303, suitable for the operational order is sent to the second instant messaging account, to drive
It moves second smart machine and executes operation according to the operational order.
In the concrete realization, the function executing rule is that a certain attribute of the first smart machine reaches preset first threshold
Value or preset first range, and/or, a certain attribute of local environment reaches preset second threshold or preset second range
The operation of Shi Zhihang.
In an alternative embodiment of the invention, the operational order sending module 303 can be adapted to:
The operational order that first smart machine is sent is mapped as the readable operational order of the second smart machine;
The readable operational order is sent to the second instant messaging account, with drive second smart machine according to
The readable operational order executes operation.
In an alternative embodiment of the invention, the operational order sending module 303 can be adapted to:
The operational order that first smart machine is sent is mapped as to the operational order of reference;
The operational order of reference is mapped as the readable operational order of the second smart machine.
In an alternative embodiment of the invention, which can also include following module:
Request receiving module is formulated, suitable for receiving the formulation request sent by third instant messaging account;The third
Instant messaging account and the binding of the first instant messaging account are bound with the second instant messaging account;
Information extraction modules are formulated, are matched suitable for being extracted from formulation request with the rights parameters of the second smart machine
Function executing rule and the second smart machine the second instant messaging account;
Function executing rule sending module, suitable for the function executing rule and the second instant messaging account are sent to
One instant messaging account, to configure in the first smart machine.
In practical applications, the rights parameters may include below one or more:
The unlatching rights parameters of second smart machine, the closing rights parameters of the second smart machine, the second smart machine
Rights parameters, the read right parameter of the data of the second smart machine output, the number of the second smart machine output is arranged in function amplitude
According to write permission parameter, the forwarding rights parameters of the second smart machine notification message.
In the concrete realization, the operational order may include:
Operating function mark;
Alternatively,
Operating function mark, operating parameter;
The rights parameters may include:
The setting rights parameters of operating function mark;
Alternatively,
Setting rights parameters, the adjustment rights parameters of operating parameter of operating function mark.
In an alternative embodiment of the invention, which can also include following module:
Safety detection module is suitable for carrying out safety detection to the operational order;When passing through safety detection, adjust
With operational order sending module 303;When not passing through safety detection, refusal sending module is called;
Refuse sending module, the operational order is sent to the second instant messaging account suitable for refusing.
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
Between communication equipment 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 the communication means between A1, a kind of smart machine based on instant messaging, comprising:
Receive the first smart machine by the first instant messaging account send, when meeting preset function executing rule
The call request of generation;
Extract the second instant messaging account and operational order from the call request, the second instant messaging account is to the
The account of two smart machines configuration;
The operational order is sent to the second instant messaging account, to drive second smart machine according to institute
It states operational order and executes operation.
A2, method as described in a1, the function executing rule are that a certain attribute of the first smart machine reaches preset
First threshold or preset first range, and/or, a certain attribute of local environment reaches preset second threshold or preset
The operation executed when two ranges.
3, the method as described in claim 1, it is described that the operational order is sent to the second instant messaging account,
Include: to drive second smart machine to execute the step of operating according to the operational order
The operational order that first smart machine is sent is mapped as the readable operational order of the second smart machine;
The readable operational order is sent to the second instant messaging account, with drive second smart machine according to
The readable operational order executes operation.
A4, the method as described in A3, the operational order that the first smart machine is sent are mapped as the second smart machine
The step of readable operational order includes:
The operational order that first smart machine is sent is mapped as to the operational order of reference;
The operational order of reference is mapped as the readable operational order of the second smart machine.
A5, the method as described in A1 or A2 or A3 or A4, further includes:
Receive the formulation request sent by third instant messaging account;The third instant messaging account is instant with first
It communicates account binding, bound with the second instant messaging account;
From the matched function executing rule of rights parameters and second formulated and extracted in request with the second smart machine
Second instant messaging account of smart machine;
The function executing rule and the second instant messaging account are sent to the first instant messaging account, with configuration the
In one smart machine.
A6, method as described in a5, the rights parameters include below one or more:
The unlatching rights parameters of second smart machine, the closing rights parameters of the second smart machine, the second smart machine
Rights parameters, the read right parameter of the data of the second smart machine output, the number of the second smart machine output is arranged in function amplitude
According to write permission parameter, the forwarding rights parameters of the second smart machine notification message.
A7, method as described in a1,
The operational order includes:
Operating function mark;
Alternatively,
Operating function mark, operating parameter;
The rights parameters include:
The setting rights parameters of operating function mark;
Alternatively,
Setting rights parameters, the adjustment rights parameters of operating parameter of operating function mark.
A8, the method as described in A1 or A2 or A3 or A4 or A6 or A7, further includes:
Safety detection is carried out to the operational order;
When passing through safety detection, execution is described to be sent to the second instant messaging account for the operational order,
To drive second smart machine to execute the step of operating according to the operational order;
When not passing through safety detection, the operational order is sent to the second instant messaging account by refusal.
The embodiment of the invention discloses the communication devices between B9, a kind of smart machine based on instant messaging, comprising:
Call request receiving module, suitable for receive it is that the first smart machine is sent by the first instant messaging account, full
The call request generated when the preset function executing rule of foot;
Operation information extraction module, suitable for extracting the second instant messaging account and operational order from the call request,
Second instant messaging account is the account configured to the second smart machine;
Operational order sending module, suitable for the operational order is sent to the second instant messaging account, with driving
Second smart machine executes operation according to the operational order.
B10, the device as described in B9, the function executing rule are that a certain attribute of the first smart machine reaches preset
First threshold or preset first range, and/or, a certain attribute of local environment reaches preset second threshold or preset
The operation executed when two ranges.
B11, the device as described in B9, the operational order sending module are further adapted for:
The operational order that first smart machine is sent is mapped as the readable operational order of the second smart machine;
The readable operational order is sent to the second instant messaging account, with drive second smart machine according to
The readable operational order executes operation.
B12, device as described in b11, the operational order sending module are further adapted for:
The operational order that first smart machine is sent is mapped as to the operational order of reference;
The operational order of reference is mapped as the readable operational order of the second smart machine.
B13, the device as described in B9 or B10 or B11 or B12, further includes:
Request receiving module is formulated, suitable for receiving the formulation request sent by third instant messaging account;The third
Instant messaging account and the binding of the first instant messaging account are bound with the second instant messaging account;
Information extraction modules are formulated, are matched suitable for being extracted from formulation request with the rights parameters of the second smart machine
Function executing rule and the second smart machine the second instant messaging account;
Function executing rule sending module, suitable for the function executing rule and the second instant messaging account are sent to
One instant messaging account, to configure in the first smart machine.
B14, the device as described in B13, the rights parameters include below one or more:
The unlatching rights parameters of second smart machine, the closing rights parameters of the second smart machine, the second smart machine
Rights parameters, the read right parameter of the data of the second smart machine output, the number of the second smart machine output is arranged in function amplitude
According to write permission parameter, the forwarding rights parameters of the second smart machine notification message.
B15, the device as described in B9,
The operational order includes:
Operating function mark;
Alternatively,
Operating function mark, operating parameter;
The rights parameters include:
The setting rights parameters of operating function mark;
Alternatively,
Setting rights parameters, the adjustment rights parameters of operating parameter of operating function mark.
B16, the device as described in B9 or B10 or B11 or B12 or B14 or B15, further includes:
Safety detection module is suitable for carrying out safety detection to the operational order;When passing through safety detection, adjust
With operational order sending module;When not passing through safety detection, refusal sending module is called;
Refuse sending module, the operational order is sent to the second instant messaging account suitable for refusing.
Claims (14)
1. the communication means between a kind of smart machine based on instant messaging, comprising:
Receive the formulation request sent by third instant messaging account;The third instant messaging account and the first instant messaging
Account binding is bound with the second instant messaging account;
It is extracted in request and the matched function executing rule of rights parameters of the second smart machine and the second intelligence from described formulate
Second instant messaging account of equipment;
The function executing rule and the second instant messaging account are sent to the first instant messaging account, with configuration the
In one smart machine;
Receive it is that first smart machine is sent by the first instant messaging account, meeting the function executing rule
The call request of Shi Shengcheng;
The second instant messaging account and operational order are extracted from the call request, the second instant messaging account is
To the account of second smart machine configuration;
The operational order is sent to the second instant messaging account, to drive second smart machine according to the behaviour
Make instruction execution operation.
2. the method as described in claim 1, which is characterized in that the function executing rule is a certain category of the first smart machine
Property reaches preset first threshold or preset first range, and/or, a certain attribute of local environment reaches preset second threshold
The operation executed when value or preset second range.
3. the method as described in claim 1, which is characterized in that described that the operational order is sent to second Instant Messenger
Account is interrogated, includes: to drive second smart machine to execute the step of operating according to the operational order
The operational order that first smart machine is sent is mapped as the readable operational order of the second smart machine;
The readable operational order is sent to the second instant messaging account, to drive second smart machine according to described
Readable operational order executes operation.
4. method as claimed in claim 3, which is characterized in that the operational order for sending the first smart machine is mapped as
The step of second smart machine readable operational order includes:
The operational order that first smart machine is sent is mapped as to the operational order of reference;
The operational order of reference is mapped as the readable operational order of the second smart machine.
5. the method as described in claim 1, which is characterized in that the rights parameters include below one or more:
The unlatching rights parameters of second smart machine, the closing rights parameters of the second smart machine, the function of the second smart machine
Amplitude setting rights parameters, the read right parameter of the data of the second smart machine output, the data of the second smart machine output
Write permission parameter, the forwarding rights parameters of the second smart machine notification message.
6. the method as described in claim 1, which is characterized in that
The operational order includes:
Operating function mark;
Alternatively,
Operating function mark, operating parameter;
The rights parameters include:
The setting rights parameters of operating function mark;
Alternatively,
Setting rights parameters, the adjustment rights parameters of operating parameter of operating function mark.
7. the method as described in claims 1 or 2 or 3 or 4 or 5 or 6, which is characterized in that further include:
Safety detection is carried out to the operational order;
When passing through safety detection, execution is described to be sent to the second instant messaging account for the operational order, to drive
It moves second smart machine and executes the step of operating according to the operational order;
When not passing through safety detection, the operational order is sent to the second instant messaging account by refusal.
8. the communication device between a kind of smart machine based on instant messaging, comprising:
Call request receiving module, it is that the first smart machine is sent by the first instant messaging account, pre- in satisfaction suitable for receiving
If function executing rule when the call request that generates;
Operation information extraction module, suitable for extracting the second instant messaging account and operational order from the call request, second
Instant messaging account is the account configured to the second smart machine;
Operational order sending module, suitable for the operational order is sent to the second instant messaging account, described in driving
Second smart machine executes operation according to the operational order;
Request receiving module is formulated, suitable for receiving the formulation request sent by third instant messaging account;The third is instant
It communicates account and the binding of the first instant messaging account, bound with the second instant messaging account;
Information extraction modules are formulated, suitable for formulating the matched function of rights parameters extracted in request with the second smart machine from described
Second instant messaging account of energy executing rule and the second smart machine;
Function executing rule sending module, suitable for the function executing rule and the second instant messaging account are sent to first i.e.
When communicate account, with configure in the first smart machine.
9. device as claimed in claim 8, which is characterized in that the function executing rule is a certain category of the first smart machine
Property reaches preset first threshold or preset first range, and/or, a certain attribute of local environment reaches preset second threshold
The operation executed when value or preset second range.
10. device as claimed in claim 8, which is characterized in that the operational order sending module is further adapted for:
The operational order that first smart machine is sent is mapped as the readable operational order of the second smart machine;
The readable operational order is sent to the second instant messaging account, to drive second smart machine according to described
Readable operational order executes operation.
11. device as claimed in claim 10, which is characterized in that the operational order sending module is further adapted for:
The operational order that first smart machine is sent is mapped as to the operational order of reference;
The operational order of reference is mapped as the readable operational order of the second smart machine.
12. device as claimed in claim 8, which is characterized in that the rights parameters include below one or more:
The unlatching rights parameters of second smart machine, the closing rights parameters of the second smart machine, the function of the second smart machine
Amplitude setting rights parameters, the read right parameter of the data of the second smart machine output, the data of the second smart machine output
Write permission parameter, the forwarding rights parameters of the second smart machine notification message.
13. device as claimed in claim 8, which is characterized in that
The operational order includes:
Operating function mark;
Alternatively,
Operating function mark, operating parameter;
The rights parameters include:
The setting rights parameters of operating function mark;
Alternatively,
Setting rights parameters, the adjustment rights parameters of operating parameter of operating function mark.
14. the device as described in claim 8 or 9 or 10 or 11 or 12 or 13, which is characterized in that further include:
Safety detection module is suitable for carrying out safety detection to the operational order;When passing through safety detection, behaviour is called
Make instruction sending module;When not passing through safety detection, refusal sending module is called;
Refuse sending module, the operational order is sent to the second instant messaging account suitable for refusing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510502161.5A CN105049337B (en) | 2015-08-14 | 2015-08-14 | Communication means and device between a kind of smart machine based on instant messaging |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510502161.5A CN105049337B (en) | 2015-08-14 | 2015-08-14 | Communication means and device between a kind of smart machine based on instant messaging |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105049337A CN105049337A (en) | 2015-11-11 |
CN105049337B true CN105049337B (en) | 2019-06-04 |
Family
ID=54455558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510502161.5A Expired - Fee Related CN105049337B (en) | 2015-08-14 | 2015-08-14 | Communication means and device between a kind of smart machine based on instant messaging |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105049337B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018161851A1 (en) * | 2017-03-10 | 2018-09-13 | 腾讯科技(深圳)有限公司 | Device control method, storage medium, and computer device |
CN106878449B (en) * | 2017-03-10 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Apparatus control method and device |
CN108769114A (en) * | 2018-04-19 | 2018-11-06 | 贵州云通曙光技术服务有限公司 | Equipment and its data attribute setting method and computer readable storage medium |
Citations (5)
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 |
-
2015
- 2015-08-14 CN CN201510502161.5A patent/CN105049337B/en not_active Expired - Fee Related
Patent Citations (5)
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 |
---|---|
CN105049337A (en) | 2015-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10057079B2 (en) | Wireless building automation | |
US10002526B1 (en) | Internet-of-things systems and methods | |
KR101970029B1 (en) | Automated demand response system | |
US20150188855A1 (en) | Systems and Methods for Instant Messaging | |
CN105721426B (en) | Access authorization methods, server, target terminal equipment and the system of terminal device | |
CN105049337B (en) | Communication means and device between a kind of smart machine based on instant messaging | |
CN107085380A (en) | A kind of intelligent domestic system customer location determination methods and electronic equipment | |
CN106033375A (en) | System for power management and method thereof and non-transitory computer-readable medium | |
CN105049340A (en) | Method and device for accessing intelligent equipment based on instant communication | |
CN105208085B (en) | A kind of authority configuring method and device of the smart machine based on instant messaging | |
Deng | The embedded modules solution of household Internet of Things System and the future development | |
CN105049339A (en) | Method and device for loading control interface of intelligent device | |
CN105450714A (en) | Method and device for remotely controlling terminal application installation | |
CN106850418A (en) | A kind of gateway of intelligent home network | |
CN104283773A (en) | System for controlling internet-of-things devices through microblog | |
CN110782233A (en) | Authority management method based on OA approval and between business systems | |
CN105049338B (en) | A kind of interface creation method and device of the smart machine based on instant messaging | |
US9923769B2 (en) | Methods and systems for verifying installation of a device | |
KR101729062B1 (en) | Internet of Things Hardware system and a control method using mobile messenger | |
CN114280953A (en) | Scene mode creating method and device, electronic equipment and storage medium | |
CN104808619A (en) | Internet of things equipment control system based on automatic environment light control and method | |
CN105446803A (en) | Application management method and apparatus | |
CN105630654B (en) | System and method for the IP address for showing BMC | |
CN108965072B (en) | Intelligent gateway external equipment association control method | |
CN102882843B (en) | Encryption-software based automated detection and maintenance methods |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20190604 Termination date: 20210814 |
|
CF01 | Termination of patent right due to non-payment of annual fee |