CN110032082A - Intelligent household equipment management system and method - Google Patents

Intelligent household equipment management system and method Download PDF

Info

Publication number
CN110032082A
CN110032082A CN201910341435.5A CN201910341435A CN110032082A CN 110032082 A CN110032082 A CN 110032082A CN 201910341435 A CN201910341435 A CN 201910341435A CN 110032082 A CN110032082 A CN 110032082A
Authority
CN
China
Prior art keywords
micro services
equipment
terminal device
subsystem
services subsystem
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
CN201910341435.5A
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.)
SUNFLY ELECTRONICS HOLDINGS Co Ltd
Original Assignee
SUNFLY ELECTRONICS HOLDINGS 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 SUNFLY ELECTRONICS HOLDINGS Co Ltd filed Critical SUNFLY ELECTRONICS HOLDINGS Co Ltd
Priority to CN201910341435.5A priority Critical patent/CN110032082A/en
Publication of CN110032082A publication Critical patent/CN110032082A/en
Pending legal-status Critical Current

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
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • 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] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention is poor in order to solve long connection real-time in Intelligent household scene, and the problem of transmission data time-consuming provides a kind of Intelligent household equipment management system, including terminal device, equipment information management micro services subsystem, appliance services micro services subsystem;The terminal device for logging in the equipment information management micro services subsystem according to login account, and obtains the link address and access token of appliance services micro services subsystem;The appliance services micro services subsystem is used to create the binding relationship between message queue and registered terminal equipment;The terminal device is also used to connect the appliance services micro services subsystem, sends service request;The business micro services subsystem is also used to carry out the service request parameter packaging and is stored in corresponding message queue, according to the binding relationship, is distributed to purpose terminal device.Additionally provide management method, electronic equipment and readable medium.Information transmission is reliable, and real-time is good, and information conveying length is shorter.

Description

