CN108881487A - The control method and its server and electronic equipment of terminal device base station - Google Patents

The control method and its server and electronic equipment of terminal device base station Download PDF

Info

Publication number
CN108881487A
CN108881487A CN201810864539.XA CN201810864539A CN108881487A CN 108881487 A CN108881487 A CN 108881487A CN 201810864539 A CN201810864539 A CN 201810864539A CN 108881487 A CN108881487 A CN 108881487A
Authority
CN
China
Prior art keywords
base station
terminal device
device base
mark
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810864539.XA
Other languages
Chinese (zh)
Inventor
黄志勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anker Innovations Co Ltd
Original Assignee
Anker Innovations 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 Anker Innovations Co Ltd filed Critical Anker Innovations Co Ltd
Priority to CN201810864539.XA priority Critical patent/CN108881487A/en
Publication of CN108881487A publication Critical patent/CN108881487A/en
Pending legal-status Critical Current

Links

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/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms
    • 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
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention relates to a kind of control methods of terminal device base station and its server and electronic equipment, this method to include:Long connection is established with terminal device base station;It receives the control instruction to terminal device base station that web server is sent to request, which carries the mark of the terminal device base station;From in the corresponding relationship of the mark prestored and long connection socket, long connection socket corresponding with the mark that request carries is obtained;Control instruction request is sent to terminal device base station according to the long connection socket of acquisition.The invention enables users can pass through weblication real-time control terminal device base station.

Description

The control method and its server and electronic equipment of terminal device base station
【Technical field】
The present invention relates to electronic technology field more particularly to a kind of control methods and associated server of terminal device base station With electronic equipment.
【Background technique】
After being mounted with camera base station in user family, user, which may need to open WWW (web) using browser, to be answered With program, start camera checking monitoring video in real time.But weblication mainly use hypertext transfer protocol (HTTP, Hyper Text Transfer Protocol) it is interacted with server, and can not control instruction directly be sent to camera base station.
【Summary of the invention】
The technical problem to be solved in the present invention is to provide a kind of control method of terminal device base station and associated server with Electronic equipment is allowed users to through weblication real-time control terminal device base station.
In order to solve the above technical problems, the present invention provides following technical scheme.
On the one hand, the present invention provides a kind of control method of terminal device base station, is applied to TCP server comprising:With Long connection is established in terminal device base station;It receives the control instruction to terminal device base station that web server is sent to request, the request Carry the mark of the terminal device base station;From in the corresponding relationship of the mark prestored and long connection socket, acquisition is taken with request The corresponding long connection socket of the mark of band;Control instruction is sent to terminal device base station according to the long connection socket of acquisition to ask It asks.
In some embodiments, method further includes:The registration request of receiving terminal apparatus base station, which carries should The mark of terminal device base station;The long connection socket of mark, local terminal and terminal device base station that registration request is carried and The corresponding relationship of local terminal IP address is sent to data cache server and stores.
In some embodiments, TCP server is the long connection of different terminal equipment base station, provides multi-thread concurrent progress The processing operation of registration request.
In some embodiments, mark, the length of local terminal and the terminal device base station that the registration request carries are prestored Connect socket, local terminal IP address corresponding relationship and corresponding data cache server between corresponding relationship.
In some embodiments, the product ID for being identified as the base station of terminal device base station.
In some embodiments, terminal device includes camera, TV box, speaker or sweeper.
On the one hand, the present invention provides a kind of control method of terminal device base station, is applied to Web server comprising:It connects It receives the control instruction to terminal device base station that weblication is sent to request, which carries the mark of the terminal device base station Know;From the corresponding relationship of the mark and TCP server IP address that prestore, obtains TCP corresponding with the mark that request carries and take Business device IP address;Control instruction request is sent to TCP server according to the IP address of acquisition.
On the one hand, the present invention provides a kind of control system of terminal device base station, including:
TCP server, for establishing long connection with terminal device base station;Receive web server send to terminal device The control instruction of base station is requested, which carries the mark of the terminal device base station;From the mark prestored and long connection socket Corresponding relationship in, obtain and corresponding with the mark that request carries long connect socket;According to the long connection socket of acquisition to Terminal device base station sends control instruction request;
Web application server, the control instruction to terminal device base station for receiving weblication transmission are requested, The request carries the mark of the terminal device base station;From the corresponding relationship of the mark and TCP server IP address that prestore, obtain TCP server IP address corresponding with the mark that request carries;Control instruction is sent to TCP server according to the IP address of acquisition Request.
On the one hand, the present invention provides a kind of electronic equipment, including:At least one processor;And it is handled at least one The memory of device connection;Wherein, memory is stored with the instruction repertorie that can be executed by least one processor, and instruction repertorie is by extremely A few processor executes, so that at least one processor is able to carry out the above method.
Compared with prior art, the beneficial effects of the present invention are:
Long connection is established between terminal device base station and TCP server, is sent and is controlled from weblication to web server Instruction request processed, web server forward the request to TCP server again, and TCP server obtains terminal device base from the request The mark stood obtains corresponding long connection socket according to the mark, to connect by the length having had built up to terminal device Base station forwards the control instruction to request, to establish the communication link of weblication Yu terminal device base station, enables users to Enough pass through weblication real-time control terminal device base station.
【Detailed description of the invention】
Fig. 1 is the flow diagram of one embodiment of the control method of terminal device base station in the embodiment of the present invention;
Fig. 2 is the flow diagram of one embodiment of the control method of terminal device base station in the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of one embodiment of TCP server in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of one embodiment of web application server in the embodiment of the present invention;
Fig. 5 is the flow diagram for the concrete application that user controls camera base station by weblication;
Fig. 6 is the structural schematic diagram of one embodiment of electronic equipment in the embodiment of the present invention;
Fig. 7 is the structural schematic diagram of one embodiment of the control system of terminal device base station in the embodiment of the present invention.
【Specific embodiment】
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not For limiting the present invention.But the invention can be realized in many different forms, however it is not limited to implementation described herein Example.It is made the disclosure of the present invention more thorough and comprehensive on the contrary, purpose of providing these embodiments is.
In addition, as long as technical characteristic involved in the various embodiments of the present invention described below is each other not Constituting conflict can be combined with each other.
Unless otherwise defined, practical all technical and scientific terms and belong to technical field of the invention herein The normally understood meaning of technical staff is identical.Term as used herein in the specification of the present invention is intended merely to description tool The purpose of the embodiment of body, it is not intended that the limitation present invention.Term as used herein "and/or" includes one or more related Listed item any and all combinations;Term as used herein " connection ", if it is circuit or electronic component it Between connection, including be directly electrically connected or communicate to connect between circuit or electronic component, also include circuit or electronic component it Between by other circuits or electronic component, the indirect electrical connection of realization.
Embodiment one
Referring to Fig. 1, Fig. 1 is the process of one embodiment of the control method of terminal device base station in the embodiment of the present invention Schematic diagram.As shown in Figure 1, the present embodiment includes:
Step 101 establishes long connection with terminal device base station;
The executing subject of the present embodiment can be the control device of a terminal device base station, which can be transmission control Agreement (TCP, Transmission Control Protocol) server.The present embodiment is by TCP server of executing subject Example is illustrated.
Terminal device can be the smart machines such as camera, television set, TV box, speaker or sweeper.Terminal device Base station is the connection control equipment of terminal device, has the functions such as connection, control, video processing, storage and transmission of video.Terminal Equipment base station can initiate long connection request to TCP server, so that long connection is established and kept between TCP server, with It is convenient for real-time operation.
Step 102 receives the control instruction request to terminal device base station that web server is sent, which carries should The mark of terminal device base station;
The mark of terminal device base station can be the product ID (No. SN) of base station.User needs to terminal device base station When being controlled, weblication can be opened, is sent to web server to terminal device base station by weblication Control instruction request, the request carry the mark of the terminal device base station, and web server forwards the request to TCP server again.
Step 103 identifies in the corresponding relationship for connecting socket with length, the mark pair of acquisition and request carrying from what is prestored The long connection socket answered;
After long connection is established in terminal device base station and TCP server, TCP server can be by terminal device base station The corresponding relationship for identifying the socket connecting with the length saves.After TCP server receives above-mentioned control instruction request, The mark of terminal device base station can be parsed from the request, and connects the corresponding relationship of socket with length from the mark prestored In, search long connection socket corresponding with the mark carried in the request.
In some embodiments, after long connection is established in terminal device base station and TCP server, terminal device base station can To send registration request to TCP server, which carries the mark of the terminal device base station;TCP server is receiving It, can be by the mark of registration request carrying, local terminal and terminal device base station to after the registration request of the terminal device base station Long connection socket and the corresponding relationship of local terminal IP address are sent to data buffer storage (Cache) server, which is closed System saves in memory.TCP server can be the long connection of different terminal equipment base station, provide multi-thread concurrent and registered The processing operation of request.
Step 104 sends control instruction request to terminal device base station according to the long connection socket of acquisition.
TCP server is connected by the length having had built up to terminal according to the long connection socket obtained in step 103 Equipment base station forwards control instruction request.Terminal device base station, such as camera base station connect from the long connection with TCP server After receiving control instruction request, the control instruction is executed, such as starts or stops camera head monitor, setting camera parameter, clap Still photo etc. is taken the photograph, implementing result can also be connected from the length back to weblication and be shown.
Long connection is established in the present embodiment, between terminal device base station and TCP server, is taken from weblication to web Device transmission control instruction of being engaged in is requested, and web server forwards the request to TCP server again, and TCP server is obtained from the request The mark of terminal device base station obtains corresponding long connection socket according to the mark, to pass through the long connection having had built up The control instruction is forwarded to request to terminal device base station, to establish the communication link of weblication Yu terminal device base station Road is allowed users to through weblication real-time control terminal device base station.
Embodiment two,
Referring to Fig. 2, Fig. 2 is the process of one embodiment of the control method of terminal device base station in the embodiment of the present invention Schematic diagram.As shown in Fig. 2, the present embodiment includes:
201, it receives the control instruction to terminal device base station that weblication is sent to request, which carries the end The mark of end equipment base station;
The executing subject of the present embodiment can be the control device of a terminal device base station, which can be web services Device.The present embodiment is illustrated so that executing subject is web server as an example.
Terminal device can be the smart machines such as camera, television set, TV box, speaker or sweeper.Terminal device Base station is the connection control equipment of terminal device, has the functions such as connection, control, video processing, storage and transmission of video.User When needing to control terminal device base station, weblication can be opened, weblication passes through the HTTP defined Protocol interface sends to web server and requests the control instruction of terminal device base station, which carries the terminal device base station Mark.The mark of terminal device base station can be No. SN of terminal device base station.
202, from the corresponding relationship of the mark and TCP server IP address that prestore, the mark pair carried with request is obtained The TCP server IP address answered;
Terminal device base station can pre-establish with TCP server and keep long connection, and TCP server can be by end Mark, local terminal and the long connection socket of terminal device base station and the corresponding relationship of local terminal IP address of end equipment base station are preparatory It saves.Preferably, corresponding relationship can be stored in cache server by TCP server.
Web server from weblication receive control instruction request after, terminal can be parsed from the request and set The mark of standby base station obtains TCP service corresponding with the mark parsed from the corresponding relationship of the mark and IP address that prestore Device IP address.
203, control instruction request is sent to TCP server according to the IP address of acquisition.
Web server forwards control instruction after getting TCP server IP address, to the TCP server of the IP address Request, in order to which TCP server forwards the request to terminal device base station, to realize the real-time control to terminal device base station System.
Long connection is established in the present embodiment, between terminal device base station and TCP server, is taken from weblication to web Device of being engaged in sends control instruction request, and web server obtains the mark of terminal device base station from the request, and according to the mark from TCP server IP address is obtained in the corresponding relationship prestored, then forwards the request to the TCP server, to allow users to Pass through weblication real-time control terminal device base station.
Embodiment three,
Referring to Fig. 3, Fig. 3 is the structural schematic diagram of one embodiment of TCP server in the embodiment of the present invention.Such as Fig. 3 Shown, the present embodiment includes:
Link block 310, for establishing long connection with terminal device base station;
First receiving module 320, the control instruction to terminal device base station for receiving web server transmission are requested, The request carries the mark of the terminal device base station;
First receiving module 320 can receive web after link block 310 and terminal device base station establish long connection The control instruction to terminal device base station that server is sent is requested.
Module 330 is obtained, for obtaining and carrying with request from the corresponding relationship of the mark prestored and long connection socket The corresponding long connection socket of mark;
Terminal device base can be parsed from the received control instruction request of the first receiving module 320 by obtaining module 330 The mark stood, and socket corresponding with the mark parsed is searched from the corresponding relationship of mark and long connection socket.
First sending module 340, for sending control instruction to terminal device base station according to the long connection socket of acquisition Request.
After obtaining module 330 and getting long connection socket, the first sending module is according to the socket by having been established Long connection send control instruction request to terminal device base station.
In some embodiments, after long connection is established in terminal device base station and TCP server, terminal device base station can To send registration request to TCP server, which carries the mark of the terminal device base station.TCP server can be with Registration request including the second receiving module, for receiving terminal apparatus base station;Second sending module, for taking registration request It is slow that mark, local terminal and the long connection socket of terminal device base station and the corresponding relationship of local terminal IP address of band are sent to data Server is deposited, which is saved in memory.TCP server can be the long connection of different terminal equipment base station, The processing operation that multi-thread concurrent carries out registration request is provided.
In the present embodiment, by establishing long connection between link block and terminal device base station, connect by the first receiving module The control instruction request that web server is sent is received, corresponding long connector sleeve is obtained according to the mark in the request by acquisition module Word is connect, sending module forwards the control instruction to request according to the socket to terminal device base station, to establish web application journey The communication link of sequence and terminal device base station is allowed users to through weblication real-time control terminal device base station.
Example IV
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of one embodiment of web application server in the embodiment of the present invention.Such as Shown in Fig. 4, the present embodiment includes:
Receiving module 410, the control instruction to terminal device base station for receiving weblication transmission are requested, should Request carries the mark of the terminal device base station;
Module 420 is obtained, for from the corresponding relationship of the mark and TCP server IP address that prestore, obtaining and requesting The corresponding TCP server IP address of the mark of carrying;
Terminal can be parsed from the request after receiving module receives control instruction request by obtaining module 420 The mark of equipment base station, and TCP server IP address corresponding with the mark is searched from corresponding relationship.
Sending module 430, for sending control instruction request to TCP server according to the IP address of acquisition.
Sending module 430 can take after obtaining module and getting TCP server IP address to the TCP of the IP address Device forwarding control instruction of being engaged in is requested, and in order to which TCP server forwards the request to terminal device base station, is set to realize to terminal The real-time control of standby base station.
Long connection is established in the present embodiment, between terminal device base station and TCP server, by the reception mould of web server Block is received from weblication and is requested the control instruction of terminal device base station, is obtained module and is obtained according to the mark in the request TCP server IP address is obtained, sending module forwards the control instruction to request to the TCP server of the IP address, to make User can pass through weblication real-time control terminal device base station.
For ease of understanding, camera base station, TCP server, data cache server, web server and web are answered below It is illustrated with the interaction between program.Referring to Fig. 5, Fig. 5 is user by the one of weblication control camera base station The flow diagram of a concrete application, including:
It is established between step 501, camera base station and TCP server and keeps long connection;
Step 502, camera base station upload to TCP server for its unique identification SN and carry out registration request;
Step 503, TCP server by No. SN of camera base station, with the socket of the long connection of camera base station and The corresponding relationship of the IP address of the TCP server is sent to cache server, to be stored in memory cache;TCP server can Think that the long connection of different camera base stations enables the processing operation that multi-thread concurrent carries out registration request.
After step 504, user open weblication using browser, weblication passes through the HTTP defined Protocol interface sends specified No. SN camera base station control instruction request to web server;
After step 505, web server receive the control instruction request of weblication transmission, parse in request No. SN of camera base station, and this No. SN corresponding TCP server IP address is inquired to cache server;Web server can be with Enable the processing operation that multi-thread concurrent carries out the request of camera base station control instruction;
Step 506, web server are requested to the TCP server of the IP address inquired forwarding control instruction;
Step 507, TCP server therefrom parse camera shooting after receiving the control instruction request of web server forwarding No. SN of head base station, and the relationships such as this No. SN corresponding long connection socket are inquired from cache server;
Step 508, TCP server are after inquiring No. SN corresponding socket, by well-established long connection to taking the photograph As head base station forwarding control instruction request;
Step 509, camera base station from TCP server receive control instruction request after, execute the control instruction, such as Start or stop camera head monitor, setting camera parameter, shooting still photo etc..It camera base station can also be by implementing result Backtracking is to web application to show user.
Embodiment five
In embodiments of the present invention, a kind of electronic equipment is additionally provided.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of one embodiment of electronic equipment in the embodiment of the present invention.Such as Fig. 6 institute Show, electronic equipment 600 includes:
At least one processor 610, in Fig. 6 by taking a processor 610 as an example;And it is logical at least one processor 610 Believe the memory 620 of connection;Wherein, memory is stored with the instruction repertorie that can be executed by least one processor, instruction repertorie It is executed by least one processor, so that at least one processor is able to carry out the control method of above-mentioned terminal device base station.
Processor 610 can be connected with memory 620 by bus or other modes, to be connected by bus in Fig. 6 For.
Memory 620 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey Sequence, non-volatile computer executable program and module, such as the control method of the terminal device base station in the embodiment of the present application Corresponding program instruction/module.Processor 610 is by running the non-volatile software program being stored in memory 620, instruction And module realizes answering for above method embodiment thereby executing the various function application and data processing of electronic equipment The control method of terminal device base station for electronic equipment.
Memory 620 may include storing program area and storage data area, wherein storing program area can store operation system Application program required for system, at least one function;Storage data area can store the control method of above-mentioned terminal device base station Use created data etc..In addition, memory 620 may include high-speed random access memory, it can also include non-volatile Property memory, a for example, at least disk memory, flush memory device or other non-volatile solid state memory parts.Some In embodiment, memory 620 may include the memory remotely located relative to processor 610, these remote memories can lead to Network connection is crossed to electronic equipment.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, movement Communication network and combinations thereof.
One or more module is stored in memory 620, when being executed by one or more processor 610, is held The control method of the terminal device base station applied to electronic equipment in the above-mentioned any means embodiment of row.
Embodiment six
Referring to Fig. 7, Fig. 7 is the structure of one embodiment of the control system of terminal device base station in the embodiment of the present invention Schematic diagram.As shown in fig. 7, the present embodiment includes:
TCP server 710, for establishing long connection with terminal device base station;Receive setting to terminal for web server transmission The control instruction of standby base station is requested, which carries the mark of the terminal device base station;From the mark prestored and long connection socket In the corresponding relationship of word, long connection socket corresponding with the mark that request carries is obtained;According to the long connection socket of acquisition Control instruction request is sent to terminal device base station;
Web application server 720, for receiving asking to the control instruction of terminal device base station for weblication transmission It asks, which carries the mark of the terminal device base station;From the corresponding relationship of the mark and TCP server IP address that prestore, Obtain TCP server IP address corresponding with the mark that request carries;It is sent and is controlled to TCP server according to the IP address of acquisition Instruction request;
Terminal device base station 730 for receiving control instruction request from long connection, and executes the request.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of embodiment is can to lead to Program is crossed to instruct relevant hardware and complete, which can be stored in a computer readable storage medium, storage medium May include:Read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all Made any modifications, equivalent replacements, and improvements etc. within the spirit and principles in the present invention should be included in guarantor of the invention Within the scope of shield.
Above-mentioned specific embodiment illustrates but is not intended to limit the present invention, and those skilled in the art can be in the model of claim It is designed in enclosing multiple instead of example.Those skilled in the art, which should be appreciated that, violates such as appended right to no Within the scope of the present invention defined in claim, specific implementation can be made it is appropriate adjustment, modification etc..Therefore, all Spirit and principle according to the present invention, any modifications and variations done, the present invention defined in the appended claims Within the scope of.

