技术领域technical field
本发明涉及通信技术,尤其是涉及一种基于Web服务的一键业务方法。The invention relates to communication technology, in particular to a one-key business method based on Web service.
背景技术Background technique
近年来,随着聊天工具和社交平台的迅猛发展以及OTT(Over The Top,即互联网公司越过运营商,发展基于开放互联网的各种音视频及数据服务业务)的强势崛起,人们越来越希望能将生活中的点点滴滴通过图片、文字乃至音视频的方式展现出来,并对这些工具、平台的免费性、实时性、稳定性、简单性、安全性提出了更高的要求。对于现有的通讯软件而言,无论在电脑上还是智能终端上,都需要下载安装客户端才能实现音视频的互通,与使用自带的Web浏览器相比,这个过程显然不够便捷。In recent years, with the rapid development of chat tools and social platforms and the strong rise of OTT (Over The Top, that is, Internet companies surpass operators and develop various audio, video and data services based on the open Internet), people are increasingly hoping It can display the bits and pieces of life through pictures, text, and even audio and video, and puts forward higher requirements for the free, real-time, stability, simplicity, and security of these tools and platforms. For the existing communication software, no matter on the computer or the smart terminal, it is necessary to download and install the client to realize the intercommunication of audio and video. Compared with using the built-in Web browser, this process is obviously not convenient enough.
此外,不懂得使用电脑的用户往往需要“傻瓜式”的一键业务行为,目前这种融合鉴权注册、语音、视频、短信/彩信/图片、告警、投票等行为的方法还未展现在人们眼前。这种快捷便利的方式将为用户节省更多的时间和精力,获得更好的用户体验。In addition, users who do not know how to use computers often need "fool-like" one-click business behaviors. At present, this method of integrating authentication registration, voice, video, SMS/MMS/pictures, alarms, and voting has not yet been shown to people. in front of you. This quick and convenient way will save users more time and effort, and get a better user experience.
为了避免下载安装客户端、无法一键进行操作这两个缺点,设计一种基于Web服务的一键业务方法将成为发展的趋势。In order to avoid the two shortcomings of downloading and installing the client and being unable to operate with one key, it will become a development trend to design a one-key business method based on Web services.
发明内容Contents of the invention
本发明的目的是提供一种基于Web服务的一键业务方法。The purpose of the present invention is to provide a one-key business method based on Web service.
本发明包括:用户发起请求之前的一键鉴权注册方法,以及用户发起一键音视频呼叫的方法、用户一键发送图片的方法、用户一键发送短信/彩信的方法、用户一键告警的方法、用户一键发起投票的方法、用户一键接收业务推送的方法、用户一键接收灾害警报紧急推送的方法等中的至少一种。The invention includes: a method for one-key authentication and registration before the user initiates a request, a method for the user to initiate a one-key audio and video call, a method for the user to send a picture with one key, a method for the user to send a short message/MMS with one key, and a method for the user to alarm with one key At least one of the methods, the method for users to initiate voting with one key, the method for users to receive service pushes with one key, the method for users to receive emergency pushes of disaster alarms with one key, etc.
所述用户发起请求之前的一键鉴权注册方法,包括以下步骤:The one-key authentication registration method before the user initiates the request includes the following steps:
步骤S101,用户使用Web浏览器发送鉴权注册请求;Step S101, the user uses a web browser to send an authentication registration request;
步骤S102,网关转发鉴权注册请求,交换控制处理中心到鉴权中心中查看是否存在对应用户的鉴权信息;若是,则跳至步骤S104,否则下一步;Step S102, the gateway forwards the authentication registration request, and the exchange control processing center checks in the authentication center whether there is authentication information of the corresponding user; if so, skip to step S104, otherwise the next step;
步骤S103,交换控制处理中心通过用户数据库服务器到后台数据库中查找对应用户鉴权信息;Step S103, the exchange control processing center searches the background database for corresponding user authentication information through the user database server;
步骤S104,交换控制处理中心判断用户鉴权注册请求是否携带鉴权信息;若是,则跳至步骤S107,否则下一步;Step S104, the exchange control processing center judges whether the user authentication registration request carries authentication information; if so, skip to step S107, otherwise the next step;
步骤S105,交换控制处理中心要求用户发送携带鉴权信息的鉴权注册请求,并为该请求设置定时器,设定最迟到达时间;Step S105, the exchange control processing center requires the user to send an authentication registration request carrying authentication information, and sets a timer for the request, and sets the latest arrival time;
步骤S106,交换控制处理中心判断在定时器超时前是否收到用户发来的携带了鉴权信息的鉴权注册请求,若是,则下一步,否则跳至步骤S109;Step S106, the switching control processing center judges whether the authentication registration request carrying the authentication information sent by the user is received before the timer expires, if so, then the next step, otherwise skip to step S109;
步骤S107,交换控制处理中心判断用户鉴权注册请求中的鉴权信息与本地存储的或后台数据库中的鉴权信息是否一致;若是,则下一步,否则跳至步骤S109;Step S107, the exchange control processing center judges whether the authentication information in the user authentication registration request is consistent with the authentication information stored locally or in the background database; if so, then the next step, otherwise skip to step S109;
步骤S108,用户鉴权注册请求通过,交换控制处理中心通过用户数据库服务器向后台数据库写入用户注册信息;Step S108, the user authentication registration request is passed, and the exchange control processing center writes the user registration information to the background database through the user database server;
步骤S109,通知用户鉴权注册失败;Step S109, notifying the user that the authentication and registration failed;
步骤S110,结束鉴权注册过程。Step S110, end the authentication and registration process.
所述用户发起一键音视频呼叫的方法,包括以下步骤:The method for the user to initiate a one-key audio and video call includes the following steps:
步骤S201,用户1通过Web浏览器向网关1发送音视频呼叫请求;Step S201, user 1 sends an audio and video call request to gateway 1 through a web browser;
步骤S202,网关1回复用户1正在尝试连接;Step S202, gateway 1 replies that user 1 is trying to connect;
步骤S203,网关1向交换控制处理中心发送音视频呼叫请求;Step S203, the gateway 1 sends an audio and video call request to the switching control processing center;
步骤S204,交换控制处理中心回复网关1正在尝试连接;Step S204, the exchange control processing center replies that gateway 1 is trying to connect;
步骤S205,交换控制处理中心向用户数据库模块查询用户2注册信息;Step S205, the exchange control processing center queries the user database module for the registration information of user 2;
步骤S206,用户数据库模块回复交换控制处理中心用户2注册消息;Step S206, the user database module replies to the exchange control processing center with a user 2 registration message;
步骤S207,交换控制处理中心判断用户2是否注册;若是,则下一步,否则通过网关1回复用户1目标用户未注册,无法进行音视频呼叫;Step S207, the exchange control processing center judges whether the user 2 is registered; if so, then the next step, otherwise the gateway 1 replies to the user 1 that the target user is not registered, and cannot perform audio and video calls;
步骤S208,交换控制处理中心向网关2发送音视频呼叫请求;Step S208, the exchange control processing center sends an audio and video call request to the gateway 2;
步骤S209,网关2回复交换控制处理中心正在尝试连接;Step S209, the gateway 2 replies that the switching control processing center is trying to connect;
步骤S210,网关2向用户2发送音视频呼叫请求;Step S210, gateway 2 sends an audio and video call request to user 2;
步骤S211,用户2回复网关2正在尝试连接;Step S211, user 2 replies that gateway 2 is trying to connect;
步骤S212,用户2的Web浏览器建立通信信道;Step S212, the Web browser of user 2 establishes a communication channel;
步骤S213,用户2回复网关2正在响铃;Step S213, user 2 replies that gateway 2 is ringing;
步骤S214,网关2回复交换控制处理中心正在响铃;Step S214, the gateway 2 replies that the switching control processing center is ringing;
步骤S215,交换控制处理中心回复网关1正在响铃;Step S215, the exchange control processing center replies that the gateway 1 is ringing;
步骤S216,网关1回复用户1正在响铃;Step S216, gateway 1 replies that user 1 is ringing;
步骤S217,用户1的Web浏览器建立通信信道;Step S217, the Web browser of user 1 establishes a communication channel;
步骤S218,用户2回复网关2确认接听;Step S218, user 2 replies to gateway 2 to confirm answering;
步骤S219,网关2回复交换控制处理中心确认接听;Step S219, the gateway 2 replies to the exchange control processing center to confirm the answer;
步骤S220,交换控制处理中心回复网关2确认连接建立成功;Step S220, the exchange control processing center replies to the gateway 2 to confirm that the connection is established successfully;
步骤S221,网关2回复用户2确认连接建立成功;Step S221, the gateway 2 replies to the user 2 to confirm that the connection is established successfully;
步骤S222,交换控制处理中心向网关1通知接听成功;In step S222, the switching control processing center notifies the gateway 1 of successful answering;
步骤S223,网关1向用户1通知接听成功;Step S223, gateway 1 notifies user 1 that the answering is successful;
步骤S224,用户1回复网关1确认连接建立成功;Step S224, user 1 replies to gateway 1 to confirm that the connection is successfully established;
步骤S225,网关1回复交换控制处理中心确认连接建立成功;Step S225, gateway 1 replies to the switching control processing center to confirm that the connection is established successfully;
步骤S226,网关1、网关2分别为用户1、用户2转换媒体流格式并转发之。In step S226, gateway 1 and gateway 2 convert the format of the media stream for user 1 and user 2 respectively and forward it.
所述用户一键发送图片的方法,包括以下步骤:The method for the user to send pictures with one key comprises the following steps:
步骤S301,用户1通过Web浏览器向网关1发送图片请求。In step S301, user 1 sends a picture request to gateway 1 through a web browser.
步骤S302,网关1向交换控制处理中心发送图片请求。In step S302, the gateway 1 sends a picture request to the switching control processing center.
步骤S303,交换控制处理中心向用户数据库模块查询用户2注册信息。In step S303, the exchange control processing center queries the user database module for the registration information of user 2.
步骤S304,用户数据库模块回复交换控制处理中心用户2注册消息。In step S304, the user database module replies to the exchange control processing center with a registration message for user 2.
步骤S305,交换控制处理中心判断用户2是否注册;若是,则为在线图片发送,跳至S306,否则为离线图片发送,跳至S306’。Step S305, the exchange control processing center judges whether the user 2 is registered; if so, it is online picture transmission, skip to S306, otherwise it is offline picture transmission, skip to S306'.
步骤S306,交换控制处理中心向网关2发送图片请求。In step S306, the exchange control processing center sends a picture request to the gateway 2.
步骤S307,网关2向用户2发送图片请求。In step S307, the gateway 2 sends a picture request to the user 2.
步骤S308,用户2回复网关2准备接收图片。In step S308, user 2 replies to gateway 2 that it is ready to receive pictures.
步骤S309,网关2回复交换控制处理中心准备接收图片。In step S309, the gateway 2 replies to the exchange control processing center to prepare to receive pictures.
步骤S310,交换控制处理中心回复网关1准备接收图片。In step S310, the exchange control processing center replies to the gateway 1 that it is ready to receive pictures.
步骤S311,网关1回复用户1准备接收图片。In step S311, gateway 1 replies to user 1 that it is ready to receive pictures.
步骤S312,网关1为用户1转发图片至网关2,网关2再将图片发给用户2。In step S312, gateway 1 forwards the picture for user 1 to gateway 2, and gateway 2 sends the picture to user 2.
步骤S306’,交换控制处理中心向短信/彩信/图片中心发送存储离线图片请求。Step S306', the switching control processing center sends a request for storing offline pictures to the SMS/MMS/picture center.
步骤S307’,短信/彩信/图片中心回复交换控制处理中心准备存储离线图片。Step S307', the SMS/MMS/picture center replies to the switching control processing center to prepare to store offline pictures.
步骤S308’,交换控制处理中心回复网关1允许发送离线图片。Step S308', the exchange control processing center replies to the gateway 1 to allow sending offline pictures.
步骤S309’,网关1回复用户1允许发送离线图片。Step S309', gateway 1 replies to user 1 to allow sending offline pictures.
步骤S310’,网关1转发用户1的离线图片给短信/彩信/图片中心。Step S310', the gateway 1 forwards the offline picture of the user 1 to the SMS/MMS/picture center.
步骤S311’,交换控制处理中心发现用户2的成功注册。In step S311', the exchange control processing center discovers the successful registration of user 2.
步骤S312’,交换控制处理中心通知短信/彩信/图片中心转发离线图片。Step S312', the exchange control processing center notifies the SMS/MMS/picture center to forward the offline pictures.
步骤S313’,短信/彩信/图片中心向网关2发送图片请求。Step S313', the SMS/MMS/picture center sends a picture request to the gateway 2.
步骤S314’,网关2向用户2发送图片请求。Step S314', gateway 2 sends a picture request to user 2.
步骤S315’,用户2回复网关2准备接收图片。Step S315', user 2 replies to gateway 2 to prepare to receive pictures.
步骤S316’,网关2回复短信/彩信/图片中心准备接收图片。Step S316', the gateway 2 replies to the SMS/MMS/picture center to prepare to receive pictures.
步骤S317’,网关2转发短信/彩信/图片中心存储的对应离线图片给用户2。Step S317', the gateway 2 forwards the corresponding offline pictures stored in the SMS/MMS/picture center to the user 2.
步骤S318’,短信/彩信/图片中心回复交换控制处理中心离线图片发送成功。In step S318', the SMS/MMS/picture center replies to the exchange control processing center that the offline picture has been sent successfully.
所述用户一键发送短信/彩信的方法,包括以下步骤:The method for the user to send a short message/MMS with one key comprises the following steps:
步骤S401,用户1通过Web浏览器向网关1发送短信/彩信。In step S401, user 1 sends a short message/MMS to gateway 1 through a web browser.
步骤S402,网关1向交换控制处理中心发送短信/彩信。In step S402, the gateway 1 sends a short message/MMS to the switching control processing center.
步骤S403,交换控制处理中心向用户数据库模块查询用户2注册信息。In step S403, the exchange control processing center queries the user database module for the registration information of user 2.
步骤S404,用户数据库模块回复交换控制处理中心用户2注册消息。In step S404, the user database module replies to the exchange control processing center with a registration message for user 2.
步骤S405,交换控制处理中心判断用户2是否注册;若是,则为已注册的目标用户接收短信/彩信,在步骤S406后跳至步骤S407,否则为未注册的目标用户接收短信/彩信,在步骤S406后跳至步骤S407’。Step S405, the exchange control processing center judges whether the user 2 is registered; if so, then receive the short message/MMS for the registered target user, jump to step S407 after the step S406, otherwise receive the short message/MMS for the unregistered target user, and receive the short message/MMS in the step S406 Skip to step S407' after S406.
步骤S406,交换控制处理中心向短信/彩信/图片中心发送短信/彩信。In step S406, the exchange control processing center sends the SMS/MMS to the SMS/MMS/picture center.
步骤S407’,短信/彩信/图片中心存储该短信/彩信。Step S407', the SMS/MMS/picture center stores the SMS/MMS.
步骤S408’,交换控制处理中心发现用户2的成功注册。Step S408', the exchange control processing center discovers the successful registration of user 2.
步骤S409’,交换控制处理中心通知短信/彩信/图片中心转发短信/彩信。Step S409', the exchange control processing center notifies the SMS/MMS/picture center to forward the SMS/MMS.
步骤S410’,短信/彩信/图片中心向交换控制处理中心确认收到该通知。In step S410', the SMS/MMS/picture center confirms receipt of the notification to the switching control processing center.
步骤S411’,短信/彩信/图片中心向网关2发送存储的对应短信/彩信。In step S411', the SMS/MMS/picture center sends the stored corresponding SMS/MMS to the gateway 2.
步骤S412’,网关2发送短信/彩信给用户2。Step S412', gateway 2 sends SMS/MMS to user 2.
步骤S413’,用户2回复网关2短信/彩信已送达。Step S413', user 2 replies to gateway 2 that the SMS/MMS has been delivered.
步骤S414’,网关2回复短信/彩信/图片中心短信/彩信已送达。In step S414', the gateway 2 replies that the SMS/MMS/MMS has been delivered to the picture center.
步骤S415’,短信/彩信/图片中心回复交换控制处理中心短信/彩信已送达。In step S415', the SMS/MMS/picture center replies to the exchange control processing center that the SMS/MMS has been delivered.
步骤S416’,交换控制处理中心回复网关1短信/彩信已送达。Step S416', the exchange control processing center replies to gateway 1 that the SMS/MMS has been delivered.
步骤S417’,网关1回复用户1短信/彩信已送达。Step S417', gateway 1 replies to user 1 that the SMS/MMS has been delivered.
所述用户一键告警的方法,包括以下步骤:The method for one-click alarm for the user comprises the following steps:
步骤S501,用户通过Web浏览器向网关告警。In step S501, the user sends an alarm to the gateway through a web browser.
步骤S502,网关向交换控制处理中心告警。Step S502, the gateway sends an alarm to the switching control processing center.
步骤S503,交换控制处理中心向告警中心告警。Step S503, the exchange control processing center sends an alarm to the alarm center.
步骤S504,告警中心处理告警,向社区中心或110指挥中心等告警。In step S504, the alarm center processes the alarm and sends an alarm to the community center or the 110 command center.
步骤S505,告警中心回复交换控制处理中心,确认告警成功。In step S505, the alarm center replies to the switching control processing center, confirming that the alarm is successful.
步骤S506,交换控制处理中心将用户告警记录写入用户数据库模块。Step S506, the exchange control processing center writes the user alarm record into the user database module.
步骤S507,用户数据库模块回复交换控制处理中心,确认成功写入用户告警记录。Step S507, the user database module replies to the exchange control processing center, confirming that the user alarm record is successfully written.
步骤S508,交换控制处理中心回复网关告警成功。Step S508, the exchange control processing center replies the gateway alarm successfully.
步骤S509,网关回复用户告警成功。In step S509, the gateway successfully replies to the user with an alarm.
所述用户一键发起投票的方法,包括以下步骤:The method for the user to initiate a vote with one key comprises the following steps:
步骤S601,用户1通过Web浏览器向网关1发起投票请求。In step S601, user 1 initiates a voting request to gateway 1 through a web browser.
步骤S602,网关1向交换控制处理中心发起投票请求。In step S602, gateway 1 initiates a voting request to the exchange control processing center.
步骤S603,由于投票一般会有多个用户,所以用X表示其中任意一个用户,交换控制处理中心向用户数据库模块查询用户X注册信息。In step S603, since there are usually multiple users voting, X represents any user among them, and the exchange control processing center queries the user database module for the registration information of user X.
步骤S604,用户数据库模块回复交换控制处理中心用户X注册消息。Step S604, the user database module replies to the exchange control processing center with a user X registration message.
步骤S605,交换控制处理中心判断用户X是否注册,并将这些用户的注册信息放在将要发送给投票中心的消息中。Step S605, the exchange control processing center judges whether the user X is registered, and puts the registration information of these users in the message to be sent to the voting center.
步骤S606,交换控制处理中心通知投票中心有新的投票发起。In step S606, the exchange control processing center notifies the voting center that a new voting is initiated.
步骤S607,投票中心向交换控制处理中心确认收到通知。In step S607, the voting center confirms receipt of the notification to the exchange control processing center.
步骤S608,交换控制处理中心向网关1确认投票请求已受理。Step S608, the exchange control processing center confirms to the gateway 1 that the voting request has been accepted.
步骤S609,网关1向用户1确认投票请求已受理。Step S609, Gateway 1 confirms to User 1 that the voting request has been accepted.
步骤S610,投票中心为本次投票开启投票定时器。In step S610, the voting center starts a voting timer for this voting.
步骤S611,投票中心发起投票请求给网关X;未注册用户在定时器超时前若注册成功,则交换控制处理中心通知投票中心触发本步骤。In step S611, the voting center sends a voting request to gateway X; if the unregistered user successfully registers before the timer expires, the exchange control processing center notifies the voting center to trigger this step.
步骤S612,网关X向用户X发起投票请求。Step S612, gateway X initiates a voting request to user X.
步骤S613,用户X回复个人投票结果。In step S613, user X replies with the personal voting result.
步骤S614,网关X转发用户X的投票结果给投票中心。Step S614, gateway X forwards the voting result of user X to the voting center.
步骤S615,投票中心的投票定时器超时后开始计票。以下方式记为弃权:已注册用户不回复投票结果;未注册用户在超时前始终未注册;未注册用户在超时前注册成功,但不回复投票结果。In step S615, counting votes starts after the voting timer of the voting center expires. The following methods are recorded as abstention: registered users do not reply to voting results; unregistered users do not register before the timeout; unregistered users successfully register before the timeout, but do not reply to voting results.
步骤S616,投票中心通知计票结果给网关1。In step S616, the voting center notifies the gateway 1 of the counting result.
步骤S617,网关1通知计票结果给用户1。In step S617, gateway 1 notifies user 1 of the vote counting result.
步骤S618,投票中心通知计票结果给网关X。Step S618, the voting center notifies the gateway X of the counting result.
步骤S619,网关X通知计票结果给用户X。In step S619, gateway X notifies user X of the vote counting result.
步骤S620,用户1向网关1确认收到计票结果。In step S620, user 1 confirms to gateway 1 that the vote counting result has been received.
步骤S621,网关1向投票中心确认收到计票结果。In step S621, gateway 1 confirms receipt of the vote counting result to the voting center.
步骤S622,用户X向网关X确认收到计票结果。In step S622, user X confirms to gateway X that the vote counting result has been received.
步骤S623,网关X向投票中心确认收到计票结果。In step S623, gateway X confirms receipt of the vote counting result to the voting center.
所述用户一键接收业务推送的方法,包括以下步骤:The method for the user to receive service push with one key comprises the following steps:
步骤S701,管理员通过Web管理页面修改后台数据库业务,触发Web管理页面向用户数据库模块发送业务推送请求。In step S701, the administrator modifies the background database service through the web management page, and triggers the web management page to send a service push request to the user database module.
步骤S702,用户数据库模块向交换控制处理中心发送业务推送请求。Step S702, the user database module sends a service push request to the switching control processing center.
步骤S703,交换控制处理中心向对应网关下发业务推送的具体内容。In step S703, the exchange control processing center delivers the specific content of the service push to the corresponding gateway.
步骤S704,网关转发业务推送具体内容给用户。In step S704, the gateway forwards the service push specific content to the user.
步骤S705,用户向网关确认接收推送成功。Step S705, the user confirms to the gateway that the push is successfully received.
步骤S706,网关向交换控制处理中心确认接收推送成功。In step S706, the gateway confirms to the exchange control processing center that the push is successfully received.
步骤S707,交换控制处理中心向用户数据库模块回复业务推送结果。In step S707, the exchange control processing center replies the service pushing result to the user database module.
步骤S708,用户数据库模块向管理员回复业务推送结果,该结果在Web管理页面上显示。Step S708, the user database module replies to the administrator with the result of the service push, and the result is displayed on the web management page.
所述用户一键接收灾害警报紧急推送的方法,包括以下步骤:The method for the user to receive emergency pushes of disaster alerts with one key comprises the following steps:
步骤S801,管理员通过Web管理页面向交换控制处理中心发送灾害警报。In step S801, the administrator sends a disaster alarm to the exchange control processing center through the web management page.
步骤S802,交换控制处理中心向短信/彩信/图片中心发送灾害警报构建请求。In step S802, the exchange control processing center sends a disaster alert construction request to the SMS/MMS/picture center.
步骤S803,短信/彩信/图片中心使用灾害警报内容构建相应的紧急推送短信。In step S803, the SMS/MMS/picture center constructs a corresponding emergency push SMS using the disaster warning content.
步骤S804,短信/彩信/图片中心回复交换控制处理中心短信构建成功。In step S804, the short message/MMS/picture center replies to the switching control processing center that the short message has been constructed successfully.
步骤S805,短信/彩信/图片中心向网关X下发灾害警报紧急推送短信。In step S805, the SMS/MMS/picture center sends a disaster alarm emergency push SMS to the gateway X.
步骤S806,网关X向用户X发送该短信。Step S806, gateway X sends the short message to user X.
步骤S807,用户X回复网关X短信已送达。In step S807, user X replies to gateway X that the short message has been delivered.
步骤S808,网关X回复短信/彩信/图片中心短信已送达。In step S808, gateway X replies that the SMS/MMS/picture center SMS has been delivered.
步骤S809,短信/彩信/图片中心统计短信送达个数,并重发短信给未确认“短信已送达”的用户(已确认但中途丢包或用户未确认均算在内),重发若干次后,若还未确认,则不再发送。Step S809, the SMS/MMS/Picture Center counts the number of SMS delivered, and resends the SMS to users who have not confirmed that "the SMS has been delivered" (confirmed but lost packets in the middle or the user does not confirm), and resends several After times, if it has not been confirmed, it will not be sent again.
步骤S810,短信/彩信/图片中心向交换控制处理中心回复紧急推送短信发送情况。In step S810, the SMS/MMS/picture center replies to the exchange control processing center about sending the emergency push message.
步骤S811,交换控制处理中心向短信/彩信/图片中心确认收到信息。In step S811, the exchange control processing center confirms receipt of the message to the SMS/MMS/picture center.
步骤S812,交换控制处理中心向管理员回复灾害警报紧急推送短信的发送情况,该情况在Web管理界面上显示。In step S812, the exchange control processing center replies to the administrator about the sending status of the disaster alarm emergency push message, and the status is displayed on the Web management interface.
本发明的架构设有用户Web浏览器、Web后台服务器、交换控制处理模块、网关、用户数据库模块、Web管理页面。The framework of the invention is provided with a user Web browser, a Web background server, an exchange control processing module, a gateway, a user database module, and a Web management page.
所述用户Web浏览器提供用户可视化的操作界面,含有登录、音频、视频、发短信/彩信/图片、告警、投票等按键,能分别一键完成鉴权注册、音频呼叫、视频呼叫、发送短信/彩信/图片、告警、发起投票等一系列行为;The user's Web browser provides a user-visible operation interface, including buttons such as login, audio, video, text message/MMS/picture, alarm, and voting, and can complete authentication registration, audio call, video call, and send text messages with one key. A series of behaviors such as /MMS/picture, alarm, and voting;
所述Web后台服务器为用户Web浏览器提供代码库以实现用户Web浏览器的消息发送、接收与图片、媒体流的采集、编解码、发送、接收;Described Web background server provides code base for user's Web browser to realize the message sending of user's Web browser, receive and picture, the collection of media stream, codec, send, receive;
所述交换控制处理模块设有交换控制处理中心、鉴权中心、短信/彩信/图片中心、告警中心、投票中心等,以交换控制处理中心为主,将所有用户请求放入各对应中心处理;所述鉴权中心处理用户的鉴权请求,它存有鉴权信息表,可保存用户正确的鉴权信息;所述短信/彩信/图片中心处理短信和彩信的生成、内容检验、存储、转发以及离线图片的存储、转发;所述告警中心处理用户的告警信息,并与社区中心或110指挥中心等连接,做到及时报警;所述投票中心处理用户发起的多人投票请求,并统计票数结果反馈给参与用户;所述交换控制处理中心处理所有到来的请求,对于音视频呼叫及在线图片的转发信令自行处理,对于其他请求则将其推入对应中心处理,并将处理的最终结果告知用户;The exchange control processing module is provided with an exchange control processing center, an authentication center, a short message/MMS/picture center, an alarm center, a voting center, etc., and the exchange control processing center is the main center, and all user requests are put into each corresponding center for processing; The authentication center processes the user's authentication request, and it has an authentication information table, which can save the user's correct authentication information; the short message/MMS/picture center handles the generation, content inspection, storage and forwarding of short messages and multimedia messages And the storage and forwarding of offline pictures; the alarm center processes the user's alarm information, and connects with the community center or 110 command center to achieve timely alarm; the voting center processes the multi-person voting request initiated by the user, and counts the number of votes The results are fed back to the participating users; the exchange control processing center processes all incoming requests, and handles the forwarding signaling of audio and video calls and online pictures by itself, and pushes other requests to the corresponding center for processing, and sends the final result of the processing inform the user;
所述网关为用户Web浏览器和交换控制处理中心做不同应用层协议封装的信令格式转换,同时为用户Web浏览器间做媒体流的格式转换、转发以及图片的转发;The gateway performs the signaling format conversion of different application layer protocol encapsulations for the user's Web browser and the exchange control processing center, and simultaneously performs the format conversion, forwarding and picture forwarding of the media stream between the user's Web browsers;
所述用户数据库模块设有用户数据库服务器和后台数据库;所述后台数据库存储用户的各项信息;所述用户数据库服务器根据交换控制处理中心的请求对后台数据库进行查询或修改,返回查询结果或修改成功与否,并将Web管理页面对后台数据库的业务修改推送至交换控制处理中心;The user database module is provided with a user database server and a background database; the background database stores various information of the user; the user database server queries or modifies the background database according to the request of the exchange control processing center, returns query results or modifies Whether it is successful or not, and the business modification of the background database on the web management page is pushed to the exchange control processing center;
所述Web管理页面为管理员提供可视化操作页面,便于后台数据库的业务修改,并及时通过交换控制处理中心对用户Web浏览器下发灾害警报等紧急消息。The web management page provides a visual operation page for the administrator to facilitate the business modification of the background database, and timely sends emergency messages such as disaster alarms to the user's web browser through the exchange control processing center.
所述用户Web浏览器包括但不限于谷歌、火狐、欧朋浏览器,能在台式电脑、平板电脑、智能手机上运行,在外网时能通过2G/3G/4G、WIFI、有线宽带连接到所述网关。The user's Web browser includes but is not limited to Google, Firefox, and Openg browser, which can run on desktop computers, tablet computers, and smart phones, and can connect to all websites through 2G/3G/4G, WIFI, and wired broadband when on the external network. mentioned gateway.
所述信令包括但不限于SIP、WebSocket、Diameter信令。The signaling includes but not limited to SIP, WebSocket, and Diameter signaling.
本发明采用Web浏览器的方式进行通信,只需要在Web浏览器中输入Web后台服务器的地址,就能通过网页上的按键完成鉴权注册、音视频呼叫、发送短信/彩信/图片、告警、投票等行为,这些行为通过交换控制处理模块管理,使安全性得到保障。网关和用户数据库模块的存在分担了交换控制处理模块的压力,满足实时性,而Web管理页面则为管理员提供便利。The present invention adopts the mode of Web browser to carry out communication, only needs to input the address of Web background server in Web browser, just can complete authentication registration, audio and video call, send short message/MMS/picture, alarm, Behaviors such as voting, these behaviors are managed by the exchange control processing module, so that security is guaranteed. The existence of the gateway and the user database module share the pressure of the exchange control processing module and meet the real-time requirement, while the Web management page provides convenience for the administrator.
附图说明Description of drawings
图1为本发明实施例的架构图。FIG. 1 is a structure diagram of an embodiment of the present invention.
图2为本发明实施例的用户一键鉴权注册流程图。Fig. 2 is a flow chart of user one-key authentication and registration according to the embodiment of the present invention.
图3为本发明实施例的用户一键音视频呼叫流程图。Fig. 3 is a flow chart of a user's one-key audio and video call according to an embodiment of the present invention.
图4为本发明实施例的用户一键发送图片流程图。FIG. 4 is a flow chart of one-click sending of pictures by a user according to an embodiment of the present invention.
图5为本发明实施例的用户一键发送短信/彩信流程图。FIG. 5 is a flow chart of sending a short message/MMS by a user with one key according to an embodiment of the present invention.
图6为本发明实施例的用户一键告警流程图。FIG. 6 is a flow chart of the one-key alarm for the user according to the embodiment of the present invention.
图7为本发明实施例的用户一键发起投票流程图。Fig. 7 is a flow chart of voting initiated by a user with one key according to an embodiment of the present invention.
图8为本发明实施例的用户一键接收业务推送流程图。Fig. 8 is a flow chart of one-key receiving service push by a user according to an embodiment of the present invention.
图9为本发明实施例的用户一键接收灾害警报紧急推送流程图。FIG. 9 is a flow chart of one-click emergency push notification for users to receive disaster alerts according to an embodiment of the present invention.
具体实施方式detailed description
以下实施例结合附图对本发明做进一步的说明。The following embodiments further illustrate the present invention in conjunction with the accompanying drawings.
本发明的核心是通过设计一种基于Web服务的一键业务方法,从而及时、方便、安全地支撑多种业务的应用与扩展,使得用户无论是在户外还是户内,都可以使用电脑或智能手机实现自己想完成的事务。该方法不受编程语言的限制,具有良好的安全性和扩展性。The core of the present invention is to design a one-key service method based on Web services, thereby supporting the application and expansion of various services in a timely, convenient and safe manner, so that users can use computers or smart phones no matter they are outdoors or indoors. The mobile phone realizes the affairs you want to complete. This method is not restricted by programming language, and has good security and expansibility.
参见图1,本发明的架构包括用户Web浏览器、Web后台服务器、交换控制处理模块、网关、用户数据库模块、Web管理页面。用户Web浏览器通过调用Web后台服务器的代码库实现一键业务功能。交换控制处理模块以交换控制处理中心为主,兼具鉴权中心、短信/彩信/图片中心、告警中心、投票中心等,负责处理各式各样的用户请求。网关连接用户Web浏览器和交换控制处理中心,负责不同应用层协议封装的信令格式转换和媒体流的格式转换、转发以及图片的转发。用户数据库模块包含用户数据库服务器和后台数据库,负责处理交换控制处理中心对后台数据库的操作,存储用户各项信息,并主动推送Web管理页面对后台数据库业务的修改。Web管理页面还能编辑紧急信息(如灾害警报)以告知用户。Referring to Fig. 1, the architecture of the present invention includes a user Web browser, a Web background server, an exchange control processing module, a gateway, a user database module, and a Web management page. The user's web browser realizes the one-click service function by calling the code base of the web background server. The exchange control processing module is mainly based on the exchange control processing center, and also has an authentication center, SMS/MMS/picture center, alarm center, voting center, etc., and is responsible for processing various user requests. The gateway connects the user's web browser and the exchange control processing center, and is responsible for the format conversion of signaling encapsulated by different application layer protocols, the format conversion and forwarding of media streams, and the forwarding of pictures. The user database module includes a user database server and a background database, which is responsible for processing the operation of the exchange control processing center on the background database, storing various information of users, and actively pushing the modification of the background database business on the Web management page. The web management page can also edit emergency information (such as disaster alerts) to inform users.
本发明包括:用户发起请求之前的一键鉴权注册方法,以及用户发起一键音视频呼叫的方法、用户一键发送图片的方法、用户一键发送短信/彩信的方法、用户一键告警的方法、用户一键发起投票的方法、用户一键接收业务推送的方法、用户一键接收灾害警报紧急推送的方法等中的至少一种。The invention includes: a method for one-key authentication and registration before the user initiates a request, a method for the user to initiate a one-key audio and video call, a method for the user to send a picture with one key, a method for the user to send a short message/MMS with one key, and a method for the user to alarm with one key At least one of the methods, the method for users to initiate voting with one key, the method for users to receive service pushes with one key, the method for users to receive emergency pushes of disaster alarms with one key, etc.
参见图2,本发明提供一种用户发起请求之前的一键鉴权注册方法,包括步骤S101至步骤S110。Referring to FIG. 2 , the present invention provides a one-key authentication registration method before a user initiates a request, including steps S101 to S110.
步骤S101,用户使用Web浏览器发送鉴权注册请求。In step S101, the user sends an authentication registration request using a web browser.
步骤S102,网关转发鉴权注册请求,交换控制处理中心到鉴权中心中查看是否存在对应用户的鉴权信息;若是,则跳至步骤S104,否则下一步。In step S102, the gateway forwards the authentication registration request, and the exchange control processing center checks in the authentication center whether there is authentication information of the corresponding user; if yes, skip to step S104, otherwise, go to the next step.
步骤S103,交换控制处理中心通过用户数据库服务器到后台数据库中查找对应用户鉴权信息。In step S103, the exchange control processing center searches the background database for corresponding user authentication information through the user database server.
步骤S104,交换控制处理中心判断用户鉴权注册请求是否携带鉴权信息;若是,则跳至步骤S107,否则下一步。Step S104, the exchange control processing center judges whether the user authentication registration request carries authentication information; if yes, skip to step S107, otherwise, go to the next step.
步骤S105,交换控制处理中心要求用户发送携带鉴权信息的鉴权注册请求,并为该请求设置定时器,设定最迟到达时间。In step S105, the exchange control processing center requires the user to send an authentication registration request carrying authentication information, and sets a timer for the request, and sets the latest arrival time.
步骤S106,交换控制处理中心判断在定时器超时前是否收到用户发来的携带了鉴权信息的鉴权注册请求,若是,则下一步,否则跳至步骤S109。In step S106, the switching control processing center judges whether an authentication registration request carrying authentication information is received from the user before the timer expires, if yes, proceed to the next step, otherwise skip to step S109.
步骤S107,交换控制处理中心判断用户鉴权注册请求中的鉴权信息与本地存储的或后台数据库中的鉴权信息是否一致;若是,则下一步,否则跳至步骤S109。Step S107, the exchange control processing center judges whether the authentication information in the user authentication registration request is consistent with the authentication information stored locally or in the background database; if yes, go to the next step, otherwise skip to step S109.
步骤S108,用户鉴权注册请求通过,交换控制处理中心通过用户数据库服务器向后台数据库写入用户注册信息。Step S108, the user authentication and registration request is passed, and the switching control processing center writes the user registration information into the background database through the user database server.
步骤S109,通知用户鉴权注册失败。In step S109, the user is notified that the authentication and registration fail.
步骤S110,结束鉴权注册过程。Step S110, end the authentication and registration process.
参见图3,本发明提供一种用户发起一键音视频呼叫的方法,包括步骤S201至步骤S226。Referring to FIG. 3 , the present invention provides a method for a user to initiate a one-touch audio and video call, including steps S201 to S226.
步骤S201,用户1通过Web浏览器向网关1发送音视频呼叫请求。In step S201, user 1 sends an audio and video call request to gateway 1 through a web browser.
步骤S202,网关1回复用户1正在尝试连接。In step S202, gateway 1 replies that user 1 is trying to connect.
步骤S203,网关1向交换控制处理中心发送音视频呼叫请求。In step S203, the gateway 1 sends an audio and video call request to the switching control processing center.
步骤S204,交换控制处理中心回复网关1正在尝试连接。In step S204, the switching control processing center replies that the gateway 1 is trying to connect.
步骤S205,交换控制处理中心向用户数据库模块查询用户2注册信息。In step S205, the exchange control processing center queries the user database module for the registration information of user 2.
步骤S206,用户数据库模块回复交换控制处理中心用户2注册消息。In step S206, the user database module replies to the exchange control processing center with a registration message for user 2.
步骤S207,交换控制处理中心判断用户2是否注册;若是,则下一步,否则通过网关1回复用户1目标用户未注册,无法进行音视频呼叫。In step S207, the exchange control processing center judges whether user 2 is registered; if so, proceed to the next step, otherwise, the gateway 1 replies to user 1 that the target user is not registered, and audio and video calls cannot be made.
步骤S208,交换控制处理中心向网关2发送音视频呼叫请求。In step S208, the switching control processing center sends an audio and video call request to the gateway 2.
步骤S209,网关2回复交换控制处理中心正在尝试连接。In step S209, the gateway 2 replies that the switching control processing center is trying to connect.
步骤S210,网关2向用户2发送音视频呼叫请求。In step S210, gateway 2 sends an audio and video call request to user 2.
步骤S211,用户2回复网关2正在尝试连接。In step S211, user 2 replies that gateway 2 is trying to connect.
步骤S212,用户2的Web浏览器建立通信信道。In step S212, the Web browser of user 2 establishes a communication channel.
步骤S213,用户2回复网关2正在响铃。In step S213, user 2 replies that gateway 2 is ringing.
步骤S214,网关2回复交换控制处理中心正在响铃。In step S214, the gateway 2 replies that the switching control processing center is ringing.
步骤S215,交换控制处理中心回复网关1正在响铃。In step S215, the switching control processing center replies that the gateway 1 is ringing.
步骤S216,网关1回复用户1正在响铃。In step S216, gateway 1 replies that user 1 is ringing.
步骤S217,用户1的Web浏览器建立通信信道。In step S217, the Web browser of user 1 establishes a communication channel.
步骤S218,用户2回复网关2确认接听。In step S218, user 2 replies to gateway 2 to confirm answering.
步骤S219,网关2回复交换控制处理中心确认接听。In step S219, the gateway 2 replies to the switching control processing center to confirm the answering.
步骤S220,交换控制处理中心回复网关2确认连接建立成功。In step S220, the exchange control processing center replies to the gateway 2 to confirm that the connection is established successfully.
步骤S221,网关2回复用户2确认连接建立成功。In step S221, the gateway 2 replies to the user 2 to confirm that the connection is established successfully.
步骤S222,交换控制处理中心向网关1通知接听成功。In step S222, the exchange control processing center notifies the gateway 1 that the answering is successful.
步骤S223,网关1向用户1通知接听成功。In step S223, the gateway 1 notifies the user 1 that the answering is successful.
步骤S224,用户1回复网关1确认连接建立成功。In step S224, user 1 replies to gateway 1 to confirm that the connection is established successfully.
步骤S225,网关1回复交换控制处理中心确认连接建立成功。In step S225, the gateway 1 replies to the switching control processing center to confirm that the connection is established successfully.
步骤S226,网关1、网关2分别为用户1、用户2转换媒体流格式并转发之。In step S226, gateway 1 and gateway 2 convert the format of the media stream for user 1 and user 2 respectively and forward it.
参见图4,本发明提供一种用户一键发送图片的方法,包括以下步骤:Referring to Fig. 4, the present invention provides a method for a user to send a picture with one key, including the following steps:
步骤S301,用户1通过Web浏览器向网关1发送图片请求。In step S301, user 1 sends a picture request to gateway 1 through a web browser.
步骤S302,网关1向交换控制处理中心发送图片请求。In step S302, the gateway 1 sends a picture request to the switching control processing center.
步骤S303,交换控制处理中心向用户数据库模块查询用户2注册信息。In step S303, the exchange control processing center queries the user database module for the registration information of user 2.
步骤S304,用户数据库模块回复交换控制处理中心用户2注册消息。In step S304, the user database module replies to the exchange control processing center with a registration message for user 2.
步骤S305,交换控制处理中心判断用户2是否注册;若是,则为在线图片发送,跳至S306,否则为离线图片发送,跳至S306’。Step S305, the exchange control processing center judges whether the user 2 is registered; if so, then it is online picture transmission, skip to S306, otherwise it is offline picture transmission, skip to S306'.
步骤S306,交换控制处理中心向网关2发送图片请求。In step S306, the exchange control processing center sends a picture request to the gateway 2.
步骤S307,网关2向用户2发送图片请求。In step S307, the gateway 2 sends a picture request to the user 2.
步骤S308,用户2回复网关2准备接收图片。In step S308, user 2 replies to gateway 2 that it is ready to receive pictures.
步骤S309,网关2回复交换控制处理中心准备接收图片。In step S309, the gateway 2 replies to the exchange control processing center to prepare to receive pictures.
步骤S310,交换控制处理中心回复网关1准备接收图片。In step S310, the exchange control processing center replies to the gateway 1 that it is ready to receive pictures.
步骤S311,网关1回复用户1准备接收图片。In step S311, gateway 1 replies to user 1 that it is ready to receive pictures.
步骤S312,网关1为用户1转发图片至网关2,网关2再将图片发给用户2。In step S312, gateway 1 forwards the picture for user 1 to gateway 2, and gateway 2 sends the picture to user 2.
步骤S306’,交换控制处理中心向短信/彩信/图片中心发送存储离线图片请求。Step S306', the switching control processing center sends a request for storing offline pictures to the SMS/MMS/picture center.
步骤S307’,短信/彩信/图片中心回复交换控制处理中心准备存储离线图片。Step S307', the SMS/MMS/picture center replies to the switching control processing center to prepare to store offline pictures.
步骤S308’,交换控制处理中心回复网关1允许发送离线图片。Step S308', the exchange control processing center replies to the gateway 1 to allow sending offline pictures.
步骤S309’,网关1回复用户1允许发送离线图片。Step S309', gateway 1 replies to user 1 to allow sending offline pictures.
步骤S310’,网关1转发用户1的离线图片给短信/彩信/图片中心。Step S310', the gateway 1 forwards the offline picture of the user 1 to the SMS/MMS/picture center.
步骤S311’,交换控制处理中心发现用户2的成功注册。In step S311', the exchange control processing center discovers the successful registration of user 2.
步骤S312’,交换控制处理中心通知短信/彩信/图片中心转发离线图片。Step S312', the exchange control processing center notifies the SMS/MMS/picture center to forward the offline pictures.
步骤S313’,短信/彩信/图片中心向网关2发送图片请求。Step S313', the SMS/MMS/picture center sends a picture request to the gateway 2.
步骤S314’,网关2向用户2发送图片请求。Step S314', gateway 2 sends a picture request to user 2.
步骤S315’,用户2回复网关2准备接收图片。Step S315', user 2 replies to gateway 2 to prepare to receive pictures.
步骤S316’,网关2回复短信/彩信/图片中心准备接收图片。Step S316', the gateway 2 replies to the SMS/MMS/picture center to prepare to receive pictures.
步骤S317’,网关2转发短信/彩信/图片中心存储的对应离线图片给用户2。Step S317', the gateway 2 forwards the corresponding offline pictures stored in the SMS/MMS/picture center to the user 2.
步骤S318’,短信/彩信/图片中心回复交换控制处理中心离线图片发送成功。In step S318', the SMS/MMS/picture center replies to the exchange control processing center that the offline picture has been sent successfully.
参见图5,本发明提供一种用户一键发送短信/彩信的方法,包括以下步骤:Referring to Fig. 5, the present invention provides a method for a user to send a short message/MMS with one key, comprising the following steps:
步骤S401,用户1通过Web浏览器向网关1发送短信/彩信。In step S401, user 1 sends a short message/MMS to gateway 1 through a web browser.
步骤S402,网关1向交换控制处理中心发送短信/彩信。In step S402, the gateway 1 sends a short message/MMS to the switching control processing center.
步骤S403,交换控制处理中心向用户数据库模块查询用户2注册信息。In step S403, the exchange control processing center queries the user database module for the registration information of user 2.
步骤S404,用户数据库模块回复交换控制处理中心用户2注册消息。In step S404, the user database module replies to the exchange control processing center with a registration message for user 2.
步骤S405,交换控制处理中心判断用户2是否注册;若是,则为已注册的目标用户接收短信/彩信,在步骤S406后跳至步骤S407,否则为未注册的目标用户接收短信/彩信,在步骤S406后跳至步骤S407’。Step S405, the exchange control processing center judges whether the user 2 is registered; if so, then receive the short message/MMS for the registered target user, jump to step S407 after the step S406, otherwise receive the short message/MMS for the unregistered target user, and in the step S406 Skip to step S407' after S406.
步骤S406,交换控制处理中心向短信/彩信/图片中心发送短信/彩信。In step S406, the exchange control processing center sends the SMS/MMS to the SMS/MMS/picture center.
步骤S407’,短信/彩信/图片中心存储该短信/彩信。Step S407', the SMS/MMS/picture center stores the SMS/MMS.
步骤S408’,交换控制处理中心发现用户2的成功注册。Step S408', the exchange control processing center discovers the successful registration of user 2.
步骤S409’,交换控制处理中心通知短信/彩信/图片中心转发短信/彩信。Step S409', the exchange control processing center notifies the SMS/MMS/picture center to forward the SMS/MMS.
步骤S410’,短信/彩信/图片中心向交换控制处理中心确认收到该通知。In step S410', the SMS/MMS/picture center confirms receipt of the notification to the switching control processing center.
步骤S411’,短信/彩信/图片中心向网关2发送存储的对应短信/彩信。In step S411', the SMS/MMS/picture center sends the stored corresponding SMS/MMS to the gateway 2.
步骤S412’,网关2发送短信/彩信给用户2。Step S412', gateway 2 sends SMS/MMS to user 2.
步骤S413’,用户2回复网关2短信/彩信已送达。Step S413', user 2 replies to gateway 2 that the SMS/MMS has been delivered.
步骤S414’,网关2回复短信/彩信/图片中心短信/彩信已送达。In step S414', the gateway 2 replies that the SMS/MMS/MMS has been delivered to the picture center.
步骤S415’,短信/彩信/图片中心回复交换控制处理中心短信/彩信已送达。In step S415', the SMS/MMS/picture center replies to the exchange control processing center that the SMS/MMS has been delivered.
步骤S416’,交换控制处理中心回复网关1短信/彩信已送达。Step S416', the switching control processing center replies to gateway 1 that the SMS/MMS has been delivered.
步骤S417’,网关1回复用户1短信/彩信已送达。Step S417', gateway 1 replies to user 1 that the SMS/MMS has been delivered.
参见图6,本发明提供一种用户一键告警的方法,包括步骤S501至步骤S509。Referring to FIG. 6 , the present invention provides a method for one-click alarm for the user, including steps S501 to S509.
步骤S501,用户通过Web浏览器向网关告警。In step S501, the user sends an alarm to the gateway through a web browser.
步骤S502,网关向交换控制处理中心告警。Step S502, the gateway sends an alarm to the switching control processing center.
步骤S503,交换控制处理中心向告警中心告警。Step S503, the exchange control processing center sends an alarm to the alarm center.
步骤S504,告警中心处理告警,向社区中心或110指挥中心等告警。In step S504, the alarm center processes the alarm and sends an alarm to the community center or the 110 command center.
步骤S505,告警中心回复交换控制处理中心,确认告警成功。In step S505, the alarm center replies to the switching control processing center, confirming that the alarm is successful.
步骤S506,交换控制处理中心将用户告警记录写入用户数据库模块。Step S506, the exchange control processing center writes the user alarm record into the user database module.
步骤S507,用户数据库模块回复交换控制处理中心,确认成功写入用户告警记录。Step S507, the user database module replies to the exchange control processing center, confirming that the user alarm record is successfully written.
步骤S508,交换控制处理中心回复网关告警成功。Step S508, the exchange control processing center replies the gateway alarm successfully.
步骤S509,网关回复用户告警成功。In step S509, the gateway successfully replies to the user with an alarm.
参见图7,本发明提供一种用户一键发起投票的方法,包括步骤S601至步骤S623。Referring to FIG. 7 , the present invention provides a method for a user to initiate a vote with one key, including steps S601 to S623.
步骤S601,用户1通过Web浏览器向网关1发起投票请求。In step S601, user 1 initiates a voting request to gateway 1 through a web browser.
步骤S602,网关1向交换控制处理中心发起投票请求。In step S602, gateway 1 initiates a voting request to the exchange control processing center.
步骤S603,由于投票一般会有多个用户,所以用X表示其中任意一个用户,交换控制处理中心向用户数据库模块查询用户X注册信息。In step S603, since there are usually multiple users voting, X represents any user among them, and the exchange control processing center queries the user database module for the registration information of user X.
步骤S604,用户数据库模块回复交换控制处理中心用户X注册消息。Step S604, the user database module replies to the exchange control processing center with a user X registration message.
步骤S605,交换控制处理中心判断用户X是否注册,并将这些用户的注册信息放在将要发送给投票中心的消息中。Step S605, the exchange control processing center judges whether the user X is registered, and puts the registration information of these users in the message to be sent to the voting center.
步骤S606,交换控制处理中心通知投票中心有新的投票发起。In step S606, the exchange control processing center notifies the voting center that a new voting is initiated.
步骤S607,投票中心向交换控制处理中心确认收到通知。In step S607, the voting center confirms receipt of the notification to the exchange control processing center.
步骤S608,交换控制处理中心向网关1确认投票请求已受理。Step S608, the exchange control processing center confirms to the gateway 1 that the voting request has been accepted.
步骤S609,网关1向用户1确认投票请求已受理。Step S609, Gateway 1 confirms to User 1 that the voting request has been accepted.
步骤S610,投票中心为本次投票开启投票定时器。In step S610, the voting center starts a voting timer for this voting.
步骤S611,投票中心发起投票请求给网关X;未注册用户在定时器超时前若注册成功,则交换控制处理中心通知投票中心触发本步骤。In step S611, the voting center sends a voting request to gateway X; if the unregistered user successfully registers before the timer expires, the exchange control processing center notifies the voting center to trigger this step.
步骤S612,网关X向用户X发起投票请求。Step S612, gateway X initiates a voting request to user X.
步骤S613,用户X回复个人投票结果。In step S613, user X replies with the personal voting result.
步骤S614,网关X转发用户X的投票结果给投票中心。Step S614, gateway X forwards the voting result of user X to the voting center.
步骤S615,投票中心的投票定时器超时后开始计票。以下方式记为弃权:已注册用户不回复投票结果;未注册用户在超时前始终未注册;未注册用户在超时前注册成功,但不回复投票结果。In step S615, counting votes starts after the voting timer of the voting center expires. The following methods are recorded as abstention: registered users do not reply to voting results; unregistered users do not register before the timeout; unregistered users successfully register before the timeout, but do not reply to voting results.
步骤S616,投票中心通知计票结果给网关1。In step S616, the voting center notifies the gateway 1 of the counting result.
步骤S617,网关1通知计票结果给用户1。In step S617, gateway 1 notifies user 1 of the vote counting result.
步骤S618,投票中心通知计票结果给网关X。Step S618, the voting center notifies the gateway X of the counting result.
步骤S619,网关X通知计票结果给用户X。In step S619, gateway X notifies user X of the vote counting result.
步骤S620,用户1向网关1确认收到计票结果。In step S620, user 1 confirms to gateway 1 that the vote counting result has been received.
步骤S621,网关1向投票中心确认收到计票结果。In step S621, gateway 1 confirms receipt of the vote counting result to the voting center.
步骤S622,用户X向网关X确认收到计票结果。In step S622, user X confirms to gateway X that the vote counting result has been received.
步骤S623,网关X向投票中心确认收到计票结果。In step S623, gateway X confirms receipt of the vote counting result to the voting center.
参见图8,本发明提供一种用户一键接收业务推送的方法,包括步骤S701至步骤S708。Referring to FIG. 8 , the present invention provides a method for a user to receive service push with one key, including steps S701 to S708.
步骤S701,管理员通过Web管理页面修改后台数据库业务,触发Web管理页面向用户数据库模块发送业务推送请求。In step S701, the administrator modifies the background database service through the web management page, and triggers the web management page to send a service push request to the user database module.
步骤S702,用户数据库模块向交换控制处理中心发送业务推送请求。Step S702, the user database module sends a service push request to the switching control processing center.
步骤S703,交换控制处理中心向对应网关下发业务推送的具体内容。In step S703, the exchange control processing center delivers the specific content of the service push to the corresponding gateway.
步骤S704,网关转发业务推送具体内容给用户。In step S704, the gateway forwards the service push specific content to the user.
步骤S705,用户向网关确认接收推送成功。Step S705, the user confirms to the gateway that the push is successfully received.
步骤S706,网关向交换控制处理中心确认接收推送成功。In step S706, the gateway confirms to the exchange control processing center that the push is successfully received.
步骤S707,交换控制处理中心向用户数据库模块回复业务推送结果。In step S707, the exchange control processing center replies the service pushing result to the user database module.
步骤S708,用户数据库模块向管理员回复业务推送结果,该结果在Web管理页面上显示。Step S708, the user database module replies to the administrator with the result of the service push, and the result is displayed on the web management page.
参见图9,本发明提供一种用户一键接收灾害警报紧急推送的方法,包括步骤S801至步骤S812。Referring to FIG. 9 , the present invention provides a method for a user to receive a disaster alarm emergency push with one key, including steps S801 to S812.
步骤S801,管理员通过Web管理页面向交换控制处理中心发送灾害警报。In step S801, the administrator sends a disaster alarm to the exchange control processing center through the web management page.
步骤S802,交换控制处理中心向短信/彩信/图片中心发送灾害警报构建请求。In step S802, the exchange control processing center sends a disaster alert construction request to the SMS/MMS/picture center.
步骤S803,短信/彩信/图片中心使用灾害警报内容构建相应的紧急推送短信。In step S803, the SMS/MMS/picture center constructs a corresponding emergency push SMS using the disaster warning content.
步骤S804,短信/彩信/图片中心回复交换控制处理中心短信构建成功。In step S804, the short message/MMS/picture center replies to the switching control processing center that the short message has been constructed successfully.
步骤S805,短信/彩信/图片中心向网关X下发灾害警报紧急推送短信。In step S805, the SMS/MMS/picture center sends a disaster alarm emergency push SMS to the gateway X.
步骤S806,网关X向用户X发送该短信。Step S806, gateway X sends the short message to user X.
步骤S807,用户X回复网关X短信已送达。In step S807, user X replies to gateway X that the short message has been delivered.
步骤S808,网关X回复短信/彩信/图片中心短信已送达。In step S808, gateway X replies that the SMS/MMS/picture center SMS has been delivered.
步骤S809,短信/彩信/图片中心统计短信送达个数,并重发短信给未确认“短信已送达”的用户(已确认但中途丢包或用户未确认均算在内),重发若干次后,若还未确认,则不再发送。Step S809, the SMS/MMS/Picture Center counts the number of SMS delivered, and resends the SMS to users who have not confirmed that "the SMS has been delivered" (confirmed but lost packets in the middle or the user does not confirm), and resends several After times, if it has not been confirmed, it will not be sent again.
步骤S810,短信/彩信/图片中心向交换控制处理中心回复紧急推送短信发送情况。In step S810, the SMS/MMS/picture center replies to the exchange control processing center about sending the emergency push message.
步骤S811,交换控制处理中心向短信/彩信/图片中心确认收到信息。In step S811, the exchange control processing center confirms receipt of the message to the SMS/MMS/picture center.
步骤S812,交换控制处理中心向管理员回复灾害警报紧急推送短信的发送情况,该情况在Web管理界面上显示。In step S812, the exchange control processing center replies to the administrator about the sending status of the disaster alarm emergency push message, and the status is displayed on the Web management interface.
综上所述,根据本发明的实施例,提供一种基于Web服务的一键业务的方法。该方法中的终端无需下载客户端,交换控制处理模块和用户数据库模块可在不同地域配置多套,后台数据库还可采用现主流的分布式数据库系统。因此,本发明可以保证良好的用户体验和安全性、可靠性、实时性、稳定性,同时满足其他业务的扩展。To sum up, according to the embodiment of the present invention, a method for one-key service based on Web service is provided. In this method, the terminal does not need to download the client, the exchange control processing module and the user database module can be configured in multiple sets in different regions, and the background database can also adopt the current mainstream distributed database system. Therefore, the present invention can ensure good user experience, safety, reliability, real-time performance, and stability, and at the same time satisfy the expansion of other services.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410151475.0ACN103944984B (en) | 2014-04-16 | 2014-04-16 | An a kind of key operational approach based on Web service |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410151475.0ACN103944984B (en) | 2014-04-16 | 2014-04-16 | An a kind of key operational approach based on Web service |
| Publication Number | Publication Date |
|---|---|
| CN103944984A CN103944984A (en) | 2014-07-23 |
| CN103944984Btrue CN103944984B (en) | 2017-07-04 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201410151475.0AExpired - Fee RelatedCN103944984B (en) | 2014-04-16 | 2014-04-16 | An a kind of key operational approach based on Web service |
| Country | Link |
|---|---|
| CN (1) | CN103944984B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105897448A (en)* | 2014-12-01 | 2016-08-24 | 廊坊博联科技发展有限公司 | Network alarm management system and method based on WeChat |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1828611A (en)* | 2006-04-10 | 2006-09-06 | 王凯 | Interactive search engine method |
| CN101083749A (en)* | 2006-06-01 | 2007-12-05 | 中国科学技术大学 | WEB server based TV voting method and system |
| CN102917037A (en)* | 2012-10-10 | 2013-02-06 | 深圳房讯通信息技术有限公司 | Mobile terminal-based site survey system and method thereof |
| CN103686049A (en)* | 2012-09-17 | 2014-03-26 | 北京酷信通科技有限公司 | Home care terminal integrating health service, remote nursing, video calling and helping functions |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20010029463A1 (en)* | 1999-12-30 | 2001-10-11 | Fuller Patrick Neal | System and method for facilitating political advocacy |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1828611A (en)* | 2006-04-10 | 2006-09-06 | 王凯 | Interactive search engine method |
| CN101083749A (en)* | 2006-06-01 | 2007-12-05 | 中国科学技术大学 | WEB server based TV voting method and system |
| CN103686049A (en)* | 2012-09-17 | 2014-03-26 | 北京酷信通科技有限公司 | Home care terminal integrating health service, remote nursing, video calling and helping functions |
| CN102917037A (en)* | 2012-10-10 | 2013-02-06 | 深圳房讯通信息技术有限公司 | Mobile terminal-based site survey system and method thereof |
| Publication number | Publication date |
|---|---|
| CN103944984A (en) | 2014-07-23 |
| Publication | Publication Date | Title |
|---|---|---|
| US9569752B2 (en) | Providing parameterized actionable communication messages via an electronic communication | |
| CN1943131B (en) | Method, system and apparatus for communicating messages between a wireless mobile terminal and a networked computer | |
| WO2020238873A1 (en) | Communication method, server, and communication system | |
| CN105407086B (en) | Temporary authorization method, client and server | |
| US10397341B2 (en) | Method and apparatus for migrating active communication session between terminals | |
| US20100070577A1 (en) | Selectable mode based social networking interaction systems and methods | |
| CN104065837A (en) | Method and apparatus for providing status information | |
| CN102823228A (en) | Communication using user terminal | |
| KR20050095417A (en) | System and method for providing messenger service changing information of user's status by using schedule | |
| CN103069755A (en) | Instant messaging using multiple instances of a client | |
| WO2014029276A1 (en) | Communication method and device | |
| JP2016152518A (en) | Transmission management system, transmission system, transmission management method, and program | |
| CN112738559A (en) | Screen projection implementation method, device and system | |
| KR20120018708A (en) | Method and system for providing multimedia content during communication service | |
| US20140324994A1 (en) | Method and device for transmitting and forwarding a message | |
| CN113329127B (en) | Call processing method, call processing device, electronic equipment and media | |
| EP2974159B1 (en) | Method, device and system for voice communication | |
| CN108540500A (en) | Data transmission method, device, equipment and the storage medium of more people's calls | |
| US7881268B1 (en) | Group list update system and method | |
| US9444775B2 (en) | Multipurpose internet mail extensions (“MIME”) metadata for group messaging | |
| CN103944984B (en) | An a kind of key operational approach based on Web service | |
| CN110620672A (en) | Multi-person session data processing method and device, computer equipment and storage medium | |
| US20230300092A1 (en) | Multichannel messaging system and method | |
| WO2011153772A1 (en) | Method and system for obtaining multiple instant information | |
| JP5049203B2 (en) | Service providing method and server device |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | Granted publication date:20170704 | |
| CF01 | Termination of patent right due to non-payment of annual fee |