CN106411979A - Method and system for getting access to an intelligent device - Google Patents

Method and system for getting access to an intelligent device Download PDF

Info

Publication number
CN106411979A
CN106411979A CN201510465342.5A CN201510465342A CN106411979A CN 106411979 A CN106411979 A CN 106411979A CN 201510465342 A CN201510465342 A CN 201510465342A CN 106411979 A CN106411979 A CN 106411979A
Authority
CN
China
Prior art keywords
smart machine
cloud server
terminal
status
control command
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.)
Pending
Application number
CN201510465342.5A
Other languages
Chinese (zh)
Inventor
葛少彤
匡仁锦
李健
杨友
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suning Commerce Group Co Ltd
Original Assignee
Suning Commerce Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suning Commerce Group Co Ltd filed Critical Suning Commerce Group Co Ltd
Priority to CN201510465342.5A priority Critical patent/CN106411979A/en
Publication of CN106411979A publication Critical patent/CN106411979A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a method and system for getting access to an intelligent device and relates to the technical field of smart homes. The method and system can reduce the access complexity of the intelligent device and increase access speed. The method of the invention comprises the steps of: initiating an adaptation mechanism at a cloud server and translating a control command sent by a terminal to the intelligent device into a device command, and translating a uplink command and state data uploaded by the intelligent device to the terminal into state display information that can directly used by the terminal so that the cloud server achieves a data adaption switching process between the terminal and the intelligent device. The method and system are applicable to the access and control of intelligent devices.

Description

