CN105847038A - Wireless communication module, reset method for terminal equipment and control system - Google Patents

Wireless communication module, reset method for terminal equipment and control system Download PDF

Info

Publication number
CN105847038A
CN105847038A CN201610154242.5A CN201610154242A CN105847038A CN 105847038 A CN105847038 A CN 105847038A CN 201610154242 A CN201610154242 A CN 201610154242A CN 105847038 A CN105847038 A CN 105847038A
Authority
CN
China
Prior art keywords
communication module
wireless communication
signal
counting
scheduled 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.)
Granted
Application number
CN201610154242.5A
Other languages
Chinese (zh)
Other versions
CN105847038B (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.)
SHENZHEN CITY CAIYI LIFE TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN CITY CAIYI LIFE TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SHENZHEN CITY CAIYI LIFE TECHNOLOGY Co Ltd filed Critical SHENZHEN CITY CAIYI LIFE TECHNOLOGY Co Ltd
Priority to CN201610154242.5A priority Critical patent/CN105847038B/en
Publication of CN105847038A publication Critical patent/CN105847038A/en
Application granted granted Critical
Publication of CN105847038B publication Critical patent/CN105847038B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

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

Abstract

The invention discloses a reset method for terminal equipment comprising a wireless communication module. The method comprises the following steps of S10 starting counting when an opening signal is detected and a closing signal is received within a first predetermined time; S11 starting with the detection of the opening signal, if the counting number of times reaches a predetermined number of times within a second predetermined time, generating a processing instruction for resetting the wireless communication module and entering the step S13; S12 starting with the detection of the opening signal, if the counting number of times is smaller than the predetermined number of times within the second predetermined time, resetting the counting number of times and returning to the step S10; and S13 erasing current communication parameters of the wireless communication module according to the processing instruction, controlling the wireless communication module to send a re-access request to a regional host corresponding to the terminal equipment and receiving access data sent by the regional host. According to the method, the design complexity of the terminal equipment is reduced, the cost is saved, the operational difficulty of the user is reduced and the user experience is improved.

Description

