CN106921712A - A kind of method for processing business and device - Google Patents

A kind of method for processing business and device Download PDF

Info

Publication number
CN106921712A
CN106921712A CN201510998966.3A CN201510998966A CN106921712A CN 106921712 A CN106921712 A CN 106921712A CN 201510998966 A CN201510998966 A CN 201510998966A CN 106921712 A CN106921712 A CN 106921712A
Authority
CN
China
Prior art keywords
service request
historical requests
intermediate equipment
request
business
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.)
Granted
Application number
CN201510998966.3A
Other languages
Chinese (zh)
Other versions
CN106921712B (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.)
Advanced Nova Technology Singapore Holdings Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510998966.3A priority Critical patent/CN106921712B/en
Publication of CN106921712A publication Critical patent/CN106921712A/en
Application granted granted Critical
Publication of CN106921712B publication Critical patent/CN106921712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/51Discovery or management thereof, e.g. service location protocol [SLP] or web 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/2866Architectures; Arrangements
    • H04L67/289Intermediate processing functionally located close to the data consumer application, e.g. in same machine, in same home or in same sub-network
    • 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/56Provisioning of proxy services
    • H04L67/562Brokering proxy 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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The embodiment of the present application provides a kind of method and device of Business Processing, the method is by intermediate equipment after the service request that terminal sends is received, judge in the historical requests that intermediate equipment is locally preserved, with the presence or absence of the service request, if, then subsequent treatment is not carried out to the service request, if not, then stored the service request as historical requests in the local of intermediate equipment, and send to master library or standby storehouse the service request, so that master library or standby storehouse are processed it after the service request is received.The above method carries out what idempotent was operated by then passing through intermediate equipment to service request, therefore, even if there is the situation that master library is delayed machine and processed service request by standby storehouse, master library is after recovering normal, also single treatment will not again be carried out to the service request, in terms of existing technologies, it is ensured that the idempotence of service request, improve the accuracy of service processing result.

Description

