CN105636158B - A kind of information configuring methods and electronic equipment - Google Patents

A kind of information configuring methods and electronic equipment Download PDF

Info

Publication number
CN105636158B
CN105636158B CN201510984760.5A CN201510984760A CN105636158B CN 105636158 B CN105636158 B CN 105636158B CN 201510984760 A CN201510984760 A CN 201510984760A CN 105636158 B CN105636158 B CN 105636158B
Authority
CN
China
Prior art keywords
information
current
time
target device
current time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510984760.5A
Other languages
Chinese (zh)
Other versions
CN105636158A (en
Inventor
彭光超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510984760.5A priority Critical patent/CN105636158B/en
Publication of CN105636158A publication Critical patent/CN105636158A/en
Application granted granted Critical
Publication of CN105636158B publication Critical patent/CN105636158B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation

Abstract

This application provides a kind of information configuring methods and electronic equipments, smart home device, that is, target device is in order to update itself time, wireless network access request will be sent to default terminal, so that the default terminal is based on the wireless network access request, obtain wireless access information corresponding with the target device and itself the first current current time information, and it is sent to the target device, so that when the target device is according to the wireless access information configuration wireless network, also the time of itself can be updated using the first current time information received, for the data exported subsequently through the wireless network are encrypted, to improve the safety in utilization to the target device.

Description

A kind of information configuring methods and electronic equipment
Technical field
Present application relates generally to the application fields of smart home, more particularly to a kind of information configuring methods and electricity Sub- equipment.
Background technique
Smart home (smart home, home automation) is using house as platform, by technology of Internet of things by family In various equipment connect together, construct the management system of efficient housing facilities and family's schedule affairs, by always with Internet be connected, it will be able at any time realize home wiring control, Lighting control, remote control using telephone, indoor and outdoor remote control, burglar alarm, The multiple functions such as environmental monitoring, HVAC control, infrared forwarding and programmable Timer control, to make it not only and have and is traditional Inhabitation function also has both building, network communication, information household appliances, equipment automatization, provides comprehensive information exchange function, very Most various energy expenditures save fund.It can be seen that smart home is controlled and managed by networking comprehensive intelligent, make the people Home life is more comfortable, safety and efficiently, will necessarily become the grown form of the following household, before having a vast market Scape.
However, in practical applications, since many smart homes need to carry out wireless communication with the server of interconnection net side, The change of working condition can be realized to obtain command adapted thereto information, thus meet user demand, thus, in order to improve intelligence The safety that household uses needs that these smart homes and the interactive information before server is encrypted.
Summary of the invention
In view of this, being used the present invention provides a kind of information configuring methods and electronic equipment by being sent to target device Current time information is sent while configuring the wireless access information of its wireless network, to will be defeated by the wireless network Data out are encrypted, to improve the safety in utilization of the target device.
To achieve the goals above, this application provides following technical schemes:
A kind of information configuring methods, which comprises
Receive the wireless network access request that target device is sent;
Based on the wireless network access request, wireless access information corresponding with the target device and first are sent Current time information is to the target device, wherein the wireless access information is used to configure the wireless network of the target device Network, first current time information are used to update the time on the target device.
Preferably, the method also includes:
The time update request that the target device is sent is received, it is that the target device receives that the time, which updates request, It is sent after to the first preset time of first current time information;
It is updated and is requested based on the time, the second current time information on current device is sent to the target and is set It is standby.
Preferably, the method also includes:
Record sends the first information of the target device of the wireless network access request;
After the second preset time, it is based on the first information, the third current time information on current device is sent To the target device, to update the time on the target device.
A kind of information configuring methods, which comprises
Wireless network access request is sent to default terminal;
Receive the wireless access information corresponding with current device and the first current time letter of the default terminal feedback Breath;
Work as using the wireless access information configuration wireless network, and using described in first current time information update Time in preceding equipment.
Preferably, after updating the time on the current device, the method also includes:
After the first preset time, request is updated to the default terminal sending time;
The second current time information of the default terminal feedback is received, second current time information is described default Terminal receives the current time information when time update request;
The time on the current device is updated using second current time information.
Preferably, after updating the time on the current device, the method also includes:
Show that rule starts counting as per the schedule, and updates the time on the current device using count results;
After the second preset time, the third current time information that the default terminal is sent is received;
After updating the current time on the current device using the third current time information, current meter is continued with Number result updates the time on the current device.
A kind of electronic equipment, the electronic equipment include:
Clock chip obtains the current time information of the electronic equipment for carrying out timing;
Data transmission device, for receiving the wireless network access request of target device transmission;
Processor obtains wireless access corresponding with the target device for being based on the wireless network access request First current time information of information and the clock chip, and believed the wireless access by the data transmission device Breath and first current time information are sent to the target device, wherein the wireless access information is for configuring institute The wireless network of target device is stated, first current time information is used to update the time on the target device.
Preferably, the processor is also used to receive the time that the target device is sent in the data transmission device After updating request, the second current time information of the clock chip is obtained, and institute is sent to by the data transmission device State target device, it is that the target device receives the first default of first current time information that the time, which updates request, It is sent after time.
Preferably, the processor includes:
Storage unit, for recording the first information for sending the target device of the wireless network access request;
Then the processor is also used to after the second preset time, is based on the first information, by the on current device Three current time informations are sent to the target device, to update the time on the target device.
A kind of electronic equipment, the electronic equipment include:
Data transmission device, for sending wireless network access request to default terminal, and it is anti-to receive the default terminal The wireless access information corresponding with current device and the first current time information of feedback;
Processor is believed for utilizing the wireless access information configuration wireless network, and using first current time Breath updates the time on the electronic equipment.
Preferably, the processor is also used to after the first preset time, controls the data transmission device to described pre- If terminal sending time updates request, the second current time information of the default terminal feedback is received, and utilizes described second Current time information updates the time on the current device, wherein second current time information is the default terminal Receive the current time information when time update request.
Preferably, the processor includes:
Counting device after the time on the current device described in the update processor, shows rule as per the schedule Then start counting;
Then the processor is also used to update the time on the current device using the count results of the counting device, After the second preset time, when receiving the third current time information that the default terminal is sent, and utilizing the third current Between after current time on current device described in information update, the current count result for continuing with the counting device updates institute State the time on current device.
It can be seen that compared with prior art, this application provides a kind of information configuring methods and electronic equipment, intelligent family Equipment i.e. target device is occupied in order to update the time of itself, wireless network access request will be sent to default terminal, so that this is pre- If terminal is based on the wireless network access request, obtain corresponding with target device wireless access information and itself currently First current time information, and it is sent to the target device, so that the target device is according to the wireless access information configuration When wireless network, the time of itself can be also updated using the first current time information received, is used to subsequently through this The data of wireless network output are encrypted, to improve the safety in utilization to the target device.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of information configuring methods embodiment provided by the present application;
Fig. 2 is the flow diagram of another information configuring methods embodiment provided by the present application;
Fig. 3 is the flow diagram of another information configuring methods embodiment provided by the present application;
Fig. 4 is the flow diagram of another information configuring methods embodiment provided by the present application;
Fig. 5 is the part flow diagram of another information configuring methods embodiment provided by the present application;
The part flow diagram of Fig. 6 another information configuring methods embodiment provided by the present application;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment embodiment provided by the present application;
Fig. 8 is the structural schematic diagram of another electronic equipment embodiment provided by the present application.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
This application provides a kind of information configuring methods and electronic equipment, smart home device, that is, target device is in order to update The time of itself will send wireless network access request to default terminal, so that the default terminal is accessed based on the wireless network Request obtains wireless access information corresponding with the target device and itself the first current current time information, and sends To the target device, so that can also utilize and connect when the target device is according to the wireless access information configuration wireless network The first current time information received updates the time of itself, for adding to the data exported subsequently through the wireless network Close processing, to improve the safety in utilization to the target device.
In order to keep the above objects, features and advantages of the present invention more obvious and easy to understand, with reference to the accompanying drawing and specifically The present invention is described in further detail for embodiment.
A kind of flow diagram of information configuring methods embodiment provided by the present application, this method master shown in referring to Fig.1 The information configuring methods to be described from the angle of the terminal or electronic equipment that control various smart home devices, then this method can With the following steps are included:
Step S101: the wireless network access request that target device is sent is received.
Since smart home device can be according to the information such as ambient enviroment or surrounding devices working condition, or according to connecing Extraneous control signal received etc., to adjust itself working condition, thus promoted house security, convenience, comfort and Artistry etc., and realize the living environment of environmental protection and energy saving, meet the residential needs of user.
As it can be seen that in the practical application of smart home device (such as various network home appliances, information household appliances), it usually needs Wireless network realizes data interaction to realize above-mentioned function, and therefore, it is necessary to the wireless communication devices etc. to each smart home device It is configured, such as configures the information such as SSID (Service Set Identifier, service set) and the password of WIFI, with Just wireless network is accessed.
Wherein, a WLAN can be divided into several sub-networks for needing different identity to verify by SSID technology, often One sub-network requires independent authentication, only can just enter corresponding sub-network by the user of authentication, Prevent unauthorized user from entering present networks, it is seen then that in order to guarantee smart home device wireless data transmission and accordingly into The safety of row control usually requires to carry out authentication when it accesses wireless network, and to the letter for authentication Breath is encrypted, this is based on, and the application will encrypt the data of wireless transmission using the current time information of clock, from And the safety of improve data transfer, and then improve the safety using data control smart home device.
In addition, being usually free of clock chip in smart home device at present, just do not have self-clocking function, institute yet Can not be encrypted using the current time information of clock to interactive data;And since the cost of clock chip compares Height facilitates consideration from this, usually can't install clock chip into the smart home device.
Based on this, applicant considers to obtain accurate current time information from outside, to realize in smart home device For the encryption of interactive data, specifically, the intelligence man can be made after the radio network configuration for completing smart home device Clock server sending time acquisition request of the equipment to internet is occupied, it, will after receiving the request so as to the clock server Current time information thereon feeds back to corresponding smart home device, to make the smart home device subsequently through wireless When network sends data, the data are encrypted using the current time information received, to improve the smart home device The safety of control.
However, in the above method, smart home device obtains current time information from the clock server of internet Process needs certain time, this just demonstrates the clock server and corresponding smart home device binding time, influences the clock The working performance of server and the smart home device, especially because certain factors cause the smart home device to take from clock When business device obtains current time information failure, it will make the Bind Failed of the clock server Yu the smart home device, thus The failure rate for increasing this binding affects data interaction speed.
In order to improve such case, applicant further proposes to send to smart home device for configuring it wirelessly The thought that accurate current time is sent while the configuration information of network avoids from clock server and obtains the current of clock The possibility of temporal information failure, without interact and wait interaction success with clock server as a result, to substantially increase interaction fast Degree.
It, can be to mobile phone, computer etc. when some smart home device, that is, target device needs interaction data based on this Terminal sends wireless network access request, so as to the terminal accordingly by wireless network access information needed for the target device and Current time information is sent to the target device, completes the configuration to the wireless network of the target device simultaneously, also realization pair The update of its time.
Wherein, after in order to guarantee that terminal receives wireless network access request, accurately corresponding wireless network can be connect Enter information and current time information is sent to corresponding smart home device, which can usually carry The address information of the target device of the wireless network access request is sent, however, it is not limited to this, as long as can reach above-mentioned mesh .
Step S102: being based on the wireless network access request, send corresponding with target device wireless access information with And first current time information to the target device.
Wherein, the wireless access information is used to configure the wireless network of the target device, first current time Information is used to update time on the target device, and how the application is to utilizing wireless access information configuration smart home device The process of wireless network be not construed as limiting.
In practical applications, such as on above-mentioned mobile phone, computer terminal it is typically provided with clock, thus, at these ends When termination receives the wireless network access request of target device transmission, it will the current time information of itself clock chip is obtained, And to the wireless network access information that the wireless network of the target device is configured, wherein the Wi-Fi access information It can be what user was arranged or inputted for the Wi-Fi configuration requirement of the target device, the application accesses the wireless network The method of determination of information and it includes particular content without limitation, this smart home that can be configured according to specific needs is set Standby needs and the requirement to the interaction of its wireless data etc. determine that the application is no longer described in detail one by one herein.
To sum up, after certain smart home device, that is, target device sends wireless network access request to default terminal, this is default Terminal will be based on the wireless network access request, obtain corresponding with target device wireless access information and itself currently First current time information, and it is sent to the target device, so that the target device is according to the wireless access information configuration When wireless network, the time of itself can be also updated using the first current time information received, is used to subsequently through this The data of wireless network output are encrypted, to improve to the target device using safe;Moreover, this mode is not In the presence of the possibility for obtaining current time information failure from clock server, the success rate with smart home device binding is improved, Meanwhile because withouting waiting for clock server interaction success as a result, greatly improving the speed of data interaction.
As shown in Fig. 2, this method can for the flow diagram of another information configuring methods embodiment provided by the present application To include:
Step S201: the wireless network access request that target device is sent is received.
Wherein, which may include the address information of the target electronic device, but be not limited to This.
Step S202: being based on the wireless network access request, sends wireless access letter corresponding with the target device Breath and the first current time information are to the target device.
In the present embodiment practical application, presets terminal and obtain the wireless access information and first of target electronic device currently After temporal information, the wireless access information and the first current time information can be sent to according to the address information received Target device, to complete the update to the time on the configuration of the wireless network of the target device and the target device.
Step S203: through the first preset time, the time update request that target device is sent is received.
In practical applications, after target electronic device obtains the first current time information that default terminal is sent, it will Update its time using first current time information, still, due in smart home device without clock chip, be The subsequent current time information for being used to encrypt interaction data of guarantee it is accurate, need periodically on the target device Time is updated, and is based on this, which, which can periodically update to default terminal sending time, requests.
Optionally, which updates the address information that request also may include the target device, also may include corresponding Identification information, the application are not construed as limiting this, with guarantee the default terminal accordingly by gained current time information accurate feedback to The target device.
It should be noted that the time, which updates request, can be target device receives the first current time information first It is sent after preset time, that is to say, that target device can be when the first preset time be sent one time just as default terminal Between update request, to guarantee that the time on the target device is accurate.
Step S204: request is updated based on the time, the second current time information on current device is sent to institute State target device.
After the time that default terminal receives target device transmission updates request, it will obtain the current of itself time chip Time feeds back to the target device as the second current time information so that the target device using this second it is current when Between its time of information update, and return to above-mentioned steps S203 and continue to execute.
It can be seen that when the present embodiment not only makes default terminal utilize the wireless network access request of target device transmission, Wireless access information corresponding with the target device is fed back into the target device and carries out radio network configuration, while also by itself Current time information feed back to target device, update the time on the target device, with realize to the target device interaction number According to encryption;Moreover, the target device, which also periodically can preset terminal sending time to this, updates request, to periodically obtain The current time information of default terminal updates temporal, to guarantee the accurate of time on the target device, and then guarantees To the reliability of the encryption of its interaction data;Moreover, this mode and there is no from clock server obtain current time The possibility of information failure improves the success rate with smart home device binding, meanwhile, because withouting waiting for and clock server Interaction success as a result, greatly improving the speed of data interaction.
Other than the mode for regularly updating the time on target device that above-mentioned another embodiment provides, the application can be with Using other modes, the flow diagram of another information configuring methods embodiment provided by the present application as shown in Figure 3, the party Method may include:
Step S301: the wireless network access request that target device is sent is received.
Step S302: record sends the first information of the target device of the wireless network access request.
In the present embodiment, it is subsequent for convenience after terminal receives the wireless network access request that target device is sent Information, the first information of the available target device, such as address information, identification information are sent to the target device, this Application is not construed as limiting this, as long as the terminal can be made to determine therefrom that send current time letter to which smart home device Breath.
Step S303: being based on the first information, will wireless access information corresponding with the target device and first current Temporal information is sent to the target device.
Wherein, the wireless access information is used to configure the wireless network of the target device, first current time Information is used to update the time on the target device.
Step S304: after the second preset time, it is based on the first information, by the third current time information on current device It is sent to the target device.
In the present embodiment, in order to guarantee that the time on the target device is accurate, terminal can be periodically to the target device The current time information of its clock chip output is sent, so, the wireless network access of target terminal transmission is received in terminal Request, and by the current time information of the clock chip of itself and corresponding wireless access information feed back to the target device it Afterwards, which can also be set periodically to the current time information of the target device tranmitting data register chip with regularly updating the target The standby upper time.
It can use after terminal sends the first current time information to target device through the second preset time based on this The first information of record sends third current time information to the target device again, repeatedly, to guarantee that the target is set The standby upper time is accurate.
It should be noted that the application above-mentioned first, second, third, etc. is not offered as ordinal relation, it is used for the purpose of The difference for distinguishing the current time information that different time is sent, in addition, about above-mentioned first preset time and the second preset time It may be the same or different, the application is not construed as limiting this, specifically can be determine according to actual needs.
It can be seen that the present embodiment and the difference of above-mentioned method shown in Fig. 2 are that embodiment shown in Fig. 2 is target Equipment actively carries out time update, and the present embodiment is then from terminal periodically to target device transmission current time information, and Target device is substantially passive to receive simultaneously renewal time, but the two technical effect achieved is identical, can guarantee that target is set The standby upper time it is accurate.
In addition, it is necessary to which explanation, guarantees that the accurate method of time on target device is not limited to above two side Formula, target device receive the current time information of terminal transmission and after updating its time, can by way of counting come The time of the target device is calculated, and the technical regulation can indicate that rule is identical with the time, in this way, passing through in the target device When wireless network carries out data interaction, it can use the count results and interaction data be encrypted.
Certainly, it even if target device uses above-mentioned counting mode, can also periodically obtain or the clock core of receiving terminal The current time information of piece, to the current time for verifying its count results or update target device, and then using this Counting mode counts again, and the application is not especially limited this.
As shown in figure 4, being the flow diagram of another information configuring methods embodiment provided by the present application, this method master It to be described from smart home device angle, then this method may comprise steps of:
Step S401: wireless network access request is sent to default terminal.
In practical applications, when any smart home device needs to carry out data interaction by wireless network, will first match Its wireless network is set, for this purpose, the smart home device can send wireless network access request to default terminal, wherein the nothing Gauze network access request can carry its address information, and however, it is not limited to this.
Step S402: the wireless access information corresponding with current device and first of the default terminal feedback is received currently Temporal information.
In conjunction with foregoing description it is found that after presetting the wireless network access request that terminal receives smart home device transmission, The available wireless access information and itself clock for being used to configure the smart home device i.e. wireless network of current device The current time information of chip, and the wireless access information and current time information are sent to the smart home device.
Step S403: wireless access information configuration wireless network is utilized, and is updated using first current time information Time on the current device.
It should be noted that the application utilizes the specific of its wireless network of wireless access information configuration to smart home device Configuration process is not construed as limiting, and is specifically referred to the configuration of the wireless communication device of existing smart home device, the present embodiment This will not be detailed here.
Based on above-mentioned analysis it is found that certain smart home device, that is, current device lead to default terminal send wireless network connect After entering request, which will be based on the wireless network access request, and acquisition is corresponding with the smart home device wirelessly to be connect Enter information and the first current time information of itself, and be sent to the smart home device, so that the smart home is set When for according to the wireless access information configuration wireless network, also itself can be updated using the first current time information received Time, for the data exported subsequently through the wireless network are encrypted, with improve the target device is made Use safety.
Optionally, in order to further ensure the accuracy of smart home device follow-up time, on the basis of above-described embodiment On, specifically can receive the first current time information that default terminal is sent at it, and update the time on current device it Afterwards, as shown in figure 5, this method can also include:
Step S501: after the first preset time, terminal sending time is preset to this and updates request.
Wherein, it may include address information, identification information of current time etc. which, which updates request, to guarantee that this is default Terminal can be by the current time information accurate feedback of itself clock chip to current device.
Step S502: the second current time information of the default terminal feedback is received.
In the present embodiment, which can be the default terminal and receives the time update request When current time information.
Step S503: the time on the current device is updated using second current time information.
Wherein, current device can be worked as with above-mentioned using first using the method that the second current time information updates its time The method of preceding its time of time information renovation is identical, can also be different, the application is not construed as limiting this.
It can be seen that current device is requested by periodically updating to default terminal sending time in the present embodiment, to obtain The current time information of clock chip under the default terminal different moments, to regularly update the time on the current device, thus It ensure that the accuracy of time on the current device, and then ensure that and using the time its interaction data is encrypted Reliability.
Certainly, it is requested in addition to the above-mentioned smart home device active transmission time updates, outside the mode to update its time, this Application can also update the time on the current device, detailed process using the current time information of default terminal periodic feedback As shown in fig. 6, can also include: in the information configuring methods on the basis of above-mentioned embodiment shown in Fig. 4
Step S601: show that rule starts counting as per the schedule, and updated on the current device using count results Time.
In conjunction with above-described embodiment corresponding part description it is found that current device using the current time information that receives more After new temporal, it can show that as per the schedule rule starts counting, for example, being 60 systems, units on each position counted Be equivalent to number of seconds, can units increase speed can increase speed with number of seconds it is identical, often completely 60 into one simultaneously this position reset, Similarly, tens is equivalent to the number of minutes, and hundreds are equivalent to hourage, and counting process is identical as position counting process, this implementation Example is no longer described in detail one by one herein.Certainly, it is not limited to a kind of this mode about the counting mode of the application, as long as can indicate Time on synchronous current device, the application will not enumerate herein.
As it can be seen that the present embodiment can use this counting mode, guarantee is received from it to after the first current time information, To receiving before third current time information in this period, the accuracy of time on the current device.
Step S602: after the second preset time, the third current time information that the default terminal is sent is received.
It should be noted that second preset time can be identical as above-mentioned first preset time, can also be different, this Shen Please this is not construed as limiting.In addition, the third current time is after default terminal sends the first current time information to current device The second preset time when, clock chip output current time information.
Step S603: after updating the current time on the current device using the third current time information, continue benefit The time on the current device is updated with current count result.
It, will be by after current device updates temporal using third current time information in the present embodiment practical application Continue to count according to above-mentioned counting mode, and update the time on current device using count results, to guarantee that it receives the After three current time informations, until before receiving the 4th current time information that default terminal next time sends, in this period The accuracy of time on current device.It should be noted that current in addition to being updated according to above-mentioned counting mode for this period Outside time in equipment, other modes can also be used, the application is no longer described in detail one by one herein.
It optionally, in this embodiment, can also benefit after receiving the third current time information of terminal feedback again The time on current device is directly verified with the third current time information, if the two time consistency, can be no longer updated Time operation, if inconsistent be updated operation again, the application is not construed as limiting this.
It can be seen that current device uses counting mode to be not received by the current of terminal feedback at it in the present embodiment Temporal is updated during temporal information, guarantees the accuracy of the time at its any moment, simultaneously, additionally it is possible to regular using terminal The current time information of feedback updates the time on current device, achievees the purpose that correct the time on current device, thus into One step ensure that the accuracy of time on the current device, improves its time of the current equipment utilization and adds to interaction data The reliability of close processing.
As shown in fig. 7, being the structural schematic diagram of a kind of electronic equipment embodiment provided by the present application, which can be with It is the electronic equipments such as mobile phone, computer, the application is not construed as limiting this, then in the present embodiment, which may include:
Clock chip 701 obtains the current time information of electronic equipment for carrying out timing.
In practical applications, such as on above-mentioned mobile phone, computer electronic equipment it is usually constructed with clock chip and carries out timing, with Just user learns current time.
Data transmission device 702, for receiving the wireless network access request of target device transmission.
In the present embodiment, smart home device can be preset and its wireless network is arranged by which or which terminal Wireless access information can specifically bind the terminal with corresponding smart home device, and however, it is not limited to this.This Sample directly can send wireless network to default terminal when smart home device needs to carry out data interaction by wireless network Access request.
Processor 703, for being based on the wireless network access request, acquisition is corresponding with the target device wirelessly to be connect Enter the first current time information of information and the clock chip, and passes through the data transmission device for the wireless access Information and first current time information are sent to the target device.
In the present embodiment, which can be used for configuring the wireless network of the target device, and described One current time information can be used for updating the time on the target device, the application to the configuration process of wireless network and The renewal process of time on current device is not construed as limiting.
Optionally, on the basis of the above embodiments, in order to guarantee the accuracy of time on current device, data transmission dress Setting 702 can also be used to receive the time update request that target device is sent, and it is that the target device utilizes which, which updates request, First current time information, which updates, to be sent after the first preset time after its time.
Correspondingly, obtaining the of the clock chip after the processor 703 can also update request receiving the time Two current time informations, and the target device is sent to by the data transmission device, it is somebody's turn to do so that the target device utilizes Second current time information continues to update its time, later, can be in this manner it is achieved that target device is subsequent through the first preset time Continuous sending time updates request, to continue to update its time, to guarantee the accuracy of time on target device, and then guarantees Target device, to the reliability of the encryption of its interaction data, improves the use peace to the target device using the time Entirely;Moreover, this mode and there is no the possibility for obtaining current time information failure from clock server, improves and intelligent family The success rate of apparatus bound is occupied, meanwhile, because withouting waiting for clock server interaction success as a result, greatly improving data friendship Mutual speed.
It certainly, can also be by terminal, that is, the present embodiment other than the regular sending time of above-mentioned target device updates request Electronic equipment periodically sends current time information, specifically, the processor 703 may include storage unit, sends for recording The first information of the target device of the wireless network access request, wherein the first information can be the target device Address information, however, it is not limited to this.
Correspondingly, the processor 703 can be also used for after the second preset time, it is based on the first information, it will be current Third current time information in equipment is sent to the target device, so anti-to update the time on the target device It is multiple, a current time information just can be sent to target device every the second preset time, to guarantee on the target device The accuracy of time.
It should be noted that for guaranteeing that the mode of the accuracy of time on the target device is not limited to above-mentioned enumerate Mode, as long as can reach the purpose belongs to the application protection scope, the present embodiment is no longer described in detail one by one herein.
It as described in Figure 8, is the structural schematic diagram of another electronic equipment embodiment provided by the present application, which can To be existing various smart home devices, such as various network home appliances, information household appliances, the application are not construed as limiting this, then The electronic equipment of the present embodiment may include:
Data transmission device 801 for sending wireless network access request to default terminal, and receives the default terminal The wireless access information corresponding with current device and the first current time information of feedback.
Wherein, which may include the address letter of the current device i.e. electronic equipment of the present embodiment Breath etc., the application is not construed as limiting this.
Processor 802 for utilizing the wireless access information configuration wireless network, and utilizes first current time Time on electronic equipment described in information update.
The application does not make smart home device using the concrete configuration process of its wireless network of wireless access information configuration It limits, is specifically referred to the configuration of the wireless communication device of existing smart home device, this will not be detailed here for the present embodiment.
Optionally, on the basis of the above embodiments, described in order to further ensure the accuracy of time on current device Processor 802 can be also used for after the first preset time, controls the data transmission device 801 and sends to the default terminal Time updates request, receives the second current time information of the default terminal feedback, and is believed using second current time Breath updates the time on the current device
Wherein, it is current when updating request to be that the default terminal receives time for second current time information Temporal information.
Certainly, as the another embodiment of the application, which also may include counting device, at the place After reason device updates the time on the current device, show that rule starts counting as per the schedule.Tool about the counting device Body counting mode and its description that can refer to above method embodiment corresponding part to the renewal process of time on current device, this Details are not described herein for embodiment.
It described is currently set correspondingly, the processor 803 can be also used for updating using the count results of the counting device The standby upper time receives the third current time information that the default terminal is sent, and described in utilization after the second preset time After third current time information updates the current time on the current device, the current count of the counting device is continued with As a result the time on the current device is updated.
It can be seen that certain smart home device, that is, current device, which leads to, is sending wireless network access request to default terminal Afterwards, which will be based on the wireless network access request, obtain wireless access information corresponding with the smart home device And the first current time information of itself, and be sent to the smart home device so that the smart home device according to When the wireless access information configuration wireless network, can also be updated using the first current time information for receiving itself when Between, for the data exported subsequently through the wireless network are encrypted, to improve the use peace to the target device Quan Xing.
Moreover, the application can also regularly update the time on smart home device using aforesaid way, to ensure that The accuracy of time on the current device, so ensure that its interaction data is encrypted using the time it is reliable Property.
Finally, it should be noted that about in the various embodiments described above, such as first, second or the like relational terms are only Only it is used to an operation, device or module and another is operated, device or module distinguish, and not necessarily requires or secretly Show that there are any actual relationship or orders between these units, operation or device.Moreover, term " includes ", " packet Containing " or any other variant thereof is intended to cover non-exclusive inclusion, so that including the process, method of a series of elements Or system not only includes those elements, but also including other elements that are not explicitly listed, or it is this for further including Process, method or the intrinsic element of system.In the absence of more restrictions, being limited by sentence "including a ..." Element, it is not excluded that include the element process, method or system in there is also other identical elements.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For electronics disclosed in embodiment For equipment, since it is corresponding with method disclosed in embodiment, so being described relatively simple, related place is referring to method part Explanation.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one The widest scope of cause.

Claims (12)

1. a kind of information configuring methods, which is characterized in that the described method includes:
Receive the wireless network access request that target device is sent;
Based on the wireless network access request, wireless access information corresponding with the target device and first is sent currently Temporal information is to the target device, wherein the wireless access information is used to configure the wireless network of the target device, institute The first current time information is stated for updating the time on the target device, the data exported by wireless network are added Close processing.
2. the method according to claim 1, wherein the method also includes:
The time update request that the target device is sent is received, it is that the target device receives institute that the time, which updates request, It states and sends after the first preset time of the first current time information;
It is updated and is requested based on the time, the second current time information on current device is sent to the target device.
3. method according to claim 1 or 2, which is characterized in that the method also includes:
Record sends the first information of the target device of the wireless network access request;
After the second preset time, it is based on the first information, the third current time information on current device is sent to institute Target device is stated, to update the time on the target device.
4. a kind of information configuring methods, which is characterized in that the described method includes:
Wireless network access request is sent to default terminal;
Receive the wireless access information corresponding with current device and the first current time information of the default terminal feedback;
It is currently set using the wireless access information configuration wireless network, and using first current time information update is described The standby upper time, the data exported by wireless network are encrypted.
5. described according to the method described in claim 4, it is characterized in that, after updating the time on the current device Method further include:
After the first preset time, request is updated to the default terminal sending time;
The second current time information of the default terminal feedback is received, second current time information is the default terminal Receive the current time information when time update request;
The time on the current device is updated using second current time information.
6. method according to claim 4 or 5, which is characterized in that after updating the time on the current device, institute State method further include:
Show that rule starts counting as per the schedule, and updates the time on the current device using count results;
After the second preset time, the third current time information that the default terminal is sent is received;
After updating the current time on the current device using the third current time information, current count knot is continued with Fruit updates the time on the current device.
7. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Clock chip obtains the current time information of the electronic equipment for carrying out timing;
Data transmission device, for receiving the wireless network access request of target device transmission;
Processor obtains wireless access information corresponding with the target device for being based on the wireless network access request And the first current time information of the clock chip, and by the data transmission device by the wireless access information with And first current time information is sent to the target device, wherein the wireless access information is for configuring the mesh The wireless network of marking device, first current time information is used to update the time on the target device, to by wireless The data of network output are encrypted.
8. electronic equipment according to claim 7, which is characterized in that the processor is also used to transmit in the data and fill It sets after receiving the time update request that the target device is sent, obtains the second current time information of the clock chip, And the target device is sent to by the data transmission device, it is that the target device receives that the time, which updates request, It is sent after first preset time of first current time information.
9. electronic equipment according to claim 7 or 8, which is characterized in that the processor includes:
Storage unit, for recording the first information for sending the target device of the wireless network access request;
Then the processor is also used to after the second preset time, is based on the first information, the third on current device is worked as Preceding temporal information is sent to the target device, to update the time on the target device.
10. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Data transmission device for sending wireless network access request to default terminal, and receives the default terminal feedback Wireless access information corresponding with current device and the first current time information;
Processor, for utilizing the wireless access information configuration wireless network, and more using first current time information Time on the new current device, the data exported by wireless network are encrypted.
11. electronic equipment according to claim 10, which is characterized in that the processor is also used to through the first preset time Afterwards, it controls the data transmission device and updates request to the default terminal sending time, receive the default terminal feedback Second current time information, and update using second current time information time on the current device, wherein it is described Second current time information is current time information when the default terminal receives the time update request.
12. electronic equipment described in 0 or 11 according to claim 1, which is characterized in that the processor includes:
Counting device after the time on the current device described in the update processor, shows that rule is opened as per the schedule Begin to count;
Then the processor is also used to the count results using the counting device and updates time on the current device, through the After two preset times, the third current time information that the default terminal is sent is received, and believe using the third current time After breath updates the current time on the current device, continues with and work as described in the current count result update of the counting device Time in preceding equipment.
CN201510984760.5A 2015-12-24 2015-12-24 A kind of information configuring methods and electronic equipment Active CN105636158B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510984760.5A CN105636158B (en) 2015-12-24 2015-12-24 A kind of information configuring methods and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510984760.5A CN105636158B (en) 2015-12-24 2015-12-24 A kind of information configuring methods and electronic equipment

Publications (2)

Publication Number Publication Date
CN105636158A CN105636158A (en) 2016-06-01
CN105636158B true CN105636158B (en) 2019-10-29

Family

ID=56050516

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510984760.5A Active CN105636158B (en) 2015-12-24 2015-12-24 A kind of information configuring methods and electronic equipment

Country Status (1)

Country Link
CN (1) CN105636158B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106125035B (en) * 2016-08-03 2019-05-17 宁波三星医疗电气股份有限公司 The synchronous method of twin-core clock of power meter
CN108234052A (en) * 2016-12-15 2018-06-29 佛山市顺德区美的电热电器制造有限公司 The method, apparatus and system that a kind of clock synchronizes
US11812478B2 (en) 2018-09-29 2023-11-07 Beijing Xiaomi Mobile Software Co., Ltd. Network access method and apparatus

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005351A (en) * 2006-01-20 2007-07-25 国际商业机器公司 System and method for information processing
CN102148731A (en) * 2011-02-14 2011-08-10 上海理滋芯片设计有限公司 Smart home system and end device thereof
CN103581876A (en) * 2012-08-02 2014-02-12 中兴通讯股份有限公司 Method and device for sending wireless access point information, and mobile terminals
CN103731756A (en) * 2014-01-02 2014-04-16 中国科学院信息工程研究所 Smart home remote security access control implementation method based on smart cloud television gateway
CN104580246A (en) * 2015-01-27 2015-04-29 中国人民大学 Dynamic intelligent security key generation, management and control system and method under WiFi environment
CN104618900A (en) * 2015-02-02 2015-05-13 青岛海尔智能家电科技有限公司 Network access method for intelligent device, intelligent device and mobile terminal
US9055482B1 (en) * 2012-08-03 2015-06-09 Sprint Communications Company L.P. Wireless frequency changes for wireless communication devices based on tracking area updates

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005351A (en) * 2006-01-20 2007-07-25 国际商业机器公司 System and method for information processing
CN102148731A (en) * 2011-02-14 2011-08-10 上海理滋芯片设计有限公司 Smart home system and end device thereof
CN103581876A (en) * 2012-08-02 2014-02-12 中兴通讯股份有限公司 Method and device for sending wireless access point information, and mobile terminals
US9055482B1 (en) * 2012-08-03 2015-06-09 Sprint Communications Company L.P. Wireless frequency changes for wireless communication devices based on tracking area updates
CN103731756A (en) * 2014-01-02 2014-04-16 中国科学院信息工程研究所 Smart home remote security access control implementation method based on smart cloud television gateway
CN104580246A (en) * 2015-01-27 2015-04-29 中国人民大学 Dynamic intelligent security key generation, management and control system and method under WiFi environment
CN104618900A (en) * 2015-02-02 2015-05-13 青岛海尔智能家电科技有限公司 Network access method for intelligent device, intelligent device and mobile terminal

Also Published As

Publication number Publication date
CN105636158A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US10791193B2 (en) Remote access gateway configurable control system
CN102984039B (en) The intelligent control method of intelligent gateway, intelligent domestic system and home appliance
US9920948B2 (en) Asynchronous reporting system
CN102355390B (en) Intelligent home system
CN102945029B (en) Intelligent gateway, smart home system and intelligent control method for home appliance equipment
US10992494B2 (en) Gateway round-robin system
CN104851174B (en) Machine room intelligent gate inhibition's open method of a kind of high reliability and open system
EP3375146B1 (en) Systems and methods relating to a smart home manager
CN103973748A (en) Intelligent home system and monitoring method implemented by same
US8350718B2 (en) Secure collector diagnostic portal activation
WO2015183865A1 (en) Virtual gateway
CN103236960A (en) Method and system for data interaction between home server and plurality of terminals
CN105636158B (en) A kind of information configuring methods and electronic equipment
KR20170089146A (en) Method for building a driving scenarios of internet of things equipment
CN104122999A (en) Intelligent device interaction method and system
CN101799677A (en) System and method for remotely controlling household intelligent terminal
CN103631202A (en) Hotel guest room intelligent monitoring system and method based on internet of things
CN102739485A (en) Intelligent home furnishing system capable of supporting two access modes
CN203984450U (en) Intelligent domestic gateway
US9923769B2 (en) Methods and systems for verifying installation of a device
EP2913636B1 (en) A wireless sensor network
CN202795511U (en) Electric power door control system
CN205354307U (en) Wireless control device for internet -of -Things smart home
CN202475469U (en) Intelligent household system supporting two access modes
EP2640137B1 (en) Method for attaching control devices to control system in mesh network

Legal Events

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