WO2009094890A1 - A service scheduling method and the system, apparatus for scheduling services - Google Patents

A service scheduling method and the system, apparatus for scheduling services Download PDF

Info

Publication number
WO2009094890A1
WO2009094890A1 PCT/CN2008/073862 CN2008073862W WO2009094890A1 WO 2009094890 A1 WO2009094890 A1 WO 2009094890A1 CN 2008073862 W CN2008073862 W CN 2008073862W WO 2009094890 A1 WO2009094890 A1 WO 2009094890A1
Authority
WO
WIPO (PCT)
Prior art keywords
web
service
unit
engine
information
Prior art date
Application number
PCT/CN2008/073862
Other languages
French (fr)
Chinese (zh)
Inventor
Hongbo Jin
Changcheng Wen
Original Assignee
Huawei Technologies Co., Ltd.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2009094890A1 publication Critical patent/WO2009094890A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/62Establishing a time schedule for servicing the requests

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a method for service scheduling and a system and device for service scheduling.
  • the WEB application server cluster system is composed of a group of servers running the same WEB application at the same time. It is like a server from the outside world.
  • the cluster server distributes the access requests from all parties to different nodes in the system for processing, and realizes the transparency of the WEB server to the WEB client.
  • the WEB server cluster system has a front-end node, called an allocator. As shown in FIG. 1, it is an entry of the entire cluster system, and the request from the client first arrives at the allocator, and the distributor is coarser-grained.
  • the allocation policy assigns the request to a server on the back end, and the server responds to the request content and returns it to the client through the dispatcher.
  • the entire cluster system has a single virtual IP address, that is, the cluster address, which is actually the IP address of the allocator. That is, the allocator provides a single virtual interface for the cluster system, so the servers in the cluster are transparent to the client. Make the entire cluster system look like a single host to the outside.
  • the technical problem to be solved by the embodiments of the present invention is to provide a service scheduling method and a system and device for service scheduling, which can meet the requirements of expanding service capacity according to service requirements, and implement fine-grained and full control processes of services.
  • One embodiment of the present invention provides a service scheduling method, including:
  • the selected service content processing unit controls the operation of providing the WEB service to the WEB client by accessing the WEB resource.
  • Another embodiment of the present invention also provides a computer program product, the computer program product comprising computer program code, when the computer program code is executed by a computer, the computer program code can cause the computer to execute a Any one of the methods of business scheduling.
  • Yet another embodiment of the present invention also provides a computer readable storage medium storing computer program code, which when the computer program code is executed by a computer, can cause The computer performs any of the steps of a method of service scheduling.
  • a further embodiment of the present invention further provides a system for service scheduling, including: a signaling control unit and a service content processing unit;
  • the signaling control unit is configured to authenticate the request of the WEB client to initiate the use of the WEB service; if the WEB engine selection information is obtained through the authentication, the WEB client selection information is selected as the WEB client according to the WEB engine selection information. And corresponding to the service content processing unit of the user service, and sending the control information, and controlling, by the selected service content processing unit, the operation of providing the WEB service to the WEB client by accessing the WEB resource;
  • the service content processing unit is configured to receive the control information from the signaling control unit, acquire a WEB resource, and interact with the WEB client to exchange WEB service content, and complete the interaction. The status is reported to the signaling control unit.
  • the embodiment of the present invention further provides an apparatus for service scheduling, including:
  • An engine control unit configured to authenticate a request for the WEB service initiated by the received WEB client, and if the request for the WEB engine selection information of the user corresponding to the WEB service and the WEB client is sent by the authentication, according to the receiving
  • the WEB engine selection information is selected as the service content processing unit of the user service corresponding to the client, and the control information is sent, and the selected service content processing unit controls the operation of providing the WEB service to the WEB client by accessing the WEB resource.
  • control policy unit configured to save management information of the engine control unit and WEB engine selection information, and send a user corresponding to the WEB service and the WEB client to the engine control unit according to the request of the engine control unit
  • the WEB engine selects information.
  • An embodiment of the present invention further provides an apparatus for service scheduling, at least one resource obtaining unit, and at least one engine unit corresponding to the resource acquiring unit.
  • the resource obtaining unit is configured to acquire a WEB resource according to resource acquisition information received from an engine unit;
  • the engine unit is configured to send the resource acquisition information to the resource acquisition unit according to the received control information, and operate the WEB service acquired by the resource acquisition unit.
  • the unit responsible for the WEB service control information processing selects the service content processing unit according to the WEB service request, and controls the WEB service content processing unit to process the WEB service, because the control information is transmitted relative to the service content information.
  • the transmitted traffic is negligible, single point of failure can be avoided, and the real-time scheduling and full control process can be realized by the control part.
  • FIG. 1 is a schematic diagram of a system provided by the prior art
  • FIG. 2 is a flowchart of a method according to Embodiment 1 of the present invention
  • 3 is a schematic diagram of a system according to Embodiment 3 of the present invention
  • FIG. 4 is a schematic diagram of a WEB client according to Embodiment 3 of the present invention.
  • FIG. 5 is a schematic diagram of a signaling control unit according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic diagram of a service content processing unit according to Embodiment 3 of the present invention.
  • the embodiment of the invention provides a method for service scheduling and a system and device for service scheduling.
  • WEB service scheduling When used for WEB service scheduling, the WEB service is separated into content and control, which are respectively controlled by the service content processing unit and signaling.
  • the unit is completed, and the service content processing unit is added to meet the requirement of expanding the service capacity according to the service requirement, and the unified control of the processing unit of all service contents by the signaling control unit can also be implemented.
  • Embodiment 1 As shown in FIG. 2, the details are as follows:
  • S101 The WEB engine control unit receives the request of the WEB client to initiate the use of the WEB service.
  • S101 may also include a WEB client to register with the WEB engine control unit before. The process of information is as follows:
  • the WEB client initiates a registration request to the WEB engine control unit, and the content of the request includes: user ID, user authentication information, terminal capability, service service level, network address, and the like.
  • the service service level indicates a temporary service level that the user selects to use the service, and is different from the service level signed by the service provider (such as an operator) when the user signs up, and the service level at the time of signing can be regarded as a default service level.
  • the WEB engine control unit performs an authentication operation on the user, and checks user authentication information in the user database. In this embodiment, it is assumed that the user's authentication information has been written into the user database by the user's signing process to the service provider. If the authentication fails, the registration failure is returned and the reason for the failure is returned. If the authentication is passed, the registration is successful and the user is allowed to use the WEB service. (13) If the registration is successful, the WEB engine control unit simultaneously writes information about the registration request to the control policy unit.
  • the S101 may further include a process of registering the service content processing unit with the WEB engine control unit, which specifically includes:
  • the service content processing unit initiates a registration request message to the WEB engine control unit, and the content of the request includes: a network access permission number, a service content processing unit address, a WEB service channel capability, and a WEB service channel number.
  • the WEB engine control unit performs an authentication operation on the network access license number of the service content processing unit, and checks the service capability of the service content processing unit. If the authentication fails, the registration failure is returned and the reason for the failure is indicated; if the authentication is passed, the registration is successfully returned, and an ID is assigned to uniquely identify the service content processing unit in the WEB engine control unit management domain.
  • the request is authenticated, and the authenticating comprises: verifying, according to the saved authentication information (such as a username and a password), the permission of the user corresponding to the WEB client and whether the requested WEB service is available.
  • the saved authentication information such as a username and a password
  • the WEB engine selection information includes: a specific user, and a service corresponding to the user, a service level, and a candidate service content processing unit.
  • the WEB engine selection information may be generated by the control policy unit according to information such as registration and subscription of the user.
  • control policy unit generates and saves the WEB engine selection information as shown in Table 1, and the user corresponding to the WEB client is User 1, and the control policy unit sends the user 1 corresponding information in Table 1 to the WEB engine control unit as the WEB.
  • the engine control unit selects the basis of the business content processing unit.
  • Table 1 shows: The service corresponding to User 1 is Service 1 and Service 3; The service level of User 1 is Level 1; User 1 candidate service content processing unit is ID1, ID2.
  • the service corresponding to user 2 is service 1 and service 2; the service level of user 2 is level 2; and the service content processing unit of user 2 is ID3 and ID 4.
  • step S113 is performed, and the reason for the unsuccessful authentication is explained.
  • the WEB engine control unit receives the WEB engine selection information of the user corresponding to the WEB service and the WEB client from the control policy unit, and selects the service content processing unit as the WEB client corresponding according to the WEB engine selection information.
  • the user provides the service. For example, selecting ID1 from the candidate service content processing unit provides service for user 1.
  • factors that need to be considered when selecting a service content processing unit according to the WEB engine selection information include: user information of the WEB service, a service category used by the user, and a service level selected by the user.
  • the specific process is as follows:
  • the WEB services are classified according to different standards, and the services are divided into special services and general services.
  • the special services are controlled by specific service content processing units.
  • the ordinary services have no special requirements for the selection of service content processing units.
  • the WEB engine control unit parses out the requested Service URI (Universal Resource Identifier) to provide more reliable and better performance services for a specific type of URI, such as online shopping applications, browsing and selecting products. Services can be arranged on a general business content processing unit, while online electronic payment services are arranged on a more reliable business content processing unit.
  • URI Universal Resource Identifier
  • the WEB engine control unit obtains the WEB client user information in the request by parsing the requested content, and provides a differentiated service according to the information. Depending on the level of service, users can be divided into different service classes, and important users' requests can be assigned to better-performing business content processing units, or they can be given priority system response.
  • the service level includes the service service level requested by the user when the WEB client is registered and the service level when the user signs the contract.
  • the WEB engine control unit can select the nearest service content processing unit to provide a response according to the network location requested by the WEB client, reduce the network transmission overhead, and shorten the system delay time.
  • Differentiating users can also distinguish terminals, and different service content processing units can be set to serve different terminals.
  • the mobile phone can be provided by a type of service content processing unit
  • the PC terminal service can be provided by another type of service content processing unit. This reduces the problem of matching and transcoding to the terminal.
  • Load balancing The WEB engine control unit allocates the arriving request load to the service content processing unit for processing. Each service content processing unit processes part of the system request, and the sum of all service content processing unit processing requests is the total of the entire system. The number of requests.
  • the request load is evenly distributed to each service content processing unit, so that each service content processing unit obtains the same amount of load, and can fully utilize the processing capability of each service content processing unit to provide the best average response for the WEB client. performance.
  • the possible situation is that different services of the same user can be served by different service content processing units according to the load condition of the service content processing unit.
  • the WEB engine control unit can provide a distributed processing function for the WEB service, deploy the service content processing unit to different regions on the network, and control multiple service content processing units to cooperate to complete the service request of the user according to the service requirement.
  • S105-S108 Send a control command for accessing the WEB resource to the service content processing unit.
  • the service content processing unit returns a response message of the acquired WEB resource after acquiring the WEB resource.
  • the service content processing unit After receiving the control command, the service content processing unit exchanges service content with the WEB client.
  • the service content processing unit and the WEB client interworking the service content may be: transmitting the WEB service content to the WEB client, receiving the service content input by the WEB client, and encoding the service stream. Processing such as conversion and encryption.
  • the control of using the WEB service is completed, and after that, it may also include:
  • S111 Receive a message sent by the service content processing unit to confirm completion of the WEB service content.
  • S112 Respond to the service execution completion message to the WEB client.
  • the WEB service when the WEB service is scheduled, the WEB service is decomposed into two parts of control and content, which are respectively implemented by two units, one unit is responsible for processing WEB service control information, and another unit is responsible for WEB service content.
  • the processing of the information, the unit responsible for the WEB service control signaling processing selects the service content processing unit according to the WEB service request, and controls the processing of the WEB service by the WEB service content processing unit. Due to the transmission of control information relative to the transmission of business content information The traffic is negligible, single point of failure can be avoided, and the real-time scheduling and full control process can be realized by the control part.
  • the WEB engine controller can select the service content processing unit for different services, different users, service levels, etc., it can be realized. Fine-grained scheduling strategy.
  • Embodiment 2 Compared with the first embodiment, the difference is that: When the service content processing unit of the service user cannot meet the requirement, the system requires a new service content processing unit to serve more users. The newly added business content processing unit needs to register with the WEB engine control unit in order to accept the management of the engine control unit. The specific process of registration is the same as the registration process of the business content processing unit to the WEB engine control unit in the first embodiment.
  • Embodiment 3 is a schematic diagram of a system according to Embodiment 3 of the present invention, including: a WEB client 300, a signaling control unit 301, and a service content processing unit 302;
  • the WEB client 300 is configured to send a request for using the WEB service, receive the content of the WEB service, and execute and display the WEB service content.
  • the signaling control unit 301 is configured to receive a request for using the WEB service initiated by the WEB client, and perform authentication on the request; if the authentication is performed, request the user corresponding to the WEB service and the WEB client.
  • the WEB engine selects information, and selects a service content processing unit serving as a user service corresponding to the WEB client according to the WEB engine selection information, and concurrently controls the information, and controls the selected service content processing unit to access the WEB resource as the WEB client.
  • the service content processing unit 302 is configured to receive the control information from the signaling control unit 301, obtain the WEB service content between the WEB resource and the WEB client, and report the status of the interaction completion to the Signaling control unit.
  • the WEB client 300 includes:
  • the signaling processing unit 401 is configured to perform information interaction with the signaling control unit 301.
  • the content processing unit 402 is configured to perform interaction of the WEB service content with the service content processing unit 302.
  • the signaling control unit 301 includes:
  • the engine control unit 303 is configured to: perform authentication on the WEB client that initiates the request for using the WEB service, and if the authentication is performed, request the WEB engine selection information of the user corresponding to the WEB service and the WEB client, And selecting, according to the received WEB engine selection information, a service content processing unit that is a user service corresponding to the WEB client, and sending control information, and controlling the selected service content processing unit to access the WEB resource to provide the WEB service for the WEB client;
  • the control policy unit 304 is configured to save the management information of the engine control unit and the WEB engine selection information, and send the WEB engine selection information for the WEB service and the request corresponding user according to the request of the engine control unit 303.
  • the request message of the engine control unit 303 is to acquire the WEB engine selection information of the user 1, and the control policy unit 304 holds the same information as the table 1 in the first embodiment. Then, the control policy unit 304 sets the service corresponding to the user 1 to the service 1 and the service 3; the service level of the user 1 is the level 1; and the user 1 selects the service content processing unit to send the information to the engine control unit 303 such as ID1 and ID2.
  • the service content processing unit 302 includes:
  • the resource obtaining unit 305 is configured to obtain, according to the resource information received from the engine unit 306,
  • This WEB resource refers to all resources on the web.
  • the engine unit 306 is configured to send resource acquisition information to the resource acquisition unit 305 according to the control information received from the engine control unit 303, and operate the WEB service acquired by the resource acquisition unit 305.
  • the operation includes: transmitting the WEB service content to the WEB client, receiving the service content input by the WEB client, and converting and encrypting the encoding format of the service stream.
  • the system further includes: a response unit, configured to receive a message that is confirmed by the engine unit to confirm completion of the WEB service content, and respond to the WEB client with a service execution completion message, where the response unit may be connected to the engine control unit 303 is integrated.
  • the system further includes: a client registration unit and a client authentication unit, where the client registration unit is configured to send a registration request of the newly added WEB client to the client authentication unit, where the client
  • the registration unit may be integrated with the signaling processing unit; the client authentication unit is configured to perform an authentication operation on the received registration request, and if the authentication is performed, return a registration success message to the client registration unit, And writing related information of the registration request to the control policy list
  • the client authentication unit may be integrated with the engine control unit.
  • the system further includes: an engine registration unit and an engine authentication unit, where the engine registration unit is configured to send a registration request of the newly added engine unit to the engine authentication unit, and may be integrated with the engine unit;
  • the engine authentication unit is configured to perform an authentication operation on the registration request received from the engine registration unit, and if the authentication succeeds, return a registration success message, and assign an ID that uniquely identifies the newly added engine unit, and Information related to the registration request is written to the control policy unit, and the engine authentication unit may be integrated with the engine control unit 303.
  • the functions of the WEB client in this embodiment include: (1) registering with the WEB engine control unit 303 to use the WEB service; (2) interworking the service information with the WEB engine control unit 303, and sending the information to the WEB engine control unit 303.
  • the user's service control information receiving other information such as the running status and result of the WEB engine control unit 303; (3) receiving the WEB service content from the engine unit 306 under the control of the WEB service information, executing the WEB service content, and the engine unit 306 Enter the WEB business content.
  • each WEB client can perform WEB service content interaction with at least one service content processing unit, and each service content processing unit can perform WEB service content interaction with at least one WEB client.
  • the signaling control apparatus provided in Embodiment 4 of the present invention is as shown in FIG. 5, and the signaling control apparatus includes:
  • the engine control unit 303 is configured to: perform authentication on the WEB client to initiate the request for using the WEB service, and if the authentication is performed, request the WEB engine selection information for the WEB service and the user corresponding to the request, according to the receiving
  • the WEB engine selection information is selected as a service content processing unit of the user service corresponding to the WEB client, and sends control information, and controls the selected service content processing unit to access the WEB resource to provide the WEB service for the WEB client;
  • the control policy unit 304 is configured to save the management information of the engine control unit and the WEB engine selection information, and send the WEB engine selection information for the WEB service and the request corresponding user according to the request of the engine control unit 303.
  • the request message of the engine control unit 303 is to acquire the WEB engine selection information of the user 1, and the control policy unit 304 stores the same information as the table 1 in the first embodiment.
  • the control policy unit 304 sets the service corresponding to the user 1 as service 1 and service 3; the service level of the user 1 is level 1; and the user 1 candidate service content processing unit is ID1.
  • Information such as ID2 is sent to the engine control unit 303.
  • the device further includes: a client authentication unit, configured to perform an authentication operation on the received registration request, and if the authentication succeeds, return a registration success message, and write related information of the registration request into the control A policy unit, the client authentication unit may be integrated with the engine control unit 303.
  • the device further includes: an engine authentication unit, configured to perform an authentication operation on the received engine registration request, and if the authentication succeeds, returning a registration success message, and assigning an ID that uniquely identifies the engine unit, and registering The requested related information is written to the control policy unit, and the engine authentication unit can be integrated with the engine control unit.
  • an engine authentication unit configured to perform an authentication operation on the received engine registration request, and if the authentication succeeds, returning a registration success message, and assigning an ID that uniquely identifies the engine unit, and registering The requested related information is written to the control policy unit, and the engine authentication unit can be integrated with the engine control unit.
  • Embodiment 5 The apparatus for processing service content provided by the embodiment of the present invention includes: at least one resource obtaining unit, and at least one engine unit corresponding to the resource acquiring unit;
  • the resource obtaining unit is configured to acquire a WEB resource according to resource acquisition information received from an engine unit;
  • the engine unit is configured to send the resource acquisition information to the resource acquisition unit according to the received control information, and operate the WEB service acquired by the resource acquisition unit.
  • the apparatus further includes: a request for sending the registration of the engine unit, and when receiving a response message that the engine unit is successfully registered, sending a message of the permission operation to the engine unit.
  • the WEB service when the WEB service is scheduled, the WEB service is decomposed into two parts of the control and the content, which are respectively implemented by two units, one unit is responsible for processing the WEB service control information, and the other unit is responsible for the WEB service. Processing of content information.
  • the unit responsible for WEB service control information processing controls the processing of the WEB service by the WEB service content processing unit according to the requested WEB service and its corresponding user selecting the corresponding WEB service content processing unit, and the traffic of the control information transmission relative to the service content information transmission Negligible, single point of failure can be avoided, and real-time scheduling and full control process can be realized by the control part; since the WEB engine controller can select the service content processing unit for different services, different users, service levels, etc., fine-grained Scheduling strategy; In addition, when the existing service content processing unit cannot meet the system requirements, it can meet the requirements of expanding the service capacity according to the service requirements.
  • the above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A service scheduling method and the system, apparatus for scheduling services are provided. The method includes that of: receiving a request initiated by a WEB client-end for using a WEB service, and authenticating the request; if the authentication is passed, obtaining the user's WEB engine selection information corresponding to the WEB service and the WEB client-end; selecting a service content process unit served for the user corresponding to the WEB client based on the WEB engine selection information; for the selected service content process unit, providing the WEB service operation control for the WEB client-end by accessing the WEB resource. Through the invention the requirement of extending service capacity based on service need is satisfied, and the fine grain of services and the whole control process are implemented.