Intelligent household equipment management system and method
Technical field
The invention belongs to internet of things field, in particular to a kind of Intelligent household equipment management system, a kind of end Method, a kind of electronic equipment and a kind of computer-readable medium of end equipment management smart home.
Background technique
Data reliability control is realized in the long connection that existing household platform much passes through tcp agreement, and many platforms all pass through Third-party platform is integrated to realize the mqtt protocol between gateway and equipment, it is complete from what is researched and developed that there is no one System, and the prior art, by long connection type, the expense of communication is bigger;Existing system architecture hardware cost and communication Higher cost.
Summary of the invention
The present invention is in order to solve the disadvantage that at least one above-mentioned prior art, for smart home platform information transmitting scene Provide a kind of Intelligent household equipment management system, including terminal device, equipment information management micro services subsystem, equipment manufacture industry Business micro services subsystem;
The terminal device, for logging in the equipment information management micro services subsystem according to login account, and from institute State link address and access token that equipment information management micro services subsystem obtains appliance services micro services subsystem;
The appliance services micro services subsystem is used to create the binding relationship between message queue and registered terminal equipment;
The terminal device is also used to connect appliance services micro services with access token according to the link address System, and service request is sent to the appliance services micro services subsystem, wherein the service request includes message queue name Title and access token;
The business micro services subsystem is also used to be carried out the service request parameter according to the message queue title Packaging is stored in corresponding message queue, and the service request parameter after the packaging in message queue according to the binding pass System, is distributed to purpose terminal device.
Further, the business micro services subsystem is also used to after being distributed to terminal device, by message team Service request parameter in column after processed packaging is deleted.
Further, the business micro services subsystem is also used to when being distributed unsuccessfully to purpose terminal device, will In service request parameter deposit caching in message queue after currently processed packaging, and it is whole to record source terminal equipment number, purpose End equipment number, source terminal address and purpose terminal address;The business micro services subsystem further includes scheduler, the scheduling Device is according to source terminal equipment number, purpose terminal device number, source terminal address and purpose terminal address by the packet by caching Service request parameter after dress is sent.
Further, the business micro services subsystem is also used to after being distributed to purpose terminal device, is obtained The address of receiving side terminal equipment, and stored.
Further, the terminal device includes gateway and intelligent terminal.
It further, further include cloud platform equipment tracing management micro services subsystem, for recording the equipment for sending failure With the number of repeating transmission, and service management backstage alarm.
On the other hand, the embodiment of the invention also provides a kind of method of terminal unit management smart home, including it is as follows Step:
According to login account logging device information management micro services subsystem, from the equipment information management micro services subsystem System obtains the link address and access token of appliance services micro services subsystem;
Connect the appliance services micro services subsystem with access token according to the link address, and to the equipment manufacture industry Micro services subsystem of being engaged in sends service request, wherein and the service request includes message queue title and access token, so that The service request parameter is carried out packaging deposit and corresponded to by the business micro services subsystem according to the message queue title Message queue in, and the service request parameter after the packaging in message queue according to the binding relationship, to purpose terminal Equipment is distributed.
Further, the terminal device is so that the business micro services subsystem is distributed to other terminal devices When failure, also so that the business micro services subsystem is by the service request parameter after packaging currently processed in message queue In deposit caching, and source terminal equipment number, purpose terminal device number, source terminal address and purpose terminal address are recorded, utilizes tune Spend device according to source terminal equipment number, purpose terminal device number, source terminal address and purpose terminal address by it is described will be in caching Service request parameter after packaging is sent.
Another aspect of the present invention additionally provides a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing Device realizes above-mentioned method.
Another aspect of the present invention additionally provides a kind of computer-readable medium, is stored thereon with computer program, wherein Above-mentioned method is realized when described program is executed by processor.
System, method and apparatus in the present invention log in the facility information pipe according to login account by terminal device Micro services subsystem is managed, and obtains the company of appliance services micro services subsystem from the equipment information management micro services subsystem It is grounded location and access token;Tying up between the appliance services micro services subsystem creation message queue and registered terminal equipment Determine relationship;The terminal device connects the appliance services micro services subsystem according to the link address with access token, and Service request is sent to the appliance services micro services subsystem, wherein the service request includes message queue title and visit Ask token;The service request parameter is carried out packaging and deposited by the business micro services subsystem according to the message queue title Enter in corresponding message queue, and the service request parameter after the packaging in message queue according to the binding relationship, to end End equipment is distributed, business micro services subsystem according in message queue message and binding relationship carry out information point automatically Hair.It can be communicated, be sent using udp protocol between terminal device and business micro services subsystem in the embodiment of the present invention Data packet in can not include the address of purpose terminal, business micro services subsystem passes through the binding relationship that prestores from queue Middle reading message, is then distributed, and reduces the length of communication data packets, increases the efficiency of communication.
Detailed description of the invention
The features and advantages of the present invention will be more clearly understood by referring to the accompanying drawings, and attached drawing is schematically without that should manage Solution is carries out any restrictions to the present invention, in the accompanying drawings:
Fig. 1 is the system architecture schematic diagram of the Intelligent household equipment management system in some examples of the present invention;
Fig. 2 is the operation method flow chart of the Intelligent household equipment management system in some examples of the present invention;
Fig. 3 is the method flow schematic diagram of the terminal unit management smart home in some embodiments of the invention;
Fig. 4 is the operational process schematic diagram of the Intelligent household equipment management system in other embodiments of the invention;
Fig. 5 is the system architecture flow diagram of the Intelligent household equipment management system in other embodiments of the invention;
Fig. 6 is the Computer Systems Organization schematic diagram of terminal device in some embodiments of the invention.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the reality of the application The feature applied in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
Fig. 1 shows a kind of system architecture of Intelligent household equipment management system 100 according to the embodiment of the present invention, Fig. 2 Operational process in the management system 100 is shown, the management system 100 includes terminal device 110, equipment information management Micro services subsystem 120, appliance services micro services subsystem 130;
The terminal device 110, for logging in the equipment information management micro services subsystem 120 according to login account, And the link address and visit of appliance services micro services subsystem 130 are obtained from the equipment information management micro services subsystem 120 Ask token;
The binding that the appliance services micro services subsystem 130 is used to create between message queue and registered terminal equipment is closed System;
The terminal device 110 is also used to connect the appliance services micro services with access token according to the link address Subsystem 130, and service request is sent to the appliance services micro services subsystem 130, wherein the service request includes disappearing Cease queued name and access token;
The business micro services subsystem 130 is also used to according to the message queue title, by the service request parameter It carries out packaging to be stored in corresponding message queue, and the service request parameter after the packaging in message queue is tied up according to Determine relationship, is distributed to purpose terminal device.Business micro services subsystem 130 obtains the service request of terminal device 110 It after information, stores into corresponding queue, according to the binding relationship between the queue prestored and distribution terminal, is read from queue Message is taken, message distribution is then carried out to purpose terminal device according to binding relationship.The process of above-mentioned packaging is information format Conversion process, such as the conversion of information coding, the processes such as the conversion of data format can also be and be generated pair according to binding relationship The purpose terminal device number and purpose terminal address answered.Business micro services subsystem 130 is determined according to the access token, whole Whether end equipment is legal, if legal, obtains corresponding purpose terminal, packet according to the message queue title and binding relationship The process of dress can be the above-mentioned process that purpose terminal is found according to binding relationship, specifically, can be by the equipment of purpose terminal Number, address resolution goes out, and is deposited into message queue with other data in service request parameter, reads in message queue later Acquisition of information purpose terminal device number and address are distributed;It is also possible that without address resolution, by the business after packaging Required parameter is stored in corresponding message queue, when distribution, the direct service request parameter after reading packaging in message queue, Then according to the address read out in the address of corresponding message queue packet (the purpose terminal address with message queue binding) into Row distribution.
Further, the business micro services subsystem 130 is also used to after being distributed to terminal device, by message Service request parameter in queue after processed packaging is deleted, and can be guaranteed message queue not congestion after deletion, be ensure that letter Breath can be transmitted effectively.
Further, the business micro services subsystem is also used to when being distributed unsuccessfully to terminal device, by message In service request parameter deposit caching in queue after currently processed packaging, source terminal equipment number, purpose terminal device are recorded Number, source terminal address and purpose terminal address;The business micro services subsystem further includes scheduler, the scheduler according to Source terminal equipment number, purpose terminal device number, source terminal address and purpose terminal address will be after the packagings by caching Service request parameter is sent.By secondary transmission, it can guarantee that message can effectively distribute.It is described slow in practice Depositing can be realized by the way of micro services, both the system in the application, may also include caching micro services subsystem.Above-mentioned mesh Terminal address and purpose terminal device number, can link up in the binding relationship prestored and read out.
Further, the business micro services subsystem 130 is also used to after being distributed to purpose terminal device, is obtained The address of receiving side terminal equipment is taken, and is stored, safeguards binding relationship for real-time update, the abnormal judgement after being Carry out data collection effort.
Further, the terminal device 110 includes gateway and intelligent terminal, i.e., in the present invention, gateway is set It is standby intelligent terminal to be sent information to by the method for operation of above system, such as smart phone, plate, intelligent hand Table, smart home etc.;Meanwhile intelligent terminal can also be used above-mentioned system send information to gateway or its His intelligent terminal.
Further, further include cloud platform equipment tracing management micro services subsystem 140, send setting for failure for recording The standby number with repeating transmission, and alarming on service management backstage, when alarm, send information to the address prestored or to Each micro services subsystem is sent.
As shown in Fig. 2, introducing the operational process of this system 100:
The terminal device 110, according to the login account login equipment information management micro services subsystem 120, and from The equipment information management micro services subsystem 120 obtains the link address of appliance services micro services subsystem 130 and access enables Board;
The terminal device 110 connects the appliance services micro services subsystem according to the link address with access token 130, and service request is sent to the appliance services micro services subsystem 130, wherein the service request includes message queue Title and access token;
The business micro services subsystem 130 wraps the service request parameter according to the message queue title Dress is stored in corresponding message queue, and the service request parameter after the packaging in message queue according to the binding relationship, It is distributed to purpose terminal device.
Further, the business micro services subsystem 130 to purpose terminal device after being distributed, by message team Service request parameter in column after processed packaging is deleted.When sending failure, the business micro services subsystem will disappear In service request parameter deposit caching after ceasing packaging currently processed in queue, and record source terminal equipment number, purpose terminal Device number, source terminal address and purpose terminal address;Using scheduler, according to source terminal equipment number, purpose terminal device number, Source terminal address and purpose terminal address send the service request parameter after the packaging by caching.It realizes standby With distribution, distribution success rate ensure that.
Further, the business micro services subsystem obtains receiving side terminal after being distributed to terminal device The address of equipment, and stored.
The terminal device includes gateway and intelligent terminal.
System in the embodiment of the present invention realizes equipment and son using udp protocol by using the system architecture of micro services Communication between system reduces hardware cost, while using the binding relationship prestored, reducing mesh in data transmission procedure Address exposure situation, decrease volume of transmitted data.
On the other hand, as shown in figure 3, present invention also provides a kind of methods of terminal unit management smart home, including Following steps:
S110, according to login account logging device information management micro services subsystem, in incognito from the equipment information management Business subsystem obtains the link address and access token of appliance services micro services subsystem;
S120, the appliance services micro services subsystem is connected with access token according to the link address, and to described Appliance services micro services subsystem sends service request, wherein the service request includes that message queue title and access enable Board, so that the service request parameter is carried out packaging and deposited by the business micro services subsystem according to the message queue title Enter in corresponding message queue, and the service request parameter after the packaging in message queue according to the binding relationship, to mesh Terminal device be distributed.
Further, the step S120 further includes, the terminal device so that the business micro services subsystem to When purpose terminal device is distributed unsuccessfully, also so that the business micro services subsystem will be currently processed in message queue In service request parameter deposit caching after packaging, and record source terminal equipment number, purpose terminal device number, source terminal address It is whole according to source terminal equipment number, purpose terminal device number, source terminal address and purpose using scheduler with purpose terminal address End address sends the service request parameter after the packaging by caching.
Above-mentioned terminal device can be gateway, be also possible to intelligent terminal, each system in the embodiment of the present application Operational process is consistent with the operational process in the system in the above embodiments, does not do excessively repeat herein.
Hereinafter, system, the method in the application are introduced from practical operation situation.
As shown in Figure 4, Figure 5, the Intelligent household equipment management system that the design in based on the above embodiment is built is shown, This system is to realize that a kind of high efficient and reliable system of communication designs from the gateway hardware and cell phone apparatus of research and development, with udp protocol generation It realizes, is subject to from reliable data transmission control is researched and developed, from the intelligent liter home equipment pipe living of research and development for traditional Transmission Control Protocol Reason system.
System of the invention uses non-long connection type, connects the lesser udp protocol of expense, in addition from the interaction number of research and development According to the intelligent liter home equipment management system living of Structural Development, make the access of home equipment more convenient, the scalability of system is more It is good.System specifically includes that equipment information management micro services, equipment tracing management micro services, appliance services micro services (according to setting Standby capacitance linearity dynamic expansion), the major subsystems such as the cluster of message queue.
System in the present invention specifically includes that
1, cloud platform equipment information management micro services
Function: providing the login function of gateway, cell phone apparatus, and to obtain, connection is intelligent to rise appliance services micro services of living (equipment information management micro services monitor each appliance services micro services by equipment tracing management micro services and work as access address Preceding loading condition determines the address of equipment access according to open datagram channel DatagramChannel quantity) and visit Ask voucher.
2, cloud platform equipment tracing management micro services
Function: the quantity of the intelligent datagram channel DatagramChannel for rising appliance services micro services living of monitoring, and to set Standby information management micro services provide service, to determine that the equipment logged in is connected to the machine of which appliance services micro services deployment On;And the online situation of gateway, cell phone apparatus, count gateway, cell phone apparatus and appliance services micro services The udp heartbeat packet frequency of failure and alarm give system manager's sending device abnormal conditions, these statistics are stored in caching In micro services.
3, appliance services micro services
Function: the bridge of gateway and cell phone apparatus communication is provided.After gateway, cell phone apparatus log in, obtain Entry address reconnects appliance services micro services, the address of appliance services micro services record connection equipment.Gateway handle DatagramPacket data issue appliance services micro services with udp protocol, and appliance services micro services are in addition to according to gateway Information data are put into inside corresponding queue, and data-pushing is given by udp protocol to equipment associated with queue Corresponding equipment.It, can linearly increasing machine deployment facility business micro services with the increase that gateway, cell phone apparatus load Example.
4, micro services are cached
Function: equipment tracing management micro services trace scheduling appliance services micro services, gateway, cell phone apparatus are supplied to The caching of the state of heartbeat packet connection, the analysis of connection failure number, connection number etc. data.
Operational process is as follows:
1. cloud platform management backstage automatically generates the login account (uuid uniqueness, 32) of gateway, set in gateway Standby preceding burned gateway of dispatching from the factory, guarantees that one and only one gateway account can log into system.
2. burned account logging device information management micro services, acquire connection equipment manufacture industry before gateway factory The link address and login token for micro services of being engaged in, and requesting appliance services micro services is that logging device creates message queue and adds Add the forwarding binding relationship between gateway and cell phone apparatus.
3. gateway sends service request (parameter includes queued name, with access token) to the address just obtained, if Standby business micro services are packed required parameter and are put into specified queue.
4. appliance services micro services are distributed the message in message queue by the relationship of binding, if forwarding is lost It loses, this message is put into caching, records fromDev, toDev device number, recipient address, sender address;Then Message in queue is left out, and sends failure news and waits scheduler schedules transmission.
5. appliance services micro services update the backup of recipient's link address every time;
6. cell phone apparatus is registered by intelligent liter cloud platform living, then process is as gateway.
7. cloud platform equipment tracing management micro services as monitoring with commander role, record every time send failure equipment with The number of repeating transmission, and alarm on service management backstage.
The platform feature that above system is realized using the equipment interactive mode of the C/S model of UDP, ensure that the real-time of data Property and safety.The development that smart home can be pushed keeps smart home more clever and humanized, and target user is extensive.
The embodiment of the invention provides a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing The method that device realizes above-mentioned terminal unit management smart home.
Below with reference to Fig. 6, it illustrates the computer systems 800 for the terminal device for being suitable for being used to realize the embodiment of the present application Structural schematic diagram.Terminal device shown in Fig. 6 is only an example, should not function and use to the embodiment of the present application Range band carrys out any restrictions.
As shown in fig. 6, computer system 800 includes central processing unit (CPU) 801, it can be read-only according to being stored in Program in memory (ROM) 802 is loaded into the program in random access storage device (RAM) 803 from storage section 808 And execute various movements appropriate and processing.In RAM 803, also it is stored with system 800 and operates required various program sum numbers According to.CPU 801, ROM 802 and RAM 803 are connected with each other by bus 804.Input/output (I/O) interface 805 also connects To bus 804.
I/O interface 805 is connected to lower component: the importation 806 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 807 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section including hard disk etc. 808;And the communications portion 809 of the network interface card including LAN card, modem etc..Communications portion 809 via The network of such as internet executes communication process.Driver 810 is also connected to I/O interface 805 as needed.Detachable media 811, such as disk, CD, magneto-optic disk, semiconductor memory etc., are mounted on as needed on driver 810, in order to from The computer program read thereon is mounted into storage section 808 as needed.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable Jie Computer program in matter, the computer program include the program code for method shown in execution flow chart.Such In embodiment, which can be downloaded and installed from network by communications portion 809, and/or is situated between from detachable Matter 811 is mounted.When the computer program is executed by central processing unit (CPU) 801, executes and limited in the present processes Fixed above-mentioned function.
It should be noted that computer-readable medium described herein can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but Be not limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination. The more specific example of computer readable storage medium can include but is not limited to: have one or more conducting wires electrical connection, Portable computer diskette, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only deposit Reservoir (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory Part or above-mentioned any appropriate combination.In this application, computer readable storage medium, which can be, any include or stores The tangible medium of program, the program can be commanded execution system, device or device use or in connection.And In the application, computer-readable signal media may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying computer-readable program code.The data-signal of this propagation can take various forms, including but It is not limited to electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be calculating Any computer-readable medium other than machine readable storage medium storing program for executing, the computer-readable medium can send, propagate or transmit For by the use of instruction execution system, device or device or program in connection.It is wrapped on computer-readable medium The program code contained can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc., or Above-mentioned any appropriate combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof Machine program code, described program design language include object-oriented programming language-such as Python, Java, Smalltalk, C++ further include conventional procedural programming language-such as " C " language or similar program design language Speech.Program code can be executed fully on the user computer, partly execute on the user computer, be only as one Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part Or it is executed on server.In situations involving remote computers, remote computer can pass through the network of any kind --- It is connected to subscriber computer including local area network (LAN) or wide area network (WAN)-, or, it may be connected to outer computer (example It is such as connected using ISP by internet).
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can be with A part of a module, program segment or code is represented, a part of the module, program segment or code includes one or more A executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, box Middle marked function can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated Can actually be basically executed in parallel, they can also be executed in the opposite order sometimes, this according to related function and It is fixed.It is also noted that the group of each box in block diagram and or flow chart and the box in block diagram and or flow chart It closes, can be realized with the dedicated hardware based system for executing defined functions or operations, or specialized hardware can be used Combination with computer instruction is realized.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include acquiring unit, cutting unit, determination unit and selecting unit.Wherein, the title of these units not structure under certain conditions The restriction of the pairs of unit itself.
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without the supplying electronic equipment In.Above-mentioned computer-readable medium carries one or more program, when said one or multiple programs are set by the electronics When standby execution, so that the electronic equipment: according to login account logging device information management micro services subsystem, from the equipment The link address and access token of information management micro services subsystem acquisition appliance services micro services subsystem;According to the company Ground connection location connects the appliance services micro services subsystem with access token, and sends out to the appliance services micro services subsystem Send service request, wherein the service request includes message queue title and access token, so that the business micro services are sub The service request parameter is carried out packaging and is stored in corresponding message queue by system according to the message queue title, and handle Service request parameter after packaging in message queue is distributed according to the binding relationship to purpose terminal device.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from foregoing invention design, it is carried out by above-mentioned technical characteristic or its equivalent feature Any combination and the other technical solutions formed.Such as features described above and (but being not limited to) disclosed herein have it is similar The technical characteristic of function is replaced mutually and the technical solution that is formed.

Claims (10)

1. a kind of Intelligent household equipment management system, which is characterized in that including terminal device, equipment information management micro services subsystem System, appliance services micro services subsystem;
The terminal device for logging in the equipment information management micro services subsystem according to login account, and is set from described Standby information management micro services subsystem obtains the link address and access token of appliance services micro services subsystem;
The appliance services micro services subsystem is used to create the binding relationship between message queue and registered terminal equipment;
The terminal device is also used to connect the appliance services micro services subsystem with access token according to the link address, And service request is sent to the appliance services micro services subsystem, wherein the service request includes message queue title and visit Ask token;
The business micro services subsystem is also used to be packed the service request parameter according to the message queue title It is stored in corresponding message queue, and the service request parameter after the packaging in message queue according to the binding relationship, to Purpose terminal device is distributed.
2. Intelligent household equipment management system according to claim 1, which is characterized in that the business micro services subsystem It is also used to after being distributed to purpose terminal device, the service request parameter after packaging processed in message queue is deleted It removes.
3. Intelligent household equipment management system according to claim 2, which is characterized in that the business micro services subsystem It is also used to when being distributed unsuccessfully to purpose terminal device, the service request after packaging currently processed in message queue is joined In number deposit caching, record source terminal equipment number, purpose terminal device number, source terminal address and purpose terminal address;The industry Micro services subsystem of being engaged in further includes scheduler, and the scheduler is according to source terminal equipment number, purpose terminal device number, source terminal Location and purpose terminal address send the service request parameter after the packaging by caching.
4. Intelligent household equipment management system according to claim 2, which is characterized in that the business micro services subsystem It is also used to after being distributed to purpose terminal device, obtains the address of receiving side terminal equipment, and stored.
5. Intelligent household equipment management system according to claim 1, which is characterized in that the terminal device includes gateway Equipment and intelligent terminal.
6. any Intelligent household equipment management system according to claim 1~5, which is characterized in that further include cloud platform Equipment tracing management micro services subsystem sends the equipment of failure and the number of repeating transmission for recording, and on service management backstage It alarms.
7. a kind of method of terminal unit management smart home, which comprises the steps of:
According to login account logging device information management micro services subsystem, obtained from the equipment information management micro services subsystem Take the link address and access token of appliance services micro services subsystem;
The appliance services micro services subsystem is connected with access token according to the link address, and micro- to the appliance services Service subsystem sends service request, wherein the service request includes message queue title and access token, so that the industry Micro services subsystem be engaged according to the message queue title, the service request parameter is subjected to packaging and is stored in corresponding message team In column, and the service request parameter after the packaging in message queue is carried out according to the binding relationship to purpose terminal device Distribution.
8. the method for terminal unit management smart home according to claim 7, which is characterized in that the terminal device with Make the business micro services subsystem when being distributed unsuccessfully to purpose terminal device, also so that the business micro services subsystem Service request parameter after packaging currently processed in message queue is stored in caching by system, and records source terminal equipment number, mesh Terminal device number, source terminal address and purpose terminal address, using scheduler according to source terminal equipment number, purpose terminal device Number, source terminal address and purpose terminal address send the service request parameter after the packaging by caching.
9. a kind of electronic equipment, comprising:
One or more processors;
Storage device is stored thereon with one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real The now method as described in any in claim 7-8.
10. a kind of computer-readable medium, is stored thereon with computer program, wherein real when described program is executed by processor The now method as described in any in claim 7-8.
CN201910341435.5A 2019-04-26 2019-04-26 Intelligent household equipment management system and method Pending CN110032082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910341435.5A CN110032082A (en) 2019-04-26 2019-04-26 Intelligent household equipment management system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910341435.5A CN110032082A (en) 2019-04-26 2019-04-26 Intelligent household equipment management system and method

Publications (1)

Publication Number Publication Date
CN110032082A true CN110032082A (en) 2019-07-19

Family

ID=67240365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910341435.5A Pending CN110032082A (en) 2019-04-26 2019-04-26 Intelligent household equipment management system and method

Country Status (1)

Country Link
CN (1) CN110032082A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110708281A (en) * 2019-08-26 2020-01-17 上海商米科技集团股份有限公司 Service request processing method and device
CN111935276A (en) * 2020-08-07 2020-11-13 中国联合网络通信集团有限公司 Remote host access method, device and equipment
CN114640697A (en) * 2022-03-15 2022-06-17 西安交通大学 Data processing method, equipment and storage medium for distribution internet of things edge controller
WO2023109650A1 (en) * 2021-12-15 2023-06-22 深圳先进技术研究院 Micro-service-based intelligent space concurrent service process execution method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090066788A1 (en) * 2005-03-16 2009-03-12 Marc Baum System for Data Routing in Networks
CN103686769A (en) * 2012-09-12 2014-03-26 中兴通讯股份有限公司 Service control method and device for terminal equipment
CN104202064A (en) * 2014-09-23 2014-12-10 中电装备山东电子有限公司 Data transmission module and method based on GPRS network
CN105487391A (en) * 2015-11-23 2016-04-13 王丽华 Intelligent household remote control system based on Internet of Things
CN108989157A (en) * 2017-06-05 2018-12-11 北京京东尚科信息技术有限公司 Method, apparatus for smart machine control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090066788A1 (en) * 2005-03-16 2009-03-12 Marc Baum System for Data Routing in Networks
CN103686769A (en) * 2012-09-12 2014-03-26 中兴通讯股份有限公司 Service control method and device for terminal equipment
CN104202064A (en) * 2014-09-23 2014-12-10 中电装备山东电子有限公司 Data transmission module and method based on GPRS network
CN105487391A (en) * 2015-11-23 2016-04-13 王丽华 Intelligent household remote control system based on Internet of Things
CN108989157A (en) * 2017-06-05 2018-12-11 北京京东尚科信息技术有限公司 Method, apparatus for smart machine control

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110708281A (en) * 2019-08-26 2020-01-17 上海商米科技集团股份有限公司 Service request processing method and device
CN111935276A (en) * 2020-08-07 2020-11-13 中国联合网络通信集团有限公司 Remote host access method, device and equipment
CN111935276B (en) * 2020-08-07 2022-04-26 中国联合网络通信集团有限公司 Remote host access method, device and equipment
WO2023109650A1 (en) * 2021-12-15 2023-06-22 深圳先进技术研究院 Micro-service-based intelligent space concurrent service process execution method and system
CN114640697A (en) * 2022-03-15 2022-06-17 西安交通大学 Data processing method, equipment and storage medium for distribution internet of things edge controller
CN114640697B (en) * 2022-03-15 2023-02-14 西安交通大学 Data processing method, equipment and storage medium for distribution internet of things edge controller

Similar Documents

Publication Publication Date Title
CN110032082A (en) Intelligent household equipment management system and method
CN109951880A (en) Communication processing method, device, computer-readable medium and electronic equipment
CN109697118A (en) Streaming computing task management method, device, electronic equipment and storage medium
CN108696400A (en) network monitoring method and device
CN109560955A (en) The deployment information of network determines method and apparatus
CN109257320A (en) Message storage method and device
CN108628881A (en) Method of data synchronization and device
CN109889586A (en) Communication processing method, device, computer-readable medium and electronic equipment
CN110519379A (en) Request processing method and equipment based on micro services
CN108494860A (en) WEB accesses system, WEB access methods and device for client
CN110262807A (en) Cluster creates Progress Log acquisition system, method and apparatus
CN109815025A (en) Business model call method, device and storage medium
CN109117252A (en) Method, system and the container cluster management system of task processing based on container
CN109995801A (en) A kind of method for message transmission and device
CN111818194A (en) Domain name based access system and method
CN109714439A (en) Data processing method and system based on edge calculations
CN108207012A (en) A kind of flow control methods, device, terminal and system
CN110019263A (en) Information storage means and device
CN110381058A (en) Request transmission method and device based on full-duplex communication protocol Web Socket
CN110287266A (en) A kind of distributed system and data processing method
CN105930249B (en) Using monitoring method and device
CN110460584A (en) Access request processing method, device, electronic equipment and computer-readable medium
CN109144969A (en) For the data processing method of block chain network system, device and storage medium
CN107347093A (en) Collocation method and device for distributed server system
CN107403112A (en) Data verification method and its equipment

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

Application publication date: 20190719

RJ01 Rejection of invention patent application after publication