A kind of method for processing business and device
Technical field
The application is related to field of computer technology, more particularly to a kind of method for processing business and device.
Background technology
With the fast development of network technology, network of today can make people break away from traditional line under type, The treatment to some business is completed by the net, is had great convenience for the user when these business are processed just Profit.
In actual applications, the accuracy of service processing result is typically extremely important, in order to effective Guarantee these service processing results accuracy, generally operated using idempotent is carried out to it in the prior art Ensure, wherein, it is that it is arbitrarily performed a plurality of times identical request, produced shadow the characteristics of an idempotent is operated Sound is all identical, and its major significance is:When operation is not reaching to the set goal, user can not That stops retries, but will not produce side effect to resource.
For example, when user wants to carry out a business, used terminal can be passed through and send industry to main data base Business request, main data base will determine that whether the service request is repetitive requests after the service request is received, If repetitive requests, then the service request is not processed, if it is not, then the service request is processed, So as to ensure that accuracy when main data base is processed business.
However, in actual applications, if user is after service request is sent to main data base by terminal, number There is the machine of delaying according to master library, then the business that system can enable data for storehouse and be sended over to continue to user please Ask, and suspend reception work of the main data base to service request.And now, due to maloperation, forget oneself Whether situations such as being transmitted across the service request, user repeats to have sent an identical service request again, then Data will receive the service request that user repeats to send over for storehouse, wherein, before the service request not Have and occurred in data are for storehouse, therefore, data will be processed the service request for storehouse.But, After data complete the treatment to the service request for storehouse, main data base has recovered normal operation, then data Master library can continue executing with treatment to previously received service request, so that main data base and data are for storehouse One service request is processed twice, and then cannot effectively be ensured at a service request The idempotence of reason.
The content of the invention
The embodiment of the present application provides a kind of method and device of Business Processing, is used to solve prior art to one When individual service request is processed, it is impossible to the problem of its idempotence is effectively ensured.
A kind of method of Business Processing that the embodiment of the present application is provided, including:
The service request that intermediate equipment receiving terminal sends;
In the historical requests that the intermediate equipment is locally preserved, the service request is judged whether;
If so, not processing the service request then;
If it is not, then stored the service request as historical requests local, and by service request hair Give master library or standby storehouse is processed.
A kind of method of Business Processing that the embodiment of the present application is provided, including:
Client generates service request;
In the historical requests that data point storehouse preserves, the service request is judged whether;
If so, not processing the service request then;
If it is not, the service request then is sent into intermediate equipment so that intermediate equipment is receiving the industry After business request, when it is determined that there is the service request in the local historical requests for preserving of the intermediate equipment, The service request is not processed, when it is determined that not deposited in the local historical requests for preserving of the intermediate equipment In the service request, the service request is stored local in the intermediate equipment as historical requests, And the service request is sent to master library or standby storehouse is processed.
A kind of device of Business Processing that the embodiment of the present application is provided, including:
Receiver module, for the service request that receiving terminal sends;
Judging treatmenting module, in the historical requests that are locally preserved in described device, judging whether institute State service request;If so, not processing the service request then;If it is not, then by the service request As historical requests storage local, and the service request is sent to master library or standby storehouse is processed.
A kind of device of Business Processing that the embodiment of the present application is provided, including:
Request generation module, for generating service request;
Sending module is judged, in the historical requests that data point storehouse preserves, judging whether institute State service request;If so, not processing the service request then;If it is not, then by the service request Be sent to intermediate equipment so that intermediate equipment after the service request is received, when it is determined that the centre sets When there is the service request in the standby local historical requests for preserving, the service request is not processed, When it is determined that not existing the service request in the local historical requests for preserving of the intermediate equipment, by the industry Business request is local in the intermediate equipment as historical requests storage, and the service request is sent into master library Or standby storehouse is processed.
The embodiment of the present application provides a kind of method and device of Business Processing, and the method is being connect by intermediate equipment After receiving the service request of terminal transmission, judge in the historical requests that intermediate equipment is locally preserved, if deposit In the service request, if so, then subsequent treatment is not carried out to the service request, if it is not, then please by the business Ask as historical requests storage in the local of intermediate equipment, and the service request sent to master library or standby storehouse, So that master library or standby storehouse are processed the service request after the service request is received.The above method by Intermediate equipment is then passed through to carry out service request in idempotent operation, rather than master library or standby storehouse, therefore, i.e., When making to occur the situation that master library is delayed machine and processed service request by standby storehouse, master library is recovering After normal, also single treatment will not be again carried out to the service request, relative to of the prior art by master library Or standby storehouse for the idempotence for ensureing service request, can effectively ensure that the idempotence of service request, improve The accuracy of service processing result.
Brief description of the drawings
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes of the application Point, the schematic description and description of the application is used to explain the application, does not constitute to the application not Work as restriction.In the accompanying drawings:
The process of the Business Processing that Fig. 1 is provided for the embodiment of the present application;
The process of another Business Processing that Fig. 2 is provided for the embodiment of the present application;
The system schematic of the Business Processing that Fig. 3 is provided for the embodiment of the present application;
The detailed process of the Business Processing that Fig. 4 is provided for the embodiment of the present application;
A kind of structural representation of business processing device that Fig. 5 is provided for the embodiment of the present application;
The structural representation of another business processing device that Fig. 6 is provided for the embodiment of the present application.
Specific embodiment
It is specifically real below in conjunction with the application to make the purpose, technical scheme and advantage of the application clearer Apply example and corresponding accompanying drawing is clearly and completely described to technical scheme.Obviously, it is described Embodiment is only some embodiments of the present application, rather than whole embodiments.Based on the implementation in the application Example, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of the application protection.
The process of the Business Processing that Fig. 1 is provided for the embodiment of the present application, specifically includes following steps:
S101:The service request that intermediate equipment receiving terminal sends.
In actual applications, when people want complete some business when, can by such as computer, smart mobile phone, The intelligent terminals such as panel computer perform these business, it is generally the case that terminal can first by with these business phases Corresponding service request is sent to master library or standby storehouse so that master library or standby storehouse after the service request is received, Complete the treatment to business needed for user.
And in order to solve master library in the prior art delay machine when, it is impossible to ensure that the idempotence of processing business request is asked Topic, the embodiment of the present application increased intermediate equipment between user terminal and master library or standby storehouse, by intermediate equipment Carry out the service request that receiving terminal is sended over, and idempotent operation is carried out to the service request, i.e. work as user When performing business, can first using terminal send service request to intermediate equipment so that intermediate equipment is being received To after the service request, idempotent operation is carried out to the service request by subsequent step S102~S104.Its In, the intermediate equipment can be any equipment with forwarding capability, and due in actual applications, it is middle Equipment needs to receive the service request that multiple users send, therefore, the intermediate equipment that the embodiment of the present application is provided It can be distributed caching.
S102:In the historical requests that the intermediate equipment is locally preserved, judge whether that the business please Ask, if so, step S103 is then performed, if it is not, then performing step S104.
S103:The service request is not processed.
S104:Stored the service request as historical requests local, and the service request is sent Processed to master library or standby storehouse.
When intermediate equipment receives the service request that user terminal is sended over, can be by the service request with Between equipment locally preserve historical requests matched item by item, judge the intermediate equipment it is local in whether deposit With the service request identical service request, if, it is determined that the service request be repetitive requests, therefore Intermediate equipment does not carry out follow-up treatment to the service request, if not, it is determined that the service request is not to repeat Request, intermediate equipment can be stored the service request as historical requests in local, and by the service request Send to master library or standby storehouse so that master library or standby storehouse, can be to the service requests after the service request is received Processed, obtained service processing result, and then complete whole business procession.Follow-up, if Intermediate equipment receive again with the service request identical service request, due to before by the service request As historical requests storage local, therefore, the service request for receiving again is can determine whether out for repeat please Ask, enter without carrying out follow-up treatment to this service request.
In the above method, due to be increased for ensureing service request idempotent between terminal and master library or standby storehouse Property intermediate equipment so that when service request is sent to master library or standby storehouse, the service request need to be passed through first terminal The judgement of intermediate equipment idempotent is crossed, and only when it is non-duplicate request that intermediate equipment determines the service request, in Between equipment further the service request can be just sent to master library or standby storehouse to be processed, therefore, even if Occur in that master library is delayed the situation of machine, standby storehouse will not also receive before the service request that has been received by of master library, For the idempotence for ensureing service request by master library or standby storehouse of the prior art, can effectively protect The idempotence of service request is demonstrate,proved, the accuracy of service processing result is improve.
In the embodiment of the present application, whether intermediate equipment existing connects in the local historical requests for preserving are judged During the service request for receiving, can identify to ask each history by the service request included in the service request Ask and matched, wherein, service request mark can be that terminal is accordingly generated when the service request is generated A traffic ID, e.g., transaction journal number pays serial number etc., it is also possible to terminal or intermediate equipment according to The content of algorithm and service request is identified come the service request for determining, i.e. as long as ensureing its uniqueness .
For example, terminal or intermediate equipment can be in service request user account information, business odd numbers etc. it is interior Hold, by default MD5 algorithms, determine a unique service request mark of the service request, Wherein, the content that different service requests is included all is not quite similar, therefore, for two identical business For request, the service request mark that terminal or intermediate equipment are determined respectively is also certain identical, therefore, Intermediate equipment can be identified by service request, effectively distinguish each service request, and then can be in subsequent process In accurately judge the service request whether be present in intermediate equipment it is local in.
In actual applications, it is contemplated that the limited storage space of intermediate equipment, it is impossible to which storing substantial amounts of business please Ask, if also, intermediate equipment stores substantial amounts of service request, the operation burden of itself may be increased, Operational efficiency is reduced, therefore, one is additionally provided in the embodiment of the present application for storing the expired industry of intermediate equipment The data for being engaged in asking divide storehouse, wherein, when the storage time of the historical requests stored in intermediate equipment is beyond pre- If storage time when, intermediate equipment can exceed the historical requests of default storage time as expired business Request, sends to the data point storehouse set up in advance to be stored, so that the memory space of intermediate equipment Discharged well, can effectively ensure that follow-up operating efficiency.On this basis, the embodiment of the present application is also There is provided the method for another Business Processing, as shown in Figure 2.
The process of another Business Processing that Fig. 2 is provided for the embodiment of the present application, specifically includes following steps:
S201:Client generates service request.
In actual applications, when people wish to carry out business, can be by such as computer, smart mobile phone, flat The client installed on the intelligent terminals such as plate computer performs these business, it is generally the case that user can basis The Business Processing interface that client is provided a user with terminal interface operates accordingly to perform, and client End can generate corresponding service request according to the business operation of user's execution, and then can be by the service request Outwards it is transmitted.
S202:In the historical requests that data point storehouse preserves, the service request is judged whether, If so, step S203 is then performed, if it is not, then performing step S204.
S203:The service request is not processed.
S204:The service request is sent to intermediate equipment so that intermediate equipment is receiving the business After request, when it is determined that there is the service request in the local historical requests for preserving of the intermediate equipment, no The service request is processed, when it is determined that not existing in the local historical requests for preserving of the intermediate equipment During the service request, the service request is stored local in the intermediate equipment as historical requests, and The service request is sent to master library or standby storehouse is processed.
Due to being additionally arranged data point storehouse, therefore, client was needed before service request is sent to intermediate equipment The historical requests that first called data point storehouse preserves from data point storehouse, come to judging in these historical requests In whether have existed for the service request, the purpose of this measure is, in actual applications, client may Do not know whether the local historical requests for preserving of intermediate equipment have been transferred to data point storehouse and have been stored, if Directly service request is sent to intermediate equipment, then it is possible that intermediate equipment will be received before this Identical service request be transferred to the situation that data point storehouse is stored, so as to intermediate equipment can be caused to connect again After receiving the service request, will be unable to be effectively ensured the problem of its idempotence.Therefore, client can be from data Transfer each historical requests in point storehouse, the service request that judgement will send whether be present in transferring these go through In history request, wherein, specific judgment mode can also be asked by the business being previously mentioned in above-mentioned steps S102 Seek mark to judge, i.e. extract service request mark from the service request, and according to the service request Mark, to be matched one by one to each historical requests transferred, if not existing and the industry in these historical requests Business request identifies the historical requests for matching, then client can be sent to intermediate equipment the service request, made Intermediate equipment is obtained after the service request is received, when it is determined that being deposited in the local historical requests for preserving of intermediate equipment In the service request, the service request is not processed, when it is determined that the local history for preserving of intermediate equipment When not existing the service request in request, stored the service request as historical requests in intermediate equipment sheet Ground, and the service request is sent to master library or standby storehouse is processed, if do not exist in these historical requests with The service request identifies the historical requests for matching, then client will not subsequently be located to the service request Reason, i.e. the service request will not be sent into intermediate equipment.
It should be noted that in the deterministic process of described above, if local in client called data point storehouse Whole historical requests of preservation, then can greatly reduce the speed of service of terminal, therefore, client is from data During transferring historical requests in point storehouse, can only transfer each with what ID in the service request matched Historical requests, e.g., by the user account information included in the service request, adjust from data point storehouse The historical requests under the user account information are taken, so as to the running space of terminal can be saved greatly, is improved eventually The speed of service at end.
In above-mentioned steps S102, intermediate equipment is in the local historical requests for preserving are judged, if on existing During stating service request, if the service request mark extracted from the service request and local preservation Whole historical requests matched one by one, then may increase the operation burden of intermediate equipment, reduce in the middle of The operational efficiency of equipment, therefore, in the embodiment of the present application, intermediate equipment is also adopted by and above-mentioned steps S202 Middle identical method, i.e. user's mark of the information such as user account can be first extracted from the service request Know, and the historical requests under the ID are transferred out from local, and then very big save to the business The judgement time of request, improve the treatment effeciency of intermediate equipment.
In above-mentioned steps S202, when client finds that the service request that will be sent is present in data point When in the historical requests that storehouse preserves, client can be pointed out to user, i.e. point out user the business Request has been transmitted across before this, without sending again.Same reason, in step s 102, when After the service request that intermediate equipment receiving terminal sends, existing in the local historical requests for preserving being somebody's turn to do is found Service request, then can send the existing or processed prompting of the service request so that terminal is connecing to terminal After receiving the prompting, the prompting is shown to user, user is after the prompting is viewed, you can know just The service request of transmission is attached most importance to the service request sent of recurrence, and intermediate equipment is not processed the service request.
It is above two kinds of methods of Business Processing that the embodiment of the present application is provided, based on above two method, this Application embodiment additionally provides a system for Business Processing, as shown in Figure 3.
The system schematic of the Business Processing that Fig. 3 is provided for the embodiment of the present application.
Include an intermediate equipment in the transaction processing system shown in Fig. 3, wherein, the intermediate equipment can The service request that each terminal is sended over is received respectively, and idempotent operation is carried out to each service request, if middle Equipment judges the service request for receiving when being new service request, then can be according to actual conditions, by the industry Business request sends to master library or standby storehouse and is processed, wherein, when master library normal operation, then by service request Send into master library, if delaying occurs in master library during machine, service request can be sent into the standby storehouse of system startup Processed.And each terminal needed the number for first being set from system before service request is sent to intermediate equipment The business for judging to want to be sent to intermediate equipment according to the historical requests stored in called data point storehouse in point storehouse Whether request is repetitive requests, and detailed process is described in detail in the above-mentioned methods, herein with regard to not carrying out It is described in detail.
Transaction processing system based on described above, the embodiment of the present application additionally provides the detailed of Business Processing Thin process, as shown in Figure 4.
The detailed process of the Business Processing that Fig. 4 is provided for the embodiment of the present application, specifically includes following steps:
S401:Client generates service request.
S402:In the historical requests that data point storehouse preserves, the service request is judged whether, If so, step S403 is then performed, if it is not, then performing step S404.
S403:The service request is not processed.
S404:The service request is sent to intermediate equipment.
S405:Intermediate equipment is judged in the historical requests that intermediate equipment is locally preserved, if there is the industry Business request, if so, step S406 is then performed, if it is not, then performing step S407.
S406:The service request is not processed.
S407:Stored the service request as historical requests local, and the service request is sent Processed to master library or standby storehouse.
It is above two kinds of methods of Business Processing that the embodiment of the present application is provided, based on same thinking, this Shen Please embodiment two kinds of devices of Business Processing are also provided, as shown in Figure 5, Figure 6.
A kind of structural representation of business processing device that Fig. 5 is provided for the embodiment of the present application, specifically includes:
Receiver module 501, for the service request that receiving terminal sends;
Judging treatmenting module 502, in the historical requests that are locally preserved in described device, judging whether to deposit In the service request;If so, not processing the service request then;If it is not, then by the business Request local, and the service request is sent at master library or standby storehouse as historical requests storage Reason.
Include service request mark in the service request;
The judging treatmenting module 502 specifically for, judge described device locally preserve historical requests in, With the presence or absence of the historical requests corresponding with service request mark;If, it is determined that described device is local There is the service request in the historical requests of preservation;If not, it is determined that the history that described device is locally preserved Do not exist the service request in request.
Sending module 503, the historical requests for storage time to be exceeded default storage time are sent to data Point storehouse is stored.
The structural representation of another business processing device that Fig. 6 is provided for the embodiment of the present application, specifically includes:
Request generation module 601, for generating service request;
Sending module 602 is judged, in the historical requests that data point storehouse preserves, judging whether to deposit In the service request;If so, not processing the service request then;If it is not, then by the business Request be sent to intermediate equipment so that intermediate equipment after the service request is received, when it is determined that in described Between in the historical requests that locally preserve of equipment when there is the service request, not to the service request at Reason, when it is determined that not existing the service request in the local historical requests for preserving of the intermediate equipment, by institute State service request and store local in the intermediate equipment as historical requests, and the service request is sent to Master library or standby storehouse are processed.
It is described judgement sending module 602 specifically for, according in the service request carry ID, Transfer each historical requests matched with the ID in the data point storehouse;According to each history transferred Request, with the presence or absence of the service request in each historical requests that judgement is transferred.
The embodiment of the present application provides a kind of method and device of Business Processing, and the method is being connect by intermediate equipment After receiving the service request of terminal transmission, judge in the historical requests that intermediate equipment is locally preserved, if deposit In the service request, if so, then subsequent treatment is not carried out to the service request, if it is not, then please by the business Ask as historical requests storage in the local of intermediate equipment, and the service request sent to master library or standby storehouse, So that master library or standby storehouse are processed the service request after the service request is received.The above method by Intermediate equipment is then passed through to carry out service request in idempotent operation, rather than master library or standby storehouse, therefore, i.e., When making to occur the situation that master library is delayed machine and processed service request by standby storehouse, master library is recovering After normal, also single treatment will not be again carried out to the service request, relative to of the prior art by master library Or standby storehouse for the idempotence for ensureing service request, can effectively ensure that the idempotence of service request, improve The accuracy of service processing result.
In a typical configuration, computing device includes one or more processors (CPU), input/defeated Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory And/or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM). Internal memory is the example of computer-readable medium.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be by appointing What method or technique realizes information Store.Information can be computer-readable instruction, data structure, program Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its The random access memory (RAM) of his type, read-only storage (ROM), electrically erasable are read-only Memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic cassette tape, tape magnetic Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated The information that equipment is accessed.Defined according to herein, computer-readable medium does not include temporary computer-readable matchmaker Body (transitory media), such as data-signal and carrier wave of modulation.
Also, it should be noted that term " including ", "comprising" or its any other variant be intended to non-row His property is included, so that process, method, commodity or equipment including a series of key elements not only include Those key elements, but also other key elements including being not expressly set out, or also include for this process, Method, commodity or the intrinsic key element of equipment.In the absence of more restrictions, by sentence " including One ... " key element that limits, it is not excluded that in the process including the key element, method, commodity or set Also there is other identical element in standby.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.And, the application can be used and wherein include calculating at one or more Machine usable program code computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, Optical memory etc.) on implement computer program product form.
Embodiments herein is the foregoing is only, the application is not limited to.For this area skill For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle Any modification, equivalent substitution and improvements of work etc., within the scope of should be included in claims hereof.

