CN106060042A - Data processing method and device - Google Patents
Data processing method and device Download PDFInfo
- Publication number
- CN106060042A CN106060042A CN201610373216.1A CN201610373216A CN106060042A CN 106060042 A CN106060042 A CN 106060042A CN 201610373216 A CN201610373216 A CN 201610373216A CN 106060042 A CN106060042 A CN 106060042A
- Authority
- CN
- China
- Prior art keywords
- terminal
- message server
- information
- request
- udp protocol
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 28
- 230000005540 biological transmission Effects 0.000 abstract description 17
- 230000006854 communication Effects 0.000 abstract description 7
- 238000004891 communication Methods 0.000 abstract description 5
- 238000000034 method Methods 0.000 abstract description 2
- 238000005242 forging Methods 0.000 description 6
- 230000009545 invasion Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 3
- 230000005611 electricity Effects 0.000 description 3
- 210000004556 brain Anatomy 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000002372 labelling Methods 0.000 description 1
- 230000033001 locomotion Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/164—Adaptation or special uses of UDP protocol
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/185—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/143—Termination or inactivation of sessions, e.g. event-controlled end of session
- H04L67/145—Termination or inactivation of sessions, e.g. event-controlled end of session avoiding end of session, e.g. keep-alive, heartbeats, resumption message or wake-up for inactive or interrupted session
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Cardiology (AREA)
- General Health & Medical Sciences (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Computer And Data Communications (AREA)
Abstract
The present invention discloses a data processing method. The method comprises: a first terminal sends an information service support request to a central server in a UDP protocol mode; when the address information of an information server fed back by the central server is received, an authentication request is sent to the information server corresponding to the address information in the UDP protocol mode to allow the information server to perform authentication operation of the first terminal based on the authentication request and feedback successful information when the authentication is successful; and when the authentication success information fed back by the information server is received, a query request is sent to the information server at regular presetting intervals in the UDP protocol mode for allowing the information server to feed back the query information corresponding to the query request. The present invention further discloses a data processing device. The communication between the first terminal with the central server and the information server in the UDP protocol mode is realized so as to improve the data transmission speed and the network utilization rate.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of data processing method and device.
Background technology
Modernization family is usually present multiple terminal, such as, includes mobile phone, video camera, personal computer PC, flat board electricity
Brain PAD, Set Top Box STB and TV TV etc..The interface of these terminals is varied, cannot interconnect each other, it is impossible to effectively
Share data and information.
Along with popularizing of intelligent terminal, terminal is generally of network savvy, by different terminals is accessed public network, from
And the information between the different terminals (for example, mobile phone and TV) preset can be realized by public network and alternately and control, example
Such as being turned on and off by terminal control TV.
But, aforesaid way generally uses TCP (Transmission Control Protocol, transmission control protocol)
The communication of the home terminal of protocol realization Internet of Things, needs packet is grouped, assembles and is sorted in communication process
Deng operation, taking substantial amounts of system resource in communication process, the utilization rate causing the transmission speed of data and network is low.
Summary of the invention
The present invention provides a kind of data processing method and device, it is intended to solve data in the Internet of Things of employing Transmission Control Protocol
The technical problem that the utilization rate of transmission speed and network is low.
For achieving the above object, a kind of data processing method that the present invention provides, described data processing method includes following
Step:
First terminal sends messenger service support request to central server in udp protocol mode, for genuinely convinced in described
Business device address information based on described messenger service support request feedback message server;
When receiving the address information of message server of described central server feedback, in udp protocol mode to institute
State message server corresponding to address information and send certification request, ask institute based on described certification for described message server
State first terminal and be authenticated operation, and feed back authentication success message when certification success;
When receiving the authentication success message of described message server feedback, every prefixed time interval with udp protocol
Mode sends inquiry request extremely described message server, feeds back, for described message server, the inquiry that described inquiry request is corresponding
Information.
Preferably, described inquiry request includes the identification information of described first terminal and default random number.
Preferably, described when receiving the address information of message server of described central server feedback, assist with UDP
View mode is after the message server that described address information is corresponding sends the step of certification request, and described data processing method is also
Including:
When receiving group creating request, send in udp protocol mode and include that the group creating of group member information refers to
Order, to described message server, creates group for described message server based on the instruction of described group creating, and is creating
The information terminal that extremely described group member information is corresponding that group successfully creates is sent during one-tenth.
Preferably, described when receiving the address information of message server of described central server feedback, assist with UDP
View mode is after the message server that described address information is corresponding sends the step of certification request, and described data processing method is also
Including:
When receiving the parameter-configuring request of the second terminal, send the configuration including the second terminal in udp protocol mode
The configuration-direct of parameter is to described message server, for described message server based on described configuration-direct to described second eventually
End carries out parameter configuration operation;Or,
When the control receiving the second terminal is asked, send control instruction extremely described second terminal in udp protocol mode,
Described second terminal is controlled based on described control instruction for described message server.
Preferably, described first terminal sends messenger service support in udp protocol mode and asks the step to central server
Before Zhou, described data processing method also includes:
Described first terminal sends synchronization request to central server in udp protocol mode, for described central server
Based on feeding back the information on services that described central server corresponding to described synchronization request is supported;
When described information on services includes the information of message server, perform to send messenger service in udp protocol mode
Support that request is to the step of central server.
Additionally, for achieving the above object, the present invention also provides for a kind of described data processing equipment and includes:
Sending module, asks to central server, in described for sending messenger service support in udp protocol mode
Central server address information based on described messenger service support request feedback message server;
Authentication module, for when receiving the address information of message server of described central server feedback, with UDP
Protocol mode sends certification request to the message server that described address information is corresponding, for described message server based on described
Certification request is authenticated operation to described first terminal, and feeds back authentication success message when certification success;
Enquiry module, for when receiving the authentication success message of described message server feedback, every Preset Time
It is spaced and sends inquiry request extremely described message server in udp protocol mode, feed back described inquiry for described message server
The Query Information that request is corresponding.
Preferably, described inquiry request includes the identification information of described first terminal and default random number.
Preferably, described data processing equipment also includes:
Creation module, for when receiving group creating request, sending in udp protocol mode and include group member information
Group creating instruction to described message server, create group for described message server based on the instruction of described group creating
Group, and the information terminal that extremely described group member information is corresponding that group successfully creates is sent when having created.
Preferably, described data processing equipment also includes:
Configuration module, for when receiving the parameter-configuring request of the second terminal, sends in udp protocol mode and includes the
The configuration-direct of the configuration parameter of two terminals is to described message server, for described message server based on described configuration-direct
Described second terminal is carried out parameter configuration operation;Or,
Control module, during for asking in the control receiving the second terminal, sends control instruction extremely in udp protocol mode
Described second terminal, controls described second terminal for described message server based on described control instruction.
Preferably, described data processing equipment also includes:
Synchronization module, for sending synchronization request to central server in udp protocol mode, for described central server
Based on feeding back the information on services that described central server corresponding to described synchronization request is supported;
Described sending module is additionally operable to when described information on services includes the information of message server, with udp protocol side
Formula sends messenger service support and asks to central server.
The present invention sends messenger service support request to central server by first terminal in udp protocol mode, for
Described central server address information based on described messenger service support request feedback message server, then receiving
When stating the address information of the message server that central server feeds back, in udp protocol mode to corresponding the disappearing of described address information
Breath server sends certification request, is authenticated described first terminal based on described certification request for described message server
Operation, and authentication success message is fed back when certification success, then receiving the certification success of described message server feedback
During information, send inquiry request extremely described message server every prefixed time interval in udp protocol mode, for described message
The Query Information that inquiry request described in server feedback is corresponding, it is achieved that first terminal is with udp protocol mode and central server
And message server communicates, improve the transmission speed of data and the utilization rate of network.Further, sent by timing
Inquiry request is to described message server, it is achieved that the keep-alive of UDP channel between first terminal and message server, and then can
Guarantee that first terminal receives the information that message server pushes in time.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet of data processing method first embodiment of the present invention;
Fig. 2 is the schematic flow sheet of data processing method the second embodiment of the present invention;
Fig. 3 is the high-level schematic functional block diagram of data processing equipment first embodiment of the present invention;
Fig. 4 is the high-level schematic functional block diagram of data processing equipment the second embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The present invention provides a kind of data processing method.It is data processing method first embodiment of the present invention with reference to Fig. 1, Fig. 1
Schematic flow sheet.
In the present embodiment, this data processing method includes:
Step S10, first terminal sends messenger service support in udp protocol mode and asks to central server, for institute
State central server address information based on described messenger service support request feedback message server;
Wherein, first terminal includes mobile phone, video camera, personal computer PC, panel computer PAD, Set Top Box STB and electricity
Depending on waiting intelligent terminal, messenger service support request includes the identification information of first terminal and default random number, in case third party is non-
The invasion forging package of good will, it is to avoid cause individual privacy to leak or by the control of unauthorized terminal, improve the safety of information
Property and confidentiality.First terminal, when needs connection message server, obtains the address of message server by central server
Information, specifically, first terminal sends messenger service support in udp protocol mode and asks to central server, central server
It is first terminal assignment messages server based on described messenger service support request, and by the address letter of the message server of distribution
Breath sends to first terminal in udp protocol mode.
Step S20, when receiving the address information of message server of described central server feedback, with udp protocol
Mode sends certification request to the message server that described address information is corresponding, for described message server based on described certification
Request is authenticated operation to described first terminal, and feeds back authentication success message when certification success;
First terminal is when receiving the address information that central server sends in udp protocol mode, in udp protocol mode
Sending certification request to the message server that this address information is corresponding, message server is when receiving certification request, and obtaining should
The authentication information that certification request is corresponding, is then authenticated first terminal according to authentication information, and when certification success, message takes
Business device sends authentication success message to first terminal in udp protocol mode, in order to first terminal carries out follow-up operation, its
In, certification request includes the authentication information of first terminal, the identification information of first terminal and default random number, the mark of first terminal
Knowledge information and default random number, for preventing the invasion forging package of the non-good will of third party, improve safety and the secrecy of information
Property.
Step S30, when receiving the authentication success message of described message server feedback, with the timing of udp protocol mode
Send inquiry request to believe to described message server, the inquiry corresponding for the described message server described inquiry request of feedback
Breath.
First terminal is when receiving the authentication success message that message server sends in udp protocol mode, every presetting
Time interval sends inquiry request to message server in udp protocol mode, and message server, when receiving inquiry request, obtains
Take the Query Information that this inquiry request is corresponding, and send this Query Information to first terminal in udp protocol mode.Wherein, preset
Time interval was set according to the keep-alive time of the UDP channel between first terminal and message server, specifically, when presetting
Between interval less than keep-alive time of UDP channel between first terminal and message server.By sending out every prefixed time interval
Send inquiry request to message server, it is possible to the UDP channel between keep-alive first terminal and message server, it is simple to server is real
Time send information to first terminal, and when causing the connection between first terminal and message server to disconnect because of other reasons,
Message server can be obtained in time and need to push to the information of first terminal.
Wherein, inquiry request includes the identification information of first terminal and default random number, the identification information of first terminal and
Preset random number for preventing the invasion forging package of the non-good will of third party, it is to avoid cause individual privacy to leak or unauthorized
The control of terminal, improves safety and the confidentiality of information transmission.Certainly, Query Information, authentication success message and messenger service
The information that all of central server such as the address information of device and message server send to first terminal can also include first
The identification information of terminal and default random number, to improve safety and the confidentiality of information transmission.
Further, in one embodiment, after step S20, this data processing method also includes: receiving group
During request to create, send the group creating instruction extremely described message server including group member information in udp protocol mode, with
Create group for described message server based on the instruction of described group creating, and send what group successfully created when having created
The information terminal that extremely described group member information is corresponding.
User, when needing terminal corresponding for message server is set up group, can pass through first terminal editor or triggering
Group creating is asked, such as, in the APP interface of first terminal input group creating request or by APP circle of first terminal
The option in face selects group creating request etc., and when receiving group creating request, first terminal sends bag in udp protocol mode
Including the group creating instruction of group member information to described message server, wherein, terminal corresponding to group member information is
The terminal that can communicate with message server, message server creates group based on group member information, and when establishment completes
Send the information terminal that extremely described group member information is corresponding that group successfully creates so that the member in group can be by disappearing
Breath server transport information and control command are to other group members, rather than group member then can not transmit information or control command
To this group member, and then reach the security requiremenies such as information privacy.In the present embodiment, first terminal can directly transmit group
Group creates and instructs to described message server to message server, and message server directly creates group, member's bag of this group
Include and all have and the terminal of this message server communication capacity.Wherein, group creating instruction includes the mark letter of first terminal
Breath and default random number, to improve safety and the confidentiality of information transmission, further, the information that group successfully creates also is wrapped
Include the identification information of each self terminal and default random number.
The identification head of the information such as messenger service support request, certification request, inquiry request and group creating instruction includes
Header byte number, product type, device type, labelling Current protocol system version, message host type, message subtype, whether
Need response, reservation, token inspection, message body overall length byte number, protocol system version etc..Inquiry request includes asking control
Code, { " CONTROL " or " MESSAGE " }, informed source, certification ID, message sequence number, due-in effective information sum, propelling movement mesh
ID, Certificate Authority ID, push (SERVER) receive state, identifier, (authentication, by for 1, is unsuccessfully authentication information
0), the last sent message sequence number of terminal, Certificate Authority token, message content etc..
Further, in another embodiment, before step S10, this data processing method also includes: described first eventually
Hold and send synchronization request to central server in udp protocol mode, for described central server based on feed back described synchronization please
Seek the information on services that corresponding described central server is supported;
First terminal is when being connected to the Internet of Things at central server place, and first terminal sends same in udp protocol mode
Step request is to central server, and central server is based on feeding back the clothes that described central server corresponding to described synchronization request is supported
Business information.
When described information on services includes the information of message server, perform to send messenger service in udp protocol mode
Support that request is to the step of central server.
In the present embodiment, send messenger service support by first terminal in udp protocol mode and ask to central server,
For described central server address information based on described messenger service support request feedback message server, then receiving
During the address information of the message server fed back to described central server, corresponding to described address information in udp protocol mode
Message server send certification request, for described message server based on described certification request described first terminal is carried out
Authentication operation, and feed back authentication success message when certification success, then in the certification receiving described message server feedback
During successful information, send inquiry request extremely described message server every prefixed time interval in udp protocol mode, for described
Message server feeds back Query Information corresponding to described inquiry request, it is achieved that first terminal with udp protocol mode with in genuinely convinced
Business device and message server communicate, and improve the transmission speed of data and the utilization rate of network.Further, by timing
Send inquiry request to described message server, it is achieved that the keep-alive of UDP channel between first terminal and message server, and then
It is able to ensure that first terminal receives the information that message server pushes in time.
Second embodiment of data processing method of the present invention is proposed, with reference to Fig. 2, at the present embodiment based on first embodiment
In, after step S20, this data processing method also includes:
Step S40, when receiving the parameter-configuring request of the second terminal, sends in udp protocol mode and includes second eventually
The configuration-direct of the configuration parameter of end is to described message server, for described message server based on described configuration-direct to institute
State the second terminal and carry out parameter configuration operation;Or,
User, when needing to configure the parameter of the second terminal, can be joined by first terminal editor or trigger parameter
Put request, such as, in the APP interface of first terminal input parameter-configuring request or the choosing by the APP interface of first terminal
Item Selection parameter configuring request etc., when receiving parameter-configuring request, first terminal sends in udp protocol mode and includes second
The configuration-direct of the configuration parameter of terminal to described message server, states message server based on described configuration-direct to described the
Two terminals carry out parameter configuration operation.Wherein, configuration-direct includes asking control code, code value, the MD5 value of password, synchronizing sequence
Number, Server received back state (describe whether be successfully received this message), the terminal identifier of operator, unusual fluctuation message
Push terminal identifier, identifier, function application name classification, setting item the reading right of privacy, by the terminal identifier of operator,
Command identifier, setting item version number, message content etc..
When the control receiving the second terminal is asked, send control instruction extremely described second terminal in udp protocol mode,
Described second terminal is controlled based on described control instruction for described message server.
User, when the second terminal is controlled by needs, can control request, example by first terminal editor or triggering
As, in the input control request of the APP interface of first terminal or select to control to ask by the option at the APP interface of first terminal
Asking, when receiving control request, first terminal sends control instruction to described second terminal, message in udp protocol mode
When server receives the control instruction that first terminal sends, control described second terminal based on described control instruction.
By when receiving the parameter-configuring request of the second terminal in the present embodiment, send in udp protocol mode and include
The configuration-direct of the configuration parameter of the second terminal, to described message server, refers to based on described configuration for described message server
Order carries out parameter configuration operation to described second terminal;Or, when the control receiving the second terminal is asked, with udp protocol
Mode sends control instruction extremely described second terminal, controls described second for described message server based on described control instruction
Terminal, it is achieved that communicate the second terminal is carried out parameter configuration or control with udp protocol mode and message server
Second terminal, further increases the transmission speed of data and the utilization rate of network.
The present invention further provides a kind of data processing equipment.It is data processing equipment first of the present invention with reference to Fig. 3, Fig. 3
The high-level schematic functional block diagram of embodiment.
In the present embodiment, this data processing equipment includes:
Sending module 10, asks to central server, for described for sending messenger service support in udp protocol mode
Central server address information based on described messenger service support request feedback message server;
Wherein, first terminal includes mobile phone, video camera, personal computer PC, panel computer PAD, Set Top Box STB and electricity
Depending on waiting intelligent terminal, messenger service support request includes the identification information of first terminal and default random number, in case third party is non-
The invasion forging package of good will, it is to avoid cause individual privacy to leak or by the control of unauthorized terminal, improve the safety of information
Property and confidentiality.When needs connection message server, sending module 10 obtains the ground of message server by central server
Location information, specifically, sending module 10 with udp protocol mode send messenger service support ask to central server, in genuinely convinced
Business device is first terminal assignment messages server based on described messenger service support request, and the ground of the message server by distribution
Location information sends to first terminal in udp protocol mode.
Authentication module 20, is used for when receiving the address information of message server of described central server feedback, with
Udp protocol mode sends certification request to message server corresponding to described address information, for described message server based on
Described certification request is authenticated operation to described first terminal, and feeds back authentication success message when certification success;
When receiving the address information that central server sends in udp protocol mode, authentication module 20 is with udp protocol side
Formula sends certification request to the message server that this address information is corresponding, and message server, when receiving certification request, obtains
The authentication information that this certification request is corresponding, is then authenticated first terminal according to authentication information, when certification success, and message
Server sends authentication success message to first terminal in udp protocol mode, in order to first terminal carries out follow-up operation, its
In, certification request includes the authentication information of first terminal, the identification information of first terminal and default random number, the mark of first terminal
Knowledge information and default random number, for preventing the invasion forging package of the non-good will of third party, improve safety and the secrecy of information
Property.
Enquiry module 30, for when receiving the authentication success message of described message server feedback, when default
Between be spaced and send inquiry request to described message server in udp protocol mode, look into described in described message server feedback
Ask the Query Information that request is corresponding.
When receiving the authentication success message that message server sends in udp protocol mode, enquiry module 30 is every in advance
If time interval sends inquiry request to message server in udp protocol mode, message server when receiving inquiry request,
Obtain the Query Information that this inquiry request is corresponding, and send this Query Information to first terminal in udp protocol mode.Wherein, in advance
If time interval was set according to the keep-alive time of the UDP channel between first terminal and message server, specifically, preset
Time interval is less than the keep-alive time of the UDP channel between first terminal and message server.By enquiry module 30 every in advance
If time interval sends inquiry request to message server, it is possible to the UDP channel between keep-alive first terminal and message server,
It is easy to server and sends information to first terminal in real time, and causing between first terminal and message server because of other reasons
When connecting disconnection, can obtain message server in time needs to push to the information of first terminal.
Wherein, inquiry request includes the identification information of first terminal and default random number, the identification information of first terminal and
Preset random number for preventing the invasion forging package of the non-good will of third party, it is to avoid cause individual privacy to leak or unauthorized
The control of terminal, improves safety and the confidentiality of information transmission.Certainly, Query Information, authentication success message and messenger service
The information that all of central server such as the address information of device and message server send to first terminal can also include first
The identification information of terminal and default random number, to improve safety and the confidentiality of information transmission.
Further, in one embodiment, data processing equipment also includes:
Creation module, for when receiving group creating request, sending in udp protocol mode and include group member information
Group creating instruction to described message server, create group for described message server based on the instruction of described group creating
Group, and the information terminal that extremely described group member information is corresponding that group successfully creates is sent when having created.
User, when needing terminal corresponding for message server is set up group, can pass through first terminal editor or triggering
Group creating is asked, such as, in the APP interface of first terminal input group creating request or by APP circle of first terminal
The option in face selects group creating request etc., and when receiving group creating request, creation module sends bag in udp protocol mode
Including the group creating instruction of group member information to described message server, wherein, terminal corresponding to group member information is
The terminal that can communicate with message server, message server creates group based on group member information, and when establishment completes
Send the information terminal that extremely described group member information is corresponding that group successfully creates so that the member in group can be by disappearing
Breath server transport information and control command are to other group members, rather than group member then can not transmit information or control command
To this group member, and then reach the security requiremenies such as information privacy.In the present embodiment, first terminal can directly transmit group
Group creates and instructs to described message server to message server, and message server directly creates group, member's bag of this group
Include and all have and the terminal of this message server communication capacity.Wherein, group creating instruction includes the mark letter of first terminal
Breath and default random number, to improve safety and the confidentiality of information transmission, further, the information that group successfully creates also is wrapped
Include the identification information of each self terminal and default random number.
Further, in another embodiment, this data processing equipment also includes:
Synchronization module, for sending synchronization request to central server in udp protocol mode, for described central server
Based on feeding back the information on services that described central server corresponding to described synchronization request is supported;
When being connected to the Internet of Things at central server place, synchronization module sends synchronization request extremely in udp protocol mode
Central server, central server is based on feeding back the information on services that described central server corresponding to described synchronization request is supported.
Described sending module is additionally operable to when described information on services includes the information of message server, with udp protocol side
Formula sends messenger service support and asks to central server.
In the present embodiment, send messenger service support by sending module 10 in udp protocol mode and ask to center service
Device, for described central server address information based on described messenger service support request feedback message server, then exists
When receiving the address information of message server of described central server feedback, authentication module 20 in udp protocol mode to institute
State message server corresponding to address information and send certification request, ask institute based on described certification for described message server
State first terminal and be authenticated operation, and feed back authentication success message when certification success, then receive described message clothes
During the authentication success message that business device feeds back, enquiry module 30 sends inquiry request every prefixed time interval in udp protocol mode
To described message server, feed back, for described message server, the Query Information that described inquiry request is corresponding, it is achieved that first
Terminal communicates with central server and message server in udp protocol mode, improves transmission speed and the network of data
Utilization rate.Further, inquiry request is sent to described message server by timing, it is achieved that first terminal takes with message
The keep-alive of UDP channel between business device, and then it is able to ensure that first terminal receives the information that message server pushes in time.
Second embodiment of data processing equipment of the present invention is proposed, with reference to Fig. 4, at the present embodiment based on first embodiment
In, this data processing equipment also includes:
Configuration module 40, for when receiving the parameter-configuring request of the second terminal, sends in udp protocol mode and includes
The configuration-direct of the configuration parameter of the second terminal, to described message server, refers to based on described configuration for described message server
Order carries out parameter configuration operation to described second terminal;Or,
User, when needing to configure the parameter of the second terminal, can be joined by first terminal editor or trigger parameter
Put request, such as, in the APP interface of first terminal input parameter-configuring request or the choosing by the APP interface of first terminal
Selection parameter configuring request etc., when receiving parameter-configuring request, configuration module 40 sends in udp protocol mode and includes the
The configuration-direct of the configuration parameter of two terminals, to described message server, states message server based on described configuration-direct to described
Second terminal carries out parameter configuration operation.
Control module 50, during for asking in the control receiving the second terminal, sends control instruction in udp protocol mode
To described second terminal, control described second terminal for described message server based on described control instruction.
User, when the second terminal is controlled by needs, can control request, example by first terminal editor or triggering
As, in the input control request of the APP interface of first terminal or select to control to ask by the option at the APP interface of first terminal
Asking, when receiving control request, control module 50 sends control instruction extremely described second terminal in udp protocol mode, disappears
When breath server receives the control instruction that first terminal sends, control described second terminal based on described control instruction.
By when receiving the parameter-configuring request of the second terminal in the present embodiment, configuration module 40 is with udp protocol side
Formula sends the configuration-direct of the configuration parameter including the second terminal to described message server, for described message server based on
Described configuration-direct carries out parameter configuration operation to described second terminal;Or, when the control receiving the second terminal is asked,
Control module 50 sends control instruction extremely described second terminal in udp protocol mode, for described message server based on described
Control instruction controls described second terminal, it is achieved that communicate with udp protocol mode and message server with to the second terminal
Carry out parameter configuration or control the second terminal, further increasing the transmission speed of data and the utilization rate of network.
These are only the preferred embodiments of the present invention, not thereby limit the scope of the claims of the present invention, every utilize this
Equivalent structure or equivalence flow process that bright description and accompanying drawing content are made convert, or are directly or indirectly used in other relevant skills
Art field, is the most in like manner included in the scope of patent protection of the present invention.
Claims (10)
1. a data processing method, it is characterised in that described data processing method comprises the following steps:
First terminal sends messenger service support in udp protocol mode and asks to central server, for described central server
Address information based on described messenger service support request feedback message server;
When receiving the address information of message server of described central server feedback, in udp protocol mode to described
Message server corresponding to location information sends certification request, for described message server based on described certification request to described the
One terminal is authenticated operation, and feeds back authentication success message when certification success;
When receiving the authentication success message of described message server feedback, every prefixed time interval in udp protocol mode
Send inquiry request to believe to described message server, the inquiry corresponding for the described message server described inquiry request of feedback
Breath.
2. data processing method as claimed in claim 1, it is characterised in that described inquiry request includes described first terminal
Identification information and default random number.
3. data processing method as claimed in claim 1, it is characterised in that described receiving described central server feedback
The address information of message server time, send certification in udp protocol mode to the message server that described address information is corresponding
After the step of request, described data processing method also includes:
When receiving group creating request, send in udp protocol mode and include that the group creating of group member information instructs extremely
Described message server, creates group for described message server based on the instruction of described group creating, and when establishment completes
Send the information terminal that extremely described group member information is corresponding that group successfully creates.
4. data processing method as claimed in claim 1, it is characterised in that described receiving described central server feedback
The address information of message server time, send certification in udp protocol mode to the message server that described address information is corresponding
After the step of request, described data processing method also includes:
When receiving the parameter-configuring request of the second terminal, send the configuration parameter including the second terminal in udp protocol mode
Configuration-direct to described message server, described second terminal is entered based on described configuration-direct for described message server
Line parameter configuration operation;Or,
When the control receiving the second terminal is asked, send control instruction extremely described second terminal in udp protocol mode, for
Described message server controls described second terminal based on described control instruction.
5. the data processing method as described in any one of Claims 1-4, it is characterised in that described first terminal is with udp protocol
Mode sends messenger service support and asked before the step of central server, and described data processing method also includes:
Described first terminal sends synchronization request to central server in udp protocol mode, for described central server based on
Feed back the information on services that described central server corresponding to described synchronization request is supported;
When described information on services includes the information of message server, perform to send messenger service support in udp protocol mode
Ask the step to central server.
6. a data processing equipment, it is characterised in that described data processing equipment includes:
Sending module, for sending messenger service support request to central server in udp protocol mode, for genuinely convinced in described
Business device address information based on described messenger service support request feedback message server;
Authentication module, for when receiving the address information of message server of described central server feedback, with udp protocol
Mode sends certification request to the message server that described address information is corresponding, for described message server based on described certification
Request is authenticated operation to described first terminal, and feeds back authentication success message when certification success;
Enquiry module, for when receiving the authentication success message of described message server feedback, every prefixed time interval
Send inquiry request extremely described message server in udp protocol mode, feed back described inquiry request for described message server
Corresponding Query Information.
7. data processing equipment as claimed in claim 6, it is characterised in that described inquiry request includes described first terminal
Identification information and default random number.
8. data processing equipment as claimed in claim 6, it is characterised in that described data processing equipment also includes:
Creation module, for when receiving group creating request, sending the group including group member information in udp protocol mode
Group creates instruction extremely described message server, creates group for described message server based on the instruction of described group creating, and
The information terminal that extremely described group member information is corresponding that group successfully creates is sent when having created.
9. data processing equipment as claimed in claim 6, it is characterised in that described data processing equipment also includes:
Configuration module, for when receiving the parameter-configuring request of the second terminal, sends in udp protocol mode and includes second eventually
The configuration-direct of the configuration parameter of end is to described message server, for described message server based on described configuration-direct to institute
State the second terminal and carry out parameter configuration operation;Or,
Control module, during for asking in the control receiving the second terminal, sends control instruction to described in udp protocol mode
Second terminal, controls described second terminal for described message server based on described control instruction.
10. the data processing equipment as described in any one of claim 6 to 9, it is characterised in that described data processing equipment also wraps
Include:
Synchronization module, for sending synchronization request to central server in udp protocol mode, for described central server based on
Feed back the information on services that described central server corresponding to described synchronization request is supported;
Described sending module is additionally operable to, when described information on services includes the information of message server, send out in udp protocol mode
Messenger service support is sent to ask to central server.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610373216.1A CN106060042A (en) | 2016-05-30 | 2016-05-30 | Data processing method and device |
PCT/CN2017/080839 WO2017206602A1 (en) | 2016-05-30 | 2017-04-18 | Data processing method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610373216.1A CN106060042A (en) | 2016-05-30 | 2016-05-30 | Data processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106060042A true CN106060042A (en) | 2016-10-26 |
Family
ID=57171449
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610373216.1A Pending CN106060042A (en) | 2016-05-30 | 2016-05-30 | Data processing method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106060042A (en) |
WO (1) | WO2017206602A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017206602A1 (en) * | 2016-05-30 | 2017-12-07 | 深圳市鼎盛智能科技有限公司 | Data processing method and apparatus |
CN108579075A (en) * | 2018-04-10 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Operation requests response method, device, storage medium and system |
WO2019062356A1 (en) * | 2017-09-27 | 2019-04-04 | 华为技术有限公司 | Method of connecting profile content management platform, terminal and server |
CN111782399A (en) * | 2020-07-03 | 2020-10-16 | 北京思特奇信息技术股份有限公司 | Method for efficiently realizing configuration server based on UDP (user Datagram protocol) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114079641B (en) * | 2020-08-06 | 2024-03-08 | 芜湖美智空调设备有限公司 | Data processing method, control terminal, server and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030023739A1 (en) * | 2001-07-28 | 2003-01-30 | Lan Ngoc Vu | System and method for multi-tier multi-casting over the Internet |
CN1685689A (en) * | 2002-09-30 | 2005-10-19 | 松下电器产业株式会社 | Apparatuses, method and computer software products for controlling a home terminal |
CN103701695A (en) * | 2013-12-26 | 2014-04-02 | 四川九洲电器集团有限责任公司 | Intelligent home gateway control system |
CN104954454A (en) * | 2015-06-03 | 2015-09-30 | 维融集团有限公司 | Intelligent control method and device |
CN105100078A (en) * | 2015-07-03 | 2015-11-25 | 上海瑞互通信科技有限公司 | Method for automatically detecting security information |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917483B (en) * | 2010-08-18 | 2015-11-25 | 中国电信股份有限公司 | The implementation method of terminal communication of internet of things management and control, system and equipment |
CN105025044B (en) * | 2014-04-17 | 2019-08-20 | 中国移动通信集团广东有限公司 | A kind of apparatus control method and system |
CN106060042A (en) * | 2016-05-30 | 2016-10-26 | 深圳市鼎盛智能科技有限公司 | Data processing method and device |
-
2016
- 2016-05-30 CN CN201610373216.1A patent/CN106060042A/en active Pending
-
2017
- 2017-04-18 WO PCT/CN2017/080839 patent/WO2017206602A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030023739A1 (en) * | 2001-07-28 | 2003-01-30 | Lan Ngoc Vu | System and method for multi-tier multi-casting over the Internet |
CN1685689A (en) * | 2002-09-30 | 2005-10-19 | 松下电器产业株式会社 | Apparatuses, method and computer software products for controlling a home terminal |
CN103701695A (en) * | 2013-12-26 | 2014-04-02 | 四川九洲电器集团有限责任公司 | Intelligent home gateway control system |
CN104954454A (en) * | 2015-06-03 | 2015-09-30 | 维融集团有限公司 | Intelligent control method and device |
CN105100078A (en) * | 2015-07-03 | 2015-11-25 | 上海瑞互通信科技有限公司 | Method for automatically detecting security information |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017206602A1 (en) * | 2016-05-30 | 2017-12-07 | 深圳市鼎盛智能科技有限公司 | Data processing method and apparatus |
WO2019062356A1 (en) * | 2017-09-27 | 2019-04-04 | 华为技术有限公司 | Method of connecting profile content management platform, terminal and server |
CN108579075A (en) * | 2018-04-10 | 2018-09-28 | 腾讯科技(深圳)有限公司 | Operation requests response method, device, storage medium and system |
CN111782399A (en) * | 2020-07-03 | 2020-10-16 | 北京思特奇信息技术股份有限公司 | Method for efficiently realizing configuration server based on UDP (user Datagram protocol) |
CN111782399B (en) * | 2020-07-03 | 2023-12-01 | 北京思特奇信息技术股份有限公司 | UDP-based efficient realization method for configuration server |
Also Published As
Publication number | Publication date |
---|---|
WO2017206602A1 (en) | 2017-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106060042A (en) | Data processing method and device | |
CN108513154A (en) | Intelligent home furnishing control method, smart television based on smart television and storage medium | |
KR101165746B1 (en) | Push message service system and method thereof | |
CN105682093A (en) | Wireless network access method and access device, and client | |
CN103152624A (en) | Remote control processing method, device and system | |
CN104661175A (en) | Method and equipment for binding intelligent mobile terminal and intelligent wearable equipment | |
CN107241336B (en) | Identity verification method and device | |
CN105450643A (en) | Network access authentication method, apparatus and system | |
US20140019757A1 (en) | Authentication method and system | |
EP2210389B1 (en) | Apparatus, method, and computer program for establishing a service session | |
CN104363245A (en) | Remote login system and method based on telnet protocol | |
CN105162802A (en) | Portal authentication method and Portal authentication server | |
CN105722072A (en) | Business authorization method, device, system and router | |
CN105491034A (en) | Method for establishing connection with terminal and terminal authentication method and apparatus | |
CN113194476B (en) | Equipment activation and authentication binding method | |
CN109041036A (en) | WIFI connection method and equipment | |
CN112637931A (en) | Method and device for establishing network connection | |
CN111787514B (en) | Method and device for acquiring equipment control data, storage medium and electronic device | |
CN111385611A (en) | Account login method of smart television, smart television and terminal equipment | |
CN114499990A (en) | Vehicle control method, device, equipment and storage medium | |
CN101510872B (en) | Remote customer dialing authentication service client terminal, server and transmission/acceptance method | |
CN111491351B (en) | Method and system for sensing online of WiFi terminal based on authentication information | |
CN106453400B (en) | A kind of authentication method and system | |
CN102164099A (en) | Webpage-based group information interaction realization method and system | |
CN107395582A (en) | Portal authentication devices and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB03 | Change of inventor or designer information |
Inventor after: Sheng Ge Inventor after: Sheng Zhangmei Inventor before: Xu Yongchang Inventor before: Sheng Ge |
|
CB03 | Change of inventor or designer information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161026 |
|
RJ01 | Rejection of invention patent application after publication |