[go: up one dir, main page]

CN104320399A - Service end information automatic configuration method - Google Patents

Service end information automatic configuration method Download PDF

Info

Publication number
CN104320399A
CN104320399A CN201410593977.9A CN201410593977A CN104320399A CN 104320399 A CN104320399 A CN 104320399A CN 201410593977 A CN201410593977 A CN 201410593977A CN 104320399 A CN104320399 A CN 104320399A
Authority
CN
China
Prior art keywords
service
server
message
client
provisioning information
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
CN201410593977.9A
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201410593977.9A priority Critical patent/CN104320399A/en
Publication of CN104320399A publication Critical patent/CN104320399A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/026Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using e-messaging for transporting management information, e.g. email, instant messaging or chat
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0266Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using meta-data, objects or commands for formatting management information, e.g. using eXtensible markup language [XML]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0876Aspects of the degree of configuration automation
    • H04L41/0886Fully automatic configuration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1101Session protocols
    • H04L65/1104Session initiation protocol [SIP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a service end information automatic configuration method and relates to the technical field of computer networks. The method is based on an open-source SIP server, by information multicasting, a client end sends service request information to the server, in a following data interaction process, the client end obtains equipment description information and service description information of the open-source SIP server and carries out control operation on the open-source SIP server according to the equipment description information and the service description information of the open-source SIP server, and then operation such as automatic registering between the client end and the server is completed automatically. Client experience is improved, and meanwhile product service quality is effectively improved.

Description

A kind of method of service end provisioning information
Technical field
The present invention relates to technical field of the computer network, particularly relate to a kind of method based on SIP service end provisioning information of increasing income.
Background technology
Session initiation Protocol (Session Initiation Protocol, be called for short SIP) be the signaling control protocol of an application layer, for creating, revising and discharge the session of one or more participant, and these sessions can be internet (Internet) multimedia conferencing, network (Internet Protocol, be called for short IP) phone or multimedia delivery, and the participant of session can be communicated by multicast (multicast), netted clean culture (unicast) or mode that both mix.
At present, along with the development of network technology and the network equipment, that equipment or procotol all need to support more intelligentized function, especially in client and service end automatically configuration, but traditional SIP client is when being registered on sip server, all need the IP address of the server of user's input reference, port and the data message such as user name, password, could configuration information be obtained, to complete the operation of the server being registered to the access of above-mentioned needs; Be nonautomatic owing to carrying out aforesaid operations action, even need user manually to carry out numerous and diverse setting, and then make customer experience poor, greatly reduce the service quality of product.
Summary of the invention
For above-mentioned technical problem, this application provides a kind of method of service end provisioning information, be applied to the data interaction between server and client in SIP communication network, described method comprises:
The multicast address that described server is monitored to described client by described communication network sends multicast message, obtains described multicast message to make described client;
After described client sends query messages to described server according to the described multicast message obtained, this server reverting equipment describing message is to described client;
Described client sends the request of specific descriptions to described server according to the described device description message obtained, and this server replys service describing message to described client;
Described client utilizes described service describing message to carry out control operation to described server;
Wherein, described device description message comprises the service data of described server providing services and the physics of equipment and logical data; Described service describing message comprises order data and/or action data, and equipment is to the reply data of described order data and/or described action data.
The method of above-mentioned service end provisioning information, described client utilizes described service describing message to be specially the step that described server carries out control operation:
The described service describing message that described client obtains according to it transmits control message to described server, and described server replys the information of described client respective service according to described control message.
The method of above-mentioned service end provisioning information, described server is sip server of increasing income.
The method of above-mentioned service end provisioning information, described multicast message comprises the URL of described server, and described client sends described query messages according to the URL of described server to described server.
The method of above-mentioned service end provisioning information, described multicast message comprises the out-of-service time of the current service that described server provides, and described method also comprises:
When described client needs to proceed described current service after the described out-of-service time, described server resends described multicast message, to continue to provide described current service to described client.
The method of above-mentioned service end provisioning information, described server sends described multicast message in the mode of stage to described multicast address according to the time of presetting;
Wherein, the described default time is less than the described out-of-service time.
The method of above-mentioned service end provisioning information, described server sends described multicast message to described multicast address in a continuous manner, and each number of times sending described multicast message is continuously less than or equal to three times.
The method of above-mentioned service end provisioning information, the service data that described server provides comprises the URL of the type of service, the name of service and service;
The physics of described equipment and logical data comprise the website of the implementor name of designated equipment, the device number of designated equipment, the sequence number of designated equipment and designated equipment.
The method of above-mentioned service end provisioning information, described server generates described device description message and described service describing message based on XML.
The method of above-mentioned service end provisioning information, the form of the message that described server is replied is all the forms of the HTTP based on TCP, and described server adopts SOAP encapsulation to reply the message of action.
In sum, owing to have employed technique scheme, the method of a kind of service end provisioning information that the application proposes, based on the SIP that increases income (opensips) server, information on services is sent request to make client to this server by multicast message, and continue in follow-up data exchange process, device descriptive information and the service description information of client acquisition sip server and basis is increased income carry out control operation to this sip server of increasing income, and then automatically complete the operations such as automatic registration such as between client and server, while raising customer experience, also effectively increase the service quality of product.
Accompanying drawing explanation
Fig. 1 is the data interaction schematic diagram of discovery phase in service end provisioning information in the embodiment of the present application;
Fig. 2 is the data interaction schematic diagram describing the stage in the embodiment of the present application in service end provisioning information;
Fig. 3 is the data interaction schematic diagram controlling the stage in the embodiment of the present application in service end provisioning information.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under the prerequisite of not making creative work, all belongs to the scope of protection of the invention.
Provide a kind of implementation method realizing the automatic configuration module in service side based on the SIP that increases income (Opensips) server in the application, it mainly includes three phases, i.e. discovery phase, description stage and the stage of control.
In discovery phase, to certain multicast address, (client monitors this multicast address to Opensips server, to receive the notice of service side) send multicast message, and in this multicast message, carry URL(uniform resource locator) (the Uniform Resource Locator of this Opensips server, be called for short URL), to be used for allowing client (as mobile communication terminal etc.) to server for services (service) information.
After above-mentioned discovery phase, proceed the description stage that Opensips service end provides service, namely client is according to the URL of Opensips in the multicast information obtained before, send query messages to this opensips server, carry the device descriptive information (this device description message comprise Opensips server the service data of service and the physics of equipment and logical data are provided) of the various services that it provides to allow Opensips server provide; After Opensips server replys above-mentioned device descriptive information to client, this client continues according to the URL in device descriptive information corresponding to each service the specific descriptions request sending inquiry service to Opensips server, corresponding Opensips server will reply the service description information of client institute request service, this service describing message comprises order data and/or action data, and equipment is to the reply data of order data and/or action data, as this service description information comprises the information such as action and parameter that Opensips server provides.
Proceed the control stage, namely the information such as action and parameter in the service description information that provides according to Opensips server side before of client, transmit control message to Opensips, such as obtain the relevant information of client registers, carry out the message such as data interaction with online user; After Opensips server receives above-mentioned control message, according to respective action in this control message, reply to the corresponding information of client, and then complete control operation.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
Fig. 1 is the data interaction schematic diagram of discovery phase in service end provisioning information in the embodiment of the present application, Fig. 2 is the data interaction schematic diagram describing the stage in the embodiment of the present application in service end provisioning information, and Fig. 3 is the data interaction schematic diagram controlling the stage in the embodiment of the present application in service end provisioning information; As shown in Figures 1 to 3, the method for a kind of service end provisioning information of the application, specifically comprises the following steps:
First, as shown in Figure 1, in discovery phase, when server (as Opensips server) obtain IP address add communication network time, multicast message (Notify) is sent to the client (as mobile communication terminal (Phone client) etc.) in this communication network, namely the multicast address (Multi cast) that server is monitored to client sends multicast message, as server sends multicast message to multicast address for (239.255.255.250:1900), client monitors this port to obtain notice (Advertise); In addition, the out-of-service time (expire time) of current service is included in above-mentioned multicast message, with the time that the client current service notifying to obtain this multicast message maintains, and when client also will proceed current service after the above-mentioned out-of-service time (expire time), then server can resend multicast message to allow client renewal out-of-service time (expire time).
Preferably, the package of the multicast message that server (Opensips) sends can be the http form based on UDP, accordingly because UDP is unreliable transmission, so can arrange server to send multicast message continuously.Concrete, the number of times that server can be sent continuously multicast message in order to avoid network congestion is set to be less than or equal to three times.
Concrete, the data packet format that server (Opensips) sends multicast message can be set to:
NOTIFY*HTTP/1.1
HOST:239.255.255.250:1900
CACHE-CONTROL:max-age=seconds?until?advertisement?expires
LOCATION:URL?for?description?for?opensips
NT:search?target
USN:advertisement?UUID
Wherein, packets fields is described as:
NOTIFY*HTTP/1.1: the NOTIFY method representing request
HOST: the channel of multicast and port
CACHE-CONTROL: server (opensips) provides the time of service
LOCATION: the URL of server (opensips) descriptor
NT: the type of notice
USN: unique service name, is used for identification server (opensips) equipment
Preferably, the transmission multicast message (Notify) that server (Opensips) can be interim, to upgrade buffer control (CACHE-CONTROL) field; And in order to enable client recover losing in service, can be set for being less than a random value of the half (being namely less than the half of above-mentioned out-of-service time) providing service time the interim time sending multicast message.
Secondly, continue to be described the stage after discovery phase, as shown in Figure 2, after client terminal to discover server (opensips), client obtains the URL of server (opensips) from the multicast message obtained before, and obtain the description of equipment and the ability of service according to this URL, concrete:
1., client (client) sends query messages to server (http get device description) according to above-mentioned URL (client obtains the URL of server (opensips) from the multicast message obtained before) to step;
2., server sends to include provides the device description message of various service related parameters (URL as corresponding in each service) to client (description for device) to step;
3., client sends the request of specific descriptions to server (http get service description) according to its said equipment descriptor obtained to step;
4., service describing message is sent to client (service description) to step by server.
Preferably, above-mentioned device description message includes the physics and logical data that provide service data and equipment; There is provided service data to be mainly used in ability that description equipment provides service, its this provide service data to comprise a series of order and/or action, and equipment is for the reply data (as reply parameter and/or conclusion etc.) of each order and/or action; The physics of equipment and logical data are then the contents for the physics and logic describing equipment, and the physics of this equipment and logical data include the parameter (URL etc. as COS, service name and service) that the parameter (as the sequence number of implementor name, device number, equipment and the website etc. of equipment) of the designated equipment of developer and server provide various services.
Preferably, when client needs to obtain the device description message of server, send the device description message that " http get device description " request can obtain server, send " http get service description " request can obtain this server service describing message to server.
Preferably, server (Opensips) carries out reply message with the http message format based on tcp; Wherein, the http head that this server is replied can be the same with the reply of the http of standard, and carry the device description message of xml form or the service describing message of xml form in body part, concrete:
HTTP/1.1200?OK
CONTENT-LANGUAGE:language?used?in?description
CONTENT-LENGTH:Bytes?in?body
CONTENT-TYPE:text/xml
DATE:when?responded
Body:description
Wherein, the device description message (i.e. Body part) of xml form can be:
The service describing message (i.e. Body part) of xml form can be:
Finally, carry out the operation in control stage, namely as shown in Figure 3, client (client) is after obtaining above-mentioned service describing message, URL according to service sends control operation message (action request) to server end, the service module (service) of corresponding server (Opensips) then reply carry action relevant information (result) to client, and then realize the call action of client on server (Opensips).
Preferably, server (Opensips) is replied the relevant information of carrying action and is encapsulated by SOAP, operates for far call.
Preferably, above-mentioned server (Opensips) is replied message and be can be http form based on tcp, such as:
The head part (i.e. http head) that http form replys message can be:
HTTP/1.1200?OK
The length * of CONTENT-LENGTH:bytes in body/*body/
CONTENT-TYPE:text/xml; The coded format * of charset=" utf-8 "/* body/
This http message of DATE:when response was generated/* suitable generation */
Body part (i.e. http body) that http form replys message can be:
To sum up, owing to have employed technique scheme, the method of a kind of service end provisioning information that the application proposes, based on sip server of increasing income, information on services is sent request to make client to this server by multicast message, and continue in follow-up data exchange process, device descriptive information and the service description information of client acquisition sip server and basis is increased income carry out control operation to this sip server of increasing income, and then automatically complete the operations such as automatic registration such as between client and server, while raising customer experience, also effectively increase the service quality of product.
By illustrating and accompanying drawing, giving the exemplary embodiments of the ad hoc structure of embodiment, based on the present invention's spirit, also can do other conversion.Although foregoing invention proposes existing preferred embodiment, but these contents are not as limitation.
For a person skilled in the art, after reading above-mentioned explanation, each middle change and correction undoubtedly will be apparent.Therefore, appending claims should regard the whole change and correction of containing true intention of the present invention and scope as.In Claims scope, the scope of any and all equivalences and content, all should think and still belong to the intent and scope of the invention.

Claims (10)

1. a method for service end provisioning information, is characterized in that, be applied to the data interaction between server and client in SIP communication network, described method comprises:
The multicast address that described server is monitored to described client by described communication network sends multicast message, obtains described multicast message to make described client;
After described client sends query messages to described server according to the described multicast message obtained, this server reverting equipment describing message is to described client;
Described client sends the request of specific descriptions to described server according to the described device description message obtained, and this server replys service describing message to described client;
Described client utilizes described service describing message to carry out control operation to described server;
Wherein, described device description message comprises the service data of described server providing services and the physics of equipment and logical data; Described service describing message comprises order data and/or action data, and equipment is to the reply data of described order data and/or described action data.
2. the method for service end provisioning information as claimed in claim 1, it is characterized in that, described client utilizes described service describing message to be specially the step that described server carries out control operation:
The described service describing message that described client obtains according to it transmits control message to described server, and described server replys the information of described client respective service according to described control message.
3. the method for service end provisioning information as claimed in claim 1, it is characterized in that, described server is sip server of increasing income.
4. the method for service end provisioning information as claimed in claim 1, it is characterized in that, described multicast message comprises the URL of described server, and described client sends described query messages according to the URL of described server to described server.
5. the method for service end provisioning information as claimed in claim 1, it is characterized in that, described multicast message comprises the out-of-service time of the current service that described server provides, and described method also comprises:
When described client needs to proceed described current service after the described out-of-service time, described server resends described multicast message, to continue to provide described current service to described client.
6. the method for service end provisioning information as claimed in claim 5, is characterized in that, described server sends described multicast message in the mode of stage to described multicast address according to the time of presetting;
Wherein, the described default time is less than the described out-of-service time.
7. the method for service end provisioning information as claimed in claim 1, it is characterized in that, described server sends described multicast message to described multicast address in a continuous manner, and each number of times sending described multicast message is continuously less than or equal to three times.
8. the method for service end provisioning information as claimed in claim 1, is characterized in that, the service data that described server provides comprises the URL of the type of service, the name of service and service;
The physics of described equipment and logical data comprise the website of the implementor name of designated equipment, the device number of designated equipment, the sequence number of designated equipment and designated equipment.
9. the method for service end provisioning information as claimed in claim 1, it is characterized in that, described server generates described device description message and described service describing message based on XML.
10. as the method for the service end provisioning information in claim 1 ~ 9 as described in any one, it is characterized in that, the form of the message that described server is replied is all the forms of the HTTP based on TCP, and described server adopts SOAP encapsulation to reply the message of action.
CN201410593977.9A 2014-10-29 2014-10-29 Service end information automatic configuration method Pending CN104320399A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410593977.9A CN104320399A (en) 2014-10-29 2014-10-29 Service end information automatic configuration method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410593977.9A CN104320399A (en) 2014-10-29 2014-10-29 Service end information automatic configuration method

Publications (1)

Publication Number Publication Date
CN104320399A true CN104320399A (en) 2015-01-28

Family

ID=52375569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410593977.9A Pending CN104320399A (en) 2014-10-29 2014-10-29 Service end information automatic configuration method

Country Status (1)

Country Link
CN (1) CN104320399A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187457A (en) * 2015-10-27 2015-12-23 上海斐讯数据通信技术有限公司 Client-based account automatic registration method, system and server
CN106211270A (en) * 2016-08-26 2016-12-07 四川九洲电器集团有限责任公司 Gateway server and mobile terminal
CN107332912A (en) * 2017-07-03 2017-11-07 广州视源电子科技股份有限公司 Service discovery method, device, system, storage medium and computer equipment
CN108958825A (en) * 2017-05-19 2018-12-07 腾讯科技(深圳)有限公司 A kind of information configuring methods and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020138488A1 (en) * 2001-03-20 2002-09-26 Prakash A. Trivedi Systems and methods for communicating from an integration platform to a lightweight directory access protocol based database
US20030118028A1 (en) * 2002-02-27 2003-06-26 Neal Warren Michael Method and system of ensuring quality of service between networks using a signaling protocol
CN101034981A (en) * 2006-03-07 2007-09-12 上海品伟数码科技有限公司 Network access control system and its control method
CN101197788A (en) * 2006-12-07 2008-06-11 西门子通信技术(北京)有限公司 Method for client terminal acquiring configuration information of data base server in computer network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020138488A1 (en) * 2001-03-20 2002-09-26 Prakash A. Trivedi Systems and methods for communicating from an integration platform to a lightweight directory access protocol based database
US20030118028A1 (en) * 2002-02-27 2003-06-26 Neal Warren Michael Method and system of ensuring quality of service between networks using a signaling protocol
CN101034981A (en) * 2006-03-07 2007-09-12 上海品伟数码科技有限公司 Network access control system and its control method
CN101197788A (en) * 2006-12-07 2008-06-11 西门子通信技术(北京)有限公司 Method for client terminal acquiring configuration information of data base server in computer network

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187457A (en) * 2015-10-27 2015-12-23 上海斐讯数据通信技术有限公司 Client-based account automatic registration method, system and server
CN106211270A (en) * 2016-08-26 2016-12-07 四川九洲电器集团有限责任公司 Gateway server and mobile terminal
CN108958825A (en) * 2017-05-19 2018-12-07 腾讯科技(深圳)有限公司 A kind of information configuring methods and device
CN108958825B (en) * 2017-05-19 2021-10-22 腾讯科技(深圳)有限公司 Information configuration method and device
CN107332912A (en) * 2017-07-03 2017-11-07 广州视源电子科技股份有限公司 Service discovery method, device, system, storage medium and computer equipment

Similar Documents

Publication Publication Date Title
US10542415B2 (en) Data transmission method for edge multimedia broadcast/multicast service (MBMS) service and related device
RU2436245C2 (en) System and method for implementing mbms handover during downloaded delivery
JP5080479B2 (en) Group communication in communication systems
CN113630277B (en) Method and apparatus for enhancing MBMS content provision and content ingestion
CN103546826B (en) The transmission method and device of video traffic
WO2012079321A1 (en) Method, system and apparatus for providing stream media service
KR20040077806A (en) Method and apparatus for negotiation of transmission parameters for broadcast/multicast services
JP5678198B2 (en) Mobile Internet service realization method, gateway, proxy and system
EP2211568B1 (en) Method of obtaining service information to receive broadcasting service in a user equipment
KR20090065554A (en) System and method for providing enhanced session control of unicast sessions
US9900761B2 (en) System and method for direct tunneling in point-to-multipoint mobile service
WO2007033549A1 (en) An offline message transmission method
US11234054B2 (en) Edge network system for service-less video multicast
CN104320399A (en) Service end information automatic configuration method
CN107509176A (en) Group establishing method and device and computer storage medium
JP2014023150A (en) Multicast transmission using unicast protocol
JP4959803B2 (en) Distribution reports in communication systems
CN108337215B (en) A file transmission method and system, device and electronic device
CN102595327A (en) MBMS (Multimedia Broadcasting/Multicast Service) triggering method and system
US20230412661A1 (en) Providing transparent multicast content via mobile telecommunication network
Lohmar et al. Scalable push file delivery with MBMS
CN104219296A (en) A kind of Android cloud pushing method and system
WO2014101069A1 (en) Method, device, and system for transmitting m2m service message
Cirani et al. Lightweight Session Initiation for the Internet of Things
KR102106569B1 (en) Method and apparatus for processing traffic for service of high quality

Legal Events

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

Application publication date: 20150128