Description

一种业务调度的方法及用于业务调度的系统、 装置 本申请要求于 2008 年 01 月 29 日提交中国专利局、 申请号为 200810006312.8、 发明名称为"一种业务调度的方法及用于业务调度的系统、 装置"的中国专利申请的优先权, 其全部内容通过引用结合在本申请中。  Method for service scheduling and system and device for service scheduling The application claims to be submitted to the Chinese Patent Office on January 29, 2008, the application number is 200810006312.8, and the invention name is "a method for business scheduling and for business scheduling. The priority of the Chinese Patent Application, the entire disclosure of which is incorporated herein by reference.
技术领域 Technical field
本发明涉及通信技术领域,尤其涉及一种业务调度的方法及用于业务调度 的系统、 装置。  The present invention relates to the field of communications technologies, and in particular, to a method for service scheduling and a system and device for service scheduling.
背景技术 Background technique
随着 WEB站点容量需求的不断增加和电子商务类 WEB应用的迅猛发展 , 对 WEB服务器系统的处理能力、 系统可靠性和服务质量提出了更高的要求, 随之产生了 WEB服务器集群技术。 WEB应用服务器集群系统是由一群同时 运行同一个 WEB应用的服务器组成的, 在外界看来, 就像一个服务器一样。 集群服务器将来自各方的访问请求分散到系统中的不同节点进行处理,实现了 WEB服务器端对 WEB客户端的透明。  With the increasing demand for WEB sites and the rapid development of e-commerce WEB applications, higher requirements are placed on the processing power, system reliability and service quality of WEB server systems, and the WEB server clustering technology has emerged. The WEB application server cluster system is composed of a group of servers running the same WEB application at the same time. It is like a server from the outside world. The cluster server distributes the access requests from all parties to different nodes in the system for processing, and realizes the transparency of the WEB server to the WEB client.
现有技术中, WEB服务器机群系统中有一个前端节点, 称为分配器, 如 图 1所示, 它是整个集群系统的入口, 来自客户端的请求首先到达分配器, 由 分配器按较粗粒度的分配策略将请求分配到后端的某台服务器上,服务器响应 请求内容,再通过分配器返回给客户端。整个集群系统具有一个单一的虚拟 IP 地址, 即集群地址, 实际上就是分配器的 IP地址, 即分配器为集群系统提供 了一个单一的虚拟接口, 因此集群中的服务器对客户端是透明的,使得整个集 群系统对外部而言就像一台单一的主机。  In the prior art, the WEB server cluster system has a front-end node, called an allocator. As shown in FIG. 1, it is an entry of the entire cluster system, and the request from the client first arrives at the allocator, and the distributor is coarser-grained. The allocation policy assigns the request to a server on the back end, and the server responds to the request content and returns it to the client through the dispatcher. The entire cluster system has a single virtual IP address, that is, the cluster address, which is actually the IP address of the allocator. That is, the allocator provides a single virtual interface for the cluster system, so the servers in the cluster are transparent to the client. Make the entire cluster system look like a single host to the outside.
在对现有技术的研究和实践过程中,发明人发现现有技术至少存在以下问 题: 由于 HTTP(Hypertext Transfer Protocol, 超文本传输协议)请求和响应报文 均需要经过分配器转发, 分配器很容易成为集群系统的瓶颈。尤其是响应报文 中包含声音或图像等内容, 比 HTTP请求报文要大很多, 消耗了分配器的大部 分处理能力和时间, 很容易形成单点故障, 造成整个系统瘫痪。 另外, 粗粒度 分配策略不能很好的区分用户及业务请求,通常为用户初始分配一个后端服务 器后, 则后续业务都由该服务器为该用户提供服务, 不能支持服务期间的实时 调度。 发明内容 In the research and practice of the prior art, the inventor found that the prior art has at least the following problems: Since HTTP (Hypertext Transfer Protocol) request and response messages need to be forwarded by the allocator, the allocator is very It is easy to become a bottleneck in the cluster system. In particular, the response message contains content such as sound or image, which is much larger than the HTTP request message. It consumes most of the processing power and time of the allocator, and it is easy to form a single point of failure, causing the entire system to crash. In addition, the coarse-grained allocation policy does not distinguish between users and service requests. Usually, after a user initially allocates a back-end server, subsequent services are served by the server for the user, and cannot support real-time scheduling during the service. Summary of the invention
本发明实施例要解决的技术问题是提供一种业务调度的方法及用于业务 调度的系统、 装置, 能够根据业务需要达到扩充业务容量的要求, 并且实现业 务的细粒度及全控制过程。  The technical problem to be solved by the embodiments of the present invention is to provide a service scheduling method and a system and device for service scheduling, which can meet the requirements of expanding service capacity according to service requirements, and implement fine-grained and full control processes of services.
为解决上述技术问题, 本发明实施例是通过以下技术方案实现的: 本发明一个实施例提供了一种业务调度的方法, 包括:  To solve the above technical problem, the embodiment of the present invention is implemented by the following technical solutions: One embodiment of the present invention provides a service scheduling method, including:
接收 WEB客户端发起使用 WEB业务的请求, 对所述请求进行鉴权; 若通过鉴权, 获取 WEB弓 )擎选择信息;  Receiving, by the WEB client, a request for using the WEB service, and authenticating the request; if the authentication is obtained, obtaining the WEB bow engine selection information;
根据所述 WEB引擎选择信息选择为所述客户端对应的用户服务的业务内 容处理单元;  Selecting, according to the WEB engine selection information, a service content processing unit serving as a user corresponding to the client;
对选择的业务内容处理单元通过访问 WEB资源为所述 WEB客户端提供 WEB业务的操作进行控制。  The selected service content processing unit controls the operation of providing the WEB service to the WEB client by accessing the WEB resource.
本发明另一个实施例还提供了一种计算机程序产品,所述计算机程序产品 包括计算机程序代码, 当所述计算机程序代码被一个计算机执行的时候, 所述 计算机程序代码可以使得所述计算机执行一种业务调度的方法中的任意一项 步骤。  Another embodiment of the present invention also provides a computer program product, the computer program product comprising computer program code, when the computer program code is executed by a computer, the computer program code can cause the computer to execute a Any one of the methods of business scheduling.
本发明又一个实施例还提供了一种计算机可读存储介质,所述计算机可读 存储介质存储计算机程序代码,当所述计算机程序代码被一个计算机执行的时 候,所述计算机程序代码可以使得所述计算机执行一种业务调度的方法中的任 意一项步骤。  Yet another embodiment of the present invention also provides a computer readable storage medium storing computer program code, which when the computer program code is executed by a computer, can cause The computer performs any of the steps of a method of service scheduling.
本发明再一个实施例还提供了一种用于业务调度的系统, 包括: 信令控制 单元、 业务内容处理单元;  A further embodiment of the present invention further provides a system for service scheduling, including: a signaling control unit and a service content processing unit;
所述信令控制单元, 用于对接收的 WEB客户端发起使用 WEB业务的请 求进行鉴权; 若通过鉴权, 获取 WEB引擎选择信息, 根据所述 WEB引擎选 择信息选择为所述 WEB客户端对应的用户服务的业务内容处理单元, 并发送 控制信息, 对选择的业务内容处理单元通过访问 WEB资源为所述 WEB客户 端提供 WEB业务的操作进行控制;  The signaling control unit is configured to authenticate the request of the WEB client to initiate the use of the WEB service; if the WEB engine selection information is obtained through the authentication, the WEB client selection information is selected as the WEB client according to the WEB engine selection information. And corresponding to the service content processing unit of the user service, and sending the control information, and controlling, by the selected service content processing unit, the operation of providing the WEB service to the WEB client by accessing the WEB resource;
所述业务内容处理单元, 用于从所述信令控制单元接收所述控制信息, 获 取 WEB资源, 并与所述 WEB客户端之间交互 WEB 业务内容, 将交互完成 的状态上报给所述信令控制单元。 The service content processing unit is configured to receive the control information from the signaling control unit, acquire a WEB resource, and interact with the WEB client to exchange WEB service content, and complete the interaction. The status is reported to the signaling control unit.
本法明实施例还提供了一种用于业务调度的装置, 包括:  The embodiment of the present invention further provides an apparatus for service scheduling, including:
引擎控制单元, 用于对接收的 WEB客户端发起使用 WEB业务的请求进 行鉴权, 若通过鉴权, 发送针对所述 WEB业务和 WEB客户端对应的用户的 WEB 引擎选择信息的请求, 根据接收的 WEB 引擎选择信息选择为所述客户 端对应的用户服务的业务内容处理单元, 并发送控制信息,对选择的业务内容 处理单元通过访问 WEB资源为所述 WEB客户端提供 WEB业务的操作进行 控制;  An engine control unit, configured to authenticate a request for the WEB service initiated by the received WEB client, and if the request for the WEB engine selection information of the user corresponding to the WEB service and the WEB client is sent by the authentication, according to the receiving The WEB engine selection information is selected as the service content processing unit of the user service corresponding to the client, and the control information is sent, and the selected service content processing unit controls the operation of providing the WEB service to the WEB client by accessing the WEB resource. ;
控制策略单元, 用于保存所述引擎控制单元的管理信息和 WEB引擎选择 信息, 并根据所述引擎控制单元的请求, 向所述引擎控制单元发送针对所述 WEB业务和 WEB客户端对应的用户的 WEB引擎选择信息。  a control policy unit, configured to save management information of the engine control unit and WEB engine selection information, and send a user corresponding to the WEB service and the WEB client to the engine control unit according to the request of the engine control unit The WEB engine selects information.
本发明实施例还提供了一种用于业务调度的装置, 至少一个资源获取单 元、 以及至少一个与所述资源获取单元——对应的引擎单元;  An embodiment of the present invention further provides an apparatus for service scheduling, at least one resource obtaining unit, and at least one engine unit corresponding to the resource acquiring unit.
所述资源获取单元,用于根据从引擎单元接收的资源获取信息,获取 WEB 资源;  The resource obtaining unit is configured to acquire a WEB resource according to resource acquisition information received from an engine unit;
所述引擎单元,用于根据接收的控制信息向所述资源获取单元发送资源获 取信息, 且对所述资源获取单元获取的 WEB业务进行操作。  The engine unit is configured to send the resource acquisition information to the resource acquisition unit according to the received control information, and operate the WEB service acquired by the resource acquisition unit.
以上技术方案可以看出, WEB业务调度时, 负责 WEB业务控制信息处 理的单元根据 WEB业务请求选择业务内容处理单元, 控制 WEB业务内容处 理单元对 WEB业务的处理, 由于控制信息传输相对业务内容信息传输的流量 可忽略不计, 可以避免单点故障, 并且可由控制部分实现实时调度及全控制过 程。  The above technical solution can be seen that, when the WEB service is scheduled, the unit responsible for the WEB service control information processing selects the service content processing unit according to the WEB service request, and controls the WEB service content processing unit to process the WEB service, because the control information is transmitted relative to the service content information. The transmitted traffic is negligible, single point of failure can be avoided, and the real-time scheduling and full control process can be realized by the control part.
附图说明 DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲, 在不付 出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.
图 1为现有技术提供的系统示意图;  1 is a schematic diagram of a system provided by the prior art;
图 2为本发明实施例一提供的方法流程图; 图 3为本发明实施例三提供的系统示意图; 2 is a flowchart of a method according to Embodiment 1 of the present invention; 3 is a schematic diagram of a system according to Embodiment 3 of the present invention;
图 4为本发明实施例三提供的 WEB客户端的示意图;  4 is a schematic diagram of a WEB client according to Embodiment 3 of the present invention;
图 5为本发明实施例三提供的信令控制单元的示意图;  FIG. 5 is a schematic diagram of a signaling control unit according to Embodiment 3 of the present invention; FIG.
图 6为本发明实施例三提供的业务内容处理单元的示意图。  FIG. 6 is a schematic diagram of a service content processing unit according to Embodiment 3 of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。  BRIEF DESCRIPTION OF THE DRAWINGS The technical solutions in the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative work are within the scope of the present invention.
本发明实施例提供了一种业务调度的方法及用于业务调度的系统、 装置, 用于 WEB业务调度时, 将 WEB业务分离成内容和控制两部分, 分别由业务 内容处理单元和信令控制单元来完成,根据业务需要通过增加业务内容处理单 元达到扩充业务容量的要求,还可以实现信令控制单元对所有业务内容处理单 元的统一管理。  The embodiment of the invention provides a method for service scheduling and a system and device for service scheduling. When used for WEB service scheduling, the WEB service is separated into content and control, which are respectively controlled by the service content processing unit and signaling. The unit is completed, and the service content processing unit is added to meet the requirement of expanding the service capacity according to the service requirement, and the unified control of the processing unit of all service contents by the signaling control unit can also be implemented.
为了使本发明的技术方案更加清楚明白, 下面列举实施例进行详细说明: 实施例一、 如图 2所示, 具体如下:  In order to make the technical solutions of the present invention clearer, the following detailed description is given by way of an embodiment: Embodiment 1 As shown in FIG. 2, the details are as follows:
S101 : WEB引擎控制单元接收 WEB客户端发起使用 WEB业务的请求。 本实施例中, 由于 WEB客户端种类繁多, 例如 PC机、 手机等, 不同的 终端类型对 WEB业务内容的格式要求不同,因此, S101之前还可以包括 WEB 客户端向 WEB引擎控制单元注册登记相关信息的过程, 具体如下:  S101: The WEB engine control unit receives the request of the WEB client to initiate the use of the WEB service. In this embodiment, due to the wide variety of WEB clients, such as PCs and mobile phones, different terminal types have different format requirements for WEB service content. Therefore, S101 may also include a WEB client to register with the WEB engine control unit before. The process of information is as follows:
( 11 ) WEB客户端向 WEB 引擎控制单元发起注册请求, 请求的内容包 括: 用户 ID、 用户鉴权信息、 终端能力、 业务服务等级、 网络地址等信息。  (11) The WEB client initiates a registration request to the WEB engine control unit, and the content of the request includes: user ID, user authentication information, terminal capability, service service level, network address, and the like.
其中, 所述业务服务等级表示用户选择使用业务的临时服务等级, 不同于 用户签约时与服务提供者(如运营商)签署的服务等级, 签约时的服务等级可 以看作默认的服务等级。  The service service level indicates a temporary service level that the user selects to use the service, and is different from the service level signed by the service provider (such as an operator) when the user signs up, and the service level at the time of signing can be regarded as a default service level.
( 12 ) WEB引擎控制单元对用户进行鉴权操作, 检查用户数据库中的用 户鉴权信息。本实施例中,假设用户的鉴权信息通过用户向服务提供者的签约 过程已经写入用户数据库中。如果鉴权不通过, 则返回注册失败并说明失败原 因; 如果鉴权通过, 则返回注册成功, 并允许用户使用 WEB业务。 ( 13 )如果注册成功, WEB 引擎控制单元同时把注册请求的相关信息写 入控制策略单元。 (12) The WEB engine control unit performs an authentication operation on the user, and checks user authentication information in the user database. In this embodiment, it is assumed that the user's authentication information has been written into the user database by the user's signing process to the service provider. If the authentication fails, the registration failure is returned and the reason for the failure is returned. If the authentication is passed, the registration is successful and the user is allowed to use the WEB service. (13) If the registration is successful, the WEB engine control unit simultaneously writes information about the registration request to the control policy unit.
另外,本实施例中, S101之前还可以包括业务内容处理单元向 WEB引擎 控制单元注册的过程, 具体包括:  In addition, in this embodiment, the S101 may further include a process of registering the service content processing unit with the WEB engine control unit, which specifically includes:
( 21 ) 业务内容处理单元向 WEB引擎控制单元发起注册请求消息, 请求 的内容包括: 入网许可号、业务内容处理单元地址、 WEB服务通道能力、 WEB 服务通道数等信息。  (21) The service content processing unit initiates a registration request message to the WEB engine control unit, and the content of the request includes: a network access permission number, a service content processing unit address, a WEB service channel capability, and a WEB service channel number.
( 22 ) WEB引擎控制单元以对业务内容处理单元的入网许可号进行鉴权 操作, 并检验业务内容处理单元的服务能力。 如果鉴权不通过, 则返回注册失 败并注明失败理由; 如果鉴权通过, 则返回注册成功, 并分配一个 ID, 用来在 WEB引擎控制单元管理域内唯一标识所述业务内容处理单元。  (22) The WEB engine control unit performs an authentication operation on the network access license number of the service content processing unit, and checks the service capability of the service content processing unit. If the authentication fails, the registration failure is returned and the reason for the failure is indicated; if the authentication is passed, the registration is successfully returned, and an ID is assigned to uniquely identify the service content processing unit in the WEB engine control unit management domain.
( 23 )如果注册成功, WEB引擎控制单元同时把注册请求的相关信息写 入控制策略单元。  (23) If the registration is successful, the WEB engine control unit simultaneously writes information about the registration request to the control policy unit.
S102: 对所述请求进行鉴权, 该鉴权包括: 根据已保存的鉴权信息 (例如 用户名和密码), 验证 WEB客户端对应的用户的权限及请求的 WEB业务是否 可用。  S102: The request is authenticated, and the authenticating comprises: verifying, according to the saved authentication information (such as a username and a password), the permission of the user corresponding to the WEB client and whether the requested WEB service is available.
S103: 若通过鉴权, 向控制策略单元请求针对所述 WEB业务和 WEB客 户端对应的用户的 WEB引擎选择信息。 该 WEB引擎选择信息包括: 具体的 用户, 以及用户对应的业务、 服务等级、 和候选业务内容处理单元, 该 WEB 引擎选择信息可由控制策略单元根据用户的注册和签约等信息生成。  S103: If the authentication is performed, request, by the control policy unit, the WEB engine selection information of the user corresponding to the WEB service and the WEB client. The WEB engine selection information includes: a specific user, and a service corresponding to the user, a service level, and a candidate service content processing unit. The WEB engine selection information may be generated by the control policy unit according to information such as registration and subscription of the user.
例如,控制策略单元生成并保存如表 1所示的 WEB引擎选择信息, WEB 客户端对应的用户为用户 1 , 则控制策略单元将表 1中用户 1对应信息发送到 WEB引擎控制单元, 作为 WEB引擎控制单元选择业务内容处理单元的依据。 For example, the control policy unit generates and saves the WEB engine selection information as shown in Table 1, and the user corresponding to the WEB client is User 1, and the control policy unit sends the user 1 corresponding information in Table 1 to the WEB engine control unit as the WEB. The engine control unit selects the basis of the business content processing unit.
Figure imgf000007_0001
Figure imgf000007_0001
Figure imgf000007_0002
Figure imgf000007_0002
其中, 表 1表示: 用户 1对应的业务为业务 1和业务 3; 用户 1的服务等级为 等级 1 ; 用户 1侯选业务内容处理单元为 ID1 , ID2。 用户 2对应的业务为业务 1 和业务 2;用户 2的服务等级为等级 2;用户 2侯选业务内容处理单元为 ID3 , ID4。 Table 1 shows: The service corresponding to User 1 is Service 1 and Service 3; The service level of User 1 is Level 1; User 1 candidate service content processing unit is ID1, ID2. The service corresponding to user 2 is service 1 and service 2; the service level of user 2 is level 2; and the service content processing unit of user 2 is ID3 and ID 4.
本实施例中, 若鉴权不成功, 则执行步骤 S113 , 并说明鉴权不成功的原 因。  In this embodiment, if the authentication is unsuccessful, step S113 is performed, and the reason for the unsuccessful authentication is explained.
S104: WEB 引擎控制单元从所述控制策略单元接收针对所述 WEB业务 和 WEB客户端对应的用户的 WEB引擎选择信息, 并根据该 WEB引擎选择 信息选择业务内容处理单元为所述 WEB客户端对应的用户提供服务。 例如, 从侯选业务内容处理单元中选择 ID1为用户 1提供服务。  S104: The WEB engine control unit receives the WEB engine selection information of the user corresponding to the WEB service and the WEB client from the control policy unit, and selects the service content processing unit as the WEB client corresponding according to the WEB engine selection information. The user provides the service. For example, selecting ID1 from the candidate service content processing unit provides service for user 1.
本实施例中, 根据 WEB引擎选择信息选择业务内容处理单元时需要考虑 的因素包括: 使用 WEB业务的用户信息、 用户使用的业务类别、 以及用户选 择的服务等级。 其具体过程如下:  In this embodiment, factors that need to be considered when selecting a service content processing unit according to the WEB engine selection information include: user information of the WEB service, a service category used by the user, and a service level selected by the user. The specific process is as follows:
( a )按不同的标准对 WEB业务进行分类, 把业务分成特殊业务和普通业 务,特殊业务由特定的业务内容处理单元控制提供服务, 普通业务对业务内容 处理单元的选择没有特别要求。 例如, WEB引擎控制单元解析出请求的业务 URI ( Universal Resource Identifier, 通用资源标识) , 为特定的一类 URI提供 更可靠和性能更好的服务, 比如, 在线购物应用中, 浏览和选择商品的服务可 以安排在一般的业务内容处理单元上进行,而在线电子支付服务则安排在更加 可靠的业务内容处理单元上进行。  (a) The WEB services are classified according to different standards, and the services are divided into special services and general services. The special services are controlled by specific service content processing units. The ordinary services have no special requirements for the selection of service content processing units. For example, the WEB engine control unit parses out the requested Service URI (Universal Resource Identifier) to provide more reliable and better performance services for a specific type of URI, such as online shopping applications, browsing and selecting products. Services can be arranged on a general business content processing unit, while online electronic payment services are arranged on a more reliable business content processing unit.
( b ) 区分用户: WEB引擎控制单元通过对请求内容的解析, 获得请求中 的 WEB客户端用户信息, 并根据这些信息提供区分服务。 按照服务等级不同 可以将用户划分为不同的服务类,将重要用户的请求分配到性能更好的业务内 容处理单元上, 或者为它们提供优先的系统响应。 服务等级包括 WEB客户端 注册时用户请求的业务服务等级和用户签约时的服务等级。 另外, WEB引擎 控制单元可以根据 WEB客户端请求的网络位置选择最近的业务内容处理单元 提供响应, 降低网络的传输开销, 缩短系统延迟时间。  (b) Distinguishing users: The WEB engine control unit obtains the WEB client user information in the request by parsing the requested content, and provides a differentiated service according to the information. Depending on the level of service, users can be divided into different service classes, and important users' requests can be assigned to better-performing business content processing units, or they can be given priority system response. The service level includes the service service level requested by the user when the WEB client is registered and the service level when the user signs the contract. In addition, the WEB engine control unit can select the nearest service content processing unit to provide a response according to the network location requested by the WEB client, reduce the network transmission overhead, and shorten the system delay time.
区分用户的同时还可以区分终端,可以设定不同的业务内容处理单元服务 不同的终端。 比如手机可以由一类业务内容处理单元来提供服务, PC终端业 务可以由另一类业务内容处理单元来提供。这样可减少对终端的匹配和转码的 问题。 ( c ) 负载均衡: WEB引擎控制单元将到达的请求负载分配给业务内容处 理单元处理,每个业务内容处理单元分别处理系统的部分请求, 所有业务内容 处理单元处理请求之和为整个系统总的请求数。将请求负载平均地分配给每个 业务内容处理单元,使每个业务内容处理单元获得的负载量相同, 能够充分发 挥每个业务内容处理单元的处理能力, 为 WEB客户端提供最佳的平均响应性 能。带来的可能情况是同一用户的不同业务根据业务内容处理单元的负载情况 可以由不同的业务内容处理单元提供服务。 另外, WEB引擎控制单元可以为 WEB业务提供分布式处理功能, 将业务内容处理单元部署到网络上不同地域, 根据业务需要控制多个业务内容处理单元协作完成用户的业务请求。 Differentiating users can also distinguish terminals, and different service content processing units can be set to serve different terminals. For example, the mobile phone can be provided by a type of service content processing unit, and the PC terminal service can be provided by another type of service content processing unit. This reduces the problem of matching and transcoding to the terminal. (c) Load balancing: The WEB engine control unit allocates the arriving request load to the service content processing unit for processing. Each service content processing unit processes part of the system request, and the sum of all service content processing unit processing requests is the total of the entire system. The number of requests. The request load is evenly distributed to each service content processing unit, so that each service content processing unit obtains the same amount of load, and can fully utilize the processing capability of each service content processing unit to provide the best average response for the WEB client. performance. The possible situation is that different services of the same user can be served by different service content processing units according to the load condition of the service content processing unit. In addition, the WEB engine control unit can provide a distributed processing function for the WEB service, deploy the service content processing unit to different regions on the network, and control multiple service content processing units to cooperate to complete the service request of the user according to the service requirement.
可以理解的是, 具体选择时, 可以综合考虑以上三点, 先选择出一些侯选 业务内容处理单元,再分析当时所有业务内容处理单元的负载情况, 最终合理 地选择至少一个或者至少两个业务内容处理单元为用户提供 WEB服务。  It can be understood that, in the specific selection, the above three points can be comprehensively considered. First, some candidate service content processing units are selected, and then the load conditions of all service content processing units at that time are analyzed, and finally at least one or at least two services are reasonably selected. The content processing unit provides the user with a WEB service.
S105-S108: 向业务内容处理单元发送访问 WEB资源的控制命令; 所述 业务内容处理单元获取到 WEB资源后返回已获取 WEB资源的响应消息。  S105-S108: Send a control command for accessing the WEB resource to the service content processing unit. The service content processing unit returns a response message of the acquired WEB resource after acquiring the WEB resource.
S109: 向业务内容处理单元发送 WEB业务内容交互控制命令。  S109: Send a WEB service content interaction control command to the service content processing unit.
S110: 业务内容处理单元接收到所述控制命令后, 与所述 WEB客户端互 通业务内容。  S110: After receiving the control command, the service content processing unit exchanges service content with the WEB client.
本步骤中, 所述业务内容处理单元与所述 WEB客户端互通业务内容可以 是: 传送 WEB业务内容给所述 WEB客户端, 接收 WEB客户端输入的业务 内容, 以及对业务流进行编码格式的转换和加密等处理。  In this step, the service content processing unit and the WEB client interworking the service content may be: transmitting the WEB service content to the WEB client, receiving the service content input by the WEB client, and encoding the service stream. Processing such as conversion and encryption.
至此, 完成了对使用 WEB业务时的控制, 在此之后还可以包括:  At this point, the control of using the WEB service is completed, and after that, it may also include:
S111 :接收所述业务内容处理单元发送的确认 WEB业务内容完成的消息。 S112: 向所述 WEB客户端响应业务执行完成消息。  S111: Receive a message sent by the service content processing unit to confirm completion of the WEB service content. S112: Respond to the service execution completion message to the WEB client.
S113: 结束业务。  S113: End the business.
该实施例可以看出, WEB业务调度时, 通过将 WEB业务分解为控制和 内容两个部分, 分别由两个单元来实现, 一个单元负责 WEB业务控制信息的 处理, 另外一个单元负责 WEB业务内容信息的处理, 负责 WEB业务控制信 令处理的单元根据 WEB业务请求选择业务内容处理单元, 控制 WEB业务内 容处理单元对 WEB业务的处理。 由于控制信息传输相对业务内容信息传输的 流量可忽略不计, 可以避免单点故障, 并且可由控制部分实现实时调度及全控 制过程; 另外, 由于 WEB引擎控制器可针对不同业务、 不同用户、 服务等级 等选择业务内容处理单元, 因此可实现细粒度的调度策略。 In this embodiment, it can be seen that when the WEB service is scheduled, the WEB service is decomposed into two parts of control and content, which are respectively implemented by two units, one unit is responsible for processing WEB service control information, and another unit is responsible for WEB service content. The processing of the information, the unit responsible for the WEB service control signaling processing selects the service content processing unit according to the WEB service request, and controls the processing of the WEB service by the WEB service content processing unit. Due to the transmission of control information relative to the transmission of business content information The traffic is negligible, single point of failure can be avoided, and the real-time scheduling and full control process can be realized by the control part. In addition, since the WEB engine controller can select the service content processing unit for different services, different users, service levels, etc., it can be realized. Fine-grained scheduling strategy.
实施例二、 相对实施例一, 不同之处在于: 随着 WEB业务容量的增加, 服务用户的业务内容处理单元不能满足要求时,系统要求增加新的业务内容处 理单元以服务更多的用户。新加入的业务内容处理单元为了接受引擎控制单元 的管理需要向 WEB引擎控制单元注册。 注册的具体流程与实施例一中业务内 容处理单元向 WEB引擎控制单元的注册过程相同。  Embodiment 2: Compared with the first embodiment, the difference is that: When the service content processing unit of the service user cannot meet the requirement, the system requires a new service content processing unit to serve more users. The newly added business content processing unit needs to register with the WEB engine control unit in order to accept the management of the engine control unit. The specific process of registration is the same as the registration process of the business content processing unit to the WEB engine control unit in the first embodiment.
该实施例可以看出,现有的业务内容处理单元不能满足系统要求时, 能够 根据业务需要达到扩充业务容量的要求。  It can be seen in this embodiment that when the existing service content processing unit cannot meet the system requirements, the requirements for expanding the service capacity can be achieved according to the service requirements.
以上对本发明实施例提供的方法进行了描述,下面对本发明实施例提供的 系统及装置进行描述。  The method provided by the embodiment of the present invention is described above. The system and device provided by the embodiment of the present invention are described below.
实施例三、 参见图 3 , 为本发明实施例三提供的系统示意图, 包括: WEB 客户端 300、 信令控制单元 301、 业务内容处理单元 302;  Embodiment 3 is a schematic diagram of a system according to Embodiment 3 of the present invention, including: a WEB client 300, a signaling control unit 301, and a service content processing unit 302;
所述 WEB客户端 300, 用于发送使用 WEB业务的请求; 接收所述 WEB 业务的内容, 执行并显示 WEB业务内容。  The WEB client 300 is configured to send a request for using the WEB service, receive the content of the WEB service, and execute and display the WEB service content.
所述信令控制单元 301 , 用于接收 WEB客户端发起的使用 WEB业务的 请求,对所述请求进行鉴权; 若通过鉴权, 则请求针对所述 WEB业务和 WEB 客户端对应的用户的 WEB引擎选择信息, 并根据所述 WEB引擎选择信息选 择为所述 WEB客户端对应的用户服务的业务内容处理单元, 并发控制信息, 控制选择的业务内容处理单元访问 WEB资源,为所述 WEB客户端提供 WEB 业务;  The signaling control unit 301 is configured to receive a request for using the WEB service initiated by the WEB client, and perform authentication on the request; if the authentication is performed, request the user corresponding to the WEB service and the WEB client. The WEB engine selects information, and selects a service content processing unit serving as a user service corresponding to the WEB client according to the WEB engine selection information, and concurrently controls the information, and controls the selected service content processing unit to access the WEB resource as the WEB client. Provide WEB services;
所述业务内容处理单元 302, 用于从所述信令控制单元 301接收所述控制 信息, 获取 WEB资源与所述 WEB客户端之间交互 WEB业务内容, 并将交 互完成的状态上报给所述信令控制单元。  The service content processing unit 302 is configured to receive the control information from the signaling control unit 301, obtain the WEB service content between the WEB resource and the WEB client, and report the status of the interaction completion to the Signaling control unit.
参见图 4, 所述 WEB客户端 300包括:  Referring to Figure 4, the WEB client 300 includes:
信令处理单元 401 , 用于与所述信令控制单元 301进行信息交互; 内容处理单元 402, 用于与业务内容处理单元 302进行 WEB业务内容的 交互。 参见图 5, 所述信令控制单元 301包括: The signaling processing unit 401 is configured to perform information interaction with the signaling control unit 301. The content processing unit 402 is configured to perform interaction of the WEB service content with the service content processing unit 302. Referring to FIG. 5, the signaling control unit 301 includes:
引擎控制单元 303 , 用于对接收的所述 WEB客户端发起使用 WEB业务 的请求进行鉴权, 若通过鉴权, 则请求针对所述 WEB业务和 WEB客户端对 应的用户的 WEB引擎选择信息, 根据接收的 WEB引擎选择信息选择为所述 WEB客户端对应的用户服务的业务内容处理单元, 并发送控制信息, 控制选 择的业务内容处理单元访问 WEB资源, 为所述 WEB客户端提供 WEB业务; 控制策略单元 304, 用于保存所述引擎控制单元的管理信息以及 WEB引 擎选择信息, 并根据引擎控制单元 303的请求, 下发针对所述 WEB业务和所 述请求对应用户的 WEB引擎选择信息。 例如, 引擎控制单元 303的请求消息 为获取用户 1的 WEB引擎选择信息, 而控制策略单元 304中保存有与实施例 一中的表 1相同的信息。 则控制策略单元 304将用户 1对应的业务为业务 1 和业务 3; 用户 1的服务等级为等级 1 ; 用户 1侯选业务内容处理单元为 ID1 , ID2等信息发送到引擎控制单元 303。  The engine control unit 303 is configured to: perform authentication on the WEB client that initiates the request for using the WEB service, and if the authentication is performed, request the WEB engine selection information of the user corresponding to the WEB service and the WEB client, And selecting, according to the received WEB engine selection information, a service content processing unit that is a user service corresponding to the WEB client, and sending control information, and controlling the selected service content processing unit to access the WEB resource to provide the WEB service for the WEB client; The control policy unit 304 is configured to save the management information of the engine control unit and the WEB engine selection information, and send the WEB engine selection information for the WEB service and the request corresponding user according to the request of the engine control unit 303. For example, the request message of the engine control unit 303 is to acquire the WEB engine selection information of the user 1, and the control policy unit 304 holds the same information as the table 1 in the first embodiment. Then, the control policy unit 304 sets the service corresponding to the user 1 to the service 1 and the service 3; the service level of the user 1 is the level 1; and the user 1 selects the service content processing unit to send the information to the engine control unit 303 such as ID1 and ID2.
参见图 6, 所述业务内容处理单元 302包括:  Referring to FIG. 6, the service content processing unit 302 includes:
资源获取单元 305, 用于根据从引擎单元 306接收的资源获取信息, 获取 The resource obtaining unit 305 is configured to obtain, according to the resource information received from the engine unit 306,
WEB资源。 该 WEB资源泛指网上的一切资源。 WEB resources. This WEB resource refers to all resources on the web.
引擎单元 306, 用于根据从所述引擎控制单元 303接收的控制信息, 向所 述资源获取单元 305发送资源获取信息,对所述资源获取单元 305获取的 WEB 业务进行操作。 该操作包括: 传送 WEB业务内容给所述 WEB客户端, 接收 WEB客户端输入的业务内容, 以及对业务流进行编码格式的转换和加密等处 理。  The engine unit 306 is configured to send resource acquisition information to the resource acquisition unit 305 according to the control information received from the engine control unit 303, and operate the WEB service acquired by the resource acquisition unit 305. The operation includes: transmitting the WEB service content to the WEB client, receiving the service content input by the WEB client, and converting and encrypting the encoding format of the service stream.
其中, 所述系统还包括: 响应单元, 用于接收所述引擎单元发送的确认 WEB业务内容完成的消息, 向所述 WEB客户端响应业务执行完成消息, 该 响应单元可与所述引擎控制单元 303集成在一起。  The system further includes: a response unit, configured to receive a message that is confirmed by the engine unit to confirm completion of the WEB service content, and respond to the WEB client with a service execution completion message, where the response unit may be connected to the engine control unit 303 is integrated.
其中, 所述系统还包括: 客户端注册单元和客户端认证单元; 其中, 所述 客户端注册单元, 用于向所述客户端认证单元发送新加入的 WEB客户端的注 册请求, 所述客户端注册单元可与所述信令处理单元集成在一起; 客户端认证 单元, 用于对接收的所述注册请求进行鉴权操作, 若通过鉴权, 向所述客户端 注册单元返回注册成功消息, 并将注册请求的相关信息写入所述控制策略单 元, 所述客户端认证单元可与所述引擎控制单元集成在一起。 The system further includes: a client registration unit and a client authentication unit, where the client registration unit is configured to send a registration request of the newly added WEB client to the client authentication unit, where the client The registration unit may be integrated with the signaling processing unit; the client authentication unit is configured to perform an authentication operation on the received registration request, and if the authentication is performed, return a registration success message to the client registration unit, And writing related information of the registration request to the control policy list The client authentication unit may be integrated with the engine control unit.
其中, 所述系统还包括: 引擎注册单元和引擎认证单元; 所述引擎注册单 元, 用于向所述引擎认证单元发送新加入的引擎单元的注册请求, 可与所述引 擎单元集成在一起; 所述引擎认证单元, 用于对从所述引擎注册单元接收的注 册请求进行鉴权操作, 若通过鉴权, 返回注册成功消息, 分配一个唯一标识所 述新加入的引擎单元的 ID, 并将注册请求的相关信息写入所述控制策略单元, 所述引擎认证单元可与所述引擎控制单元 303集成在一起。  The system further includes: an engine registration unit and an engine authentication unit, where the engine registration unit is configured to send a registration request of the newly added engine unit to the engine authentication unit, and may be integrated with the engine unit; The engine authentication unit is configured to perform an authentication operation on the registration request received from the engine registration unit, and if the authentication succeeds, return a registration success message, and assign an ID that uniquely identifies the newly added engine unit, and Information related to the registration request is written to the control policy unit, and the engine authentication unit may be integrated with the engine control unit 303.
可以看出, 使用本实施例的 WEB客户端的功能包括: (1 ) 向 WEB引擎 控制单元 303注册, 使用 WEB业务; ( 2 )与 WEB引擎控制单元 303互通业 务信息, 向 WEB引擎控制单元 303发送用户的业务控制信息, 接收 WEB引 擎控制单元 303的运行状态、 结果等其它信息; ( 3 )在 WEB业务信息的控制 下, 从引擎单元 306接收 WEB业务内容, 执行 WEB业务内容, 以及向引擎 单元 306输入 WEB业务内容。 并且每个 WEB客户端可以与至少一个业务内 容处理单元进行 WEB业务内容的交互, 每个业务内容处理单元可以与至少一 个 WEB客户端进行 WEB业务内容的交互。  It can be seen that the functions of the WEB client in this embodiment include: (1) registering with the WEB engine control unit 303 to use the WEB service; (2) interworking the service information with the WEB engine control unit 303, and sending the information to the WEB engine control unit 303. The user's service control information, receiving other information such as the running status and result of the WEB engine control unit 303; (3) receiving the WEB service content from the engine unit 306 under the control of the WEB service information, executing the WEB service content, and the engine unit 306 Enter the WEB business content. And each WEB client can perform WEB service content interaction with at least one service content processing unit, and each service content processing unit can perform WEB service content interaction with at least one WEB client.
实施例四、  Embodiment 4
本发明实施例四提供的信令控制装置如图 5 所示, 所述信令控制装置包 括:  The signaling control apparatus provided in Embodiment 4 of the present invention is as shown in FIG. 5, and the signaling control apparatus includes:
引擎控制单元 303 , 用于对接收的 WEB客户端发起使用 WEB业务的请 求进行鉴权, 若通过鉴权, 则请求针对所述 WEB业务和所述请求对应的用户 的 WEB引擎选择信息, 根据接收的 WEB引擎选择信息选择为所述 WEB客 户端对应的用户服务的业务内容处理单元, 并发送控制信息,控制选择的业务 内容处理单元访问 WEB资源, 为所述 WEB客户端提供 WEB业务;  The engine control unit 303 is configured to: perform authentication on the WEB client to initiate the request for using the WEB service, and if the authentication is performed, request the WEB engine selection information for the WEB service and the user corresponding to the request, according to the receiving The WEB engine selection information is selected as a service content processing unit of the user service corresponding to the WEB client, and sends control information, and controls the selected service content processing unit to access the WEB resource to provide the WEB service for the WEB client;
控制策略单元 304, 用于保存所述引擎控制单元的管理信息以及 WEB引 擎选择信息, 并根据引擎控制单元 303的请求, 下发针对所述 WEB业务和所 述请求对应用户的 WEB引擎选择信息。 例如, 引擎控制单元 303的请求消息 为获取用户 1的 WEB引擎选择信息, 而控制策略单元 304中保存有与实施例 一中的表 1相同的信息。 则控制策略单元 304将用户 1对应的业务为业务 1 和业务 3; 用户 1的服务等级为等级 1 ; 用户 1侯选业务内容处理单元为 ID1 , ID2等信息发送到引擎控制单元 303。 The control policy unit 304 is configured to save the management information of the engine control unit and the WEB engine selection information, and send the WEB engine selection information for the WEB service and the request corresponding user according to the request of the engine control unit 303. For example, the request message of the engine control unit 303 is to acquire the WEB engine selection information of the user 1, and the control policy unit 304 stores the same information as the table 1 in the first embodiment. Then, the control policy unit 304 sets the service corresponding to the user 1 as service 1 and service 3; the service level of the user 1 is level 1; and the user 1 candidate service content processing unit is ID1. Information such as ID2 is sent to the engine control unit 303.
本实施例中, 所述装置还包括: 客户端认证单元, 用于对接收的注册请求 进行鉴权操作, 若通过鉴权, 返回注册成功消息, 并将注册请求的相关信息写 入所述控制策略单元,所述客户端认证单元可与所述引擎控制单元 303集成在 一起。  In this embodiment, the device further includes: a client authentication unit, configured to perform an authentication operation on the received registration request, and if the authentication succeeds, return a registration success message, and write related information of the registration request into the control A policy unit, the client authentication unit may be integrated with the engine control unit 303.
本实施例中, 所述装置还包括: 引擎认证单元, 用于对接收的引擎注册请 求进行鉴权操作, 若通过鉴权, 返回注册成功消息, 分配唯一标识所述引擎单 元的 ID, 将注册请求的相关信息写入所述控制策略单元, 所述引擎认证单元 可与所述引擎控制单元集成在一起。  In this embodiment, the device further includes: an engine authentication unit, configured to perform an authentication operation on the received engine registration request, and if the authentication succeeds, returning a registration success message, and assigning an ID that uniquely identifies the engine unit, and registering The requested related information is written to the control policy unit, and the engine authentication unit can be integrated with the engine control unit.
实施例五、 本发明实施例提供的业务内容处理的装置, 包括: 至少一个资 源获取单元、 以及至少一个与所述资源获取单元——对应的引擎单元;  Embodiment 5 The apparatus for processing service content provided by the embodiment of the present invention includes: at least one resource obtaining unit, and at least one engine unit corresponding to the resource acquiring unit;
所述资源获取单元,用于根据从引擎单元接收的资源获取信息,获取 WEB 资源;  The resource obtaining unit is configured to acquire a WEB resource according to resource acquisition information received from an engine unit;
所述引擎单元,用于根据接收的控制信息向所述资源获取单元发送资源获 取信息, 且对所述资源获取单元获取的 WEB业务进行操作。  The engine unit is configured to send the resource acquisition information to the resource acquisition unit according to the received control information, and operate the WEB service acquired by the resource acquisition unit.
本实施例中, 所述装置还包括: 用于发送所述引擎单元的注册请求, 接收 到所述引擎单元注册成功的响应消息时, 向所述引擎单元发送允许操作的消 息。  In this embodiment, the apparatus further includes: a request for sending the registration of the engine unit, and when receiving a response message that the engine unit is successfully registered, sending a message of the permission operation to the engine unit.
以上实施例可以看出, 由于 WEB业务调度时, 通过将 WEB业务分解为 控制和内容两个部分, 分别由两个单元来实现, 一个单元负责 WEB业务控制 信息的处理, 另外一个单元负责 WEB业务内容信息的处理。 负责 WEB业务 控制信息处理的单元根据请求的 WEB业务及其对应的用户选择相应的 WEB 业务内容处理单元, 控制 WEB业务内容处理单元对 WEB业务的处理, 由于 控制信息传输相对业务内容信息传输的流量可忽略不计, 可以避免单点故障, 并且可由控制部分实现实时调度及全控制过程; 由于 WEB引擎控制器可针对 不同业务、 不同用户、 服务等级等选择业务内容处理单元, 因此可实现细粒度 的调度策略; 另外, 现有的业务内容处理单元不能满足系统要求时, 能够根据 业务需要达到扩充业务容量的要求。  The above embodiment can be seen that, when the WEB service is scheduled, the WEB service is decomposed into two parts of the control and the content, which are respectively implemented by two units, one unit is responsible for processing the WEB service control information, and the other unit is responsible for the WEB service. Processing of content information. The unit responsible for WEB service control information processing controls the processing of the WEB service by the WEB service content processing unit according to the requested WEB service and its corresponding user selecting the corresponding WEB service content processing unit, and the traffic of the control information transmission relative to the service content information transmission Negligible, single point of failure can be avoided, and real-time scheduling and full control process can be realized by the control part; since the WEB engine controller can select the service content processing unit for different services, different users, service levels, etc., fine-grained Scheduling strategy; In addition, when the existing service content processing unit cannot meet the system requirements, it can meet the requirements of expanding the service capacity according to the service requirements.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤 是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可 读存储介质中。 One of ordinary skill in the art can understand all or part of the steps in the method of implementing the above embodiments. It is possible to program the associated hardware by a program, which can be stored in a computer readable storage medium.
上述提到的存储介质可以是只读存储器, 磁盘或光盘等。  The above-mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
以上对本发明所提供的一种业务调度的方法及用于业务调度的系统、装置 进行了详细介绍, 对于本领域的一般技术人员, 依据本发明实施例的思想, 在 具体实施方式及应用范围上均会有改变之处, 综上所述, 本说明书内容不应理 解为对本发明的限制。  The method for service scheduling and the system and device for service scheduling provided by the present invention are described in detail above. For those skilled in the art, according to the idea of the embodiment of the present invention, in the specific implementation manner and application scope There are variations, and the description should not be construed as limiting the invention.

