CN105607594A - Method for searching equipment by server memory based on smart home appliance - Google Patents

Method for searching equipment by server memory based on smart home appliance Download PDF

Info

Publication number
CN105607594A
CN105607594A CN201510985770.0A CN201510985770A CN105607594A CN 105607594 A CN105607594 A CN 105607594A CN 201510985770 A CN201510985770 A CN 201510985770A CN 105607594 A CN105607594 A CN 105607594A
Authority
CN
China
Prior art keywords
equipment
server
information
timer
relation
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
CN201510985770.0A
Other languages
Chinese (zh)
Other versions
CN105607594B (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.)
Foochow Fu Qun Electronic Science And Technology Co Ltd
Original Assignee
Foochow Fu Qun Electronic Science And 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 Foochow Fu Qun Electronic Science And Technology Co Ltd filed Critical Foochow Fu Qun Electronic Science And Technology Co Ltd
Priority to CN201510985770.0A priority Critical patent/CN105607594B/en
Publication of CN105607594A publication Critical patent/CN105607594A/en
Application granted granted Critical
Publication of CN105607594B publication Critical patent/CN105607594B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/41855Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication by local area network [LAN], network structure
    • 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/085Retrieval of network configuration; Tracking network configuration history
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Abstract

The present invention relates to a method for searching equipment by a server memory based on a smart home appliance. When the equipment is connected to a server, the server searches the related information of the equipment and the information of the attached equipment and the timer managed by the equipment and the information is stored in the memory, the server manages all information of the equipment through a unique identifier through a concurrent Hash map, the server manages the relation between an equipment address and the equipment, the relation between an attached equipment address and the attached equipment, the relation between the attached equipment address and the equipment, and the relation between a timer identifier and the timer through the map, thus the specified equipment connected to the server is efficiently, stably and rapidly searched so as to provide high-quality service. According to the method, the conditions of system service slowness and resource waste caused by searching the equipment information, the attached equipment, the timer and other information through a database by the server in each time are solved.

Description

Server memory based on Smart Home is searched the method for equipment
Technical field
The present invention relates to internet of things intelligent household field, a kind of method that particularly server memory based on Smart Home is searched equipment.
Background technology
Internet of Things is the important component part of generation information technology, is also the important development stage in " informationization " epoch. Its English name is: " Internetofthings(IoT) ". As its name suggests, Internet of Things is exactly the connected internet of thing thing. This has the two-layer meaning: one, and core and the basis of Internet of Things remain internet, are extension on Internet basic and the network of expansion; Its two, its user side extends and has expanded between any article and article, carries out information exchange and communicates by letter, namely thing thing ceases mutually. Internet of Things, by Intellisense, the recognition technology cognition technology of communicating by letter with general fit calculation etc., is widely used in, in the fusion of network, being also therefore called as the third wave of world's information industry development after computer, internet. Internet of Things is the application extension of internet, Internet of Things is network, not equal to Internet of Things is business and application. Therefore, application innovation is the core of Internet of Things development, and the innovation 2.0 taking user's experience as core is souls of Internet of Things development.
General principle: utilize the communication technology such as localized network or internet that sensor, controller, machine, personnel and thing etc. are linked togather by new mode, form people and thing, thing and thing and be connected, realize informationization, remote management and control and intelligentized network. Internet of Things is the extension of internet, and it comprises resources all on internet and internet, the application that compatible internet is all, but in Internet of Things, all elements (all equipment, resource and communications etc.) are all personalization and privatization.
Smart Home is that thing connectionization embodies under the impact of internet. Smart Home connects together the various device in family (as audio & video equipment, illuminator, curtain control, air-conditioning control, safety-protection system, Digital Theater System, video server, shadow cabinet system, network home appliance etc.) by technology of Internet of things, and several functions and the means such as an electric control, illumination control, telephone remote control, indoor and outdoor remote control, burglar alarm, environmental monitoring, HVAC control, infrared forwarding and programmable Timer control are provided. Compared with common household, Smart Home not only has traditional inhabitation function, has both building, network service, information household appliances, equipment automatization, and omnibearing information interaction function is provided, and even economizes on the use of funds for various energy expenditures.
Distributed resource sharing server is exactly that index certificate and program can not be positioned on a server, but be distributed to multiple servers, to disperse the geographic information data distributing on network and to be subject to a kind of theoretical calculation model form server of its database manipulation affecting as research object. The distributed task that is conducive to is distributed and optimizes in whole computer system, has overcome traditional integrated system and can cause the nervous defect with responding bottleneck of central host resource.
Communication protocol (communicationsprotocol) refers to that both sides' entity completes communication or the service mandatory rule of institute and agreement. Protocol definition data cell use form, the information that information unit should comprise and implication, connected mode, the sequential of information sending and receiving, thus guarantee that in network, data are successfully sent to definite place.
Taking Smart Home as example, based on specific communications protocol, thereby a large amount of smart machines is connected into, network is connected into service end, a large amount of APP is connected into server, and user simple APP that uses on mobile phone terminal just can check and control appliance, realizes three end combinations.
In the face of the equipment of flood tide and a large amount of APP, server must operation response request within the extremely short time, collect a large amount of information of storing, the high concurrency performance of application server and the height of database is concurrent, mass memory has proposed harsh requirement.
Excavate, analyze and add up in the face of large-scale data, the reference frame of decision-making is provided, for automation services provides basis, must solve the large-scale calculations problem of service end.
In the face of server likely breaks down, must possess corresponding fault-tolerant measure, reduce because the probability of the whole system that some indivedual server failures cause has proposed to avoid as much as possible occurring the requirement of Single Point of Faliure to the system of whole server.
Communication protocol between equipment and server should meet: 1, security, prevents that data from being obtained easily, forging and distorting. 2, compatibility, the compatibility forward after agreement is changed. 3, high-performance as much as possible, lowers the requirement of equipment and the performance loss of server. 4, readable high, convenient debugging.
Summary of the invention
In view of this, the object of this invention is to provide a kind of method that server memory based on Smart Home is searched equipment, solved server at every turn need to by database lookup obtain facility information, under hang the information such as standby, timer and cause system service slowly and the situation of the wasting of resources, and in the time that large number quipments is connected to server, still can provide efficient, stable, service fast.
The present invention adopts following scheme to realize: a kind of server memory based on Smart Home is searched the method for equipment, comprises the following steps:
Step S1: in the time of equipment connection to server in intelligent domestic system, described server from database, search the relevant information of described equipment and management thereof under hang standby, timer information and be stored in server memory;
Step S2: described server is crossed unique identification by concurrent ConcurrentHashMap by all information exchanges of described equipment and managed;
Step S3: described server by map manage described device address and described equipment relation, lower extension device address and under hang standby relation, lower extension device address to the relation between relation and timer ID and the timer of equipment.
Further, when described server obtains the relevant information of described equipment, without all obtain relevant information from described database at every turn, the unique identification by described equipment in server memory fast finding to facility information.
Further, described server obtains after described facility information, can find fast by this equipment the information of relative lower extension facility information and timer thereof, thereby lower extension facility information and timer service are efficiently provided. Therefore, in the time that large number quipments is connected to server, described server still can for each equipment and its relevant under hang standby and timer and search fast and provide service.
Further, in the time that described equipment rolls off the production line, the data that described server is buffered in described equipment in server memory are removed simultaneously, and remove by described equipment and the map that is related to that hangs standby and timer under it. Therefore, in the time that equipment rolls off the production line, its information can synchronously remove from internal memory, thereby memory headroom is released and re-uses.
Compared with prior art, server memory based on Smart Home provided by the invention is efficient, stable, the method for fast finding equipment, solved server at every turn need to by database lookup obtain facility information, under hang the information such as standby, timer and cause system service slowly and the situation of the wasting of resources, and in the time that large number quipments is connected to server, still can provide efficient, stable, service fast.
Brief description of the drawings
Fig. 1 is method flow schematic diagram of the present invention.
Fig. 2 is server memory structural representation of the present invention.
Detailed description of the invention
Below in conjunction with drawings and Examples, the present invention will be further described.
This enforcement provides a kind of server memory based on Smart Home to search the method for equipment, as depicted in figs. 1 and 2, comprises the following steps:
Step S1: in the time of equipment connection to server in intelligent domestic system, described server from database, search the relevant information of described equipment and management thereof under hang standby, timer information and be stored in server memory;
Step S2: described server is crossed unique identification by concurrent ConcurrentHashMap by all information exchanges of described equipment and managed;
Step S3: described server by map manage described device address and described equipment relation, lower extension device address and under hang standby relation, lower extension device address to the relation between relation and timer ID and the timer of equipment.
Further, when described server obtains the relevant information of described equipment, without all obtain relevant information from described database at every turn, the unique identification by described equipment in server memory fast finding to facility information.
In the present embodiment, described server obtains after described facility information, can find fast by this equipment the information of relative lower extension facility information and timer thereof, thereby lower extension facility information and timer service are efficiently provided. Therefore, in the time that large number quipments is connected to server, described server still can for each equipment and its relevant under hang standby and timer and search fast and provide service.
In the present embodiment, in the time that described equipment rolls off the production line, the data that described server is buffered in described equipment in server memory are removed simultaneously, and remove by described equipment and the map that is related to that hangs standby and timer under it. Therefore, in the time that equipment rolls off the production line, its information can synchronously remove from internal memory, thereby memory headroom is released and re-uses.
In sum, the server memory based on Smart Home that the present embodiment provides is efficient, stable, the method for fast finding equipment, solved server at every turn need to by database lookup obtain facility information, under hang the information such as standby, timer and cause system service slowly and the situation of the wasting of resources, and in the time that large number quipments is connected to server, still can provide efficient, stable, service fast.
The foregoing is only preferred embodiment of the present invention, all equalizations of doing according to the present patent application the scope of the claims change and modify, and all should belong to covering scope of the present invention.