A kind of wireless communication module, the remapping method of terminal unit and control system
Technical field
The present invention relates to communication technical field, particularly relate to a kind of wireless communication module, terminal The remapping method of equipment and control system.
Background technology
Along with developing rapidly of Internet of Things science and technology, in life, occur in that increasing terminal sets Standby, such as household terminal unit.Fig. 1 is the controlled in wireless that in prior art, terminal unit is corresponding The structure chart of system.In being embodied as, at terminal unit, such as household terminal unit (lamp, Fan, air-conditioning, shooting are first-class), upper embedding wireless communication module 1, by wireless communication module 1 Set up communication with the regional host computer in family to be connected, then regional host computer and Cloud Server are set up net Network connects, and user just can pass through mobile terminal, such as mobile phone, it is achieved to household terminal unit Access and control.
As it is shown in figure 1, the wireless communication module of terminal unit is after accessing wireless control system, Can obtain unique wireless telecommunications address from Cloud Server or regional host computer, user can be by moving Dynamic terminal, such as mobile phone, Pad and application program, come via Cloud Server or regional host computer and It is mutual that terminal unit carries out communication.But in some cases (such as by electrostatic, electromagnetic environment shadow Ringing, terminal unit and regional host computer cannot normal communications;Or terminal unit is linked into it by mistake The regional host computer etc. of its family), terminal unit is likely to require replacement again to access this family Regional host computer, this is accomplished by a kind of resetting terminal unit (i.e. wireless in terminal unit Communication module resets) method so that the wireless communication module in terminal unit can be again Accessing wireless control system (i.e. makes terminal unit again to lead to corresponding regional host computer News).
Traditional method is to increase a hardware on the terminal device to reset button, abnormal conditions occurs Time operate that this resets button, thus reach to reset wireless communication module, and again access The purpose of Radio Network System.But, owing to needs employ a button more, add hard Part cost, also adds extra requirement to device structure.Additionally, in order to prevent to reset by Key implements maloperation, in addition it is also necessary to reserved reset hole, so will certainly increase the loaded down with trivial details degree of operation, Consumer's Experience is the best.It addition, some terminal units, the equipment such as the most all kinds of lamps, problem is more Substantially, main shortcoming has following 2 points:
Appearance smoother on some lamp socket, for the sake of security, typically not in beating above Hole, draws reset key, reset key to be increased, and needs, from other local extraction, processing to be compared Trouble, meanwhile, also can be greatly increased cost;
A lot of illuminating lamps are contained in roof or eminence more, if needing replacement equipment, need to take ladder Son or stool are climbed, and one is dangerous, and two carry out also inconvenience.Further, for some forceful electric power Terminal Type equipment, when replacement button on which operates, can ratio relatively hazardous.
As can be seen here, how to reduce the complexity of wireless communication module, cost-effective, and reduce The operation easier of user, promoting Consumer's Experience is those skilled in the art's problem demanding prompt solutions.
Summary of the invention
It is an object of the invention to provide a kind of wireless communication module, the remapping method of terminal unit and Control system, for reducing the complexity of wireless communication module, cost-effective, and reduce user Operation easier, promote Consumer's Experience.
For solving above-mentioned technical problem, the present invention provides a kind of terminal comprising wireless communication module The remapping method of equipment, including:
S10: open when ON signal having been detected and having received OFF signal within first scheduled time Begin counting;
S11: when described ON signal having been detected, within second scheduled time, if The number of times of counting reaches pre-determined number, then generate the process instruction resetting described wireless communication module; Enter step S13;
S12: when described ON signal having been detected, within second scheduled time, if The number of times of counting less than pre-determined number, is then reset by the number of times of counting;Return step S10;
S13: the Current communications parameter of described wireless communication module is entered according to described process instruction Row erasing, and control described wireless communication module and send out to the regional host computer that described terminal unit is corresponding Send access request again, and receive the access data that described regional host computer sends;
Wherein, described ON signal and described OFF signal connect with power supply for controlling described terminal unit Signal logical, that turn off, described second scheduled time is not less than described first scheduled time and makes a reservation for The product of number of times.
Preferably, the most also include: from starting counting up, when ON signal and right When the time interval of the OFF signal answered exceedes described first scheduled time, then the number of times by counting is clear Zero;Return step S10.
Preferably, described first scheduled time is 1s or 2s.
Preferably, described pre-determined number is 3 times, 4 times or 5 times.
Preferably, described second scheduled time is 5s-10s.
A kind of wireless communication module, is used for being arranged in terminal unit, including: main control chip and Wireless communications chips;Described main control chip includes counting unit, reset cell and clearing unit;
Described counting unit, for when ON signal having been detected and having received within first scheduled time Start counting up during to OFF signal;
Described reset cell, for when described ON signal having been detected, makes a reservation for second In time, if the number of times of counting reaches pre-determined number, then generate and reset described wireless telecommunications mould The process instruction of block, and process the instruction Current communications to described wireless communications chips according to described Parameter is wiped;
Described wireless communications chips, for processing instruction to described terminal unit correspondence according to described Regional host computer send access request again, and receive the access data that described regional host computer sends;
Described clearing unit, for the number of times in the inside counting of second scheduled time less than pre-determined number Time, the counting of described counting unit is reset;
Wherein, described ON signal and described OFF signal connect with power supply for controlling described terminal unit Signal logical, that turn off, described second scheduled time is not less than described first scheduled time and makes a reservation for The product of number of times.
Preferably, described clearing unit is additionally operable to from starting counting up, when ON signal and correspondence When the time interval of OFF signal exceedes described first scheduled time, then the number of times of counting is reset.
Preferably, described first scheduled time is 1s or 2s.
Preferably, described pre-determined number is 3 times, 4 times or 5 times.
Preferably, described second scheduled time is 5s-10s.
A kind of control system of terminal unit, including: include the end of above-mentioned wireless communication module End equipment and the regional host computer of described terminal unit communication and the shifting of described regional host computer communication Dynamic terminal;
Wherein, described regional host computer, for receiving the weight that described wireless communication module sends During new access request, described access request again is forwarded to described mobile terminal, in described shifting When dynamic terminal check is by described access request again, access for the distribution of described wireless communication module Data, and described access data are sent to described wireless communication module.
Preferably, also include that Cloud Server, described regional host computer and described mobile terminal pass through institute State Cloud Server communication;
Wherein, described regional host computer, for receiving the weight that described wireless communication module sends During new access request, described access request again being forwarded to described Cloud Server, described cloud takes Business device is for being forwarded to described mobile terminal by described access request again;
Described Cloud Server, for receive described mobile terminal be identified through described in again connect After entering the information of request, access data for the distribution of described wireless communication module, and by described access Data send to described regional host computer, and described access data are sent to described by described regional host computer Wireless communication module.
The remapping method of terminal unit provided by the present invention, utilizes that terminal unit is existing to be opened Close, analyzed frequency and the number of times of switch of switch by detection, when frequency and the switch of switch When number of times meets condition, it is possible to realize the wireless communication module of terminal unit is reset, It is made again to access wireless network.This method can need not that terminal unit arranges hardware and reset Button, it is not required that reserved reset hole.As can be seen here, the method reduces the design of terminal unit Complexity, cost-effective, and reduce the operation easier of user, promote Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention, will use required in embodiment below Accompanying drawing do simple introduction, it should be apparent that, the accompanying drawing in describing below is only the present invention Some embodiments, for those of ordinary skill in the art, do not paying creative work On the premise of, it is also possible to other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the structure chart of the wireless control system that terminal unit is corresponding in prior art;
A kind of terminal unit comprising wireless communication module that Fig. 2 provides for the embodiment of the present invention The flow chart of remapping method;
The structure chart of a kind of wireless communication module that Fig. 3 provides for the embodiment of the present invention;
The structure chart of the control system of a kind of terminal unit that Fig. 4 provides for the embodiment of the present invention;
The structure of the control system of the another kind of terminal unit that Fig. 5 provides for the embodiment of the present invention Figure.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, to the technical side in the embodiment of the present invention Case is clearly and completely described, it is clear that described embodiment is only the present invention one Divide embodiment rather than whole embodiment.Based on the embodiment in the present invention, this area is common Technical staff under not making creative work premise, the every other embodiment obtained, Broadly fall into scope.
The core of the present invention be to provide a kind of wireless communication module, the remapping method of terminal unit and Control system.
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the accompanying drawings The present invention is described in further detail with detailed description of the invention.It should be noted that the present invention In the terminal unit mentioned be all the terminal unit comprising wireless communication module, be not repeated below.
A kind of terminal unit comprising wireless communication module that Fig. 2 provides for the embodiment of the present invention The flow chart of remapping method.The remapping method of the terminal unit comprising wireless communication module includes:
S10: open when ON signal having been detected and having received OFF signal within first scheduled time Begin counting.
S11: when ON signal having been detected, within second scheduled time, if counting Number of times reach pre-determined number, then generate reset described wireless communication module process instruction.Enter Enter step S13;
S12: when ON signal having been detected, within second scheduled time, if counting Number of times less than pre-determined number, then the number of times of counting is reset.Return step S10;
S13: the Current communications parameter of wireless communication module is wiped according to processing instruction, And control wireless communication module and send access request again to the regional host computer that terminal unit is corresponding, And the access data that receiving area main frame sends.
Wherein, ON signal and OFF signal are to control terminal unit and power on, the signal of shutoff, Second scheduled time is not less than the product of first scheduled time with pre-determined number.
In being embodied as, user passes through switch connection terminal unit and the connection of power supply, described Switch can be to be arranged in home wall or switch at some fixed position, it is also possible to for moving Dynamic switch etc..When the switch is opened, terminal unit powers on and starts working or be in holding state, When the switch is closed, terminal unit power-off quits work.The present invention utilizes existing switch, real The now replacement to terminal unit.Specifically: detection ON signal, can be that detection switches on Or detection terminal unit powers on;Detection OFF signal, can be detection switch shutdown signal or detection Terminal unit power-off.When detection has ON signal, and receive OFF signal within first scheduled time Time start counting up.Such as, switch has been carried out starting when making by user, is received by ON signal, Pass action has been carried out again, just in first scheduled time after 0.5s (first scheduled time was 1s) Inside receive OFF signal, therefore start counting up.If from the beginning of 0, then perform once Start work and pass action will receive an ON signal and OFF signal, then counting becomes 1.As Really user continues switch starts work and pass action, then corresponding counting just becomes 2,3, 4…….It is understood that the accumulation of above-mentioned realization counting needs to meet in step S10 Condition just may be used.When ON signal having been detected, in the second Preset Time, such as in 5s, as The number of times of fruit counting reaches pre-determined number, is generated as processing instruction.
After generation processes instruction, the Current communications parameter of wireless communication module is wiped Remove, send access request again to the regional host computer that terminal unit is corresponding.When regional host computer receives During to access request again, data will be accessed further according to corresponding operating procedure and return, i.e. receive The access data that regional host computer sends.Here Current communications parameter includes: wireless communication module Current communications address, current frequency, Current communications key etc.;Access data may include that The new traffic address of wireless communication module, new frequency, new communication key etc..
As long as it is understood that user operation meet just can realize according to above-mentioned steps right The replacement of terminal unit.
But in being embodied as, it may be possible to user misoperation, continuously switch is carried out 4 times Operation.Such as, after switch has been carried out starting work by user, carry out again in first scheduled time Pass action, now counts and is become 1 from 0;Switch has been carried out starting work again by user, Carry out again pass action in one scheduled time, now counted and become 2 from 1.User does not has afterwards Switch is operated again.According to the description of step S12, when ON signal being detected, Within second scheduled time, the number of times (2 times) of counting is less than pre-determined number (such as 5 times), Then the number of times of counting is reset.It will be apparent that above-mentioned steps is the shadow preventing user misoperation from bringing Ringing, since being maloperation, then need current counting is zeroed out, i.e. returning step S10.
The remapping method of terminal unit that the present embodiment provides, utilizes that terminal unit is existing to be opened Close, analyzed frequency and the number of times of switch of switch by detection, when frequency and the switch of switch When number of times meets condition, it is possible to realize the wireless communication module of terminal unit is reset, It is made again to access wireless network.This method can need not that terminal unit arranges hardware and reset Button, it is not required that reserved reset hole.As can be seen here, the method reduces the design of terminal unit Complexity, cost-effective, and reduce the operation easier of user, promote Consumer's Experience.
Additionally, in order to improve reliability further, in the present embodiment, after step S10 also Including: from starting counting up, when the time interval of ON signal and corresponding OFF signal exceedes described During first scheduled time, then the number of times of counting is reset;Return step S10.
Such as, user has carried out 4 operations to switch, is respectively designated as ON signal for the first time, OFF signal for the first time, for the second time ON signal, for the second time OFF signal.If for the first time ON signal and The time interval of OFF signal was less than for first scheduled time for the second time, then start counting up, i.e. work as inspection Start counting up when having measured ON signal and received OFF signal within first scheduled time.If the The time interval of secondary ON signal and second time OFF signal, then will be current more than first scheduled time Counting reset.It is understood that after starting counting up, as long as any one ON signal The time interval of corresponding OFF signal is more than first scheduled time, and the most current counting will Reset.
As one preferred embodiment, first scheduled time was 1s or 2s.
As one preferred embodiment, pre-determined number is 3 times, 4 times or 5 times.
As one preferred embodiment, second scheduled time was 5s-10s.
It should be noted that first scheduled time, pre-determined number and second scheduled time In the light of actual conditions to set, it is possible to understand that ground is, first scheduled time is long, then increase not Necessary counting process, pre-determined number is very few, the most easily causes maloperation.Therefore, first is pre- Fixing time, pre-determined number and second scheduled time need to consider.Only it is given above scheme Be one preferred embodiment.
The structure chart of a kind of wireless communication module that Fig. 3 provides for the embodiment of the present invention.Such as Fig. 3 Shown in, wireless communication module 1, it is used for being arranged in terminal unit 2, including: main control chip 10 and wireless communications chips 11;Main control chip 10 includes counting unit 100, reset cell 101 With clearing unit 102.
Counting unit 100, for when ON signal having been detected and having received within first scheduled time Start counting up during to OFF signal;
Reset cell 101, for when described ON signal having been detected, makes a reservation for second In time, if the number of times of counting reaches pre-determined number, then generate and reset wireless communication module 1 Process instruction, and according to processing instruction, the Current communications parameter of wireless communications chips 11 is carried out Erasing;
Wireless communications chips 11, for according to processing the instruction region master to terminal unit 2 correspondence Machine 3 sends access request again, and the access data that receiving area main frame 3 sends;
Reset unit 102, for the number of times in the inside counting of second scheduled time less than pre-determined number Time, the counting of counting unit 100 is reset.
Wherein, ON signal is to control terminal unit 2 to connect with power supply 4, turn off with OFF signal Signal, second scheduled time is not less than the product of first scheduled time with pre-determined number.
In being embodied as, user is by switch 5 connection terminal unit 2 and power supply 4 (switch External power supply) connection.Wireless communication module 1 in the present invention is for terminal unit 2 and district The wireless telecommunications of territory main frame 3;Wireless communication module 1 both can be powered by power supply 4, also Can be powered by terminal unit 2.Terminal unit 2 and wireless communication module 1 can be to go up simultaneously Electricity, it is also possible to be power-off simultaneously.When switching 5 unlatching, terminal unit 2 powers on, when When switch cuts out, terminal unit 2 power-off.Main control chip 10 and the operating circuit of terminal unit 2 Or control circuit is connected, and main control chip 10 can send control instruction to terminal unit 2, also Can the feedback information (such as duty, running parameter etc.) of receiving terminal apparatus 2.Switch 5 Can be directly connected to wireless communication module 1 so that when having ON signal or OFF signal, wireless Counting unit 100 in communication module 1 counts;Or by other device and wireless telecommunications mould Block 1 is indirectly connected with.It is to be understood that switch 5 and the annexation of wireless communication module 1 Depending on practical situation, Fig. 3 is a kind of concrete application scenarios.
The present invention utilizes existing switch 5, it is achieved the replacement to terminal unit 2.Specifically: The ON signal of detection switch 5, when detection has ON signal, and received within first scheduled time During OFF signal, counting unit 100 starts counting up.Such as, switch has been carried out starting work by user Time, it is received by ON signal, has carried out again closing moving after 0.5s (first scheduled time was 1s) Make, just within first scheduled time, receive OFF signal, therefore start counting up.If opened from 0 If beginning, then perform once to start work and pass action will receive an ON signal and close letter Number, then counting becomes 1.If user continues switch 5 is started work and pass action, that Corresponding counting just becomes 2,3,4 ....It is to be understood that above-mentioned realization counting Accumulation needs to meet condition and just may be used.When ON signal having been detected, in the second Preset Time, Such as in 5s, if the number of times of counting reaches pre-determined number, reset cell 101 is generated as processing Instruction.
After generation processes instruction, the current of wireless communications chips 11 is led to by reset cell 101 News parameter erasing;Wireless communications chips 11 will access request send to terminal unit 2 corresponding again Regional host computer 3.Regional host computer 3 will access data further according to corresponding operating procedure and return, The access data that i.e. wireless communications chips 11 receiving area main frame 3 sends.Here Current communications Parameter includes: the Current communications address of wireless communications chips 11, current frequency, Current communications are close Key etc.;Access data may include that the forwarding address of wireless communications chips 11, new frequency, New communication key etc..As long as it is understood that the operation of user according to above-mentioned requirements just meets The replacement to terminal unit 2 can be realized.
But in being embodied as, it may be possible to user misoperation, continuously switch 5 is carried out 4 Secondary operation.Such as, user to switch 5 carried out starting work after, first scheduled time again Carry out pass action, now counted and become 1 from 0;Switch 5 has been carried out starting work again by user, Within first scheduled time, carry out again pass action, now count and become 2 from 1.User afterwards Switch 5 is not operated again.According to foregoing description, when ON signal being detected, Within second scheduled time, the number of times (2 times) of counting is less than pre-determined number (such as 5 times), The number of times then counting unit 100 counted resets.It will be apparent that resetting unit 102 is to prevent from using The impact that family maloperation brings, since being maloperation, then needs to carry out current counting clearly Zero.
The wireless communication module that the present embodiment provides, utilizes the existing switch of terminal unit, passes through Frequency and the number of times of switch of switch is analyzed in detection, when the frequency of switch and the number of times of switch meet During condition, it is possible to realize the wireless communication module of terminal unit is reset so that it is again Access wireless network.This method can need not that terminal unit arranges hardware and reset button, also Need not reserved reset hole.As can be seen here, the method reduces the design complexities of terminal unit, Cost-effective, and reduce the operation easier of user, promote Consumer's Experience.
Additionally, in order to improve reliability further, in the present embodiment, reset unit 102 also For from starting counting up, when the time interval of ON signal and corresponding OFF signal exceedes described the During one scheduled time, then the number of times of counting is reset.
Such as, user has carried out 4 operations to switch 5, is respectively designated as ON signal for the first time, OFF signal for the first time, for the second time ON signal, for the second time OFF signal.If for the first time ON signal and The time interval of OFF signal was less than for first scheduled time for the second time, then start counting up, i.e. work as inspection Start counting up when having measured ON signal and received OFF signal within first scheduled time.If the The time interval of secondary ON signal and second time OFF signal, then will be current more than first scheduled time Counting reset.It is understood that after starting counting up, as long as any one ON signal The time interval of corresponding OFF signal is more than first scheduled time, and the most current counting will Reset.
As one preferred embodiment, first scheduled time was 1s or 2s.
As one preferred embodiment, pre-determined number is 3 times, 4 times or 5 times.
As one preferred embodiment, second scheduled time was 5s-10s.
It should be noted that first scheduled time, pre-determined number and second scheduled time In the light of actual conditions to set, it is possible to understand that ground is, first scheduled time is long, then increase not Necessary counting process, pre-determined number is very few, the most easily causes maloperation.Therefore, first is pre- Fixing time, pre-determined number and second scheduled time need to consider.Only it is given above scheme Be one preferred embodiment.
The structure chart of the control system of a kind of terminal unit that Fig. 4 provides for the embodiment of the present invention. The control system of terminal unit includes: the wireless communication module 1 described in above-described embodiment, terminal Equipment 2 and the regional host computer 3 of terminal unit 2 communication and the mobile end of regional host computer 3 communication End 7;
Wherein, regional host computer 3, for receiving again connecing of wireless communication module 1 transmission When entering to ask, again access request will be forwarded to mobile terminal 7, confirm at mobile terminal 7 logical When crossing again access request, access data for wireless communication module 1 distribution, and data will be accessed Send to wireless communication module 1.
It is understood that regional host computer 3 also includes communication device, such as, include wireless Communication module, for carrying out communication with the wireless communication module 1 in terminal unit 2;Include Wired or wireless network card, for and mobile terminal 7 (panel computer, desktop computer, notes This computer etc.) network connection.
The structure of the control system of the another kind of terminal unit that Fig. 5 provides for the embodiment of the present invention Figure.In above-described embodiment, regional host computer 3 is connected with mobile terminal 7 straight-forward network, specifically In enforcement, it is also possible to connected by Cloud Server 6.The embodiment of other parts sees above retouches Stating, the present embodiment only describes the work process that Cloud Server 6 participates in.
When there being Cloud Server 6, the access request again received can be turned by regional host computer 3 Send to Cloud Server 6, Cloud Server 6, access data for distributing for terminal unit 2, and will Again access request sends to mobile terminal 7, is identified through again accessing at mobile terminal 7 and asks After asking, Cloud Server 6 generates and accesses data, and will access data transmission to regional host computer 3. Regional host computer 3, when receiving the access data that Cloud Server 6 sends, will access data and send To wireless communication module 1.
After wireless communications chips 11 receives access data, wireless communication module 1 automatically writes, It is achieved that replacement.Terminal unit 2 then can be carried out accordingly by user by mobile terminal 7 Controlling (such as turn on light, the brightness etc. of lamp of turning off the light, regulate), the present embodiment wouldn't repeat.
Additionally, for the various embodiments described above, terminal unit 2 can be all kinds of light fixture, all kinds of open Pass, all kinds of socket, intelligent sound, security alarm device, intelligent remote controller etc..
Above to wireless communication module provided by the present invention, the remapping method of terminal unit and control System processed is described in detail.In description, each embodiment uses the mode gone forward one by one to describe, What each embodiment stressed is the difference with other embodiments, each embodiment it Between identical similar portion see mutually.For device disclosed in embodiment, due to it Correspond to the method disclosed in Example, so describe is fairly simple, the relevant part side of seeing Method part illustrates.It should be pointed out that, for those skilled in the art, Under the premise without departing from the principles of the invention, it is also possible to the present invention is carried out some improvement and modification, These improve and modify in the protection domain also falling into the claims in the present invention.
Professional further appreciates that, describes in conjunction with the embodiments described herein The unit of each example and algorithm steps, it is possible to electronic hardware, computer software or the two Be implemented in combination in, in order to clearly demonstrate the interchangeability of hardware and software, in described above In generally described composition and the step of each example according to function.These functions are actually Perform with hardware or software mode, depend on application-specific and the design constraint of technical scheme Condition.Each specifically should being used for can be used different methods to realize institute by professional and technical personnel The function described, but this realization is it is not considered that beyond the scope of this invention.
The method described in conjunction with the embodiments described herein or the step of algorithm can be direct Implement with hardware, the software module of processor execution, or the combination of the two.Software module Random access memory (RAM), internal memory, read only memory (ROM), electrically programmable can be placed in ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM, Or in any other form of storage medium well known in technical field.

