CN108566624A - Control method, apparatus, mobile terminal and the storage medium of smart machine - Google Patents
Control method, apparatus, mobile terminal and the storage medium of smart machine Download PDFInfo
- Publication number
- CN108566624A CN108566624A CN201810344691.5A CN201810344691A CN108566624A CN 108566624 A CN108566624 A CN 108566624A CN 201810344691 A CN201810344691 A CN 201810344691A CN 108566624 A CN108566624 A CN 108566624A
- Authority
- CN
- China
- Prior art keywords
- control device
- instruction
- mobile terminal
- control
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention relates to a kind of method, apparatus, mobile terminal and the storage mediums of control smart machine.The above method, including:Acquire the location information of mobile terminal;When detecting that the mobile terminal is located in the first distance range of control device according to the positional information, the first instruction is sent to server, first instruction is used to indicate the server and generates the second instruction according to first instruction, then second instruction is sent to the control device;Second instruction is used to indicate the control device and controls the Intelligent target equipment.Method, apparatus, mobile terminal and the storage medium of above-mentioned control smart machine can send from trend control device and instruct, realize automatically controlling for smart machine, simplify operation.
Description
Technical field
This application involves Internet technical fields, eventually more particularly to a kind of method, apparatus of control smart machine, movement
End and storage medium.
Background technology
With the rapid development of computer technology, smart machine occupies increasing ground in daily life
Position, such as the smart home that can promote house security, convenience etc., the intelligent automobile etc. for gradually entering into popular life all belong to
In smart machine.User can control smart machine by control devices such as intelligent sound box, mobile phones.And in traditional mode
In, user, which needs to send to control device by modes such as button, voices, to be notified, smart machine could be controlled, cumbersome.
Invention content
The embodiment of the present application provides a kind of method, apparatus, mobile terminal and the storage medium of control smart machine, can be certainly
Trend control device sends instruction, realizes automatically controlling for smart machine, simplifies operation.
A method of control smart machine, including:
Acquire the location information of mobile terminal;
When detecting that the mobile terminal is located in the first distance range of control device according to the positional information, to
Server sends the first instruction, and first instruction is used to indicate the server and is referred to according to the first instruction generation second
It enables, then second instruction is sent to the control device;Second instruction is used to indicate the control device to described
Intelligent target equipment is controlled.
A method of control smart machine, including:
Monitor the detectable signal that control device is sent;
When detecting the detectable signal that the control device is sent, feedback command is sent to the control device, it is described
Feedback command is used to indicate the control device and determines Intelligent target equipment according to the feedback command, and to the Intelligent target
Equipment is controlled.
A kind of device of control smart machine, including:
Station acquisition module, the location information for acquiring mobile terminal;
Instruction sending module, for that ought detect that the mobile terminal is located at the of control device according to the positional information
When in one distance range, the first instruction is sent to server, first instruction is used to indicate the server according to described the
One instruction generates the second instruction, then second instruction is sent to the control device;Second instruction is used to indicate institute
Control device is stated to control the Intelligent target equipment.
A kind of mobile terminal, including memory and processor are stored with computer program, the calculating in the memory
When machine program is executed by the processor so that the processor realizes method as described above.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
Method as described above is realized when row.
Method, apparatus, mobile terminal and the storage medium of above-mentioned control smart machine acquire the position letter of mobile terminal
Breath, when detecting that mobile terminal is located in the first distance range of control device according to location information, to server transmission the
One instruction, server can generate the second instruction according to the first instruction, and send the second instruction to control device, and control device can root
Intelligent target equipment is controlled according to the second instruction, location information can be based on and send instruction from trend control device, realized
Smart machine automatically controls, and simplifies operation.In addition, control device is sent instructions to by server, it can be to control device
Remote control is carried out, while realizing being uniformly controlled for different intelligent equipment.
Description of the drawings
Fig. 1 is the application scenario diagram that smart machine is controlled in one embodiment;
Fig. 2 is the block diagram of mobile terminal in one embodiment;
Fig. 3 is the interaction sequence diagram of the method for control smart machine in one embodiment;
Fig. 4 is the flow diagram of the method for control smart machine in one embodiment;
Fig. 5 is that server generates the second instruction according to the first instruction in one embodiment, and sends second to control device
The flow diagram of instruction;
Fig. 6 is that mobile terminal sends the flow diagram that third instructs to control device in one embodiment;
Fig. 7 is the flow diagram that the detectable signal that control device is sent is monitored in one embodiment;
Fig. 8 is the application scenario diagram that smart machine is controlled in another embodiment;
Fig. 9 is the block diagram of the device of control smart machine in one embodiment;
Figure 10 is the block diagram of mobile terminal in another embodiment.
Specific implementation mode
It is with reference to the accompanying drawings and embodiments, right in order to make the object, technical solution and advantage of the application be more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the application, not
For limiting the application.
It is appreciated that term " first " used in this application, " second " etc. can be used to describe herein various elements,
But these elements should not be limited by these terms.These terms are only used to distinguish first element and another element.Citing comes
It says, in the case where not departing from scope of the present application, the first client can be known as the second client, and similarly, can incite somebody to action
Second client is known as the first client.First client and the second client both client, but it is not same visitor
Family end.
Fig. 1 is the application scenario diagram that smart machine is controlled in one embodiment.As shown in Figure 1, mobile terminal 10 can be with clothes
Business device 20 passes through network connection, wherein server 20 can be an individual server, can also be by multiple server groups
At server cluster or server cluster in a certain server.Mobile terminal 10 can acquisition position information, work as movement
When terminal 10 is detected according to location information in the first distance range of control device 30, first can be sent to server 20
Instruction.Server 20 receives the first instruction that mobile terminal 10 is sent, and can generate the second instruction according to the first instruction.Server 20
Network connection can be passed through with control device 30.Second instruction can be sent to control device 30 by server.Control device 30 receives
The second instruction that server 20 is sent can control Intelligent target equipment 40 according to the second instruction.
Fig. 2 is the block diagram of above-mentioned mobile terminal 10 in one embodiment.As shown in Fig. 2, the mobile terminal 10 includes passing through
Processor, memory, network interface, display screen and the input unit of system bus connection.Wherein, memory may include non-volatile
Property storage medium and processor.The non-volatile memory medium of mobile terminal 10 is stored with operating system and computer program, should
Method when computer program is executed by processor to realize a kind of control smart machine provided in the embodiment of the present application.At this
Device is managed for providing calculating and control ability, supports the operation of entire mobile terminal 10.Built-in storage in mobile terminal 10 is
The operation of computer program in non-volatile memory medium provides environment.The network interface of mobile terminal 10 is used for and server
Carry out data transmission Deng other electronic equipments, for example, first instruction etc. can be sent to server by network interface.Mobile terminal
10 display screen can be liquid crystal display or electric ink display screen etc., and input unit can be touching of being covered on display screen
Layer is touched, can also be button, trace ball or the Trackpad being arranged on 10 shell of mobile terminal, can also be external keyboard, touch
Control plate or mouse etc..The mobile terminal can be mobile phone, tablet computer or personal digital assistant or Wearable etc..Ability
Field technique personnel are appreciated that structure shown in Figure 2, only with the block diagram of the relevant part-structure of application scheme, and
The restriction for the mobile terminal 10 being applied thereon to application scheme is not constituted, and specific mobile terminal 10 may include than figure
Shown in more or fewer components, either combine certain components or arranged with different components.
Fig. 3 is the interaction sequence diagram of the method for control smart machine in one embodiment.As shown in figure 3, mobile terminal 10,
The interactive process of server 20, control device 30 and Intelligent target equipment 40 may include following steps:
Step 1,10 acquisition position information of mobile terminal.
Step 2, when mobile terminal 10 is located in the first distance range of control device 30, to server 20 send first
Instruction.
In one embodiment, it is set positioned at least two controls when mobile terminal 10 is detected according to the location information of acquisition
When in standby 30 the first distance range, the status information of at least two control devices 30 can be obtained.Mobile terminal 10 can choose place
The first instruction is sent in the control device 30 of idle state, and to server 20, the first instruction can carry the control device of selection
30 second identifier.
Step 3, server 20 generate the second instruction according to the first instruction.
In one embodiment, server 20 receives the first instruction that mobile terminal 10 is sent, and can be obtained according to the first instruction
Take the second identifier of the first identifier and control device 30 of mobile terminal 10.Server 20 can be according to first identifier and second identifier
Configuration information is obtained, and determines that Intelligent target equipment 40 and control corresponding with Intelligent target equipment 40 are believed according to configuration information
Breath.Server 20 can generate the second instruction according to determining Intelligent target equipment 40 and control information, and the second instruction is sent
To control device 30.
Step 4, server 20 send the second instruction to control device 30.
Step 5, control device 30 control Intelligent target equipment 40 according to the second instruction.
In one embodiment, when mobile terminal 10 detects the second distance positioned at control device 30 according to location information
When in range, the configuration information corresponding with the control device 30 of storage can be obtained.Mobile terminal 10 is generated according to configuration information
Third instructs, and third instruction carries the third mark of Intelligent target equipment 40, and third instruction is sent to control device 30.Control
Control equipment 30 can identify matched Intelligent target equipment 40 with third according to third instruction pair and control.
In one embodiment, mobile terminal 10 generates third instruction according to configuration information, and third instruction can carry control
Information.Third can be instructed and be sent to control device 30 by mobile terminal 10.Control device 30 can instruct the control carried according to third
Information processed determines Intelligent target equipment 40, and controls Intelligent target equipment 40.
In one embodiment, when mobile terminal 10 detects the second distance positioned at control device 30 according to location information
When in range, mobile terminal 10 can detect whether the communication authority for having with the control device 30.It is mobile if having communication authority
Terminal 10 can obtain the configuration information corresponding with the control device 30 of storage, and generate third instruction according to configuration information, then
Third instruction is sent to control device 30.If not having communication authority, mobile terminal 10 can send first to server 20 and refer to
It enables, server 20 can generate the second instruction according to the first instruction, then the second instruction is sent to control device 30.
In one embodiment, when meeting acquisition mode, control device 30 can periodically send detectable signal.It is mobile
Terminal 10 can monitor the detectable signal of the transmission of control device 30.Optionally, when the clock time of mobile terminal 10 is in detection
Between section when, obtain corresponding with detection time section control device 30, the detection that the corresponding control device 30 is sent can be monitored
Signal.When mobile terminal 10 detects the detectable signal that control device 30 is sent, feedback command is sent to control device 30.Control
Control equipment 30 determines Intelligent target equipment 40 according to feedback command, and controls Intelligent target equipment 40.
As shown in figure 4, in one embodiment, providing a kind of method of control smart machine, being adaptable to as shown in Figure 2
Mobile terminal, this approach includes the following steps:
Step 410, the location information of mobile terminal is acquired.
Mobile terminal can acquire the location information of itself, and location information can be used for the geography for indicating that mobile terminal is presently in
Position, the latitude and longitude coordinates that position coordinates can be currently located with mobile terminal are indicated.Longitude and latitude is longitude and latitude composition
A coordinate system, referred to as geographical co-ordinate system, it is a kind of spherical surface using three-dimensional space to define tellurian space
Spherical coordinate system, any one tellurian position can be indicated.
Mobile terminal can be defended by global positioning system (Global Positioning System, GPS), worldwide navigation
Star system (Global Navigation Satellite System, GNSS) is based on mobile location-based service (Location
Based Service, LBS) etc. the current location information of acquisitions.GPS be it is a kind of utilize GPS positioning satellite, in the world
The system positioned in real time, navigated.GNSS is to utilize the observation positions such as pseudorange, ephemeris, the satellite launch time of one group of satellite
System, GNSS be can at the earth's surface or any place of terrestrial space provide round-the-clock three-dimensional coordinate and speed and
The space base radio-navigation positioning system of temporal information.LBS can be by the radio communication network of common carrier, such as entirely
Ball mobile communication system (Global System for Mobile Communication, GSM) net, CDMA (Code
Division Multiple Access, CDMA) net etc. obtains the location information of mobile terminal.
In one embodiment, mobile terminal can be positioned by base station, obtain location information, base station location is LBS
In a kind of mode.Mobile terminal can measure the down-bound pilot frequency signal of different base station, obtain different base station down-bound pilot frequency signal
Arrival time.Mobile terminal can be calculated according to the arrival time of each base station down pilot signal and the position coordinates of base station
To the location information of mobile terminal, mobile terminal is positioned to realize.The Base Station Identification of the recordable connection of mobile terminal,
And whether change every the Base Station Identification of first time period detection connection, if changing, mobile terminal can be explained
Location information changes, and can acquire the location information of mobile terminal.Optionally, other triggerings can be also set according to actual demand
The condition of the location information of mobile terminal is acquired, for example, can periodically be adopted when the clock time of mobile terminal reaches predetermined time
Collect location information, can also be when mobile terminal be waken up, acquisition position information etc., but not limited to this.
In one embodiment, mobile terminal can timing acquiring location information, every second time period acquisition be presently in
Position, wherein second time period can be set according to actual demand, such as 5 minutes, 10 minutes etc., but not limited to this.It moves
Dynamic terminal can be detected whether according to location information in the first distance range of control device, wherein control device refers to
The equipment that can be used for controlling smart machine, for example, intelligent sound box, controller, mobile phone or other etc. be integrated with intelligence set
The electronic equipment of standby control function.Control device can control one or more smart machines.
Mobile terminal can be previously stored with the location information of one or more control devices, acquire the position letter of mobile terminal
After breath, can respectively according to the positional information calculation mobile terminal and control device of the location information of mobile terminal and control device it
Between distance.Mobile terminal can determine whether the distance between control device is less than or equal to the first distance, if so, judgement
Mobile terminal is located in the first distance range of the control device, if it is not, then can determine that mobile terminal is not located at the control device
The first distance range in.
Step 420, when detecting that mobile terminal is located in the first distance range of control device according to location information, to
Server sends the first instruction, and the first instruction is used to indicate server and generates the second instruction according to the first instruction, then second is referred to
Order is sent to the control device;Second instruction is used to indicate control device and controls Intelligent target equipment.
When mobile terminal is determined according to the location information of acquisition to be currently in the first distance range of control device,
Can server send first instruction, wherein the first distance can be larger distance, and the first distance can be carried out according to actual demand
Setting, such as 500 meters, 800 meters etc., but not limited to this.After server receives the first instruction, movement can be obtained according to the first instruction
The first identifier of terminal and the second identifier of control device.The first identifier of mobile terminal can be used for unique mark mobile terminal,
The second identifier of control device can be used for unique mark control device.Mark can be international mobile equipment identification number
(International Mobile Equipment Identity, IMEI), can also be media access control layer (Media
Access Control, MAC) address etc..
Server can determine Intelligent target equipment according to the first instruction, wherein Intelligent target equipment refer to needing to ask into
The smart machine of row control.Server is produced to be instructed with control device matched second, is matched with control device and is referred to energy
Enough controlled devices receive and identify.The control device of different brands, different model or different product can match different second
Instruction.Second instruction can carry the third mark of Intelligent target equipment, wherein third mark can be used for unique mark and intelligently set
Standby, third mark can be MAC Address, title or device numbering of smart machine etc..Server produces and control device
Matched second instruction, can be managed collectively the control device of different brands, different model.
Server can send the second instruction to control device can parse the second instruction after control device receives the second instruction,
Obtain the third mark and control information of Intelligent target equipment.Control information may include but be not limited to Control Cooling, control content
Deng different target smart machine may include that one or more Control Coolings, such as the Control Cooling of XX board air-conditionings may include selecting
Air conditioning mode, adjusting temperature, unlatching/closing etc., wherein the control content of air conditioning mode is selected to may include refrigeration mode, heating
Pattern, dehumidification mode etc., the control content for adjusting temperature may include each temperature value, such as 23 DEG C (degree Celsius) etc., but not
It is limited to this.Control device can to and obtained third identify matched Intelligent target equipment and send control corresponding with information is controlled
Signal controls Intelligent target equipment, so that Intelligent target equipment is executed and controls that information is corresponding operates.
In one embodiment, server receives the first instruction that mobile terminal is sent, and can determine control according to the first instruction
Information processed, and generate and instructed with control device matched second, the second instruction can carry control information.Server refers to second
Order is sent to control device, and control device can parse the second instruction, obtain control information.Control device can be according to control
Information determines Intelligent target equipment, and sends control signal corresponding with control information to Intelligent target equipment, to Intelligent target
Equipment is controlled, and so that Intelligent target equipment is executed and is controlled that information is corresponding operates.For example, the control carried in the second instruction
Information is to adjust temperature to 20 DEG C, and control device can determine that the Intelligent target equipment controlled is according to the control information
Air-conditioning A can then be adjusted the temperature of air-conditioning A to 20 DEG C.
In one embodiment, user can send control instruction to mobile terminal, and mobile terminal can receive the control of user
Instruction, and the first instruction is sent to server according to control instruction, wherein the control instruction that user sends can be that voice refers to
It enables, is in touch command and image command etc. one or more.Server receives the first instruction, can obtain control according to the first instruction
Second identifier, the third of Intelligent target equipment mark and the control information of control equipment.Server can be according to Intelligent target equipment
Third identifies and control information generates the second instruction, and sends the second instruction to the matched control device of second identifier.Control
After equipment receives the second instruction, Intelligent target equipment is controlled according to the second instruction.
In the present embodiment, the location information for acquiring mobile terminal, when detecting that mobile terminal is located at according to location information
When in the first distance range of control device, the first instruction is sent to server, server can generate second according to the first instruction
Instruction, and the second instruction is sent to control device, control device can control Intelligent target equipment according to the second instruction, can
Instruction is sent from trend control device to be based on location information, automatically controlling for smart machine is realized, simplifies operation.In addition, logical
It crosses server and sends instructions to control device, remote control can be carried out to control device, while realizing different intelligent equipment
Be uniformly controlled.
As shown in figure 5, in one embodiment, the first instruction may be used to indicate that server executes following steps:
Step 502, the second identifier of the first identifier and control device of mobile terminal is obtained according to the first instruction.
Step 504, configuration information is obtained according to first identifier and second identifier, and Intelligent target is determined according to configuration information
Equipment and control information corresponding with Intelligent target equipment.
Server receives the first instruction that mobile terminal is sent, and can parse the first instruction, obtains the first mark of mobile terminal
Know the second identifier with control device.Server can obtain configuration information, the configuration information according to first identifier and second identifier
It may include the third mark of Intelligent target equipment, and control information corresponding with Intelligent target equipment.Optionally, user can first exist
The control of selection target smart machine and required progress operates on mobile terminal, and mobile terminal can operate life according to the user's choice
At corresponding configuration information, and configuration information is uploaded to server and is stored.
For example, first selection target smart machine is AA board LCD TVs, the control of required progress to user on mobile terminals
To open AA boards LCD TV and being transferred to B TV stations, mobile terminal can operate according to the selection and generate corresponding configuration information, match
Confidence breath in may include AA board LCD TVs third mark and control information, control information may include Control Cooling be open,
Adjusting channel, control content are to be transferred to B TV stations.
After server receives the configuration information that mobile terminal uploads, the Intelligent target for including in extractable configuration information is set
It is standby, and obtain the control device that can control the Intelligent target equipment.Server can establish configuration information, upload mobile terminal
First identifier and acquisition control device second identifier between correspondence.When server receives the first instruction, and
After obtaining the first identifier of mobile terminal and the second identifier of control device, it can be obtained according to correspondence and first identifier and the
The corresponding configuration information of two marks.
Step 506, the second instruction is generated according to Intelligent target equipment and control information, and the second instruction is sent to control
Equipment.
Server can be identified according to the third for the Intelligent target equipment for including in configuration information, and with Intelligent target equipment pair
The control information answered is generated to be instructed with control device matched second, and the second instruction is sent to control device.Control device
After receiving the second instruction, the second instruction can be parsed, obtains the third mark and control information of Intelligent target equipment.Control device can
It is instructed to Intelligent target equipment according to second and sends control signal, Intelligent target equipment is controlled, Intelligent target equipment is made
It executes and controls that information is corresponding operates.
In one embodiment, also only can include control information in configuration information can root after server obtains configuration information
The second instruction is generated according to the control information for including in configuration information, and the second instruction is sent to control device.Control device can
After receiving the second instruction, the second instruction can be parsed, obtains control information.Control device can determine target according to the control information
Smart machine, and target intelligence equipment is controlled.Optionally, control device can determine that Intelligent target is set according to selection condition
Standby, selection condition can be set according to actual demand.For example, control device can first obtain each achievable control information
Smart machine can therefrom the nearest smart machine of selected distance control device be made when the smart machine of acquisition is at least two
For Intelligent target equipment etc., but not limited to this.
In the present embodiment, server can obtain configuration information according to first identifier and second identifier, and according to confidence
Breath generates the second instruction, and the second instruction is sent to control device, automatically controls to Intelligent target equipment to realize, may be used also
To carry out remote control to control device, while realizing being uniformly controlled for different intelligent equipment.
In one embodiment, step 420 is worked as detects that mobile terminal is located at the first of control device according to location information
When in distance range, the first instruction is sent to server, including:When according to location information detect mobile terminal be located at least two
When in the first distance range of a control device, the status information of at least two control devices is obtained, selection is in idle condition
Control device, and to server send first instruction, first instruction carry choose control device second identifier.
It, can be respectively according to one or more control devices of the location information and storage after mobile terminal acquisition position information
Positional information calculation mobile terminal and the distance between each control device.When detect the presence of at least two control devices with
The distance of mobile terminal be less than or equal to first apart from when, then can be explained mobile terminal simultaneously be located at least two control device
The first distance range in.Mobile terminal can obtain the status information of at least two control device, and status information may include work
Make state and idle state etc., wherein working condition refers to that control device is in the operating status being currently being used, idle shape
State refers to that control device is in the state being not used, such as dormant state etc..
In one embodiment, mobile terminal can send state to server and obtain request, and server reception state obtains
After request, can analysis state obtain request obtain the second identifier of at least two control device.Server can be according to this at least
The second identifier of two control devices sends detection signal at least two control device.Control device receives detection signal
Afterwards, current status information can be sent to server.Server receives the status information of at least two control device return
Afterwards, then by status information it is sent to mobile terminal.It, can be from after mobile terminal receives the status information of at least two control device
In select the control device being in idle condition, and send the first instruction to server, the first instruction can carry selection
The second identifier of control device.Server can send the second instruction to the control device of selection, pass through the control device of the selection
Intelligent target equipment is controlled.
In the present embodiment, it when mobile terminal is located in the first distance range of at least two control devices, can choose
The control device being in idle condition controls Intelligent target equipment, improves control efficiency.
As shown in fig. 6, in one embodiment, after the location information that step 410 acquires mobile terminal, further include with
Lower step:
Step 602, it when detecting that mobile terminal is located within the scope of the second distance of control device according to location information, obtains
Take the configuration information corresponding with control device of storage.
Mobile terminal acquisition position information, and according to the location information of the location information of mobile terminal and each control device
Mobile terminal is calculated at a distance from each control device.It, can when mobile terminal is less than second distance at a distance from control device
Judge that mobile terminal is located within the scope of the second distance of control device.Second distance is smaller than the first distance, and second distance can be with
It is closer distance, such as can is 10 meters, 7 meters etc., second distance, which can be control device, can receives mobile terminal hair
The distance for the instruction sent.
When mobile terminal is located within the scope of the second distance of control device, mobile terminal can directly be sent to control device
Third instructs, and is controlled Intelligent target equipment by control device, without being sent to control device by server
Instruction.Mobile terminal can obtain the configuration information corresponding with control device being locally stored, which may include target intelligence
The third mark of energy equipment, and control information corresponding with Intelligent target equipment.
Optionally, user can first the control of selection target smart machine and required progress operates on mobile terminals, mobile
Terminal can operate according to the user's choice to be generated corresponding configuration information and is stored.Mobile terminal, which can obtain control, matches
The control device for the Intelligent target equipment for including in confidence breath, and establish the correspondence of the control device and configuration information.When
When mobile terminal is located within the scope of the second distance of control device, match corresponding with the control device can be obtained according to correspondence
Confidence ceases.
Step 604, third instruction is generated according to configuration information, third instruction carries the third mark of Intelligent target equipment.
Step 606, third instruction is sent to the control device, third instruction is used to indicate control device pair and third
Matched Intelligent target equipment is identified to be controlled.
Acquisition for mobile terminal configuration information corresponding with control device can extract the Intelligent target for including in configuration information and set
Standby third mark and control information corresponding with Intelligent target equipment can identify and control information generation third according to third and refer to
It enables.Mobile terminal can send third instruction to control device.After control device receives third instruction, third can be instructed and be solved
Analysis obtains the third mark and control information of Intelligent target equipment.Control device can identify matched Intelligent target to third
Equipment, which is sent, to be executed with the corresponding control signal of control information, control targe smart machine and controls that information is corresponding to be operated.
In one embodiment, can only include to control information in configuration information, acquisition for mobile terminal is corresponding with control device
Configuration information after, can according to include in configuration information control information generate third instruction.Mobile terminal can instruct third
It is sent to control device.Control device receives third instruction, can instruct and parse to third, obtains the control that third control carries
Information processed, and Intelligent target equipment is determined according to the control information.Control device can send and control to determining Intelligent target equipment
The corresponding control signal of information processed, control targe smart machine execute and control that information is corresponding to be operated.
In one embodiment, when mobile terminal is located within the scope of the second distance of control device, it can detect whether have
The standby communication authority with the control device.Communication authority refers to the permission that can be communicated with control device, if having communication
Permission, mobile terminal can carry out normal communication with control device, can carry out data transmission between control device.Optionally, it moves
Dynamic terminal can detect whether to be stored with communication interface corresponding with the control device, if there is storage, can determine have communication
If permission can determine do not have communication authority without communication interface.If mobile terminal has the right of correspondence with the control device
Limit can obtain configuration information corresponding with control device, and generate third instruction according to configuration information, and third instruction is sent to
Control device, to pass through control device control targe smart machine.If mobile terminal does not have the communication with the control device
Permission can then send the first instruction to server, the second instruction be sent to control device by server, to control targe intelligence
It can equipment.
In one embodiment, if detecting that mobile terminal is located at the second distance range of control device according to location information
It is interior, can determine whether previously whether the second instruction has been sent to the control device by server.If mobile terminal warp-wise service
Device sends the first instruction, and sends the second instruction to the control device by server, controls Intelligent target equipment.Mesh
Mark smart machine has been in by state of a control, then third instruction can not be sent to control device.
In the present embodiment, location information can be based on and sends instruction from trend control device, smart machine automatically controls,
It is triggered manually without user, and server stress can be mitigated.
As shown in fig. 7, in one embodiment, the method for above-mentioned control smart machine includes the following steps:
Step 702, when meeting acquisition mode, the detectable signal that control device is sent is monitored.
When meeting acquisition mode, control device can periodically send detectable signal, which can be used for visiting
Observing and controlling control equipment whether there is mobile terminal in third distance range, which can receive detection letter
Number distance.Acquisition mode can be set according to actual demand, and acquisition mode can be time state, for example work as current time
In scheduled detection time section, control device can periodically send detectable signal.Acquisition mode can also be startup shape
State can periodically send detectable signal when control device starts and brings into operation.
The detectable signal that mobile terminal can send control device is monitored, and detectable signal can be according to control device and shifting
The data format that dynamic terminal is made an appointment is constructed, when mobile terminal receives the signal for the data format that satisfaction is made an appointment
When, then it can determine the detectable signal for receiving control device.
In one embodiment, acquisition mode can be preset detection time section, and different control devices can be distinguished
Corresponding different detection time section, each control device send detectable signal in different detection time sections.At current time
When control device corresponding detection time section, control device can periodically send detectable signal.When the clock of mobile terminal
Moment is in detection time section, if obtaining control device corresponding with the detection time section, and monitors the corresponding control device
The detectable signal of transmission.
Step 704, when detecting the detectable signal that control device is sent, feedback command, feedback are sent to control device
Instruction is used to indicate control device and determines Intelligent target equipment according to feedback command, and controls Intelligent target equipment.
When mobile terminal receive control device transmission detectable signal, can to control device send feedback command.Feedback
It may include the third mark of Intelligent target equipment and control information corresponding with Intelligent target equipment in instruction.Control device receives
The feedback command can parse feedback command and obtain the third mark and control information of Intelligent target equipment.Control device can basis
Feedback command controls Intelligent target equipment.Control device can to third identify matched Intelligent target equipment send with
Control the corresponding control signal of information, control targe smart machine executes and controls that information is corresponding to be operated.
Fig. 8 is the application scenario diagram of the method for control smart machine in another embodiment.As shown in figure 8, being visited when meeting
When survey shape is sincere, control device 30 can periodicity sending detectable signal.Mobile terminal 10 can monitor the detection of the transmission of control device 30
Signal can return to feedback command when the detectable signal for receiving the transmission of control device 30 to control device 30.Control device 20 connects
The feedback command that mobile terminal 10 returns is received, Intelligent target equipment 40 can be determined according to feedback command, and according to feedback command pair
Intelligent target equipment 40 is controlled.
In the present embodiment, control device can periodicity sending detectable signal, mobile terminal can according to receive detectable signal
Automatic to send feedback command, realization automatically controls smart machine, simplifies user's operation and improves control efficiency.
In one embodiment, a kind of method of control device is provided, is included the following steps:
Step (a) monitors the detectable signal that control device is sent.
Control device can periodically send detectable signal, the detectable signal can be used for detect control device third away from
From whether there is mobile terminal in range, which can receive the distance of the detectable signal.
In one embodiment, when meeting acquisition mode, control device can periodically send detectable signal.Detect shape
State can be set according to actual demand, and acquisition mode can be time state, such as when current time is in scheduled detection
In period, control device can periodically send detectable signal.Acquisition mode can also be starting state, when control device opens
When moving and bringing into operation, detectable signal can be periodically sent.
The detectable signal that mobile terminal can send control device is monitored, and detectable signal can be according to control device and shifting
The data format that dynamic terminal is made an appointment is constructed, when mobile terminal receives the signal for the data format that satisfaction is made an appointment
When, then it can determine the detectable signal for receiving control device.
In one embodiment, acquisition mode can be preset detection time section, and different control devices can be distinguished
Corresponding different detection time section, each control device send detectable signal in different detection time sections.At current time
When control device corresponding detection time section, control device can periodically send detectable signal.When the clock of mobile terminal
Moment is in detection time section, if obtaining control device corresponding with the detection time section, and monitors the corresponding control device
The detectable signal of transmission.
Step (b) sends feedback command, feedback when detecting the detectable signal that control device is sent to control device
Instruction is used to indicate control device and determines Intelligent target equipment according to the feedback command, and is controlled to Intelligent target equipment
System.
When mobile terminal receive control device transmission detectable signal, can to control device send feedback command.Feedback
It may include the third mark of Intelligent target equipment and control information corresponding with Intelligent target equipment in instruction.Control device receives
The feedback command can parse feedback command and obtain the third mark and control information of Intelligent target equipment.Control device can basis
Feedback command controls Intelligent target equipment.Control device can to third identify matched Intelligent target equipment send with
Control the corresponding control signal of information, control targe smart machine executes and controls that information is corresponding to be operated.
In the present embodiment, control device can periodicity sending detectable signal, mobile terminal can according to receive detectable signal
Automatic to send feedback command, realization automatically controls smart machine, simplifies user's operation and improves control efficiency.
It should be understood that although each step in above-mentioned each flow diagram is shown successively according to the instruction of arrow
Show, but these steps are not the inevitable sequence indicated according to arrow to be executed successively.Unless expressly state otherwise herein, this
There is no stringent sequences to limit for the execution of a little steps, these steps can execute in other order.Moreover, above-mentioned each stream
At least part step in journey schematic diagram may include that either these sub-steps of multiple stages or stage be simultaneously for multiple sub-steps
It is not necessarily and executes completion in synchronization, but can execute at different times, the execution in these sub-steps or stage
Sequence is also not necessarily and carries out successively, but can with other steps either the sub-step of other steps or stage at least one
Part executes in turn or alternately.
As shown in figure 9, in one embodiment, providing a kind of device 900 of control smart machine, including station acquisition mould
Block 922 and instruction sending module 924.
Station acquisition module 922, the location information for acquiring mobile terminal.
Instruction sending module 924, for when according to location information detect mobile terminal be located at the first of control device away from
When from range, the first instruction is sent to server, the first instruction is used to indicate server and refers to according to the first instruction generation second
It enables, then the second instruction is sent to control device;Second instruction is used to indicate control device and controls Intelligent target equipment.
In the present embodiment, the location information for acquiring mobile terminal, when detecting that mobile terminal is located at according to location information
When in the first distance range of control device, the first instruction is sent to server, server can generate second according to the first instruction
Instruction, and the second instruction is sent to control device, control device can control Intelligent target equipment according to the second instruction, can
Instruction is sent from trend control device to be based on location information, automatically controlling for smart machine is realized, simplifies operation.In addition, logical
It crosses server and sends instructions to control device, remote control can be carried out to control device, while realizing different intelligent equipment
Be uniformly controlled.
In one embodiment, the first instruction is additionally operable to instruction server and obtains the of mobile terminal according to the first instruction
The second identifier of one mark and control device obtains configuration information according to first identifier and second identifier, and according to configuration information
Intelligent target equipment and control information corresponding with Intelligent target equipment are determined, further according to Intelligent target equipment and control information life
It is sent to the control device at the second instruction, and by the second instruction.
In the present embodiment, server can obtain configuration information according to first identifier and second identifier, and according to confidence
Breath generates the second instruction, and the second instruction is sent to control device, automatically controls to Intelligent target equipment to realize, may be used also
To carry out remote control to control device, while realizing being uniformly controlled for different intelligent equipment.
In one embodiment, instruction sending module 924, including state acquiring unit and transmission unit.
State acquiring unit, for when detecting that mobile terminal is located at the of at least two control devices according to location information
When in one distance range, the status information of at least two control devices is obtained.
Transmission unit sends the first instruction for choosing the control device being in idle condition, and to server, and first refers to
Enable the second identifier for carrying the control device chosen.
In the present embodiment, it when mobile terminal is located in the first distance range of at least two control devices, can choose
The control device being in idle condition controls Intelligent target equipment, improves control efficiency.
In one embodiment, the device 900 of above-mentioned control smart machine, in addition to including station acquisition module 922 and referring to
Sending module 924 is enabled, further includes configuration acquisition module and generation module.
Acquisition module is configured, detects that mobile terminal is located at the second distance model of control device according to location information for working as
When enclosing interior, the configuration information corresponding with control device of storage is obtained.
Generation module, for generating third instruction according to configuration information, third instruction carries the third of Intelligent target equipment
Mark.
Instruction sending module 924 is additionally operable to third instruction being sent to control device, and third instruction is used to indicate control and sets
Standby pair identifies matched Intelligent target equipment with third and controls.
In one embodiment, generation module is additionally operable to generate third instruction according to configuration information, and third instruction carries control
Information processed;
Instruction sending module 924 is additionally operable to third instruction being sent to control device, and third instruction is used to indicate control and sets
It is standby to determine Intelligent target equipment according to the control information, and Intelligent target equipment is controlled.
Optionally, the device 900 of above-mentioned control smart machine further includes permission detection module.
Permission detection module, for detecting whether mobile terminal has communication authority with control device.
Acquisition module is configured, if being additionally operable to have communication authority, the corresponding with control device of storage is obtained and matches confidence
Breath.
Instruction sending module 924 sends the first instruction if being additionally operable to not have communication authority to server.
In the present embodiment, location information can be based on and sends instruction from trend control device, smart machine automatically controls,
It is triggered manually without user, and server stress can be mitigated.
In one embodiment, the device 900 of above-mentioned control smart machine, in addition to including station acquisition module 922, instruction
Sending module 924, configuration acquisition module, generation module and permission detection module, further include monitoring module.
Module is monitored, for when meeting acquisition mode, monitoring the detectable signal that control device is sent.
Optionally, module is monitored, is additionally operable to when the clock time of mobile terminal is in detection time section, obtains and detects
Period corresponding control device monitors the detectable signal that corresponding control device is sent.
Instruction sending module 924 is additionally operable to, when detecting the detectable signal that control device is sent, send to control device
Feedback command, feedback command is used to indicate control device and determines Intelligent target equipment according to feedback command, and is set to Intelligent target
It is standby to be controlled.
In the present embodiment, control device can periodicity sending detectable signal, mobile terminal can according to receive detectable signal
Automatic to send feedback command, realization automatically controls smart machine, simplifies user's operation and improves control efficiency.
In one embodiment, a kind of device of control smart machine is provided, including monitors module and instruction sending module.
Module is monitored, the detectable signal for monitoring control device transmission.
Optionally, module is monitored, is additionally operable to when the clock time of mobile terminal is in detection time section, obtains and detects
Period corresponding control device monitors the detectable signal that corresponding control device is sent.
Instruction sending module 924 is additionally operable to, when detecting the detectable signal that control device is sent, send to control device
Feedback command, feedback command is used to indicate control device and determines Intelligent target equipment according to feedback command, and is set to Intelligent target
It is standby to be controlled.
In the present embodiment, control device can periodicity sending detectable signal, mobile terminal can according to receive detectable signal
Automatic to send feedback command, realization automatically controls smart machine, simplifies user's operation and improves control efficiency.
The embodiment of the present application also provides a kind of mobile terminals.As shown in Figure 10, for convenience of description, it illustrates only and this
Apply for that the relevant part of embodiment, particular technique details are not disclosed, please refers to the embodiment of the present application method part.The movement is whole
End can be include mobile phone, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), sale eventually
The arbitrary terminal devices such as (Point of Sales, POS), vehicle-mounted computer, Wearable are held, are by mobile phone of mobile terminal
Example:
Figure 10 is the block diagram with the part-structure of the relevant mobile phone of mobile terminal provided by the embodiments of the present application.Reference chart
10, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 1010, memory 1020, input unit 1030, display unit
1040, sensor 1050, voicefrequency circuit 1060, Wireless Fidelity (wireless fidelity, WiFi) module 1070, processor
The components such as 1080 and power supply 1090.It will be understood by those skilled in the art that handset structure shown in Fig. 10 does not constitute opponent
The restriction of machine may include either combining certain components or different components arrangement than illustrating more or fewer components.
Wherein, RF circuits 1010 can be used for receiving and sending messages or communication process in, signal sends and receivees, can be by base station
After downlink information receives, handled to processor 1080;The data of uplink can also be sent to base station.In general, RF circuits include
But be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier,
LNA), duplexer etc..In addition, RF circuits 1010 can also be communicated with network and other equipment by radio communication.It is above-mentioned wireless
Communication can use any communication standard or agreement, including but not limited to GSM, GPRS, CDMA, W-CDMA, long term evolution (Long
Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 1020 can be used for storing software program and module, and processor 1080 is stored in memory by operation
1020 software program and module, to execute various function application and the data processing of mobile phone.Memory 1020 can be led
To include program storage area and data storage area, wherein program storage area can storage program area, needed at least one function
Application program (such as the application program of sound-playing function, application program of image player function etc.) etc.;It data storage area can
Storage uses created data (such as audio data, address list etc.) etc. according to mobile phone.In addition, memory 1020 can wrap
High-speed random access memory is included, can also include nonvolatile memory, for example, at least disk memory, a flash memories
Part or other volatile solid-state parts.
Input unit 1030 can be used for receiving the number or character information of input, and generates and set with the user of mobile phone 1000
It sets and the related key signals of function control inputs.Specifically, input unit 1030 may include touch panel 1032 and other
Input equipment 1034.Touch panel 1032, alternatively referred to as touch screen collect user on it or neighbouring touch operation (are compared
Such as user is using finger, stylus any suitable object or attachment on touch panel 1032 or near touch panel 1032
Operation), and corresponding attachment device is driven according to preset formula.In one embodiment, touch panel 1032 can
Including both touch detecting apparatus and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and examine
The signal that touch operation is brought is surveyed, touch controller is transmitted a signal to;Touch controller is received from touch detecting apparatus to be touched
Information is touched, and is converted into contact coordinate, then gives processor 1080, and order that processor 1080 is sent can be received and added
To execute.Furthermore, it is possible to realize touch panel using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
1032.In addition to touch panel 1032, input unit 1030 can also include other input equipments 1034.Specifically, other are inputted
Equipment 1034 can include but is not limited to one in physical keyboard, function key (such as volume control button, switch key etc.) etc.
Kind is a variety of.
Display unit 1040 can be used for showing information input by user or be supplied to user information and mobile phone it is each
Kind menu.Display unit 1040 may include display panel 1042.In one embodiment, liquid crystal display may be used
(Liquid Crystal Display, LCD), Organic Light Emitting Diode (Organic Light-Emitting Diode,
) etc. OLED forms configure display panel 1042.In one embodiment, touch panel 1032 can cover display panel 1042,
When touch panel 1032 detects on it or after neighbouring touch operation, processor 1080 is sent to determine touch event
Type is followed by subsequent processing device 1080 and provides corresponding visual output on display panel 1042 according to the type of touch event.Although
In Fig. 10, touch panel 1032 and display panel 1042 are to realize the input and input of mobile phone as two independent components
Function, but in some embodiments it is possible to touch panel 1032 and display panel 1042 are integrated and are realized the input of mobile phone
And output function.
Mobile phone 1000 may also include at least one sensor 1050, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 1042, and proximity sensor can close display when mobile phone is moved in one's ear
Panel 1042 and/or backlight.Motion sensor may include acceleration transducer, can detect all directions by acceleration transducer
The size of upper acceleration can detect that size and the direction of gravity when static, the application that can be used to identify mobile phone posture is (such as horizontal
Vertical screen switches), Vibration identification correlation function (such as pedometer, tap) etc.;In addition, mobile phone can also configure gyroscope, barometer,
Other sensors such as hygrometer, thermometer, infrared sensor etc..
Voicefrequency circuit 1060, loud speaker 1062 and microphone 1064 can provide the audio interface between user and mobile phone.Sound
The transformed electric signal of the audio data received can be transferred to loud speaker 1062 by frequency circuit 1060, by 1062 turns of loud speaker
It is changed to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1064, by voicefrequency circuit
Audio data is converted to after 1060 receptions, then by after the processing of audio data output processor 1080, can be sent out through RF circuits 1010
Another mobile phone is given, or audio data is exported to memory 1020 so as to subsequent processing.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 1070
Part, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Figure 10 is shown
WiFi module 1070, but it is understood that, and it is not belonging to must be configured into for mobile phone 1000, it can save as needed
Slightly.
Processor 1080 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone,
By running or execute the software program and/or module that are stored in memory 1020, and calls and be stored in memory 1020
Interior data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.In one embodiment,
Processor 1080 may include one or more processing units.In one embodiment, processor 1080 can integrate application processor
And modem, wherein the main processing operation system of application processor, user interface and application program etc.;Modem
Main processing wireless communication.It is understood that above-mentioned modem can not also be integrated into processor 1080.For example,
The processor 1080 can integrate application processor and baseband processor, baseband processor with and the composable tune such as other peripheral chips
Modulator-demodulator.Mobile phone 1000 further includes the power supply 1090 (such as battery) powered to all parts, it is preferred that power supply can pass through
Power-supply management system and processor 1080 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.
In one embodiment, mobile phone 1000 can also include camera, bluetooth module etc..
In the embodiment of the present application, the processor 1080 included by the mobile terminal executes the calculating of storage on a memory
The method that above-mentioned control smart machine is realized when machine program.
In one embodiment, which may include memory 1020 and processor 1080, be deposited in memory 1020
Computer program is contained, when which is executed by processor 1080 so that processor executes following steps:
Acquire the location information of mobile terminal;
When detecting that mobile terminal is located in the first distance range of control device according to location information, sent out to server
The first instruction is sent, the first instruction is used to indicate server and generates the second instruction according to the first instruction, then the second instruction is sent to
Control device;Second instruction is used to indicate control device and controls Intelligent target equipment.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, the calculating
Machine program realizes above-mentioned control smart machine method when being executed by processor.
In one embodiment, a kind of computer program product including computer program is provided, when it sets in computer
When standby upper operation so that computer equipment realizes above-mentioned control smart machine method when executing.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a non-volatile computer and can be read
In storage medium, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage is situated between
Matter can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Any reference of memory, storage, database or other media may include as used herein non-volatile
And/or volatile memory.Suitable nonvolatile memory may include read-only memory (ROM), programming ROM (PROM),
Electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include arbitrary access
Memory (RAM), it is used as external cache.By way of illustration and not limitation, RAM is available in many forms, such as
It is static RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDR SDRAM), enhanced
SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM).
Each technical characteristic of embodiment described above can be combined arbitrarily, to keep description succinct, not to above-mentioned reality
It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited
In contradiction, it is all considered to be the range of this specification record.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the protection domain of the application patent should be determined by the appended claims.
Claims (12)
1. a kind of method of control smart machine, which is characterized in that including:
Acquire the location information of mobile terminal;
When detecting that the mobile terminal is located in the first distance range of control device according to the positional information, to service
Device sends the first instruction, and first instruction is used to indicate the server and generates the second instruction according to first instruction, then
Second instruction is sent to the control device;Second instruction is used to indicate the control device and is set to Intelligent target
It is standby to be controlled.
2. according to the method described in claim 1, it is characterized in that, first instruction is additionally operable to indicate that the server is held
Row:
The second identifier of the first identifier and the control device of the mobile terminal is obtained according to first instruction;
Configuration information is obtained according to the first identifier and second identifier, and Intelligent target equipment is determined according to the configuration information
Control information corresponding with the Intelligent target equipment;
The second instruction is generated according to the Intelligent target equipment and control information, and second instruction is sent to the control
Equipment.
3. method according to claim 1 or 2, which is characterized in that it is described ought detect according to the positional information it is described
When mobile terminal is located in the first distance range of control device, the first instruction is sent to server, including:
When detecting that the mobile terminal is located in the first distance range of at least two control devices according to the positional information
When, obtain the status information of at least two control device;
The control device being in idle condition is chosen, and the first instruction is sent to the server, first instruction carries choosing
The second identifier of the control device taken.
4. according to the method described in claim 1, it is characterized in that, it is described acquisition mobile terminal location information after, institute
The method of stating further includes:
When detecting that the mobile terminal is located within the scope of the second distance of control device according to the positional information, acquisition is deposited
The configuration information corresponding with the control device of storage;
Third instruction is generated according to the configuration information, the third instruction carries the third mark of Intelligent target equipment;
Third instruction is sent to the control device, the third instruction be used to indicate the control device pair with it is described
Third identifies matched Intelligent target equipment and is controlled.
5. according to the method described in claim 4, it is characterized in that, obtaining the corresponding with the control device of storage described
After configuration information, the method further includes:
Third instruction is generated according to the configuration information, the third instruction carries control information;
Third instruction is sent to the control device, the third instruction is used to indicate the control device according to
Control information determines Intelligent target equipment, and controls the Intelligent target equipment.
6. method according to claim 4 or 5, which is characterized in that in the acquisition storage and the control device pair
Before the configuration information answered, the method further includes:
Detect whether the mobile terminal has communication authority with the control device;
If having the communication authority, the step of the configuration information corresponding with the control device for obtaining storage is executed
Suddenly;
If not having the communication authority, described the step of sending the first instruction to server is executed.
7. according to the method described in claim 1, it is characterized in that, the method further includes:
When meeting acquisition mode, the detectable signal that control device is sent is monitored;
When detecting the detectable signal that the control device is sent, feedback command, the feedback are sent to the control device
Instruction is used to indicate the control device and determines Intelligent target equipment according to the feedback command, and to the Intelligent target equipment
It is controlled.
8. the method according to the description of claim 7 is characterized in that described when meeting acquisition mode, monitoring control device hair
The detectable signal sent, including:
When the clock time of the mobile terminal is in detection time section, obtains control corresponding with the detection time section and set
It is standby;
Monitor the detectable signal that the corresponding control device is sent.
9. a kind of method of control smart machine, which is characterized in that including:
Monitor the detectable signal that control device is sent;
When detecting the detectable signal that the control device is sent, feedback command, the feedback are sent to the control device
Instruction is used to indicate the control device and determines Intelligent target equipment according to the feedback command, and to the Intelligent target equipment
It is controlled.
10. a kind of device of control smart machine, which is characterized in that including:
Station acquisition module, the location information for acquiring mobile terminal;
Instruction sending module, for ought detect according to the positional information the mobile terminal be located at the first of control device away from
When from range, the first instruction is sent to server, first instruction is used to indicate the server and refers to according to described first
It enables and generates the second instruction, then second instruction is sent to the control device;Second instruction is used to indicate control and sets
It is standby that the Intelligent target equipment is controlled.
11. a kind of mobile terminal, including memory and processor, computer program, the calculating are stored in the memory
When machine program is executed by the processor so that the processor realizes the method as described in claim 1 to 9 is any.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The method as described in claim 1 to 9 is any is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810344691.5A CN108566624B (en) | 2018-04-17 | 2018-04-17 | Method and device for controlling intelligent equipment, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810344691.5A CN108566624B (en) | 2018-04-17 | 2018-04-17 | Method and device for controlling intelligent equipment, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108566624A true CN108566624A (en) | 2018-09-21 |
CN108566624B CN108566624B (en) | 2020-07-17 |
Family
ID=63535580
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810344691.5A Active CN108566624B (en) | 2018-04-17 | 2018-04-17 | Method and device for controlling intelligent equipment, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108566624B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110167117A (en) * | 2019-05-23 | 2019-08-23 | Oppo广东移动通信有限公司 | Apparatus control method, device, host equipment, mobile terminal and storage medium |
CN111505206A (en) * | 2020-04-02 | 2020-08-07 | 北京声智科技有限公司 | Gas concentration warning method, device and system |
CN111750493A (en) * | 2020-06-24 | 2020-10-09 | 珠海格力电器股份有限公司 | Control method, control device and cloud control system |
CN112333058A (en) * | 2020-09-15 | 2021-02-05 | 深圳Tcl新技术有限公司 | Equipment monitoring method, device, system and computer readable storage medium |
CN113495504A (en) * | 2020-03-18 | 2021-10-12 | 杭州海康威视数字技术股份有限公司 | Intelligent control equipment, monitoring system and intelligent control method |
CN114244540A (en) * | 2020-09-07 | 2022-03-25 | 华为技术有限公司 | Authority control method, device, system and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102984039A (en) * | 2012-11-06 | 2013-03-20 | 鸿富锦精密工业(深圳)有限公司 | Intelligent gateway system and intelligent housing system and intelligent control method of household appliances |
CN104635501A (en) * | 2014-12-25 | 2015-05-20 | 芜湖市汽车产业技术研究院有限公司 | Intelligent home control method and system |
US20160179068A1 (en) * | 2014-07-21 | 2016-06-23 | Huizhou Tcl Mobile Communication Co., Ltd. | Method and system for managing household devices |
CN106843179A (en) * | 2017-02-28 | 2017-06-13 | 绵阳职业技术学院 | appliance control system and method |
-
2018
- 2018-04-17 CN CN201810344691.5A patent/CN108566624B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102984039A (en) * | 2012-11-06 | 2013-03-20 | 鸿富锦精密工业(深圳)有限公司 | Intelligent gateway system and intelligent housing system and intelligent control method of household appliances |
US20160179068A1 (en) * | 2014-07-21 | 2016-06-23 | Huizhou Tcl Mobile Communication Co., Ltd. | Method and system for managing household devices |
CN104635501A (en) * | 2014-12-25 | 2015-05-20 | 芜湖市汽车产业技术研究院有限公司 | Intelligent home control method and system |
CN106843179A (en) * | 2017-02-28 | 2017-06-13 | 绵阳职业技术学院 | appliance control system and method |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110167117A (en) * | 2019-05-23 | 2019-08-23 | Oppo广东移动通信有限公司 | Apparatus control method, device, host equipment, mobile terminal and storage medium |
CN110167117B (en) * | 2019-05-23 | 2022-02-11 | Oppo广东移动通信有限公司 | Device control method and device, host device, mobile terminal and storage medium |
CN113495504A (en) * | 2020-03-18 | 2021-10-12 | 杭州海康威视数字技术股份有限公司 | Intelligent control equipment, monitoring system and intelligent control method |
CN113495504B (en) * | 2020-03-18 | 2023-01-31 | 杭州海康威视数字技术股份有限公司 | Intelligent control equipment, monitoring system and intelligent control method |
CN111505206A (en) * | 2020-04-02 | 2020-08-07 | 北京声智科技有限公司 | Gas concentration warning method, device and system |
CN111750493A (en) * | 2020-06-24 | 2020-10-09 | 珠海格力电器股份有限公司 | Control method, control device and cloud control system |
CN111750493B (en) * | 2020-06-24 | 2021-08-13 | 珠海格力电器股份有限公司 | Control method, control device and cloud control system |
CN114244540A (en) * | 2020-09-07 | 2022-03-25 | 华为技术有限公司 | Authority control method, device, system and computer readable storage medium |
CN114244540B (en) * | 2020-09-07 | 2022-10-25 | 华为技术有限公司 | Authority control method, device, system and computer readable storage medium |
CN112333058A (en) * | 2020-09-15 | 2021-02-05 | 深圳Tcl新技术有限公司 | Equipment monitoring method, device, system and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108566624B (en) | 2020-07-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108566624A (en) | Control method, apparatus, mobile terminal and the storage medium of smart machine | |
CN103874018B (en) | Access-in point information sharing method and device | |
CN102224764B (en) | The control based on orientation of mobile device | |
CN104375210B (en) | Weather prediction method, equipment and system | |
CN111316673B (en) | Electronic fence updating method and communication device | |
CN108337368B (en) | Method for updating positioning data and mobile terminal | |
CN109992398A (en) | Method for managing resource, device, mobile terminal and computer readable storage medium | |
CN106657398A (en) | Control system, method and device of Internet Of Things (IOT) | |
CN108388414A (en) | Go out screen control method and device, computer readable storage medium, the terminal of terminal | |
CN108022446A (en) | A kind of parking spot acquisition methods, mobile terminal | |
WO2017177439A1 (en) | Functional state control method and related device | |
CN109144232A (en) | Process handling method and device, electronic equipment, computer readable storage medium | |
CN108319709A (en) | Position information processing method, device, electronic equipment and storage medium | |
CN109445917A (en) | Application processing method and device, electronic equipment, computer readable storage medium | |
CN103544456A (en) | Information processing method, information processing device and mobile terminal | |
CN108471632A (en) | Information processing method, device, mobile terminal and computer readable storage medium | |
CN106851119A (en) | A kind of method and apparatus and mobile terminal of picture generation | |
CN109246291A (en) | Mobile terminal and sleep based reminding method, device | |
CN109194726A (en) | Mobile terminal and information-pushing method, device | |
CN109189202A (en) | Adjust the method and device of power consumption of terminal | |
CN109373520A (en) | Mobile terminal and the method and apparatus for controlling temperature | |
CN105303591A (en) | Method for superposing place information in puzzle, terminal and server | |
CN105743773A (en) | Weather data acquisition method and device | |
CN103679506B (en) | A kind of method, apparatus, terminal and server for obtaining information | |
CN108021668A (en) | The method and apparatus of image procossing, electronic equipment, computer-readable recording medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |