[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN107995071A - A kind of more equipment integration of operation systems of non-stop layer - Google Patents

A kind of more equipment integration of operation systems of non-stop layer Download PDF

Info

Publication number
CN107995071A
CN107995071A CN201711219815.9A CN201711219815A CN107995071A CN 107995071 A CN107995071 A CN 107995071A CN 201711219815 A CN201711219815 A CN 201711219815A CN 107995071 A CN107995071 A CN 107995071A
Authority
CN
China
Prior art keywords
equipment
information
sent
control
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711219815.9A
Other languages
Chinese (zh)
Inventor
张博文
张家起
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201711219815.9A priority Critical patent/CN107995071A/en
Publication of CN107995071A publication Critical patent/CN107995071A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2809Exchanging configuration information on appliance services in a home automation network indicating that an appliance service is present in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4541Directories for service discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W74/00Wireless channel access
    • H04W74/08Non-scheduled access, e.g. ALOHA
    • H04W74/0808Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA]
    • H04W74/0816Non-scheduled access, e.g. ALOHA using carrier sensing, e.g. carrier sense multiple access [CSMA] with collision avoidance
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/69Types of network addresses using geographic information, e.g. room number

Landscapes

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

Abstract

The invention discloses a kind of more equipment integration of operation systems of non-stop layer, belong to Internet of Things communication control field.It includes transmittable multicast or the data transfer carrier (such as WIFI, ZIGBEE, 315/433 less radio-frequency, infrared, CAN, and sim module, or the MQTT agreements of internet) of broadcast, DBMS member's equipment, and system control machine system.System is made of multiple equipment first, and data are sent in unified LAN.The data that each equipment is sent, other equipment can receive.After grid is set up, each equipment, can all preserve the facility information and state of other equipment.At this moment, by manually setting, into system, all devices send information, and all devices also can the information of record condition triggering at the same time.Control information, which can be sent, when equipment meets trigger condition to other equipment controls its action.Since the record information of all devices in system is all identical, and all member devices can communicate in system, if so an equipment goes offline, not interfere with the normal operation of system other equipment and system ability.

Description

