CN102710785B - Cloud service node architecture in self-service tourism system, and service collaborating and balancing module and method among service nodes in self-service tourism system - Google Patents

Cloud service node architecture in self-service tourism system, and service collaborating and balancing module and method among service nodes in self-service tourism system Download PDF

Info

Publication number
CN102710785B
CN102710785B CN201210198862.0A CN201210198862A CN102710785B CN 102710785 B CN102710785 B CN 102710785B CN 201210198862 A CN201210198862 A CN 201210198862A CN 102710785 B CN102710785 B CN 102710785B
Authority
CN
China
Prior art keywords
cloud
service
node group
service node
task
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210198862.0A
Other languages
Chinese (zh)
Other versions
CN102710785A (en
Inventor
沙学军
宋晓程
房宵杰
付占宇
曲金鑫
安然
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Harbin Institute of Technology
Original Assignee
Harbin Institute of Technology
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 Harbin Institute of Technology filed Critical Harbin Institute of Technology
Priority to CN201210198862.0A priority Critical patent/CN102710785B/en
Publication of CN102710785A publication Critical patent/CN102710785A/en
Application granted granted Critical
Publication of CN102710785B publication Critical patent/CN102710785B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a cloud service node architecture in a self-service tourism system, and a service collaborating and balancing module and a service collaborating and balancing method among service nodes in the self-service tourism system, relates to the cloud service node architecture, and the service collaborating and balancing module and the service collaborating and balancing method among the service nodes, and aims to meet the requirement of self-service tourism. According to the architecture, the module and the method, a MapReduce idea is used for service collaborating and load balancing of a self-service tourism cloud service system; when arriving at the service nodes, a user service request is split and scheduled by the system; the arrived service request is regarded as a big task, and the big task can be split into a plurality of small tasks; therefore, the small tasks are regarded as objects in the load balancing process, so that the parallel processing capacity of the system is improved; and the architecture, the module and the method are applied to the self-service tourism system.

Description

Business cooperation between travel at one's own expense system medium cloud service node framework and each service node and balance module and collaborative and equalization methods
Technical field
The present invention relates to business cooperation and balance module and collaborative and equalization methods between a kind of cloud service node architecture and each service node.
Background technology
Along with the raising day by day of China's material and educational level, travel outdoors become a lot of people life must an obligato part.Especially in trip peak periods such as legal festivals and holidays, artificial guide cannot meet visitor's needs far away.In the time that user goes on a tour, in the situation that not having guide to accompany, due to being unfamiliar with of geographical position and sight spot, often can not enjoy yourself the situation that even can meet accident.And existing self-help guide equipment major part is based on radio-frequency devices or adopts the method for more single loop play sight spot information.This kind of method real-time is not high, and the sight spot information recording is in advance the easy out-of-date mistake that even occurs often; Intelligent deficiency, limited equipment often can not meet the needs of visitor's quantity of rapid growth; And have significant limitation, the information in scenic spot can only be provided.
Along with the fast development of the new technologies such as wireless communication technology and Internet of Things, cloud computing, the popularity rate of personal wireless terminal that possesses inherent intelligence (as transducer, GPS) is very high.And the appearance of above-mentioned new technology can make up the deficiency of existing travel at one's own expense method, for visitor, it provides the platform that the services such as navigation, safety guide, information report were reviewed, travelled in the location of property one by one.User can obtain own required every terms of information by mobile terminal, as the GPS information of position, and the introduction of tourist attractions, on-site service industry is as hotel, the information of medical institutions, transport information etc.Along with the day by day universal and available potential unlimited computing capability of cloud computing of 3G (Third Generation) Moblie technology, the travelling of the individual autonomy based on an above new technology platform role can be larger, and status is also more crucial.
Summary of the invention
The present invention is the demand in order to adapt to travel at one's own expense, thereby business cooperation and balance module and collaborative and equalization methods between travel at one's own expense system medium cloud service node framework and each service node are provided.
Travel at one's own expense system medium cloud service node framework, service node group, the historical service node group of cloud, configuration server and fractionation server when it comprises cloud system host node, cloud system service node group, cloud data serving node group, mysorethorn;
Cloud system host node is for being responsible for task assignment and scheduling;
When cloud system service node group, cloud data serving node group, mysorethorn, service node group, the historical service node group of cloud, configuration server and fractionation server communicate with cloud system host node respectively;
Cloud system service node group is for the processing to system management maintenance service;
Cloud data serving node group is for the classification processing to required every sight spot information, peripheral information, traffic and weather information service of user;
When mysorethorn, service node group is for processing the real-time service of system;
The historical service node group of cloud is for according to the record of Information Monitoring history in the deposit cycle and charging, customer service statistics, account settlement business processing;
When configuration server is used for cloud system service node group, cloud data serving node group, mysorethorn, service node group and the historical service node group configuration information of cloud deposits and upgrades, and for cloud system host node real time interaction information, also for upgrading, maintenance task are sent to cloud system host node;
Split server for receiving the task that host node is sent here, and according to the packing rule of setting, this task is split and encapsulated, and the task after splitting and encapsulating is back to cloud system host node.
It also comprises cloud system host node backup node, and described cloud system host node backup node for providing the auxiliary node of seamless switching in the time that cloud system host node breaks down.
Cloud system service node group is specifically for the authentication for travel at one's own expense system user, personal information and rights management and system service Content Management, the service content of locating information that Content Management provides mainly for user, sight spot information, weather condition, traffic, medical safety provides uploading channel, and Content Advisor and issue.
When mysorethorn, service node group is specifically for the real-time response of renewal and the individual service of travel at one's own expense system user of travel at one's own expense system user Current GPS position coordinates.
The historical service node group of cloud is for recording the log information that gathers all tasks; And record task type, Time To Failure, the failure cause information of failed tasks; The also load balancing of register system, failover, backup reaction information.
Business cooperation in travel at one's own expense system between each service node and balance module, it comprises process control module, communication module, load balancing module, service management and scheduler module and thread pool module;
Process control module is used for coordinating each process according to sequential, and the task of exceeding the scheduled time is carried out to terminating operation;
Communication module has been used for exchange and the transfer of data of communication protocol; Communicating by letter between the historical service node group of service node group and cloud when realizing cloud system host node with cloud system service node group, cloud data serving node group, mysorethorn, and communication between process control module, load balancing module, service management and scheduler module and thread pool module;
Load balancing module comprises the balanced submodule of central loading and computing node load balancing submodule;
Computing node load balancing submodule is for obtaining the current task situation of carrying out, then carry out load balancing calculating by the configuration information of itself, and obtain new task, and by communication module and adjacent node exchange loading condition, self loading condition and task application are reported to cloud system host node;
The balanced submodule of central loading carries out decision-making for self loading condition and the request task that report according to child node;
The fractionation of the task that service management and scheduler module issue for the treatment of cloud system host node and to splitting management, filtration and the classification of rear task;
In thread pool module, configure a thread pool that comprises multiple threads and queue, the process of calculating for regulating and controlling bottom.
Business cooperation in travel at one's own expense system between each service node and equalization methods, it is realized by following steps:
Step 1, travel at one's own expense cloud service system activate, service node group, the historical service node group of cloud, configuration server and fractionation startup of server when cloud system host node, cloud system service node group, cloud data serving node group, mysorethorn; When cloud system service node group, cloud data serving node group, mysorethorn, the historical service node group of service node group and cloud sends respectively to shake hands and is connected signal and self address state information to cloud system host node;
When step 2, cloud system host node judge whether to receive from cloud system service node group, cloud data serving node group, mysorethorn, service node group sends to shake hands with the historical service node group of cloud and is connected signal and self address state information, if judged result is yes, perform step 21; If judged result is no, perform step two or two;
Step 2 one, cloud system host node send respectively service node group and the historical service node group of cloud while feeding back handshake to cloud system service node group, cloud data serving node group, mysorethorn after receiving link information, confirm successful connection; Cloud system host node is set up a dynamic management environment according to this handshaking information receiving and address information, position and the function information of the historical service node group of service node group and cloud while comprising about cloud system service node group, cloud data serving node group, mysorethorn in described dynamic management environment, and perform step three;
When step 2 two, cloud system host node require cloud system service node group, cloud data serving node group, mysorethorn, service node group resends to shake hands with the historical service node group of cloud and is connected signal and self address state information, and returns to execution step two;
Step 3, cloud system host node receive the task from travel at one's own expense system user, and the task of passing to splits server, task splits server the user's request task receiving is split, and the task after splitting is back to cloud system host node carries out load balancing and business cooperation and distribute;
Task after step 4, cloud system host node split step 3 is filtered, manages and classifies, and operate accordingly according to the scheduled for executing of process control module, and service node group and the historical service node group of cloud are processed while transferring to respectively cloud system service node group, cloud data serving node group, mysorethorn according to request content; According to default priority policy, the task after splitting is put into different queues simultaneously;
When step 5, cloud system service node group, cloud data serving node group, mysorethorn, the historical service node group of service node group and cloud is under the triggering of process control module, sub-computing node is periodically reported self load and application task to cloud service platform host node, and can accepting of task reports and carries out task preparation;
Self loading condition and request task that the balanced submodule of the central loading of step 6, cloud system host node reports according to child node, during by cloud system service node group, cloud data serving node group, mysorethorn, the request list of the historical service node group of service node group and cloud is resolved in order, and while corresponding task being consigned to cloud system service node group, cloud data serving node group, mysorethorn via transfer canal after decision-making, the historical service node group of service node group and cloud is carried out Distributed Calculation;
When step 7, cloud system service node group, cloud data serving node group, mysorethorn, the historical service node group of service node group and cloud completes after calculating, notify cloud system host node by result, cloud system host node removes the task of completing calculating from queue corresponding to this child node; User's request msg is turned back to user side and return to execution step one.
The present invention can adapt to the demand of travel at one's own expense.The present invention adopts MapReduce thought to carry out autonomous travel cloud service system business cooperation and load balancing.Customer service request arrives after service node, is split scheduling by system.Arrival service request is considered as to large task, splits and make a large task can be divided into several little tasks.Make load balancing taking little task as object, thereby significantly improved system parallel processing capability.
Brief description of the drawings
Fig. 1 is cloud service node overall architecture schematic diagram; Fig. 2 is business cooperation and load balancing principle schematic; The schematic flow sheet of the collaborative and implementation of load balancing of Fig. 3 cloud service node traffic.
Embodiment
Embodiment one, in conjunction with Fig. 1, this embodiment is described, travel at one's own expense system medium cloud service node framework, service node group 4, the historical service node group 5 of cloud, configuration server 6 and fractionation server 7 when it comprises cloud system host node 1, cloud system service node group 2, cloud data serving node group 3, mysorethorn;
Cloud system host node 1 is for being responsible for task assignment and scheduling;
When cloud system service node group 2, cloud data serving node group 3, mysorethorn, service node group 4, the historical service node group 5 of cloud, configuration server 6 and fractionation server 7 communicate with cloud system host node 1 respectively;
Cloud system service node group 2 is for the processing to system management maintenance service;
Cloud data serving node group 3 is for the classification processing to required every sight spot information, peripheral information, traffic and weather information service of user;
When mysorethorn, service node group 4 is processed for the real-time service to system;
The historical service node group 5 of cloud is for according to the record of Information Monitoring history in the deposit cycle and charging, customer service statistics, account settlement business processing;
Configuration server 6 the depositing and upgrade of service node group 4 and historical service node group 5 configuration informations of cloud when to cloud system service node group 2, cloud data serving node group 3, mysorethorn, and for cloud system host node 1 real time interaction information, also for upgrading, maintenance task are sent to cloud system host node 1;
Split the task that server 7 is sent here for receiving host node, and according to the packing rule of setting, this task is split and encapsulated, and the task after splitting and encapsulating is back to cloud system host node 1.
It also comprises cloud system host node backup node, and described cloud system host node backup node for providing the auxiliary node of seamless switching in the time that cloud system host node 1 breaks down.
Travel at one's own expense system is a kind of radio communication service system, it utilizes 3G or 4G network, and the every terms of information that user is needed is presented on the intelligent mobile phone terminal that travel at one's own expense systems soft ware is installed as sight spot information, gps coordinate information, peripheral information, traffic and Weather information etc.While sending the order of obtaining sight spot information such as user, system call positioning service module, server arranges inquiry periphery and returns to the needed sight spot information of user according to current position and user's, and place corresponding these information is labeled on map, when user clicks these positions that mark out etc., can show detailed sight spot information and with word, audio frequency, the modes such as video are presented to user.This system real time is good, the information updating speed that is stored in data server can fully meet user's needs, and be not subject to the restriction in region, as long as there is mobile network's area, user just can obtain navigation information by mobile phone in the situation that not increasing extra means and expenditure.
Travel at one's own expense system comprises user terminal, packet data service cloud node, server and system management platform, and described user terminal adopts wireless communication technology or Internet technology to realize and communicating by letter with packet data service cloud node and server.Travel at one's own expense system client is according to user's operation, user's request msg is sent to packet data service cloud node via base station, cloud service platform host node is given each cloud service child node group allocating task according to user's requesting query by business cooperation and load balancing, after Distributed Calculation, communicate with system server, carry out data and further process and preserve, and user's request results is accessed and turned back to user terminal by wireless network.Packet data service cloud node and server all adopt Internet technology and travel at one's own expense system management platform to realize data communication.Server adopts J2EE platform, adopts multiple child servers to coordinate and realizes.The special interface that mobile phone terminal carries by software is browsed word, picture and audio/video information.
Packet data service cloud node is for realizing the information relay switching between user terminal and server.Its design architecture adopts the concept of Distributed Calculation-cloud computing.Mainly formed by following part: cloud system host node, host node backup node, fractionation server, configuration server, IAD.
Cloud service platform host node: be mainly responsible for task assignment and scheduling.Adopt Dual OMU Servers Mode.Except the host node of normal work, be also provided with a backup host node.In the time that normal working node breaks down, can switch seamlessly to backup node, to reduce the fault correction time of system, improve reliability.Dissimilar request msg is communicated by letter downwards through allotment with calculation task.Give each cloud service child node group allocating task and make it reach load balancing.Survey the effective or final state of each child node in cloud service and carry out as required recovery or the interpolation of node.Node in each child node group can be added or be deleted dynamically.And be responsible for the reading and writing data request from user to cut apart to meet call format.User does not need to carry out data interaction with cloud service platform host node in the process that obtains required every video, audio frequency, text service, and only need to carry out data interaction with cloud service child node group, to improve data interaction efficiency, alleviate the burden of host node.Cloud service platform host node is to each sub-services Activity On the Node monitoring state in cloud service child node group simultaneously, process in time the node breaking down, and the node of unallocated task is carried out to record, to understand the distribution condition of current business total amount on each server, carry out load balancing.
Configuration server: be mainly responsible for the depositing and upgrade of configuration information of cloud service node, with host node real time interaction information, as system load situation, node working condition etc.Be responsible for the task such as upgrading, maintenance to send on host node simultaneously.
Task splits server: be responsible for the user who receives to ask large task to be split as little task.Receive the large task that host node is sent here, split and encapsulate according to the packing rule inquiring, after segmentation EO, little task is back to host node and carries out load balancing and business cooperation distribution.
Cloud service child node group: service node group, the historical service node group of cloud while mainly comprising cloud system service node group, cloud data serving node group, mysorethorn.Each node group can be held 10-1000 node server, and each node server can add dynamically and delete under the allotment of cloud service host node.The allocation plan of each node group is as follows:
Cloud system service node group: be responsible for the processing of system management maintenance service, comprise authentication, personal information and rights management and system service Content Management etc. for travel at one's own expense system user, the respective services contents such as locating information that Content Management provides mainly for user, sight spot information, weather condition, traffic, medical safety provide uploading channel, Content Advisor and issue etc.The priority of cloud system service node group is higher than other node groups, and first user data requests will just can proceed other parallel computations after cloud system service node group is processed.Result is updated to database by respective server and preserves.Under the allotment of cloud service host node, add dynamically and delete management, node receives an assignment simultaneously, carries out parallel computation.
Cloud data serving node group: be responsible for the classification processing to services such as user required every sight spot information, peripheral information, traffic and Weather informations.Customer service request is divided into the classifications such as video, audio frequency, word according to data type, undertaken alternately by corresponding server and database.The data throughout of cloud data serving node group is the highest, and therefore open ended node server quantity is also added dynamically as required and deletes higher than other node group under the allotment of cloud service host node, and node receives an assignment simultaneously, carries out parallel computation.
Service node group when mysorethorn: be responsible for the processing of processing real-time service etc., comprise renewal, the real-time response of individual subscriber service etc. of user's Current GPS position coordinates.Because subscriber location function is in whole travel at one's own expense cloud service system one of outbalance and high to requirement of real-time, therefore these contents of a project are independently contributed to improve response speed and the service quality of system.GPS upgrades to arrange and comprises automatic renewal and manually upgrade, automatically upgrade and refer to after user enters corresponding service module, gps data is upgraded in terminal software timing, when mysorethorn, service node group is carried out the renewal of information according to the gps data upgrading and the service content of appointment, the information exchange newly inquiring is crossed to respective server and return to mobile phone terminal software and browse; After described manual renewal refers to and enters service module, what first open is to close the previous page last time, when user clicks manual renewal, mobile phone terminal software sends gps data, when mysorethorn, service node group is carried out the renewal of information according to the gps data upgrading and the service content of appointment, refreshes the mobile phone terminal page by respective server.Under the allotment of cloud service host node, add dynamically and delete management, node receives an assignment simultaneously, carries out parallel computation.
The historical service node group of cloud: be responsible for according to the record of deposit cycle Information Monitoring history and charging, customer service statistics, account settlement business processing etc.Specifically comprise: the log information of being responsible for all tasks of record collection; Record the information such as the task type, Time To Failure, failure cause of failed tasks; The information such as the load balancing of register system, failover, backup reaction.For the higher service item of sampling interval requirement, can enable lossy compression method Coutinuous store pattern, carry out full-time gap recording occurring continuously.And recorded information is updated to respective server as user ID activation record, system operation more detailed logging.Node receives an assignment simultaneously, carries out parallel computation.
Business cooperation and balance module in embodiment two, travel at one's own expense system between each service node, it comprises process control module 11, communication module 12, load balancing module 13, service management and scheduler module 14 and thread pool module 15;
Process control module 11 is for coordinate each process according to sequential, and the task of exceeding the scheduled time is carried out to terminating operation;
Communication module 12 is communicating by letter between the historical service node group 5 of service node group 4 and cloud during with cloud system service node group 2, cloud data serving node group 3, mysorethorn for cloud system host node 1, and communication between process control module 11, communication module 12, load balancing module 13, service management and scheduler module 14 and thread pool module 15 and between process, and for completing exchange and the transfer of data of communication protocol;
Load balancing module 13 comprises the balanced submodule 131 of central loading and computing node load balancing submodule 132;
Computing node load balancing submodule 132 is for obtaining the current task situation of carrying out, then carry out load balancing calculating by the configuration information of itself, and obtain new task, and by communication module 11 and adjacent node exchange loading condition, self loading condition and task application are reported to cloud system host node 1;
The balanced submodule 131 of central loading carries out decision-making for self loading condition and the request task that report according to child node;
The fractionation of the task that service management and scheduler module 14 issue for the treatment of cloud system host node 1 and to splitting management, filtration and the classification of rear task;
In thread pool module 15, configure a thread pool that comprises multiple threads and queue, the process of calculating for regulating and controlling bottom.
Travel at one's own expense system cloud service node business cooperation and implementation of load balancing be as shown in Figure 3: collaborative distribution and the load balancing of travel at one's own expense business between node is divided into process control module, communication module, load balancing module, service management and scheduler module, five major parts of thread pool module.
Communication module: be responsible for the communication between cloud service platform host node and each child node group, and communication between module and between process.Complete exchange and the transfer of data of communication protocol.Broadcasting packet adopts UDP to connect, and all the other message packets adopt the long connection transmission of TCP.Sub-computing node, in order to complete last computing function, must communicate with host node and other nodes, and there is situation about being made up of multiple entities in each communication module.Thereby we by abstract the program unit mutual from communication entity be different classes.An example connecting in a corresponding class, in the time connecting generation, communication module is obtained the address of corresponding instance, transfers different subsequent treatment processes process according to communication protocol.Because communication module will be responsible for the communication between multiple processes and node, in order to improve treatment effeciency, buffering area is set, in the time that connection request occurs, as do not processed at once, deposit buffering area in by first-in first-out principle (FIFO), in the time can connecting, buffering area reads out data to transmit.
Task management and scheduler module: the fractionation of the large task that responsible processing host node issues and management, filtration and the classification to little task.When the large task of travel at one's own expense system user sends to after host node, be delivered to task management and scheduler module, carry out structuring encapsulation, each large task is split as the little task of certain length, its structure is: 1. task ID, be responsible for unique some little tasks of mark; 2. task type, according to different request contents, be divided into system class task, data class task, historical generic task, real time tasks, while transferring to cloud system service node group, cloud data serving node group, the historical service node group of cloud, mysorethorn according to the difference of content, service node group is processed.3. the current executing state of task, according to current state, task management and scheduler module are according to the operation corresponding to scheduled for executing of process control module timer.
Load balancing module: comprise the balanced submodule of central loading and computing node load balancing submodule.Under the triggering of timer, sub-computing node is periodically reported self load and application task to cloud service platform host node, after task application, under timer triggers, carries out a series of task preparation.First computing node load balancing submodule obtains the current task situation of carrying out, then carry out load balancing calculating by the configuration information of oneself, which when drawing, also need to obtain new task and obtain task, by communication module and adjacent node exchange loading condition, and self loading condition and task application are reported to host node.Self loading condition and request task that the balanced submodule of central loading is responsible for reporting according to child node carry out decision-making.Receiving after the request list of child node, resolving in order, if the current task of not having this task type, this task of buffer memory, if exist, sends to child node by the task of the type, pays process pool carry out bottom calculating via transfer canal.
Thread pool module has a thread pool that comprises multiple threads and queue, is responsible for regulation and control bottom and calculates as the process of data base read-write.In the time that a bottom computation requests arrives, thread pool encapsulates it, is delivered in queue and preserves.Thread in wait thread pool is taken away and is operated.Idle threads all in thread pool are waken up in the time that task arrives, and to task queue, obtain task requests to mutual exclusion.After task completes, notice main thread, returns to result of calculation by pipeline.
Process control module: mainly formed by timer and trigger, be responsible for coordinating each process according to sequential, avoid occurring the situation of process disorder.In addition,, in task implementation, if certain task can not complete for a certain reason, in order to ensure that follow-up work can normally carry out flow process below, timer is in the time that this task that exceeds schedule time remains unfulfilled, by its termination.
Business cooperation and equalization methods in embodiment three, travel at one's own expense system between each service node, it is realized by following steps:
Step 1, travel at one's own expense cloud service system activate, and when cloud system host node 1, cloud system service node group 2, cloud data serving node group 3, mysorethorn, service node group 4, the historical service node group 5 of cloud, configuration server 6 and fractionation server 7 start; When cloud system service node group 2, cloud data serving node group 3, mysorethorn, the historical service node group 5 of service node group 4 and cloud sends respectively to shake hands and is connected signal and self address state information to cloud system host node 1;
When step 2, cloud system host node 1 judge whether to receive from cloud system service node group 2, cloud data serving node group 3, mysorethorn, service node group 4 sends to shake hands with the historical service node group 5 of cloud and is connected signal and self address state information, if judged result is yes, perform step 21; If judged result be no, have execution step two or two;
Step 2 one, cloud system host node 1 send respectively service node group 4 and the historical service node group 5 of cloud while feeding back handshake to cloud system service node group 2, cloud data serving node group 3, mysorethorn after receiving link information, confirm successful connection; Cloud system host node 1 is set up a dynamic management environment according to this handshaking information receiving and address information, position and the function information of the historical service node group 5 of service node group 4 and cloud while comprising about cloud system service node group 2, cloud data serving node group 3, mysorethorn in described dynamic management environment, and perform step three;
When step 2 two, cloud system host node 1 require cloud system service node group 2, cloud data serving node group 3, mysorethorn, service node group 4 resends to shake hands with the historical service node group 5 of cloud and is connected signal and self address state information, and returns to execution step two;
Step 3, cloud system host node 1 receive the task from travel at one's own expense system user, and the task of passing to splits server 7, task splits server 7 the user's request task receiving is split, and the task after splitting is back to cloud system host node 1 carries out load balancing and business cooperation and distribute;
Task after step 4, cloud system host node 1 split step 3 is filtered, manages and classifies, and operate accordingly according to the scheduled for executing of process control module, and service node group 4 and the historical service node group 5 of cloud are processed while transferring to respectively cloud system service node group 2, cloud data serving node group 3, mysorethorn according to request content; According to default priority policy, the task after splitting is put into different queues simultaneously;
When step 5, cloud system service node group 2, cloud data serving node group 3, mysorethorn, the historical service node group 5 of service node group 4 and cloud is under the triggering of process control module 11, sub-computing node is periodically reported self load and application task to cloud service platform host node, and can accepting of task reports and carries out task preparation;
Self loading condition and request task that the balanced submodule 13 of the central loading of step 6, cloud system host node 1 reports according to child node, during by cloud system service node group 2, cloud data serving node group 3, mysorethorn, the request list of the historical service node group 5 of service node group 4 and cloud is resolved in order, and while corresponding task being consigned to cloud system service node group 2, cloud data serving node group 3, mysorethorn via transfer canal after decision-making, the historical service node group 5 of service node group 4 and cloud is carried out Distributed Calculation;
When step 7, cloud system service node group 2, cloud data serving node group 3, mysorethorn, the historical service node group 5 of service node group 4 and cloud completes after calculating, notify cloud system host node 1 by result, cloud system host node 1 removes the task of completing calculating from queue corresponding to this child node; User's request msg is turned back to user side and return to execution step one.
The present invention adopts MapReduce thought to carry out autonomous travel cloud service system business cooperation and load balancing.Customer service request arrives after service node, is split scheduling by system.Arrival service request is considered as to large task, splits and make a large task can be divided into several little tasks.Make load balancing taking little task as object, improve system parallel processing capability.

Claims (5)

1. the business cooperation in travel at one's own expense system between each service node and equalization methods,
Travel at one's own expense system medium cloud service node framework comprises: service node group (4), the historical service node group of cloud (5), configuration server (6) and fractionation server (7) when cloud system host node (1), cloud system service node group (2), cloud data serving node group (3), mysorethorn;
Cloud system host node (1) is for being responsible for task assignment and scheduling;
When cloud system service node group (2), cloud data serving node group (3), mysorethorn, service node group (4), the historical service node group of cloud (5), configuration server (6) and fractionation server (7) communicate with cloud system host node (1) respectively;
Cloud system service node group (2) is for the processing to system management maintenance service;
Cloud data serving node group (3) is for the classification processing to required every sight spot information, peripheral information, traffic and weather information service of user;
When mysorethorn, service node group (4) is processed for the real-time service to system;
The historical service node group of cloud (5) is for according to the record of Information Monitoring history in the deposit cycle and charging, customer service statistics, account settlement business processing;
Configuration server (6) the depositing and upgrade of service node group (4) and historical service node group (5) configuration information of cloud when to cloud system service node group (2), cloud data serving node group (3), mysorethorn, and for cloud system host node (1) real time interaction information, also for upgrading, maintenance task being sent to cloud system host node (1);
Split the task that server (7) is sent here for receiving host node, and according to the packing rule of setting, this task is split and encapsulated, and the task after splitting and encapsulating is back to cloud system host node (1);
Business cooperation in travel at one's own expense system between each service node and equalization methods are to realize based on the business cooperation between each service node in travel at one's own expense system and balance module, describedly comprise process control module (11), communication module (12), load balancing module (13), service management and scheduler module (14) and thread pool module (15) based on the business cooperation between each service node and balance module in travel at one's own expense system;
Process control module (11) is for coordinate each process according to sequential, and the task of exceeding the scheduled time is carried out to terminating operation;
Communication module (12) is for completing exchange and the transfer of data of communication protocol; Communicating by letter between the historical service node group of service node group (4) and cloud (5) when realizing cloud system host node (1) with cloud system service node group (2), cloud data serving node group (3), mysorethorn, and communication between process control module (11), load balancing module (13), service management and scheduler module (14) and thread pool module (15);
Load balancing module (13) comprises central loading balanced submodule (131) and computing node load balancing submodule (132);
Computing node load balancing submodule (132) is for obtaining the current task situation of carrying out, then carry out load balancing calculating by the configuration information of itself, and obtain new task, and by communication module (11) and adjacent node exchange loading condition, self loading condition and task application are reported to cloud system host node (1);
The balanced submodule of central loading (131) carries out decision-making for self loading condition and the request task that report according to child node;
The fractionation of the task that service management and scheduler module (14) issue for the treatment of cloud system host node (1) and to splitting management, filtration and the classification of rear task;
Thread pool that comprises multiple threads of configuration and queue in thread pool module (15), the process of calculating for regulating and controlling bottom;
It is characterized in that: the business cooperation in travel at one's own expense system between each service node and equalization methods, it is realized by following steps:
Step 1, travel at one's own expense cloud service system activate, and when cloud system host node (1), cloud system service node group (2), cloud data serving node group (3), mysorethorn, service node group (4), the historical service node group of cloud (5), configuration server (6) and fractionation server (7) start; When cloud system service node group (2), cloud data serving node group (3), mysorethorn the historical service node group of service node group (4) and cloud (5) sends respectively shake hands be connected signal with self address state information to cloud system host node (1);
When step 2, cloud system host node (1) judge whether to receive from cloud system service node group (2), cloud data serving node group (3), mysorethorn, service node group (4) sends to shake hands with the historical service node group of cloud (5) and is connected signal and self address state information, if judged result is yes, perform step 21; If judged result is no, perform step two or two;
Step 2 one, cloud system host node (1) send respectively service node group (4) and the historical service node group of cloud (5) while feeding back handshake to cloud system service node group (2), cloud data serving node group (3), mysorethorn after receiving link information, confirm successful connection; Cloud system host node (1) is set up a dynamic management environment according to this handshaking information receiving and address information, position and the function information of the historical service node group of service node group (4) and cloud (5) while comprising about cloud system service node group (2), cloud data serving node group (3), mysorethorn in described dynamic management environment, and perform step three;
When step 2 two, cloud system host node (1) require cloud system service node group (2), cloud data serving node group (3), mysorethorn, service node group (4) resends to shake hands with the historical service node group of cloud (5) and is connected signal and self address state information, and returns to execution step two;
Step 3, cloud system host node (1) receive the task from travel at one's own expense system user, and the task of passing to splits server (7), task splits server (7) the user's request task receiving is split, and the task after splitting is back to cloud system host node (1) carries out load balancing and business cooperation and distribute;
Task after step 4, cloud system host node (1) split step 3 is filtered, manages and classifies, and operate accordingly according to the scheduled for executing of process control module, and service node group (4) and the historical service node group of cloud (5) are processed while transferring to respectively cloud system service node group (2), cloud data serving node group (3), mysorethorn according to request content; According to default priority policy, the task after splitting is put into different queues simultaneously;
When step 5, cloud system service node group (2), cloud data serving node group (3), mysorethorn, the historical service node group of service node group (4) and cloud (5) is under the triggering of process control module (11), sub-computing node is periodically reported self load and application task to cloud service platform host node, and can accepting of task reports and carries out task preparation;
Step 6, self loading condition and request task that the balanced submodule of the central loading of cloud system host node (1) (13) reports according to child node, by cloud system service node group (2), cloud data serving node group (3), when mysorethorn, the request list of the historical service node group of service node group (4) and cloud (5) is resolved in order, after decision-making, corresponding task is consigned to cloud system service node group (2) via transfer canal, cloud data serving node group (3), when mysorethorn, the historical service node group of service node group (4) and cloud (5) is carried out Distributed Calculation,
When step 7, cloud system service node group (2), cloud data serving node group (3), mysorethorn, the historical service node group of service node group (4) and cloud (5) completes after calculating, notify cloud system host node (1) by result, cloud system host node (1) removes the task of completing calculating from queue corresponding to this child node; User's request msg is turned back to user side and return to execution step one.
2. business cooperation and the equalization methods between each service node in travel at one's own expense system according to claim 1, it is characterized in that in travel at one's own expense system medium cloud service node framework, also comprise cloud system host node backup node, described cloud system host node backup node for providing the auxiliary node of seamless switching in the time that cloud system host node (1) breaks down.
3. business cooperation and the equalization methods between each service node in travel at one's own expense system according to claim 1, it is characterized in that in travel at one's own expense system medium cloud service node framework, cloud system service node group (2) is specifically for the authentication for travel at one's own expense system user, personal information and rights management and system service Content Management, the service content of locating information that Content Management provides mainly for user, sight spot information, weather condition, traffic, medical safety provides uploading channel, and Content Advisor and issue.
4. business cooperation and the equalization methods between each service node in travel at one's own expense system according to claim 1, it is characterized in that, in travel at one's own expense system medium cloud service node framework, when mysorethorn, service node group (4) is specifically for the real-time response of renewal and the individual service of travel at one's own expense system user of travel at one's own expense system user Current GPS position coordinates.
5. business cooperation and the equalization methods between each service node in travel at one's own expense system according to claim 1, it is characterized in that in travel at one's own expense system medium cloud service node framework, the historical service node group of cloud (5) is for recording the log information that gathers all tasks; And record task type, Time To Failure, the failure cause information of failed tasks; The also load balancing of register system, failover, backup reaction information.
CN201210198862.0A 2012-06-15 2012-06-15 Cloud service node architecture in self-service tourism system, and service collaborating and balancing module and method among service nodes in self-service tourism system Active CN102710785B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210198862.0A CN102710785B (en) 2012-06-15 2012-06-15 Cloud service node architecture in self-service tourism system, and service collaborating and balancing module and method among service nodes in self-service tourism system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210198862.0A CN102710785B (en) 2012-06-15 2012-06-15 Cloud service node architecture in self-service tourism system, and service collaborating and balancing module and method among service nodes in self-service tourism system

Publications (2)

Publication Number Publication Date
CN102710785A CN102710785A (en) 2012-10-03
CN102710785B true CN102710785B (en) 2014-12-03

Family

ID=46903331

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210198862.0A Active CN102710785B (en) 2012-06-15 2012-06-15 Cloud service node architecture in self-service tourism system, and service collaborating and balancing module and method among service nodes in self-service tourism system

Country Status (1)

Country Link
CN (1) CN102710785B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425782B (en) * 2013-08-21 2016-09-14 国睿集团有限公司 Pending strong time Service Source demand classification processing method
CN104794095B (en) * 2014-01-16 2018-09-07 华为技术有限公司 Distributed Calculation processing method and processing device
CN104376029B (en) * 2014-04-10 2017-12-19 北京亚信时代融创咨询有限公司 The processing method and system of a kind of data
CN104378364B (en) * 2014-10-30 2018-02-27 广东电子工业研究院有限公司 A kind of Cooperative Analysis method at information security management center
CN106708727B (en) * 2016-08-03 2020-04-28 腾讯科技(深圳)有限公司 Distributed virus characteristic sample verification method and system
CN108255820B (en) * 2016-12-28 2022-03-04 阿里巴巴集团控股有限公司 Method and device for data storage in distributed system and electronic equipment
CN107436825A (en) * 2017-08-04 2017-12-05 郑州云海信息技术有限公司 A kind of cloud platform system recovery method and device
CN108279972A (en) * 2018-01-26 2018-07-13 郑州云海信息技术有限公司 A kind of LUA virtual machines task executing method and relevant apparatus
CN108491255B (en) * 2018-02-08 2020-11-03 昆仑智汇数据科技(北京)有限公司 Self-service MapReduce data optimal distribution method and system
CN109245930A (en) * 2018-09-17 2019-01-18 武汉思普崚技术有限公司 A kind of cloud security network element, cloud computing management platform and system
CN109784713B (en) * 2019-01-09 2021-06-22 拉卡拉支付股份有限公司 Method for forming settlement task queue, settlement method and device
CN110213353A (en) * 2019-05-19 2019-09-06 复旦大学 A kind of distributed data node cooperates method
CN110413394A (en) * 2019-07-29 2019-11-05 苏州浪潮智能科技有限公司 A kind of BMC task processing method, device, system and readable storage medium storing program for executing
CN112612554B (en) * 2021-01-20 2023-12-19 广东金赋科技股份有限公司 Method for unified management and control of hardware modules by using adaptive service analyzer
CN114462900B (en) * 2022-04-13 2022-07-29 云智慧(北京)科技有限公司 Method, device and equipment for splitting service active node
CN116991674B (en) * 2023-08-17 2024-04-12 广西壮族自治区自然资源信息中心 High concurrency service architecture for real estate registration information and data processing method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101957780A (en) * 2010-08-17 2011-01-26 中国电子科技集团公司第二十八研究所 Resource state information-based grid task scheduling processor and grid task scheduling processing method
CN102194184A (en) * 2010-03-19 2011-09-21 冯祥 3G (3rd generation telecommunication) individualized system and method for interpretive service of tour guide
CN102291280A (en) * 2011-08-19 2011-12-21 深圳市合广测控技术有限公司 Intelligent measuring and controlling Internet of things platform based on cloud computing and measuring and controlling method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030179775A1 (en) * 2002-03-20 2003-09-25 Carolan Jason T. Service delivery network system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102194184A (en) * 2010-03-19 2011-09-21 冯祥 3G (3rd generation telecommunication) individualized system and method for interpretive service of tour guide
CN101957780A (en) * 2010-08-17 2011-01-26 中国电子科技集团公司第二十八研究所 Resource state information-based grid task scheduling processor and grid task scheduling processing method
CN102291280A (en) * 2011-08-19 2011-12-21 深圳市合广测控技术有限公司 Intelligent measuring and controlling Internet of things platform based on cloud computing and measuring and controlling method thereof

Also Published As

Publication number Publication date
CN102710785A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN102710785B (en) Cloud service node architecture in self-service tourism system, and service collaborating and balancing module and method among service nodes in self-service tourism system
Munir et al. IFCIoT: Integrated Fog Cloud IoT: A novel architectural paradigm for the future Internet of Things
US10200474B2 (en) Cross-protocol distributed cloud storage system and data management method based on operation control unit
Liu et al. High-efficiency urban traffic management in context-aware computing and 5G communication
US10833923B2 (en) Dynamic multiple access for distributed device communication networks with scheduled and unscheduled transmissions
Zhang et al. Firework: Data processing and sharing for hybrid cloud-edge analytics
CN105850199B (en) For managing the method and system of wireless network
TWI679528B (en) Information collection and processing method, client and server
CN106576383B (en) Method and system for improving cellular telephone communication for unmanned aerial vehicles
WO2018137712A1 (en) Communication method and communication apparatus
US20220141086A1 (en) Coordinated management of iot device power consumption and network congestion
US10922069B2 (en) Flexible, multidimensional infrastructure scaling
CN107079050A (en) Service layer's conversation shift and shared
US20090225756A1 (en) Information transmission system
CN101741912A (en) Method, network apparatus and distributed network system for processing computation task
CN102568070A (en) System, method and device for implementing numbering service of mobile terminal
CN103078921B (en) A kind of transmission, the method and device of reception message
CN104980525A (en) Pervasive mobile computing frame based on state middleware
CN112291728A (en) Private industry application platform implementation architecture based on 5G network
CN102148736A (en) Method and system for fusing machine-to-machine (M2M) service platform and next generation service network
Ahammad et al. Software-defined dew, roof, fog and cloud (SD-DRFC) framework for IoT ecosystem: the journey, novel framework architecture, simulation, and use cases
CN106656778A (en) BDS (BeiDou Navigation Satellite System) communication gateway and communication method thereof
US20220294740A1 (en) Dynamic bandwidth allocation and autonomous device management enabled by an intelligent orchestration management system
CN105206086A (en) Bus positioning system and device, mobile communication terminal and cloud-end data center
US11075817B1 (en) Context aware network capacity augmentation using a flying device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant