[go: up one dir, main page]

CN108734827A - Communication means, smart lock, server based on smart lock and readable storage medium storing program for executing - Google Patents

Communication means, smart lock, server based on smart lock and readable storage medium storing program for executing Download PDF

Info

Publication number
CN108734827A
CN108734827A CN201810337607.7A CN201810337607A CN108734827A CN 108734827 A CN108734827 A CN 108734827A CN 201810337607 A CN201810337607 A CN 201810337607A CN 108734827 A CN108734827 A CN 108734827A
Authority
CN
China
Prior art keywords
smart lock
interactive information
communication
visitor
server
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
CN201810337607.7A
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.)
Shenzhen Cool Intelligent Technology Co Ltd
Original Assignee
Shenzhen Cool Intelligent 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 Cool Intelligent Technology Co Ltd filed Critical Shenzhen Cool Intelligent Technology Co Ltd
Priority to CN201810337607.7A priority Critical patent/CN108734827A/en
Publication of CN108734827A publication Critical patent/CN108734827A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The present invention provides a kind of communication means based on smart lock, and this method includes:Smart lock obtains the visitor image information in the visitor's voice messaging and/or preset range of visitor's typing when receiving communication request, according to the communication request;Visitor's voice messaging and/or visitor image information are packaged with preset format, the first interactive information is obtained, and first interactive information is sent to server, so that first interactive information is sent to corresponding communication customer end by the server.The present invention also provides a kind of smart lock, server and readable storage medium storing program for executing.The present invention may make householder to cross terminal and recognize that visitor information, guest can also be left a message or contacted with householder in time by smart lock in time, be brought conveniently for both sides.

Description

Communication means, smart lock, server based on smart lock and readable storage medium storing program for executing
Technical field
The present invention relates to smart lock technical field more particularly to a kind of communication means based on smart lock, smart lock, services Device and readable storage medium storing program for executing.
Background technology
With the fast development of computer networking technology, family life also begins to show digitlization and information-based becomes Gesture.Wherein, pith of the door lock as home equipment, also begins to lock from tradition machinery and is developed and developed to smart lock.
Currently, smart lock in the market may include communication module, which can be regarded as small-sized intercom, When there is guest to come to visit, owner within doors can be talked by the communication module with visitor.But the communication of this smart lock Method has the obvious disadvantage that:When owner not in doors when, owner can not also recognize the visiting situation of guest, Ke Renye in time It can not be contacted by smart lock and owner, this brings inconvenience for both sides.
Invention content
It is a primary object of the present invention to propose a kind of communication means based on smart lock, smart lock, server and readable Storage medium, it is intended to solve the technical issues of householder can not understand visitor's situation in time.
To achieve the above object, the present invention provides a kind of communication means based on smart lock, and the communication means is applied to Smart lock, the communication means include the following steps:
When receiving communication request, according to visitor's voice messaging of communication request acquisition visitor's typing and/or in advance If the visitor image information in range;
Visitor's voice messaging and/or visitor image information are packaged with preset format, obtain the first interaction letter Breath, and is sent to server by first interactive information, so that first interactive information is sent to pair by the server The communication customer end answered.
According to an embodiment of the present invention, it is described by visitor's voice messaging and/or visitor image information with default Format is packaged, and the first interactive information is obtained, and first interactive information is sent to server, for the server After the step of first interactive information is sent to corresponding communication customer end, further include:
When receiving the second interactive information that the server returns, believed with predetermined manner output second interaction Breath.
According to an embodiment of the present invention, it is described by visitor's voice messaging and/or visitor image information with default Format is packaged, and the first interactive information is obtained, and first interactive information is sent to server, for the server After the step of first interactive information is sent to corresponding communication customer end, further include:
When receiving the unlocking instruction that the server returns, unlocking secret order is extracted in the unlocking instruction, and sentence Whether the unlocking secret order that breaks is effective;
If the unlocking secret order is effective, the smart lock is opened.
In addition, to achieve the above object, the present invention also provides a kind of communication means based on smart lock, the communication means Applied to server, the communication means includes the following steps:
When receiving the first interactive information of smart lock transmission, corresponding communication is determined according to first interactive information Client, and first interactive information is sent to the communication customer end;
The second interactive information that the communication customer end is sent is received, and second interactive information is back to the intelligence It can lock.
Another embodiment according to the present invention, it is described when receiving the first interactive information of smart lock transmission, according to First interactive information determines corresponding communication customer end, and first interactive information is sent to the communication customer end The step of include:
When receiving the first interactive information of smart lock transmission, first interactive information is parsed, obtains intelligence Identification information can be locked, and corresponding communication customer end is determined according to the smart lock identification information;
Corresponding communication mechanism is determined according to the system type of the communication customer end, and is based on the communication mechanism by institute It states the first interactive information and is sent to the communication customer end.
Another embodiment according to the present invention, it is described when receiving the first interactive information of smart lock transmission, according to First interactive information determines corresponding communication customer end, and first interactive information is sent to the communication customer end The step of after, further include:
When receiving the alarm command that the communication customer end is sent, to smart lock transmission lock instruction, and to Community security system sends warning message.
In addition, to achieve the above object, the present invention also provides a kind of smart locks, which is characterized in that the smart lock includes Processor, memory and it is stored in the signal procedure that can be run on the memory and on the processor, wherein described logical When letter program is executed by the processor, realize such as the step of the above-mentioned communication means applied to smart lock.
In addition, to achieve the above object, the present invention also provides a kind of servers, which is characterized in that the server includes Processor, memory and it is stored in the signal procedure that can be run on the memory and on the processor, wherein described logical When letter program is executed by the processor, realize such as the step of the above-mentioned communication means applied to server.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing Signal procedure is contained, when the signal procedure is executed by processor, is realized such as the above-mentioned communication means applied to smart lock Step.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, being deposited on the readable storage medium storing program for executing Signal procedure is contained, when the signal procedure is executed by processor, is realized such as the above-mentioned communication means applied to server Step.
The smart lock of the present invention obtains visitor's language of visitor's typing according to the communication request when receiving communication request Visitor image information in message breath and/or preset range;By visitor's voice messaging and/or visitor image information with default Format is packaged, and the first interactive information is obtained, and first interactive information is sent to server, for the server First interactive information is sent to corresponding communication customer end.In the above manner, the smart lock of the present embodiment can be with clothes Business device is attached;Smart lock can acquire the voice messaging and/or image information of visitor, and clothes are sent to after being packaged Business device, is forwarded this information in the terminal of householder by server, so that householder can in time be recognized by terminal Visitor information, guest can also be left a message or contacted with householder in time by smart lock, be brought conveniently for both sides.
Description of the drawings
Fig. 1 is the smart lock hardware architecture diagram that the embodiment of the present invention is related to;
Fig. 2 is that the present invention is based on the flow diagrams of the communication means first embodiment of smart lock;
Fig. 3 is that the present invention is based on the flow diagrams of the communication means second embodiment of smart lock;
Fig. 4 is that the present invention is based on the flow diagrams of the communication means 3rd embodiment of smart lock;
Fig. 5 be Fig. 4 described in receive smart lock transmission the first interactive information when, it is true according to first interactive information Determine corresponding communication customer end, and first interactive information is sent to the refinement flow diagram of the communication customer end.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
The present embodiments relate to the communication means based on smart lock be applied to smart lock.
Referring to Fig.1, Fig. 1 is the smart lock hardware architecture diagram that the embodiment of the present invention is related to.As shown in Figure 1, this The smart lock of inventive embodiments may include processor 1001 (such as CPU), communication bus 1002, user interface 1003, network Interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components;User interface 1003 include lock module (mainly have the basic function of lock, can mechanically, pin mode or physiological characteristic identification side Formula is unlocked), optional user interface 1003 can also include display screen (Display), input unit such as keyboard (Keyboard);Network interface 1004 may include optionally standard wireline interface and wireless interface (such as WI-FI interface);It deposits Reservoir 1005 can be high-speed RAM memory, can also be stable memory (non-volatile memory), such as magnetic Disk storage, memory 1005 optionally can also be the storage device independently of aforementioned processor 1001.
Optionally, smart lock can also include camera, RF (Radio Frequency, radio frequency) circuit, sensor, sound Frequency circuit, WiFi module etc..Wherein, sensor such as optical sensor or and other sensors.Specifically, optical sensor can Including ambient light sensor and proximity sensor, wherein ambient light sensor can adjust display according to the light and shade of ambient light The brightness of screen, proximity sensor can close display screen and/or backlight when mobile terminal is moved in one's ear.Certainly, smart lock is also The other sensors such as configurable barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
It will be understood by those skilled in the art that Intelligent lock structure shown in Fig. 1 does not constitute limitation of the invention, intelligence Can lock may include either combining certain components or different components arrangement than illustrating more or fewer components.
With continued reference to Fig. 1, in Fig. 1 as a kind of memory 1005 of computer storage media may include operating system, Network communication module and signal procedure.
In Fig. 1, network communication module is mainly used for Connection Service device, with server into row data communication;;And processor 1001 can be used for calling the signal procedure stored in memory 1005, and execute following operation:
When receiving communication request, according to visitor's voice messaging of communication request acquisition visitor's typing and/or in advance If the visitor image information in range;
Visitor's voice messaging and/or visitor image information are packaged with preset format, obtain the first interaction letter Breath, and is sent to server by first interactive information, so that first interactive information is sent to pair by the server The communication customer end answered.
Further, processor 1001 can be also used for calling the signal procedure that stores in memory 1005, and execute with Lower operation:
When receiving the second interactive information that the server returns, believed with predetermined manner output second interaction Breath.
Further, processor 1001 can be also used for calling the signal procedure that stores in memory 1005, and execute with Lower operation:
When receiving the unlocking instruction that the server returns, unlocking secret order is extracted in the unlocking instruction, and sentence Whether the unlocking secret order that breaks is effective;
If the unlocking secret order is effective, the smart lock is opened.
The present embodiments relate to the communication means based on smart lock be also applied to server.For server hardware knot Structure can refer to the hardware configuration of above-mentioned smart lock, i.e. server may include processor (such as CPU), communication bus, Yong Hujie Mouth, network interface, memory.For processor (such as CPU), communication bus, user interface, network interface, function with it is upper The function of stating corresponding part in account management terminal is similar.For memory portion, including operating system, network communication module with And signal procedure;The operating system of server can be identical as the system of smart lock, can also be using different operating system;Net Network communication module is then mainly used for connecting smart lock and communication customer end, and it is logical to carry out data with smart lock and communication customer end respectively Letter;And processor can call the signal procedure stored in memory, and execute following operation:
When receiving the first interactive information of smart lock transmission, corresponding communication is determined according to first interactive information Client, and first interactive information is sent to the communication customer end;
The second interactive information that the communication customer end is sent is received, and second interactive information is back to the intelligence It can lock.
Further, described when receiving the first interactive information of smart lock transmission, according to first interactive information Determine corresponding communication customer end, and the step of first interactive information is sent to the communication customer end includes:
When receiving the first interactive information of smart lock transmission, first interactive information is parsed, obtains intelligence Identification information can be locked, and corresponding communication customer end is determined according to the smart lock identification information;
Corresponding communication mechanism is determined according to the system type of the communication customer end, and is based on the communication mechanism by institute It states the first interactive information and is sent to the communication customer end.
Further, processor may call upon the signal procedure stored in memory, and execute following operation:
When receiving the alarm command that the communication customer end is sent, to smart lock transmission lock instruction, and to Community security system sends warning message.
Hardware configuration based on above-mentioned smart lock and server proposes that the present invention is based on each realities of the communication means of smart lock Apply example.
It is that the present invention is based on the flow diagrams of the communication means first embodiment of smart lock with reference to Fig. 2, Fig. 2.
In the present embodiment, the communication means based on smart lock is applied to smart lock, and the communication means includes following Step:
Step S10 obtains visitor's voice messaging of visitor's typing according to the communication request when receiving communication request And/or the visitor image information in preset range;
Smart lock currently on the market may include communication module, which can be regarded as small-sized intercom, When there is guest to come to visit, owner within doors can be talked by the communication module with visitor.But the communication of this smart lock Method has the obvious disadvantage that:When owner not within doors when, owner can not also recognize the visiting situation of guest, Ke Renye in time It can not be contacted by smart lock and owner, this brings inconvenience for both sides.Based on the above issues, it is proposed in the present embodiment A kind of communication means based on smart lock, to solve the technical issues of householder can not understand visitor's situation in time.
Specifically, the communication means in the present embodiment is applied to smart lock, which has the basic function of common lock, Can mechanically, pin mode or physiological characteristic knowledge unlock otherwise.Meanwhile the smart lock can further include language Sound acquisition module and image capture module.Wherein, voice acquisition module can be microphone, and image capture module can be camera shooting Head.It is worth noting that voice acquisition module and/or image capture module can be all built in intelligent lock body, with Smart lock is in integrated design, so as to avoid voice acquisition module and/or image capture module from being damaged by the external world;Certain voice Acquisition module and/or image capture module can also be to pass through wired or wireless mode and intelligence by independent external device Connection can be locked, is overhauled and is replaced to facilitate.Meanwhile smart lock further includes network communication module, smart lock can be by this Network communication module carries out data connection with server;In addition, smart lock also has touch sensing module, it is corresponding to trigger Wake up keyboard and other requests, instruction.
In the present embodiment, smart lock is installed at the door of householder.When householder is visited in the house that visitor comes householder, if It was found that householder is not in doors, and visitor needs to communicate with householder at this time, and corresponding region can be touched on smart lock, with wake-up The operation keyboard of smart lock;Then touching (or click) the communication button in operation keyboard, to trigger communication request.Smart lock When receiving the communication request, it will start voice acquisition module and/or image capture module.Visitor can carry out voice at this time Message, smart lock can then acquire the voice messaging of visitor and/or by image capture module using pre- by voice acquisition module If the image information of range (such as doorway region).Certainly when carrying out information collection, intelligent sound can be sent out relevant Voice prompt is operated with prompting visitor to carry out corresponding message.
Further, can trigger after some button by visitor by actively clicking smart lock for communication request , it can also be and integrate infrared induction module in smart lock, when having detected that visitor comes doorway by infrared induction module, Communication request is triggered, and starts voice acquisition module and/or image capture module progress visitor information acquisition.Certain voice is adopted Other set-up modes can also be used by collecting module and/image capture module.
Visitor's voice messaging and/or visitor image information are packaged by step S20 with preset format, obtain the One interactive information, and first interactive information is sent to server, so that the server is by first interactive information It is sent to corresponding communication customer end.
In the present embodiment, when smart lock gets by voice acquisition module and/or image capture module the visitor of visitor When voice messaging and/or visitor image information, the information is transmitted for convenience in different equipment, parsed and read, it can Visitor's voice messaging and/or visitor image information are encapsulated into row format first, convert thereof into the first interaction letter of json formats Breath.Wherein, json (JavaScript Object Notation, JS object tag) is a kind of data interaction lattice of lightweight Formula, it is based on a subset of ECMAScript (the js specifications that w3c is formulated), using the text lattice for being totally independent of programming language Formula stores and indicates data.It is succinct to make json become ideal data interchange language with clearly hierarchical structure;It is easy to People reads and writes, while being also easy to machine parsing and generating, and effectively promotes network transmission efficiency.The format is encapsulated Process, can be realized by ffmpeg/ffprobe, such as:
ffprobe-v quiet-print_format json-show_format-show_streams#{source}。 Certainly it can also otherwise realize and visitor's voice messaging and/or visitor image information are encapsulated into row format.
In the present embodiment, when encapsulation of the smart lock completion to visitor's voice messaging and/or visitor image information, first is obtained It, can be by network (can also be wifi network with 4G networks) first interactive information is sent to clothes when interactive information Business device.Can be sent by way of okhttp when sending first interactive information, wherein okhttp is a kind of lightweight Frame can reduce the consumption to data traffic, while can reduce the delay of data transmission, improve efficiency of transmission.Certainly, intelligence Lock (agreement or frame) can also be transmitted in other manners.When first interactive information is sent to service by smart lock When device, server can forward this information to the client terminals of householder, which can be mobile phone, palm PC, tablet electricity The intelligent terminals such as brain, wearable device, so that householder can understand visit situation and the visitor of the middle visitor that gets home in time Message information and/or image information.
Further, the smart lock in the present embodiment has unique device identification, to visitor's voice messaging and/or When visitor image information is packaged to obtain the first interactive information, the intelligence lock device mark can be added into the first interactive information Know.Server is when receiving the first interactive information, it will is parsed to first interactive information, obtains smart lock therein Device identification, so that it is determined that the transmitting terminal (being to be sent by which smart lock) of the first interactive information;Then it will determine and be somebody's turn to do The associated householder destination client of smart lock, and first interactive information is forwarded in the destination client, so that householder looks into It sees.Certainly, for that in first interactive information, can also include other contents, such as original visitor's voice messaging and/or visit The acquisition time of objective image information, location information (GPS location) of smart lock etc..
In the present embodiment, smart lock obtains the visit of visitor's typing according to the communication request when receiving communication request Visitor image information in objective voice messaging and/or preset range;By visitor's voice messaging and/or visitor image information with Preset format is packaged, and the first interactive information is obtained, and first interactive information is sent to server, for the clothes First interactive information is sent to corresponding communication customer end by business device.In the above manner, the smart lock of the present embodiment can It is attached with server;Smart lock can acquire the voice messaging and/or image information of visitor, and be sent after being packaged It to server, is forwarded this information to by server in the terminal of householder, so that householder can be timely by terminal Visitor information is solved, guest can also be left a message or contacted with householder in time by smart lock, be brought conveniently for both sides.
It is that the present invention is based on the flow diagrams of the communication means second embodiment of smart lock with reference to Fig. 3, Fig. 3.
Based on above-mentioned embodiment illustrated in fig. 2, in the present embodiment, after step S20, further include:
Step S30 exports described second when receiving the second interactive information that the server returns with predetermined manner Interactive information.
In the present embodiment, householder is viewing the first of server forwarding by client (such as mobile phone, tablet computer) When interactive information, you can recognize relevant visitor's situation.At this point, householder can operate in the client, typing is relevant Return information;The return information can be voice messaging, can also be text information.Client is receiving the return information When, it will be encapsulated into the second of corresponding format (the json formats of such as step S20, naturally it is also possible to be other formats) first Then second interactive information is sent to server by interactive information.Server is when receiving second interactive information, you can Second interactive information is back in smart lock.Smart lock will believe second interaction when receiving the second interactive information Breath is parsed, and obtains interaction content therein, and export second interactive information;Wherein, the mode of output can be in intelligence The display screen that can be locked shows relevant text information, and relevant voice messaging can also be played by loud speaker.Pass through above-mentioned side Formula may make visitor that can recognize the reply content of householder in time by smart lock, realize long-range instant based on smart lock Communication.
Further, householder is by client after having checked the first interactive information, if think visitor it is credible allow its into Enter in house, relevant unlocking instruction can be also sent by user end to server, which includes that unlocking is necessary The information such as unlocking secret order (such as unlocking cipher).Server is when receiving the unlocking instruction, it will the unlocking instruction is sent To smart lock.Smart lock is when receiving the unlocking instruction, it will extracts the unlocking secret order in the unlocking instruction, and by the unlocking Secret order is compared with preset effective secret order, judges whether the unlocking secret order is effective;If the unlocking secret order is effective, smart lock It automatically opens, visitor can open gate and enter within doors at this time;If the unlocking secret order is invalid, locked state can be kept, is prohibited Only visitor enters within doors, while corresponding secret order invalid information will be also returned to server, with by server by the invalid letter Breath is forwarded to the client of householder.In the above manner, can also realize that remote control is unlocked when householder stays out, carried for both sides Convenience is supplied.
It is that the present invention is based on the flow diagrams of the communication means 3rd embodiment of smart lock with reference to Fig. 4, Fig. 4.
Based on above-mentioned embodiment illustrated in fig. 2, the communication means of the present embodiment is applied to server, the communication means packet It includes:
Step S40, when receiving the first interactive information of smart lock transmission, according to first interactive information determination pair The communication customer end answered, and first interactive information is sent to the communication customer end;
In the present embodiment, smart lock is when receiving communication request, it will starts voice acquisition module and/or Image Acquisition Module;Visitor can carry out tone information at this time, smart lock can then be acquired by voice acquisition module visitor voice messaging and/or The image information of preset range (such as doorway region) is used by image capture module.When smart lock passes through voice acquisition module And/or image capture module is when getting the visitor's voice messaging and/or visitor image information of visitor, for convenience by the information It transmits, parse and reads in different equipment, first visitor's voice messaging and/or visitor image information can be sealed into row format Dress, converts thereof into the first interactive information of json formats, can also be using other formats in specific implementation certainly.When Smart lock completes the encapsulation to visitor's voice messaging and/or visitor image information, when obtaining the first interactive information, can pass through network (can also be wifi network with 4G networks) by first interactive information to be sent to server;Certainly, the first interaction letter It may also include the other information such as smart lock device identification in breath.Server is when receiving the first interactive information, it will to this One interactive information is parsed, and smart lock device identification therein is obtained, so that it is determined that the transmitting terminal of the first interactive information (is Which sent by smart lock);Then by the determining and associated householder destination client of the smart lock, and first interaction is believed Breath is forwarded in the destination client, so that householder checks.Certainly, for that in first interactive information, can also include other Content, for example, original visitor's voice messaging and/or the acquisition time of visitor image information, smart lock location information (GPS Set) etc..
Step S50 receives the second interactive information that the communication customer end is sent, and the interactive information is back to institute State smart lock.
In the present embodiment, householder is viewing the first of server forwarding by client (such as mobile phone, tablet computer) When interactive information, you can recognize relevant visitor's situation.At this point, householder can operate in the client, typing is relevant Return information;The return information can be voice messaging, can also be text information.Client is receiving the return information When, it will be encapsulated into the second of corresponding format (the json formats of such as step S20, naturally it is also possible to be other formats) first Then second interactive information is sent to server by interactive information.Server is when receiving second interactive information, you can Second interactive information is back in smart lock.Smart lock will believe second interaction when receiving the second interactive information Breath is parsed, and obtains interaction content therein, and export second interactive information;Wherein, the mode of output can be in intelligence The display screen that can be locked shows relevant text information, and relevant voice messaging can also be played by loud speaker.
Further, in the present embodiment, if householder, after checking the first interactive information, if thinking, visitor is insincere, the visit Visitor influences whether property safety within doors, can also carry out alarm operation on the client;Client is then according to the operation of householder to clothes Business device sends alarm command.Server is when receiving the alarm command, it will connection community security system, and pacify to the community Anti- system sends relevant warning message.Certainly, server can also send out relevant unlocking authority lock instruction to smart lock, Smart lock (such as can not input the unlocking for refusing any user request close when receiving the unlocking authority lock instruction Code), until householder is unlocked operation in the client.
In the present embodiment, server is interacted when receiving the first interactive information of smart lock transmission according to described first Information determines corresponding communication customer end, and first interactive information is sent to the communication customer end;It receives described logical Believe the second interactive information that client is sent, and the interactive information is back to the smart lock.In the above manner, this reality Applying the server of example can be separately connected with server, client, the forwarding of interactive information be realized, so that householder can lead to It crosses terminal and recognizes that visitor information, guest can also be left a message or contacted with householder in time by smart lock in time, be both sides It brings conveniently.
With reference to Fig. 5, Fig. 5 is described in Fig. 4 when receiving the first interactive information of smart lock transmission, according to first friendship Mutual information determines corresponding communication customer end, and first interactive information is sent to the refinement flow of the communication customer end Schematic diagram.
Based on above-mentioned embodiment illustrated in fig. 4, in the present embodiment, step S41 includes:
Step S41 solves first interactive information when receiving the first interactive information of smart lock transmission Analysis obtains smart lock identification information, and determines corresponding communication customer end according to the smart lock identification information;
In the present embodiment, for different householder's clients, it may be possible to different operating system, in order to with householder client The system at end is adapted to, and the efficiency of information transmission is improved, and different communication mechanism (information senders may be used in server Formula).Specifically, the smart lock in the present embodiment, has unique device identification, to visitor's voice messaging and/or visitor's figure When being packaged to obtain the first interactive information as information, the smart lock device identification can be added into the first interactive information.Clothes Device be engaged in when receiving the first interactive information, it will parsed to first interactive information, obtain intelligent lock device therein Mark, so that it is determined that the transmitting terminal (being to be sent by which smart lock) of the first interactive information;Then it will determine and the intelligence Lock associated householder destination client.
Step S42 determines corresponding communication mechanism according to the system type of the communication customer end, and is based on the communication First interactive information is sent to the communication customer end by mechanism.
In the present embodiment, when determining destination client, server will obtain the system type information of client;Then root Different communication mechanisms is selected according to the system type of the client, and the first interactive information is sent to by this based on the communication mechanism Client.For example, for the client of Android system, server is communicated between android clients using socket Long connection is established, android clients can periodically send the connection status of message detection and server;When received server-side arrives When the first interactive information that smart lock is sent, which can be placed in message queue by server, and notify visitor Take out first interactive information in family end.For the client of ios systems, APNS message then can be used with ios clients in server Push-mechanism is communicated, i.e., server is pushed to the first interactive information in ios clients by APNS;Ios client first The smart lock communications applications at end will be registered in APNS, and get corresponding device token;Then client meeting The devie token are sent to server;Server when receiving the first interactive information of smart lock transmission, can by this One interactive information and devie token are sent to APNS, and the first interactive information is then sent to according to the devie token by APNS Ios clients, so that householder checks.Certainly, in addition to above-mentioned communication mechanism, other communications can also be used in specific implementation Mode is transmitted into row information.
The embodiment of the present invention also provides a kind of readable storage medium storing program for executing.
Signal procedure is stored on the readable storage medium storing program for executing of the embodiment of the present invention, the signal procedure is executed by processor When, it realizes such as the step of the above-mentioned communication means applied to smart lock.
Wherein, signal procedure is performed realized method and can refer to each of communication means the present invention is based on smart lock A embodiment, details are not described herein again.
The embodiment of the present invention also provides a kind of readable storage medium storing program for executing.
Signal procedure is stored on the readable storage medium storing program for executing of the embodiment of the present invention, the signal procedure is executed by processor When, it realizes such as the step of the above-mentioned communication means applied to server.
Wherein, signal procedure is performed realized method and can refer to each of communication means the present invention is based on smart lock A embodiment, details are not described herein again.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that process, method, article or system including a series of elements include not only those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this There is also other identical elements in the process of element, method, article or system.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art Going out the part of contribution can be expressed in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone, Computer, server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of communication means based on smart lock, which is characterized in that the communication means is applied to smart lock, the communication party Method includes the following steps:
When receiving communication request, visitor's voice messaging of visitor's typing and/or default model are obtained according to the communication request Enclose interior visitor image information;
Visitor's voice messaging and/or visitor image information are packaged with preset format, obtain the first interactive information, and First interactive information is sent to server, so that first interactive information is sent to corresponding lead to by the server Believe client.
2. communication means as described in claim 1, which is characterized in that described to scheme visitor's voice messaging and/or visitor As information is packaged with preset format, the first interactive information is obtained, and first interactive information is sent to server, with After the step of first interactive information is sent to corresponding communication customer end for the server, further include:
When receiving the second interactive information that the server returns, second interactive information is exported with predetermined manner.
3. communication means as claimed in claim 1 or 2, which is characterized in that described by visitor's voice messaging and/or visitor Image information is packaged with preset format, obtains the first interactive information, and first interactive information is sent to server, After the step of first interactive information is sent to corresponding communication customer end for the server, further include:
When receiving the unlocking instruction that the server returns, unlocking secret order is extracted in the unlocking instruction, and judge institute Whether effective state unlocking secret order;
If the unlocking secret order is effective, the smart lock is opened.
4. a kind of communication means based on smart lock, which is characterized in that the communication means is applied to server, the communication party Method includes the following steps:
When receiving the first interactive information of smart lock transmission, corresponding communication clients are determined according to first interactive information End, and first interactive information is sent to the communication customer end;
The second interactive information that the communication customer end is sent is received, and second interactive information is back to the intelligence Lock.
5. communication means as claimed in claim 4, which is characterized in that described in the first interaction letter for receiving smart lock transmission When breath, corresponding communication customer end is determined according to first interactive information, and first interactive information is sent to described The step of communication customer end includes:
When receiving the first interactive information of smart lock transmission, first interactive information is parsed, obtains smart lock Identification information, and corresponding communication customer end is determined according to the smart lock identification information;
Corresponding communication mechanism is determined according to the system type of the communication customer end, and based on the communication mechanism by described the One interactive information is sent to the communication customer end.
6. communication means as described in claim 4 or 5, which is characterized in that described to be handed over receive smart lock transmission first When mutual information, corresponding communication customer end is determined according to first interactive information, and first interactive information is sent to After the step of communication customer end, further include:
When receiving the alarm command that the communication customer end is sent, lock instruction is sent to the smart lock, and to community Safety-protection system sends warning message.
7. a kind of smart lock, which is characterized in that the smart lock includes processor, memory and is stored on the memory simultaneously The signal procedure that can be run on the processor realizes such as right wherein when the signal procedure is executed by the processor It is required that the step of communication means based on smart lock described in any one of 1 to 3.
8. a kind of server, which is characterized in that the server includes processor, memory and is stored on the memory simultaneously The signal procedure that can be run on the processor realizes such as right wherein when the signal procedure is executed by the processor It is required that the step of communication means based on smart lock described in any one of 4 to 6.
9. a kind of readable storage medium storing program for executing, which is characterized in that be stored with signal procedure, the communication journey on the readable storage medium storing program for executing When sequence is executed by processor, the step of realizing communication means based on smart lock as claimed any one in claims 1 to 3.
10. a kind of readable storage medium storing program for executing, which is characterized in that be stored with signal procedure, the communication on the readable storage medium storing program for executing When program is executed by processor, the step of the communication means based on smart lock as described in any one of claim 4 to 6 is realized Suddenly.
CN201810337607.7A 2018-04-13 2018-04-13 Communication means, smart lock, server based on smart lock and readable storage medium storing program for executing Pending CN108734827A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810337607.7A CN108734827A (en) 2018-04-13 2018-04-13 Communication means, smart lock, server based on smart lock and readable storage medium storing program for executing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810337607.7A CN108734827A (en) 2018-04-13 2018-04-13 Communication means, smart lock, server based on smart lock and readable storage medium storing program for executing

Publications (1)

Publication Number Publication Date
CN108734827A true CN108734827A (en) 2018-11-02

Family

ID=63938940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810337607.7A Pending CN108734827A (en) 2018-04-13 2018-04-13 Communication means, smart lock, server based on smart lock and readable storage medium storing program for executing

Country Status (1)

Country Link
CN (1) CN108734827A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109727351A (en) * 2018-12-19 2019-05-07 重庆秉为科技有限公司 A kind of access control system of high safety
CN109743643A (en) * 2019-01-16 2019-05-10 成都合盛智联科技有限公司 The processing method and processing device of building conversational system
CN111028393A (en) * 2019-12-24 2020-04-17 深圳创维-Rgb电子有限公司 Unlocking method, television and computer readable storage medium
CN112863009A (en) * 2019-11-08 2021-05-28 北京声智科技有限公司 Door lock control method, device, equipment and computer storage medium
CN113485154A (en) * 2021-08-26 2021-10-08 北京深思数盾科技股份有限公司 Intelligent household control equipment and communication method
CN115762542A (en) * 2022-09-28 2023-03-07 北京声智科技有限公司 Simulated dialogue method, device, electronic equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715531A (en) * 2015-04-07 2015-06-17 北京释码大华科技有限公司 Access having iris recognition function, server and system
CN105141798A (en) * 2015-08-05 2015-12-09 移康智能科技(上海)有限公司 Unit building door management method and unit building door system
CN105427409A (en) * 2015-10-29 2016-03-23 东莞酷派软件技术有限公司 An access control unlocking method and mobile terminal
CN106559637A (en) * 2016-11-22 2017-04-05 重庆惠家通信息技术有限公司 A kind of control method of gate control system
CN107103668A (en) * 2017-04-19 2017-08-29 腾讯科技(深圳)有限公司 A kind of gate control system information transferring method, device and server
CN107862774A (en) * 2017-11-29 2018-03-30 上海量明科技发展有限公司 Gate inhibition's method of calling, system and client

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715531A (en) * 2015-04-07 2015-06-17 北京释码大华科技有限公司 Access having iris recognition function, server and system
CN105141798A (en) * 2015-08-05 2015-12-09 移康智能科技(上海)有限公司 Unit building door management method and unit building door system
CN105427409A (en) * 2015-10-29 2016-03-23 东莞酷派软件技术有限公司 An access control unlocking method and mobile terminal
CN106559637A (en) * 2016-11-22 2017-04-05 重庆惠家通信息技术有限公司 A kind of control method of gate control system
CN107103668A (en) * 2017-04-19 2017-08-29 腾讯科技(深圳)有限公司 A kind of gate control system information transferring method, device and server
CN107862774A (en) * 2017-11-29 2018-03-30 上海量明科技发展有限公司 Gate inhibition's method of calling, system and client

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109727351A (en) * 2018-12-19 2019-05-07 重庆秉为科技有限公司 A kind of access control system of high safety
CN109743643A (en) * 2019-01-16 2019-05-10 成都合盛智联科技有限公司 The processing method and processing device of building conversational system
CN109743643B (en) * 2019-01-16 2022-04-01 成都合盛智联科技有限公司 Processing method and device for building intercom system
CN112863009A (en) * 2019-11-08 2021-05-28 北京声智科技有限公司 Door lock control method, device, equipment and computer storage medium
CN111028393A (en) * 2019-12-24 2020-04-17 深圳创维-Rgb电子有限公司 Unlocking method, television and computer readable storage medium
CN113485154A (en) * 2021-08-26 2021-10-08 北京深思数盾科技股份有限公司 Intelligent household control equipment and communication method
CN115762542A (en) * 2022-09-28 2023-03-07 北京声智科技有限公司 Simulated dialogue method, device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108734827A (en) Communication means, smart lock, server based on smart lock and readable storage medium storing program for executing
US20230216990A1 (en) Device Interaction Method and Electronic Device
CN105201286B (en) The enabling based reminding method and intelligent door lock system of intelligent door lock
CN104731829B (en) A kind of interactive approach and device of network picture
Lan et al. An IoT unified access platform for heterogeneity sensing devices based on edge computing
CN108737242A (en) The system that conversation content is provided
CN103687060B (en) Terminal communicating method, device and terminal
Kumari et al. PiCam: IoT based wireless alert system for deaf and hard of hearing
CN110069229A (en) Screen sharing method, mobile terminal and computer readable storage medium
CN201477676U (en) Bicycle rental smart self-service terminal
CN114765609B (en) Monitoring method and device, door lock, cloud service end, terminal, system and medium
CN107610284A (en) A kind of gesture identification method, device and intelligent peephole
CN110177177A (en) Message back method, mobile terminal and computer readable storage medium
CN109547299A (en) Information processing method, device, intelligence control system, intelligent gateway and server
CN108833690A (en) authority control method, terminal and computer readable storage medium
WO2024114137A1 (en) Crowd identification method, device and storage medium
CN102905250B (en) The method, system and device of remote assistance between mobile terminal
WO2024114170A9 (en) Scene perception method, and device and storage medium
CN109525791A (en) Information recording method and terminal
CN120676014A (en) Edge fusion intelligent monitoring method, device, equipment and storage medium based on rule engine
CN108833838A (en) A kind of video monitoring method based on analog-digital interconnection cross complaint
CN109246308A (en) A kind of method of speech processing and terminal device
CN113495999B (en) A method for monitoring privacy risks using a smart terminal
CN106506844B (en) A WeChat remote mobile monitoring and return system and method based on an appointment short message
CN203838777U (en) Intelligent lock

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181102