CN106209875A - Method for processing business based on multi-services device and service server - Google Patents

Method for processing business based on multi-services device and service server Download PDF

Info

Publication number
CN106209875A
CN106209875A CN201610570772.8A CN201610570772A CN106209875A CN 106209875 A CN106209875 A CN 106209875A CN 201610570772 A CN201610570772 A CN 201610570772A CN 106209875 A CN106209875 A CN 106209875A
Authority
CN
China
Prior art keywords
business
service
record
server
service server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610570772.8A
Other languages
Chinese (zh)
Inventor
于晓锋
于芝涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Hisense Media Network Technology Co Ltd
Original Assignee
Qingdao Hisense Media Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Hisense Media Network Technology Co Ltd filed Critical Qingdao Hisense Media Network Technology Co Ltd
Priority to CN201610570772.8A priority Critical patent/CN106209875A/en
Publication of CN106209875A publication Critical patent/CN106209875A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1063Application servers providing network services
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present invention provides a kind of method for processing business based on multi-services device and service server, and the method includes: the Business Processing request that receiving terminal apparatus sends, and pending business is processed by Business Processing request for request;Obtaining the target histories business record that terminal unit is corresponding, the type of service that target histories business record is corresponding is identical with the type of service of pending business, and target histories business record includes the mark of target service server;According to target histories business record, in target service server or current business server, obtain up-to-date business datum, according to up-to-date business datum, pending business is processed.For improving the reliability providing business service to terminal unit.

Description

