WO2014094315A1 - 在系统升级过程中对业务进行处理的方法、装置和设备 - Google Patents

在系统升级过程中对业务进行处理的方法、装置和设备 Download PDF

Info

Publication number
WO2014094315A1
WO2014094315A1 PCT/CN2012/087221 CN2012087221W WO2014094315A1 WO 2014094315 A1 WO2014094315 A1 WO 2014094315A1 CN 2012087221 W CN2012087221 W CN 2012087221W WO 2014094315 A1 WO2014094315 A1 WO 2014094315A1
Authority
WO
WIPO (PCT)
Prior art keywords
processing server
service
address
server
version information
Prior art date
Application number
PCT/CN2012/087221
Other languages
English (en)
French (fr)
Inventor
卿小兵
杨高峰
尧幸
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201280002157.7A priority Critical patent/CN103380593B/zh
Priority to PCT/CN2012/087221 priority patent/WO2014094315A1/zh
Publication of WO2014094315A1 publication Critical patent/WO2014094315A1/zh

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/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality

Definitions

  • the present invention belongs to the field of communications, and in particular, to a method, apparatus and device for processing a service in a system upgrade process. Background technique
  • the existing technology has the following problems: When the primary system is upgrading, if the server running the primary system receives the service request sent by the client, the server running the primary system needs to send the service request to the running secondary system.
  • the server processes it. Since the server running the secondary system may not support the service requested by the service request, the server running the secondary system needs to forward the service request to another running secondary system capable of processing the service request.
  • the server can process the service request normally until the server that runs the secondary system that receives the service request. In this process, it may be necessary to switch between servers of different running subsystems multiple times, so that the client does not get a response for a long time, so that the user experience is poor.
  • an embodiment of the present invention provides a method for processing a service in a system upgrade process, where the method includes: Receiving a service request message sent by the client, where the service request message carries system version information;
  • the processing server address query response carries an address of the processing server, and the address of the processing server is used by the open service gateway according to the system version information and the Type information of the service, the query is obtained;
  • the method further includes:
  • an upgrade prompt message is sent to the client.
  • the method before the sending the processing server address query request to the open service gateway, the method further includes: type information and the system version information, so that The open service gateway saves a correspondence between an address of the processing server, type information of the service, and the system version information.
  • an embodiment of the present invention provides a method for processing a service in a system upgrade process, where the method includes:
  • the method before the processing the server address query request sent by the foreground server, the method further includes: type information and the system version information, and save the processing server Correspondence between the address and the type information of the service and the system version information.
  • an embodiment of the present invention provides a foreground server that processes a service during a system upgrade process, where the foreground server includes:
  • a receiving unit configured to receive a service request message sent by the client, where the service request message carries system version information
  • a sending unit configured to send a processing server address query request to the open service gateway, where the processing server address query request carries a type of the service requested by the service request message and system version information received by the receiving unit;
  • the receiving unit is further configured to receive a processing server address query response sent by the open service gateway, where the processing server address query response carries an address of the processing server, and the address of the processing server is used by the open service gateway.
  • the system version information and the type information of the service are obtained, and the query is obtained;
  • the sending unit is further configured to send the service request message to the processing server according to an address of the processing server received by the receiving unit, so that the processing server processes the service request message.
  • the sending unit is further configured to After the service request message is sent to the processing server, when the system version information is not the latest version information, an upgrade prompt message is sent to the client.
  • the sending unit is further configured to send the system version information to the open service gateway before sending the processing server address query request
  • the open service gateway saves the correspondence between the address of the processing server and the type information of the service and the system version information.
  • an embodiment of the present invention provides an open service gateway that processes a service during a system upgrade process, where the open service gateway includes:
  • a receiving unit configured to receive a processing server address query request sent by a foreground server, where the processing server address query request carries system version information and type information of the service;
  • An obtaining unit configured to acquire an address of the processing server according to the system version information received by the receiving unit and the type information of the service;
  • a sending unit configured to send a processing server address query response to the foreground server, where the processing server address query response carries an address of the processing server acquired by the acquiring unit, so that the foreground server is configured according to an address of the processing server Sending a service request message to the processing server.
  • the receiving unit is further configured to receive, by the foreground server, the processing server before receiving the processing server address query request sent by the foreground server Providing the type information of the service and the system version information, and saving a correspondence between the address of the processing server and the type information of the service and the system version information.
  • an embodiment of the present invention provides a service in a system upgrade process.
  • a line processing system the system comprising:
  • a front-end server according to any of the third aspect, the first possible implementation of the third aspect, and the second possible implementation of the third aspect, and the first aspect as the fourth aspect and the fourth aspect An open service gateway as described in any of the possible implementations.
  • the foreground server receives the service request message sent by the client, and obtains, from the open service gateway, the processing server that processes the service requested by the service request message according to the system version information carried in the service request message, and sends the service request message.
  • the server is sent to the processing server, so that the server can process the service request of the client quickly and accurately during the upgrade process.
  • FIG. 1 is a system architecture diagram of processing a service in a system upgrade process according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a method for processing a service in a system upgrade process according to an embodiment of the present invention
  • FIG. 3 is a flowchart of a method for processing a service in a system upgrade process according to another embodiment of the present invention.
  • FIG. 4 is a flowchart of a method for processing a service in a system upgrade process according to another embodiment of the present invention.
  • FIG. 5 is a structural diagram of a system for processing a service in a system upgrade process according to an embodiment of the present invention
  • FIG. Figure 6 is a structural diagram of a foreground server according to an embodiment of the present invention
  • Figure 7 is a structural diagram of an open service gateway according to an embodiment of the present invention
  • FIG. 8 is a structural diagram of another foreground server according to an embodiment of the present invention
  • FIG. 9 is a structural diagram of another open service gateway according to an embodiment of the present invention.
  • FIG. 1 it is a system architecture diagram for processing a service in a system upgrade process according to an embodiment of the present invention.
  • the foreground server 101 After receiving the server request sent by the client 104, the foreground server 101 sends a processing server address query request to the Open Service Gateway Initiative (OSGI) 102, and the open service gateway 102 according to the Processing the server address query request acquisition address of the processing server 103, and transmitting the address of the processing server 103 to the foreground server 101 by processing the server address query response, the foreground server 101 according to the address of the processing server 103
  • the server request is sent to the processing server 103.
  • OSGI Open Service Gateway Initiative
  • the system may include at least one processing server 103, which may be provided by different processing servers for different types of services.
  • the embodiment of the present invention provides a method for processing a service in a system upgrade process.
  • the execution body of the method may be the system shown in FIG.
  • the method includes:
  • Step S201 Receive a service request message sent by the client, where the service request message carries system version information.
  • the execution host foreground server of the embodiment of the present invention is configured to receive a service request sent by the client, and forward the service request to the processing server for processing.
  • processing servers on the server side that provide different types of services.
  • the version of the system running by the different processing servers may be different. Therefore, when the client sends the service request message to the foreground server, the client needs to carry the system version information in the service request message.
  • the service request message may include, but is not limited to, a data request or a request support request, and the system version information may be in the form of version 2.1.
  • Step S202 Send a processing server address query request to the open service gateway, where the processing server address query request carries the system version information and type information of the service requested by the service request message.
  • the open service gateway is a device used by the server to record type information of a service provided by the processing server, system version information of the service, and an address of the processing server.
  • the foreground server After receiving the service request message sent by the client, the foreground server sends a processing server address query request to the open service gateway, where the processing server address query request carries the system version information and the type information of the service (type of service)
  • the service may be included in a service requesting a certain data or a service for analyzing a certain data.
  • a processing server that processes the service request message may be found, and the type information of the service may be in the system version.
  • the types of services are distinguished; through the system version information, the versions of the system can be distinguished when the service types are the same.
  • Step S203 Receive a processing server address query response sent by the open service gateway, where the processing server address query response carries an address of the processing server, and the address of the processing server is used by the open service gateway according to the system version information. Take And the type information of the service, the query is obtained.
  • the open service gateway stores a correspondence between the address of the processing server and the system version information and the type information of the service, and the open service gateway can query the system version information and the type of the service in the request according to the processing server address.
  • Information where the address of the processing server corresponding to the system version information and the type information of the service is found; wherein, when the open service gateway finds at least two processing servers according to the system version information and the type information of the service, The open service gateway selects, from the at least two processing servers, a processing server that can normally process the service request according to information such as processing load information of the at least two processing servers or whether an abnormality occurs.
  • Step S204 Send the service request message to the processing server according to the address of the processing server, so that the processing server processes the service request message.
  • the method further includes:
  • system version information is not the latest version information, sending an upgrade prompt message to the client; specifically, the system version information carried in the service request message received by the foreground server and the latest system version stored locally The information is compared. If the system version information in the service request message is not the latest version information, after sending the service request message to the processing server, the foreground server sends an upgrade prompt message to the client to prompt the client to upgrade the system to The latest version.
  • the method before the sending the processing server address query request to the open service gateway, the method further includes: type information and the system version information, so that Open service gateway to processing service The server saves a correspondence between an address of the processing server and type information of the service and the system version information.
  • the method for processing a service in a system upgrade process is provided by the embodiment of the present invention.
  • the foreground server After receiving the service request message sent by the client, the foreground server obtains the service according to the address of the processing server obtained from the open service gateway. The request is sent to the processing server to process the service request.
  • the embodiment of the present invention does not need to switch between the processing servers, so that the server can respond to the service request of the client in a more timely manner.
  • FIG. 3 is a flowchart of a method for processing a service in a system upgrade process according to another embodiment of the present invention.
  • the execution body of the method may be an open service in the system as shown in FIG. 1 .
  • Gateway 102, the method includes:
  • Step S301 Receive a processing server address query request sent by the foreground server, where the processing server address query request carries system version information and type information of the service.
  • Step S302 Acquire an address of the processing server according to the system version information and the type information of the service, and send a processing server address query response to the foreground server, where the processing server address query response carries the address of the processing server So that the foreground server sends a service request message to the processing server according to the address of the processing server.
  • the open service gateway stores a correspondence between the address of the processing server and the system version information and the type information of the service, and the open service gateway can query the system version information and the type of the service in the request according to the processing server address.
  • Information where the address of the processing server corresponding to the system version information and the type information of the service is found; wherein, when the open service gateway finds at least two processing servers according to the system version information and the type information of the service, Open service gateway root And selecting, from the at least two processing servers, a processing server capable of processing the service request normally according to information such as processing load information of the at least two processing servers or whether an abnormality occurs.
  • the processing server processes the service message, and after the processing is completed, sends the processed result to the client.
  • the method before the receiving the processing server address query request sent by the foreground server, the method further includes: type information and the system version information, and save the address and location of the processing server. Corresponding relationship between the type information of the service and the system version information.
  • An embodiment of the present invention provides a method for processing a service in a system upgrade process. After the open service gateway queries the request according to the processing server address sent by the foreground server, the address of the processing server is searched, and the address of the processing server is passed. The processing server address query response is sent to the foreground server, so that the foreground server can forward the service request sent by the client to the processing server according to the address of the processing server.
  • the embodiment of the present invention does not need to be in the processing server. Switching between them enables the server to respond to the client's service request in a more timely manner.
  • FIG. 4 is a flowchart of a method for processing a service in a system re-upgrading process according to an embodiment of the present invention, where the method includes:
  • Step S401 The client sends a service request message to the foreground server, where the server request message carries system version information.
  • Step S402 The foreground server receives the service request message, and sends a processing server address query request to the open service gateway, where the processing server address query request carries the system version information and a type letter of the service requested by the service request message. Interest.
  • Step S403 the open service gateway receives the processing server address query request, obtains an address of the processing server according to the system version information and the type information of the service, and sends a processing server address query response to the foreground server.
  • the processing server address query response carries an address of the processing server.
  • Step S404 The foreground server receives the processing server address query response, and sends the service request message to the processing server according to the address of the processing server.
  • Step S405 The processing server receives the server request message, and processes the service request message.
  • FIG. 5 is a structural diagram of a system for processing a service in a system upgrade process according to an embodiment of the present invention.
  • the system includes a foreground server 501 and an open service gateway 502, where:
  • the foreground server 501 is configured to receive a service request message sent by the client, where the service request message carries system version information, and sends a processing server address query request to the open service gateway 502, where the processing server address query request carries the The system version information and the type information of the service requested by the service request message; the open server gateway 502, configured to receive the processing server address query request sent by the foreground server 501, and carry the query according to the processing server address query request The system version information and the type information of the service, obtain an address of the processing server, and send a processing server address query response to the foreground server 501;
  • the foreground server 501 is further configured to receive the processing server address query response sent by the open service gateway 502, and send the service request message to the processing server according to an address of the processing server.
  • the system may further include a processing server, and the processing server is configured to receive The server request message sent by the foreground server 501 processes the service request message.
  • FIG. 6 is a structural diagram of a foreground server according to an embodiment of the present invention.
  • the foreground server may be applied to the system shown in FIG. 5.
  • the front server includes:
  • the receiving unit 601 is configured to receive a service request message sent by the client, where the service request message carries system version information.
  • the execution host foreground server of the embodiment of the present invention is configured to receive a service request sent by the client, and forward the service request to the processing server for processing.
  • the version of the system running by the different processing servers may be different. Therefore, when the client sends the service request message to the foreground server, the client needs to carry the system version information in the service request message.
  • the service request message may include, but is not limited to, a data request or a request support request, and the system version information may be in the form of: version 2.1.
  • the sending unit 602 is configured to send a processing server address query request to the open service gateway, where the processing server address query request carries the type of the service requested by the service request message and the system version information received by the receiving unit 601.
  • the open service gateway is a device used by the server to record the type information of the service provided by the processing server, the system version information of the service, and the address of the processing server.
  • the sending unit 602 sends a processing server address query request to the open service gateway, where the processing server address query request carries the system version information and the type information of the service (
  • the types of services can include: a service requesting a piece of data or a number of items According to the service for analyzing, a processing server for processing the service request message can be found according to the type information of the service and the system version information, and the type of the service can be used to pass the system when the system version is the same. Version information can be distinguished from the version of the system when the service type is the same
  • the receiving unit 601 is further configured to receive a processing server address query response sent by the open service gateway, where the processing server address query response carries an address of the processing server, and the address of the processing server is used by the open service gateway According to the system version information and the type information of the service, the query is obtained.
  • the open service gateway stores a correspondence between the address of the processing server and the system version information and the type information of the service, and the open service gateway can query the system version information and the type of the service in the request according to the processing server address.
  • Information where the address of the processing server corresponding to the system version information and the type information of the service is found; wherein, when the open service gateway finds at least two processing servers according to the system version information and the type information of the service, The open service gateway selects, from the at least two processing servers, a processing server that can normally process the service request according to information such as processing load information of the at least two processing servers or whether an abnormality occurs.
  • the sending unit 602 is further configured to send the service request message to the processing server according to an address of the processing server received by the receiving unit 601, so that the processing server processes the service request message.
  • the service request message sending unit 604 after receiving the address of the processing server sent by the open service gateway, the service request message sending unit 604 sends a service request message to the processing server according to the received address of the processing server, so that the The processing server processes the service request message.
  • the sending unit 601 is further used in After the processing server sends the service request message, when the system version information is not the latest version information, sending an upgrade prompt message to the client;
  • the foreground server compares the system version information carried in the received service request message with the latest system version information stored locally, and if the system version information in the service request message is not the latest version information, the processing is processed. After the server sends the service request message, the sending unit 601 sends an upgrade prompt message to the client to prompt the client to upgrade the system to the latest version.
  • the sender 501 is further configured to: before sending the processing server address query request to the open service gateway, to the system version information,
  • the open service gateway stores, by the processing server, a correspondence between an address of the processing server, type information of the service, and the system version information.
  • the method for processing a service in a system upgrade process is provided by the embodiment of the present invention.
  • the foreground server After receiving the service request message sent by the client, the foreground server obtains the service according to the address of the processing server obtained from the open service gateway. The request is sent to the processing server to process the service request.
  • the embodiment of the present invention does not need to switch between the processing servers, so that the server can respond to the service request of the client in a more timely manner.
  • FIG. 7 is a structural diagram of an open service gateway according to an embodiment of the present invention.
  • the open service gateway can be applied to the system shown in FIG. 5. For convenience of description, only the embodiment of the present invention is shown.
  • the part of the open services gateway includes:
  • the receiving unit 701 is configured to receive a processing server address query request sent by the foreground server, where the processing server address query request carries system version information and type information of the service.
  • the obtaining unit 702 is configured to acquire an address of the processing server according to the system version information received by the receiving unit 701 and the type information of the service;
  • a sending unit 703 configured to send a processing server address query response to the foreground server, where the processing server address query response carries an address of the processing server acquired by the obtaining unit 702, so that the foreground server is configured according to an address of the processing server Sending a service request message to the processing server.
  • the open service gateway stores a correspondence between the address of the processing server and the system version information and the type information of the service, and the open service gateway queries the system version information and the service type information in the request according to the processing server address.
  • the address of the processing server corresponding to the system version information and the type information of the service is found; wherein, when the open service gateway finds at least two processing servers according to the system version information and the type information of the service, the opening is
  • the service gateway selects, from the at least two processing servers, a processing server that can normally process the service request according to information such as processing load information of the at least two processing servers or whether an abnormality occurs.
  • the processing server processes the service message, and after the processing is completed, sends the processed result to the client.
  • the receiving unit is further configured to receive, according to the processing server address query request sent by the foreground server, the The type information of the service and the system version information, and the correspondence between the address of the processing server and the type information of the service and the system version information is saved.
  • the open service gateway queries according to the processing server address sent by the foreground server After the request, the address of the processing server is searched, and the address of the processing server is sent to the foreground server by the processing server address query response, so that the foreground server can forward the service request sent by the client to the processing according to the address of the processing server.
  • the server does not need to switch between the processing servers in the prior art, so that the server can respond to the service request of the client in a timely manner.
  • FIG. 8 is a structural diagram of another foreground server according to an embodiment of the present invention.
  • the foreground server includes at least one processor 801, a communication bus 802, a memory 803, and at least one communication interface. 804.
  • the communication bus 802 is configured to implement a connection and communication between the components, and the communication interface 804 is configured to connect and communicate with an external device.
  • the memory 803 is configured to store program code that needs to be executed, and the program code may specifically include: a service request message receiving unit 8031, a query request sending unit 8032, a query response receiving unit 8033, and a service request message sending unit 8034;
  • the processor 801 is configured to execute the unit stored in the memory 803, and when the unit is executed by the processor 801, implement the following functions:
  • the service request message receiving unit 8031 is configured to receive a service request message sent by the client, where the service request message carries system version information;
  • the query request sending unit 8032 is configured to send a processing server address query request to the open service gateway, where the processing server address query request carries the type information of the service requested by the service request message and the service request message receiving unit System version information received by the 8031;
  • the query response receiving unit 8033 is configured to receive a processing server address query response sent by the open service gateway, where the processing server address query response carries an address of the processing server, and the address of the processing server is used by the open service
  • the gateway obtains the query according to the system version information and the type information of the service
  • the service request message sending unit 8034 is configured to send the service request message to the processing server according to the address of the processing server received by the query response receiving unit 8033, so that the processing server performs the service request message deal with.
  • the program code further includes: an upgrade prompt sending unit, configured to: after the service request message sending unit 8034 sends the service request message to the processing server, when The system version information is not the latest version information, and an upgrade prompt message is sent to the client.
  • an upgrade prompt sending unit configured to: after the service request message sending unit 8034 sends the service request message to the processing server, when The system version information is not the latest version information, and an upgrade prompt message is sent to the client.
  • the program code further includes: a service information sending unit, configured to: before the query request sending unit 8032 sends the processing server address query request to the open service gateway Transmitting, to the open service gateway, type information of the service provided by the processing server and the system version information, so that the open service gateway saves the address of the processing server and the service to a processing server Correspondence between type information and the system version information.
  • a service information sending unit configured to: before the query request sending unit 8032 sends the processing server address query request to the open service gateway Transmitting, to the open service gateway, type information of the service provided by the processing server and the system version information, so that the open service gateway saves the address of the processing server and the service to a processing server Correspondence between type information and the system version information.
  • FIG. 9 is a structural diagram of another open service gateway according to an embodiment of the present invention.
  • the open service gateway includes at least one processor 901, a communication bus 902, a memory 903, and At least one communication interface 904.
  • the communication bus 902 is configured to implement a connection and communication between the components, and the communication interface 904 is configured to connect and communicate with an external device.
  • the memory 903 is configured to store the program code that needs to be executed, and the program code may include: a query request receiving unit 9031, an obtaining unit 9032, and a query response sending unit 9033; the processor 901 is configured to execute the memory 903.
  • the unit stored in the unit when the unit is executed by the processor 901, implements the following functions: the query request receiving unit 9031 is configured to receive a processing server address query request sent by a foreground server, where the processing server address query request is carried System version letter Information and type information of the service;
  • the obtaining unit 9032 is configured to acquire an address of the processing server according to the system version information received by the query request receiving unit 9031 and the type information of the service;
  • the query response sending unit 9033 is configured to send to the foreground server Sending a processing server address query response, the processing server address query response carrying an address of the processing server acquired by the obtaining unit 8032, so that the foreground server sends a service request message to the processing server according to the address of the processing server.
  • the program code further includes: a service information receiving unit, configured to receive, before the query request receiving unit 9031 receives the processing server address query request sent by the foreground server The type information of the service provided by the processing server sent by the foreground server and the system version information, and the correspondence between the address of the processing server and the type information of the service and the system version information is saved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明适用于通信领域,提供了在系统升级过程中对业务进行处理的方法、装置和设备,所述方法包括:接收客户端发送的服务请求消息,所述服务请求消息携带系统版本信息;向开放式服务网关发送处理服务器地址查询请求;接收所述开放式服务网关发送的处理服务器地址查询响应;根据所述处理服务器的地址,向所述处理服务器发送所述服务请求消息。本发明实施例,前台服务器接收客户端发送的服务请求消息,根据服务请求消息携带的系统版本信息,从开放式服务网关获取处理所述服务请求消息请求的服务的处理服务器,并将服务请求消息发送到所述处理服务器,使得服务器端在升级过程中可以快速、准确的对客户端的服务请求进行处理。

Description

在系统升级过程中对业务进行处理的方法、 装置和设备 技术领域
本发明属于通信领域,尤其涉及一种在系统升级过程中对业务进 行处理的方法、 装置和设备。 背景技术
在使用系统类软件的过程中,通常会遇到很多的问题, 这时需要 通过升级系统来解决遇到的问题。现有技术提供一般通过设置双系统 来进行系统升级, 当一个系统升级时, 使用另一个系统进行运行。
但是现有就技术存在以下问题: 在主系统在升级时, 如果运行主 系统的服务器接收到客户端发送的服务请求,运行所述主系统的服务 器需要将所述服务请求发送到运行副系统的服务器进行处理。由于所 述运行副系统的服务器有可能不支持所述服务请求所请求的服务,此 时,所述运行副系统的服务器需要将所述服务请求转发给其他能处理 所述服务请求的运行副系统的服务器,直到接收所述服务请求的运行 副系统的服务器能够正常地对所述服务请求进行处理。 在此过程中, 可能需要在不同的运行副系统的服务器之间切换多次,使得客户端长 时间得不到响应, 从而使得用户的体验较差。
发明内容
本发明实施例的目的在于提供一种在系统升级过程中对业务进 行处理的方法、装置和设备, 以便服务器端能够更加及时地响应客户 端的请求。
第一方面,本发明实施例提供一种在系统升级过程中对业务进行 处理的方法, 所述方法包括: 接收客户端发送的服务请求消息 ,所述服务请求消息携带系统版 本信息;
向开放式服务网关发送处理服务器地址查询请求,所述处理服务 器地址查询请求携带所述系统版本信息以及所述服务请求消息所请 求的服务的类型信息;
接收所述开放式服务网关发送的处理服务器地址查询响应,所述 处理服务器地址查询响应携带处理服务器的地址,所述处理服务器的 地址由所述开放式服务网关根据所述系统版本信息以及所述服务的 类型信息, 查询得到;
根据所述处理服务器的地址,向所述处理服务器发送所述服务请 求消息, 以便所述处理服务器对所述服务请求消息进行处理。
在第一方面的第一种可能的实施方式中,在所述向所述处理服务 器发送所述服务请求消息之后, 所述方法还包括:
如果所述系统版本信息不是最新的版本信息,则向所述客户端发 送升级提示消息。
在第一方面的第二种可能的实施方式中,在所述向所述开放式服 务网关发送所述处理服务器地址查询请求之前, 所述方法还包括: 类型信息以及所述系统版本信息,以便所述开放式服务网关保存所述 处理服务器的地址与所述服务的类型信息以及所述系统版本信息之 间的对应关系。
第二方面,本发明实施例提供了一种在系统升级过程中对业务进 行处理的方法, 所述方法包括:
接收前台服务器发送的处理服务器地址查询请求,所述处理服务 器地址查询请求携带系统版本信息以及服务的类型信息; 根据所述系统版本信息以及所述服务的类型信息,获取处理服务 器的地址, , 并向所述前台服务器发送处理服务器地址查询响应, 所 述处理服务器地址查询响应携带所述处理服务器的地址,以便所述前 台服务器根据所述处理服务器的地址,向所述处理服务器发送服务请 求消息。
在第二发明的第一种可能的实施方式中,在所述接收前台服务器 发送的处理服务器地址查询请求之前, 所述方法还包括: 类型信息以及所述系统版本信息,并保存所述处理服务器的地址与所 述服务的类型信息以及所述系统版本信息之间的对应关系。
第三方面,本发明实施例提供了一种在系统升级过程中对业务进 行处理的前台服务器, 所述前台服务器包括:
接收单元, 用于接收客户端发送的服务请求消息, 所述服务请求 消息携带系统版本信息;
发送单元, 用于向开放式服务网关发送处理服务器地址查询请 求,所述处理服务器地址查询请求携带所述服务请求消息所请求的服 务的类型以及所述接收单元接收的系统版本信息;
所述接收单元还用于接收所述开放式服务网关发送的处理服务 器地址查询响应,所述处理服务器地址查询响应携带处理服务器的地 址,所述处理服务器的地址由所述开放式服务网关根据所述系统版本 信息以及所述服务的类型信息, 查询得到;
所述发送单元还用于根据所述接收单元接收的处理服务器的地 址, 向所述处理服务器发送所述服务请求消息, 以便所述处理服务器 对所述服务请求消息进行处理。
在第三方面的第一种可能的实施方式中,所述发送单元还用于在 向所述处理服务器发送所述服务请求消息之后,当所述系统版本信息 不是最新的版本信息时, 向所述客户端发送升级提示消息。
在第三方面的第二种可能的实施方式中,所述发送单元还用于在 向所述开放式服务网关发送所述处理服务器地址查询请求之前,向所 以及所述系统版本信息,以便所述开放式服务网关保存所述处理服务 器的地址与所述服务的类型信息以及所述系统版本信息之间的对应 关系。
第四方面,本发明实施例提供了一种在系统升级过程中对业务进 行处理的开放式服务网关, 所述开放式服务网关包括:
接收单元, 用于接收前台服务器发送的处理服务器地址查询请 求,所述处理服务器地址查询请求携带系统版本信息以及服务的类型 信息;
获取单元,用于根据所述接收单元接收的系统版本信息以及所述 服务的类型信息, 获取处理服务器的地址;
发送单元, 用于向所述前台服务器发送处理服务器地址查询响 应,所述处理服务器地址查询响应携带所述获取单元获取的所述处理 服务器的地址, 以便所述前台服务器根据所述处理服务器的地址, 向 所述处理服务器发送服务请求消息。
在第四方面的第一种可能的实施方式中, , 所述接收单元还用于 在接收所述前台服务器发送的所述处理服务器地址查询请求之前,接 收所述前台服务器发送的所述处理服务器提供的所述服务的类型信 息以及所述系统版本信息,并保存所述处理服务器的地址与所述服务 的类型信息以及所述系统版本信息之间的对应关系。
第五方面,本发明实施例提供了一种在系统升级过程中对业务进 行处理的系统, 所述系统包括:
如第三方面、第三方面的第一种可能的实施方式和第三方面的第 二种可能的实施方式中任一项所述的前台服务器,以及如第四方面和 第四方面的第一种可能的实施方式中任一项所述的开放式服务网关。
本发明实施例, 前台服务器接收客户端发送的服务请求消息,根 据服务请求消息携带的系统版本信息,从开放式服务网关获取处理所 述服务请求消息请求的服务的处理服务器,并将服务请求消息发送到 所述处理服务器, 使得服务器端在升级过程中可以快速、 准确的对客 户端的服务请求进行处理。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例 或现有技术描述中所需要使用的附图作筒单地介绍, 显而易见地, 下 面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人 员来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得 其他的附图。
图 1 是本发明实施例提供的在系统升级过程中对业务进行处理 的系统架构图;
图 2 是本发明实施例提供的在系统升级过程中对业务进行处理 方法的流程图;
图 3 是本发明又一实施例提供的在系统升级过程中对业务进行 处理方法的流程图;
图 4 是本发明又一实施例提供的在系统升级过程中对业务进行 处理方法的流程图
图 5 是本发明实施例提供的在在系统升级过程中对业务进行处 理系统的结构图; 图 6是本发明实施例提供的前台服务器的结构图; 图 7是本发明实施例提供的开放式服务网关的结构图;
图 8是本发明实施例提供的另一种前台服务器的结构图; 图 9是本发明实施例提供的另一种开放式服务网关的结构图。
具体实施方式
为了使本发明的目的、技术方案及优点更加清楚明白, 以下结合 附图及实施例, 对本发明进行进一步详细说明。 应当理解, 此处所描 述的具体实施例仅仅用以解释本发明, 并不用于限定本发明。 为了说明本发明所述的技术方案,下面通过具体实施例来进行说 明。
如图 1所示,为本发明实施例提供的一种在系统升级过程中对业 务进行处理的系统架构图。 其中, 前台服务器 101 在接收到客户端 104发送的服务器请求后, 向开放式服务网关( Open Service Gateway Initiative, 筒称 OSGI ) 102发送处理服务器地址查询请求, 所述开放 式服务网关 102根据所述处理服务器地址查询请求获取处理服务器 103的地址, 并通过处理服务器地址查询响应将所述处理服务器 103 的地址发送给所述前台服务器 101 , 所述前台服务器 101根据所述处 理服务器 103的地址将所述服务器请求发送给所述处理服务器 103。
其中,需要说明的是,该系统可以包括至少一个处理服务器 103 , 对于不同类型的服务, 可以由不同的处理服务器提供。
基于图 2所示的系统架构图,本发明实施例提供一种在系统升级 过程中对业务进行处理的方法, 如图 2所示, 所述方法的执行主体可 以是如图 1所示的系统中的前台服务器 101 , 所述方法包括:
步骤 S201 , 接收客户端发送的服务请求消息, 所述服务请求消 息携带系统版本信息。 其中,本发明实施例的执行主体前台服务器用于接收客户端发送 的服务请求, 并将所述服务请求转发给处理服务器进行处理。
其中, 需要说明的是,服务器端存在提供不同类型的服务的处理 服务器。
其中, 不同的处理服务器所运行的系统的版本有可能是不同的, 因此客户端在向前台服务器发送服务请求消息时,需要在所述服务请 求消息中携带系统版本信息; 作为示例而非限定, 所述服务请求消息 可以包括但不限于获取数据请求或请求支援请求等,所述系统版本信 息的表现形式可以是 version 2.1。
步骤 S202, 向开放式服务网关发送处理服务器地址查询请求, 所述处理服务器地址查询请求携带所述系统版本信息以及所述服务 请求消息所请求的服务的类型信息。
在本发明实施例中,开放式服务网关是服务器端用于记录处理服 务器提供的服务的类型信息、所述服务的系统版本信息和所述处理服 务器的地址的设备。前台服务器在接收到客户端发送的服务请求消息 之后, 向开放式服务网关发送处理服务器地址查询请求, 所述处理服 务器地址查询请求携带所述系统版本信息和所述服务的类型信息(服 务的类型可以包括请求某项数据的服务或对某项数据进行分析的服 务), 根据服务的类型信息和系统版本信息可以找到处理服务请求消 息的处理服务器,通过所述服务的类型信息可以在系统版本相同时对 服务的类型进行区别;通过所述系统版本信息可以在服务类型相同时 对系统的版本进行区别。
步骤 S203 , 接收所述开放式服务网关发送的处理服务器地址查 询响应, 所述处理服务器地址查询响应携带处理服务器的地址, 所述 处理服务器的地址由所述开放式服务网关根据所述系统版本信息以 及所述服务的类型信息, 查询得到。
其中,开放式服务网关中保存有处理服务器的地址与系统版本信 息以及服务的类型信息之间的对应关系,所述开放式服务网关可以根 据处理服务器地址查询请求中的系统版本信息以及服务的类型信息, 找到与系统版本信息以及服务的类型信息对应的处理服务器的地址; 其中, 需要说明的是, 在开放式服务网关根据系统版本信息以及 服务的类型信息, 找到至少两个处理服务器时, 该开放式服务网关根 据所述至少两个处理服务器的处理负荷信息或是否发生异常等信息, 从所述至少两个处理服务器中选择一个能正常处理所述服务请求的 处理服务器。
步骤 S204, 根据所述处理服务器的地址, 向所述处理服务器发 送所述服务请求消息,以便所述处理服务器对所述服务请求消息进行 处理。
在本发明的一个可选实施例中,在所述向处理服务器发送所述服 务请求消息之后, 所述方法还包括:
如果所述系统版本信息不是最新的版本信息,则向所述客户端发 送升级提示消息; 具体地, 前台服务器将接收到的服务请求消息中携 带的系统版本信息, 与本地存储的最新的系统版本信息进行比较, 如 果服务请求消息中的系统版本信息不是最新的版本信息,则在向处理 服务器发送服务请求消息之后,所述前台服务器向客户端发送升级提 示消息, 以提示客户端将系统升级到最新的版本。
在本发明的另一个可选实施例中,在所述向所述开放式服务网关 发送所述处理服务器地址查询请求之前, 所述方法还包括: 类型信息以及所述系统版本信息,以便所述开放式服务网关对处理服 务器保存所述处理服务器的地址与所述服务的类型信息以及所述系 统版本信息之间的对应关系。
本发明实施例提供的一种在系统升级过程中对业务进行处理的 方法, 前台服务器在接收到客户端发送的服务请求消息后,根据从开 放式服务网关得到的处理服务器的地址,将该服务请求发送给该处理 服务器, 以处理该服务请求, 相对于现有技术, 本发明实施例不需在 处理服务器之间进行切换,从而能够使得服务器端能够更加及时地响 应客户端的服务请求。
如图 3 所示为本发明又一实施例提供的一种在系统升级过程中 对业务进行处理方法的流程图,所述方法的执行主体可以是如图 1所 示的系统中的开放式服务网关 102, 所述方法包括:
步骤 S301 , 接收前台服务器发送的处理服务器地址查询请求, 所述处理服务器地址查询请求携带系统版本信息以及服务的类型信 息。
步骤 S302, 根据所述系统版本信息以及所述服务的类型信息, 获取处理服务器的地址,并向所述前台服务器发送处理服务器地址查 询响应, 所述处理服务器地址查询响应携带所述处理服务器的地址, 以便所述前台服务器根据所述处理服务器的地址,向所述处理服务器 发送服务请求消息。
其中,开放式服务网关中保存有处理服务器的地址与系统版本信 息以及服务的类型信息之间的对应关系,所述开放式服务网关可以根 据处理服务器地址查询请求中的系统版本信息以及服务的类型信息, 找到与系统版本信息以及服务的类型信息对应的处理服务器的地址; 其中, 需要说明的是, 在开放式服务网关根据系统版本信息以及 服务的类型信息, 找到至少两个处理服务器时, 该开放式服务网关根 据所述至少两个处理服务器的处理负荷信息或是否发生异常等信息, 从所述至少两个处理服务器中选择一个能正常处理所述服务请求的 处理服务器。
其中, 需要说明的是, 所述处理服务器接收到所述服务请求消息 后, 对所述服务消息进行处理, 并在处理完成之后, 将处理的结果发 送给客户端。
作为本发明的一个可选实施例,在所述接收前台服务器发送的处 理服务器地址查询请求之前, 所述方法还包括: 类型信息以及所述系统版本信息,并保存所述处理服务器的地址与所 述服务的类型信息以及所述系统版本信息之间的对应关系。
本发明实施例提供的一种在系统升级过程中对业务进行处理的 方法,开放式服务网关根据前台服务器发送的处理服务器地址查询请 求后, 查找处理服务器的地址, 并将该处理服务器的地址通过处理服 务器地址查询响应发送给该前台服务器,使得前台服务器可以根据该 处理服务器的地址, 将客户端发送的服务请求转发给该处理服务器, 相对于现有技术, 本发明实施例不需在处理服务器之间进行切换, 从 而能够使得服务器端能够更加及时地响应客户端的服务请求。
如图 4 所示为本发明实施例提供的再系统升级过程中对业务进 行处理方法的流程图, 所述方法包括:
步骤 S401 , 客户端向前台服务器发送服务请求消息, 所述服务 器请求消息携带系统版本信息。
步骤 S402、 前台服务器接收所述服务请求消息, 向开放式服务 网关发送处理服务器地址查询请求,所述处理服务器地址查询请求携 带所述系统版本信息以及所述服务请求消息所请求的服务的类型信 息。
步骤 S403 , 所述开放式服务网关接收所述处理服务器地址查询 请求,根据所述系统版本信息以及所述服务的类型信息, 获取处理服 务器的地址, 并向所述前台服务器发送处理服务器地址查询响应, 所 述处理服务器地址查询响应携带所述处理服务器的地址。
步骤 S404, 所述前台服务器接收所述处理服务器地址查询响应, 根据所述处理服务器的地址,向所述处理服务器发送所述服务请求消 息。
步骤 S405、 所述处理服务器接收所述服务器请求消息, 并对所 述服务请求消息进行处理。
如图 5 所示为本发明实施例提供的在系统升级过程中对业务进 行处理的系统结构图, 所述系统包括前台服务器 501 , 开放式服务网 关 502, 其中:
前台服务器 501 , 用于接收客户端发送的服务请求消息, , 所述 服务请求消息携带系统版本信息,并向开放式服务网关 502发送处理 服务器地址查询请求,所述处理服务器地址查询请求携带所述系统版 本信息以及所述服务请求消息所请求的服务的类型信息; 开放式服务器网关 502, 用于接收前台服务器 501发送的所述处 理服务器地址查询请求,根据所述处理服务器地址查询请求中携带的 所述系统版本信息以及所述服务的类型信息, 获取处理服务器的地 址, 并向所述前台服务器 501发送处理服务器地址查询响应;
所述前台服务器 501还用于接收所述开放式服务网关 502发送的 所述处理服务器地址查询响应,根据处理服务器的地址, 向所述处理 服务器发送所述服务请求消息。
其中, 该系统还可以包括处理服务器, 所述处理服务器用于接收 所述前台服务器 501发送的服务器请求消息,对所述服务请求消息进 行处理。
如图 6所示为本发明实施例提供的前台服务器的结构图,所述前 台服务器可以应用于如图 5所示的系统中, 为了便于说明,仅示出与 本发明实施例相关的部分, 该前台服务器包括:
接收单元 601 , 用于接收客户端发送的服务请求消息, 所述服务 请求消息携带系统版本信息。
其中,本发明实施例的执行主体前台服务器用于接收客户端发送 的服务请求, 并将所述服务请求转发给处理服务器进行处理
其中, 需要说明的是,服务器端存在处理不同类型的服务请求消 息的处理服务器。
其中, 不同的处理服务器所运行的系统的版本有可能是不同的, 因此客户端在向前台服务器发送服务请求消息时,需要在所述服务请 求消息中携带系统版本信息; 作为示例而非限定, 所述服务请求消息 可以包括但不限于获取数据请求或请求支援请求等,所述系统版本信 息的表现形式可以是: version 2.1。
发送单元 602, 用于向开放式服务网关发送处理服务器地址查询 请求,所述处理服务器地址查询请求携带所述服务请求消息所请求的 服务的类型以及所述接收单元 601接收的系统版本信息。
在本发明实施例中,开放式服务网关是服务器端用于记录处理服 务器提供的服务的类型信息、所述服务的系统版本信息和所述处理服 务器的地址的设备。前台服务器在接收到客户端发送的服务请求消息 之后, 发送单元 602 向开放式服务网关发送处理服务器地址查询请 求,所述处理服务器地址查询请求携带所述系统版本信息和所述服务 的类型信息(服务的类型可以包括: 请求某项数据的服务或对某项数 据进行分析的服务) , 根据服务的类型信息和系统版本信息可以找到 处理服务请求消息的处理服务器,通过所述服务的类型信息可以在系 统版本相同时对服务的类型进行区另 通过所述系统版本信息可以在 服务类型相同时对系统的版本进行区别
所述接收单元 601 , 还用于接收所述开放式服务网关发送的处理 服务器地址查询响应,所述处理服务器地址查询响应携带处理服务器 的地址,所述处理服务器的地址由所述开放式服务网关根据所述系统 版本信息以及所述服务的类型信息, 查询得到。
其中,开放式服务网关中保存有处理服务器的地址与系统版本信 息以及服务的类型信息之间的对应关系,所述开放式服务网关可以根 据处理服务器地址查询请求中的系统版本信息以及服务的类型信息, 找到与系统版本信息以及服务的类型信息对应的处理服务器的地址; 其中, 需要说明的是, 在开放式服务网关根据系统版本信息以及 服务的类型信息, 找到至少两个处理服务器时, 该开放式服务网关根 据所述至少两个处理服务器的处理负荷信息或是否发生异常等信息, 从所述至少两个处理服务器中选择一个能正常处理所述服务请求的 处理服务器。
所述发送单元 602还用于根据所述接收单元 601接收的处理服务 器的地址, 向所述处理服务器发送所述服务请求消息, 以便所述处理 服务器对所述服务请求消息进行处理。
在本发明实施例中,前台服务器在接收到开放式服务网关发送的 处理服务器的地址之后,服务请求消息发送单元 604根据接收的处理 服务器的地址向所述处理服务器发送服务请求消息,以便所述处理服 务器对所述服务请求消息进行处理。
在本发明的一个可选实施例中,所述发送单元 601还用于在向所 述处理服务器发送所述服务请求消息之后,当所述系统版本信息不是 最新的版本信息时, 向所述客户端发送升级提示消息;
具体地,前台服务器将接收到的服务请求消息中携带的系统版本 信息, 与本地存储的最新的系统版本信息进行比较, 如果服务请求消 息中的系统版本信息不是最新的版本信息,则在向处理服务器发送服 务请求消息之后, 发送单元 601向客户端发送升级提示消息, 以提示 客户端将系统升级到最新的版本
在本发明的另一个可选实施例中,所述发送器 501还用于在向所 述开放式服务网关发送所述处理服务器地址查询请求之前, 向所述 及所述系统版本信息,以便所述开放式服务网关对处理服务器保存所 述处理服务器的地址与所述服务的类型信息以及所述系统版本信息 之间的对应关系。
本发明实施例提供的一种在系统升级过程中对业务进行处理的 方法, 前台服务器在接收到客户端发送的服务请求消息后,根据从开 放式服务网关得到的处理服务器的地址,将该服务请求发送给该处理 服务器, 以处理该服务请求, 相对于现有技术, 本发明实施例不需在 处理服务器之间进行切换,从而能够使得服务器端能够更加及时地响 应客户端的服务请求。
如图 7所示为本发明实施例提供的开放式服务网关的结构图,该 开放式服务网关可以应用于如图 5所示的系统中, 为了便于说明, 仅 示出与本发明实施例相关的部分, 该开放式服务网关包括:
接收单元 701 , 用于接收前台服务器发送的处理服务器地址查询 请求,所述处理服务器地址查询请求携带系统版本信息以及服务的类 型信息。 获取单元 702, 用于根据所述接收单元 701接收的系统版本信息 以及所述服务的类型信息, 获取处理服务器的地址;
发送单元 703 , 用于向所述前台服务器发送处理服务器地址查询 响应,所述处理服务器地址查询响应携带所述获取单元 702获取的处 理服务器的地址, 以便所述前台服务器根据所述处理服务器的地址, 向所述处理服务器发送服务请求消息。
其中,开放式服务网关中保存有处理服务器的地址与系统版本信 息以及服务的类型信息之间的对应关系,所述开放式服务网关根据处 理服务器地址查询请求中的系统版本信息以及服务的类型信息,找到 与系统版本信息以及服务的类型信息对应的处理服务器的地址; 其中, 需要说明的是, 在开放式服务网关根据系统版本信息以及 服务的类型信息, 找到至少两个处理服务器时, 该开放式服务网关根 据所述至少两个处理服务器的处理负荷信息或是否发生异常等信息, 从所述至少两个处理服务器中选择一个能正常处理所述服务请求的 处理服务器。
其中, 需要说明的是, 所述处理服务器接收到所述服务请求消息 后, 对所述服务消息进行处理, 并在处理完成之后, 将处理的结果发 送给客户端。
在本发明的一个可选实施例中,所述接收单元还用于在接收所述 前台服务器发送的所述处理服务器地址查询请求之前,接收所述前台 服务器发送的所述处理服务器提供的所述服务的类型信息以及所述 系统版本信息,并保存所述处理服务器的地址与所述服务的类型信息 以及所述系统版本信息之间的对应关系。
本发明实施例提供的一种在系统升级过程中对业务进行处理的 方法,开放式服务网关根据前台服务器发送的处理服务器地址查询请 求后, 查找处理服务器的地址, 并将该处理服务器的地址通过处理服 务器地址查询响应发送给该前台服务器,使得前台服务器可以根据该 处理服务器的地址, 将客户端发送的服务请求转发给该处理服务器, 相对于现有技术, 本发明实施例不需在处理服务器之间进行切换, 从 而能够使得服务器端能够更加及时地响应客户端的服务请求。
如图 8 所示, 为本发明实施例提供的另一种前台服务器的结构 图, 如图 8所示, 所述前台服务器包括至少一个处理器 801 , 通信总 线 802, 存储器 803和至少一个通信接口 804。
其中, 所述通信总线 802用于实现上述组件之间的连接并通信, 所述通信接口 804用于与外部设备连接并通信。
其中, 所述存储器 803用于存储需要执行的程序代码, 这些程序 代码具体可以包括: 服务请求消息接收单元 8031、 查询请求发送单 元 8032、 查询响应接收单元 8033和服务请求消息发送单元 8034; 所 述处理器 801用于执行所述存储器 803中存储的单元,当上述单元被 所述处理器 801执行时, 实现如下功能:
所述服务请求消息接收单元 8031 , 用于接收客户端发送的服务 请求消息, 所述服务请求消息携带系统版本信息;
所述查询请求发送单元 8032, 用于向开放式服务网关发送处理 服务器地址查询请求,所述处理服务器地址查询请求携带所述服务请 求消息所请求的服务的类型信息以及所述服务请求消息接收单元 8031接收的系统版本信息;
所述查询响应接收单元 8033 , 用于接收所述开放式服务网关发 送的处理服务器地址查询响应,所述处理服务器地址查询响应携带处 理服务器的地址,所述处理服务器的地址由所述开放式服务网关根据 所述系统版本信息以及所述服务的类型信息, 查询得到; 所述服务请求消息发送单元 8034, 用于根据所述查询响应接收 单元 8033接收的处理服务器的地址, 向所述处理服务器发送所述服 务请求消息, 以便所述处理服务器对所述服务请求消息进行处理。
在本发明的一个可选实施例中, 所述程序代码还包括: 升级提示发送单元, 用于在所述服务请求消息发送单元 8034向 所述处理服务器发送所述服务请求消息之后,当所述系统版本信息不 是最新的版本信息, 向所述客户端发送升级提示消息。
在本发明的另一个可选实施例中, 所述程序代码还包括: 服务信息发送单元, 用于在所述查询请求发送单元 8032向所述 开放式服务网关发送所述处理服务器地址查询请求之前,向所述开放 式服务网关发送所述处理服务器提供的所述服务的类型信息以及所 述系统版本信息,以便所述开放式服务网关对处理服务器保存所述处 理服务器的地址与所述服务的类型信息以及所述系统版本信息之间 的对应关系。
如图 9所示,为本发明实施例提供的另一种开放式服务网关的结 构图, 如图 9所示, 所述开放式服务网关包括至少一个处理器 901 , 通信总线 902, 存储器 903和至少一个通信接口 904。
其中, 所述通信总线 902用于实现上述组件之间的连接并通信, 所述通信接口 904用于与外部设备连接并通信。
其中, 所述存储器 903用于存储需要执行的程序代码, 这些程序 代码具体可以包括: 查询请求接收单元 9031、 获取单元 9032和查询 响应发送单元 9033; 所述处理器 901用于执行所述存储器 903中存 储的单元, 当上述单元被所述处理器 901执行时, 实现如下功能: 所述查询请求接收单元 9031 , 用于接收前台服务器发送的处理 服务器地址查询请求,所述处理服务器地址查询请求携带系统版本信 息以及服务的类型信息;
所述获取单元 9032, 用于根据所述查询请求接收单元 9031接收 的系统版本信息以及所述服务的类型信息, 获取处理服务器的地址; 所述查询响应发送单元 9033 , 用于向所述前台服务器发送处理 服务器地址查询响应,所述处理服务器地址查询响应携带所述获取单 元 8032获取的处理服务器的地址, 以便所述前台服务器根据所述处 理服务器的地址, 向所述处理服务器发送服务请求消息。
在本发明的一个可选实施例中, 所述程序代码还包括: 服务信息接收单元, 用于在查询请求接收单元 9031接收所述前 台服务器发送的所述处理服务器地址查询请求之前,接收所述前台服 务器发送的所述处理服务器提供的所述服务的类型信息以及所述系 统版本信息,并保存所述处理服务器的地址与所述服务的类型信息以 及所述系统版本信息之间的对应关系。
本领域普通技术人员还可以理解,实现上述实施例方法中的全部 或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可 以在存储于一计算机可读取存储介质中, 所述的存储介质, 包括 ROM/RAM、 磁盘、 光盘等。
以上所述仅为本发明的较佳实施例而已, 并不用以限制本发明, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进等, 均应包含在本发明的保护范围之内。

Claims

权 利 要 求
1、一种在系统升级过程中对业务进行处理的方法, 其特征在于, 所述方法包括:
接收客户端发送的服务请求消息,所述服务请求消息携带系统版 本信息;
向开放式服务网关发送处理服务器地址查询请求,所述处理服务 器地址查询请求携带所述系统版本信息以及所述服务请求消息所请 求的服务的类型信息;
接收所述开放式服务网关发送的处理服务器地址查询响应,所述 处理服务器地址查询响应携带处理服务器的地址,所述处理服务器的 地址由所述开放式服务网关根据所述系统版本信息以及所述服务的 类型信息, 查询得到;
根据所述处理服务器的地址,向所述处理服务器发送所述服务请 求消息, 以便所述处理服务器对所述服务请求消息进行处理。
2、 如权利要求 1所述的方法, 其特征在于, 在所述向所述处理 服务器发送所述服务请求消息之后, 所述方法还包括:
如果所述系统版本信息不是最新的版本信息,则向所述客户端发 送升级提示消息。
3、 如权利要求 1所述的方法, 其特征在于, 在所述向所述开放 式服务网关发送所述处理服务器地址查询请求之前, 所述方法还包 括: 类型信息以及所述系统版本信息,以便所述开放式服务网关保存所述 处理服务器的地址与所述服务的类型信息以及所述系统版本信息之 间的对应关系。
4、一种在系统升级过程中对业务进行处理的方法, 其特征在于, 所述方法包括:
接收前台服务器发送的处理服务器地址查询请求,所述处理服务 器地址查询请求携带系统版本信息以及服务的类型信息;
根据所述系统版本信息以及所述服务的类型信息,获取处理服务 器的地址, 并向所述前台服务器发送处理服务器地址查询响应, 所述 处理服务器地址查询响应携带所述处理服务器的地址,以便所述前台 服务器根据所述处理服务器的地址,向所述处理服务器发送服务请求 消息。
5、 如权利要求 4所述的方法, 其特征在于, 在所述接收前台服 务器发送的处理服务器地址查询请求之前, 所述方法还包括: 类型信息以及所述系统版本信息,并保存所述处理服务器的地址与所 述服务的类型信息以及所述系统版本信息之间的对应关系。
6、 一种在系统升级过程中对业务进行处理的前台服务器, 其特 征在于, 所述前台服务器包括:
接收单元, 用于接收客户端发送的服务请求消息, 所述服务请求 消息携带系统版本信息;
发送单元, 用于向开放式服务网关发送处理服务器地址查询请 求,所述处理服务器地址查询请求携带所述服务请求消息所请求的服 务的类型以及所述接收单元接收的系统版本信息;
所述接收单元还用于接收所述开放式服务网关发送的处理服务 器地址查询响应,所述处理服务器地址查询响应携带处理服务器的地 址,所述处理服务器的地址由所述开放式服务网关根据所述系统版本 信息以及所述服务的类型信息, 查询得到;
所述发送单元还用于根据所述接收单元接收的处理服务器的地 址, 向所述处理服务器发送所述服务请求消息, 以便所述处理服务器 对所述服务请求消息进行处理。
7、 如权利要求 6所述的前台服务器, 其特征在于, 所述发送单 元还用于在向所述处理服务器发送所述服务请求消息之后,当所述系 统版本信息不是最新的版本信息时, 向所述客户端发送升级提示消 息。
8、 如权利要求 6所述的前台服务器, 其特征在于所述发送单元 还用于在向所述开放式服务网关发送所述处理服务器地址查询请求 类型信息以及所述系统版本信息,以便所述开放式服务网关保存所述 处理服务器的地址与所述服务的类型信息以及所述系统版本信息之 间的对应关系。
9、 一种在系统升级过程中对业务进行处理的开放式服务网关, 其特征在于, 所述开放式服务网关包括:
接收单元, 用于接收前台服务器发送的处理服务器地址查询请 求,所述处理服务器地址查询请求携带系统版本信息以及服务的类型 信息; 获取单元,用于根据所述接收单元接收的系统版本信息以及所述 服务的类型信息, 获取处理服务器的地址;
发送单元, 用于向所述前台服务器发送处理服务器地址查询响 应,所述处理服务器地址查询响应携带所述获取单元获取的所述处理 服务器的地址, 以便所述前台服务器根据所述处理服务器的地址, 向 所述处理服务器发送服务请求消息。
10、 如权利要求 9所述的开放式服务网关, 其特征在于, 所述接 收单元还用于在接收所述前台服务器发送的所述处理服务器地址查 询请求之前,接收所述前台服务器发送的所述处理服务器提供的所述 服务的类型信息以及所述系统版本信息,并保存所述处理服务器的地 址与所述服务的类型信息以及所述系统版本信息之间的对应关系。
11、一种在系统升级过程中对业务进行处理的系统,其特征在于, 所述系统包括:
如权利要求 6-8任一项所述的前台服务器, 以及如权利要求要求 9-10任一项所述的开放式服务网关。
PCT/CN2012/087221 2012-12-22 2012-12-22 在系统升级过程中对业务进行处理的方法、装置和设备 WO2014094315A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201280002157.7A CN103380593B (zh) 2012-12-22 2012-12-22 一种在系统升级过程中对业务进行处理的方法、装置和设备
PCT/CN2012/087221 WO2014094315A1 (zh) 2012-12-22 2012-12-22 在系统升级过程中对业务进行处理的方法、装置和设备

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/087221 WO2014094315A1 (zh) 2012-12-22 2012-12-22 在系统升级过程中对业务进行处理的方法、装置和设备

Publications (1)

Publication Number Publication Date
WO2014094315A1 true WO2014094315A1 (zh) 2014-06-26

Family

ID=49464190

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2012/087221 WO2014094315A1 (zh) 2012-12-22 2012-12-22 在系统升级过程中对业务进行处理的方法、装置和设备

Country Status (2)

Country Link
CN (1) CN103380593B (zh)
WO (1) WO2014094315A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108579075B (zh) * 2018-04-10 2019-12-10 腾讯科技(深圳)有限公司 操作请求响应方法、装置、存储介质及系统
CN111026416A (zh) * 2019-09-17 2020-04-17 拉扎斯网络科技(上海)有限公司 数据更新方法、系统、装置、电子设备及计算机存储介质
CN111756795B (zh) * 2020-05-06 2023-04-07 浙江吉利汽车研究院有限公司 一种服务信息管理方法、装置、电子设备及存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192937A (zh) * 2006-11-24 2008-06-04 华为技术有限公司 一种可热部署的方法及其系统
CN101287011A (zh) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 内容分发网络中响应用户服务请求的方法、系统和设备
CN102571446A (zh) * 2012-02-08 2012-07-11 华为技术有限公司 网络设备的升级方法、装置及系统
CN102594614A (zh) * 2011-01-12 2012-07-18 北京大学 消息中间件的软件版本监视方法和数据交换设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192937A (zh) * 2006-11-24 2008-06-04 华为技术有限公司 一种可热部署的方法及其系统
CN101287011A (zh) * 2008-05-26 2008-10-15 蓝汛网络科技(北京)有限公司 内容分发网络中响应用户服务请求的方法、系统和设备
CN102594614A (zh) * 2011-01-12 2012-07-18 北京大学 消息中间件的软件版本监视方法和数据交换设备
CN102571446A (zh) * 2012-02-08 2012-07-11 华为技术有限公司 网络设备的升级方法、装置及系统

Also Published As

Publication number Publication date
CN103380593A (zh) 2013-10-30
CN103380593B (zh) 2016-03-09

Similar Documents

Publication Publication Date Title
CN106572173B (zh) 一种配置信息更新方法、装置和系统
US9251040B2 (en) Remote debugging in a cloud computing environment
US10306473B2 (en) Auto-provisioning device
US10142425B2 (en) Session reliability for a redirected USB device
US11240106B2 (en) Providing backup and restore services to network attached appliances in a network
CN109669787B (zh) 数据传输方法及装置、存储介质、电子设备
US8255453B2 (en) Public BOT management in private networks
CN111818145B (zh) 一种文件传输方法、装置、系统、设备及存储介质
WO2014094315A1 (zh) 在系统升级过程中对业务进行处理的方法、装置和设备
CN109286684B (zh) 一种通信连接的处理方法、装置、代理服务器及存储介质
US11706301B2 (en) Server node selection method and terminal device
GB2520976A (en) Correct port identification in a network host connection
US10904746B2 (en) Implementation method, apparatus and system for remote access
US8291406B2 (en) Data imaging system and methods
EP2760178B1 (en) Method, apparatus and system for obtaining object
CN112511636B (zh) 数据传输系统、方法、装置、计算机设备及存储介质
US9608914B2 (en) Information processing apparatus and information processing method
US9292225B2 (en) Methods for frame order control and devices in storage area network
US9634987B2 (en) Obtaining a MAC address from an external source
CN112202605A (zh) 服务配置方法、装置、设备及存储介质
US20150301764A1 (en) Hard Disk and Methods for Forwarding and Acquiring Data by Hard Disk
US9077700B2 (en) Authentication server, authentication method and computer program
CN110764932A (zh) 数据处理方法、系统、介质和计算设备
CN112202854B (zh) 一种联调方法、装置、设备及介质
US11824941B2 (en) Accessing representational state transfer application programming interfaces using simple mail transfer protocol

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201280002157.7

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12890538

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 12890538

Country of ref document: EP

Kind code of ref document: A1