Claims (12)

1. the remapping method of the terminal unit comprising wireless communication module, it is characterised in that Including:
S10: open when ON signal having been detected and having received OFF signal within first scheduled time Begin counting;
S11: when described ON signal having been detected, within second scheduled time, if The number of times of counting reaches pre-determined number, then generate the process instruction resetting described wireless communication module; Enter step S13;
S12: when described ON signal having been detected, within second scheduled time, if The number of times of counting less than pre-determined number, is then reset by the number of times of counting;Return step S10;
S13: the Current communications parameter of described wireless communication module is entered according to described process instruction Row erasing, and control described wireless communication module and send out to the regional host computer that described terminal unit is corresponding Send access request again, and receive the access data that described regional host computer sends;
Wherein, described ON signal and described OFF signal connect with power supply for controlling described terminal unit Signal logical, that turn off, described second scheduled time is not less than described first scheduled time and makes a reservation for The product of number of times.
The replacement of the terminal unit comprising wireless communication module the most according to claim 1 Method, it is characterised in that the most also include: from starting counting up, when opening letter Number and time the time interval of corresponding OFF signal exceedes described first scheduled time, then by counting Number of times resets;Return step S10.
The replacement of the terminal unit comprising wireless communication module the most according to claim 1 Method, it is characterised in that described first scheduled time is 1s or 2s.
The replacement of the terminal unit comprising wireless communication module the most according to claim 1 Method, it is characterised in that described pre-determined number is 3 times, 4 times or 5 times.
5. according to the end comprising wireless communication module described in claims 1 to 3 any one The remapping method of end equipment, it is characterised in that described second scheduled time is 5s-10s.
6. a wireless communication module, is used for being arranged in terminal unit, it is characterised in that Including: main control chip and wireless communications chips;Described main control chip includes counting unit, replacement Unit and clearing unit;
Described counting unit, for when ON signal having been detected and having received within first scheduled time Start counting up during to OFF signal;
Described reset cell, for when described ON signal having been detected, makes a reservation for second In time, if the number of times of counting reaches pre-determined number, then generate and reset described wireless telecommunications mould The process instruction of block, and process the instruction Current communications to described wireless communications chips according to described Parameter is wiped;
Described wireless communications chips, for processing instruction to described terminal unit correspondence according to described Regional host computer send access request again, and receive the access data that described regional host computer sends;
Described clearing unit, for the number of times in the inside counting of second scheduled time less than pre-determined number Time, the counting of described counting unit is reset;
Wherein, described ON signal and described OFF signal connect with power supply for controlling described terminal unit Signal logical, that turn off, described second scheduled time is not less than described first scheduled time and makes a reservation for The product of number of times.
Wireless communication module the most according to claim 6, it is characterised in that described clearly Zero location is additionally operable to from starting counting up, when the time interval of ON signal and corresponding OFF signal surpasses When spending described first scheduled time, then the number of times of counting is reset.
Wireless communication module the most according to claim 6, it is characterised in that described One scheduled time was 1s or 2s.
Wireless communication module the most according to claim 6, it is characterised in that described pre- Determining number of times is 3 times, 4 times or 5 times.
10. according to the wireless communication module described in claim 6 to 9 any one, its feature Being, described second scheduled time is 5s-10s.
The control system of 11. 1 kinds of terminal units, it is characterised in that including: comprise just like power Profit requires the terminal unit of wireless communication module described in 6-10 any one and described terminal unit The regional host computer of communication and the mobile terminal of described regional host computer communication;
Wherein, described regional host computer, for receiving the weight that described wireless communication module sends During new access request, described access request again is forwarded to described mobile terminal, in described shifting When dynamic terminal check is by described access request again, access for the distribution of described wireless communication module Data, and described access data are sent to described wireless communication module.
The control system of 12. terminal units according to claim 11, it is characterised in that Also include that Cloud Server, described regional host computer and described mobile terminal are led to by described Cloud Server News;
Wherein, described regional host computer, for receiving the weight that described wireless communication module sends During new access request, described access request again being forwarded to described Cloud Server, described cloud takes Business device is for being forwarded to described mobile terminal by described access request again;
Described Cloud Server, for receive described mobile terminal be identified through described in again connect After entering the information of request, access data for the distribution of described wireless communication module, and by described access Data send to described regional host computer, and described access data are sent to described by described regional host computer Wireless communication module.
CN201610154242.5A 2016-03-17 2016-03-17 The remapping method and control system of a kind of wireless communication module, terminal device Expired - Fee Related CN105847038B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610154242.5A CN105847038B (en) 2016-03-17 2016-03-17 The remapping method and control system of a kind of wireless communication module, terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610154242.5A CN105847038B (en) 2016-03-17 2016-03-17 The remapping method and control system of a kind of wireless communication module, terminal device