Claims

权 利 要 求 Rights request
1、 一种业务调度的方法, 其特征在于, 包括:  A method for service scheduling, which is characterized by comprising:
接收 WEB客户端发起使用 WEB业务的请求, 对所述请求进行鉴权; 若通过鉴权, 获取 WEB弓 )擎选择信息;  Receiving, by the WEB client, a request for using the WEB service, and authenticating the request; if the authentication is obtained, obtaining the WEB bow engine selection information;
根据所述 WEB引擎选择信息选择为所述客户端对应的用户服务的业务内 容处理单元;  Selecting, according to the WEB engine selection information, a service content processing unit serving as a user corresponding to the client;
对选择的业务内容处理单元通过访问 WEB资源为所述 WEB客户端提供 WEB业务的操作进行控制。  The selected service content processing unit controls the operation of providing the WEB service to the WEB client by accessing the WEB resource.
2、 根据权利要求 1所述的方法, 其特征在于, 所述获取 WEB引擎选择 信息具体包括:  The method according to claim 1, wherein the obtaining the WEB engine selection information specifically includes:
获取针对所述 WEB业务和 WEB客户端对应的用户的 WEB引擎选择信 息。  Obtaining WEB engine selection information for the user corresponding to the WEB service and the WEB client.
3、 根据权利要求 1所述的方法, 其特征在于, 所述接收 WEB客户端发 起使用 WEB业务的请求, 对所述请求进行鉴权之前, 还包括:  The method according to claim 1, wherein the receiving WEB client initiates a request to use the WEB service, and before authenticating the request, the method further includes:
接收所述 WEB客户端的注册请求, 对所述 WEB客户端对应的用户进行 鉴权操作, 检查用户鉴权信息;  Receiving a registration request of the WEB client, performing an authentication operation on the user corresponding to the WEB client, and checking user authentication information;
若通过鉴权, 则允许该用户使用 WEB业务, 向所述 WEB客户端返回注 册成功消息, 或进一步保存注册请求的相关信息;  If the authentication is passed, the user is allowed to use the WEB service, return a registration success message to the WEB client, or further save the related information of the registration request;
若鉴权失败, 则返回注册失败消息, 或进一步在所述注册失败消息中携带 失败原因信息。  If the authentication fails, the registration failure message is returned, or the failure reason information is further carried in the registration failure message.
4、 根据权利要求 1所述的方法, 其特征在于, 所述方法, 还包括: 接收新加入的业务内容处理单元发送的注册请求,根据所述注册请求对所 述新加入的业务内容处理单元进行鉴权;  The method according to claim 1, wherein the method further comprises: receiving a registration request sent by the newly added service content processing unit, and processing the newly added service content processing unit according to the registration request. Perform authentication;
若通过鉴权, 则返回注册成功消息, 并分配一个唯一标识所述新加入的业 务内容处理单元的 ID, 或进一步保存注册请求的相关信息; 若鉴权失败, 则 返回注册失败消息, 或进一步在所述注册失败消息中携带失败原因信息。  If the authentication is successful, the registration success message is returned, and an ID that uniquely identifies the newly added service content processing unit is allocated, or the related information of the registration request is further saved; if the authentication fails, the registration failure message is returned, or further The failure reason information is carried in the registration failure message.
5、 根据权利要求 1所述的方法, 其特征在于, 所述根据所述 WEB引擎 选择信息选择为所述 WEB客户端对应的用户服务的业务内容处理单元,包括: 根据使用 WEB业务的用户信息、 用户使用的业务类别、 以及用户选择的 服务等级, 选择至少一个为所述 WEB客户端对应的用户服务的业务内容处理 单元。 5. The method according to claim 1, wherein the according to the WEB engine Selecting information to select a service content processing unit serving as a user service corresponding to the WEB client, comprising: selecting at least one of the WEB clients according to user information using the WEB service, a service category used by the user, and a service level selected by the user. The business content processing unit of the user service corresponding to the end.
6、 一种计算机程序产品, 其特征在于, 所述计算机程序产品包括计算机 程序代码, 当所述计算机程序代码被一个计算机执行的时候, 所述计算机程序 代码可以使得所述计算机执行权利要求 1至 5项中任意一项的步骤。  6. A computer program product, characterized in that the computer program product comprises computer program code, and when the computer program code is executed by a computer, the computer program code can cause the computer to execute claim 1 The steps of any of the five items.
7、 一种计算机可读存储介质, 其特征在于, 所述计算机可读存储介质存 储计算机程序代码, 当所述计算机程序代码被一个计算机执行的时候, 所述计 算机程序代码可以使得所述计算机执行权利要求 1至 5项中任意一项的步骤。  7. A computer readable storage medium, wherein the computer readable storage medium stores computer program code, and when the computer program code is executed by a computer, the computer program code can cause the computer to execute The steps of any one of claims 1 to 5.
8、 一种用于业务调度的系统, 其特征在于, 包括: 信令控制单元、 业务 内容处理单元;  A system for service scheduling, comprising: a signaling control unit and a service content processing unit;
所述信令控制单元, 用于对接收的 WEB客户端发起使用 WEB业务的请 求进行鉴权; 若通过鉴权, 获取 WEB引擎选择信息, 根据所述 WEB引擎选 择信息选择为所述 WEB客户端对应的用户服务的业务内容处理单元, 并发送 控制信息, 对选择的业务内容处理单元通过访问 WEB资源为所述 WEB客户 端提供 WEB业务的操作进行控制;  The signaling control unit is configured to authenticate the request of the WEB client to initiate the use of the WEB service; if the WEB engine selection information is obtained through the authentication, the WEB client selection information is selected as the WEB client according to the WEB engine selection information. And corresponding to the service content processing unit of the user service, and sending the control information, and controlling, by the selected service content processing unit, the operation of providing the WEB service to the WEB client by accessing the WEB resource;
所述业务内容处理单元, 用于从所述信令控制单元接收所述控制信息, 获 取 WEB资源, 并与所述 WEB客户端之间交互 WEB 业务内容, 将交互完成 的状态上报给所述信令控制单元。  The service content processing unit is configured to receive the control information from the signaling control unit, obtain a WEB resource, and interact with the WEB client to exchange the WEB service content, and report the status of the interaction to the letter. Order the control unit.
9、 根据权利要求 8所述的系统, 其特征在于, 所述信令控制单元包括: 引擎控制单元, 用于对接收的所述 WEB客户端发起使用 WEB业务的请 求进行鉴权, 若通过鉴权, 发送针对所述 WEB业务和 WEB客户端对应的用 户的 WEB引擎选择信息的请求, 根据接收的 WEB引擎选择信息选择为所述 WEB客户端对应的用户服务的业务内容处理单元, 并发送控制信息, 对选择 的业务内容处理单元通过访问 WEB资源为所述 WEB客户端提供 WEB业务 的操作进行控制;  The system according to claim 8, wherein the signaling control unit comprises: an engine control unit, configured to authenticate the received request of the WEB client to use the WEB service, if the authentication is passed And sending a request for the WEB engine selection information of the user corresponding to the WEB service and the WEB client, selecting a service content processing unit serving as the user service corresponding to the WEB client according to the received WEB engine selection information, and sending the control The information, the selected service content processing unit controls the operation of providing the WEB service to the WEB client by accessing the WEB resource;
控制策略单元, 用于保存所述引擎控制单元的 WEB引擎选择信息, 并根 据所述引擎控制单元的请求, 向所述引擎控制单元发送针对所述 WEB业务和 WEB客户端对应的用户的 WEB引擎选择信息。 a control policy unit, configured to save WEB engine selection information of the engine control unit, and root Sending, according to the request of the engine control unit, WEB engine selection information for the WEB service and the user corresponding to the WEB client to the engine control unit.
10、 根据权利要求 8或 9所述的系统, 其特征在于, 所述业务内容处理 单元包括:  The system according to claim 8 or 9, wherein the service content processing unit comprises:
所述资源获取单元, 用于根据从引擎单元接收的资源获取信息获取 WEB 资源;  The resource obtaining unit is configured to acquire a WEB resource according to resource acquisition information received from an engine unit;
所述引擎单元,用于根据接收的控制信息向所述资源获取单元发送资源获 取信息, 且对所述资源获取单元获取的 WEB业务进行操作。  The engine unit is configured to send the resource acquisition information to the resource acquisition unit according to the received control information, and operate the WEB service acquired by the resource acquisition unit.
11、 根据权利要求 10所述的系统, 其特征在于, 所述系统还包括: 响应单元,用于接收所述引擎单元发送的确认 WEB业务内容完成的消息, 向所述 WEB客户端响应业务执行完成消息。  The system according to claim 10, wherein the system further comprises: a response unit, configured to receive a message sent by the engine unit to confirm completion of the WEB service content, and perform a service response to the WEB client Complete the message.
12、 根据权利要求 9所述的系统, 其特征在于, 所述系统还包括: 客户端注册单元, 用于向所述引擎控制单元发送新加入的 WEB客户端的 注册请求;  The system according to claim 9, wherein the system further comprises: a client registration unit, configured to send a registration request of the newly joined WEB client to the engine control unit;
客户端认证单元,用于对接收的所述注册请求进行鉴权操作,若通过鉴权, 向所述注册单元返回注册成功消息,并将注册请求的相关信息写入所述控制策 略单元。  The client authentication unit is configured to perform an authentication operation on the received registration request, and if the authentication is performed, return a registration success message to the registration unit, and write related information of the registration request to the control policy unit.
13、 根据权利要求 9所述的系统, 其特征在于, 所述系统还包括: 引擎注册单元,用于向所述引擎控制单元发送新加入的引擎单元的注册请 求;  The system according to claim 9, wherein the system further comprises: an engine registration unit, configured to send a registration request of the newly joined engine unit to the engine control unit;
引擎认证单元, 用于对接收的所述注册请求进行鉴权操作, 若通过鉴权, 返回注册成功消息, 分配唯一标识所述新加入的引擎单元的 ID, 并将注册请 求的相关信息写入所述控制策略单元。  An engine authentication unit, configured to perform an authentication operation on the received registration request, and if the authentication succeeds, return a registration success message, assign an ID that uniquely identifies the newly added engine unit, and write related information of the registration request The control strategy unit.
14、 一种用于业务调度的装置, 其特征在于, 包括:  14. A device for service scheduling, comprising:
引擎控制单元, 用于对接收的 WEB客户端发起使用 WEB业务的请求进 行鉴权, 若通过鉴权, 发送针对所述 WEB业务和 WEB客户端对应的用户的 WEB引擎选择信息的请求, 根据接收的 WEB引擎选择信息选择为所述 WEB 客户端对应的用户服务的业务内容处理单元, 并发送控制信息,对选择的业务 内容处理单元通过访问 WEB资源为所述 WEB客户端提供 WEB业务的操作 进行控制; An engine control unit, configured to authenticate a request for the WEB service initiated by the received WEB client, and send a request for the WEB engine selection information of the user corresponding to the WEB service and the WEB client by using the authentication, according to the receiving WEB engine selection information selection for the WEB a service content processing unit of the user service corresponding to the client, and sending the control information, and controlling, by the selected service content processing unit, the operation of providing the WEB service to the WEB client by accessing the WEB resource;
控制策略单元, 用于保存所述引擎控制单元的管理信息和 WEB引擎选择 信息, 并根据所述引擎控制单元的请求, 向所述引擎控制单元发送针对所述 WEB业务和 WEB客户端对应的用户的 WEB引擎选择信息。  a control policy unit, configured to save management information of the engine control unit and WEB engine selection information, and send a user corresponding to the WEB service and the WEB client to the engine control unit according to the request of the engine control unit The WEB engine selects information.
15、 根据权利要求 14所述的装置, 其特征在于, 所述装置还包括: 客户端认证单元, 用于对接收的客户端注册请求进行鉴权操作, 若通过鉴 权, 返回注册成功消息, 并将注册请求的相关信息写入所述控制策略单元。  The device according to claim 14, wherein the device further comprises: a client authentication unit, configured to perform an authentication operation on the received client registration request, and if the authentication succeeds, return a registration success message, The relevant information of the registration request is written into the control policy unit.
16、 根据权利要求 14所述的装置, 其特征在于, 所述装置还包括: 引擎认证单元, 用于对接收的引擎注册请求进行鉴权操作, 若通过鉴权, 返回注册成功消息, 分配唯一标识所述引擎的 ID, 将注册请求的相关信息写 入所述控制策略单元。  The device according to claim 14, wherein the device further comprises: an engine authentication unit, configured to perform an authentication operation on the received engine registration request, and if the authentication is successful, return a registration success message, and assign the unique Identifying an ID of the engine, and writing related information of the registration request to the control policy unit.
17、 一种用于业务调度的装置, 其特征在于, 包括: 至少一个资源获取单 元、 以及至少一个与所述资源获取单元——对应的引擎单元;  An apparatus for service scheduling, comprising: at least one resource acquisition unit, and at least one engine unit corresponding to the resource acquisition unit;
所述资源获取单元,用于根据从引擎单元接收的资源获取信息,获取 WEB 资源;  The resource obtaining unit is configured to acquire a WEB resource according to resource acquisition information received from an engine unit;
所述引擎单元,用于根据接收的控制信息向所述资源获取单元发送资源获 取信息, 且对所述资源获取单元获取的 WEB业务进行操作。  The engine unit is configured to send the resource acquisition information to the resource acquisition unit according to the received control information, and operate the WEB service acquired by the resource acquisition unit.
18、 根据权利要求 17所述的装置, 其特征在于, 所述装置还包括: 注册单元, 用于发送所述引擎单元的注册请求,接收到所述引擎单元注册 成功的响应消息时, 向所述引擎单元发送允许操作的消息。  The device according to claim 17, wherein the device further comprises: a registration unit, configured to send a registration request of the engine unit, and receive a response message that the engine unit is successfully registered, The engine unit sends a message allowing the operation.
PCT/CN2008/073862 2008-01-29 2008-12-30 A service scheduling method and the system, apparatus for scheduling services WO2009094890A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200810006312.8 2008-01-29
CN200810006312.8A CN101499995B (en) 2008-01-29 2008-01-29 Service scheduling method, system and apparatus for service scheduling