Claims (4)

1. the server memory based on Smart Home is searched a method for equipment, it is characterized in that: comprise the following steps:
Step S1: in the time of equipment connection to server in intelligent domestic system, described server from database, search the relevant information of described equipment and management thereof under hang standby, timer information and be stored in server memory;
Step S2: described server is crossed unique identification by concurrent ConcurrentHashMap by all information exchanges of described equipment and managed;
Step S3: described server by map manage described device address and described equipment relation, lower extension device address and under hang standby relation, lower extension device address to the relation between relation and timer ID and the timer of equipment.
2. the method that a kind of server memory based on Smart Home according to claim 1 is searched equipment, it is characterized in that: when described server obtains the relevant information of described equipment, without all obtain relevant information from described database at every turn, the unique identification by described equipment in server memory fast finding to facility information.
3. the method that a kind of server memory based on Smart Home according to claim 1 is searched equipment, it is characterized in that: described server obtains after described facility information, can find fast by this equipment the information of relative lower extension facility information and timer thereof, thereby lower extension facility information and timer service are efficiently provided.
4. the method that a kind of server memory based on Smart Home according to claim 1 is searched equipment, it is characterized in that: in the time that described equipment rolls off the production line, the data that described server is buffered in described equipment in server memory are removed simultaneously, and remove by described equipment and the map that is related to that hangs standby and timer under it, with so that memory headroom be released and re-use.
CN201510985770.0A 2015-12-25 2015-12-25 The method that server memory based on smart home searches equipment Active CN105607594B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510985770.0A CN105607594B (en) 2015-12-25 2015-12-25 The method that server memory based on smart home searches equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510985770.0A CN105607594B (en) 2015-12-25 2015-12-25 The method that server memory based on smart home searches equipment

Publications (2)

Publication Number Publication Date
CN105607594A true CN105607594A (en) 2016-05-25
CN105607594B CN105607594B (en) 2018-08-21

Family

ID=55987594

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510985770.0A Active CN105607594B (en) 2015-12-25 2015-12-25 The method that server memory based on smart home searches equipment

Country Status (1)

