CN105939380A - Data synchronization method and apparatus, router and intelligent hardware device - Google Patents
Data synchronization method and apparatus, router and intelligent hardware device Download PDFInfo
- Publication number
- CN105939380A CN105939380A CN201610352986.8A CN201610352986A CN105939380A CN 105939380 A CN105939380 A CN 105939380A CN 201610352986 A CN201610352986 A CN 201610352986A CN 105939380 A CN105939380 A CN 105939380A
- Authority
- CN
- China
- Prior art keywords
- device identification
- intelligent hardware
- communication connection
- hardware devices
- router
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/60—Router architectures
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/101—Access control lists [ACL]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/163—In-band adaptation of TCP data exchange; In-band control procedures
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a data synchronization method and apparatus, a router and an intelligent hardware device. The method comprises the following steps: receiving a communication establishment request sent by the intelligent hardware device, wherein the communication establishment request carries a device identifier of the intelligent hardware device; determining whether the device identifier is legal; if the device identifier is determined to be legal, establishing a communication connection with the intelligent hardware device; receiving synchronous data sent by the intelligent hardware device through the communication connection; and synchronizing the synchronous data to a server. By adopting the scheme, the data synchronization process is greatly simplified, and the communication resources are greatly saved.
Description
Technical field
It relates to networking technology area, particularly relate to a kind of method of data synchronization, device, router and Intelligent hardware and set
Standby.
Background technology
Along with developing rapidly of network technology and intelligent hardware devices, intelligent hardware devices is more and more universal, intelligent hardware devices
The data of server to be synchronized to also get more and more.Such as, air purifier needs to be synchronized to the environmental data collected clothes
Business device, water purifier needs the water quality data collected is synchronized to server.
In the method for data synchronization of correlation technique, need intelligent hardware devices and this intelligent hardware devices of control by router
Mobile terminal binding.Then, intelligent hardware devices sends the data to mobile terminal by router, and mobile terminal passes through
The data that intelligent hardware devices sends are sent to server by router again.
Visible, in the method for data synchronization of correlation technique, the process of data syn-chronization is the most loaded down with trivial details, significantly consumes the communication resource.
Summary of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of method of data synchronization, device, router and intelligence
Hardware device.
First aspect according to disclosure embodiment, it is provided that a kind of method of data synchronization, applies in the router, including:
Receiving the communication connection foundation request that intelligent hardware devices sends, described communication connection is set up in request and is carried described intelligence
The device identification of hardware device;
Determine that described device identification is the most legal;
If it is determined that described device identification is legal, then set up communication connection with described intelligent hardware devices;
Receive the synchrodata that described intelligent hardware devices is sent by described communication connection;
Described synchrodata is synchronized to server.
In conjunction with first aspect, in the first possible implementation of first aspect, described whether determine described device identification
Legal step includes:
Described device identification is searched in legitimate device identification list;
If finding described device identification in described legitimate device identification list, it is determined that described device identification is legal.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, institute
Method of stating also includes:
If not finding described device identification in described legitimate device identification list, it is determined that described device identification is illegal.
In conjunction with the realization that the second of first aspect, the first possible implementation of first aspect or first aspect is possible
Mode, in the third possible implementation of first aspect, described and described intelligent hardware devices sets up communication connection
Step includes:
Set up HTML (Hypertext Markup Language) HTTP to be connected or transmission control protocol TCP connection with described intelligent hardware devices.
Second aspect according to disclosure embodiment, it is provided that a kind of method of data synchronization, applies in intelligent hardware devices, bag
Include:
Sending communication connection to router and set up request, described communication connection is set up in request and is carried described intelligent hardware devices
Device identification;
After described device identification is by legal checking, set up communication connection with described router;
Synchrodata is sent to described router by described communication connection.
In conjunction with second aspect, in the first possible implementation of second aspect, described and described router is set up and is communicated
The step connected includes:
Set up HTML (Hypertext Markup Language) HTTP to be connected or transmission control protocol TCP connection with described router.
The third aspect according to disclosure embodiment, it is provided that a kind of data synchronization unit, applies in the router, including:
First receiver module, for receiving the communication connection foundation request that intelligent hardware devices sends, described communication connection is set up
Request is carried the device identification of described intelligent hardware devices;
Determine module, be used for determining that described device identification is the most legal;
Set up module, for if it is determined that described device identification is legal, then set up communication connection with described intelligent hardware devices;
Second receiver module, for receiving the synchrodata that described intelligent hardware devices is sent by described communication connection;
Synchronization module, for being synchronized to server by described synchrodata.
In conjunction with the third aspect, in the first possible implementation of the third aspect, described determine that module includes:
Search submodule, for searching described device identification in legitimate device identification list;
Determine submodule, if for finding described device identification in described legitimate device identification list, it is determined that described in set
Standby mark is legal.
In conjunction with the first possible implementation of the third aspect, in the implementation that the second of the third aspect is possible, institute
State and determine that submodule is additionally operable to:
If not finding described device identification in described legitimate device identification list, it is determined that described device identification is illegal.
In conjunction with the realization that the second of the third aspect, the first possible implementation of the third aspect or the third aspect is possible
Mode, in the third possible implementation of the third aspect, described module of setting up includes:
Set up submodule, be connected for setting up HTML (Hypertext Markup Language) HTTP with described intelligent hardware devices or pass transport control protocol
View TCP connects.
Fourth aspect according to disclosure embodiment, it is provided that a kind of data synchronization unit, applies in intelligent hardware devices, bag
Include:
First sending module, sets up request for sending communication connection to router, and described communication connection is set up in request and carried
The device identification of described intelligent hardware devices;
Set up module, for after described device identification is by legal checking, set up communication connection with described router;
Second sending module, for sending synchrodata by described communication connection to described router.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, described module of setting up includes:
Set up submodule, be connected or transmission control protocol TCP for setting up HTML (Hypertext Markup Language) HTTP with described router
Connect.
The 5th aspect according to disclosure embodiment, it is provided that a kind of router, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receiving the communication connection foundation request that intelligent hardware devices sends, described communication connection is set up in request and is carried described intelligence
The device identification of hardware device;
Determine that described device identification is the most legal;
If it is determined that described device identification is legal, then set up communication connection with described intelligent hardware devices;
Receive the synchrodata that described intelligent hardware devices is sent by described communication connection;
Described synchrodata is synchronized to server.
The 6th aspect according to disclosure embodiment, it is provided that a kind of intelligent hardware devices, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Sending communication connection to router and set up request, described communication connection is set up in request and is carried described intelligent hardware devices
Device identification;
After described device identification is by legal checking, set up communication connection with described router;
Synchrodata is sent to described router by described communication connection.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: this method of data synchronization includes: receive
Request is set up in the communication connection that intelligent hardware devices sends, and described communication connection is set up in request and carried described intelligent hardware devices
Device identification;Determine that described device identification is the most legal;If it is determined that described device identification is legal, then with described Intelligent hardware
Equipment sets up communication connection;Receive the synchrodata that described intelligent hardware devices is sent by described communication connection;By described same
Step data is synchronized to server.In the program, directly determined the legitimacy of intelligent hardware devices by router, and determining this
After intelligent hardware devices is legal, the data syn-chronization sent by intelligent hardware devices is to server, relative to correlation technique, it is not necessary to
By intelligent hardware devices and the mobile terminal binding controlling this intelligent hardware devices, without mobile terminal by router by intelligence
The data syn-chronization that energy hardware device sends is to server, thus enormously simplify the process of data syn-chronization, and is greatly saved
The communication resource.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, can not limit
The disclosure processed.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meet embodiments of the invention,
And for explaining the principle of the present invention together with description.
Fig. 1 is the flow chart according to a kind of method of data synchronization shown in an exemplary embodiment.
Fig. 2 is the flow chart according to the another kind of method of data synchronization shown in an exemplary embodiment.
Fig. 3 is the flow chart according to another method of data synchronization shown in an exemplary embodiment.
Fig. 4 is the block diagram according to a kind of data synchronization unit shown in an exemplary embodiment.
Fig. 5 is according to a kind of block diagram determining module shown in an exemplary embodiment.
Fig. 6 is according to a kind of block diagram setting up module shown in an exemplary embodiment.
Fig. 7 is the block diagram according to the another kind of data synchronization unit shown in an exemplary embodiment.
Fig. 8 is according to a kind of block diagram setting up module shown in an exemplary embodiment.
Fig. 9 is the block diagram according to a kind of intelligent hardware devices shown in an exemplary embodiment.
Figure 10 is the block diagram according to a kind of router shown in an exemplary embodiment.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to accompanying drawing
Time, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.In following exemplary embodiment
Described embodiment does not represent all embodiments consistent with the present invention.On the contrary, they are only and the most appended power
The example of the apparatus and method that some aspects that described in detail in profit claim, the present invention are consistent.
Fig. 1 is the flow chart according to a kind of method of data synchronization shown in an exemplary embodiment, as it is shown in figure 1, these data
Synchronous method is applied in router, comprises the following steps.
In step s 11, the communication connection foundation request that intelligent hardware devices sends is received.
The device identification carrying intelligent hardware devices in request is set up in communication connection.
At present, intelligent hardware devices development is very swift and violent, and intelligent hardware devices refers to by combining hardware and software to biography
The equipment that system equipment obtains after carrying out intellectualized reconstruction, such as intelligent refrigerator, Intelligent air purifier, intelligent anti-theft door etc.,
These intelligent hardware devices can set up communication connection with router, then by the data syn-chronization that collects to server.To this end,
Intelligent hardware devices needs to send communication connection to router and sets up request, and communication connection sets up request for request and router
Set up communication connection, in request is set up in communication connection, generally carry the device identification of intelligent hardware devices.This device identification is
Can uniquely characterize the mark of intelligent hardware devices, the concrete form used can be set according to actual needs, such as may be used
To be device number, hardware encoding etc..
In step s 12, determine that device identification is the most legal.
Step S12 determines device identification the most legal realize process, may include that and look in legitimate device identification list
Look for device identification, if finding device identification in legitimate device identification list, it is determined that device identification is legal;If
Legitimate device identification list does not finds device identification, it is determined that device identification is illegal.
Can pre-set legitimate device identification list, preserve in the list is the equipment mark of legal intelligent hardware devices
Know.For legal intelligent hardware devices, router can establish communication connection, and the data syn-chronization gathered
To server.Therefore, when determining that device identification is the most legal, whether legitimate device can be saved according to this device identification
Identification list is determined.
If it is determined that device identification is legal, in step s 13, communication connection is set up with intelligent hardware devices.
First router can determine that this device identification is the most legal, the most legal device identification, and router could be right with it
The intelligent hardware devices answered sets up communication connection.After once the communication connection with intelligent hardware devices is set up, intelligent hardware devices
Synchrodata can be sent.Generally, the data that different types of intelligent hardware devices is uploaded have different forms, and intelligence is hard
Part equipment can upload synchrodata in a corresponding format.
The communication connection set up from intelligent hardware devices can have multiple different type, such as, can be HTTP (HyperText
Transfer Protocol, HTML (Hypertext Markup Language)) connect, it is also possible to be TCP (Transmission Control Protocol,
Transmission control protocol) connection etc..Concrete implementation process it may be that the open interface of router is to intelligent hardware devices,
This interface can be a HTTP interface for Intranet, it is also possible to be the long connection of a TCP.
In step S14, receive the synchrodata that intelligent hardware devices is sent by communication connection.
After router sets up communication connection with intelligent hardware devices, intelligent hardware devices can be by this communication connection to route
Device sends synchrodata, and router realizes receiving, by this communication connection, the synchrodata that intelligent hardware devices sends.
In step S15, synchrodata is synchronized to server.
After router receives the synchrodata that intelligent hardware devices sends, by data syn-chronization to server, meeting on usual router
Having the account that user logs in, router can send synchrodata by listed account to server, and server will receive
To synchrodata be saved in the data that listed account is relevant.
It should be noted that the above-mentioned server related to can be the server of router, it is also possible to be intelligent hardware devices
Server.It is to say, the synchrodata that each intelligent hardware devices can be sent by router is all synchronized to router
Server, is preserved the synchrodata that each intelligent hardware devices sends, the at this moment server of router by the server of router
Synchrodata can be preserved according to the format classification of synchrodata;It is same that each intelligent hardware devices can also be sent by router
Step data distribution is synchronized to the server that each intelligent hardware devices is corresponding, the server of each intelligent hardware devices protect respectively
Depositing the synchrodata that corresponding intelligent hardware devices sends, the server of the most each intelligent hardware devices is without according to synchrodata
Format classification preserve synchrodata.
In the present invention, directly determined the legitimacy of intelligent hardware devices by router, and determining that this intelligent hardware devices is legal
After, the data syn-chronization sent by intelligent hardware devices is to server.Relative to correlation technique, it is not necessary to by intelligent hardware devices with
Control the mobile terminal binding of this intelligent hardware devices, by router, intelligent hardware devices is sent without mobile terminal
Data syn-chronization is to server, thus enormously simplify the process of data syn-chronization, and is greatly saved the communication resource.
Fig. 2 is the flow chart according to the another kind of method of data synchronization shown in an exemplary embodiment, as in figure 2 it is shown, this number
Apply in intelligent hardware devices according to synchronous method, comprise the following steps:
In the step s 21, sending communication connection to router and set up request, communication connection is set up in request and is carried Intelligent hardware
The device identification of equipment.
At present, intelligent hardware devices development is very swift and violent, and intelligent hardware devices refers to by combining hardware and software to biography
The equipment that system equipment obtains after carrying out intellectualized reconstruction, such as intelligent refrigerator, Intelligent air purifier, intelligent anti-theft door etc.,
These intelligent hardware devices can set up communication connection with router, then by the data syn-chronization that collects to server.To this end,
Intelligent hardware devices needs to send communication connection to router and sets up request, and communication connection sets up request for request and router
Set up communication connection, in request is set up in communication connection, generally carry the device identification of intelligent hardware devices.This device identification is
Can uniquely characterize the mark of intelligent hardware devices, the concrete form used can be set according to actual needs, such as may be used
To be device number, hardware encoding etc..
In step S22, after device identification is by legal checking, set up communication connection with router.
By router, device identification can be carried out legitimate verification, after it is by legal checking, intelligent hardware devices and road
The communication connection set up by device, communication connection can have multiple different type, such as, can be that HTTP connects, it is also possible to be
TCP connection etc..Concrete implementation process is it may be that the open interface of router is to intelligent hardware devices, and this interface is permissible
It is a HTTP interface for Intranet, it is also possible to be the long connection of a TCP.
In step S23, send synchrodata by communication connection to router.
Synchrodata can be the data that intelligent hardware devices collects.
In the present invention, directly determined the legitimacy of intelligent hardware devices by router, and determining that this intelligent hardware devices is legal
After, by intelligent hardware devices send data syn-chronization to server, relative to correlation technique, it is not necessary to by intelligent hardware devices with
Control the mobile terminal binding of this intelligent hardware devices, by router, intelligent hardware devices is sent without mobile terminal
Data syn-chronization is to server, thus enormously simplify the process of data syn-chronization, and is greatly saved the communication resource.
Fig. 3 is the flow chart according to another method of data synchronization shown in an exemplary embodiment, as it is shown on figure 3, this number
According to synchronous method apply router and intelligent hardware devices and server mutual in, router is logical with intelligent hardware devices
Letter connection has various ways, illustrates in the present embodiment, specifically can include following as a example by setting up http communication connection
Step:
In step S31, intelligent hardware devices sends the request of HTTP connection establishment to router, in the request of HTTP connection establishment
Carry the device identification of intelligent hardware devices.
Device identification is the mark that can uniquely characterize intelligent hardware devices, and the concrete form used can be entered according to actual needs
Row sets, such as, can be device number, hardware encoding etc..
In step s 32, router receives the HTTP connection establishment request that intelligent hardware devices sends.
In step S33, router searches device identification in legitimate device identification list.
If finding device identification in legitimate device identification list, in step S34, determine that device identification is legal, with intelligence
Hardware device is set up HTTP and is connected, and performs S36.
If not finding device identification in legitimate device identification list, in step s 35, it is determined that device identification is illegal,
The failure of indicating intelligent hardware device HTTP connection establishment, flow process terminates.
Can pre-set legitimate device identification list, preserve in the list is legal device identification, the most legal
The device identification of intelligent hardware devices, for legal intelligent hardware devices, router can establish communication connection,
And the data syn-chronization gathered is to server.Therefore, when determining that device identification is the most legal, can be according to this equipment
Identify whether to be saved in legitimate device identification list and be determined.
In step S36, intelligent hardware devices is connected to router transmission synchrodata by HTTP.
In step S37, router is received intelligent hardware devices and is connected the synchrodata sent by HTTP, and by same step number
According to being synchronized to server.
In the present invention, directly determined the legitimacy of the device identification of intelligent hardware devices by router, and determining that this intelligence is hard
After the device identification of part equipment is legal, the data syn-chronization sent by intelligent hardware devices is to server, relative to correlation technique,
Without by intelligent hardware devices and the mobile terminal binding controlling this intelligent hardware devices, passing through router without mobile terminal
The data syn-chronization sent by intelligent hardware devices is to server, thus enormously simplify the process of data syn-chronization, and significantly saves
Save the communication resource.
It is described above the process of the data syn-chronization in intelligent hardware devices to server, if will be by the data in server
It is synchronized to intelligent hardware devices, it is still desirable to by router by intelligent hardware devices and mobile terminal binding, then by moving
Terminal receives the data of server sync by the account logged in, and these data is passed through by router by mobile terminal the most again
To intelligent hardware devices, detailed process repeats no more.
Fig. 4 is that this device can be applied at router according to a kind of data synchronization unit block diagram shown in an exemplary embodiment
In.With reference to Fig. 4, this device includes the first receiver module 41, determines module 42, sets up module the 43, second receiver module 44
With synchronization module 45, wherein:
This first receiver module 41 is configured to, and receives the communication connection foundation request that intelligent hardware devices sends, communication connection
Set up the device identification carrying intelligent hardware devices in request;
This determines that module 42 is configured to, and determines that device identification is the most legal;
This is set up module 43 and is configured to, however, it is determined that device identification is legal, then set up communication connection with intelligent hardware devices;
This second receiver module 44 is configured to, and receives the synchrodata that intelligent hardware devices is sent by communication connection;
This synchronization module 45 is configured to, and synchrodata is synchronized to server.
In the present invention, directly determined the legitimacy of intelligent hardware devices by router, and determining that this intelligent hardware devices is legal
After, by intelligent hardware devices send data syn-chronization to server, relative to correlation technique, it is not necessary to by intelligent hardware devices with
Control the mobile terminal binding of this intelligent hardware devices, by router, intelligent hardware devices is sent without mobile terminal
Data syn-chronization is to server, thus enormously simplify the process of data syn-chronization, and is greatly saved the communication resource.
Fig. 5 is according to a kind of block diagram determining module 42 shown in an exemplary embodiment, sees Fig. 5, and this determines module 42
Including searching submodule 421 and determining submodule 422, wherein:
This lookup submodule 421 is configured to, and searches device identification in legitimate device identification list;
This determines that submodule 422 is configured to, if finding device identification in legitimate device identification list, it is determined that equipment
It is legal to identify.
A kind of optional embodiment, this determines that submodule is also configured to
If not finding device identification in legitimate device identification list, it is determined that device identification is illegal.
Fig. 6 is according to a kind of block diagram setting up module 43 shown in an exemplary embodiment, sees Fig. 6, and this sets up module 43
Including setting up submodule 431, wherein:
This is set up submodule 431 and is configured to, and sets up HTTP with intelligent hardware devices and is connected or TCP connection.
About the device in above-described embodiment, wherein modules performs the concrete mode of operation in the reality about the method
Execute in example and be described in detail, explanation will be not set forth in detail herein.
Fig. 7 is that this device can be applied in intelligence according to the another kind of data synchronization unit block diagram shown in an exemplary embodiment
In hardware device.With reference to Fig. 7, this device includes the first sending module 71, sets up module 72 and the second sending module 73, its
In:
This first sending module 71 is configured to, and sends communication connection to router and sets up request, and communication connection is set up in request
Carry the device identification of intelligent hardware devices;
This is set up module 72 and is configured to, and after device identification is by legal checking, sets up communication connection with router;
This second sending module 73 is configured to, and sends synchrodata by communication connection to router.
In the present invention, directly determined the legitimacy of intelligent hardware devices by router, and determining that this intelligent hardware devices is legal
After, by intelligent hardware devices send data syn-chronization to server, relative to correlation technique, it is not necessary to by intelligent hardware devices with
Control the mobile terminal binding of this intelligent hardware devices, by router, intelligent hardware devices is sent without mobile terminal
Data syn-chronization is to server, thus enormously simplify the process of data syn-chronization, and is greatly saved the communication resource.
Fig. 8 is according to a kind of block diagram setting up module 72 shown in an exemplary embodiment, sees Fig. 8, and this sets up module 72
Including setting up submodule 721, wherein:
This is set up submodule 721 and is configured to set up with router HTTP and is connected or TCP connects.
Fig. 9 is the block diagram according to a kind of device 900 for data syn-chronization shown in an exemplary embodiment.Such as, device
900 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, doctor
Treatment equipment, body-building equipment, personal digital assistant etc..
With reference to Fig. 9, device 900 can include following one or more assembly: processes assembly 902, memorizer 904, power supply
Assembly 906, multimedia groupware 909, audio-frequency assembly 910, the interface 912 of input/output (I/O), sensor cluster 914,
And communications component 916.
Process assembly 902 and generally control the integrated operation of device 900, such as with display, call, data communication, phase
The operation that machine operation and record operation are associated.Process assembly 902 and can include that one or more processor 920 performs to refer to
Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 902 can include one or more module,
Be easy between process assembly 902 and other assemblies is mutual.Such as, process assembly 902 and can include multi-media module, with
Facilitate multimedia groupware 908 and process between assembly 902 mutual.
Memorizer 904 is configured to store various types of data to support the operation at device 900.The example of these data
Including any application program for operating on device 900 or the instruction of method, contact data, telephone book data, disappear
Breath, picture, video etc..Memorizer 904 can by any kind of volatibility or non-volatile memory device or they
Combination realizes, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), erasable
Except programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory,
Flash memory, disk or CD.
The various assemblies that power supply module 906 is device 900 provide electric power.Power supply module 906 can include power-supply management system,
One or more power supplys, and other generate, manage and distribute, with for device 900, the assembly that electric power is associated.
The screen of one output interface of offer that multimedia groupware 908 is included between described device 900 and user.At some
In embodiment, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel,
Screen may be implemented as touch screen, to receive the input signal from user.Touch panel includes that one or more touch passes
Sensor is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sense touch or slide dynamic
The border made, but also detect the persistent period relevant to described touch or slide and pressure.In certain embodiments,
Multimedia groupware 908 includes a front-facing camera and/or post-positioned pick-up head.When device 900 is in operator scheme, such as shooting
When pattern or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Each preposition take the photograph
As head and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to output and/or input audio signal.Such as, audio-frequency assembly 910 includes a mike
(MIC), when device 900 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike quilt
It is configured to receive external audio signal.The audio signal received can be further stored at memorizer 904 or via communication
Assembly 916 sends.In certain embodiments, audio-frequency assembly 910 also includes a speaker, is used for exporting audio signal.
I/O interface 912 provides interface for processing between assembly 902 and peripheral interface module, above-mentioned peripheral interface module is permissible
It is keyboard, puts striking wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and
Locking press button.
Sensor cluster 914 includes one or more sensor, for providing the state estimation of various aspects for device 900.
Such as, what sensor cluster 914 can detect device 900 opens/closed mode, the relative localization of assembly, such as described
Assembly is display and the keypad of device 900, and sensor cluster 914 can also detect device 900 or 900 1, device
The position change of assembly, the presence or absence that user contacts with device 900, device 900 orientation or acceleration/deceleration and device
The variations in temperature of 900.Sensor cluster 914 can include proximity transducer, is configured to do not having any physical contact
Time detection near the existence of object.Sensor cluster 914 can also include optical sensor, such as CMOS or ccd image sensor,
For using in imaging applications.In certain embodiments, this sensor cluster 914 can also include acceleration transducer,
Gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 916 is configured to facilitate the communication of wired or wireless mode between device 900 and other equipment.Device 900
Wireless network based on communication standard can be accessed, such as WiFi, 2G or 3G, or combinations thereof.An exemplary enforcement
In example, communications component 916 receives the broadcast singal from external broadcasting management system or broadcast related information via broadcast channel.
In one exemplary embodiment, described communications component 916 also includes near-field communication (NFC) module, to promote junction service.
Such as, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB)
Technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be by one or more application specific integrated circuits (ASIC), digital signal
Processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA),
Controller, microcontroller, microprocessor or other electronic components realize, and are used for performing said method.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium including instruction, such as, wrap
Including the memorizer 904 of instruction, above-mentioned instruction can have been performed said method by the processor 920 of device 900.Such as, institute
Stating non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is by the process of intelligent hardware devices
When device performs so that intelligent hardware devices is able to carry out a kind of method of data synchronization, and described method includes:
Sending communication connection to router and set up request, described communication connection is set up in request and is carried described intelligent hardware devices
Device identification;
After described device identification is by legal checking, set up communication connection with described router;
Synchrodata is sent to described router by described communication connection.
Figure 10 is the block diagram according to a kind of device 1000 for data syn-chronization shown in an exemplary embodiment.Such as, dress
Put 1000 and may be provided in a server.With reference to Figure 10, device 1000 includes processing assembly 1022, and it farther includes
One or more processors, and by the memory resource representated by memorizer 1032, can be by processing assembly 1022 for storage
The instruction of execution, such as application program.In memorizer 1032, the application program of storage can include one or more
Each is corresponding to the module of one group of instruction.It is configured to perform instruction, to perform data syn-chronization additionally, process assembly 1022
Method, described method includes:
Receiving the communication connection foundation request that intelligent hardware devices sends, described communication connection is set up in request and is carried described intelligence
The device identification of hardware device;
Determine that described device identification is the most legal;
If it is determined that described device identification is legal, then set up communication connection with described intelligent hardware devices;
Receive the synchrodata that described intelligent hardware devices is sent by described communication connection;
Described synchrodata is synchronized to server.
Device 1000 can also include that a power supply module 1026 is configured to perform the power management of device 1000, and one has
Line or radio network interface 1050 are configured to be connected to device 1000 network, and input and output (I/O) interface 1058.
Device 1000 can operate based on the operating system being stored in memorizer 1032, such as Windows ServerTM, Mac OS XTM,
UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other reality of the present invention
Execute scheme.The application is intended to any modification, purposes or the adaptations of the present invention, these modification, purposes or
Adaptations is followed the general principle of the present invention and includes the undocumented common knowledge or used in the art of the disclosure
Use technological means.Description and embodiments is considered only as exemplary, and true scope and spirit of the invention are by following right
Requirement is pointed out.
It should be appreciated that the invention is not limited in precision architecture described above and illustrated in the accompanying drawings, and can
To carry out various modifications and changes without departing from the scope.The scope of the present invention is only limited by appended claim.
Claims (14)
1. a method of data synchronization, application is in the router, it is characterised in that including:
Receiving the communication connection foundation request that intelligent hardware devices sends, described communication connection is set up in request and is carried described intelligence
The device identification of hardware device;
Determine that described device identification is the most legal;
If it is determined that described device identification is legal, then set up communication connection with described intelligent hardware devices;
Receive the synchrodata that described intelligent hardware devices is sent by described communication connection;
Described synchrodata is synchronized to server.
Method the most according to claim 1, it is characterised in that the described step determining that described device identification is the most legal
Including:
Described device identification is searched in legitimate device identification list;
If finding described device identification in described legitimate device identification list, it is determined that described device identification is legal.
Method the most according to claim 2, it is characterised in that described method also includes:
If not finding described device identification in described legitimate device identification list, it is determined that described device identification is illegal.
4. according to the arbitrary described method of claim 1-3, it is characterised in that described foundation with described intelligent hardware devices is led to
The step that letter connects includes:
Set up HTML (Hypertext Markup Language) HTTP to be connected or transmission control protocol TCP connection with described intelligent hardware devices.
5. a method of data synchronization, applies in intelligent hardware devices, it is characterised in that including:
Sending communication connection to router and set up request, described communication connection is set up in request and is carried described intelligent hardware devices
Device identification;
After described device identification is by legal checking, set up communication connection with described router;
Synchrodata is sent to described router by described communication connection.
Method the most according to claim 5, it is characterised in that the described step setting up communication connection with described router
Including:
Set up HTML (Hypertext Markup Language) HTTP to be connected or transmission control protocol TCP connection with described router.
7. a data synchronization unit, application is in the router, it is characterised in that including:
First receiver module, for receiving the communication connection foundation request that intelligent hardware devices sends, described communication connection is set up
Request is carried the device identification of described intelligent hardware devices;
Determine module, be used for determining that described device identification is the most legal;
Set up module, for if it is determined that described device identification is legal, then set up communication connection with described intelligent hardware devices;
Second receiver module, for receiving the synchrodata that described intelligent hardware devices is sent by described communication connection;
Synchronization module, for being synchronized to server by described synchrodata.
Device the most according to claim 7, it is characterised in that described determine that module includes:
Search submodule, for searching described device identification in legitimate device identification list;
Determine submodule, if for finding described device identification in described legitimate device identification list, it is determined that described in set
Standby mark is legal.
Device the most according to claim 8, it is characterised in that described determine that submodule is additionally operable to:
If not finding described device identification in described legitimate device identification list, it is determined that described device identification is illegal.
10. according to the arbitrary described device of claim 7-9, it is characterised in that described module of setting up includes:
Set up submodule, be connected for setting up HTML (Hypertext Markup Language) HTTP with described intelligent hardware devices or pass transport control protocol
View TCP connects.
11. 1 kinds of data synchronization units, apply in intelligent hardware devices, it is characterised in that including:
First sending module, sets up request for sending communication connection to router, and described communication connection is set up in request and carried
The device identification of described intelligent hardware devices;
Set up module, for after described device identification is by legal checking, set up communication connection with described router;
Second sending module, for sending synchrodata by described communication connection to described router.
12. devices according to claim 11, it is characterised in that described module of setting up includes:
Set up submodule, be connected or transmission control protocol TCP for setting up HTML (Hypertext Markup Language) HTTP with described router
Connect.
13. 1 kinds of routers, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Receiving the communication connection foundation request that intelligent hardware devices sends, described communication connection is set up in request and is carried described intelligence
The device identification of hardware device;
Determine that described device identification is the most legal;
If it is determined that described device identification is legal, then set up communication connection with described intelligent hardware devices;
Receive the synchrodata that described intelligent hardware devices is sent by described communication connection;
Described synchrodata is synchronized to server.
14. 1 kinds of intelligent hardware devices, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
Sending communication connection to router and set up request, described communication connection is set up in request and is carried described intelligent hardware devices
Device identification;
After described device identification is by legal checking, set up communication connection with described router;
Synchrodata is sent to described router by described communication connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610352986.8A CN105939380A (en) | 2016-05-25 | 2016-05-25 | Data synchronization method and apparatus, router and intelligent hardware device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610352986.8A CN105939380A (en) | 2016-05-25 | 2016-05-25 | Data synchronization method and apparatus, router and intelligent hardware device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105939380A true CN105939380A (en) | 2016-09-14 |
Family
ID=57152280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610352986.8A Pending CN105939380A (en) | 2016-05-25 | 2016-05-25 | Data synchronization method and apparatus, router and intelligent hardware device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105939380A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018228488A1 (en) * | 2017-06-15 | 2018-12-20 | 青岛海尔股份有限公司 | Data synchronization method and apparatus, and mobile device |
CN110535962A (en) * | 2019-09-03 | 2019-12-03 | 日立楼宇技术(广州)有限公司 | Method of data synchronization, device, equipment and storage medium based on authenticating device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7899781B1 (en) * | 2006-10-13 | 2011-03-01 | Liquid Litigation Management, Inc. | Method and system for synchronizing a local instance of legal matter with a web instance of the legal matter |
CN102752389A (en) * | 2012-07-05 | 2012-10-24 | 杭州康庭科技有限公司 | Configuration method of wireless router based on mobile data network and system thereof |
CN104219038A (en) * | 2014-08-27 | 2014-12-17 | 小米科技有限责任公司 | Method and device for synchronizing data |
CN104601674A (en) * | 2014-12-29 | 2015-05-06 | 小米科技有限责任公司 | Method, device and method for synchronizing notification message |
-
2016
- 2016-05-25 CN CN201610352986.8A patent/CN105939380A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7899781B1 (en) * | 2006-10-13 | 2011-03-01 | Liquid Litigation Management, Inc. | Method and system for synchronizing a local instance of legal matter with a web instance of the legal matter |
CN102752389A (en) * | 2012-07-05 | 2012-10-24 | 杭州康庭科技有限公司 | Configuration method of wireless router based on mobile data network and system thereof |
CN104219038A (en) * | 2014-08-27 | 2014-12-17 | 小米科技有限责任公司 | Method and device for synchronizing data |
CN104601674A (en) * | 2014-12-29 | 2015-05-06 | 小米科技有限责任公司 | Method, device and method for synchronizing notification message |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018228488A1 (en) * | 2017-06-15 | 2018-12-20 | 青岛海尔股份有限公司 | Data synchronization method and apparatus, and mobile device |
CN110535962A (en) * | 2019-09-03 | 2019-12-03 | 日立楼宇技术(广州)有限公司 | Method of data synchronization, device, equipment and storage medium based on authenticating device |
CN110535962B (en) * | 2019-09-03 | 2022-02-25 | 日立楼宇技术(广州)有限公司 | Data synchronization method, device, equipment and storage medium based on authentication equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104159218B (en) | Internetwork connection establishing method and device | |
CN103944963B (en) | Method of data synchronization, device, equipment and system | |
CN105933899A (en) | Access method and device of wireless access point | |
CN104869612A (en) | Method and device for accessing network | |
CN106254467A (en) | Sharing files method and device | |
CN104159275A (en) | Network connection method and device | |
CN105338399A (en) | Image acquisition method and device | |
CN104765990A (en) | Setting method and device for management account of intelligent device | |
CN105182784A (en) | Method and device of controlling intelligent devices and terminal | |
CN104812092A (en) | Networking method and device of intelligent equipment | |
CN105828201A (en) | Video processing method and device | |
CN105468767A (en) | Method and device for acquiring calling card information | |
CN105704655A (en) | Media data sharing method and media data sharing device between terminals | |
CN104506443A (en) | Router setting interface display method and device | |
CN105744595A (en) | Method, device and system for accessing wireless local area network | |
CN104202624A (en) | Method and device for transmitting picture | |
CN106375096A (en) | Short message verification method and device | |
CN105872952A (en) | Information sending method and device based on wearable equipment | |
CN106535191A (en) | Network connection establishing method and device | |
CN106101773A (en) | Content is with shielding method, device and display device | |
CN104837178A (en) | Network accessing method and device | |
CN106604230A (en) | Region configuration method and region configuration device | |
CN104166814A (en) | Method and device for prompting WIFI network password and equipment | |
CN105515923A (en) | Equipment control method and device | |
CN106572010A (en) | Data package grabbing method and device, and terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160914 |