Claims (11)

1. a kind of method of Business Processing, it is characterised in that including:
The service request that intermediate equipment receiving terminal sends;
In the historical requests that the intermediate equipment is locally preserved, the service request is judged whether;
If so, not processing the service request then;
If it is not, then stored the service request as historical requests local, and by service request hair Give master library or standby storehouse is processed.
2. the method for claim 1, it is characterised in that include business in the service request Request mark;
In the historical requests that the intermediate equipment is locally preserved, the service request is judged whether, had Body includes:
Judge the intermediate equipment locally in the historical requests of preservation, if to exist and the service request is identified Corresponding historical requests;
If, it is determined that there is the service request in the historical requests that the intermediate equipment is locally preserved;
If not, it is determined that do not exist the service request in the historical requests that the intermediate equipment is locally preserved.
3. the method for claim 1, it is characterised in that methods described also includes:
The historical requests that storage time exceeds default storage time are sent to data point storehouse and is stored.
4. the method for claim 1, it is characterised in that the intermediate equipment includes distributed slow Deposit.
5. a kind of method of Business Processing, it is characterised in that including:
Client generates service request;
In the historical requests that data point storehouse preserves, the service request is judged whether;
If so, not processing the service request then;
If it is not, the service request then is sent into intermediate equipment so that intermediate equipment is receiving the industry After business request, when it is determined that there is the service request in the local historical requests for preserving of the intermediate equipment, The service request is not processed, when it is determined that not deposited in the local historical requests for preserving of the intermediate equipment In the service request, the service request is stored local in the intermediate equipment as historical requests, And the service request is sent to master library or standby storehouse is processed.
6. method as claimed in claim 5, it is characterised in that in the history of data point storehouse preservation In request, the service request is judged whether, specifically included:
According to the ID carried in the service request, transfer in the data point storehouse with user mark Each historical requests of sensible matching;
According to each historical requests transferred, judge to be asked with the presence or absence of the business in each historical requests transferred Ask.
7. a kind of device of Business Processing, it is characterised in that including:
Receiver module, for the service request that receiving terminal sends;
Judging treatmenting module, in the historical requests that are locally preserved in described device, judging whether institute State service request;If so, not processing the service request then;If it is not, then by the service request As historical requests storage local, and the service request is sent to master library or standby storehouse is processed.
8. device as claimed in claim 7, its spy is characterised by, industry is included in the service request Business request mark;
The judging treatmenting module is specifically for judging described device locally in the historical requests of preservation, if In the presence of the historical requests corresponding with service request mark;If, it is determined that described device is locally preserved Historical requests in there is the service request;If not, it is determined that the historical requests that described device is locally preserved In do not exist the service request.
9. device as claimed in claim 7, it is characterised in that described device also includes:
Sending module, the historical requests for storage time to be exceeded default storage time are sent to data point storehouse Stored.
10. a kind of device of Business Processing, it is characterised in that including:
Request generation module, for generating service request;
Sending module is judged, in the historical requests that data point storehouse preserves, judging whether institute State service request;If so, not processing the service request then;If it is not, then by the service request Be sent to intermediate equipment so that intermediate equipment after the service request is received, when it is determined that the centre sets When there is the service request in the standby local historical requests for preserving, the service request is not processed, When it is determined that not existing the service request in the local historical requests for preserving of the intermediate equipment, by the industry Business request is local in the intermediate equipment as historical requests storage, and the service request is sent into master library Or standby storehouse is processed.
11. devices as claimed in claim 10, it is characterised in that the judgement sending module is specifically used In, according to the ID carried in the service request, transfer in the data point storehouse with user mark Each historical requests of sensible matching;According to each historical requests transferred, it is in each historical requests that judgement is transferred It is no to there is the service request.
CN201510998966.3A 2015-12-28 2015-12-28 Service processing method and device Active CN106921712B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510998966.3A CN106921712B (en) 2015-12-28 2015-12-28 Service processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510998966.3A CN106921712B (en) 2015-12-28 2015-12-28 Service processing method and device

Publications (2)

Publication Number Publication Date
CN106921712A true CN106921712A (en) 2017-07-04
CN106921712B CN106921712B (en) 2020-07-03

Family

ID=59454895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510998966.3A Active CN106921712B (en) 2015-12-28 2015-12-28 Service processing method and device

Country Status (1)

Country Link
CN (1) CN106921712B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415792A (en) * 2018-01-15 2018-08-17 阿里巴巴集团控股有限公司 Disaster tolerance system, method, apparatus and equipment
CN108647105A (en) * 2018-05-22 2018-10-12 阿里巴巴集团控股有限公司 Idempotent control method in net system switching process, apparatus and system
CN109902077A (en) * 2018-12-29 2019-06-18 阿里巴巴集团控股有限公司 A kind of service request processing method, device and equipment
CN110740163A (en) * 2019-09-04 2020-01-31 无锡华云数据技术服务有限公司 Idempotent control method, idempotent control device, electronic equipment and readable storage medium
CN110908838A (en) * 2019-11-19 2020-03-24 杭州安恒信息技术股份有限公司 Data processing method and device, electronic equipment and storage medium
CN111800512A (en) * 2020-07-07 2020-10-20 深圳前海百递网络有限公司 Data transmission method and server
CN113626176A (en) * 2020-05-08 2021-11-09 北京沃东天骏信息技术有限公司 Service request processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101420667A (en) * 2007-10-24 2009-04-29 中兴通讯股份有限公司 A kind of method of short message gateway processing waiting receipt message
US20120117423A1 (en) * 2010-11-09 2012-05-10 International Business Machines Corporation Fault tolerance in distributed systems
CN103095691A (en) * 2012-12-31 2013-05-08 清华大学 Method of controlling access to Internet of things nodes
CN103890736A (en) * 2011-11-02 2014-06-25 国际商业机器公司 Message reconciliation during disaster recovery
US20150032896A1 (en) * 2006-03-14 2015-01-29 Amazon Technologies, Inc. System and method for routing service requests

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150032896A1 (en) * 2006-03-14 2015-01-29 Amazon Technologies, Inc. System and method for routing service requests
CN101420667A (en) * 2007-10-24 2009-04-29 中兴通讯股份有限公司 A kind of method of short message gateway processing waiting receipt message
US20120117423A1 (en) * 2010-11-09 2012-05-10 International Business Machines Corporation Fault tolerance in distributed systems
CN103890736A (en) * 2011-11-02 2014-06-25 国际商业机器公司 Message reconciliation during disaster recovery
CN103095691A (en) * 2012-12-31 2013-05-08 清华大学 Method of controlling access to Internet of things nodes

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415792A (en) * 2018-01-15 2018-08-17 阿里巴巴集团控股有限公司 Disaster tolerance system, method, apparatus and equipment
CN108415792B (en) * 2018-01-15 2022-04-29 创新先进技术有限公司 Disaster recovery system, method, device and equipment
CN108647105A (en) * 2018-05-22 2018-10-12 阿里巴巴集团控股有限公司 Idempotent control method in net system switching process, apparatus and system
CN108647105B (en) * 2018-05-22 2022-02-01 创新先进技术有限公司 Idempotent control method, device and system in system switching process
CN109902077A (en) * 2018-12-29 2019-06-18 阿里巴巴集团控股有限公司 A kind of service request processing method, device and equipment
CN109902077B (en) * 2018-12-29 2023-08-11 创新先进技术有限公司 Service request processing method, device and equipment
CN110740163A (en) * 2019-09-04 2020-01-31 无锡华云数据技术服务有限公司 Idempotent control method, idempotent control device, electronic equipment and readable storage medium
CN110740163B (en) * 2019-09-04 2021-04-02 华云数据控股集团有限公司 Idempotent control method, idempotent control device, electronic equipment and readable storage medium
CN110908838A (en) * 2019-11-19 2020-03-24 杭州安恒信息技术股份有限公司 Data processing method and device, electronic equipment and storage medium
CN110908838B (en) * 2019-11-19 2022-09-02 杭州安恒信息技术股份有限公司 Data processing method and device, electronic equipment and storage medium
CN113626176A (en) * 2020-05-08 2021-11-09 北京沃东天骏信息技术有限公司 Service request processing method and device
CN111800512A (en) * 2020-07-07 2020-10-20 深圳前海百递网络有限公司 Data transmission method and server

Also Published As

Publication number Publication date
CN106921712B (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN106921712A (en) A kind of method for processing business and device
CN109949111B (en) Electronic bill identification distribution method, electronic bill generation method, device and system
US11546294B2 (en) Network containers
CN108829350B (en) Data migration method and device based on block chain
EP3373543B1 (en) Service processing method and apparatus
CN107368259B (en) Method and device for writing service data into block chain system
KR102151907B1 (en) Blockchain data processing and storage in a trusted execution environment
US10209908B2 (en) Optimization of in-memory data grid placement
CN107360206A (en) A kind of block chain common recognition method, equipment and system
CN110417879A (en) A kind of message treatment method, device, equipment and storage medium
US10187485B1 (en) Systems and methods for sending push notifications that include preferred data center routing information
CN106034138A (en) Remote service calling method and remote service calling device
WO2014102456A1 (en) Method and apparatus for secure advertising
JP2022073833A (en) Data distribution storage method and device
CN110619022B (en) Node detection method, device, equipment and storage medium based on block chain network
CN107276998B (en) OpenSSL-based performance optimization method and device
CN110046510B (en) Cross-cloud data migration method, device and system
US10572486B2 (en) Data communication in a distributed data grid
EP2701068B1 (en) Network access system
US11625358B1 (en) Automatic object archiving based on user selections
CN105025042A (en) Method of determining data information, system and proxy servers
CN102868594A (en) Method and device for message processing
CN109214884B (en) Demand matching method and device and electronic equipment
CN107852370A (en) System and method for a scalable network buffer management
CN105678155A (en) Verification method and device for information storage

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240301

Address after: 128 Meizhi Road, Guohao Times City # 20-01, Singapore 189773

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right