Method for processing business based on multi-services device and service server
Technical field
The present embodiments relate to communication technical field, particularly relate to a kind of Business Processing side based on multi-services device Method and service server.
Background technology
At present, being on the increase and the continuous growth of client's amount, in order to ensure to carry to terminal unit along with Internet service For efficient business service, generally multiple identical service server is set in service end, by the plurality of identical business service Device provides business service to terminal unit.
In order to ensure that each service server can provide identical service server, each business service to terminal unit Periodically carrying out data syn-chronization between device, to ensure to possess in each service server identical business datum, this cycle leads to Be often 3 minutes, 5 minutes etc..In the prior art, generally between terminal unit and multiple service server, arrange equilibrium to set Standby, by this balancing equipment according to the load of each service server, determine the service server that service is provided to each terminal unit, this Sample, may make adjacent twice to provide the service server difference of identical services to same terminal unit.
But, for the same business in terminal unit, if the business service providing business to terminal unit adjacent twice Device is different, and when the business datum in service server synchronizes the most in time, then data server cannot be according to up-to-date business number There is provided business service according to terminal unit, and then business service accurately cannot be provided to terminal unit, cause to terminal unit The reliability providing business service is relatively low.
Summary of the invention
The embodiment of the present invention provides a kind of method for processing business based on multi-services device and service server, is used for carrying The high reliability that business service is provided to terminal unit.
First aspect, the embodiment of the present invention provides a kind of method for processing business based on multi-services device, is applied to work as Front service server, described method includes:
The Business Processing request that receiving terminal apparatus sends, pending business is entered by the request of described Business Processing for request Row processes;
Obtain the target histories business record that described terminal unit is corresponding, the business that described target histories business record is corresponding Type is identical with the type of service of described pending business, and described target histories business record includes target service server Mark;
According to described target histories business record, obtain in described target service server or described current business server Take up-to-date business datum, according to described up-to-date business datum, described pending business is processed.
In a kind of possible embodiment, the request of described Business Processing includes described target histories business record, phase Answer, the target histories business record that the described terminal unit of described acquisition is corresponding, including:
Obtain, in described Business Processing is asked, the target histories business record that described terminal unit is corresponding.
In alternatively possible embodiment, the target histories business record that the described terminal unit of described acquisition is corresponding, Including:
The history service set of records ends that described terminal unit is corresponding, described history service is obtained to described premises equipment requests When set of records ends includes at least one history service record and type of service corresponding to each history service record and service ending Carve;
By identical with the type of service of described pending business in described history service set of records ends, the service ending moment The history service record nearest with current time is defined as described target histories business record.
In alternatively possible embodiment, described target histories business record also includes described target histories business The target service finish time that record is corresponding;
Accordingly, described according to described target histories business record, in described target service server or described current industry Business server obtains up-to-date business datum, including:
Judge whether described target service server and described current business server are same service server;
In described current business server, the most then obtain described up-to-date business datum;
If it is not, then judge whether the time difference of current time and described target service finish time updates week more than presetting Phase, the most then in described current business server, obtain described up-to-date business datum, if it is not, then take in described target service Business device obtains described up-to-date business datum.
In alternatively possible embodiment, described target service server obtains described up-to-date business datum, Including:
Obtain the latest update moment;
Described target service server obtains and when generating, is engraved in described latest update moment and described target service knot Business datum between the bundle moment.
Second aspect, the embodiment of the present invention provides a kind of service server, including:
Receiver module, the Business Processing request sent for receiving terminal apparatus, the request of described Business Processing is used for asking Pending business is processed;
First acquisition module, for obtaining the target histories business record that described terminal unit is corresponding, described target histories The type of service that business record is corresponding is identical with the type of service of described pending business, wraps in described target histories business record Include the mark of target service server;
Second acquisition module, for according to described target histories business record, at described target service server or described Current business server obtains up-to-date business datum;
Processing module, for processing described pending business according to described up-to-date business datum.
In a kind of possible embodiment, the request of described Business Processing includes described target histories business record, institute State the first acquisition module specifically for:
Obtain, in described Business Processing is asked, the target histories business record that described terminal unit is corresponding.
In alternatively possible embodiment, described first acquisition module specifically for:
The history service set of records ends that described terminal unit is corresponding, described history service is obtained to described premises equipment requests When set of records ends includes at least one history service record and type of service corresponding to each history service record and service ending Carve;
By identical with the type of service of described pending business in described history service set of records ends, the service ending moment The history service record nearest with current time is defined as described target histories business record.
In alternatively possible embodiment, described target histories business record also includes described target histories business The target service finish time that record is corresponding;
Accordingly, described second acquisition module includes judging unit and acquiring unit, wherein,
Described judging unit is used for, it is judged that whether described target service server and described current business server are same Service server;
Described acquiring unit is used for, and judges described target service server and described current business clothes at described judging unit When business device is same service server, described current business server obtains described up-to-date business datum;
Described judging unit is additionally operable to, and judges described target service server and described current business at described judging unit When server is not same service server, it is judged that whether the time difference of current time and described target service finish time is more than Preset the update cycle;
Described acquiring unit is additionally operable to, and judges current time and described target service finish time at described judging unit Time difference, whether more than when presetting the update cycle, obtains described up-to-date business datum in described current business server, described Acquiring unit is additionally operable to, described judging unit judge the time difference of current time and described target service finish time less than or Equal to when presetting the update cycle, described target service server obtains described up-to-date business datum.
In alternatively possible embodiment, described acquiring unit specifically for:
Obtain the latest update moment;
Described target service server obtains and when generating, is engraved in described latest update moment and described target service knot Business datum between the bundle moment.
The method for processing business based on multi-services device of embodiment of the present invention offer and service server, in current industry After business server receives the Business Processing request that terminal unit sends, it is corresponding that current business server obtains terminal unit Target histories business record, and according to target histories business record, obtain in target service server or current business server Take up-to-date business datum, according to up-to-date business datum, pending business is processed.In above process, current business service Device necessarily can acquire the up-to-date business datum that pending business is corresponding so that current business server is according to up-to-date business Data can provide data server accurately to terminal unit, and then improve and provide the reliable of business service to terminal unit Property.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is this Some bright embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to Other accompanying drawing is obtained according to these accompanying drawings.
The application scenarios schematic diagram of the Business Processing based on multi-services device that Fig. 1 provides for the present invention;
The flow chart of the method for processing business based on multi-services device that Fig. 2 provides for the present invention;
The schematic flow sheet one obtaining target histories recording method that Fig. 3 provides for the present invention;
The schematic flow sheet two obtaining target histories recording method that Fig. 4 provides for the present invention;
The schematic flow sheet obtaining up-to-date business datum method that Fig. 5 provides for the present invention;
The structural representation one of the service server that Fig. 6 provides for the present invention;
The structural representation two of the service server that Fig. 7 provides for the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under not making creative work premise, broadly falls into the scope of protection of the invention.
The application scenarios schematic diagram of the Business Processing based on multi-services device that Fig. 1 provides for the present invention, refers to figure 1, including terminal unit 101, load-balancing device 102 and multiple service server (being designated as 103-1 to 103-N respectively).This is eventually End equipment can be the equipment such as TV, computer, mobile phone.Each service server can provide identical business to take to terminal unit Business, wherein, different service servers may be located at different machine rooms.In actual application, true by load-balancing device Directional terminals equipment provides the service server of business service.In this application, industry is provided at service server to terminal unit During business service, service server can obtain up-to-date business datum according to the history service record of terminal unit, and according to up-to-date Business datum provides service server to terminal unit so that service server can be according to up-to-date business datum to terminal unit Business service accurately is provided, and then improves the reliability that business service is provided to terminal unit.Below, by being embodied as Example, is described in detail to the technical scheme shown in the application.
It should be noted that these specific embodiments can be combined with each other, for same or analogous concept below Or process may repeat no more in certain embodiments.
The flow chart of the method for processing business based on multi-services device that Fig. 2 provides for the present invention, refers to Fig. 2, should Method may include that
The Business Processing request that S201, receiving terminal apparatus send, Business Processing request is for asking pending business Process;
S202, the target histories business record that acquisition terminal unit is corresponding, the service class that target histories business record is corresponding Type is identical with the type of service of pending business, and target histories business record includes the mark of target service server;
S203, according to target histories business record, obtain up-to-date in target service server or current business server Business datum, processes pending business according to up-to-date business datum.
It should be noted that the executive agent of the embodiment of the present invention is current business server, this current service server It can be any one service server in multi-services device.For the ease of describing, will currently provide the industry of business service Business server is referred to as current business server.
In embodiments of the present invention, when terminal unit needs service server to process pending business, terminal Equipment can ask load-balancing device to be the service server that terminal unit determines correspondence.Further, in order to reduce load The burden of balancing equipment, terminal unit can be that its address of service server determined caches, to have to load balancing Service to this service server requested service in the effect period.Optionally, this effectual time can be 5 minutes, 10 minutes etc..
Accordingly, when terminal unit needs service server to process pending business, terminal unit can be first Judge whether this locality caches effective address of service server;The most then terminal unit can be according to the effective industry of this caching Business server address, asks corresponding service server to process pending business;If it is not, then terminal unit is equal to load Weighing apparatus equipment sends service request, load-balancing device determine service server to terminal unit, then this industry of premises equipment requests Pending business is processed by business server.
After current business server receives the Business Processing request that terminal unit sends, current business server obtains Take the target histories business record that this terminal unit is corresponding.Type of service corresponding to this target histories business record and pending industry The type of service of business is identical, and this target histories business record includes that the mark of target service server and target service terminate In the moment, this target service server for providing the server of target histories business to terminal unit.This target histories business record Can be the last business note identical to the type of service with pending business of terminal unit offer before current time Record.It should be noted that other guide can also be included in this target histories business record, such as, target service record is corresponding Business initial time etc..
After current business server acquires target histories business record, current business server is gone through according to target History business record, obtains up-to-date business datum in target service server or current business server, and according to up-to-date business Pending business is processed by data.Concrete, owing to, before current time, target service server carries to terminal unit Supplied the business service with type, therefore, target service server store the up-to-date industry that target histories business record is corresponding Business data.
If the business datum corresponding with target histories business record of storage is synchronized to the most in time in target service server Current business server, then in this target service server, the business datum of storage is up-to-date business datum, current business service In device, the business datum of storage is not up-to-date business datum.
If the business datum corresponding with target histories business record of storage has been synchronized to currently in target service server Service server, then the business datum stored in current business server and in target service server is up-to-date business number According to.
The method for processing business based on multi-services device that the embodiment of the present invention provides, receives at current business server After the Business Processing request that terminal unit sends, current business server obtains the target histories business that terminal unit is corresponding Record, and according to target histories business record, target service server or current business server obtain up-to-date business number According to, according to up-to-date business datum, pending business is processed.In above process, current business server necessarily can obtain Obtain the up-to-date business datum that pending business is corresponding so that current business server can be to end according to up-to-date business datum End equipment provides data server accurately, and then improves the reliability providing business service to terminal unit.
On the basis of embodiment illustrated in fig. 2, according to the difference of the content that Business Processing request includes, obtain target and go through The process of Records of the Historian record also differs, below, by the embodiment shown in Fig. 3-Fig. 4, introduce two kinds of feasible implementations.Its In, in the embodiment shown in fig. 3, Business Processing request includes target histories business record;In the embodiment shown in Fig. 4 In, Business Processing request does not include target histories business record.
The schematic flow sheet one obtaining target histories recording method that Fig. 3 provides for the present invention, refers to Fig. 3, the method May include that
S301, the target histories business record that acquisition terminal unit is corresponding in Business Processing is asked.
During terminal unit runs, terminal unit can provide with record traffic server for it, all types of industry The up-to-date business record that business is corresponding.Optionally, up-to-date business record can include type of service, the mark of service server, Business initial time, service ending moment etc..In actual application, can arrange according to actual needs in business record and wrap The content included.
In the embodiment shown in fig. 3, when terminal unit sends Business Processing request to current business server, terminal Equipment carries target histories business record, so that current business server can be in Business Processing in Business Processing is asked Quick obtaining target histories business record in request, and then improve current business server to terminal unit offer business service Efficiency.
Exemplary, it is assumed that terminal unit is TV, then during TV runs, for class each of in TV The business of type, TV can record the up-to-date business record that all types of business is corresponding, optionally, each type of television recording Corresponding up-to-date business record can be as shown in table 1:
Table 1
Business record The type of business The mark of service server Business initial time The service ending moment
Business record 1 TV play business Service server 1 10: 10 10: 12
Business record 2 Film business Service server 4 13: 15 13: 20
Business record 3 Game service Service server 3 12: 30 12: 40
…… …… …… …… ……
In Table 1, business record 1 is the up-to-date business record that TV play business is corresponding.When TV needs to business service When the business service of TV play business asked again by device, TV carries business record 1 in Business Processing is asked.If 10: 10 After Fen, service server provides, to TV, the new business service that TV play business is corresponding, then TV is to shown in table 1 Business record 1 is updated.
It should be noted that the content that the business record in table 1 signal TV the most in exemplary fashion includes, not It is the restriction of the content that business record is included, in actual application, business record can be set according to actual needs The content included, this is not especially limited by the present invention.
The schematic flow sheet two obtaining target histories recording method that Fig. 4 provides for the present invention, refers to Fig. 4, the method May include that
S401, obtain history service set of records ends corresponding to terminal unit to premises equipment requests;Wherein, history service note When record set includes at least one history service record and type of service corresponding to each history service record and service ending Carve;
S402, by identical with the type of service of pending business in history service set of records ends, service ending moment with The nearest history service record of current time is defined as target histories business record.
During terminal unit runs, terminal unit can be remembered with record traffic server for its history service provided Record set, this history service set of records ends includes at least one history service record and industry corresponding to each history service record Service type and service ending moment.Certainly, in actual application, in history service set of records ends can also include other Hold.
When current business server needs to obtain target histories record corresponding to terminal unit, current business server to Premises equipment requests obtains history service set of records ends corresponding to terminal unit, and in history service set of records ends with pending industry Business type of service is identical, history service record that the service ending moment is nearest with current time be defined as target histories business Record, accordingly, this target histories business record for before current time the last to terminal unit provide with pending The business record that the type of service of business is identical.
In the embodiment shown in fig. 4, service server determine to target histories business record, it is not necessary to terminal unit is true Set the goal history service record, and then reduces the burden of terminal unit.
Exemplary, it is assumed that terminal unit is TV, then, during TV runs, TV can record all types of All business records that business is corresponding, optionally, the business record of television recording can be as shown in table 2:
Table 2
Assume that current time is point in 10 days 12 January, receive, at service server 2, the TV play service request that TV sends Afterwards, service server 2 obtains the history service set of records ends shown in table 2, and in the history service set of records ends shown in table 2 Obtain and TV play type of service, service ending moment and the nearest business record of current time 11, and by true for business record 11 It is set to target histories business record.
On the basis of any one embodiment above-mentioned, optionally, can be by the most feasible implementation according to mesh Mark history service record, obtains up-to-date business datum in target service server or current business server and (implements shown in Fig. 2 S203 in example), concrete, shown in Figure 5 embodiment.
The schematic flow sheet obtaining up-to-date business datum method that Fig. 5 provides for the present invention, refers to Fig. 5, and the method can To include:
S501, judge whether target service server and current business server are same service server;
The most then perform S502;
If it is not, then perform S503-S504;
S502, in current business server, obtain up-to-date business datum;
S503, judge that the time difference of current time and target service finish time is whether more than presetting the update cycle;
The most then perform S502;
If it is not, then perform S504;
S504, in target service server, obtain up-to-date business datum.
In the embodiment shown in fig. 5, after current business server acquires target histories business record, currently Service server obtains mark and the target service finish time of target service server in target histories business record.Currently Whether service server judging target service server and current business server are same service server, optionally, currently Service server may determine that the mark of target service server and current business server identify whether consistent, target service The mark of server can be preset numbers or target service server Internet protocol (Internet Protocol, It is called for short IP) address or media interviews control (Medium Access Control is called for short MAC) address etc..
If target service server and current business server are same service server, then current business server is being worked as Front service server obtains the up-to-date business datum that pending business is corresponding.
If target service server and current business server are not same service server, then current business server is sentenced Whether disconnected current time and the time difference of target service finish time be more than presetting the update cycle, and this default update cycle is target The cycle of data syn-chronization is carried out between service server and current business server.
Business datum that the most then store in explanation target service server, that pending business is corresponding is synchronized to In current business server, target service server and current business server, storage is up-to-date business datum, in order to add The fast speed obtaining business datum, can obtain up-to-date business datum in current business server.
If it is not, then illustrate that business datum that store in target service server, that pending business is corresponding is not synchronized to Current business server, for the up-to-date business datum acquired, then current business server is from target service server Obtain up-to-date business datum.Optionally, current business server can obtain the latest update moment, in target service server Obtain and be engraved in the business datum between latest update moment and target service finish time when generating.
In actual application, current business server can also judge target industry by the most feasible implementation Whether business datum that store in business server, that pending business is corresponding is synchronized to current business server, concrete: current Service server can also obtain the latest update moment, this latest update moment be between each service server the last time carry out The moment of data syn-chronization, and judge that this latest update moment whether after target service finish time, the most then illustrates target Business datum that store in service server, that pending business is corresponding has been synchronized to current business server, if it is not, then illustrate Business datum that store in target service server, that pending business is corresponding is not synchronized to current business server.
Below, by concrete example, the method shown in above-described embodiment is described in detail.
Exemplary, it is assumed that terminal unit is TV, and service server 1-service server 5 all can provide industry to TV Business service, it is assumed that the default update cycle carrying out data syn-chronization between service server is 10 minutes.
When TV needs to the business of service server request TV play type, TV sends to load-balancing device please Seek message, so that load-balancing device distributes a service server to TV, it is assumed that load-balancing device distributes to TV Service server is service server 2.
Assume before current time, service server 1 business service of the TV play type provided to TV, and industry Business server 1 to TV provide business finish time be 1 and No. 1 10: 5.Then TV is sending industry to service server 2 When business processes request, carry in Business Processing is asked and once go through to the target that the business of TV offer TV play type is corresponding History business record, it is assumed that the target service server that target histories business record includes is service server 1, target histories industry The target service finish time that business record includes is 10: 5 on the 1st January.
After the Business Processing request that service server 2 receives, service server 2 obtains mesh in Business Processing is asked Mark history service record, and in target histories business record obtain target service server mark (service server 1) and Target service finish time (10: 5 on the 1st January).
Service server 2 judges that target service server (service server 1) and service server 2 are not same business Server, then at the end of service server 2 continues to judge current time (assuming that current time is 10: 10) and target service The time difference (5 minutes) carving (10: 5 on the 1st January) is less than the default update cycle (10 minutes), then in explanation service server 1 The business datum relevant to TV play business of storage is not updated in service server 2, then service server 2 obtains up-to-date Renewable time (1 and No. 1 10: 2), then service server 2 is engraved in January 1 day 10: 2 when obtaining generation in service server 1 Point to the business datum in 1 day 10: 5/January, and be engraved in during by generation 10: 2 on the 1st January to 1 day 10: 5 January/ Between business datum be defined as up-to-date business datum.
The structural representation one of the service server that Fig. 6 provides for the present invention, refers to Fig. 6, this service server can:
Receiver module 601, the Business Processing request sent for receiving terminal apparatus, it is right that Business Processing request is used for asking Pending business processes;
First acquisition module 602, for obtaining the target histories business record that terminal unit is corresponding, target histories business is remembered The type of service of record correspondence is identical with the type of service of pending business, and target histories business record includes target service service The mark of device;
Second acquisition module 603, for according to target histories business record, taking at target service server or current business Business device obtains up-to-date business datum;
Processing module 604, for processing pending business according to up-to-date business datum.
Service server shown in the embodiment of the present invention can perform the technical scheme shown in said method embodiment, in fact Existing principle and beneficial effect are similar to, and the most no longer repeat.
In a kind of possible embodiment, Business Processing request includes target histories business record, accordingly, first Acquisition module 602 specifically for:
The target histories business record that terminal unit is corresponding is obtained in Business Processing is asked.
In alternatively possible embodiment, the first acquisition module 602 specifically for:
Obtain, to premises equipment requests, the history service set of records ends that terminal unit is corresponding, history service set of records ends is wrapped Include at least one history service record and type of service corresponding to each history service record and service ending moment;
By identical with the type of service of pending business in history service set of records ends, service ending moment with time current Carve nearest history service record and be defined as target histories business record.
The structural representation two of the service server that Fig. 7 provides for the present invention, on the basis of embodiment illustrated in fig. 6, please Seeing Fig. 7, the second acquisition module 603 includes judging unit 6031 and acquiring unit 6032, wherein,
Judging unit 6031 is used for, it is judged that whether target service server and current business server are same business service Device;
Acquiring unit 6032 is used for, and judges that target service server and current business server are same at judging unit 6031 During one service server, current business server obtains up-to-date business datum;
Judging unit 6031 is additionally operable to, and judges target service server and current business server not at judging unit 6031 When being same service server, it is judged that whether the time difference of current time and target service finish time updates week more than presetting Phase;
Acquiring unit 6032 is additionally operable to, and judges current time and the time of target service finish time at judging unit 6031 Difference, whether more than when presetting the update cycle, obtains up-to-date business datum in current business server, and acquiring unit 6032 is also used In, judge that the time difference of current time and target service finish time is less than or equal to presetting the update cycle at judging unit 6031 Time, target service server obtains up-to-date business datum.
In alternatively possible embodiment, acquiring unit 6032 specifically for:
Obtain the latest update moment;
Target service server obtains when generating and be engraved between latest update moment and target service finish time Business datum.
Service server shown in the embodiment of the present invention can perform the technical scheme shown in said method embodiment, in fact Existing principle and beneficial effect are similar to, and the most no longer repeat.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each method embodiment can be led to The hardware crossing programmed instruction relevant completes.Aforesaid program can be stored in a computer read/write memory medium.This journey Sequence upon execution, performs to include the step of above-mentioned each method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or The various media that can store program code such as person's CD.
Last it is noted that various embodiments above is only in order to illustrate technical scheme, it is not intended to limit;To the greatest extent The present invention has been described in detail by pipe with reference to foregoing embodiments, it will be understood by those within the art that: it depends on So the technical scheme described in foregoing embodiments can be modified, or the most some or all of technical characteristic is entered Row equivalent;And these amendments or replacement, do not make the essence of appropriate technical solution depart from various embodiments of the present invention technology The scope of scheme.