Publications (1)

Publication Number Publication Date
WO2009094890A1 true WO2009094890A1 (en) 2009-08-06

Family

ID=40912258

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/073862 WO2009094890A1 (en) 2008-01-29 2008-12-30 A service scheduling method and the system, apparatus for scheduling services

Country Status (2)

Country Link
CN (1) CN101499995B (en)
WO (1) WO2009094890A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018145546A1 (en) * 2017-02-07 2018-08-16 腾讯科技(深圳)有限公司 Authentication method, device and storage medium

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104092718B (en) * 2013-12-12 2017-10-24 腾讯数码(天津)有限公司 The update method of configuration information in distributed system and distributed system
CN103986709B (en) * 2014-05-15 2017-02-15 重庆邮电大学 Middleware registration method under RESTful framework
CN104301414A (en) * 2014-10-21 2015-01-21 无锡云捷科技有限公司 Server load balancing method based on network protocol stack
CN104883403B (en) * 2015-06-04 2018-09-18 中国地质大学(武汉) The method and Web server of message are transmitted in a kind of Web information system
CN105338094A (en) * 2015-11-17 2016-02-17 中国建设银行股份有限公司 Data processing method and system
CN107332814B (en) * 2016-04-29 2021-01-01 华为技术有限公司 Request message transmission method and device
CN107438061B (en) * 2016-05-27 2020-03-03 北京京东尚科信息技术有限公司 Method and device for authenticating kafka client
CN106657287B (en) * 2016-11-30 2020-05-22 广州市千钧网络科技有限公司 Data access method and system
CN107426168A (en) * 2017-05-23 2017-12-01 国网山东省电力公司电力科学研究院 A kind of Secure Network Assecc processing method and processing device
CN107249019A (en) * 2017-05-26 2017-10-13 北京小米移动软件有限公司 Data handling system, method, device and server based on business
CN113608778A (en) * 2021-08-06 2021-11-05 中国电信股份有限公司 Application management method and device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040111506A1 (en) * 2002-12-10 2004-06-10 International Business Machines Corporation System and method for managing web utility services
US20050207439A1 (en) * 2004-03-19 2005-09-22 International Business Machines Corporation Method and apparatus for dynamically scheduling requests
CN1751293A (en) * 2002-09-30 2006-03-22 国际商业机器公司 A common scheduler web service for distributed network environments
US20060218290A1 (en) * 2005-03-23 2006-09-28 Ying-Dar Lin System and method of request scheduling for differentiated quality of service at an intermediary
CN101075948A (en) * 2006-05-15 2007-11-21 中兴通讯股份有限公司 Method for realizing realtime fluid-medium programm reliable transmission

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1751293A (en) * 2002-09-30 2006-03-22 国际商业机器公司 A common scheduler web service for distributed network environments
US20040111506A1 (en) * 2002-12-10 2004-06-10 International Business Machines Corporation System and method for managing web utility services
US20050207439A1 (en) * 2004-03-19 2005-09-22 International Business Machines Corporation Method and apparatus for dynamically scheduling requests
US20060218290A1 (en) * 2005-03-23 2006-09-28 Ying-Dar Lin System and method of request scheduling for differentiated quality of service at an intermediary
CN101075948A (en) * 2006-05-15 2007-11-21 中兴通讯股份有限公司 Method for realizing realtime fluid-medium programm reliable transmission

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018145546A1 (en) * 2017-02-07 2018-08-16 腾讯科技(深圳)有限公司 Authentication method, device and storage medium