Publications (2)

Publication Number Publication Date
CN105847038A true CN105847038A (en) 2016-08-10
CN105847038B CN105847038B (en) 2019-06-18

Family

ID=56588422

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610154242.5A Expired - Fee Related CN105847038B (en) 2016-03-17 2016-03-17 The remapping method and control system of a kind of wireless communication module, terminal device

Country Status (1)

Country Link
CN (1) CN105847038B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937406A (en) * 2017-04-06 2017-07-07 深圳市晟碟半导体有限公司 A kind of method and system for accessing wireless network
CN107065587A (en) * 2017-05-27 2017-08-18 环球智达科技(北京)有限公司 Control device
CN107085935A (en) * 2017-05-27 2017-08-22 环球智达科技(北京)有限公司 closing control method
CN107123256A (en) * 2017-05-27 2017-09-01 环球智达科技(北京)有限公司 Detect judgment means
CN107123255A (en) * 2017-05-27 2017-09-01 环球智达科技(北京)有限公司 Method for controlling opening and closing
CN107170226A (en) * 2017-05-27 2017-09-15 环球智达科技(北京)有限公司 The detection determination methods of closing control
CN107230341A (en) * 2017-05-27 2017-10-03 环球智达科技(北京)有限公司 Open the detection determination methods of control

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991625A (en) * 2015-06-23 2015-10-21 小米科技有限责任公司 Electronic device and reset method and apparatus thereof
CN105094915A (en) * 2015-08-03 2015-11-25 小米科技有限责任公司 Reset handling method and device
CN105388983A (en) * 2015-12-22 2016-03-09 魅族科技(中国)有限公司 Reset control method and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104991625A (en) * 2015-06-23 2015-10-21 小米科技有限责任公司 Electronic device and reset method and apparatus thereof
CN105094915A (en) * 2015-08-03 2015-11-25 小米科技有限责任公司 Reset handling method and device
CN105388983A (en) * 2015-12-22 2016-03-09 魅族科技(中国)有限公司 Reset control method and terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106937406A (en) * 2017-04-06 2017-07-07 深圳市晟碟半导体有限公司 A kind of method and system for accessing wireless network
CN106937406B (en) * 2017-04-06 2019-12-17 深圳市晟碟半导体有限公司 Method and system for accessing wireless network
CN107065587A (en) * 2017-05-27 2017-08-18 环球智达科技(北京)有限公司 Control device
CN107085935A (en) * 2017-05-27 2017-08-22 环球智达科技(北京)有限公司 closing control method
CN107123256A (en) * 2017-05-27 2017-09-01 环球智达科技(北京)有限公司 Detect judgment means
CN107123255A (en) * 2017-05-27 2017-09-01 环球智达科技(北京)有限公司 Method for controlling opening and closing
CN107170226A (en) * 2017-05-27 2017-09-15 环球智达科技(北京)有限公司 The detection determination methods of closing control
CN107230341A (en) * 2017-05-27 2017-10-03 环球智达科技(北京)有限公司 Open the detection determination methods of control