Claims (10)

1. a method for processing business based on multi-services device, it is characterised in that be applied to current business server, described Method includes:
The Business Processing request that receiving terminal apparatus sends, the request of described Business Processing is for asking to pending business Reason;
Obtain the target histories business record that described terminal unit is corresponding, the type of service that described target histories business record is corresponding Identical with the type of service of described pending business, described target histories business record includes the mark of target service server Know;
According to described target histories business record, obtain in described target service server or described current business server New business data, process described pending business according to described up-to-date business datum.
Method the most according to claim 1, it is characterised in that the request of described Business Processing includes described target histories industry Business record, accordingly, the target histories business record that the described terminal unit of described acquisition is corresponding, including:
Obtain, in described Business Processing is asked, the target histories business record that described terminal unit is corresponding.
Method the most according to claim 1, it is characterised in that the target histories industry that the described terminal unit of described acquisition is corresponding Business record, including:
The history service set of records ends that described terminal unit is corresponding, described history service record is obtained to described premises equipment requests Set includes at least one history service record and type of service corresponding to each history service record and service ending moment;
By identical with the type of service of described pending business in described history service set of records ends, service ending moment with work as Nearest history service record of front moment is defined as described target histories business record.
4. according to the method described in any one of claim 1-3, it is characterised in that described target histories business record also includes The target service finish time that described target histories business record is corresponding;
Accordingly, described according to described target histories business record, take at described target service server or described current business Business device obtains up-to-date business datum, including:
Judge whether described target service server and described current business server are same service server;
In described current business server, the most then obtain described up-to-date business datum;
If it is not, then judge whether the time difference of current time and described target service finish time is more than to preset the update cycle, if It is in described current business server, then obtain described up-to-date business datum, if it is not, then in described target service server Obtain described up-to-date business datum.
Method the most according to claim 4, it is characterised in that obtain described up-to-date industry in described target service server Business data, including:
Obtain the latest update moment;
Described target service server obtains at the end of being engraved in described latest update moment and described target service when generating Business datum between quarter.
6. a service server, it is characterised in that including:
Receiver module, the Business Processing request sent for receiving terminal apparatus, the request of described Business Processing is treated for request Process business processes;
First acquisition module, for obtaining the target histories business record that described terminal unit is corresponding, described target histories business The type of service that record is corresponding is identical with the type of service of described pending business, and described target histories business record includes mesh The mark of mark service server;
Second acquisition module, for according to described target histories business record, described target service server or described currently Service server obtains up-to-date business datum;
Processing module, for processing described pending business according to described up-to-date business datum.
Service server the most according to claim 6, it is characterised in that the request of described Business Processing includes described target History service record, described first acquisition module specifically for:
Obtain, in described Business Processing is asked, the target histories business record that described terminal unit is corresponding.
Service server the most according to claim 6, it is characterised in that described first acquisition module specifically for:
The history service set of records ends that described terminal unit is corresponding, described history service record is obtained to described premises equipment requests Set includes at least one history service record and type of service corresponding to each history service record and service ending moment;
By identical with the type of service of described pending business in described history service set of records ends, service ending moment with work as Nearest history service record of front moment is defined as described target histories business record.
9. according to the service server described in any one of claim 6-8, it is characterised in that in described target histories business record Also include the target service finish time that described target histories business record is corresponding;
Accordingly, described second acquisition module includes judging unit and acquiring unit, wherein,
Described judging unit is used for, it is judged that whether described target service server and described current business server are same business Server;
Described acquiring unit is used for, and judges described target service server and described current business server at described judging unit During for same service server, described current business server obtains described up-to-date business datum;
Described judging unit is additionally operable to, and judges described target service server and described current business service at described judging unit When device is not same service server, it is judged that whether the time difference of current time and described target service finish time is more than presetting Update cycle;
Described acquiring unit is additionally operable to, and judges current time and the time of described target service finish time at described judging unit Difference, whether more than when presetting the update cycle, obtains described up-to-date business datum, described acquisition in described current business server Unit is additionally operable to, and judges that at described judging unit the time difference of current time and described target service finish time is less than or equal to When presetting the update cycle, described target service server obtains described up-to-date business datum.
Service server the most according to claim 9, it is characterised in that described acquiring unit specifically for:
Obtain the latest update moment;
Described target service server obtains at the end of being engraved in described latest update moment and described target service when generating Business datum between quarter.
CN201610570772.8A 2016-07-19 2016-07-19 Method for processing business based on multi-services device and service server Pending CN106209875A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610570772.8A CN106209875A (en) 2016-07-19 2016-07-19 Method for processing business based on multi-services device and service server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610570772.8A CN106209875A (en) 2016-07-19 2016-07-19 Method for processing business based on multi-services device and service server