A kind of more equipment integration of operation systems of non-stop layer
Technical field
Patent of the present invention belongs to intelligentized Furniture technical field and internet of things field, is related to a kind of more equipment connection of non-stop layer The system of cooperation industry.
Technical background
With social scientific and technological progress, the continuous improvement of people's lives condition, people propose higher to family's comfort level It is required that.Among these, to the control mode of household electrical appliances, also by it is pervious manually, gradually become remote control, or automatic control.Thereupon Smart home concept come into being.
With hardware cost be gradually reduced and the popularization of internet.Various communication modes, sensor and chip Upgrading, the popularization of smart mobile phone, greatly reduce equipment remote-control and automatic control uses and researches and develops difficulty, and the thing followed is exactly The growth of Internet of Things and Intelligent housing product explosion type.Major household electrical appliances producer and small venture company also develop certainly Oneself intellectual product.
Since smart home device is different from traditional industry equipment, industrial equipment number of devices and device category when appearing on the scene It is good to have established according to demand, is without transformation, even if transformation, it is also desirable to which professional is to new need in use Ask and carry out analysis and equipment adjustment, during which process is cumbersome, and time-consuming longer.But for smart home, due to its complicated equipment Structure, and uncertain device category quantity are formed, and can be increased or decreased at any time.This gives Design for Smart Home System, band Challenge unprecedentedly is carried out.
At present smart home enterprise still does things in his own way during product is researched and developed, and is controlled with the standard of oneself enterprise The product of oneself.Equipment between producer and producer is simultaneously incompatible.Meanwhile current Intelligent housing mode or it is more based on Slave pattern.That is a host connects more slaves, and host computer sends to host and orders, and host receives order, is being converted into assisting View or information, then be issued to from execution equipment or collecting device.The input and output of all devices, are all to go to control by host System.This pattern can produce three problems, and first number of devices need to be defined with species when dispatching from the factory, it is impossible in the process, Newly add other equipment.Second, go offline if located in the main equipment of system centre, then whole system will paralyse.It is absorbed in out of control State.3rd, can not flexible configuration between equipment and equipment.Since system is configured by agreement, and agreement is to pass through It is input in advance in main equipment, even changes device protocol, then is also required to fairly time consuming laborious.It is unable to reach flexible configuration Purpose.Such as, it is desirable to which bedroom temperature opens air-conditioning when being higher than 25 degree.But using after a period of time, it is undesirable to open air-conditioning and wish When hoping opening electric fan, it is necessary to modification configuration or control protocol.Time-consuming and laborious, configuration is dumb.
The content of the invention
The system includes:Information transport vehicle, collection input equipment, control output equipment, host computer, the mechanism of system, Transport protocol, and Chinese parsing.
Further information transport vehicle can be wifi, zigbee, 315/433MHz, can, cable network etc..
The collection input equipment includes:The equipment being made of sensor and embedded system is (such as:Temperature Humidity Sensor, Gas sensor, illuminance sensor, pressure sensor, and button etc.).
Further control output equipment is generally made of (such as motor, relay etc.) performer and embedded system.
It can be made of in the equipment that the system includes arbitrary equipment, as long as system can be transmitted by identical transport vehicle System information, while can add system according to identical mechanism transmission preservation and processing order.Its equipment can be networked Microcontroller gathers or execution system or Embedded Linux System or PC.
It is further that host computer can be PC, PAD, or mobile phone.
It is further that system mechanism includes:System information memory mechanism, device-dependent message, avoids contention mechanism, loses Bag retransmission mechanism, aids in acknowledgement mechanism, more equipment integration of operation mechanism.
Be further between equipment Transmission system information or when control collection information can be transmitted by agreement.
It is further Chinese analytical capabilities, each equipment is individually possessed word analytical capabilities.Flexible configuration and Control between equipment, can be controlled using Chinese.The input of Chinese can be defeated by phonetic entry or host computer at the same time Enter.
The present invention the shortcomings that original host-guest architecture system, abandons host-guest architecture system for more than.Re-establish a kind of nothing The system of division center.To solve in current intelligent domestic system, it is necessary to default setting, and it cannot arbitrarily increase system equipment, Host goes offline system crash, can not flexibly carry out these defects of input and output configuration.
Brief description of the drawings
Fig. 1 is the system network topology structure figure
Fig. 2 campaigns for flow chart for auxiliary answering equipment
Fig. 3 is addition system flow chart
Fig. 4 is Chinese word segmentation flow chart
Fig. 5 is Chinese process of analysis figure
Embodiment
It is apparent to illustrate invention, it is further elaborated below in conjunction with attached drawing:
Fig. 1 descriptions for system network topology figure, since system is no host-guest architecture, so equipment communication carrier, It must be transmitted under multicast or the mode of broadcast, every equipment all may actively send information.What every equipment was sent Information, other equipment can similarly receive.And the system device talk pattern, without connection, while dereliction is had no way of, and every sets Standby relative to other equipment is all relations on an equal basis.Communication between equipment is without connection, while without shaking hands.The response of equipment Mode is exactly to be handled by device address.If transmission information in include the device address, then the equipment be carried out act or Returning response.
What wherein horizontal line represented is transport vehicle, its carrier can be wifi, zigbee, 315/433, infrared, can, has Gauze network etc..Wherein equipment sends information, is similar to talk in a public environment, other equipment can be heard.Meanwhile All devices are all below this big system.
Wherein, if system communication mode uses wifi or cable network, then create multicast come realize equipment it Between communication.
The facility information, content include:Device address, device type, device location and facility information type.
First, device address
Every equipment can all have oneself mac address, which is the id of the equipment.The reception of equipment, by address come Judge whether information is related to oneself, if related to oneself, post-processed.If unrelated with oneself, the information is abandoned.
The information of equipment is sent, and can is one-to-one, can is one-to-many, can be a pair of whole.Send in information, need Address number is included, with destination address.If sending information wishes that armamentarium receives, destination address number is 0, destination address For sky.Due to receiving device it should be understood that information is sent by whom, to be returned to response or reply.So believe sending In breath, source address is also included.Address number, source address, destination address are needed in information (destination address can be sky)
After equipment receives data, number of addresses is contrasted first, if number of addresses is 0, illustrates that sending device notifies all set It is standby, the information is handled at this time.If number of addresses is not 0, judge to receive in address, if comprising oneself.If comprising oneself, locate Manage the information.
2nd, device type,
Every equipment, there is one or several types of oneself, such as " switch can be opened in an equipment, while There is temperature input "
In equipment information content for transmission, device type information can be included, it is at this moment i.e. achievable one-to-many, while need not know The specific address of these equipment of road.
The type of equipment, sets when dispatching from the factory, and can not change in use.
3rd, device location
Since intelligentized Furniture equipment has the concept of room location, every equipment operationally can also generally all be fixed on one Position is run, and during system design, adds room location.
In equipment information content for transmission, room location information can be included, is coordinated at this time with room devices information, without understanding Equipment specific address, you can control certain kind equipment in a certain room.
The room number of equipment, can be configured by host computer.
4th, facility information type
Facility information transport-type, can include, synchronizing information, control information, inquiry message, response message, return information
Synchronizing information therein, is that an equipment can to information, this type of information such as some synchronous system times of all devices Without replying
The letter that control information therein is sent when setting system information or collecting device control to perform equipment for host computer Breath, the information is without replying, it is only necessary to returns to implementing result.Equipment by this return information understand equipment whether packet loss or How person performs state.
Wherein inquiry message for equipment understand other equipment operating status, or after new equipment addition system, it is necessary to Other equipment understands the inquiry message sent during system information.The information needs the substantial reply of target device.
Response message therein, then be the response after the completion of execution after control information is sent to this equipment.
Return information therein, then be after inquiry message is sent to this equipment, after the information for obtaining itself storage, return again to Give inquiry equipment.
Described avoids contention mechanism, its content includes:
Avoid conflicting, when equipment is sent, if other equipment is detected when being sent by other equipment, can be prolonged at random When wait, this is avoided contention mechanism when applied to 315/433 being transport vehicle, and for wifi or zigbee, then the transmission carries Internal portion has CSMA/CA conflict avoiding mechanism, it is possible to without considering.But for 315/433 equipment, due to not having, then need Take into account.
The packet loss retransmission mechanism, its content include:Response in its further information protocol, includes sequence with retransmitting Row number mechanism.
First, be directed to transmission packet drop, when occurring bulk information in network, due to processor or network carrier can Packet drop can occur.At this moment retransmission mechanism is just needed.
To solve the problems, such as this, system solves the problems, such as this comprising two methods:Response is with retransmitting.
Equipment can understand need in the other information table according to equipment in command type and memory first before sending order Want how many a return informations.
After equipment, which is sent, orders, other equipment response is waited, waiting time is 1 second, if in one second, institute's reply in need Equipment, all replied one by one, then equipment can stop sending.
If after one second, not being connected to all devices reply, sending device can retransmit the order.Then again wait for replying.When It is 1 second long.And so on, equipment is sent 3-4 times (can be set and be configured by system).Then judge to send failure.Stop sending out at the same time Send.
But for the received equipment for crossing order, second of transmission of sending device can still reply, and may result at this time Network busy, while the treatment effeciency of each equipment room substantially reduces.Solution for this problem is to increase in the protocol Sequence number mechanism.
2nd, sequence number mechanism, mainly avoids equipment from have received equipment weight in the case where having treated the message New transmitted message, is handled one time again.The mechanism detail is as follows:
When all devices initialize, sequence number is all 0, first can synchronization system sequence number when equipment enters system.Appoint When what equipment often sends an information, one will be added on the basis of current system sequence number.
, can be according to the sequence number response of inquiry during equipment response, it is which time sends inquiry return equipment is understood the order Response.
, will not renewal sequence number when equipment retransmits.
After receiving device normally receives the information of sending device, contrasted with the system serial number of oneself, if new sequence Number it is more than the system serial number of oneself, then is updated the system serial number of oneself.At this time if sending device is sent again, due to Will not renewal sequence number, so re-transmission sequence number is not more than the system serial number of oneself, at this time, then it is assumed that be with treated, Then packet loss.
If receiving device packet loss, then will not then update system serial number.When sending device is retransmitted again, due to will not be more New sequence number, when which receives retransmission of information, is still more than the system number of oneself with the contrast of oneself system number.So Packet loss equipment can be handled normally.
When being communicated between system has large number of equipment, the sequence number of loss is possible to be blanked.The method for solving the problems, such as this It is to increase by one group of record sheet in equipment, records the device number newly handled.When equipment normally receives, sequence number is recorded in this In table, if after equipment packet loss, and receiving other information, then the system serial number of the equipment will become new sequence number. The sequence number of packet loss will be blanked.If after increase sequence number record sheet, equipment retransmits, if being less than system serial number, goes pair Processing equipment number is recorded than system, if there is the sequence number, is handled by receive packet loss.
Above scheme, you can solve the problems, such as packet loss, while can also solve to retransmit the reprocessing for the processed equipment brought Problem.
The auxiliary acknowledgement mechanism, its content include:
Since system is no host-guest architecture, and system information is stored in each equipment, so system is supported in other equipment Any addition, and can be with synchronization system information.Even if certain equipment failure, can also by access the situation of other equipment come Understand system information.But a problem occurs at this time, in synchrodata, has multiple devices return information.At this time, it is synchronous The equipment of information can then reprocess many garbages.Auxiliary acknowledgement mechanism is added to solve the problems, such as this, in system, at the same time Also increase device role field in information content for transmission.
It aids in the address of answering equipment, is stored in the information table of every other equipment.
When First equipment adds network, the system can be created, the equipment upgrades to auxiliary answering equipment at this time.
, then can be to auxiliary answering equipment inquiry system information when second system adds network.It can lead to when transmitting for the first time Cross the address that broadcast understands auxiliary answering equipment.After auxiliary answering equipment address is known in understanding, during synchronization system message, i.e., directly Connect to auxiliary answering equipment address transmission data.Other equipment can not also go the information for handling new addition equipment please at the same time Ask, reduce number of processes, increase efficiency.
The failure and election contest of further auxiliary answering equipment, its process are as follows:
When aiding in answering equipment in system, because certain reason goes offline or fails, system can be according to circumstances voluntarily competing at this time Select an auxiliary answering equipment.To substitute original auxiliary answering equipment system information is provided for the other equipment newly added.
It is that equipment retransmits life identical three times to auxiliary answering equipment that it, which sentences the trigger condition of auxiliary answering equipment failure, When making, and not obtaining responding, that is, prove auxiliary answering equipment lost contact.
At this time, auxiliary answering equipment election contest information is sent from inquiry equipment to system all devices, system is entered election contest State.After other equipment receives at this time, election contest is proceeded by.It is to broadcast the resource information of oneself to set to all to campaign for flow It is standby, while the resource information that other equipment is sent is received, then it is compared with the resource information of oneself.If the resource received Have in information bigger or more than oneself.Then go off the air, if not bigger than oneself, can be broadcasted again once after one second, After broadcasting three times, if not running into the equipment more than oneself resource, which can upgrade into auxiliary answering equipment automatically. Claim information three times can be sent at the same time.After third time sends claim information, all devices store new auxiliary answering equipment Address.
If in election contest process, original auxiliary answering equipment recovers, if judging, system is in election contest state, sends election contest and stops Information.
Since new auxiliary answering equipment can send claim information three times after campaigning for successfully, statement letter is sent in third time Before breath, any election contest Stop message, can all interrupt original election contest state.After if third time information is successfully transmitted, system election contest State change is normal condition, and the auxiliary information address of other equipment is to change, and hereafter, original auxiliary answering equipment sends competing again When selecting Stop message, due to the auxiliary answering equipment address of other equipment to be changed to new equipment address, then original auxiliary response is set It is standby to be downgraded to conventional equipment.System denies recognition the equipment as auxiliary answering equipment.
Campaign resources may include:Cpu dominant frequency, free memory, remaining flash or hard drive space, the number of being randomly assigned.Election contest When, contrast resource in order successively.
As shown in Fig. 2, Fig. 2 is after auxiliary answering equipment goes offline, system campaigns for the process of auxiliary answering equipment again:
In step 201, equipment can send inquiry message to auxiliary answering equipment, at this time can be by two kinds of situations, the first Aid in answering equipment online, then can then enter step 202, the second situation goes offline for auxiliary answering equipment, at this time equipment Inquiry message then can be overtime, after information time-out, then can enter step 203.
In step 202, which is normal condition, equipment and auxiliary answering equipment normal communication.
In step 203, which goes offline for auxiliary answering equipment, and at this time, equipment can obtain the competitive resource of itself.Together When, system enters auxiliary answering equipment race condition, subsequently into step 204.
In step 204, itself competitive resource is sent to other equipment.
In step 205, when equipment is in holding state, the auxiliary answering equipment election contest from other equipment is received After information, system mode is changed to auxiliary response race condition first.Then the competitive resource of itself is obtained, contrasts what is received Competitive resource.If the resource received at this time is more than equipment own resources, then competition failure, enters step 207.If connect Received resource does not have the equipment own resources more, then competition is got profit.Enter step 208.
In step 207, competition failure, then stop sending election contest data, then wait last to send setting for data It is standby.
In a step 208, competition is got profit, then continue send election contest data, until send three times after, then without equipment send with Competition when, then can enter step 209.
In step 209, it is that election contest is completed, equipment upgrades into auxiliary answering equipment from conventional equipment at this time, meanwhile, its It is new equipment address that his equipment, which will also replace original auxiliary answering equipment address,.
In step 210, if auxiliary answering equipment recovers to reply in election contest after going offline, election contest letter can also be received Breath, after equipment receives election contest information, can be directly entered step 211.
In step 211, former auxiliary answering equipment can send stopping election contest information to system other equipment.
In the step 212, all devices stop sending competition information, and the system mode of all devices is recovered from election contest state Into normal state.
In step 213, when equipment is in competition transmission state, the stopping election contest from former auxiliary answering equipment is received After information, it can enter in step 214.
In step 214, equipment can contrast the currently transmitted device address for stopping election contest, and the former auxiliary with oneself record should Whether identical answer device address, if identical, enter step 215, if it is different, then entering step 216 abandons information i.e. Can.
In step 215, both provable is same equipment, it is believed that original aids in answering equipment from the middle recovery that goes offline.This When, stop sending competition information, while it is normal state to change race condition.
The device systems information storage mechanism, its content include:
Since the system is no master-slave system, it requires that each equipment in system has a system information, equipment into Member's information, member status information, mission bit stream, can so solve when an equipment goes offline after, and new addition equipment still can be to Other equipment in system understands system information, so as to solve in host-guest architecture, host goes offline, and causes asking for whole system paralysis Topic.
Equipment after initialization, first can be to auxiliary answering equipment synchronization system information, after system information synchronously completes, It can think oneself to be added to system.
Wherein, system information includes:Latticed form used in current system (e.g., wifi, zigbee etc.), current system The configuration of middle latticed form or parameter, all number of devices in current system, the time in current system, in current system It is whom to aid in answering equipment, all room numbers in current system, and the title of room number, all tasks in current system What has, and in current system, some basic informations of other equipment members and some expansion list items etc..
To meet the expansibility of system, system also includes some variable informations.These information are substantially in the form of a table Deposit in systems.After if new equipment adds legacy system, to meet new system performance, there may come a time when that some tables can be increased.This A little tables, there may come a time when it is that legacy system is not present.For new equipment when adding legacy system, into system, synchronously these are variable Table.Strengthen set expandability.
As shown in figure 3, Fig. 3 is the overall process that equipment adds system after the power is turned under the system.Wherein comprise the steps of:
In step 301, device power, completes a series of initialization procedures, including, equipment itself initialization, io Initialization, all kinds of peripheral hardware initialization, and system information initialization.
In step 302, after the completion of the initialization of device power various information, it is that auxiliary response is set that whom, which starts to system interrogation, It is standby, two kinds of possibility can occur at this time, the first, auxiliary answering equipment is found, is entered step【303】.Second, auxiliary response is set It is standby not find, then enter step 305.
In step 303, synchronization system information is started, comprising:The arrange parameter of transport vehicle, the specific room number of system And room title, the facility information situation of other equipment, the mission bit stream of system etc..Synchronizing information is divided into two contents, First is fix information, and system has many fix informations, these information can be synchronous in order.
In step 304, when synchronously completing all system informations, equipment adds system sign and is recorded.Into wait Coomand mode.
In step 305, situation about not found for ancillary equipment, at this time, equipment can send auxiliary answering equipment competition letter Breath, can be divided into two kinds of situations at this time.The first situation is in system, and containing other equipment, the second situation is in system, is free of There is other equipment.The equipment is first equipment for entering system.
Within step 306, the first situation is that equipment competition information has not timed out, and just has begun to receive after sending election contest To the competition information of other equipment, other equipment is included in proof system at this time.So equipment enters step at this time【308】Deng Treat that election contest is completed.The second situation is overtime to send competition information, it was demonstrated that the equipment is first equipment for entering system.This When, equipment can enter step【307】.
In step 307, since the equipment is the equipment of first addition system, so the system of founding, while change certainly Own equipment is auxiliary answering equipment.
In step 308, after the completion of waiting auxiliary answering equipment election contest, step 303 can be entered.
More equipment integration of operation mechanism, its content include:
The communication of host computer and system, the final form of system are by host computer, and setting command is sent to system.When being When some node meets the condition of setting command in system, it is possible to achieve setting acts, the action with equipment in control other systems. Reach joint-action mechanism.When new host computer adds system, auxiliary answering equipment, after finding, first synchronization system also can be first found Information.When host computer needs to send order, then setting command can be sent to population of devices, population of devices receives setting command When, regardless of whether it is related to oneself, the setting command can be all saved in into the storage device of oneself.Returned at the same time to host computer It is multiple.
Communication between equipment, after being set by host computer, system can realize action control, timing controlled.Collecting device, Collection value is judged, then output equipment is controlled, is connected so as to fulfill thing with thing, reaches Automatic Control.Due to being System order, exists and in every equipment, so when setting after collection value is triggered, collecting device can actively send commands to defeated Go out equipment.When output equipment receives order, parsing is acted and performed.Reach the effect of acquisition control output.
The Controlling principle of system equipment is, if in control information, having the relevant information of oneself, then handling, if do not had The relevant information of oneself is not handled then.Between equipment and equipment, you can to ask for collection information mutually, control can also be sent mutually Information processed.At the same time can striding equipment species.
The communication principle of system is, due to not establishing connection, so target device does not record the mark of communication, communication symbol Established by inquiry or control device.What equipment is asked, what is just answered.If being asked the problem of identical, can answer again Once.And the content inquired, recorded by inquiry equipment.
Transport protocol its content in system includes
General information protocol information is formed
Response message agreement is formed
Return information agreement is formed
The Chinese parsing, its implementation are:
The system can use Chinese to set in the setting up procedure by host computer, and equipment is receiving Chinese information When, by analytical algorithm, the expression and significance in command statement is analyzed, so as to fulfill the purpose of Chinese control is passed through.
For system, equipment has the title of oneself in itself, while can be by the position at place, while also has equipment Behavior.So according to this principle, command statement can be segmented.
Further Chinese word segmentation process such as Fig. 4:
In step 401, equipment, which first can store the keyword of oneself, becomes tabular form, and then word is classified, than Such as equipment word, behavior word, room word.After initialization number, 402 are entered step.
In step 402, equipment can wait Chinese order to be received.
In step 403, equipment have received Chinese character string, then enters step 404 and start to segment
In step 404, equipment is stored in list from keyword first, extracts a word in a part of speech, Ran Houyu The Chinese character string received is contrasted, i.e. step 405.
In step 405, character string will be received with after keyword contrast, step 406 is entered if keyword is found, if To find keyword, then step 404 is returned to, continue to extract next word in part of speech.Then proceed to contrast.
In a step 406, after contrasting successfully, the word part of speech is recorded, records the word label of the word, then makes reception word string position Next word is moved on to, enters step 407.
In step 407, judge whether to be displaced to suffix, if being displaced to suffix, enter step 408 and start to parse Word segmentation result.If not being displaced to suffix, return to step 404 continue to extract it is such, then compare receive word string in word.
Further word segmentation result resolving such as Fig. 5:
In step 501, participle record list is obtained, subsequently into step 502
In step 502, according to part of speech, judge whether to match with local equipment name, if with room number where the machine Match somebody with somebody, if matched with the behavior name of the machine.
In step 503, if part of speech is matched with local equipment name, recording equipment mark, then branches to step 506. If mismatching, continue to judge in next step.
In step 504, if part of speech and room name-matches where the machine, record room mark, then branch to step Rapid 506.If mismatching, continue to judge in next step.
In step 505, if the equipment behavior name-matches of part of speech and the machine, recording equipment behavior mark, and seek note Record behavior label.Then branch to step 506.Continue to judge in next step if mismatching.
In step 506, judge whether to be extracted all records, if extracting all records, then step 507, if not having Extract all records, then then return to step 503 and continue extraction record.
In step 507, to record make a decision, if to control a certain equipment, then as long as meeting device flag at the same time, Room mark, equipment behavior mark are all recorded the information that control local equipment is included in i.e. provable sentence.Then enter step Rapid 508.Otherwise the Chinese sentence for illustrating to receive not is control local equipment, then enters step 509, unrelated with oneself not go Processing.
In step 508, illustrate that command statement meets the condition for making local equipment perform response apparatus behavior, then basis is set Standby behavior label, performs response condition.
When in use, sentence order is sent to each equipment of system, every equipment can all be recorded according to after parsing Corresponding mark, meet mark can perform action, not meet will not handling for mark, in this case, you can with reality Now to the control of distinct device.Meanwhile qualified collecting device can be made to send Chinese, to realize that collection is set by setting The standby control to output equipment.
It is described above, technical solution provided by the present invention is described in detail, the foregoing is merely the present invention Embodiment, is not intended to limit the invention.Can be changed on the basis of the present invention with various change, it is all on basis of the invention and Within principle, any modification for being made, equivalent substitution and upgrading should be included in the scope of the present invention.