Also Published As

Publication number Publication date
CN105847038B (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN105847038A (en) Wireless communication module, reset method for terminal equipment and control system
CN103914013A (en) Control system and method of electronic cigarette
EA016898B1 (en) Policy-based networking utility service
CN104808504A (en) Smart home background monitoring and management system
CN105700422A (en) Load power device, system and method of load control and management employing load identification
CN105549718A (en) Method and device for optimizing power consumption of application program and electronic equipment
CN106888140A (en) Data centralized management method and system in smart home
CN112738740B (en) Message pushing sending method and device, storage medium and electronic device
CN110851498A (en) Data management and decision making system of smart city lighting system
CN105487970A (en) Interface display method and apparatus
CN106022108A (en) Synchronous management method and terminal device
CN108881930A (en) A kind of method of gifts, system and electronic equipment
CN106412078A (en) Precise information pushing method and system, and devices
CN104050244A (en) Hand-held lightning query system applied in power grid
CN113326204B (en) Substation system testing method and device, terminal equipment and storage medium
CN108964020B (en) Physical isolation type lightning protection system and physical isolation type lightning protection method
CN113452556A (en) Product skill configuration method and device, storage medium and electronic device
CN107577150A (en) A kind of electric quantity controlling method, electronic equipment and computer-readable recording medium
CN115967188B (en) Equipment remote control method, device and equipment based on power distribution unit
CN108366133A (en) TS server scheduling method, scheduling device and storage medium
CN111338220A (en) Linkage control method and system between multiple heterogeneous devices
CN105789992A (en) Antitheft method for intelligent socket, corresponding intelligent socket and intelligent socket system
CN116170481A (en) Access method, device, equipment and storage medium
CN112469185A (en) Illumination control device
CN207571519U (en) cabinet monitoring device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190618

Termination date: 20210317

CF01 Termination of patent right due to non-payment of annual fee