CN105357283B - Long connection establishing method of intelligent wearable equipment, server and terminal - Google Patents

Long connection establishing method of intelligent wearable equipment, server and terminal Download PDF

Info

Publication number
CN105357283B
CN105357283B CN201510681348.6A CN201510681348A CN105357283B CN 105357283 B CN105357283 B CN 105357283B CN 201510681348 A CN201510681348 A CN 201510681348A CN 105357283 B CN105357283 B CN 105357283B
Authority
CN
China
Prior art keywords
interface
long connection
wearable device
intelligent wearable
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510681348.6A
Other languages
Chinese (zh)
Other versions
CN105357283A (en
Inventor
唐惠忠
施锦岸
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING QIBAO TECHNOLOGY CO., LTD.
Original Assignee
Beijing Qibao Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qibao Technology Co ltd filed Critical Beijing Qibao Technology Co ltd
Priority to CN201510681348.6A priority Critical patent/CN105357283B/en
Publication of CN105357283A publication Critical patent/CN105357283A/en
Application granted granted Critical
Publication of CN105357283B publication Critical patent/CN105357283B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Abstract

The invention relates to the technical field of communication, in particular to a long connection establishing method of intelligent wearable equipment and a server and a terminal adopting the method. The long connection establishing method comprises the following steps: detecting whether a long connection with a first interface is disconnected; when the above steps output a positive result, sending a prompt message representing the long connection disconnection of the first interface to a second interface associated with the first interface, so that the second interface sends a long connection awakening request to the first interface in response to the prompt message; and responding to a long connection establishment request pointing to the first interface, and establishing a long connection with the first interface, wherein the long connection establishment request is triggered and generated in response to the long connection awakening request. The invention can ensure that the long connection between the server and the intelligent wearable control terminal is normal, so that the intelligent wearable equipment and the intelligent wearable control terminal realize communication interaction through the server, ensure the real-time performance of communication between the intelligent wearable equipment and the intelligent wearable control terminal, and reduce potential safety hazards caused by untimely communication.

Description

Long connection establishing method of intelligent wearable equipment, server and terminal
[ technical field ] A method for producing a semiconductor device
The invention relates to the technical field of communication, in particular to a long connection establishing method of intelligent wearable equipment, and a server and a terminal adopting the method.
[ background of the invention ]
The loss or being turned of children is a serious social problem at present; in the prior art, when a child is lost, the child with high safety consciousness can call a guardian mobile phone to carry out short message or voice communication to inform the guardian of the current position information of the child; however, when the children are not aware of enough safety or run into a gangster which maliciously abducts the children, the children are difficult to contact the guardian, the guardian can only ask for help from news media or public security organs to search, and the effectiveness of searching people is poor.
With the development of positioning technology and wireless communication technology, in the prior art, positionable intelligent wearable equipment is worn on a child, and the intelligent wearable equipment transmits the current position information of the child to terminals such as a mobile phone of a child guardian through a server, so that the guardian can find the child conveniently; meanwhile, the mobile phone terminal of the guardian can also send a control instruction to the intelligent wearable device through the server. However, when the intelligent wearable device of the child and/or the mobile phone terminal of the guardian is disconnected from the server, the mobile phone terminal can only communicate with the intelligent wearable device by making a call or sending a short message, and when the child wearing the intelligent wearable device cannot accurately operate the intelligent wearable device or encounters an unexpected situation that the call is inconvenient, the real-time performance of the communication between the intelligent wearable device and the mobile phone terminal is deteriorated, and a series of potential safety hazards are further brought.
[ summary of the invention ]
The invention aims to solve at least one problem and provides a long connection establishment method of an intelligent wearable device, and a server and a terminal adopting the method.
In order to realize the purpose, the invention adopts the following technical scheme:
the invention provides a long connection establishing method of intelligent wearable equipment, which comprises the following steps:
detecting whether a long connection with a first interface is disconnected;
when the above steps output a positive result, sending a prompt message representing the long connection disconnection of the first interface to a second interface associated with the first interface, so that the second interface sends a long connection awakening request to the first interface in response to the prompt message;
and responding to a long connection establishment request pointing to the first interface, and establishing a long connection with the first interface, wherein the long connection establishment request is triggered and generated in response to the long connection awakening request.
Specifically, the step of detecting whether the long connection with the first interface is disconnected includes:
sending a heartbeat detection signal to the first interface according to a preset time interval;
judging whether a heartbeat signal returned by the first interface in response to the heartbeat detection signal is received within a preset time;
when the output of the step is a positive result, the long connection between the representation and the first interface is normal, and when the output of the step is a negative result, the long connection between the representation and the first interface is disconnected.
Further, the step of sending a prompt message indicating that the first interface is disconnected from the long connection to the second interface associated with the first interface includes:
judging whether the long connection with the second interface is disconnected;
and when a negative result is output in the previous step, a prompt message for representing the disconnection of the long connection of the first interface is pushed to the second interface through the long connection.
Further, when the step of judging whether the long connection with the second interface is disconnected or not outputs a positive result, a prompt message for representing the long connection disconnection of the first interface is sent to the second interface associated with the first interface in a form of a short message instruction.
Specifically, when the step of determining whether the long connection with the second interface is disconnected outputs a positive result, the step of sending a prompt message representing the long connection disconnection of the first interface to the second interface associated with the first interface in the form of a short message instruction includes:
searching a second interface communication number which is stored in association with the characteristic information of the first interface;
and sending prompt information representing that the first interface is disconnected in a long connection mode to the second interface communication number in a short message instruction mode.
Further, after the step of establishing a long connection with the first interface in response to a long connection establishment request directed to the first interface received through the remote interface, the method further comprises the steps of:
and pushing a data message through the long connection, wherein the data message comprises a control instruction.
Specifically, the first interface and the second interface are both associated with the same account number for storage.
The invention also provides a long connection establishing method of the intelligent wearable equipment, which comprises the following steps:
receiving a data message through a remote interface, wherein the data message comprises prompt information for representing that a first interface associated with the data message is disconnected;
and responding to the prompt message in the data message, sending a long connection awakening request to the first interface, so that the first interface sends a long connection establishment request to a remote interface in response to the long connection awakening request.
Further, the step of sending a long connection wakeup request to the first interface in response to the prompt message in the data packet includes:
and responding to the prompt message, and sending a long connection awakening request to the first interface in a short message instruction mode.
Further, the method further comprises the steps of:
in response to the received long connection wake-up request, a long connection setup request is sent to the remote interface.
The invention also provides a server, which comprises:
the detection module is used for detecting whether the long connection with the first interface is disconnected;
the sending module is used for sending a prompt message for representing the long connection disconnection of the first interface to a second interface associated with the first interface when the detection module outputs a positive result, so that the second interface responds to the prompt message and sends a long connection awakening request to the first interface;
and the long connection establishing module is used for responding to a long connection establishing request pointing to the first interface and establishing long connection with the first interface, wherein the long connection establishing request is triggered and generated in response to the long connection awakening request.
Specifically, the detection module further comprises:
the first sending unit is used for sending a heartbeat detection signal to the first interface according to a preset time interval;
the judging unit is used for judging whether a heartbeat signal returned by the first interface in response to the heartbeat detection signal is received within preset time;
when the output of the judging unit is a positive result, the long connection between the representation and the first interface is normal, and when the output of the judging unit is a negative result, the long connection between the representation and the first interface is disconnected.
Further, the server also comprises a second judgment module,
the second judgment module is used for judging whether the long connection with the second interface is disconnected;
and when a negative result is obtained, the sending module is used for pushing a prompt message for representing the disconnection of the long connection of the first interface to the second interface through the long connection.
Further, when the second determination module outputs a positive result, the sending module is configured to send a prompt message indicating that the first interface is disconnected in a long connection manner to the second interface associated with the first interface in a form of a short message instruction.
Specifically, the sending module further comprises a searching unit and a second sending unit,
the searching unit is used for searching a second interface communication number which is stored in association with the characteristic information of the first interface;
and the second sending unit is used for sending prompt information representing that the first interface is disconnected in a long connection mode to the second interface communication number in a short message instruction mode.
Furthermore, the server also comprises a pushing module,
the push module is configured to push a data packet through a long connection, where the data packet includes a control instruction, and the long connection is established by the long connection establishment module.
Specifically, the first interface and the second interface are both associated with the same account number for storage.
The invention also provides a terminal, comprising:
the receiving module is used for receiving a data message through a remote interface, wherein the data message comprises prompt information for representing that the connection of a first interface associated with the receiving module is disconnected;
and the wake-up module is used for responding to the prompt message in the data message and sending a long connection wake-up request to the first interface so that the first interface sends a long connection establishment request to the remote interface in response to the long connection wake-up request.
Specifically, the wake-up module is configured to send a long connection wake-up request to the first interface in a form of a short message instruction in response to the prompt message in the data packet.
Furthermore, the terminal also comprises a long connection request module,
and the long connection request module is used for responding to the received long connection awakening request and sending a long connection establishment request to the remote interface.
Compared with the prior art, the invention has the following advantages:
1. in the invention, when the server detects that one end of the intelligent wearable device or the control terminal is disconnected, the server sends a prompt message of long connection disconnection to the corresponding other end, so that the corresponding other end sends a connection awakening request to the disconnected end, the disconnected end sends a long connection establishment request to the server in response to the connection awakening request, and the server responds to the long connection establishment request to recover the long connection with the device or the terminal. The server can send a message to the corresponding other end to recover the disconnected long connection after monitoring that the long connection at one end is disconnected, so that the normal long connection between the server and the intelligent wearable control terminal can be ensured, the intelligent wearable equipment and the intelligent wearable control terminal realize communication interaction through the server, the real-time performance of communication between the intelligent wearable equipment and the intelligent wearable control terminal is ensured, and potential safety hazards caused by untimely communication are reduced;
2. when the server detects that one end of the long connection is disconnected and sends a prompt of the corresponding one end of the long connection to the other end to disappear, the server can detect whether the long connection with the other end is normal or not. When the long connection at the other end is normal, sending a prompt message that the long connection at the corresponding end is disconnected through the long connection; and when the long connection between the server and the other end is also disconnected, a prompt message of the long connection disconnection of the corresponding end is sent to the other end in a short message instruction mode, so that the implementation accuracy and the implementation necessity of the scheme are guaranteed.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
[ description of the drawings ]
The foregoing and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a program flow diagram of one embodiment of a long connection establishment method of a smart wearable device in the present invention;
fig. 2 is a program flow diagram of one embodiment of a long connection establishment method of a smart wearable device in the present invention;
FIG. 3 is a block diagram of the architecture of one embodiment of a server in the present invention;
fig. 4 is a block diagram of the structure of an embodiment of the terminal in the present invention.
[ detailed description ] embodiments
The invention is further described below in connection with the appended drawings and exemplary embodiments, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative only and should not be construed as limiting the invention. In addition, if a detailed description of the known art is not necessary to show the features of the present invention, it is omitted.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those skilled in the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, "terminal" as used herein includes both devices that are wireless signal receivers, devices that have only wireless signal receivers without transmit capability, and devices that include receive and transmit hardware, devices that have receive and transmit hardware capable of performing two-way communication over a two-way communication link. Such a device may include: a cellular or other communication device having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "terminal" or "terminal device" may be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. As used herein, a "terminal Device" may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, or a smart tv, a set-top box, etc.
Those skilled in the art will appreciate that the concepts of server, cloud, remote network device, etc. used herein have equivalent effects, including but not limited to a computer, a network host, a single network server, a plurality of network server sets, or a cloud of multiple servers. Here, the Cloud is composed of a large number of computers or network servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, a super virtual computer composed of a group of loosely coupled computer sets. In the embodiment of the present invention, the remote network device, the terminal device and the WNS server may communicate with each other through any communication method, including but not limited to mobile communication based on 3GPP, LTE and WIMAX, computer network communication based on TCP/IP and UDP protocols, and short-range wireless transmission based on bluetooth and infrared transmission standards.
It is necessary to first make a preliminary explanation of the application scenario and the principle of the present invention as follows.
The internet generally includes a user terminal (user mobile terminal), a network, and a server (e.g., a Web server of a website, etc.). The user terminal may be an Internet Mobile terminal of the user, such as a desktop computer (PC), a Laptop computer (Laptop), an intelligent Device with a web browsing function, such as a Personal Digital Assistant (PDA), a Mobile Internet Device (MID), a smart Phone (Phone), and the like. These mobile terminals may request a service from another process, such as a server-provided process, in an internet environment, such as typically the internet environment.
The server is typically a remote computer system accessible via a communications medium such as the internet, typically the internet. Furthermore, a server may typically provide services to multiple clients from the internet. The service providing process includes receiving the request from the user end, collecting the information and feedback information of the user end, etc. In essence, the server plays the role of an information provider for the computer network. The server is typically located on the side providing the service or configured by a service provider to serve the content, such as a website of an forgiving network service company or the like.
The application scenarios of the method and the terminal of the present invention are exemplified by taking an intelligent device suitable for being worn by a child as a wearable device, such as a child smart watch, a smart bracelet, etc., taking a cloud server as a server, and taking a guardian's mobile terminal as a control terminal. The intelligent wearable equipment for the children is bound with the mobile terminal, a background service program capable of achieving data interaction with the server and a corresponding functional module of the background service program are installed on the intelligent wearable equipment for the children, an application program capable of achieving data interaction with the server through a network is installed on the control terminal, and the control terminal has management authority for the intelligent wearable equipment for the children. It should be noted that this description is merely exemplary, and the scope of the present invention is not limited thereto.
The following detailed description will describe some embodiments of the present invention in order to implement the above-described scenarios using the principles described above. It should be noted that, the present invention provides a long connection establishment method for a smart wearable device, which is described from the perspective of a server, and the long connection establishment method for the smart wearable device can be implemented on a remote network device by programming as a computer program, which includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud formed by a plurality of servers.
Referring to fig. 1, an exemplary embodiment of a method for establishing a long connection of an intelligent wearable device according to the present invention specifically includes the following steps:
s10, it is detected whether the long connection with the first interface is disconnected.
It should be noted that the cloud server stores feature information of the intelligent wearable device, for example, the feature information may be an ID and a communication number of the intelligent wearable device, specifically, a card number of a built-in SIM card of the intelligent wearable device, or a unique hardware ID number; at least one control terminal is bound with each intelligent wearable device, namely the control terminal has monitoring authority to the intelligent wearable device, and the control terminal is a mobile phone terminal of a guardian of a child wearing the intelligent wearable device; the control terminal and the intelligent wearable device are stored in the cloud server in a correlated manner, for example, the intelligent wearable device and the control terminal are bound by being correlated to the same account number capable of logging in the server, and both the intelligent wearable device and the control terminal can realize communication interaction with the server through a network.
It is understood that the first interface may be communication address information of the intelligent wearable device or communication address information of the control terminal. That is, the server detects whether the long connection with any one of the intelligent wearable device and the corresponding control terminal is disconnected. It is understood that, before the server detects a long connection with the smart wearable device and the control terminal, a long connection is established with each of the smart wearable device and the control terminal in advance.
Optionally, in an exemplary embodiment of the present invention, the process of establishing a long connection between the server and the smart wearable device includes: the server receives handshake messages sent by the intelligent wearable equipment and checks whether the connection between the intelligent wearable equipment and the server is long connection or not according to the handshake messages; if the connection requested to be established by the smart wearable device is a long connection, the server transmits a response message of the handshake message to the smart wearable device and establishes a long connection with the client. Similarly, the principle of establishing a long connection between the server and the control terminal is the same as the method described above, and the present invention is not described herein again.
In order to facilitate implementation of this embodiment, the invention takes the communication address information of the smart wearable device as the first interface as an example for description, but it is understood that the first interface may also be the communication address information of the control terminal, and this embodiment does not constitute a limitation to the present invention.
Specifically, in an embodiment of the present invention, the server sends heartbeat detection information to the intelligent wearable device corresponding to the first interface according to a preset time interval, where the preset time interval is not limited by the present invention, as long as the time interval is less than a keep-alive period for maintaining normal long connection between the two devices; judging whether a heartbeat signal returned by the intelligent wearable equipment in response to the heartbeat detection signal is received within another preset time; if the server receives the heartbeat signal fed back by the intelligent wearable device within another preset time, the long connection between the characterization server and the intelligent wearable device is normal; on the contrary, if the server does not receive the heartbeat signal fed back by the intelligent wearable device within another preset time, the long connection between the server and the intelligent wearable device is disconnected. Wherein, the time intervals can be obtained from a built-in timer. For example, the server sends one heartbeat detection signal to the smart wearable device every 30 seconds, and continuously sends 5 identical heartbeat detection signals, each at 30 seconds intervals. But a response is not received within a preset 2 minutes, the server side can determine that the long connection of the intelligent wearable device is disconnected.
Further, referring to fig. 1, the method of the present invention further includes:
and step S11, when the positive result is output in the previous step, sending a prompt message for indicating that the first interface is disconnected in a long connection mode to a second interface associated with the first interface, so that the second interface sends a long connection awakening request to the first interface in response to the prompt message.
It should be noted that, the second interface is relative to the first interface, and when the first interface represents the communication address information of the control terminal, the second interface is the communication address information of the intelligent wearable device corresponding to the control terminal; vice versa, of course, in the foregoing description, the communication address of the intelligent wearable device is used as the first interface, and correspondingly, the second interface is the communication address of the control terminal. It should be noted that the embodiment is only for convenience of description, and should not be construed as limiting the invention.
Specifically, when the server detects that the long connection with the intelligent wearable device is disconnected, a prompt message representing the long connection disconnection of the intelligent wearable device is sent to the control terminal associated with the intelligent wearable device. As will be understood from the foregoing description, the smart wearable device and the control terminal have previously established association by associating with the same account, and the server may acquire the feature information of the control terminal by querying a correspondence table containing the feature information of the smart wearable device and the feature information of the control terminal, where the feature information may be an ID number or communication number information.
In an embodiment of the invention, when a server needs to send a prompt message representing that the long connection of the intelligent wearable device is disconnected to the control terminal, whether the long connection with the control terminal is normal or not is detected; the method for detecting whether the long connection of the control terminal is normal by the server may be the same as the foregoing step, that is, the same as the step for detecting whether the long connection of the intelligent wearable device is disconnected by the server in step S10, which is not described herein again.
When the long connection between the server and the control terminal is normal, after the ID of the control terminal is obtained, a prompt message for representing the long connection disconnection of the intelligent wearable equipment is sent to the ID of the control terminal through the long connection; on the contrary, when the long connection between the server and the control terminal is also disconnected, the communication number of the control terminal is obtained, and the prompt message representing the long connection disconnection of the intelligent wearable equipment is sent in a short message instruction form, so that the accuracy and the necessity of implementing the scheme are ensured. For example, the short message instruction may adopt a binary data format, provided that a corresponding application program capable of analyzing the binary data is provided at the intelligent wearable device end, and is used for analyzing and acquiring the prompt message. Of course, this embodiment should not be construed as limiting the invention.
It should be noted that the long connection may be a TCP connection or a Hypertext transfer protocol (HTTP) -long connection, which is not limited in this embodiment.
Further, the method of the present invention further includes step S13, in response to a long connection establishment request directed to the first interface, establishing a long connection with the first interface, where the long connection establishment request is triggered to be generated in response to the long connection wakeup request.
Specifically, in step S11, the control terminal receives a prompt message indicating that the smart wearable device is disconnected from the server, and in response to the prompt message, the control terminal sends a long connection wakeup request to the smart wearable device, so that the smart wearable device sends a long connection setup request to the server in response to the long connection wakeup request.
In this step, the server responds to a long connection establishment request sent by the intelligent wearable device, where the long connection establishment request includes an identification ID number of the intelligent wearable device and handshake message content negotiated with the server, where the handshake message content may include an IMEI, MAC address information, an application identification ID number, and the like; and the server authenticates the information in the received long connection establishment request, and responds to the long connection establishment request to establish the long connection with the intelligent wearable device after the authentication is passed.
Further, after the server establishes a long connection with the intelligent wearable device, a data message may be pushed through the long connection, where the data message may include a control instruction sent by the control terminal to the server, or a control instruction sent by the server to the intelligent wearable device. For example, it may be a position information acquisition instruction, a recording instruction, and/or a photographing instruction, and the like.
Furthermore, the invention also provides a long connection establishment method of the intelligent wearable device, namely, the implementation of the method is introduced from the perspective of a client, wherein the client is the intelligent wearable device or the control terminal. Of course, for the convenience of description of the present embodiment, the present embodiment is described by taking the client as the control terminal as an example, and the long connection method of the smart wearable device may be implemented on the control terminal by programming as a computer program, which includes but is not limited to a smart terminal capable of communicating with the server through a network, such as a mobile phone, a PAD, or a desktop computer.
Referring to fig. 2, an exemplary embodiment of a method for establishing a long connection of an intelligent wearable device according to the present invention specifically includes the following steps:
s20, receiving a data message through the remote interface, wherein the data message comprises prompt information for representing the long connection disconnection of the first interface associated with the data message.
It should be understood that the first interface is communication address information of the smart wearable device associated with the control terminal, for example, the communication address information may be an ID and a communication number of the smart wearable device, specifically, a card number of a SIM card built in the smart wearable device, or a unique hardware ID number, which is not limited in this invention. The control terminal and the intelligent wearable device are stored in the cloud server in a correlated manner, for example, the intelligent wearable device and the control terminal are bound by being correlated to the same account number capable of logging in the server, and both the intelligent wearable device and the control terminal can realize communication interaction with the server through a network.
In the method for establishing the long connection of the intelligent wearable device described in the foregoing description from the server side, it is easy to know that, after the server side detects that the long connection of the intelligent wearable device is disconnected, a prompt message indicating that the long connection of the intelligent wearable device is disconnected is sent to the corresponding control terminal. The implementation of this process is described below from two embodiments.
1. Specifically, in an embodiment of the present invention, the data packet may be a data packet pushed by the server side based on a long connection with the control terminal, for example, the data packet is in a json format. Wherein the data message contains a prompt message of long connection disconnection of the intelligent wearable device.
2. In another embodiment of the invention, i.e. when the long connection between the control terminal and the server is broken. The control terminal receives a data message sent by the server in a form of a short message instruction, for example, the data message is in a binary format, and the control terminal is preset with an application program capable of analyzing the data message for analyzing and obtaining a prompt message in the data message for indicating that the intelligent wearable device is disconnected in long connection.
Further, referring to fig. 2, the method of the present invention further includes step S21: and responding to the prompt message in the data message, sending a long connection awakening request to the first interface, so that the first interface sends a long connection establishment request to a remote interface in response to the long connection awakening request.
It is understood that the first interface is a communication number of the smart wearable device associated with the control terminal, and specifically, may be a card number of a SIM card built in the smart wearable device.
In one embodiment of the invention, the control terminal sends the long connection awakening request to the communication number of the intelligent wearable device in the form of a short message instruction. For example, the long connection wakeup request may be in a binary format or in other text formats, as long as an application program capable of analyzing the data format is preset in the intelligent wearable device, and it is ensured that the intelligent wearable device can effectively communicate and interact with the control terminal.
Further, after receiving the long connection wake-up request sent by the control terminal, the intelligent wearable device sends a long connection establishment request to the server in response to the long connection wake-up request. It is understood that the remote interface is a port or address information capable of performing communication interaction with the server.
Specifically, the method of the present invention further comprises the steps of: in response to the received long connection wake-up request, a long connection setup request is sent to the remote interface.
The application scenario of this step is that, after the long connection between the control terminal and the server is disconnected, the server sends a prompt message to the intelligent wearable device associated with the control terminal. The intelligent wearable device responds to the prompt message to send a long connection awakening request to the control terminal, wherein the long connection awakening request can be sent in a short message instruction mode, the long connection awakening request can be sent in a binary format, and as long as an application program capable of analyzing the data format is preset in the control terminal, the intelligent wearable device can be guaranteed to be capable of effectively communicating and interacting with the control terminal.
Specifically, in an exemplary embodiment of the present invention, a Control terminal invokes an Application Programming Interface (API), creates a handshake request, and sends a long connection establishment request to a server, where the long connection establishment request includes an ID number of the Control terminal and contents such as a handshake message negotiated with the server, and the contents of the handshake message may include an imei (international mobile equipment identity), MAC (Medium/Media Access Control) address information, an Application identification ID number, and the like; the server authenticates the IMEI and MAC address information in the received long connection establishment request, and responds to the long connection establishment request to establish long connection with the control terminal after the authentication is passed.
In summary, in the present invention, when detecting that one end of the intelligent wearable device or the control terminal is disconnected, the server sends a prompt message indicating that one end is disconnected to the corresponding other end, so that the corresponding other end sends a connection wakeup request to the disconnected end, the disconnected end sends a long connection setup request to the server in response to the connection wakeup request, and the server restores the long connection with the device or the terminal in response to the long connection setup request. The server can send the message to the corresponding other end to recover the disconnected long connection after monitoring that the long connection at one end is disconnected, and the long connection between the server and the intelligent wearable control terminal can be ensured to be normal, so that the intelligent wearable equipment and the intelligent wearable control terminal realize communication interaction through the server, the real-time performance of communication between the intelligent wearable equipment and the intelligent wearable control terminal is ensured, and potential safety hazards caused by untimely communication are reduced.
Furthermore, the invention also provides a server adopting the intelligent wearable device long connection establishing method according to the function modularization thinking of computer software. Referring to fig. 3, the server includes a detection module 10, a sending module 11 and a long connection establishing module 12, and a principle framework of the server is built by using the detection module 10, the sending module 11 and the long connection establishing module 12, so as to implement a modular embodiment. The specific functions implemented by the modules are specifically disclosed below.
The detection module 10 is configured to detect whether a long connection with the first interface is disconnected.
It should be noted that the cloud server stores feature information of the intelligent wearable device, for example, the feature information may be an ID and a communication number of the intelligent wearable device, specifically, a card number of a built-in SIM card of the intelligent wearable device, or a unique hardware ID number; at least one control terminal is bound with each intelligent wearable device, namely the control terminal has monitoring authority to the intelligent wearable device, and the control terminal is a mobile phone terminal of a guardian of a child wearing the intelligent wearable device; the control terminal and the intelligent wearable device are stored in the cloud server in a correlated manner, for example, the intelligent wearable device and the control terminal are bound by being correlated to the same account number capable of logging in the server, and both the intelligent wearable device and the control terminal can realize communication interaction with the server through a network.
It is understood that the first interface may be communication address information of the intelligent wearable device or communication address information of the control terminal. That is, the detection module 10 detects whether the long connection with any one of the intelligent wearable device and the corresponding control terminal is disconnected. It is understood that, before the detection module 10 detects a long connection with the smart wearable device and the control terminal, a long connection is established with the smart wearable device and the control terminal in advance.
Optionally, in an exemplary embodiment of the present invention, the process of establishing a long connection between the server and the smart wearable device includes: the server receives handshake messages sent by the intelligent wearable equipment and checks whether the connection between the intelligent wearable equipment and the server is long connection or not according to the handshake messages; if the connection requested to be established by the smart wearable device is a long connection, the server transmits a response message of the handshake message to the smart wearable device and establishes a long connection with the client. Similarly, the principle of establishing the long connection between the server and the control terminal is the same as that described above, and the present invention is not described herein again.
In order to facilitate implementation of this embodiment, the invention takes the communication address information of the smart wearable device as the first interface as an example for description, but it is understood that the first interface may also be the communication address information of the control terminal, and this embodiment does not constitute a limitation to the present invention.
Specifically, in an embodiment of the present invention, the detecting module 10 further includes a first sending unit and a determining unit. The first sending unit sends heartbeat detection information to the intelligent wearable device corresponding to the first interface according to a preset time interval, wherein the preset time interval is not limited as long as the time interval is less than a keep-alive period for maintaining normal long connection between the first sending unit and the intelligent wearable device; the judging unit judges whether a heartbeat signal returned by the intelligent wearable device in response to the heartbeat detection signal is received within another preset time; if the judging unit obtains that the heartbeat signal fed back by the intelligent wearable equipment is received within another preset time, the long connection between the characterization server and the intelligent wearable equipment is normal; on the contrary, if the judging unit does not receive the heartbeat signal fed back by the intelligent wearable device within another preset time, the long connection between the characterization server and the intelligent wearable device is disconnected. Wherein, the time intervals can be obtained from a built-in timer. For example, the first transmitting unit transmits one heartbeat detection signal to the smart wearable device every 30 seconds, and continuously transmits 5 identical heartbeat detection signals, each at 30 seconds intervals. But a response is not received within a preset 2 minutes, the determination unit may recognize that the long connection of the server to the smart wearable device has been disconnected.
Further, referring to fig. 3, the sending module 11 is configured to send a prompt message indicating that the first interface is disconnected from the long connection to the second interface associated with the first interface when the detecting module 10 outputs a positive result, so that the second interface sends a long connection wakeup request to the first interface in response to the prompt message.
It should be noted that, the second interface is relative to the first interface, and when the first interface represents the communication address information of the control terminal, the second interface is the communication address information of the intelligent wearable device corresponding to the control terminal; vice versa, of course, in the foregoing description, the communication address of the intelligent wearable device is used as the first interface, and correspondingly, the second interface is the communication address of the control terminal. It should be noted that the embodiment is only for convenience of description, and should not be construed as limiting the invention.
Specifically, when the detection module 10 detects that the connection with the smart wearable device is disconnected, the sending module 11 sends a prompt message indicating that the connection with the smart wearable device is disconnected to the control terminal associated with the smart wearable device. As will be understood from the foregoing description, the smart wearable device and the control terminal have previously established association by associating with the same account, and the server sending module 11 may obtain the characteristic information of the control terminal by querying a corresponding relationship table containing the characteristic information of the smart wearable device and the characteristic information of the control terminal, where the characteristic information may be an ID number or communication number information.
In an embodiment of the present invention, the wearable intelligent device further includes a second determining module, and when the sending module 11 needs to send a prompt message indicating that the long connection of the wearable intelligent device is disconnected to the control terminal, the second determining module is invoked to detect whether the long connection with the control terminal is normal; the method for detecting whether the long connection of the control terminal is normal by the second determining module may be the same as the corresponding description of the detecting module 10, that is, the same principle as the principle that the detecting module 10 detects whether the long connection of the intelligent wearable device is disconnected, which is not described herein again.
In an embodiment of the present invention, when the long connection between the server and the control terminal is normal, after the sending module 11 obtains the ID of the control terminal, the sending module sends a prompt message indicating that the long connection of the intelligent wearable device is disconnected to the ID of the control terminal through the long connection.
In another embodiment of the present invention, the sending module further includes a searching unit and a second sending unit. When the long connection between the server and the control terminal is also disconnected, the searching unit obtains the communication number of the control terminal, and the second sending unit sends a prompt message representing the long connection disconnection of the intelligent wearable device in a short message instruction form, so that the accuracy and the necessity of implementing the scheme are ensured. For example, the short message instruction may adopt a binary data format, provided that a corresponding functional module capable of analyzing the binary data is provided at the intelligent wearable device end, and configured to analyze and obtain the prompt message. Of course, this embodiment should not be construed as limiting the invention.
It should be noted that the long connection may be a TCP connection or a Hypertext transfer protocol (HTTP) -long connection, which is not limited in this embodiment.
Further, the long connection establishing module 12 of the present invention is configured to establish a long connection with the first interface in response to a long connection establishing request directed to the first interface, where the long connection establishing request is triggered and generated in response to the long connection wakeup request.
Specifically, in the foregoing sending module 11, the control terminal receives a prompt message indicating that the intelligent wearable device is disconnected from the server, and sends a long connection wakeup request to the intelligent wearable device in response to the prompt message, so that the intelligent wearable device sends a long connection setup request to the server in response to the long connection wakeup request.
The long connection establishing module 12 responds to a long connection establishing request sent by the intelligent wearable device, where the long connection establishing request includes an ID number of the intelligent wearable device and handshake message content negotiated with a server, where the handshake message content may include an IMEI, MAC address information, an application identification ID number, and the like; and the server authenticates the information in the received long connection establishment request, and responds to the long connection establishment request to establish the long connection with the intelligent wearable device after the authentication is passed.
Further, the server of the present invention further includes a pushing module, where the pushing module is configured to push a data packet through the long connection after the long connection establishment module 12 of the server establishes the long connection with the intelligent wearable device, where the data packet may include a control instruction sent by the control terminal to the server, or a control instruction sent by the server to the intelligent wearable device. For example, it may be a position information acquisition instruction, a recording instruction, and/or a photographing instruction, and the like.
Similarly, the invention also provides a terminal according to the functional modular thinking of computer software, please refer to fig. 4. It should be noted that the terminal is an intelligent wearable device or a control terminal. Of course, for the convenience of description of the present embodiment, the present embodiment is described by taking a control terminal as an example, where the terminal includes, but is not limited to, a mobile phone, a PAD, a desktop computer, or other intelligent terminals capable of communicating with a server through a network. The terminal comprises a receiving module 20 and a wake-up module 21.
The receiving module 20 is configured to receive a data packet through a remote interface, where the data packet includes a prompt message indicating that a first interface associated with the receiving module is disconnected.
It should be understood that the first interface is communication address information of the smart wearable device associated with the control terminal, for example, the communication address information may be an ID and a communication number of the smart wearable device, specifically, a card number of a SIM card built in the smart wearable device, or a unique hardware ID number, which is not limited in this invention. The control terminal and the intelligent wearable device are stored in the cloud server in a correlated manner, for example, the intelligent wearable device and the control terminal are bound by being correlated to the same account number capable of logging in the server, and both the intelligent wearable device and the control terminal can realize communication interaction with the server through a network.
In the foregoing description of the server, it is easy to know that, after the server detects that the long connection of the intelligent wearable device is disconnected, a prompt message representing the long connection disconnection of the intelligent wearable device is sent to the corresponding control terminal. The implementation of the receiving module 20 is described below from two embodiments.
1. Specifically, in an embodiment of the present invention, the data packet may be a data packet pushed by the server side based on a long connection with the control terminal, for example, the data packet is in a json format. Wherein the data message received by the receiving module 20 contains a prompt message of the long connection disconnection of the intelligent wearable device.
2. In another embodiment of the invention, i.e. when the long connection between the control terminal and the server is broken. The receiving module 20 receives a data message sent by the server in a form of a short message instruction, for example, the data message is in a binary format, and the control terminal is preset with an application program capable of analyzing the data message, so as to analyze and obtain a prompt message in the data message, which indicates that the intelligent wearable device is disconnected in a long time.
Further, referring to fig. 4, the wakeup module 21 is configured to send a long connection wakeup request to the first interface in response to the prompt in the data packet, so that the first interface sends a long connection setup request to the remote interface in response to the long connection wakeup request.
It is understood that the first interface is a communication number of the smart wearable device associated with the control terminal, and specifically, may be a card number of a SIM card built in the smart wearable device.
In an embodiment of the present invention, the wake-up module 21 sends a long connection wake-up request to a communication number of the smart wearable device in the form of a short message instruction. For example, the long connection wakeup request may be in a binary format or in other text formats, as long as an application program capable of analyzing the data format is preset in the intelligent wearable device, and it is ensured that the intelligent wearable device can effectively communicate and interact with the control terminal.
Further, after receiving the long connection wake-up request sent by the control terminal wake-up module 21, the intelligent wearable device sends a long connection establishment request to the server in response to the long connection wake-up request. It is understood that the remote interface is a port or address information capable of performing communication interaction with the server.
Specifically, the terminal of the present invention further includes a long connection request module, configured to send a long connection establishment request to the remote interface in response to the received long connection wakeup request.
The application scenario of the long connection request module is that after the long connection between the control terminal and the server is disconnected, the server sends a prompt message to the intelligent wearable device associated with the control terminal. The intelligent wearable device responds to the prompt message to send a long connection awakening request to the control terminal, wherein the long connection awakening request can be sent in a short message instruction mode, the long connection awakening request can be sent in a binary format, and as long as an application program capable of analyzing the data format is preset in the control terminal, the intelligent wearable device can be guaranteed to be capable of effectively communicating and interacting with the control terminal. And the long connection request module sends a long connection establishment request to the server in response to the received long connection wakeup request.
Specifically, in an exemplary embodiment of the present invention, the long connection request module of the Control terminal invokes an Application Programming Interface (API), creates a handshake request, and sends the long connection establishment request to the server, where the long connection establishment request includes an ID number of the Control terminal and handshake messages negotiated with the server, and the contents of the handshake messages may include an imei (international Mobile Equipment identity), MAC (Medium/Media Access Control) address information, an Application identification ID number, and the like; the server authenticates the IMEI and MAC address information in the received long connection establishment request, and responds to the long connection establishment request to establish long connection with the control terminal after the authentication is passed.
In summary, in the present invention, when the server-side detecting module 10 detects that one end of the intelligent wearable device or the control terminal is disconnected, the sending module 11 sends a prompt message indicating that one end of the intelligent wearable device or the control terminal is disconnected, so that the corresponding other-end awakening module 21 sends a connection awakening request to the disconnected end, the long connection request module at the disconnected end sends a long connection establishment request to the server in response to the connection awakening request, and the long connection establishment module 12 recovers the long connection with the device or the terminal in response to the long connection establishment request. The server can send the message to the corresponding other end to recover the disconnected long connection after monitoring that the long connection at one end is disconnected, and the long connection between the server and the intelligent wearable control terminal can be ensured to be normal, so that the intelligent wearable equipment and the intelligent wearable control terminal realize communication interaction through the server, the real-time performance of communication between the intelligent wearable equipment and the intelligent wearable control terminal is ensured, and potential safety hazards caused by untimely communication are reduced.
In the description provided herein, although numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some embodiments, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Although a few exemplary embodiments of the present invention have been shown and described, it would be appreciated by those skilled in the art that changes may be made in these exemplary embodiments without departing from the principles and spirit of the invention, the scope of which is defined in the claims and their equivalents.

Claims (20)

1. A long connection establishing method of an intelligent wearable device is characterized by comprising the following steps:
detecting whether long connection with a first interface is disconnected, wherein the first interface is communication address information of the intelligent wearable device or communication address information of a control terminal corresponding to the intelligent wearable device;
when the above steps output positive results, sending a prompt message representing that the first interface is disconnected in long connection to a second interface associated with the first interface, so that the second interface sends a long connection wakeup request to the first interface in response to the prompt message, wherein when the first interface is the communication address information of the intelligent wearable device, the second interface is the communication address information of the control terminal, and when the first interface is the communication address information of the control terminal, the second interface is the communication address information of the intelligent wearable device;
and responding to a long connection establishment request pointing to the first interface, and establishing a long connection with the first interface, wherein the long connection establishment request is triggered and generated in response to the long connection awakening request.
2. The method of claim 1, wherein the step of detecting whether the long connection to the first interface is disconnected comprises:
sending a heartbeat detection signal to the first interface according to a preset time interval;
judging whether a heartbeat signal returned by the first interface in response to the heartbeat detection signal is received within a preset time;
when the output of the step is a positive result, the long connection between the representation and the first interface is normal, and when the output of the step is a negative result, the long connection between the representation and the first interface is disconnected.
3. The method of claim 1, wherein the step of sending a prompt message indicating a long disconnection of the first interface to a second interface associated with the first interface comprises:
judging whether the long connection with the second interface is disconnected;
and when a negative result is output in the previous step, a prompt message for representing the disconnection of the long connection of the first interface is pushed to the second interface through the long connection.
4. The method of claim 3, wherein: and when the step of judging whether the long connection with the second interface is disconnected outputs a positive result, sending a prompt message representing the long connection disconnection of the first interface to the second interface associated with the first interface in a form of a short message instruction.
5. The method according to claim 4, wherein when the step of determining whether the long connection with the second interface is disconnected outputs a positive result, the step of sending a prompt message indicating that the long connection with the first interface is disconnected to the second interface associated with the first interface in the form of a short message instruction comprises:
searching a second interface communication number which is stored in association with the characteristic information of the first interface;
and sending prompt information representing that the first interface is disconnected in a long connection mode to the second interface communication number in a short message instruction mode.
6. The method of claim 1, further comprising, after the step of establishing the long connection with the first interface in response to a long connection establishment request directed to the first interface received over the remote interface, the steps of:
and pushing a data message through the long connection, wherein the data message comprises a control instruction.
7. The method of claim 1, wherein: the first interface and the second interface are both stored in association with the same account number.
8. A long connection establishment method of a smart wearable device, the method being performed by a client, the client being a smart wearable device or a control terminal bound to the smart wearable device, the method comprising:
receiving a data message through a remote interface, wherein the data message comprises prompt information for representing that a first interface associated with the data message is disconnected, and the remote interface is port or address information for realizing communication interaction with a server;
responding to the prompt message in the data message, sending a long connection awakening request to the first interface, so that the first interface sends a long connection establishment request to a remote interface in response to the long connection awakening request;
the first interface is communication address information of the intelligent wearable device or communication address information of a control terminal bound with the intelligent wearable device, wherein the control terminal has monitoring authority for the intelligent wearable device.
9. The method of claim 8, wherein sending a long connection wakeup request to the first interface in response to a prompt in the data packet comprises:
and responding to the prompt message, and sending a long connection awakening request to the first interface in a short message instruction mode.
10. The method of claim 8, further comprising the step of:
in response to the received long connection wake-up request, a long connection setup request is sent to the remote interface.
11. A server, comprising:
the intelligent wearable device comprises a detection module, a control module and a display module, wherein the detection module is used for detecting whether long connection with a first interface is disconnected or not, and the first interface is communication address information of the intelligent wearable device or communication address information of a control terminal corresponding to the intelligent wearable device;
a sending module, configured to send, when the detecting module outputs a positive result, a prompt message indicating that the first interface is disconnected in a long connection manner to a second interface associated with the first interface, so that the second interface sends a long connection wakeup request to the first interface in response to the prompt message, where the second interface is communication address information of the control terminal when the first interface is communication address information of the intelligent wearable device, and the second interface is communication address information of the intelligent wearable device when the first interface is communication address information of the control terminal;
and the long connection establishing module is used for responding to a long connection establishing request pointing to the first interface and establishing long connection with the first interface, wherein the long connection establishing request is triggered and generated in response to the long connection awakening request.
12. The server according to claim 11, wherein the detecting module further comprises:
the first sending unit is used for sending a heartbeat detection signal to the first interface according to a preset time interval;
the judging unit is used for judging whether a heartbeat signal returned by the first interface in response to the heartbeat detection signal is received within preset time;
when the output of the judging unit is a positive result, the long connection between the representation and the first interface is normal, and when the output of the judging unit is a negative result, the long connection between the representation and the first interface is disconnected.
13. The server of claim 11, wherein: the device also comprises a second judging module which is used for judging whether the device is in a normal state,
the second judgment module is used for judging whether the long connection with the second interface is disconnected;
and when a negative result is obtained, the sending module is used for pushing a prompt message for representing the disconnection of the long connection of the first interface to the second interface through the long connection.
14. The server of claim 13, wherein: and when the second judgment module outputs a positive result, the sending module is used for sending a prompt message for representing the long connection disconnection of the first interface to the second interface associated with the first interface in a form of a short message instruction.
15. The server according to claim 14, wherein the sending module further comprises a searching unit and a second sending unit,
the searching unit is used for searching a second interface communication number which is stored in association with the characteristic information of the first interface;
and the second sending unit is used for sending prompt information representing that the first interface is disconnected in a long connection mode to the second interface communication number in a short message instruction mode.
16. The server of claim 11, wherein: also comprises a pushing module which is used for pushing the material,
the push module is configured to push a data packet through a long connection, where the data packet includes a control instruction, and the long connection is established by the long connection establishment module.
17. The server of claim 11, wherein: the first interface and the second interface are both stored in association with the same account number.
18. A terminal, characterized in that the terminal is a smart wearable device or a control terminal bound with the smart wearable device, and the terminal comprises:
the receiving module is used for receiving a data message through a remote interface, wherein the data message comprises prompt information for representing that the connection of a first interface associated with the receiving module is disconnected, and the remote interface is port or address information for realizing communication interaction with a server; the first interface is communication address information of the intelligent wearable device or communication address information of a control terminal bound with the intelligent wearable device, wherein the control terminal has monitoring authority on the intelligent wearable device;
and the wake-up module is used for responding to the prompt message in the data message and sending a long connection wake-up request to the first interface so that the first interface sends a long connection establishment request to the remote interface in response to the long connection wake-up request.
19. The terminal of claim 18, wherein: and the awakening module is used for responding to the prompt message in the data message and sending a long connection awakening request to the first interface in a short message instruction mode.
20. The terminal of claim 18, wherein: also comprises a long connection request module which is used for requesting the connection,
and the long connection request module is used for responding to the received long connection awakening request and sending a long connection establishment request to the remote interface.
CN201510681348.6A 2015-10-20 2015-10-20 Long connection establishing method of intelligent wearable equipment, server and terminal Active CN105357283B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510681348.6A CN105357283B (en) 2015-10-20 2015-10-20 Long connection establishing method of intelligent wearable equipment, server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510681348.6A CN105357283B (en) 2015-10-20 2015-10-20 Long connection establishing method of intelligent wearable equipment, server and terminal

Publications (2)

Publication Number Publication Date
CN105357283A CN105357283A (en) 2016-02-24
CN105357283B true CN105357283B (en) 2020-02-11

Family

ID=55333142

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510681348.6A Active CN105357283B (en) 2015-10-20 2015-10-20 Long connection establishing method of intelligent wearable equipment, server and terminal

Country Status (1)

Country Link
CN (1) CN105357283B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017161539A1 (en) * 2016-03-24 2017-09-28 华为技术有限公司 Method, device, and system for listening for and sending paging message
CN105978966B (en) * 2016-05-10 2019-03-05 北京奇虎科技有限公司 A kind of data transmission method and device of mobile terminal
CN106332159B (en) * 2016-08-10 2020-01-17 深圳奥尼电子股份有限公司 WIFI abnormity automatic reconnection device, system and method
CN107800585B (en) * 2016-09-07 2021-01-12 腾讯科技(深圳)有限公司 Network communication method and device, and message pushing method and device
CN109756797A (en) * 2017-11-07 2019-05-14 阿里巴巴集团控股有限公司 Double upper linked methods, optical network management equipment and optical transmission system
CN110049068A (en) * 2018-01-15 2019-07-23 北京京东尚科信息技术有限公司 A kind of method and apparatus of the Chief Web Officer connection optimization based on hypertext transfer protocol
CN110876117A (en) * 2018-08-31 2020-03-10 中兴通讯股份有限公司 Method and device for recovering lost connection of terminal
CN111445706A (en) * 2020-05-12 2020-07-24 中穗科技股份有限公司 Renewable energy roadside parking geomagnetic monitoring system and method
CN115250544A (en) * 2021-04-28 2022-10-28 华为技术有限公司 Equipment networking method, electronic equipment and storage medium
CN113727465A (en) * 2021-09-30 2021-11-30 联想(北京)有限公司 Control method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679342A (en) * 2013-11-19 2014-03-26 苏州市职业大学 Intelligent child monitoring system based on GPS
CN104363557A (en) * 2014-11-12 2015-02-18 北京国承万通信息科技有限公司 First equipment, communication method of first equipment and second equipment and communication system
CN104410967A (en) * 2014-11-06 2015-03-11 海信集团有限公司 Apparatus, method and system for enabling connections
CN104661176A (en) * 2015-02-28 2015-05-27 小米科技有限责任公司 Reminding method and device
CN104702779A (en) * 2015-02-02 2015-06-10 广东小天才科技有限公司 Safe infant transfer prompting method, terminals and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8913728B2 (en) * 2002-11-07 2014-12-16 Blake Bookstaff Method and system for automated intellegent advertising on wearable devices
US9402167B2 (en) * 2013-03-14 2016-07-26 Google Technology Holdings LLC Notification handling system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679342A (en) * 2013-11-19 2014-03-26 苏州市职业大学 Intelligent child monitoring system based on GPS
CN104410967A (en) * 2014-11-06 2015-03-11 海信集团有限公司 Apparatus, method and system for enabling connections
CN104363557A (en) * 2014-11-12 2015-02-18 北京国承万通信息科技有限公司 First equipment, communication method of first equipment and second equipment and communication system
CN104702779A (en) * 2015-02-02 2015-06-10 广东小天才科技有限公司 Safe infant transfer prompting method, terminals and system
CN104661176A (en) * 2015-02-28 2015-05-27 小米科技有限责任公司 Reminding method and device

Also Published As

Publication number Publication date
CN105357283A (en) 2016-02-24

Similar Documents

Publication Publication Date Title
CN105357283B (en) Long connection establishing method of intelligent wearable equipment, server and terminal
EP3275162B1 (en) Systems and techniques for web communication
EP3782356B1 (en) Data synchronization across multiple devices
US8798539B2 (en) Automatic multimedia upload for publishing data and multimedia content
US10110538B2 (en) Method and apparatus for message transmission
US8055306B2 (en) Mobile phone alert system and method
CN104348811A (en) Method and device for detecting attack of DDoS (distributed denial of service)
CN111786956B (en) System and method for safely accessing intranet network based on message middleware communication
WO2019007114A1 (en) Data transmission method and device
WO2015138588A1 (en) Cross-layer context management
US10575355B2 (en) API for web access directly or through intermediary
CN112291181B (en) Data transmission method based on multiple network cards and related device
US20130058266A1 (en) Method and system for realizing wireless USB flash disk
WO2022083343A1 (en) Method for detecting video monitoring device, and electronic device
US10015204B2 (en) Method, terminal, and server for restoring transmission of session content
CN113194550B (en) Data channel construction method, server and data cluster system
CN113438628B (en) Method and device for data interaction
CN103108037A (en) Communication method, Web server and Web communication system
CN103916852A (en) Data transmission method and mobile terminal
WO2018095175A1 (en) Communication message synchronization method, data backup method, device and storage medium
CN104852951A (en) Grain depot safety monitoring system work flow
Denney et al. A novel storage covert channel on wearable devices using status bar notifications
CN105472101A (en) Remote help seeking method, main control mobile intelligent terminal and controlled mobile intelligent terminal
CN106657076B (en) TCP service implementation method and device for network name space
CN104967527A (en) Recovering method of communication recording, recovering device of communication recording and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20160510

Address after: 100016 No. 1701-36, building 3, building 10, Jiuxianqiao Road, Beijing, Chaoyang District, 15, 17

Applicant after: BEIJING QIBAO TECHNOLOGY CO., LTD.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant before: Beijing Qihu Technology Co., Ltd.

Applicant before: Qizhi Software (Beijing) Co., Ltd.

GR01 Patent grant
GR01 Patent grant