Claims (8)

  1. A kind of 1. more equipment integration of operation systems of non-stop layer, it is characterised in that comprise the following steps,
    The system non-stop layer, i.e., each equipment can send information to other equipment, be equity between equipment and equipment Relation.
    New equipment adds mechanism, and after new equipment addition system, this facility information is sent to all devices, allows all devices to understand new Equipment has added.
    During integration of operation, can by artificially setting, allow A equipment to B device send control instruction when, or allow A kind equipments to B Kind equipment sends control instruction, and order is extracted from command table and is sent to B device.Since the system is non-stop layer system System, so whenever, any equipment goes offline, and does not influence the normal operation of whole system.
  2. 2. system according to claim 1 non-stop layer, it is characterised in that the system based on transport vehicle be to form The transport vehicle of the LAN of peer-to-peer network, these carriers can be wifi, zigbee, 315/433Mhz less radio-frequencies, and The transmittable multicasts such as infrared and can buses or the signal of broadcast are transport vehicle.That is tetra- equipment of ABCD, A send data, other Tri- equipment of BCD can equally receive data.Similarly B sends data, and DCA tri- can also receive data.
  3. 3. new equipment according to claim 1 adds mechanism, it is characterised in that since the system transport vehicle can form extensively Broadcast or multicast.So when new equipment adds, the information and equipment itself of addition system can be sent to the broadcast or multicast Situation data.At this time in system other equipment receive come this it is new add equipment send its data after, can be by new equipment Data be stored in the database of this equipment.Called to be searched when controlling and being controlled.
  4. 4. work compound according to claim 1, it is characterised in that since every equipment all saves other and sets in system Standby information and date, when manually setting, all equipment can also receive and store at the same time in system.All settings in system With equipment, when all storage with each equipment, ordering A equipment control B device at this time.A equipment can also be used to control B classes at the same time Equipment.When meeting setting condition, A equipment can call B kind equipments to send control command, if at this time in system in B kind equipments A certain equipment go offline, do not influence the response and reception of other B kind equipments.Similarly C kind equipments can also control B kind equipments.Or Some equipment controls another equipment.
  5. 5. transport vehicle according to claim 2, it is characterised in that when based on wifi or cable network being transport vehicle, It is that 233.0.0.2 port numbers are that multicast that an IP address is 233.0.0.1 port numbers 8080 and an IP address, which can be established, 8866 multicast.
  6. 6. establishment multicast ip according to claim 5, if 233.0.0.1 and 233.0.0.2 multicasts ip has when creating Other tasks, its feature can voluntarily generate multicast number by that can be set by host computer.
  7. 7. work compound according to claim 4, it is characterised in that can realize the flexible configuration of equipment using Chinese With the purpose of control.
  8. 8. Chinese according to claim 7 realizes flexible configuration and the purpose of control, it is characterised in that in every equipment Portion, can all add Chinese analytical capabilities.So that after Chinese information is received, processing responds Chinese information.