Publications (1)

Publication Number Publication Date
CN106209875A true CN106209875A (en) 2016-12-07

Family

ID=57494393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610570772.8A Pending CN106209875A (en) 2016-07-19 2016-07-19 Method for processing business based on multi-services device and service server

Country Status (1)

Country Link
CN (1) CN106209875A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106657132A (en) * 2017-01-09 2017-05-10 北京小米移动软件有限公司 Method and device for accessing website
CN107580032A (en) * 2017-08-23 2018-01-12 阿里巴巴集团控股有限公司 Data processing method, device and equipment
CN108347457A (en) * 2017-01-25 2018-07-31 电信科学技术研究院 A kind of communication means and communication equipment
CN108432208A (en) * 2016-12-15 2018-08-21 华为技术有限公司 A kind of arranging service method, apparatus and server
CN115225716A (en) * 2022-07-15 2022-10-21 中国联合网络通信集团有限公司 Data processing method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340371A (en) * 2008-08-12 2009-01-07 杭州华三通信技术有限公司 Session keeping method and load balance apparatus
CN102056333A (en) * 2009-11-05 2011-05-11 中国移动通信集团河南有限公司 WAP (wireless application protocol) gateway, service processing method thereof and WAP proxy server
CN102148850A (en) * 2010-08-09 2011-08-10 华为软件技术有限公司 Cluster system and service processing method thereof
CN102387198A (en) * 2011-10-17 2012-03-21 杭州华三通信技术有限公司 Business processing method and equipment for distributed network
CN103312540A (en) * 2013-05-24 2013-09-18 中国联合网络通信集团有限公司 User service requirement parameter determining method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101340371A (en) * 2008-08-12 2009-01-07 杭州华三通信技术有限公司 Session keeping method and load balance apparatus
CN102056333A (en) * 2009-11-05 2011-05-11 中国移动通信集团河南有限公司 WAP (wireless application protocol) gateway, service processing method thereof and WAP proxy server
CN102148850A (en) * 2010-08-09 2011-08-10 华为软件技术有限公司 Cluster system and service processing method thereof
CN102387198A (en) * 2011-10-17 2012-03-21 杭州华三通信技术有限公司 Business processing method and equipment for distributed network
CN103312540A (en) * 2013-05-24 2013-09-18 中国联合网络通信集团有限公司 User service requirement parameter determining method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108432208A (en) * 2016-12-15 2018-08-21 华为技术有限公司 A kind of arranging service method, apparatus and server
CN108432208B (en) * 2016-12-15 2020-02-21 华为技术有限公司 Service arranging method, device and server
US11178233B2 (en) 2016-12-15 2021-11-16 Huawei Technologies Co., Ltd. Service orchestration method and apparatus, and server
CN106657132A (en) * 2017-01-09 2017-05-10 北京小米移动软件有限公司 Method and device for accessing website
CN108347457A (en) * 2017-01-25 2018-07-31 电信科学技术研究院 A kind of communication means and communication equipment
WO2018137712A1 (en) * 2017-01-25 2018-08-02 电信科学技术研究院 Communication method and communication apparatus
CN107580032A (en) * 2017-08-23 2018-01-12 阿里巴巴集团控股有限公司 Data processing method, device and equipment
CN115225716A (en) * 2022-07-15 2022-10-21 中国联合网络通信集团有限公司 Data processing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
CN106209875A (en) Method for processing business based on multi-services device and service server
CN106911780A (en) Traffic ID generation method, apparatus and system
CN101815033A (en) Method, device and system for load balancing
CN109391655A (en) Service gray scale dissemination method, device, system and storage medium
CN110134889A (en) Short link generation method, device and server
CN105516284B (en) A kind of method and apparatus of Cluster Database distributed storage
CN101702676B (en) Data buffering process and device
US20150088995A1 (en) Method and apparatus for sharing contents using information of group change in content oriented network environment
CN110086886A (en) Dynamic session keeping method and device
US20180013610A1 (en) File delivery method, apparatus and system
CN106131175A (en) A kind of acquisition of information, information-pushing method and equipment
CN107733882A (en) SSL certificate automatically dispose method and apparatus
CN106027356B (en) A kind of conversion method and device of Tunnel Identifier
CN105556918B (en) A kind of resource downloading method and electronic equipment
CN109831474B (en) Keep-alive system, method, server and readable storage medium for http long connection
CN101783742B (en) Discovery method and device of network topology
CN107277188A (en) A kind of method, client, server and operation system for determining IP address attaching information
CN110602232A (en) Terminal system version downloading method, device and system based on peer-to-peer network idea
CN105117401B (en) A kind of method, apparatus and system of parallel transmission picture
CN108153494B (en) A kind of I/O request processing method and processing device
CN110943876A (en) URL state detection method, device, equipment and system
US10819775B2 (en) Systems and methods for server failover and load balancing
CN106790635A (en) Cookie information management method and server
CN107797771A (en) A kind of multipath storage optimization method and device
CN106303610B (en) A kind of processing method of task, server and client

Legal Events

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

Application publication date: 20161207

RJ01 Rejection of invention patent application after publication