Claims (10)

1. a kind of control method of terminal device base station is applied to TCP server, which is characterized in that the terminal device base station Control method include:
Long connection is established with terminal device base station;
It receives the control instruction to the terminal device base station that web server is sent to request, which carries the terminal device The mark of base station;
From in the corresponding relationship of the mark prestored and length connection socket, length corresponding with the mark that the request carries is obtained even Connect socket;
The control instruction request is sent to the terminal device base station according to the long connection socket of acquisition.
2. the control method of terminal device base station according to claim 1, which is characterized in that the terminal device base station Control method further includes:
The registration request of the terminal device base station is received, which carries the mark of the terminal device base station;
The length of mark, local terminal and the terminal device base station that the registration request is carried is with connecting socket and local terminal IP The corresponding relationship of location is sent to data cache server and stores.
3. the control method of terminal device base station according to claim 2, which is characterized in that the TCP server is not With the long connection of terminal device base station, the processing operation that multi-thread concurrent carries out registration request is provided.
4. the control method of terminal device base station according to claim 2, which is characterized in that prestore the registration request and take Mark, local terminal and the long corresponding relationship and corresponding data for connecting socket, local terminal IP address of the terminal device base station of band Corresponding relationship between cache server.
5. the control method of terminal device base station according to claim 1, which is characterized in that the terminal device base station It is identified as the product ID of the terminal device base station.
6. the control method of terminal device base station according to claim 1, which is characterized in that the terminal device includes taking the photograph As head, TV box, speaker or sweeper.
7. a kind of control method of terminal device base station is applied to Web server, which is characterized in that including:
It receives the control instruction to terminal device base station that weblication is sent to request, which carries the terminal device base The mark stood;
From the corresponding relationship of the mark and TCP server IP address that prestore, obtain corresponding with the mark that the request carries TCP server IP address;
The control instruction request is sent to TCP server according to the IP address of acquisition.
8. a kind of control system of terminal device base station, which is characterized in that including:
TCP server, for establishing long connection with terminal device base station;Receive web server send to the terminal device The control instruction of base station is requested, which carries the mark of the terminal device base station;From the mark prestored and long connection socket Corresponding relationship in, obtain and corresponding with the mark that the request carries long connect socket;According to the long connection socket of acquisition Word sends the control instruction request to the terminal device base station;
Web application server, the control instruction to terminal device base station for receiving weblication transmission are requested, this is asked Seek the mark for carrying the terminal device base station;From the corresponding relationship of the mark and TCP server IP address that prestore, acquisition and institute State the corresponding TCP server IP address of mark that request carries;The control is sent to TCP server according to the IP address of acquisition Instruction request.
9. a kind of electronic equipment, which is characterized in that including:
At least one processor;And
The memory being connect at least one described processor;Wherein,
The memory be stored with can by least one described processor execute instruction repertorie, described instruction program by it is described extremely A few processor executes, so that at least one described processor is used for:
Long connection is established with terminal device base station;
It receives the control instruction to the terminal device base station that web server is sent to request, which carries the terminal device The mark of base station;
From in the corresponding relationship of the mark prestored and length connection socket, length corresponding with the mark that the request carries is obtained even Connect socket;
The control instruction request is sent to the terminal device base station according to the long connection socket of acquisition.
10. a kind of electronic equipment, which is characterized in that including:
At least one processor;And
The memory being connect at least one described processor;Wherein,
The memory be stored with can by least one described processor execute instruction repertorie, described instruction program by it is described extremely A few processor executes, so that at least one described processor is used for:
It receives the control instruction to terminal device base station that weblication is sent to request, which carries the terminal device base The mark stood;
From the corresponding relationship of the mark and TCP server IP address that prestore, obtain corresponding with the mark that the request carries TCP server IP address;
The control instruction request is sent to TCP server according to the IP address of acquisition.
CN201810864539.XA 2018-08-01 2018-08-01 The control method and its server and electronic equipment of terminal device base station Pending CN108881487A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810864539.XA CN108881487A (en) 2018-08-01 2018-08-01 The control method and its server and electronic equipment of terminal device base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810864539.XA CN108881487A (en) 2018-08-01 2018-08-01 The control method and its server and electronic equipment of terminal device base station

Publications (1)

Publication Number Publication Date
CN108881487A true CN108881487A (en) 2018-11-23

Family

ID=64307174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810864539.XA Pending CN108881487A (en) 2018-08-01 2018-08-01 The control method and its server and electronic equipment of terminal device base station

Country Status (1)

Country Link
CN (1) CN108881487A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981640A (en) * 2019-03-25 2019-07-05 新华三技术有限公司 Connect method for building up and device
CN111511041A (en) * 2019-01-31 2020-08-07 大唐移动通信设备有限公司 Remote connection method and device
CN112054985A (en) * 2019-06-06 2020-12-08 全球能源互联网研究院有限公司 Data interaction method and system for mobile terminal and field detection test equipment
CN115767684A (en) * 2022-11-09 2023-03-07 深圳金信诺高新技术股份有限公司 Data transmission method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988703A (en) * 2006-12-01 2007-06-27 深圳市飞天网景通讯有限公司 Method for realizing information interactive operation based on shootable mobile terminal
CN104009900A (en) * 2014-06-24 2014-08-27 于杨 Method and system for controlling household devices
CN105471974A (en) * 2015-11-18 2016-04-06 北京京东世纪贸易有限公司 Intelligent equipment capable of realizing remote control, terminal equipment and method
US20170332238A1 (en) * 2016-05-12 2017-11-16 Zscaler, Inc. Multidimensional risk profiling for network access control of mobile devices through a cloud based security system
CN107493349A (en) * 2017-09-27 2017-12-19 四川长虹电器股份有限公司 Household intelligent gateway control system and method based on WebSocket

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1988703A (en) * 2006-12-01 2007-06-27 深圳市飞天网景通讯有限公司 Method for realizing information interactive operation based on shootable mobile terminal
CN104009900A (en) * 2014-06-24 2014-08-27 于杨 Method and system for controlling household devices
CN105471974A (en) * 2015-11-18 2016-04-06 北京京东世纪贸易有限公司 Intelligent equipment capable of realizing remote control, terminal equipment and method
US20170332238A1 (en) * 2016-05-12 2017-11-16 Zscaler, Inc. Multidimensional risk profiling for network access control of mobile devices through a cloud based security system
CN107493349A (en) * 2017-09-27 2017-12-19 四川长虹电器股份有限公司 Household intelligent gateway control system and method based on WebSocket

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111511041A (en) * 2019-01-31 2020-08-07 大唐移动通信设备有限公司 Remote connection method and device
CN109981640A (en) * 2019-03-25 2019-07-05 新华三技术有限公司 Connect method for building up and device
CN109981640B (en) * 2019-03-25 2021-07-23 新华三技术有限公司 Connection establishment method and device
CN112054985A (en) * 2019-06-06 2020-12-08 全球能源互联网研究院有限公司 Data interaction method and system for mobile terminal and field detection test equipment
CN112054985B (en) * 2019-06-06 2024-01-19 全球能源互联网研究院有限公司 Data interaction method and system for mobile terminal and field detection test equipment
CN115767684A (en) * 2022-11-09 2023-03-07 深圳金信诺高新技术股份有限公司 Data transmission method, device, equipment and medium
CN115767684B (en) * 2022-11-09 2023-09-08 深圳金信诺高新技术股份有限公司 Data transmission method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN108881487A (en) The control method and its server and electronic equipment of terminal device base station
CN102904959B (en) Network accelerating method and gateway
US6868453B1 (en) Internet home page data acquisition method
CN112788126B (en) Resource downloading method, device, server and storage medium
CN102984223B (en) A kind of message method, the network equipment and system
CN104519139B (en) Caching method, caching edges server, caching Core server and caching system System
CN109996260A (en) Configuration system, client device, embedded device configuration method and storage medium
CN106911732A (en) A kind of website visiting accelerating method and device
CN113271362B (en) Education resource processing method, device, system and medium based on hybrid cloud
CN105049543B (en) The system and method that asymmetric NAT carries out P2P communications is passed through between intelligent router
US7076242B2 (en) Mobile station and communication system
WO2016101652A1 (en) Method, server, terminal, and system for remote assistance configuration
CN108632130B (en) Method and device for multi-terminal chat input transfer, electronic equipment and storage medium
CN105991627A (en) Data connection establishing method and device
CN108075963A (en) The transmission method and device of content
EP3079328B1 (en) Media resource sharing method, shared server and shared system
EP4257433A1 (en) Information transmission method and communication device
CN114390095A (en) Remote equipment control method and Internet of things equipment management platform and system
CN114363204A (en) Request monitoring method, network device and storage medium
US20150172416A1 (en) Download redirection method and system
CN101868945A (en) Communication system, communication method, and communication session integration device
CN105025049A (en) Media stream storing method and apparatus
CN104883389B (en) A kind of acquisition methods and equipment servicing end position
CN108307149B (en) Video proxy system and monitoring method
CN108833499B (en) Data processing method and device of hypertext transfer protocol and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181123

RJ01 Rejection of invention patent application after publication