CN201711219815.9A 2017-11-24 2017-11-24 A kind of more equipment integration of operation systems of non-stop layer Pending CN107995071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711219815.9A CN107995071A (en) 2017-11-24 2017-11-24 A kind of more equipment integration of operation systems of non-stop layer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711219815.9A CN107995071A (en) 2017-11-24 2017-11-24 A kind of more equipment integration of operation systems of non-stop layer

Publications (1)

Publication Number Publication Date
CN107995071A true CN107995071A (en) 2018-05-04

Family

ID=62033819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711219815.9A Pending CN107995071A (en) 2017-11-24 2017-11-24 A kind of more equipment integration of operation systems of non-stop layer

Country Status (1)

Country Link
CN (1) CN107995071A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095998A (en) * 2020-07-31 2022-02-25 华为技术有限公司 Service information synchronization method for terminal in local area network and terminal

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668290A (en) * 2008-09-04 2010-03-10 深圳华为通信技术有限公司 Method and device for configuring wireless local area network (WLAN)
US20150007288A1 (en) * 2009-01-27 2015-01-01 Sony Corporation Multi-tier wireless home mesh network with a secure network discovery protocol
CN104374060A (en) * 2014-11-04 2015-02-25 清华大学 Water pump system control method based on centerless network
CN104917656A (en) * 2015-06-16 2015-09-16 重庆本原致创科技发展有限公司 Multi-smart home equipment dynamic ad hoc network construction method
CN105007202A (en) * 2015-06-16 2015-10-28 重庆本原致创科技发展有限公司 Method for highly-reliably constructing a dynamic Ad-Hoc Network of multiple smart household devices
CN106444690A (en) * 2016-12-27 2017-02-22 福建中金在线信息科技有限公司 Smart home system and control method of smart home equipment
CN106793001A (en) * 2017-01-19 2017-05-31 深圳市民益得信息科技有限公司 A kind of cordless communication network network-building method and device
CN107166646A (en) * 2017-05-19 2017-09-15 清华大学 Central air conditioner main machine optimization operation control system and method based on Distributed Calculation
CN107248955A (en) * 2017-07-19 2017-10-13 西安奇妙电子科技有限公司 Communication means and communicator

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668290A (en) * 2008-09-04 2010-03-10 深圳华为通信技术有限公司 Method and device for configuring wireless local area network (WLAN)
US20150007288A1 (en) * 2009-01-27 2015-01-01 Sony Corporation Multi-tier wireless home mesh network with a secure network discovery protocol
CN104374060A (en) * 2014-11-04 2015-02-25 清华大学 Water pump system control method based on centerless network
CN104917656A (en) * 2015-06-16 2015-09-16 重庆本原致创科技发展有限公司 Multi-smart home equipment dynamic ad hoc network construction method
CN105007202A (en) * 2015-06-16 2015-10-28 重庆本原致创科技发展有限公司 Method for highly-reliably constructing a dynamic Ad-Hoc Network of multiple smart household devices
CN106444690A (en) * 2016-12-27 2017-02-22 福建中金在线信息科技有限公司 Smart home system and control method of smart home equipment
CN106793001A (en) * 2017-01-19 2017-05-31 深圳市民益得信息科技有限公司 A kind of cordless communication network network-building method and device
CN107166646A (en) * 2017-05-19 2017-09-15 清华大学 Central air conditioner main machine optimization operation control system and method based on Distributed Calculation
CN107248955A (en) * 2017-07-19 2017-10-13 西安奇妙电子科技有限公司 Communication means and communicator

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张少军: "《无线传感器网络技术及应用》", 31 January 2010 *
李金: "家居环境中的蓝牙AdHoc网络设计与仿真研究", 《万方数据知识服务平台,WANFANGDATA.COM.CN/DETAILS/DETAIL.DO?_TYPE=DEGREE&ID=Y1547296》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114095998A (en) * 2020-07-31 2022-02-25 华为技术有限公司 Service information synchronization method for terminal in local area network and terminal
CN114095998B (en) * 2020-07-31 2023-06-20 华为技术有限公司 Service information synchronization method for terminal in local area network and terminal

Similar Documents

Publication Publication Date Title
CN202218258U (en) Intelligent home gateway and system thereof
CN111865736B (en) Equipment control method and device
CN103312573B (en) A kind of domestic network system equipment finds and recognition methods
CN102323803B (en) Intelligent home control method and system
CN103618670A (en) Intelligent gateway and intelligent home system
CN111010324A (en) Household appliance ad hoc network method and system based on BLE MESH network protocol
CN102299833A (en) Intelligent remote household control system and method
CN110113232B (en) Device control method, device, system, electronic device and storage medium
CN101772920A (en) Method and apparatus for discovering universal plug and play device using resource information
CN101902537A (en) Method for remotely controlling household appliances with short messages
JP2000196654A (en) Device controller and communication node
Miori et al. Interoperability of home automation systems as a critical challenge for IoT
CN107770009B (en) Control device, method, storage medium and equipment
CN109510743B (en) Rapid clustering method for intelligent sound box system
CN107995071A (en) A kind of more equipment integration of operation systems of non-stop layer
Silva et al. Restful web of things for ubiquitous smart home energy management
CN102130807A (en) Equipment discovery method for realizing real-time dynamic networking in personal internet
CN100391185C (en) Wireless network device and method for reassociation bwteen wireless networks using the wireless network device
CN105589550A (en) Information publishing method, information receiving method, information publishing device, information receiving device and information sharing system
WO2018167821A1 (en) Communication device, server, communication system, communication method, and program
JPH1023028A (en) Member identification method in radioelectronic conference
CN114125990B (en) Networking method and system for equipment
CN106154850A (en) Intelligent domestic system
CN109712380A (en) Find method and device, the storage medium, terminal device, remote control equipment of remote control equipment
CN117033994A (en) Model information acquisition method, model information transmission method, model information acquisition device, model information transmission node and model information storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180504