Country Link
CN (1) CN105607594B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105978813A (en) * 2016-06-20 2016-09-28 重庆房慧科技有限公司 Multi-home device route table update method based on Spark big data platform
CN110930564A (en) * 2019-12-06 2020-03-27 冯彬荣 Multi-channel entrance guard joint identification method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090157641A1 (en) * 2007-12-17 2009-06-18 Frank-Uwe Andersen Query routing in distributed database system
CN101867607A (en) * 2010-05-21 2010-10-20 北京无限立通通讯技术有限责任公司 Distributed data access method, device and system
CN102130838A (en) * 2011-04-02 2011-07-20 南京邮电大学 Method for realizing peer-to-peer network caching system based on Ares protocol
CN102737127A (en) * 2012-06-20 2012-10-17 厦门聚海源物联网络技术有限公司 Massive data storage method
CN104639667A (en) * 2014-12-31 2015-05-20 北京奇虎科技有限公司 Equipment identification method, equipment identification device and equipment identification system based on MAC address
CN104765349A (en) * 2015-03-30 2015-07-08 联想(北京)有限公司 Method for managing smart home equipment, server and center control equipment
CN105187293A (en) * 2015-07-23 2015-12-23 柳州正高科技有限公司 Method for storing Internet of Things temporary message

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090157641A1 (en) * 2007-12-17 2009-06-18 Frank-Uwe Andersen Query routing in distributed database system
CN101867607A (en) * 2010-05-21 2010-10-20 北京无限立通通讯技术有限责任公司 Distributed data access method, device and system
CN102130838A (en) * 2011-04-02 2011-07-20 南京邮电大学 Method for realizing peer-to-peer network caching system based on Ares protocol
CN102737127A (en) * 2012-06-20 2012-10-17 厦门聚海源物联网络技术有限公司 Massive data storage method
CN104639667A (en) * 2014-12-31 2015-05-20 北京奇虎科技有限公司 Equipment identification method, equipment identification device and equipment identification system based on MAC address
CN104765349A (en) * 2015-03-30 2015-07-08 联想(北京)有限公司 Method for managing smart home equipment, server and center control equipment
CN105187293A (en) * 2015-07-23 2015-12-23 柳州正高科技有限公司 Method for storing Internet of Things temporary message

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105978813A (en) * 2016-06-20 2016-09-28 重庆房慧科技有限公司 Multi-home device route table update method based on Spark big data platform
CN105978813B (en) * 2016-06-20 2019-04-16 重庆房慧科技有限公司 More home equipment routing table update methods based on Spark big data platform
CN110930564A (en) * 2019-12-06 2020-03-27 冯彬荣 Multi-channel entrance guard joint identification method and system

Also Published As

Publication number Publication date
CN105607594B (en) 2018-08-21

Similar Documents

Publication Publication Date Title
CN104202175B (en) A kind of smart collaboration formula configuration method and equipment
CN113037771B (en) Method and device for controlling device shadow, storage medium and electronic device
CN104506462A (en) MAC (Media Access Control) address management method and equipment in distributed switch
CN109547875A (en) A kind of FC exchange network arbitrary port access design method
CN104754287A (en) Video monitoring equipment configuration parameter issuing method and system
CN105607594A (en) Method for searching equipment by server memory based on smart home appliance
CN104866650A (en) Abstract equipment creating method and device
CN105635215A (en) Contact information synchronization method and device and cloud server
CN204347461U (en) Smart Home central control system
CN107896376B (en) ZigBee-based Internet of things equipment fast networking method and system
WO2014044112A1 (en) Device and method for controlling and supervising and alarming power supply of base station
CN104954462A (en) High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system
CN105791106A (en) 6LoWPAN home gateway in support of concurrent access service and realization method of the 6LoWPAN home gateway in support of concurrent access service
CN102130807A (en) Equipment discovery method for realizing real-time dynamic networking in personal internet
CN104333497A (en) Automatic equipment discovery method of intelligent home network and network system
CN110677303A (en) Network management system
CN103634148A (en) Method, server and system for configuring sensor
CN102970375A (en) Cluster configuration method and device
CN109471837A (en) The distributed storage method of power infrastructures data
CN104462235A (en) Internet of Things general event service mechanism based on Restful Web Service
JP2010527475A (en) Information appliance data storage system and data processing method
CN105323273B (en) For controlling the methods, devices and systems of energy consumption monitoring system
CN102215129A (en) Service module extraposition method, device and system
CN112152850A (en) Internet of things equipment management method based on IGRS (intelligent grouping and resource sharing) protocol and business terminal
CN105187472A (en) Data synchronization method and data synchronization device

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