Also Published As

Publication number Publication date
CN101499995B (en) 2012-05-23
CN101499995A (en) 2009-08-05

Similar Documents

Publication Publication Date Title
WO2009094890A1 (en) A service scheduling method and the system, apparatus for scheduling services
WO2019157955A1 (en) Device access method, related platform and computer storage medium
US10623272B2 (en) Authenticating connections and program identity in a messaging system
WO2021057889A1 (en) Data processing method and apparatus, electronic device, and storage medium
US5682478A (en) Method and apparatus for supporting multiple, simultaneous services over multiple, simultaneous connections between a client and network server
US8955084B2 (en) Timestamp-based token revocation
US20230018257A1 (en) Alias management method and device
WO2012071907A1 (en) Method and system for hosting desktop virtualized terminal
US20050267779A1 (en) Method, apparatus, and medium for servicing clients in remote areas
EP3047626A1 (en) Multiple resource servers with single, flexible, pluggable oauth server and oauth-protected restful oauth consent management service, and mobile application single sign on oauth service
WO2019029327A1 (en) Discovery method and device for network function service
WO2013091196A1 (en) Method, device, and system for setting user's right to access virtual machine
WO2013104143A1 (en) Authentication method and system oriented to heterogeneous network
US20130007093A1 (en) Client server communication system
WO2015039502A1 (en) Communication authentication method and apparatus, and terminal device
WO2017041562A1 (en) Method and device for identifying user identity of terminal device
CN113127168A (en) Service distribution method, system, device, server and medium
US10817327B2 (en) Network-accessible volume creation and leasing
WO2011038628A1 (en) Method, access node and system for obtaining data
WO2015042349A1 (en) Multiple resource servers with single, flexible, pluggable oauth server and oauth-protected restful oauth consent management service, and mobile application single sign on oauth service
WO2013000374A1 (en) Load balance implementation method, device and set-top box
TW200928777A (en) Data processing method and apparatus based on cluster
WO2020083322A1 (en) Call method, device and system
CN112352411B (en) Registration of the same domain with different cloud service networks
WO2010078765A1 (en) Method and system for service processing in content distribution network of interactive network tv

Legal Events

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

Ref document number: 08871864

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: 08871864

Country of ref document: EP

Kind code of ref document: A1