A kind of method and system accessing smart machine
Technical field
The present invention relates to Smart Home technical field, more particularly, to a kind of method and system accessing smart machine.
Background technology
At present, intelligent domestic system and various supporting smart machine progressively put goods on the market, and realize intelligence The access of equipment so that terminal passes through the network interconnection with smart machine, and by terminal control smart machine, It is then one of key character of smart home technology.
Realizing this one side of access of smart machine, different operators and equipment vendors are also all proposed oneself Scheme although specific ins and outs are often had nothing in common with each other, but mentality of designing is mostly convergent, Ke Yigui Receive for:
For equipment vendors, need to install Wi-fi module additional for smart machine and it needs to compile corresponding Wi-fi Module software is so that Wi-fi module can parse the serial port of mainboard communications protocol of smart machine, and mainboard is believed Number smart home platform is converted into by this serial port communicating protocol it will be appreciated that platform incoming communication agreement, real Existing mainboard signal carries out uploading by Wi-fi module to be downloaded.At present, equipment vendors typically require using being cooperated The compiling platform that provides of operator carry out the compiling of Wi-fi module software.
Operator then needs to move the application and development at end, the function of the smart machine providing for equipment vendors Logic, exploitation mobile terminal application so that parsing Wi-fi module upload signal, thus realize remote management, Control smart machine.
Due to compiling the relatively costly of exploitation, increased the difficulty of smart machine networking.And on stream Need to carry out protocol negotiation with operator, mobile terminal application and the coupling of Wi-fi module software could be made, lead Cause the construction cycle also very long, or even be difficult to keep up with the listing speed of smart machine.As can be seen here, intelligent at present The difficulty of equipment access network is still higher, limits intelligent domestic system and various supporting smart machine Popularization and application.
Content of the invention
Embodiments of the invention provide a kind of method and system accessing smart machine, can reduce smart machine Access complexity, and improve access speed.
For reaching above-mentioned purpose, embodiments of the invention adopt the following technical scheme that:
In a first aspect, embodiments of the invention provide a kind of method accessing smart machine, including:High in the clouds takes The control command that business device receiving terminal sends, starts adaptation mechanism and obtains the corresponding communication protocols of described control command View;
The communication protocol being obtained according to adaptation, described control command is translated to device command, and sets to intelligence Standby wireless module sends;
Cloud server receives the status data that the wireless module of described smart machine sends, and by adaptation The communication protocol obtaining in mechanism, described status data is converted to status displaying information;
Send described status displaying information to described terminal, believed according to described status display in order to described terminal Breath shows the running status of described smart machine.
In conjunction with a first aspect, in the first possible implementation of first aspect, also including:
After described cloud server receives the registration request that described smart machine sends, obtain described intelligence The MAC Address of equipment, and be described smart machine allocation identification information;
When adaptation mechanism starts, the MAC Address according to described smart machine and identification information-enquiry are adapted to Machine, and by described adaptation machine according to described communication protocol, described control command is translated to described equipment life Make or described status data is converted to described status displaying information.
In conjunction with the first possible implementation of first aspect, in the possible implementation of second, when After described cloud server receives the registration request that described smart machine sends, also include:
According to the MAC Address of described smart machine, described identification information and version number, obtain inquiry mark, And associate described inquiry mark be adapted to machine with described.
In conjunction with a first aspect, in the third possible implementation of first aspect, including:
After the wireless module of described smart machine receives the control command that described cloud server sends, right Described control command carries out first kind transparent transmission process, and by the control command processing through first kind transparent transmission to institute State the mainboard transmission of smart machine, described first kind transparent transmission processes and includes:It is described according to described communication protocol Control command interpolation data frame head, check information data postamble;
When the wireless module of described smart machine receive described smart machine mainboard send upper line command or After status data, Equations of The Second Kind transparent transmission process is carried out to described upper line command or status data, and will be through second The upper line command that class transparent transmission is processed or status data transmit to described cloud server, at described Equations of The Second Kind transparent transmission Reason includes:Frame head before and after Frame is removed according to described communication protocol, check information and postamble.
In conjunction with a first aspect, in the 4th kind of possible implementation of first aspect, including:
Described terminal operating controls application, and described control application includes frame part and at least one control panel, Wherein, a kind of control panel corresponds to a kind of smart machine, and for controlling this corresponding a kind of smart machine.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, also Including:
When specified smart machine is online, described terminal detection described control whether there is described finger in application The corresponding control panel of fixed smart machine;If not existing, described terminal is downloaded from described cloud server The corresponding control panel of the described smart machine specified;
If existing, the described terminal detection corresponding control panel of the described smart machine specified is the need of more Newly, if then asking to update the corresponding control panel of the described smart machine specified to described cloud server.
In conjunction with the 4th kind of possible implementation of first aspect, in the 6th kind of possible implementation, institute State the running status that terminal shows described smart machine according to described status displaying information, including:
Described terminal, according to described status displaying information, obtains mutual exclusion strategy, wherein, described smart machine pair The control panel answered includes at least two class controls, and described mutual exclusion strategy includes:When one type control starts, Close at least one other controls of class;
Close and open the corresponding control in UI according to described mutual exclusion strategy, and specifying in described UI Region shows the operational factor of described smart machine.
In conjunction with the 4th to the 6th kind of possible implementation of first aspect, in the 7th kind of possible implementation In, also include:
After described terminal sends described control command to described cloud server, described terminal is according to described control System order generates status displaying information, and refreshes UI according to the status displaying information being generated;
If not receiving the described status displaying information that described cloud server sends in Preset Time, will UI return back to the dispaly state before refreshing;
If receiving the described status displaying information that described cloud server sends in Preset Time, detect institute State the described status displaying information of cloud server transmission and described terminal generates state according to described control command Whether display information is identical, if differing, is believed according to the described status display that described cloud server sends Breath refreshes UI.
Second aspect, embodiments of the invention provide a kind of system accessing smart machine, and described system includes Cloud server, smart machine and terminal;
Described cloud server, the control command sending for receiving terminal, and start adaptation mechanism and obtain institute State the corresponding communication protocol of control command;The communication protocol being obtained according to adaptation, described control command is translated For device command, and send to described smart machine, described smart machine installs wireless module;
The wireless module of described smart machine, for carrying out data with described cloud server by wireless network Interaction;The wireless module of described smart machine, the command information being additionally operable to send described cloud server passes It is defeated by described smart machine, and the status data that described smart machine is produced sends to described cloud server;
Described cloud server, is additionally operable to receive the status data that the wireless module of described smart machine sends, And the communication protocol by obtaining in adaptation mechanism, described status data is converted to status displaying information simultaneously Described status displaying information is sent to described terminal;
Described terminal, for showing the running status of described smart machine according to described status displaying information.
In conjunction with second aspect, in the first possible implementation of second aspect, described cloud server, Specifically for receiving the MAC ground obtaining described smart machine after the registration request that described smart machine sends Location, and be described smart machine allocation identification information;When adaptation mechanism starts, according to described smart machine MAC Address and identification information-enquiry adaptation machine, and by described adaptation machine according to described communication protocol, general Described control command translates to described device command or described status data is converted to described status display letter Breath.
In conjunction with the first possible implementation of second aspect, in the possible implementation of second, institute State cloud server, be specifically additionally operable to receive, when described cloud server, the registration that described smart machine sends After request, according to the MAC Address of described smart machine, described identification information and version number, obtain inquiry mark Know, and associate described inquiry mark and be adapted to machine with described.
In conjunction with second aspect, in the third possible implementation of second aspect, described smart machine Wireless module, specifically for after receiving the control command that described cloud server sends, to described control Order carries out first kind transparent transmission process, and the control command processing through first kind transparent transmission is set to described intelligence Standby mainboard transmission, described first kind transparent transmission processes and includes:It is described control command according to described communication protocol Interpolation data frame head, check information data postamble;
The wireless module of described smart machine, specifically for send when the mainboard receiving described smart machine After upper line command or status data, Equations of The Second Kind transparent transmission process is carried out to described upper line command or status data, and The upper line command processing or status data through Equations of The Second Kind transparent transmission are transmitted to described cloud server, described Two class transparent transmissions process and include:Frame head before and after Frame is removed according to described communication protocol, check information and frame Tail.
The method and system accessing smart machine provided in an embodiment of the present invention, startup of server adaptation beyond the clouds Mechanism, and the control command for sending terminal to smart machine translates to device command, is also intelligently set The standby upper line command to terminal upload and status data translate to the status display letter that terminal can directly use Breath, thus server realizes the process that the data adaptation dress between terminal and smart machine changes beyond the clouds.Avoid Undertake data adaptation dress by wireless module to change, reduce the complexity of program compiling on wireless module, contracting The short construction cycle, so that the access complexity of smart machine will reduce, and access speed will improve.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to required in embodiment Use accompanying drawing be briefly described it should be apparent that, drawings in the following description be only the present invention one A little embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, also Other accompanying drawings can be obtained according to these accompanying drawings.
Fig. 1 is a kind of structural representation of cloud server provided in an embodiment of the present invention;
Fig. 2 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Fig. 3 a is a kind of configuration diagram of system accessing smart machine provided in an embodiment of the present invention;
Fig. 3 b is a kind of data interaction schematic diagram of system accessing smart machine provided in an embodiment of the present invention;
Fig. 4 is a kind of flow chart of method accessing smart machine provided in an embodiment of the present invention;
Fig. 5 is the data form schematic diagram in a kind of transparent transmission mechanism provided in an embodiment of the present invention;
Fig. 6,7,8,9,10 are respectively the schematic diagram of instantiation provided in an embodiment of the present invention.
Specific embodiment
For making those skilled in the art more fully understand technical scheme, below in conjunction with the accompanying drawings and specifically Embodiment is described in further detail to the present invention.Embodiments of the present invention are described in more detail below, The example of described embodiment is shown in the drawings, and wherein same or similar label represents identical from start to finish Or similar element or the element with same or like function.Embodiment party below with reference to Description of Drawings Formula is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative used herein " one ", " one ", " described " and " being somebody's turn to do " may also comprise plural form.It will be further understood that Be, used in the specification of the present invention wording " inclusion " refer to exist described feature, integer, step, Operation, element and/or assembly, but it is not excluded that exist or add other features one or more, integer, Step, operation, element, assembly and/or their group.It should be understood that when we claim element to be " connected " Or during " coupled " to another element, it can be directly connected or coupled to other elements, or can also deposit In intermediary element.Additionally, " connection " used herein or " coupling " can include wirelessly connecting or coupling. Wording "and/or" used herein includes one or more associated any cell of item and complete listed Portion combines.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all term (bags used herein Include technical term and scientific terminology) there is general understanding with the those of ordinary skill in art of the present invention Identical meaning.It should also be understood that those terms defined in such as general dictionary should be understood that There is the meaning consistent with the meaning in the context of prior art, and unless defined as here, no Can be explained with idealization or excessively formal implication.
In the following detailed description, many details are illustrated to provide, the present invention to be understood in depth.So And, the present invention may be carried out the ordinary skill people for this area in the case of not having these details Member will be apparent from.In other cases it is thus well known that method, code, part, circuit and net Network is not described in detail in order to avoid unnecessarily obscuring the various aspects of embodiment.
Fig. 1 show a possible implementation of cloud server in the embodiment of the present invention.Described high in the clouds clothes Business device includes input block, processor unit, output unit, communication unit, memory cell, peripheral unit Deng assembly.These assemblies are communicated by one or more bus.It will be understood by those skilled in the art that The structure of the cloud server shown in figure does not constitute limitation of the invention, and it both can be type trunk knot Structure or hub-and-spoke configuration, can also include ratio and illustrate more or less of part, or combination is some Part, or different part arrangements.In embodiments of the present invention, described cloud server can be appointed What operator's cloud server or third party's cloud server, including but not limited to rolling reamer machine, mobile working Stand, the equipment in distributed system, and the combination of above-mentioned two or more than two etc..
Input block be used for realizing operation maintenance personnel and cloud server interact and/or information input takes to high in the clouds In business device.For example, input block can receive operation maintenance personnel input numeral or character information, with produce with The signal input that operation maintenance personnel is arranged or function control is relevant.In the specific embodiment of the invention, input is single Unit can be contact panel or other human-computer interaction interfaces, such as entity enter key, microphone etc., Can also be other external information capture devices, for example, image first-class.Contact panel, also referred to as touch-screen or tactile Control screen, can collect operation maintenance personnel and touch thereon or close operational motion.Such as operation maintenance personnel use finger, The operation on contact panel or close to the position of contact panel of any suitable object such as stylus or annex is moved Make, and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel may include tactile Touch detection means and two parts of touch controller.Wherein, touch detecting apparatus detect the touch of operation maintenance personnel Operation, and the touch operation detecting is converted to electric signal, and described electric signal is sent to touch control Device processed;Touch controller receives described electric signal from touch detecting apparatus, and is converted into contact coordinate, Give processing unit again.Described touch controller can be ordered and be executed with what reception processing unit was sent.This Outward, can be using polytypes such as resistance-type, condenser type, infrared ray (Infrared) and surface acoustic waves Realize contact panel.In the other embodiment of the present invention, the entity enter key that input block is adopted can With include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, One or more of mouse, action bars etc..The input block of microphone form can collect operation maintenance personnel or The voice of environment input simultaneously converts thereof into electrical signal form, the executable order of processing unit.
Processor unit is the control centre of cloud server, using various interfaces and the whole high in the clouds of connection The various pieces of server, by running or executing software program and/or the module being stored in memory cell, And call the data being stored in memory cell, to execute the various functions of cloud server and/or to process number According to.Described processor unit can be made up of integrated circuit (Integrated Circuit, abbreviation IC), example As can be made up of the encapsulation it is also possible to by many identical functions of connection or difference in functionality the IC of single encapsulation IC and form.For example, processor unit can only include central processing unit (Central Processing Unit, abbreviation CPU) or GPU, digital signal processor (Digital Signal Processor, Abbreviation DSP) and communication unit in control chip (such as baseband chip) combination.Implement in the present invention In mode, CPU can be single arithmetic core it is also possible to include multioperation core.
Described communication unit is used for setting up communication channel, makes cloud server pass through described communication channel and connects To long-range cloud server, and media data from described long-range cloud server.Described communication unit is permissible Including cable network communication module, the such as network interface card based on wired broadband network;It can also be WLAN (Wireless Local Area Network, abbreviation wireless LAN) module, bluetooth module, base band The communication modules such as (Base Band) module, and described communication module corresponding radio frequency (Radio Frequency, abbreviation RF) circuit, it is used for carrying out WLAN communication, Bluetooth communication, infrared ray lead to Letter and/or cellular communications system communication, such as wideband code division multiple accesses (Wideband Code Division Multiple Access, abbreviation W-CDMA) and/or high-speed downstream packet access (High Speed Downlink Packet Access, abbreviation HSDPA).Described communication module is used for controlling each assembly in cloud server Communication, and direct memory access (Direct Memory Access) can be supported.In described communication unit Various communication modules occur typically in the form of IC chip (Integrated Circuit Chip), And the property of can be chosen combination, without all communication modules of inclusion and corresponding antenna sets.For example, described Communication unit can only include baseband chip, radio frequency chip and corresponding antenna with a cellular communication system Communication function is provided in system.The wireless communication connection set up via described communication unit, such as WLAN Access or WCDMA access, described cloud server can connect to Cellular Networks (Cellular Network) or Internet (Internet).
Output unit includes but is not limited to image output unit and voice output unit.Image output unit is used for Output character, picture and/or video.Described image output unit may include display floater, for example with LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode), Field Emission Display (field emission display, abbreviation FED) The display floater to configure etc. form.Or described image output unit can include reflected displaying device, example As electrophoresis-type (electrophoretic) display, or utilize interference of light modulation tech The display of (Interferometric Modulation of Light).Described image output unit is permissible Including individual monitor or various sizes of multiple display.In the specific embodiment of the present invention, above-mentioned The contact panel that input block is adopted also can be simultaneously as the display floater of output unit.For example, work as touch-control Panel detection, to after touch thereon or close gesture operation, sends processing unit to determine touch thing The type of part, provides corresponding vision defeated with post-processing unit according to the type of touch event on a display panel Go out.Although in FIG, input block and output unit are to realize cloud service as two independent parts The input of device and output function, but in some embodiments it is possible to contact panel is integrated with display floater Integrally realize input and the output function of cloud server.For example, described image output unit can show Various graphical operation maintenance personnel interfaces (Graphical User Interface, abbreviation GUI) are using as virtual control Assembly processed, including but not limited to window, scroll bar, icon and scrapbook, so that operation maintenance personnel passes through touch-control Mode is operated.
Memory cell can be used for storing software program and module, and it is single that processing unit is stored in storage by operation The software program of unit and module, thus executing the various function application of cloud server and realizing at data Reason.Memory cell mainly includes program storage area data memory block, and wherein, program storage area can store behaviour Make the application program needed for system, at least one function, such as sound playing program, image player program etc. Deng;Data storage area can store according to cloud server using created data (such as voice data, Phone directory etc.) etc..In the specific embodiment of the invention, memory cell can include volatile memory, For example non-volatile DRAM (Nonvolatile Random Access Memory, referred to as NVRAM), phase change random access memory (Phase Change RAM, abbreviation PRAM), reluctance type are deposited at random Take internal memory (Magetoresistive RAM, abbreviation MRAM) etc., nonvolatile memory can also be included, For example, at least one disk memory, Electrical Erasable programmable read only memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), flush memory device, for example instead Or flash memory (NOR flash memory) or anti-and flash memory (NAND flash memory).Non-volatile memory Device stores operating system and application program performed by processing unit.Described processing unit non-volatile is deposited from described Reservoir load operating program and data are stored in mass storage to internal memory and by digital content.Described behaviour Include for controlling and managing general system tasks as system, such as memory management, storage device control, electricity Source control etc., and contribute to the various assemblies of communication and/or driver between various software and hardwares.
Power supply is used for being powered to the different parts of cloud server to maintain its operation.As general reason Solution, described power supply can be built-in battery, for example common lithium ion battery, Ni-MH battery etc., also wrap Include the external power supply directly powered, such as AC adapter etc. to cloud server.Some enforcements in the present invention In mode, described power supply can also be made more widely to define, for example can also include power-supply management system, Charging system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator are (as sent out Optical diode), and generate with the electric energy of cloud server, manage and be distributed other any assemblies being associated.
As a possible implementation of terminal in the embodiment of the present invention, terminal 100 specifically can be as Fig. 2 Shown.Wherein, terminal 100 has touch control display 110.Touch control display 110 is sometimes referred to as " touch-screen " Or " touch screen ", or referred to as " touch control display system ".Terminal 100 may include memory 120, controller 141st, one or more processing unit (CPU142, peripheral interface 143, radio frequency (RF) Circuits System 150, Audio circuitry 160, input/output (I/O) subsystem 170, other input or control device 180 and Outside port 190.These parts can be communicated by one or more communication bus or holding wire 130.? In some embodiments, peripheral interface 143, CPU142 and Memory Controller 141 both can be in one single chips Upper enforcement, also can implement on multiple chips.Controller 141 is used for control memory 120.In some enforcements In example, audio circuitry 160 can be respectively coupled to loudspeaker 161 and microphone 162.In some embodiments In, other input or control device 180 can couple ancillary equipment by other input controllers 173 corresponding Interface 143.
Terminal 100 may include one or more optical pickocffs 111, is coupled outer by optical sensing controller 172 Peripheral equipment interface 143.Holding wire 130 is it should be appreciated that terminal 100 is a reality of multifunctional mobile equipment Example, and can have more or less than hard/soft functional part shown in Fig. 2, two or more portions can be combined Part, or can have different part configurations or arrange, this hardware or software include one or more signal transacting And/or special IC.
Memory 120 may include high-speed random access memory or nonvolatile memory, such as one or more Disk storage equipment, flash memory device or other non-volatile solid state memory equipment.By terminal 100 Miscellaneous part such as CPU142 and peripheral interface 143 come to access memory 120 can be by Memory Controller 141 are controlled.Peripheral interface 143 can be used for for the input of equipment and output ancillary equipment being coupled to CPU With memory 120.Audio circuitry 160, loudspeaker 161 and microphone 162 provide user and terminal 100 Between COBBAIF.Audio circuitry 160 receives the voice data from peripheral interface 143, will This voice data is converted to electric signal, and by electric signal transmission to loudspeaker 161.Loudspeaker 161 is by electric signal Be converted to the audible sound wave of human ear.Audio circuitry 160 is also changed by microphone 162 from acoustic receiver Electric signal.Audio circuitry 160 converts electrical signals to voice data and is transferred to this voice data outer Peripheral equipment interface 143 is to be processed.In certain embodiments, audio circuitry 160 also includes an ear Wheat jack.Earphone jack provide audio circuitry 160 and removable audio input/output ancillary equipment it Between interface, this audio input/output ancillary equipment such as output type earphone or there is output (example simultaneously As for the earphone of one or two ear) and input (for example, microphone) headphone.
I/O subsystem 170 will be defeated with other for the such as touch-screen 110 of the input/output ancillary equipment in terminal 100 Enter control device 180 and be coupled to peripheral interface 143.I/O subsystem 170 may include display controller 171 with And one or more input controller 173 is for other inputs or control device.This one or more input control Device 173 processed receives/sends electric signal from/to other inputs or control device 180.Other input control apparatus 180 May include physical button (for example, push button, rocker button etc.), dial, slider switch, control stick, Click type rotating disk etc..In the embodiment that some are selected else, input controller 173 may be coupled to any (or not to be had One) following equipment:Keyboard, infrared port, USB port and pointing device, this pointing device such as mouse Mark.Touch-screen 110 provides input interface and output interface between equipment and user.Display controller 171 Receive from/to touch-screen 110 and/or send electric signal.Touch-screen 110 shows to the visualization output of user. Visualization output may include figure, text, icon, video and any combination of them and (is referred to as " figure Shape ").In certain embodiments, some or all in visualization output may correspond to user interface object.
The input that touch-screen 110 is had touch-control surface, accepted based on tactile and/or tactile from user Sensor or one group of sensor.Touch-screen 110 and display controller 171 (together with any associated module and / or memory 120 in instruction set) (and any movement or broken of contact of contact on detection touch-screen 110 Bad), and the user interface object (for example, contact detected being converted into and being shown on touch-screen 110 Individual or multiple soft key, icon, webpage or image) interaction.In the exemplary embodiment, touch-screen 110 He Contact point between user corresponds to the finger of user.
Although other display technologies can use in other embodiments, touch-screen 110 can use liquid crystal Show device (LCD) technology, light emitting polymer displays (LPD) technology, or light emitting diode (LED) technology.Use Arbitrary touch sensing technology (this touch sensing in currently known or multiple touch sensing technology of later exploitation Technology is including but not limited to capacitive, ohmic, infrared and surface acoustic wave technique) and other close to passing Sensor array or the other elements for determining the one or more points contacting with touch-screen 110, touch-screen 110 Can detect that contact and its any movement or destruction with display controller 171.It is any suitably right that user can use As or additives, stylus, finger etc. are contacting touch-screen 110.In certain embodiments, by user circle Face is designed to the main contact with based on finger and gesture work, due to finger contact zone on the touchscreen Domain is larger, so this may be accurate not as the input based on stylus.In certain embodiments, equipment will be based on It is desired dynamic for execution user that the input of coarse finger is converted to accurate pointer/cursor position or order Make.Except touch-screen, terminal 100 may also include touch pad (not shown) for activating or disabling specific work( Energy.In certain embodiments, touch pad is the Touch Zone of equipment, does not show from touch pad unlike touch-screen Show visualization output.Touch pad can be the touch-control surface separated with touch-screen 110 or be formed by touch-screen Touch-control surface extension.
Terminal 100 also includes power system 191 for being powered to various parts.Terminal 100 may also comprise One or more optical pickocffs 111.Terminal 100 may also comprise one or more proximity transducers 112.Terminal 100 may also comprise one or more accelerometers 113.
In certain embodiments, the software part being stored in memory 120 includes operating system 121, communication Module (or instruction set 122, contact/motion module (or instruction set) 130, figure module (or instruction set) 124, Text input module (or instruction set) 125, global positioning system (GPS) module (or instruction set) 126, Yi Jiying With program (or instruction set) 127.Operating system (OS) 121 include various software parts and/or driver with In control and management general system task (for example, memory management, storage device control, power management etc.) And be conducive to the communication between various hardware and software parts.
Communication module 122 be conducive to being communicated with other equipment by one or more outside ports 190 and Also include various software parts to be received for place's reason radio frequency circuit system 150 and/or outside port 190 Data.Outside port 190 (for example, USB (USB), live wire etc.) is applied to by network (example As internet, WLAN etc.) either directly or indirectly it is coupled to other equipment.In certain embodiments, Outside port is many pin connectors.
Contact/motion module 123 can detect that and touch-screen 110 (in conjunction with display controller 171) and other touch-controls The contact of equipment (for example, touch pad or physics click type rotating disk).Contact/motion module 123 includes various soft Whether part part for execution and contacts the various operations detecting correlation, such as to determine that coming in contact (for example, Detection finger-down event), it is determined whether have contact movement and follow the tracks of across touch-control surface motion (for example, Detect one or more finger drag events), and determine contact whether stop (for example, detection finger to Interruption in upper event or contact).Contact/motion module 123 receives the contact data from touch-control surface.Really The motion of fixed contact point represented by a series of contact data, this may include the speed (amount determining contact point Value), speed (value and direction) and/or acceleration (change in value and/or direction).These operations can apply In single contact (for example a, finger contact) or multiple contact simultaneously (for example, " Multi-contact "/many Individual finger contact).In certain embodiments, contact/motion module 123 and display controller 171 detect tactile Contact in template.
Contact/motion module 123 can be inputted by user's detection gesture.Different gesture in touch-control surface has Different contact modes.Therefore, gesture can be detected by detecting specific contact mode.For example, Detection singly refers to Flick gesture and includes detecting finger-down event, is to detect with finger-down event (for example, afterwards At picture mark position) finger at same position (or substantially the same position) place (lifts) event upwards.Again As the finger in detection touch-control surface is gently swept gesture and included detecting finger-down event, is detection one afterwards Or multiple finger drag events, and it is followed by detecting that finger (lifts) event upwards.
Figure module 124 includes various known software parts on touch-screen 110 or other displays Figure rendered and shown, this display touch-screen or other displays are included for changing shown figure The part of shape intensity.As used herein, term " figure " includes being shown to any object of user, bag Include but be not limited to text, webpage, icon (such as including the user interface object of soft key), digital picture, regard Frequently, animation etc..In certain embodiments, figure module 124 stores the data of the figure representing to be used.Often Individual figure can be assigned to that corresponding code.Figure module 124 receives one or more generations from application program etc. Code, this one or more code is specified and is shown together with coordinate data and other graphic attribute data (if there are must Will) figure, then produce screen image data to export to display controller 171.
Text input module 125 can be the part of figure module 124, and text input module provides soft keyboard For inputting the text in various application programs.
GPS module 126 determines the position of equipment and provides these information for various application programs.
Touch-screen can show one or more figures in user interface (UI).In this embodiment and below In the other embodiments of description, user can select one of figure or many by doing gesture on figure Person, such as using one or more fingers or one or more stylus.In certain embodiments, when in user The disconnected contact with one or more figures can occur the selection to one or more figures.In some embodiments In, gesture be may include the one or many being contacted with terminal 100 and touches, one or many gently sweep (from Left-to-right, from right to left, up and/or down) and/or finger roll (from right to left, from left to right, to Upper and/or downward).In certain embodiments it is not intended to middle contact pattern may will not select this figure.For example, When the gesture corresponding to selection is to touch, inswept application program image target gently sweep gesture may will not select right The application program answered.
Terminal 100 may also comprise one or more physical button, such as " returns " or menu button.As previous Described, menu button can be used for navigating to any one of one group of application program that can execute on the terminal 100 should With program 127.Alternatively, in certain embodiments, menu button be implemented as being shown in tactile Touch the soft key in the GUI on screen 110.
In one embodiment, terminal 100 includes touch-screen 110, menu button, is used for opening of device/pass Close and be powered and lock the push button of this equipment, one or more volume knob, user identity mould Block (SIM) draw-in groove, earphone jack and docking/charging external port 190.Push button can be used for by under Press this button and this button is maintained at the persistently predetermined time interval of pressed status comes in turn on/off devices Power supply.Pushed in the past and/or before unlocking this equipment or initiation releasing process by predetermined time interval Button release button are locking this equipment.In the embodiment of alternative, equipment 100 also can pass through microphone 162 Accept speech input for activating or disabling some functions.
The Wi-Fi module of smart machine using conventional Wi-Fi module, and can be arranged on by existing means In smart machine.In embodiments of the present invention, it would however also be possible to employ and MCU (Microcontroller Unit, micro- Control unit) the weaker Wi-Fi module of operational capability, that is, ensure that Wi-Fi module can be supported in the present embodiment Described penetration transmission scheme.
In embodiments of the present invention, cloud server, smart machine and terminal, composition as shown in Figure 3 a be System.In the present embodiment, the concrete network data exchange process of each equipment in the system shown in Fig. 3 a, As shown in Figure 3 b, wherein member system can be run by the server in network high in the clouds, member system is used for managing Reason access smart machine, remotely control, equipment control, data analysis, the super application etc. about equipment Function, be also used for management terminal intelligent management, application (such as control panel) upgrading, accident analysis, The functions such as member management, in the present embodiment, in particular so that high in the clouds possesses the function of command set adaptation, that is, Adaptation machine is run by the server in high in the clouds, and the corresponding protocol format of type adaptation according to smart machine, number According to coding etc., it should be noted that being used for beyond the clouds realizing the server of above-mentioned functions management in the present embodiment In can become cloud server.High in the clouds can also be carried out by push server with smart machine and terminal Communication, in the present embodiment, push server can be same server with cloud server, for rule The larger network of mould and the more system of number of users it is also possible to specially setting push server be used for high in the clouds Server and the data interaction of smart machine and terminal.
The embodiment of the present invention provides a kind of method accessing smart machine, as shown in figure 4, including:
101, the control command that cloud server receiving terminal sends, start adaptation mechanism and obtain described control life Make corresponding communication protocol.
For example:As shown in Figure 3 a, the control command that cloud server receiving terminal is sent by wireless network, Control command can be that according to the operation of user, (such as user is carried out a little on the control panel that UI shows terminal Hit the operation such as control, slip control) generate.
Adaptation mechanism described in the present embodiment can be understood as:Smart machine passes through serial ports with wireless module Be connected, wireless module is used for by wireless network to cloud server interaction data, then smart machine with wireless The serial port communicating protocol adopting between module, realizes the nothing adopting that communicates between wireless module and cloud server Line communication protocol, and for realizing signal from smart machine to cloud server again to other agreements of terminal, Communication protocol can be referred to as.And different smart machines and cloud server are realized interaction data and are used Communication protocol incomplete same, then each smart machine of termination rack send control command all should correspond to one Cover or cover communication protocol more, then can be understood as the corresponding communication protocol of control command.
102, the communication protocol being obtained according to adaptation, described control command is translated to device command, and to intelligence The wireless module of energy equipment sends.
In the present embodiment, by cloud server execute adaptation mechanism it is possible to understand that:Smart machine end will set Standby status data reports to the cloud server of smart home cloud platform;Cloud server is by smart machine Status data translates to the SOT state of termination, updates the data the SOT state of termination that storehouse smart machine state is after translation simultaneously, And push the SOT state of termination after translation to terminal;Terminal shows in the control panel of UI after receiving the SOT state of termination New state.If terminal sends control command to smart machine, control command is put down by terminal to smart home cloud The cloud server of platform sends, and control command is translated to the readable order of smart machine by cloud server, and Order after translation is sent to smart machine, smart machine executes after receiving order, and updates smart machine Total state data.
When smart machine is registered to system as shown in Figure 3 a for the first time, to the cloud service of smart home cloud platform Device reports the MAC Address of smart machine, and system is pre-assigned to the type identification of this smart machine, unique The identification informations such as mark (No. ID of such as equipment), and set up identification information and the association being adapted to machine, wherein, Adaptation machine can be operate on cloud server for carrying the virtual of communication protocol needed for smart machine Machine.It should be noted that for smart machine distribution uniquely identified can be cloud server or Other server apparatus in smart home cloud platform.When smart machine is reached the standard grade and again to high in the clouds transmission message When, carry the MAC Address of smart machine in the message, cloud server is looked into by the MAC Address of smart machine Ask the identification information of smart machine, and enable corresponding adaptation machine to translate the message that smart machine reports, and Message after translation is sent to terminal.
To execute in the translation process of control command beyond the clouds server, thus realizing the wireless mould of smart machine Block transparent data.Specifically, the transparent transmission mechanism in the present embodiment can include:
After the wireless module of described smart machine receives the control command that described cloud server sends, right Described control command carries out first kind transparent transmission process, and by the control command processing through first kind transparent transmission to institute State the mainboard transmission of smart machine, described first kind transparent transmission processes and includes:It is described according to described communication protocol Control command interpolation data frame head, check information data postamble.
When the wireless module of described smart machine receive described smart machine mainboard send upper line command or After status data, Equations of The Second Kind transparent transmission process is carried out to described upper line command or status data, and will be through second The upper line command that class transparent transmission is processed or status data transmit to described cloud server, at described Equations of The Second Kind transparent transmission Reason includes:Frame head before and after Frame is removed according to described communication protocol, check information and postamble.
For example:Taking as shown in Figure 5 as a example, will execute in the translation process of control command beyond the clouds server, right In downlink data, the wi-fi module of smart machine receives device command (the i.e. high in the clouds clothes that cloud server is sent The device command that business device obtains according to control command translation), no longer parse specific command context, only according to string Mouth communications protocol, adds before and after device command (i.e. valid data) and meets wi-fi module and cloud service Between device, the data frame head of communication protocol, check information and postamble, are issued to and hold for smart machine on serial ports OK.Wherein, the control command that terminal is sent by the transmitting order to lower levels that cloud server is sent by cloud server according to Generate according to communication protocol between wi-fi module and cloud server.For upstream data, when wi-fi module is received To smart machine after the upper line command that serial ports is sent or status data (i.e. valid data), led to according to serial ports News agreement, removes frame head before and after Frame, check information and postamble, valid data is directly issued cloud End server, wherein valid data can include the data reflecting line command or status data particular content.
103, cloud server receives the status data that the wireless module of described smart machine sends, and passes through The communication protocol obtaining in adaptation mechanism, described status data is converted to status displaying information.
104, send described status displaying information to described terminal, shown according to described state in order to described terminal Show the running status of smart machine described in presentation of information.
In the preferred version of the present embodiment, described terminal operating controls application, and described control application includes frame Frame part and at least one control panel, wherein, a kind of control panel corresponds to a kind of smart machine, and is used for Control this corresponding a kind of smart machine.Wherein, the function of controlling the frame part of application can be shared , for example:Smart machine can be at least that air-conditioning, baking box, micro-wave oven and solar water heater etc. intelligently set Standby, these smart machines are provided with wireless module.These smart machines have with temperature sensor, can adopt Collection environment temperature, and would indicate that the status data of temperature to cloud server transmission, in order to cloud server Would indicate that the status data of temperature is converted to the status displaying information of displays temperature, aobvious on UI in order to terminal Temperature indicating angle value.It should be understood that these smart machines are required for for temperature value being shown in end as smart machine On end, belong to the part that these smart machines share, then the control of displays temperature, display box and pointer etc. can Using as frame part.And belong to the part that these smart machines do not share, such as:Air-conditioning needs to adjust wet The part of degree, baking box need to set the part of baking temperature, micro-wave oven need to set the heat time part and Solar water heater needs to set the part of inflow, belongs to the part not shared, is then integrated in each respectively In the corresponding control panel of smart machine.Thus when different types of smart machine adds system in a large number, no Each smart machine need to be respectively and reopen the special control application of each smart machine, only need to be respectively each Smart machine develops specific control panel, reloads in frame part, thus avoiding in control application The overlapping development of partial content, and reduce development difficulty, therefore drastically increase and operate in terminal Control application development rate.
For example:In Android platform, the control panel described in the present embodiment is alternatively referred to as plug-in unit, if inserting Part (or claiming control panel) is specifically used to control the operation of smart machine, then be referred to as equipment remote-control Device or device controller.Illustrate the application mode of plug-in unit:In Android platform, can be in original java ClassLoader on introduce DexClassLoader, can be with load document system by DexClassLoader Jar, dex, apk on system.This Plugin Mechanism solves the problems, such as that plug-in unit of the same name loads exception, such plug-in unit Classification storage in the SD card of terminal, but the current plug-in unit running of only one of which in terminal inner storage, from And saved the internal storage space of terminal.
The method accessing smart machine provided in an embodiment of the present invention, startup of server adaptation mechanism beyond the clouds, And the control command for sending terminal to smart machine translates to device command, also by smart machine to end The upper line command that end uploads and status data translate to the status displaying information that terminal can directly use, thus Server realizes the process that the data adaptation dress between terminal and smart machine changes beyond the clouds.Avoid by wireless Module undertakes data adaptation dress and changes, and reduces the complexity of program compiling on wireless module, shortens exploitation In the cycle, so that the access complexity of smart machine will reduce, and access speed will improve.
In the present embodiment, also provide a kind of login mechanism in system as shown in Figure 3 a for smart machine, bag Include:
After described cloud server receives the registration request that described smart machine sends, obtain described intelligence The MAC Address of equipment, and be described smart machine allocation identification information.
When adaptation mechanism starts, the MAC Address according to described smart machine and identification information-enquiry are adapted to machine, And by described adaptation machine according to described communication protocol, by described control command translate to described device command or Described status data is converted to described status displaying information.
In the present embodiment, also include:When described cloud server receives the note that described smart machine sends After volume request, according to the MAC Address of described smart machine, described identification information and version number, obtain inquiry mark Know, and associate described inquiry mark and be adapted to machine with described, wherein version number can be understood as controlling in terminal and is somebody's turn to do The version number of the control panel of smart machine.For example:For a smart machine, set up in cloud server And preserve the MAC Address+identification information+version number of this smart machine with run in cloud server be adapted to machine Association.
In the present embodiment, additionally provide a kind of scheme of terminal automatic Loading Control panel, thus improving system The automaticity of system, it is to avoid user expends time manual search and installs control panel.Including:
When specified smart machine is online, described terminal detection described control whether there is described finger in application The corresponding control panel of fixed smart machine.
If existing, the described terminal detection corresponding control panel of the described smart machine specified is the need of more Newly, if then asking to update the corresponding control panel of the described smart machine specified to described cloud server.
If not existing, it is corresponding that described terminal downloads the described smart machine specified from described cloud server Control panel.Taking flow process as shown in Figure 6 as a example:Terminal is smart mobile phone, and mobile phone runs the present embodiment Described frame content and control panel, or only run frame content, idiographic flow can be understood as:
A1, the operation according to user, start one of the list of smart machine of mobile phone smart machine;
A2, judge that smart machine is whether online, such as equipment off-line, then this smart machine is shown by UI Offline, wherein inquiry request can be sent to cloud server from mobile phone, and know row from cloud server The online situation of each smart machine in table;If standby online, plug-in unit judged according to device type, such as makees Control panel for remote control, if need to download.Wherein plug-in unit needs situation about downloading to include:This The plug-in unit of smart machine was not downloaded, or the plug-in version number of this smart machine and cloud server In up-to-date version number be not inconsistent, need update;
If a3 plug-in unit needs to download, to be downloaded complete this plug-in unit of dynamic load after this plug-in unit.If need not under Carry, such as plug-in unit is present in the plugin library that terminal is stored, then direct this plug-in unit of dynamic load.Specifically , terminal dynamic load plug-in unit process can as shown in fig. 7, comprises:1st, judge the caching of classload, If any caching, then cleaning caching, start after the completion of cleaning to load plug-in unit class;If no caching, start to load Plug-in unit class;2nd, load plug-in unit, obtain the relevant information of the plug-in unit needing to record from the configuration file of plug-in unit, Judging whether this plug-in unit loaded in classload, if do not loaded, being loaded into plug-in unit process;3、 According to plug-in card configuration information, plug-in unit and related resource are loaded using reflex mechanism.
In the present embodiment, described terminal shows the operation of described smart machine according to described status displaying information State, including:
Described terminal, according to described status displaying information, obtains mutual exclusion strategy, wherein, described smart machine pair The control panel answered includes at least two class controls, and described mutual exclusion strategy includes:When one type control starts, Close at least one other controls of class.
Closed according to described mutual exclusion strategy and open the corresponding control in UI, and the specified area in described UI Domain shows the operational factor of described smart machine.For example:Smart machine is air-conditioning, and mutual exclusion strategy includes:Remove Can only there are a startup, the control that can be started, life according to the click of user in wet control and humidification control Become corresponding control command, and send to cloud server.Control without starting then appears dimmed, And the clicking operation for user does not do any reaction.
Taking concrete application scene as shown in Figure 8 as a example, the possible concrete application scheme of mutual exclusion strategy, can wrap Include:
The last status data of smart machine that b1, terminal get from cloud server;
B2, terminal draw ui;
B3, terminal generate state machine and produce ui mutual exclusion rule, and start corresponding control according to mutual exclusion rule, And close or a part of control of ineffective treatment;
B4, determine whether that equipment state reports, if no, terminating;If any then return to step 3 repaints ui.
In order to improve the reflection speed of terminal further, the running status of smart machine is quickly shown on UI, Thus reducing the stand-by period of user, also provide a kind of the aobvious of running status of smart machine in the present embodiment Show mode, including:
After described terminal sends described control command to described cloud server, described terminal is according to described control System order generates status displaying information, and refreshes UI according to the status displaying information being generated.
If not receiving the described status displaying information that described cloud server sends in Preset Time, will UI return back to the dispaly state before refreshing.
If receiving the described status displaying information that described cloud server sends in Preset Time, detect institute State the described status displaying information of cloud server transmission and described terminal generates state according to described control command Whether display information is identical, if differing, is believed according to the described status display that described cloud server sends Breath refreshes UI.
Taking concrete application scene as shown in Figure 9 as a example, the quick concrete application scheme showing running status, real Show the expecting state that terminal can generate smart machine in transmission control command simultaneously, the UI of terminal is according to expection State refreshes UI.If order sends unsuccessfully, such as:Control command is sent to cloud server by terminal and loses Lose, or control command by cloud server be sent to smart machine failure so that terminal within a specified time It is not received by the status data that smart machine feeds back via cloud server, then the UI dispaly state of plug-in unit is returned Fall back on the equipment state finally getting.Scheme specifically can include:
The plug-in unit (control panel) running in c1, terminal, according to the operation of user, generates control command, and produces The expecting state of raw smart machine;Wherein, terminal can be run the virtual machine for stimulating intelligent equipment, And execute control command in virtual machine and obtain expecting state;Or, virtual machine may operate in high in the clouds clothes Business device, after cloud server receives the control command of terminal transmission, that is, obtains this control command corresponding pre- Phase state simultaneously feeds back to terminal;Again or, terminal can download from cloud server and store control command with The corresponding form of expecting state, after terminal generates control command, you can obtained by tabling look-up and show expection State;
C2, the display content according to plug-in unit in expecting state refreshing ui;
C3, in specified time after sending control command for the detection (in such as 15 seconds) whether receive smart machine The up-to-date status data of feedback, if receiving, smart machine pushes the ui state machine of state-driven, flow process Terminate;If not receiving, plug-in unit ui return back to a dispaly state, in synchronous mobile phone local data base acquisition One dispaly state sending shows to plug-in unit, flow process terminates.
Wherein, the ui state machine that smart machine state reporting drives, including following functions:1st, plug-in unit UI (boundary Face) state-driven (UI is changed immediately according to state) that reported by smart machine, it is loyal to smart machine all the time State;2nd, the mutually exclusive operation of UI, by the Determines of smart machine;3rd, pass through state machine model, drive UI and mutually exclusive operation.
In conjunction with the method for above-mentioned access smart machine, provide a kind of as shown in Figure 10 concrete in the present embodiment Data exchange process in application scenarios.
The embodiment of the present invention also provide a kind of access smart machine system, described system include cloud server, Smart machine and terminal.The specific implementation of wherein cloud server can be as shown in Figure 1;Terminal concrete Implementation can be as shown in Fig. 2 communication modes between each equipment in the framework of this system and system Can be as shown in Figure 3 a, 3 b.Wherein:
Described cloud server, the control command sending for receiving terminal, and start adaptation mechanism and obtain institute State the corresponding communication protocol of control command.The communication protocol being obtained according to adaptation, described control command is translated For device command, and send to described smart machine, described smart machine installs wireless module.
The wireless module of described smart machine, for carrying out data with described cloud server by wireless network Interaction.The wireless module of described smart machine, the command information being additionally operable to send described cloud server passes It is defeated by described smart machine, and the status data that described smart machine is produced sends to described cloud server.
Described cloud server, is additionally operable to receive the status data that the wireless module of described smart machine sends, And the communication protocol by obtaining in adaptation mechanism, described status data is converted to status displaying information simultaneously Described status displaying information is sent to described terminal.
Described terminal, for showing the running status of described smart machine according to described status displaying information.
In the present embodiment cloud server as shown in Figure 1, specifically communication unit can be used for receiving terminal The control command sending;And for sending device command to described smart machine;
Processor unit in cloud server is used for starting adaptation mechanism, and to obtain described control command corresponding logical Letter agreement, and the communication protocol being obtained according to adaptation, described control command is translated to device command;
In cloud server, the wireless module that can also be used for receiving described smart machine by communication unit sends Status data;And for sending status displaying information to described terminal;
Processor unit is used for the communication protocol by obtaining in adaptation mechanism, and described status data is changed For status displaying information.
In the present embodiment terminal as shown in Figure 2, specifically communication module 122 can be used for receiving high in the clouds clothes The status displaying information that business device sends, and touch control display 110 is used for showing the fortune of described smart machine Row state.Wherein, communication module 122 is additionally operable to think that cloud server sends control command
In the present embodiment, described cloud server, specifically for receiving the note that described smart machine sends After volume request, obtain the MAC Address of described smart machine, and be described smart machine allocation identification information.And Store MAC Address and the identification information of smart machine by memory cell.
When adaptation mechanism starts, the MAC Address according to described smart machine and identification information-enquiry are adapted to machine, And be used for running adaptation machine by processor unit, in adaptation machine, life is controlled by described according to described communication protocol Order translates to described device command or described status data is converted to described status displaying information.
Further, the memory cell in cloud server, is specifically additionally operable to receive when described cloud server After the registration request sending to described smart machine, believed according to the MAC Address of described smart machine, described mark Cease and version number, obtain inquiry mark, and associate described inquiry mark and be adapted to machine with described.
In the present embodiment, the wireless module of described smart machine, receives described high in the clouds clothes specifically for working as After the control command that business device sends, described control command is carried out with first kind transparent transmission process, and will be through first The control command that class transparent transmission is processed processes and includes to the mainboard transmission of described smart machine, described first kind transparent transmission: It is described control command interpolation data frame head, check information data postamble according to described communication protocol.
The wireless module of described smart machine, specifically for send when the mainboard receiving described smart machine After upper line command or status data, Equations of The Second Kind transparent transmission process is carried out to described upper line command or status data, and The upper line command processing or status data through Equations of The Second Kind transparent transmission are transmitted to described cloud server, described Two class transparent transmissions process and include:Frame head before and after Frame is removed according to described communication protocol, check information and frame Tail.
In the present embodiment, described terminal, controls application specifically for running, and described control application includes frame Frame part and at least one control panel, wherein, a kind of control panel corresponds to a kind of smart machine, and is used for Control this corresponding a kind of smart machine.
Further, described terminal, is specifically additionally operable to, when specified smart machine is online, detect described control Whether there is the corresponding control panel of the described smart machine specified in system application.If not existing, from described Cloud server downloads the corresponding control panel of the described smart machine specified.
If existing, detect the corresponding control panel of the described smart machine specified the need of renewal, if Then ask to update the corresponding control panel of the described smart machine specified to described cloud server.
Optionally, in the present embodiment, described terminal, specifically for according to described status displaying information, obtaining Take mutual exclusion strategy, wherein, the corresponding control panel of described smart machine includes at least two class controls, described mutually Scold strategy inclusion:When one type control starts, close at least one other controls of class.
And close and open the corresponding control in UI according to described mutual exclusion strategy, and specifying in described UI Region shows the operational factor of described smart machine.
Further, described terminal, is specifically additionally operable to when described terminal is to described in the transmission of described cloud server After control command, status displaying information is generated according to described control command, and according to the status display being generated Information refreshes UI.
If not receiving the described status displaying information that described cloud server sends in Preset Time, will UI return back to the dispaly state before refreshing.
If receiving the described status displaying information that described cloud server sends in Preset Time, detect institute State the described status displaying information of cloud server transmission and described terminal generates state according to described control command Whether display information is identical, if differing, is believed according to the described status display that described cloud server sends Breath refreshes UI.
The system accessing smart machine provided in an embodiment of the present invention, startup of server adaptation mechanism beyond the clouds, And the control command for sending terminal to smart machine translates to device command, also by smart machine to end The upper line command that end uploads and status data translate to the status displaying information that terminal can directly use, thus Server realizes the process that the data adaptation dress between terminal and smart machine changes beyond the clouds.Avoid by wireless Module undertakes data adaptation dress and changes, and reduces the complexity of program compiling on wireless module, shortens exploitation In the cycle, so that the access complexity of smart machine will reduce, and access speed will improve.
Each embodiment in this specification is all described by the way of going forward one by one, phase homophase between each embodiment As partly mutually referring to what each embodiment stressed is the difference with other embodiment. For apparatus embodiments, because it is substantially similar to embodiment of the method, so describe to compare Simply, in place of correlation, the part referring to embodiment of the method illustrates.
One of ordinary skill in the art will appreciate that realizing all or part of flow process in above-described embodiment method, Can be by computer program to complete come the hardware to instruct correlation, described program can be stored in a calculating In machine read/write memory medium, this program is upon execution, it may include as the flow process of the embodiment of above-mentioned each method. Wherein, described storage medium can for magnetic disc, CD, read-only memory (Read-Only Memory, ) or random access memory (Random Access Memory, RAM) etc. ROM.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited to This, any those familiar with the art the invention discloses technical scope in, can readily occur in Change or replacement, all should be included within the scope of the present invention.Therefore, protection scope of the present invention Should be defined by scope of the claims.

Claims (12)

1. a kind of method accessing smart machine is it is characterised in that include:
The control command that cloud server receiving terminal sends, starts adaptation mechanism and obtains described control command pair The communication protocol answered;
The communication protocol being obtained according to adaptation, described control command is translated to device command, and sets to intelligence Standby wireless module sends;
Cloud server receives the status data that the wireless module of described smart machine sends, and by adaptation The communication protocol obtaining in mechanism, described status data is translated to status displaying information;
Send described status displaying information to described terminal, believed according to described status display in order to described terminal Breath shows the running status of described smart machine.
2. method according to claim 1 is it is characterised in that also include:
After described cloud server receives the registration request that described smart machine sends, obtain described intelligence The MAC Address of equipment, and be described smart machine allocation identification information;
When adaptation mechanism starts, the MAC Address according to described smart machine and identification information-enquiry are adapted to machine, And by described adaptation machine according to described communication protocol, by described control command translate to described device command or Described status data is translated to described status displaying information.
3. method according to claim 2 is it is characterised in that when described cloud server receives institute After stating the registration request of smart machine transmission, also include:
According to the MAC Address of described smart machine, described identification information and version number, obtain inquiry mark, And associate described inquiry mark be adapted to machine with described.
4. method according to claim 1 is it is characterised in that include:
After the wireless module of described smart machine receives the control command that described cloud server sends, right Described control command carries out first kind transparent transmission process, and by the control command processing through first kind transparent transmission to institute State the mainboard transmission of smart machine, described first kind transparent transmission processes and includes:It is described according to described communication protocol Control command interpolation data frame head, check information data postamble;
When the wireless module of described smart machine receive described smart machine mainboard send upper line command or After status data, Equations of The Second Kind transparent transmission process is carried out to described upper line command or status data, and will be through second The upper line command that class transparent transmission is processed or status data transmit to described cloud server, at described Equations of The Second Kind transparent transmission Reason includes:Frame head before and after Frame is removed according to described communication protocol, check information and postamble.
5. method according to claim 1 is it is characterised in that include:
Described terminal operating controls application, and described control application includes frame part and at least one control panel, Wherein, a kind of control panel corresponds to a kind of smart machine, and for controlling this corresponding a kind of smart machine.
6. method according to claim 5 is it is characterised in that also include:
When specified smart machine is online, described terminal detection described control whether there is described finger in application The corresponding control panel of fixed smart machine;If not existing, described terminal is downloaded from described cloud server The corresponding control panel of the described smart machine specified;
If existing, the described terminal detection corresponding control panel of the described smart machine specified is the need of more Newly, if then asking to update the corresponding control panel of the described smart machine specified to described cloud server.
7. method according to claim 5 is it is characterised in that described terminal is according to described status display The running status of smart machine described in presentation of information, including:
Described terminal, according to described status displaying information, obtains mutual exclusion strategy, wherein, described smart machine pair The control panel answered includes at least two class controls, and described mutual exclusion strategy includes:When one type control starts, Close at least one other controls of class;
Closed according to described mutual exclusion strategy and open the corresponding control in UI, and the specified area in described UI Domain shows the operational factor of described smart machine.
8. the method according to any one in claim 5-7 is it is characterised in that also include:
After described terminal sends described control command to described cloud server, described terminal is according to described control System order generates status displaying information, and refreshes UI according to the status displaying information being generated;
If not receiving the described status displaying information that described cloud server sends in Preset Time, will UI return back to the dispaly state before refreshing;
If receiving the described status displaying information that described cloud server sends in Preset Time, detect institute State the described status displaying information of cloud server transmission and described terminal generates state according to described control command Whether display information is identical, if differing, is believed according to the described status display that described cloud server sends Breath refreshes UI.
9. a kind of system accessing smart machine is it is characterised in that described system includes cloud server, intelligence Can equipment and terminal;
Described cloud server, the control command sending for receiving terminal, and start adaptation mechanism and obtain institute State the corresponding communication protocol of control command;The communication protocol being obtained according to adaptation, described control command is translated For device command, and send to described smart machine, described smart machine installs wireless module;
The wireless module of described smart machine, for carrying out data with described cloud server by wireless network Interaction;The wireless module of described smart machine, the command information being additionally operable to send described cloud server passes It is defeated by described smart machine, and the status data that described smart machine is produced sends to described cloud server;
Described cloud server, is additionally operable to receive the status data that the wireless module of described smart machine sends, And the communication protocol by obtaining in adaptation mechanism, described status data is converted to status displaying information simultaneously Described status displaying information is sent to described terminal;
Described terminal, for showing the running status of described smart machine according to described status displaying information.
10. system according to claim 9 is it is characterised in that described cloud server, specifically for After receiving the registration request that described smart machine sends, obtain the MAC Address of described smart machine, and be Described smart machine allocation identification information;When adaptation mechanism starts, according to the MAC ground of described smart machine Location and identification information-enquiry adaptation machine, and by described adaptation machine according to described communication protocol, by described control Order translates to described device command or described status data is converted to described status displaying information.
11. systems according to claim 9, it is characterised in that described cloud server, are specifically also used In after described cloud server receives the registration request that described smart machine sends, set according to described intelligence Standby MAC Address, described identification information and version number, obtain inquiry mark, and associate described inquiry mark It is adapted to machine with described.
12. systems according to claim 9 it is characterised in that the wireless module of described smart machine, Specifically for after receiving the control command that described cloud server sends, described control command is carried out with the One class transparent transmission is processed, and the control command processing through first kind transparent transmission is passed to the mainboard of described smart machine Defeated, described first kind transparent transmission processes and includes:It is described control command interpolation data frame according to described communication protocol Head, check information data postamble;
The wireless module of described smart machine, specifically for send when the mainboard receiving described smart machine After upper line command or status data, Equations of The Second Kind transparent transmission process is carried out to described upper line command or status data, and The upper line command processing or status data through Equations of The Second Kind transparent transmission are transmitted to described cloud server, described Two class transparent transmissions process and include:Frame head before and after Frame is removed according to described communication protocol, check information and frame Tail.
CN201510465342.5A 2015-07-31 2015-07-31 Method and system for getting access to an intelligent device Pending CN106411979A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510465342.5A CN106411979A (en) 2015-07-31 2015-07-31 Method and system for getting access to an intelligent device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510465342.5A CN106411979A (en) 2015-07-31 2015-07-31 Method and system for getting access to an intelligent device

Publications (1)

Publication Number Publication Date
CN106411979A true CN106411979A (en) 2017-02-15

Family

ID=58007345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510465342.5A Pending CN106411979A (en) 2015-07-31 2015-07-31 Method and system for getting access to an intelligent device

Country Status (1)

Country Link
CN (1) CN106411979A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107154946A (en) * 2017-06-06 2017-09-12 宁波小匠物联网科技有限公司 A kind of smart machine control method for supporting various communications protocols
CN107277110A (en) * 2017-05-19 2017-10-20 珠海智加物联网络有限公司 A kind of real-time control method and its system based on technology of Internet of things
CN107765593A (en) * 2017-10-26 2018-03-06 四川云玦科技有限公司 System is realized in a kind of common apparatus control
CN107817992A (en) * 2017-10-26 2018-03-20 四川云玦科技有限公司 A kind of implementation method of common apparatus control
CN109361579A (en) * 2017-12-29 2019-02-19 广州Tcl智能家居科技有限公司 A kind of smart machine control method, system and storage medium
CN109474621A (en) * 2018-12-18 2019-03-15 四川哎欧梯科技有限公司 For being the module and method of visual object label by communication Protocol Conversion
CN110166622A (en) * 2019-04-22 2019-08-23 广东大杉网络科技有限公司 Web-loT remote control system
CN111025925A (en) * 2019-12-05 2020-04-17 重庆特斯联智慧科技股份有限公司 Intelligent home furnishing system based on cloud computing
CN112182327A (en) * 2019-07-05 2021-01-05 北京猎户星空科技有限公司 Data processing method, device, equipment and medium
CN112316417A (en) * 2020-11-05 2021-02-05 腾讯科技(深圳)有限公司 Control equipment connection method, device, equipment and computer readable storage medium
CN114442537A (en) * 2022-01-29 2022-05-06 深圳市智慧湾科技有限公司 Device intelligentization method, device and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255933A (en) * 2010-05-20 2011-11-23 中兴通讯股份有限公司 Cloud service medium, cloud computing method and cloud system
CN102833340A (en) * 2012-08-31 2012-12-19 澳柯玛股份有限公司 Intelligent internet of things platform based on cloud server
CN103051710A (en) * 2012-12-20 2013-04-17 中国科学院深圳先进技术研究院 Virtual cloud platform management system and method
CN103379154A (en) * 2012-04-23 2013-10-30 中兴通讯股份有限公司 Household appliance control method, cloud system, family gateway general control device and household appliance controller
CN103428268A (en) * 2013-07-09 2013-12-04 华数数字电视传媒集团有限公司 Digital household platform based on cloud structure and implementation method of digital household platform
CN104635536A (en) * 2014-12-22 2015-05-20 深圳市海普创科技开发有限公司 Intelligent household electrical appliance control method and system
CN104808601A (en) * 2014-01-28 2015-07-29 遵宇科技股份有限公司 Intelligent home control server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255933A (en) * 2010-05-20 2011-11-23 中兴通讯股份有限公司 Cloud service medium, cloud computing method and cloud system
CN103379154A (en) * 2012-04-23 2013-10-30 中兴通讯股份有限公司 Household appliance control method, cloud system, family gateway general control device and household appliance controller
CN102833340A (en) * 2012-08-31 2012-12-19 澳柯玛股份有限公司 Intelligent internet of things platform based on cloud server
CN103051710A (en) * 2012-12-20 2013-04-17 中国科学院深圳先进技术研究院 Virtual cloud platform management system and method
CN103428268A (en) * 2013-07-09 2013-12-04 华数数字电视传媒集团有限公司 Digital household platform based on cloud structure and implementation method of digital household platform
CN104808601A (en) * 2014-01-28 2015-07-29 遵宇科技股份有限公司 Intelligent home control server
CN104635536A (en) * 2014-12-22 2015-05-20 深圳市海普创科技开发有限公司 Intelligent household electrical appliance control method and system

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107277110A (en) * 2017-05-19 2017-10-20 珠海智加物联网络有限公司 A kind of real-time control method and its system based on technology of Internet of things
CN107277110B (en) * 2017-05-19 2021-03-30 珠海智加物联网络有限公司 Real-time control method and system based on Internet of things technology
CN107154946A (en) * 2017-06-06 2017-09-12 宁波小匠物联网科技有限公司 A kind of smart machine control method for supporting various communications protocols
CN107765593A (en) * 2017-10-26 2018-03-06 四川云玦科技有限公司 System is realized in a kind of common apparatus control
CN107817992A (en) * 2017-10-26 2018-03-20 四川云玦科技有限公司 A kind of implementation method of common apparatus control
CN109361579A (en) * 2017-12-29 2019-02-19 广州Tcl智能家居科技有限公司 A kind of smart machine control method, system and storage medium
CN109361579B (en) * 2017-12-29 2021-11-23 深圳Tcl新技术有限公司 Intelligent equipment control method, system and storage medium
CN109474621B (en) * 2018-12-18 2021-03-02 四川格物智享科技有限公司 Module and method for converting communication protocol into visible object label
CN109474621A (en) * 2018-12-18 2019-03-15 四川哎欧梯科技有限公司 For being the module and method of visual object label by communication Protocol Conversion
CN110166622A (en) * 2019-04-22 2019-08-23 广东大杉网络科技有限公司 Web-loT remote control system
CN112182327A (en) * 2019-07-05 2021-01-05 北京猎户星空科技有限公司 Data processing method, device, equipment and medium
CN111025925A (en) * 2019-12-05 2020-04-17 重庆特斯联智慧科技股份有限公司 Intelligent home furnishing system based on cloud computing
CN112316417A (en) * 2020-11-05 2021-02-05 腾讯科技(深圳)有限公司 Control equipment connection method, device, equipment and computer readable storage medium
CN114442537A (en) * 2022-01-29 2022-05-06 深圳市智慧湾科技有限公司 Device intelligentization method, device and readable storage medium
CN114442537B (en) * 2022-01-29 2024-06-04 深圳市智慧湾科技有限公司 Equipment intelligent method, equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN106411979A (en) Method and system for getting access to an intelligent device
CN107466077A (en) A kind of method for switching network and mobile terminal
CN104238877B (en) Control figure calibration method and terminal
CN102541455B (en) Method and device for rapidly switching operations
CN102932695B (en) A kind of remote control thereof, intelligent terminal and intelligent remote control system
CN107918563A (en) A kind of method, data processing equipment and user equipment replicated and paste
WO2011150878A2 (en) Touch screen and control method of touch screen
AU2016422505B2 (en) Data sharing method and terminal
CN111736980B (en) Memory management method and device
CN105677305A (en) Icon management method, device and terminal
CN109407930A (en) A kind of applied program processing method and terminal device
CN107203147B (en) Internet of Things network control system based on cloud platform and method
CN107924283A (en) Method, equipment and the graphical interface of user of human-computer interaction
CN104298434B (en) A kind of information processing method and electronic equipment
CN109804339A (en) Identify the method, device and mobile terminal of operation
CN106484518A (en) A kind of display methods, device and terminal for opening application more
CN105721510A (en) Account login method and terminal device
CN104142820B (en) A kind of animation method, device and system
WO2017128986A1 (en) Selection method, device and storage medium for multimedia menu item
CN108432161B (en) A kind of interference control method and terminal of audio service
CN109857354A (en) A kind of interface display method and terminal device
CN108604161A (en) A kind of method, apparatus and terminal device of locking list object
CN202523084U (en) Wireless transmission card capable of inserting memory card
CN103167627A (en) System and method based on wireless fidelity (WIFI) to achieve sharing mobile phone files
CN108182574A (en) A kind of resource transfers method and relevant device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170215

RJ01 Rejection of invention patent application after publication