CN110381057A - Processing method, device, storage medium, processor and the system of communication connection - Google Patents
Processing method, device, storage medium, processor and the system of communication connection Download PDFInfo
- Publication number
- CN110381057A CN110381057A CN201910646724.6A CN201910646724A CN110381057A CN 110381057 A CN110381057 A CN 110381057A CN 201910646724 A CN201910646724 A CN 201910646724A CN 110381057 A CN110381057 A CN 110381057A
- Authority
- CN
- China
- Prior art keywords
- terminal
- server
- link information
- connection
- user identifier
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of processing method of communication connection, device, storage medium, processor and systems.This method comprises: obtaining user identifier from first server, wherein user identifier is after first terminal succeeds in registration to first server, is the mark of first terminal distribution by first server;Link information is obtained to second server using user identifier;The normal connection established in preset time period between first terminal and second server is attempted based on link information, wherein preset time period is the life cycle by second server for link information distribution.The APP user that the present invention solves terminal in the related technology there is technical issues that in the case where information leakage larger in such a way that changeless link information is often connect with the holding of MQTT server.
Description
Technical field
The present invention relates to internet of things field, are situated between in particular to a kind of processing method of communication connection, device, storage
Matter, processor and system.
Background technique
It is under International Organization for standardization (ISO) standard based on publish/subscribe normal form that (MQTT) is transmitted in message queue telemetering
Messaging protocol is the publish/subscribe type to design under the low remote equipment of hardware performance and Network status bad luck situation
Messaging protocol.MQTT, both can be in the device hardware and high net of critical constraints as a kind of lightweight, flexible network protocol
It is realized on network delay/limited network of bandwidth;Branch can also be provided with Internet of Things (IoT) equipment and the diversified application scenarios of service
It holds.
Terminal user passes through application (APP) to smart machine executive control operation if necessary, then APP needs to access cloud
Server (including but not limited to: service server and MQTT server), to obtain the authorization of cloud server, thus by cloud
End server provides legal identity so that cloud server is recognized to APP.Above-mentioned interaction flow can be generally divided into as follows
Two steps:
The first step completes user's registration operation on service server, is mainly responsible for record user in registration process
The registration informations such as account information, user's pet name, the area filled in.
Second step completes user's registration operation on MQTT server, to keep between terminal and MQTT server
Often connection is to complete real-time communication.MQTT server is the energy for providing control for APP user and monitoring smart machine state
Power.Therefore, if APP user is in the case where completing user's registration operation but not connected MQTT server on service server
To not have control and monitors the ability of smart machine state.
However, APP user on MQTT server execute user's registration operation during, if succeeded in registration,
On MQTT server complete user's registration operation after registration information (hereinafter be also known as link information, such as: account and password) be
It is changeless, and registration information can be fixed and store to APP.If the registration information surprisingly reveal (such as: mobile phone lose
Lose or stolen) or APP source code by success decompiling, then the illegal user for occupying the registration information can directly control simultaneously
, thus there is great security risk in the state for monitoring smart machine.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The present invention at least partly embodiment provides a kind of processing method of communication connection, device, storage medium, processor
And system, it is protected at least solving the APP user of terminal in the related technology using changeless link information and MQTT server
Hold the mode often connected there is technical issues that in the case where information leakage it is larger.
A wherein embodiment according to the present invention, provides a kind of processing method of communication connection, comprising:
User identifier is obtained from first server, wherein user identifier is to register in first terminal to first server
It is the mark of first terminal distribution by first server after function;Link information is obtained to second server using user identifier;Base
The normal connection established in preset time period between first terminal and second server is attempted in link information, wherein when default
Between section be by second server be link information distribution life cycle.
Optionally, obtaining user identifier from first server includes: to send the first login request message to first server;
Receive the user identifier corresponding with the first login request message that first server returns.
Optionally, obtaining link information to second server using user identifier includes: to send second to second server
Login request message, wherein carry user identifier in the second login request message;Receive that second server returns with second
The corresponding link information of login request message.
Optionally, it attempts to establish between first terminal and second server based on link information normal in preset time period
Connection includes: to send connection request message to second server, wherein link information is carried in connection request message;It receives
The connection response message that second server returns, wherein connection response message is for notifying whether link information passes through the second clothes
The timeliness verifying of business device;Determine whether to be successfully established the normal connection in preset time period according to connection response message.
Optionally, preset time period is being successfully established between first terminal and second server based on link information trial
After interior normal connection, further includes: send control command to second terminal via second server, wherein second terminal is to connect
The smart machine controlled by first terminal;The execution corresponding with control command of second terminal feedback is received via second server
As a result.
A wherein embodiment according to the present invention, additionally provides the processing method of another communication connection, comprising:
Link information is returned to first terminal according to the user identifier that first terminal is sent, wherein user identifier is the
It is the mark of first terminal distribution by first server after one terminal succeeds in registration to first server;It receives from first
The connection request message of terminal, wherein link information is carried in connection request message;Timeliness is carried out to link information to test
Card, and connection response message is returned to first terminal, wherein connection response message is used to notify that link information is to first terminal
The no timeliness by second server is verified so that first terminal determine whether to be successfully established according to connection response message it is default
Normal connection in period, preset time period are the life cycles by second server for link information distribution.
Optionally, it includes: that reception comes from that the user identifier sent according to first terminal, which returns to link information to first terminal,
In the login request message of first terminal, wherein carry user identifier in login request message;It is generated and is connected according to user identifier
Connect information;Link information is returned to first terminal.
Optionally, to link information carry out timeliness verifying, and if to first terminal return connection response message include:
Link information is got from first terminal for the first time in life cycle, it is determined that by carrying out timeliness verifying to link information;
Connection response message is returned to first terminal, wherein connection response message is used for first terminal notice link information by the
The timeliness of two servers is verified so that first terminal determined according to connection response message be successfully established it is normal in preset time period
Connection.
Optionally, to link information carry out timeliness verifying, and if to first terminal return connection response message include:
Link information is got from first terminal again in life cycle or does not get company from first terminal in life cycle
Connect information, it is determined that not by carrying out timeliness verifying to link information;Connection response message is returned to first terminal, wherein
Connection response message is used to not pass through to first terminal notice link information the timeliness verifying of second server, so that first is whole
End can not establish the normal connection in preset time period according to connection response message determination.
Optionally, to link information carry out timeliness verifying, and to first terminal return connection response message after, also
It include: that the control command that first terminal is sent is forwarded to second terminal, wherein second terminal receives first terminal control
Smart machine;The implementing result corresponding with control command that second terminal is fed back is forwarded to first terminal.
A wherein embodiment according to the present invention, additionally provides a kind of processing unit of communication connection, comprising:
First obtain module, for from first server obtain user identifier, wherein user identifier be first terminal to
It is the mark of first terminal distribution by first server after first server succeeds in registration;Second obtains module, for using use
Family identifies to second server and obtains link information;Processing module, for being attempted based on link information in first terminal and second
The normal connection in preset time period is established between server, wherein it is link information point that preset time period, which is by second server,
The life cycle matched.
Optionally, the first acquisition module includes: the first transmission unit, for sending the first registration request to first server
Message;First receiving unit, for receiving the user identifier corresponding with the first login request message of first server return.
Optionally, the second acquisition module includes: the second transmission unit, for sending the second registration request to second server
Message, wherein carry user identifier in the second login request message;Second receiving unit is returned for receiving second server
The link information corresponding with the second login request message returned.
Optionally, processing module includes: third transmission unit, for sending connection request message to second server,
In, link information is carried in connection request message;Third receiving unit, the connection for receiving second server return are rung
Answer message, wherein the timeliness verifying that connection response message is used to that link information to be notified whether to pass through second server;Processing is single
Member, for determining whether to be successfully established the normal connection in preset time period according to connection response message.
Optionally, above-mentioned apparatus further include: sending module, for sending control life to second terminal via second server
It enables, wherein second terminal is the smart machine for receiving first terminal control;Receiving module, for being received via second server
The implementing result corresponding with control command of second terminal feedback.
A wherein embodiment according to the present invention, additionally provides the processing unit of another communication connection, comprising:
Feedback module, the user identifier for being sent according to first terminal return to link information to first terminal, wherein use
Family mark is after first terminal succeeds in registration to first server, is the mark of first terminal distribution by first server;It connects
Module is received, for receiving the connection request message from first terminal, wherein connection letter is carried in connection request message
Breath;Processing module for carrying out timeliness verifying to link information, and returns to connection response message to first terminal, wherein even
Response message is connect for whether passing through the timeliness verifying of second server to first terminal notice link information, so that first is whole
End determines whether to be successfully established the normal connection in preset time period according to connection response message, and preset time period is by second service
Device is the life cycle of link information distribution.
Optionally, feedback module includes: the first receiving unit, and the registration request for receiving from first terminal disappears
Breath, wherein user identifier is carried in login request message;Generation unit, for generating link information according to user identifier;The
One feedback unit, for returning to link information to first terminal.
Optionally, processing module includes: the first authentication unit, if for obtaining for the first time from first terminal in life cycle
Get link information, it is determined that by carrying out timeliness verifying to link information;Second feedback unit, for being returned to first terminal
Return connection response message, wherein connection response message be used for first terminal notify link information by second server when
Effect property verifying, so that first terminal determines the normal connection being successfully established in preset time period according to connection response message.
Optionally, processing module includes: the second authentication unit, if for obtaining again from first terminal in life cycle
It gets link information or does not get link information from first terminal in life cycle, it is determined that not by link information
Carry out timeliness verifying;Third feedback unit, for returning to connection response message to first terminal, wherein connection response message
For not passing through the timeliness verifying of second server to first terminal notice link information, so that first terminal is rung according to connection
Answer message determination that can not establish the normal connection in preset time period.
Optionally, above-mentioned apparatus further include: forwarding module, the control command for sending first terminal are forwarded to second
Terminal, wherein second terminal is the smart machine for receiving first terminal control;And by second terminal feedback and control command
Corresponding implementing result is forwarded to first terminal.
A wherein embodiment according to the present invention additionally provides a kind of storage medium, and storage medium includes the program of storage,
In, in program operation, equipment where control storage medium executes the processing method of the communication connection of above-mentioned any one.
A wherein embodiment according to the present invention additionally provides a kind of processor, and processor is for running program, wherein journey
The processing method of the communication connection of above-mentioned any one is executed when sort run.
A wherein embodiment according to the present invention, additionally provides a kind of processing system of communication connection, comprising: first terminal,
First server, second server and second terminal, wherein first terminal includes the processing unit of above-mentioned communication connection, the
Two servers include the processing unit of above-mentioned communication connection.
In the present invention at least partly in embodiment, obtain user identifier using from first server, the user identifier be
After first terminal succeeds in registration to first server, by first server it is the mark of first terminal distribution, and uses user
The mode for obtaining link information to second server is identified, is attempted between first terminal and second server by link information
Establish the normal connection in preset time period, wherein preset time period is the Life Cycle by second server for link information distribution
Phase has reached the mesh that the fixed link information of script is replaced with to link information can be changed in each preset time period, disposable
, it is effectively prevented link information leakage, APP user is greatly improved and is controlling and monitoring smart machine to realize
The technical effect of safety in state procedure, and then solve the APP user of terminal in the related technology using changeless
There are the technologies of larger security risk in the case where information leakage for the mode that link information is often connect with the holding of MQTT server
Problem.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair
Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the wherein structural schematic diagram of the processing system of the communication connection of an embodiment according to the present invention;
Fig. 2 is the wherein flow chart of the processing method of the communication connection of an embodiment according to the present invention;
Fig. 3 is the wherein flow chart of the processing method of another communication connection of an embodiment according to the present invention;
Fig. 4 is the wherein flow chart of the processing method of the communication connection of an alternative embodiment according to the present invention;
Fig. 5 is the wherein structural block diagram of the processing unit of the communication connection of an embodiment according to the present invention;
Fig. 6 is the wherein structural block diagram of the processing unit of the communication connection of an alternative embodiment according to the present invention;
Fig. 7 is the wherein structural block diagram of the processing unit of another communication connection of an embodiment according to the present invention;
Fig. 8 is the wherein structural block diagram of the processing unit of another communication connection of an alternative embodiment according to the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
A wherein embodiment according to the present invention, provides a kind of embodiment of the processing system of communication connection.Fig. 1 is basis
The structural schematic diagram of the present invention wherein processing system of the communication connection of an embodiment, as shown in Figure 1, the processing of the communication connection
System includes: first terminal, first server, second server and second terminal.It is configured with and is used on above-mentioned first terminal
The APP for being matched with second terminal and second terminal being controlled.The first terminal can be smart phone (such as Android hand
Machine, iOS mobile phone etc.), tablet computer, applause computer and mobile internet device (Mobile Internet Devices, letter
Referred to as MID), the terminal devices such as PAD.By taking smart home application scenarios as an example, above-mentioned second terminal can be controlling intelligent household appliances,
Such as: smart television, intelligent refrigerator, intelligent desk lamp, intelligent air condition etc..Above-mentioned first server can be cloud business service
Device.Above-mentioned second server can be cloud MQTT server.
In one alternate embodiment, above-mentioned first terminal may include that (processor can wrap one or more processors
Include but be not limited to central processing unit (CPU), graphics processor (GPU), Digital Signal Processing (DSP) chip, microprocessor (MCU)
Or the processing unit of programmable logic device (FPGA) etc.) and memory for storing data.Optionally, above-mentioned first terminal
It can also include the communication module group for communication function, input-output equipment and display device.Those of ordinary skill in the art
It is appreciated that above structure description is only to illustrate, the structure of above-mentioned first terminal is not caused to limit.For example, first is whole
End, which may also include, describes more perhaps less component than above structure or with describing different configurations from above structure.
Memory can be used for storing computer program, for example, the software program and module of application software, such as present invention are real
Apply the corresponding computer program of processing method of the communication connection in example, the calculating that processor is stored in memory by operation
Machine program realizes the processing method of above-mentioned communication connection thereby executing various function application and data processing.Memory
May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory,
Or other non-volatile solid state memories.In some instances, memory can further comprise remotely setting relative to processor
The memory set, these remote memories can pass through network connection to first terminal.The example of above-mentioned network includes but unlimited
In internet, intranet, local area network, mobile radio communication and combinations thereof.
Communication module group is used to that data to be received or sent via a network.Above-mentioned network specific example may include terminal
Communication providers provide wireless network.In an example, communication module group includes a network adapter (Network
Interface Controller, NIC), it can be connected by base station with other network equipments so as to be led to internet
News.In an example, communication module group can be radio frequency (Radio Frequency, RF) module, be used for wirelessly
It is communicated with internet.
Display device can such as touch-screen type liquid crystal display (LCD), which aloows user
It is interacted with the graphic user interface (GUI) of terminal.User can be by touching finger contact and/or hand on touch sensitive surface
Gesture to carry out human-computer interaction with GUI, and human-computer interaction function herein optionally includes following interaction: creation webpage, drawing, text
Processing, production electronic document, game, video conference, instant messaging, send and receive e-mail, call interface, play digital video,
Playback digital music and/or web browsing etc. are configured/are stored in for executing the executable instruction of above-mentioned human-computer interaction function
In one or more processors executable computer program product or readable storage medium storing program for executing.
Similarly, above-mentioned second server also may include that (processor can include but is not limited to one or more processors
Central processing unit (CPU), graphics processor (GPU), Digital Signal Processing (DSP) chip, microprocessor (MCU) programmable are patrolled
The processing unit of volume device (FPGA) etc.) and memory for storing data.Optionally, above-mentioned second server can also wrap
Include the communication module group and input-output equipment for communication function.It will appreciated by the skilled person that above structure
Description is only to illustrate, and does not cause to limit to the structure of above-mentioned second server.For example, second server may also include than upper
It states structure and describes more perhaps less component or with describing different configurations from above structure.
Memory can be used for storing computer program, for example, the software program and module of application software, such as present invention are real
Apply the corresponding computer program of processing method of the communication connection in example, the calculating that processor is stored in memory by operation
Machine program realizes the processing method of above-mentioned communication connection thereby executing various function application and data processing.Memory
May include high speed random access memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory,
Or other non-volatile solid state memories.In some instances, memory can further comprise remotely setting relative to processor
The memory set, these remote memories can pass through network connection to second server.The example of above-mentioned network includes but not
It is limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Wireless Fidelity (Wi-Fi) component in communication module group includes radio frequency (Radio Frequency, referred to as RF) mould
Block is used to wirelessly be communicated with internet.
A wherein embodiment according to the present invention, provides a kind of embodiment of the processing method of communication connection, needs to illustrate
, step shown in the flowchart of the accompanying drawings can hold in a computer system such as a set of computer executable instructions
Row, although also, logical order is shown in flow charts, and it in some cases, can be to be different from sequence herein
Execute shown or described step.
A kind of processing method of communication connection for running on above-mentioned first terminal is provided in the present embodiment, and Fig. 2 is root
According to the flow chart of the wherein processing method of the communication connection of an embodiment of the invention, as shown in Fig. 2, this method includes following step
It is rapid:
Step S22 obtains user identifier from first server, wherein user identifier is in first terminal to first service
It is the mark of first terminal distribution by first server after device succeeds in registration;
Step S24 obtains link information to second server using user identifier;
Step S26 attempts to establish in preset time period between first terminal and second server based on link information
Often connection, wherein preset time period is the life cycle by second server for link information distribution.
Through the above steps, user identifier can be obtained using from first server, which is in first terminal
It is the mark of first terminal distribution by first server after succeeding in registration to first server, and using user identifier to the
Two servers obtain the mode of link information, attempt to establish between first terminal and second server by link information default
Normal connection in period, wherein preset time period is the life cycle by second server for link information distribution, is reached
The fixed link information of script is replaced with to the purpose of link information can be changed in each preset time period, disposable, thus real
Show and has been effectively prevented link information leakage, greatly improves APP user in the state procedure for controlling and monitoring smart machine
In safety technical effect, and then solve the APP user of terminal in the related technology using changeless link information
The mode often connecting is kept to there is technical issues that in the case where information leakage with MQTT server larger.
Optionally, in step S22, obtaining user identifier from first server may include step performed below:
Step S221 sends the first login request message to first server;
Step S222 receives the user identifier corresponding with the first login request message that first server returns.
In one alternate embodiment, identification code (usually unique mark such as cell-phone number, mailbox that first terminal passes through APP
Know) login request message can be initiated to first server.After completing user's registration operation in first server, the first clothes
Being engaged in device can be to first terminal distribution for initiating the user identifier of login request message to second server.The user identifier can be with
The including but not limited to name on account of instant message applications.
Optionally, in step s 24, obtaining link information to second server using user identifier includes step performed below
It is rapid:
Step S241 sends the second login request message to second server, wherein carry in the second login request message
There is user identifier;
Step S242 receives the link information corresponding with the second login request message that second server returns.
It is fixedly connected with information used by being different from the related technology, it is in one alternate embodiment, every in first terminal
It is secondary initiate the connection request message to second server before, be required to obtain by sending login request message to second server
Take legal effective link information within a preset period of time.First terminal can only be to second server by using the link information
Initiate primary effectively connection.If midway disconnects, first terminal will be unable to again connect to second server.
Optionally, it in step S26, attempts to establish between first terminal and second server based on link information default
Normal connection in period may include step performed below:
Step S261 sends connection request message to second server, wherein connection letter is carried in connection request message
Breath;
Step S262 receives the connection response message that second server returns, wherein connection response message is for the company of notice
Connect the timeliness verifying whether information passes through second server;
Step S263 determines whether to be successfully established the normal connection in preset time period according to connection response message.
If first terminal gets legal effective link information within a preset period of time from second server, the
One terminal can initiate request to second server by using the link information and establish the connection request message once often connected.
Second server needs to carry out timeliness verifying to the link information after getting the link information.If second service
Device gets link information from first terminal for the first time in the corresponding life cycle of the link information, it is determined that by believing connection
Breath carries out timeliness verifying, then returns to the connection response message that is proved to be successful to first terminal again so that first terminal according to
The connection response message determines the normal connection being successfully established in preset time period between first terminal and second server.Such as
Fruit second server gets link information (the i.e. first end from first terminal again in the corresponding life cycle of the link information
End can only initiate primary effectively connection to second server within a preset period of time.If midway disconnects, first terminal
Will be unable to again connect to second server) or in life cycle link information is not got from first terminal, it is determined that
Not by then returning to the connection response message of authentication failed to first terminal again to link information progress timeliness verifying, with
The normal connection that establish first terminal can not in preset time period according to connection response message determination.Due to first terminal every time to
Second server initiate the connection used in link information be all real-time change so that script first server user with
The one-one relationship kept between second server user becomes many-one relationship, and can ensure only one MQTT user
It is disposably effectively connected in fixed timeliness (i.e. above-mentioned preset time period) interior can only establish, to be effectively prevented from other illegal use
Family is connected to second server by back door, thus greatly improves data interaction between first terminal and second terminal
Safety.
Optionally, it in step S26, attempts to be successfully established between first terminal and second server based on link information pre-
If can also include step performed below after the normal connection in the period:
Step S27 sends control command to second terminal via second server, wherein second terminal is receiving first
The smart machine of terminal control;
Step S28 receives the implementing result corresponding with control command of second terminal feedback via second server.
If the Chang Lian in preset time period is successfully established between first terminal and second server based on link information
It connects, then first terminal can send control command to second terminal via second server.Then, first terminal can be with
The implementing result corresponding with control command of second terminal feedback is received via second server.That is, first terminal and second is eventually
Data interaction between end is required to forward by second server.Such as: smart phone can be via by built-in APP
MQTT server sends control command of turning on light to intelligent electric lamp.Then, smart phone can also be taken by built-in APP via MQTT
The implementing result of device reception intelligent electric lamp feedback of being engaged in whether turned on light.
A wherein embodiment according to the present invention, additionally provides the embodiment of the processing method of another communication connection, needs
Illustrate, step shown in the flowchart of the accompanying drawings can be in a computer system such as a set of computer executable instructions
It executes, although also, logical order is shown in flow charts, and it in some cases, can be to be different from herein suitable
Sequence executes shown or described step.
A kind of processing method of communication connection for running on above-mentioned second server is provided in the present embodiment, and Fig. 3 is
The wherein flow chart of the processing method of another communication connection of an embodiment according to the present invention, as shown in figure 3, this method includes
Following steps:
Step S32 returns to link information to first terminal according to the user identifier that first terminal is sent, wherein Yong Hubiao
Knowledge is after first terminal succeeds in registration to first server, is the mark of first terminal distribution by first server;
Step S34 receives the connection request message from first terminal, wherein the company of carrying in connection request message
Connect information;
Step S36 carries out timeliness verifying to link information, and returns to connection response message to first terminal, wherein even
Response message is connect for whether passing through the timeliness verifying of second server to first terminal notice link information, so that first is whole
End determines whether to be successfully established the normal connection in preset time period according to connection response message, and preset time period is by second service
Device is the life cycle of link information distribution.
Through the above steps, connection letter can be returned to first terminal using the user identifier sent according to first terminal
Breath, the user identifier are after first terminal succeeds in registration to first server, are first terminal distribution by first server
Mark, and the mode of the connection request message for carrying link information from first terminal is received, by believing connection
Breath carries out timeliness verifying and returns to connection response message to first terminal, which is used to notify to first terminal
Whether link information passes through the timeliness verifying of second server, so that first terminal determines whether into according to connection response message
Function establishes the normal connection in preset time period, and preset time period is the life cycle by second server for link information distribution,
Achieve the purpose that the fixed link information of script replacing with link information can be changed in each preset time period, disposable,
It is effectively prevented link information leakage to realize, greatly improves APP user in the shape for controlling and monitoring smart machine
The technical effect of safety during state, and then solve the APP user of terminal in the related technology using changeless company
Information and MQTT server is connect to keep the mode often connecting there are the technologies of larger security risk to ask in the case where information leakage
Topic.
Optionally, in step s 32, the user identifier sent according to first terminal returns to link information to first terminal can
To include step performed below:
Step S321 receives the login request message from first terminal, wherein carry in login request message useful
Family mark;
Step S322 generates link information according to user identifier;
Step S323 returns to link information to first terminal.
In one alternate embodiment, identification code (usually unique mark such as cell-phone number, mailbox that first terminal passes through APP
Know) login request message can be initiated to first server.After completing user's registration operation in first server, the first clothes
Being engaged in device can be to first terminal distribution for initiating the user identifier of login request message to second server.The user identifier can be with
The including but not limited to name on account of instant message applications.
Before first terminal initiates the connection request message to second server every time, it is required to by second server
Login request message is sent to obtain legal effective link information within a preset period of time.Second server is getting user
After mark, needs to generate link information according to user identifier and distribute life cycle for the link information.First terminal passes through
Primary effectively connection can only be initiated to second server in the life cycle of distribution using the link information.If midway disconnects
Connection, then first terminal will be unable to again connect to second server.
Optionally, in step S36, timeliness verifying is carried out to link information, and return to connection response to first terminal
Message may include step performed below:
Step S361, if getting link information from first terminal for the first time in life cycle, it is determined that by even
It connects information and carries out timeliness verifying;
Step S362 returns to connection response message to first terminal, wherein connection response message is used for logical to first terminal
Know that link information is verified by the timeliness of second server, so that first terminal is successfully established according to connection response message determination
Normal connection in preset time period.
If first terminal gets legal effective link information within a preset period of time from second server, the
One terminal can initiate request to second server by using the link information and establish the connection request message once often connected.
Second server needs to carry out timeliness verifying to the link information after getting the link information.If second service
Device gets link information from first terminal for the first time in the corresponding life cycle of the link information, it is determined that by believing connection
Breath carries out timeliness verifying, then returns to the connection response message that is proved to be successful to first terminal again so that first terminal according to
The connection response message determines the normal connection being successfully established in preset time period between first terminal and second server.
Optionally, in step S36, timeliness verifying is carried out to link information, and return to connection response to first terminal
Message may include step performed below:
Step S363, if from first terminal getting link information again in life cycle or in life cycle
Link information is not got from first terminal, it is determined that not by carrying out timeliness verifying to link information;
Step S364 returns to connection response message to first terminal, wherein connection response message is used for logical to first terminal
Know that link information does not pass through the timeliness verifying of second server, so that first terminal can not be built according to connection response message determination
Normal connection in vertical preset time period.
If second server gets connection letter from first terminal again in the corresponding life cycle of the link information
(i.e. first terminal can only initiate primary effectively connection to breath to second server within a preset period of time.If midway disconnects,
Then first terminal will be unable to again connect to second server) or in life cycle not from first terminal get connection letter
Breath, it is determined that not by carrying out timeliness verifying to link information, then rung again to the connection that first terminal returns to authentication failed
Message is answered, so that first terminal can not establish the normal connection in preset time period according to connection response message determination.
It is all real-time change since first terminal initiates the connection used link information to second server every time, because
This makes the one-one relationship kept between script first server user and second server user become many-one relationship, and
And it can ensure that only one MQTT user can only establish in fixed timeliness (i.e. above-mentioned preset time period) and disposably effectively connect
It connects, second server is connected to by back door to be effectively prevented from other illegal users, thus greatly improve
The safety of data interaction between one terminal and second terminal.
Optionally, in step S36, timeliness verifying is carried out to link information, and return to connection response to first terminal and disappear
Can also include step performed below after breath:
The control command that first terminal is sent is forwarded to second terminal by step S37, wherein second terminal is receiving the
The smart machine of one terminal control;
The implementing result corresponding with control command that second terminal is fed back is forwarded to first terminal by step S38.
If the Chang Lian in preset time period is successfully established between first terminal and second server based on link information
It connects, then first terminal can send control command to second terminal via second server.Then, first terminal can be with
The implementing result corresponding with control command of second terminal feedback is received via second server.That is, first terminal and second is eventually
Data interaction between end is required to forward by second server.Such as: smart phone can be via by built-in APP
MQTT server sends control command of turning on light to intelligent electric lamp.Then, smart phone can also be taken by built-in APP via MQTT
The implementing result of device reception intelligent electric lamp feedback of being engaged in whether turned on light.
Above-mentioned implementation process is done below in conjunction with optional embodiment shown in Fig. 4 and is further described in detail.Fig. 4 is
The wherein flow chart of the processing method of the communication connection of an alternative embodiment according to the present invention, as shown in figure 4, the process includes such as
Lower step:
Step S402, first terminal can send the first login request message to first server by the identification code of APP;
Step S404, after user's registration operation is completed in first server, first server can be to first terminal point
It is used in the user identifier that the second login request message is initiated to second server;
Step S406, before first terminal initiates the connection request message to second server every time, be required to pass through to
It is legal effective within a preset period of time to obtain that second server transmission carries the second login request message of user identifier
Link information;
Step S408, second server need to generate link information according to user identifier after getting user identifier
And life cycle is distributed for the link information;
Wherein, first terminal can only be initiated by using the link information in the life cycle of distribution to second server
Primary effectively connection.If midway disconnects, first terminal will be unable to again connect to second server.
Step S410, first terminal obtain legal effective link information within a preset period of time from second server;
Step S412, first terminal send connection request message to second server, wherein carry in connection request message
There is link information;
Step S414, second server carry out timeliness verifying to link information;
Step S416 returns to connection response message to first terminal;
Second server needs to carry out timeliness verifying to the link information after getting the link information.If
Second server gets link information from first terminal for the first time in the corresponding life cycle of the link information, it is determined that passes through
Timeliness verifying is carried out to link information, then the connection response message being proved to be successful is returned to first terminal again, so that first
Terminal is determined according to the connection response message and has been successfully established in preset time period between first terminal and second server
Often connection.If second server gets link information from first terminal again in the corresponding life cycle of the link information
Or link information is not got from first terminal in life cycle, it is determined that do not test by carrying out timeliness to link information
Then card returns to the connection response message of authentication failed, so that first terminal is true according to connection response message to first terminal again
Surely the normal connection in preset time period can not be established.
Step S418, if being successfully established preset time period between first terminal and second server based on link information
Interior normal connection, then first terminal can send control command to second terminal via second server;
Step S420, first terminal can receive the corresponding with control command of second terminal feedback via second server
Implementing result.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation
The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much
In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing
The part that technology contributes can be embodied in the form of software products, which is stored in a storage
In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate
Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Additionally provide a kind of processing unit of communication connection in the present embodiment, the device for realizing above-described embodiment and
Preferred embodiment, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module "
The combination of the software and/or hardware of energy.It is hard although device described in following embodiment is preferably realized with software
The realization of the combination of part or software and hardware is also that may and be contemplated.
Fig. 5 is the wherein structural block diagram of the processing unit of the communication connection of an embodiment according to the present invention, as shown in figure 5,
The device includes: the first acquisition module 10, for obtaining user identifier from first server, wherein user identifier is first
It is the mark of first terminal distribution by first server after terminal succeeds in registration to first server;Second obtains module 12, uses
Link information is obtained to second server in use user identifier;Processing module 14, for being attempted based on link information first
The normal connection in preset time period is established between terminal and second server, wherein preset time period is to be by second server
The life cycle of link information distribution.
Optionally, the first acquisition module 10 includes: the first transmission unit (not shown), for sending out to first server
Send the first login request message;First receiving unit (not shown), for receive first server return with the first note
The corresponding user identifier of volume request message.
Optionally, the second acquisition module 12 includes: the second transmission unit (not shown), for sending out to second server
Send the second login request message, wherein carry user identifier in the second login request message;Second receiving unit is (in figure not
Show), for receiving the link information corresponding with the second login request message of second server return.
Optionally, processing module 14 includes: third transmission unit (not shown), is connected for sending to second server
Connect request message, wherein link information is carried in connection request message;Third receiving unit (not shown), for connecing
Receive the connection response message that second server returns, wherein connection response message is for notifying whether link information passes through the
The timeliness of two servers is verified;Processing unit (not shown), for determining whether successfully to build according to connection response message
Normal connection in vertical preset time period.
Optionally, Fig. 6 is the wherein structural block diagram of the processing unit of the communication connection of an alternative embodiment according to the present invention,
As shown in fig. 6, above-mentioned apparatus further include: sending module 16, for sending control command to second terminal via second server,
Wherein, second terminal is the smart machine for receiving first terminal control;Receiving module 18, for receiving the via second server
The implementing result corresponding with control command of two terminals feedback.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any
Combined form is located in different processors.
The processing unit of another communication connection is additionally provided in the present embodiment, and the device is for realizing above-described embodiment
And preferred embodiment, the descriptions that have already been made will not be repeated.As used below, term " module " may be implemented to make a reservation for
The combination of the software and/or hardware of function.It is hard although device described in following embodiment is preferably realized with software
The realization of the combination of part or software and hardware is also that may and be contemplated.
Fig. 7 is the wherein structural block diagram of the processing unit of another communication connection of an embodiment according to the present invention, such as Fig. 7
Shown, which includes: feedback module 20, and the user identifier for being sent according to first terminal returns to connection letter to first terminal
Breath, wherein user identifier is after first terminal succeeds in registration to first server, is first terminal distribution by first server
Mark;Receiving module 22, for receiving the connection request message from first terminal, wherein taken in connection request message
With link information;Processing module 24 for carrying out timeliness verifying to link information, and returns to connection response to first terminal
Message, wherein the timeliness that connection response message is used to whether pass through to first terminal notice link information second server is tested
Card, so that first terminal determines whether to be successfully established the normal connection in preset time period, preset time according to connection response message
Section is the life cycle by second server for link information distribution.
Optionally, feedback module 20 includes: the first receiving unit (not shown), for receiving from first terminal
Login request message, wherein user identifier is carried in login request message;Generation unit (not shown) is used for root
Link information is generated according to user identifier;First feedback unit (not shown), for returning to link information to first terminal.
Optionally, processing module 24 includes: the first authentication unit (not shown), if for first in life cycle
It is secondary to get link information from first terminal, it is determined that by carrying out timeliness verifying to link information;Second feedback unit (figure
In be not shown), for first terminal return connection response message, wherein connection response message be used for first terminal notify
Link information is verified by the timeliness of second server so that first terminal determined according to connection response message be successfully established it is pre-
If the normal connection in the period.
Optionally, processing module 24 includes: the second authentication unit (not shown), if be used in life cycle again
It is secondary to get link information from first terminal or do not get link information from first terminal in life cycle, it is determined that not
By carrying out timeliness verifying to link information;Third feedback unit (not shown) is connected for returning to first terminal
Response message, wherein connection response message is used to not pass through the timeliness of second server to first terminal notice link information
Verifying, so that first terminal can not establish the normal connection in preset time period according to connection response message determination.
Optionally, Fig. 8 is the wherein knot of the processing unit of another communication connection of an alternative embodiment according to the present invention
Structure block diagram, as shown in figure 8, above-mentioned apparatus further include: forwarding module 26, the control command for sending first terminal are forwarded to
Second terminal, wherein second terminal is the smart machine for receiving first terminal control;And by second terminal feedback with control
Corresponding implementing result is ordered to be forwarded to first terminal.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke Yitong
Following manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with any
Combined form is located in different processors.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, wherein
The computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following steps
Calculation machine program:
S1 obtains user identifier from first server, wherein user identifier is to register in first terminal to first server
It is the mark of first terminal distribution by first server after success;
S2 obtains link information to second server using user identifier;
S3 attempts the Chang Lian established in preset time period between first terminal and second server based on link information
It connects, wherein preset time period is the life cycle by second server for link information distribution.
Optionally, storage medium is also configured to store the computer program for executing following steps:
S1, according to first terminal send user identifier to first terminal return link information, wherein user identifier be
It is the mark of first terminal distribution by first server after first terminal succeeds in registration to first server;
S2 receives the connection request message from first terminal, wherein connection letter is carried in connection request message
Breath;
S3 carries out timeliness verifying to link information, and returns to connection response message to first terminal, wherein connection is rung
Answer message for whether passing through the timeliness verifying of second server to first terminal notice link information, so that first terminal root
Determine whether to be successfully established the normal connection in preset time period according to connection response message, preset time period is to be by second server
The life cycle of link information distribution.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-
Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hard
The various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of processor, which is arranged to run computer program to execute
Step in any of the above-described embodiment of the method.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 obtains user identifier from first server, wherein user identifier is to register in first terminal to first server
It is the mark of first terminal distribution by first server after success;
S2 obtains link information to second server using user identifier;
S3 attempts the Chang Lian established in preset time period between first terminal and second server based on link information
It connects, wherein preset time period is the life cycle by second server for link information distribution.
Optionally, in the present embodiment, above-mentioned processor may be also configured to execute following step by computer program
It is rapid:
S1, according to first terminal send user identifier to first terminal return link information, wherein user identifier be
It is the mark of first terminal distribution by first server after first terminal succeeds in registration to first server;
S2 receives the connection request message from first terminal, wherein connection letter is carried in connection request message
Breath;
S3 carries out timeliness verifying to link information, and returns to connection response message to first terminal, wherein connection is rung
Answer message for whether passing through the timeliness verifying of second server to first terminal notice link information, so that first terminal root
Determine whether to be successfully established the normal connection in preset time period according to connection response message, preset time period is to be by second server
The life cycle of link information distribution.
Optionally, the specific example in the present embodiment can be with reference to described in above-described embodiment and optional embodiment
Example, details are not described herein for the present embodiment.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment
The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others
Mode is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, Ke Yiwei
A kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or
Person is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module
It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
On unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can for personal computer, server or network equipment etc.) execute each embodiment the method for the present invention whole or
Part steps.And storage medium above-mentioned includes: that USB flash disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. be various to can store program code
Medium.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (15)
1. a kind of processing method of communication connection characterized by comprising
User identifier is obtained from first server, wherein the user identifier is to infuse in first terminal to the first server
It is the mark of first terminal distribution by the first server after volume success;
Link information is obtained to second server using the user identifier;
It attempts to establish in preset time period between the first terminal and the second server based on the link information
Often connection, wherein the preset time period is the life cycle by the second server for link information distribution.
2. the method according to claim 1, wherein obtaining the user identifier packet from the first server
It includes:
The first login request message is sent to the first server;
Receive the user identifier corresponding with first login request message that the first server returns.
3. the method according to claim 1, wherein being obtained using the user identifier to the second server
The link information includes:
The second login request message is sent to the second server, wherein is carried in second login request message
State user identifier;
Receive the link information corresponding with second login request message that the second server returns.
4. the method according to claim 1, wherein based on the link information attempt the first terminal with
Established between the second server in the preset time period it is normal connection include:
Connection request message is sent to the second server, wherein the connection letter is carried in the connection request message
Breath;
Receive the connection response message that the second server returns, wherein the connection response message is for notifying the company
Connect whether information is verified by the timeliness of the second server;
The normal connection being successfully established in the preset time period is determined whether according to the connection response message.
5. according to the method described in claim 4, it is characterized in that, attempting based on the link information in the first terminal
Be successfully established between the second server in the preset time period often connect after, further includes:
Control command is sent to second terminal via the second server, wherein the second terminal is to receive described first
The smart machine of terminal control;
The implementing result corresponding with the control command of second terminal feedback is received via the second server.
6. a kind of processing method of communication connection characterized by comprising
Link information is returned to the first terminal according to the user identifier that first terminal is sent, wherein the user identifier is
It is the mark of first terminal distribution by the first server after the first terminal succeeds in registration to first server
Know;
Receive the connection request message from the first terminal, wherein the company is carried in the connection request message
Connect information;
Timeliness verifying is carried out to the link information, and returns to connection response message to the first terminal, wherein the company
Timeliness verifying of the response message for notifying the link information whether to pass through second server to the first terminal is connect, with
The first terminal is set to determine whether to be successfully established the normal connection in preset time period according to the connection response message, it is described pre-
If the period is the life cycle by the second server for link information distribution.
7. according to the method described in claim 6, it is characterized in that, according to the first terminal send the user identifier to
The first terminal returns to the link information
Receive the login request message from the first terminal, wherein the use is carried in the login request message
Family mark;
The link information is generated according to the user identifier;
The link information is returned to the first terminal.
8. according to the method described in claim 6, it is characterized in that, carry out timeliness verifying to the link information, and to institute
Stating the first terminal return connection response message includes:
If getting the link information from the first terminal for the first time in the life cycle, it is determined that by described
Link information carries out timeliness verifying;
The connection response message is returned to the first terminal, wherein the connection response message is used for described first eventually
End notifies the link information to verify by the timeliness of second server, so that the first terminal is according to the connection response
Message determines the normal connection being successfully established in preset time period.
9. according to the method described in claim 6, it is characterized in that, carry out timeliness verifying to the link information, and to institute
Stating the first terminal return connection response message includes:
If from the first terminal getting the link information again in the life cycle or in the Life Cycle
The link information is not got from the first terminal in phase, it is determined that is not tested by carrying out timeliness to the link information
Card;
The connection response message is returned to the first terminal, wherein the connection response message is used for described first eventually
End notifies the link information not pass through the timeliness verifying of second server, so that the first terminal is rung according to the connection
Answer message determination that can not establish the normal connection in preset time period.
10. according to the method described in claim 6, it is characterized in that, to the link information carry out timeliness verifying, and to
The first terminal returns after the connection response message, further includes:
The control command that the first terminal is sent is forwarded to second terminal, wherein the second terminal is to receive described the
The smart machine of one terminal control;
The implementing result corresponding with the control command that the second terminal is fed back is forwarded to the first terminal.
11. a kind of processing unit of communication connection characterized by comprising
First obtain module, for from first server obtain user identifier, wherein the user identifier be first terminal to
It is the mark of first terminal distribution by the first server after the first server succeeds in registration;
Second obtains module, for obtaining link information to second server using the user identifier;
Processing module, it is pre- for attempting to establish between the first terminal and the second server based on the link information
If the normal connection in the period, wherein it is that the link information is distributed that the preset time period, which is by the second server,
Life cycle.
12. a kind of processing unit of communication connection characterized by comprising
Feedback module, the user identifier for being sent according to first terminal return to link information to the first terminal, wherein institute
Stating user identifier is after the first terminal succeeds in registration to first server, is described first whole by the first server
Hold the mark of distribution;
Receiving module, for receiving the connection request message from the first terminal, wherein in the connection request message
Carry the link information;
Processing module for carrying out timeliness verifying to the link information, and returns to connection response to the first terminal and disappears
Breath, wherein the connection response message is used to notify whether the link information passes through second server to the first terminal
Timeliness verifying so that the first terminal determines whether to be successfully established in preset time period according to the connection response message
Normal connection, the preset time period be by the second server be the link information distribution life cycle.
13. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein run in described program
When control the storage medium where equipment perform claim require any one of 1 to 5 described in communication connection processing method
Or the processing method of communication connection described in any one of claim 6 to 10.
14. a kind of processor, which is characterized in that the processor is for running program, wherein right of execution when described program is run
Benefit require any one of 1 to 5 described in communication connection processing method or logical described in any one of claim 6 to 10
Interrogate the processing method of connection.
15. a kind of processing system of communication connection characterized by comprising first terminal, first server, second server
And second terminal, wherein the first terminal includes the processing unit of communication connection described in claim 11, and described second
Server includes the processing unit of communication connection described in claim 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910646724.6A CN110381057B (en) | 2019-07-17 | 2019-07-17 | Communication connection processing method, device, storage medium, processor and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910646724.6A CN110381057B (en) | 2019-07-17 | 2019-07-17 | Communication connection processing method, device, storage medium, processor and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110381057A true CN110381057A (en) | 2019-10-25 |
CN110381057B CN110381057B (en) | 2022-06-07 |
Family
ID=68253743
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910646724.6A Active CN110381057B (en) | 2019-07-17 | 2019-07-17 | Communication connection processing method, device, storage medium, processor and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110381057B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111343289A (en) * | 2020-05-22 | 2020-06-26 | 苏宁智能终端有限公司 | MQTT protocol-based message pushing method and system |
CN111464653A (en) * | 2020-04-07 | 2020-07-28 | 钛马信息网络技术有限公司 | Method, system and device for interconnecting vehicle-mounted equipment |
CN113132194A (en) * | 2021-04-21 | 2021-07-16 | 深圳Tcl新技术有限公司 | Information transfer method, device, equipment, server and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049531A (en) * | 2015-08-24 | 2015-11-11 | 湖南快乐阳光互动娱乐传媒有限公司 | Message pushing system and method |
CN105897696A (en) * | 2016-03-25 | 2016-08-24 | 努比亚技术有限公司 | Terminal, server side, and terminal access management method |
US20170126733A1 (en) * | 2015-10-22 | 2017-05-04 | Oracle International Corporation | Protection against end user account locking denial of service (dos) |
CN107786423A (en) * | 2016-08-29 | 2018-03-09 | 北京融聚世界网络科技有限公司 | A kind of method and system of instant messaging |
CN107846447A (en) * | 2017-09-21 | 2018-03-27 | 烽火通信科技股份有限公司 | A kind of method of the home terminal access message-oriented middleware based on MQTT agreements |
CN108599939A (en) * | 2018-04-25 | 2018-09-28 | 新华三技术有限公司 | a kind of authentication method and device |
CN109639642A (en) * | 2018-11-12 | 2019-04-16 | 平安科技(深圳)有限公司 | Safety certifying method, device and storage medium based on MQTT |
US20190156019A1 (en) * | 2017-11-22 | 2019-05-23 | Aeris Communications, Inc. | Secure authentication of devices for internet of things |
-
2019
- 2019-07-17 CN CN201910646724.6A patent/CN110381057B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105049531A (en) * | 2015-08-24 | 2015-11-11 | 湖南快乐阳光互动娱乐传媒有限公司 | Message pushing system and method |
US20170126733A1 (en) * | 2015-10-22 | 2017-05-04 | Oracle International Corporation | Protection against end user account locking denial of service (dos) |
CN105897696A (en) * | 2016-03-25 | 2016-08-24 | 努比亚技术有限公司 | Terminal, server side, and terminal access management method |
CN107786423A (en) * | 2016-08-29 | 2018-03-09 | 北京融聚世界网络科技有限公司 | A kind of method and system of instant messaging |
CN107846447A (en) * | 2017-09-21 | 2018-03-27 | 烽火通信科技股份有限公司 | A kind of method of the home terminal access message-oriented middleware based on MQTT agreements |
US20190156019A1 (en) * | 2017-11-22 | 2019-05-23 | Aeris Communications, Inc. | Secure authentication of devices for internet of things |
CN108599939A (en) * | 2018-04-25 | 2018-09-28 | 新华三技术有限公司 | a kind of authentication method and device |
CN109639642A (en) * | 2018-11-12 | 2019-04-16 | 平安科技(深圳)有限公司 | Safety certifying method, device and storage medium based on MQTT |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111464653A (en) * | 2020-04-07 | 2020-07-28 | 钛马信息网络技术有限公司 | Method, system and device for interconnecting vehicle-mounted equipment |
CN111464653B (en) * | 2020-04-07 | 2023-05-23 | 钛马信息网络技术有限公司 | Method, system and device for interconnecting vehicle-mounted equipment |
CN111343289A (en) * | 2020-05-22 | 2020-06-26 | 苏宁智能终端有限公司 | MQTT protocol-based message pushing method and system |
CN111343289B (en) * | 2020-05-22 | 2020-09-25 | 苏宁智能终端有限公司 | MQTT protocol-based message pushing method and system |
CN113132194A (en) * | 2021-04-21 | 2021-07-16 | 深圳Tcl新技术有限公司 | Information transfer method, device, equipment, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110381057B (en) | 2022-06-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110263936B (en) | Horizontal federal learning method, device, equipment and computer storage medium | |
CN112738805B (en) | Device control method and apparatus, storage medium, and electronic device | |
CN107308644B (en) | The acquisition methods and device of configuration information | |
CN110381057A (en) | Processing method, device, storage medium, processor and the system of communication connection | |
CN107800687A (en) | Apparatus bound method, system and washing machine based on Internet of Things | |
CN105706477B (en) | For the access point configuration method and system of community's Wi-Fi network to be added | |
CN109905312B (en) | Message pushing method, device and system | |
US20180041893A1 (en) | Method and system of multi-terminal mapping to a virtual sim card | |
CN107197091A (en) | Terminal control method, terminal control device, terminal equipment and computer readable storage medium | |
CN110380931A (en) | Processing method, device, storage medium, processor and the system of connection status | |
CN104954506B (en) | A kind of account management method, terminal device and system | |
CN109842667A (en) | Method and cloud platform system for cloud platform management smart machine | |
CN103795750B (en) | A kind of file transmitting method and its system | |
CN112346751B (en) | Application program installation method and device, electronic equipment and storage medium | |
CN109862078A (en) | Client login method, device and system, storage medium and electronic device | |
CN112689316B (en) | Binding method and device of intelligent equipment, storage medium and electronic device | |
CN110011885A (en) | Control authority binding method and device of electric appliance, storage medium and electric appliance | |
CN114760112B (en) | Wireless local area network-oriented intelligent home equipment networking method, system, equipment and storage medium | |
CN108096838A (en) | Gift bag gets method, apparatus, server, mobile terminal and storage medium | |
CN109688402A (en) | A kind of exchange method based on hologram, client and system | |
CN105072212B (en) | To code method and to code system | |
CN105827563B (en) | Information Authentication method, halfpace and business support system | |
CN108713199A (en) | Right management method, system, mobile terminal, shared charging equipment and server | |
CN113596030A (en) | Equipment network distribution method and device, storage medium and electronic equipment | |
CN103781138B (en) | Method, apparatus and system for connecting WiMo sending terminal to WLAN |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |