CN110298758A - Order declaration method and device - Google Patents

Order declaration method and device Download PDF

Info

Publication number
CN110298758A
CN110298758A CN201910614781.6A CN201910614781A CN110298758A CN 110298758 A CN110298758 A CN 110298758A CN 201910614781 A CN201910614781 A CN 201910614781A CN 110298758 A CN110298758 A CN 110298758A
Authority
CN
China
Prior art keywords
order
list
declared
offer machine
offer
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
CN201910614781.6A
Other languages
Chinese (zh)
Other versions
CN110298758B (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.)
Hundsun Technologies Inc
Original Assignee
Hundsun Technologies Inc
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 Hundsun Technologies Inc filed Critical Hundsun Technologies Inc
Priority to CN201910614781.6A priority Critical patent/CN110298758B/en
Publication of CN110298758A publication Critical patent/CN110298758A/en
Application granted granted Critical
Publication of CN110298758B publication Critical patent/CN110298758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Hardware Redundancy (AREA)

Abstract

The invention discloses a kind of order declaration methods, applied to offer machine system, it include the first offer machine and the second offer machine in offer machine system, first list and second list are stored in first offer machine, it include the corresponding relationship for having declared the first number and the second number of order in first list, it include the second number for having declared order in second list, when the first offer machine operates normally, the first offer machine determines the first number and the second number of the first order to be declared;The service parameter of first order is determined according to the first of first order the number and the second number;First order is declared, and the service parameter of first order is sent to the goal systems connecting with the offer machine system, based on this, when hardware fault occurs in the first offer machine, second offer machine can obtain the service parameter of the first order from goal systems, and restore first list and second list according to the service parameter of the first order.

Description

Order declaration method and device
Technical field
The present invention relates to order processing technical fields, and more specifically, it relates to a kind of order declaration method and devices.
Background technique
After the down-stream system of offer machine system is collected into the order of investor's commission, order is declared to offer machine system Up-stream system, this process be known as offer.Offer application program is the down-stream system and offer machine system of offer machine system Gateway between up-stream system.The application program is responsible for declaring the order that the down-stream system for machine system of offerring is collected into offer The up-stream system of machine system.The terminal device for running the application program is commonly referred to as offer machine.
It is strictly orderly that the up-stream system of offer machine system requires order to declare serial number, therefore, during order is declared, The down-stream system of the same order, offer machine system numbers it once, is denoted as X, and offer machine also numbers it once, is denoted as Y, Final offer machine is using number Y as the up-stream system for declaring serial number for order and declaring machine system of offerring.Order weight in order to prevent It declares again, needs to store two numbers of order, in the prior art, established in the local disk file of offer machine Two lists, list one save the corresponding relationship of number X and number Y, and list two saves the upstream declared to offer machine system The corresponding number Y of the order of system.When the new order that the down-stream system that offer machine receives offer machine system is sent, according to column Table one determines number Y corresponding with the number X of new order, then checks in list two whether include the number Y of new order, if wrapped It includes, then illustrates that new order had been declared, report an error return, if not including, continues to declare, so that order be avoided to declare appearance Mistake.
But aforesaid way has following defects that other offer machines can not then obtain when hardware fault occurs in offer machine Above-mentioned two list can not be true when other offer machines being caused to receive the new order that the down-stream system of offer machine system is sent Whether the fixed new order has been declared, and then it is wrong to cause order to be declared.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind State the order declaration method and device of problem.Concrete scheme is as follows:
A kind of order declaration method is applied to offer machine system, includes the first offer machine and the in the offer machine system Two offer machines are stored with first list and second list in the first offer machine, include having declared to order in the first list Single first is numbered and the corresponding relationship of the second number, includes the second number for having declared order in the second list, works as institute When stating the first offer machine normal operation, the method is applied to the first offer machine, which comprises
Determine the first number and the second number of the first order to be declared;
The service parameter of first order is determined according to the first of first order the number and the second number;
First order is declared, and the service parameter of first order is sent to and offer machine system The goal systems connected of uniting obtains so that described second offers machine in the first offer machine failure from the goal systems The service parameter of first order, and the first list and secondary series are restored according to the service parameter of first order Table.
Optionally, the business that first order is determined according to the first of first order the number and the second number Parameter, comprising:
The third number of first order is generated according to the first of first order the number and the second number;
The third number of first order is determined as to the service parameter of first order.
Optionally, the service parameter by first order is sent to the target system connecting with the first offer machine System, comprising:
The third number of first order is sent to the up-stream system of the offer machine system, so that second report Disk machine in the first offer machine failure, compile by the third for obtaining first order from the up-stream system of the offer machine system Number, and numbered according to the first number and second that the third of first order number restores first order, and according to institute The first number and the second number for stating the first order restore the first list and second list.
Optionally, the business that first order is determined according to the first of first order the number and the second number Parameter, comprising:
Second number of first order is determined as to the service parameter of first order.
Optionally, the service parameter by first order is sent to the system connecting with the first offer machine, Include:
Second number of first order is sent to the down-stream system of the offer machine system, so that second report Disk machine obtains the second volume of first order from the down-stream system of the offer machine system in the first offer machine failure Number, and the first list and second list are restored according to the second of first order the number.
Optionally, after the first number of the determination the first order to be declared and the second number, the method is also Include:
First number of first order and the corresponding relationship of the second number of first order are saved to described First list;
The Second Type number of first order is saved to the second list.
A kind of order declaration method is applied to offer machine system, includes the first offer machine and the in the offer machine system Two offer machines are stored with first list and second list in the first offer machine, include having declared to order in the first list Single first is numbered and the corresponding relationship of the second number, includes the second number for having declared order in the second list, works as institute When stating the first offer machine failure, the method is applied to the second offer machine, which comprises
The service parameter for having declared order is obtained from the goal systems connecting with the offer machine system, and according to described The service parameter for having declared order restores the first list and second list;
The second order declared is treated according to the first list and second list of recovery to be declared.
Optionally, described that the business ginseng for having declared order is obtained from the goal systems connecting with the offer machine system Number, and the first list and second list are restored according to the service parameter for having declared order, comprising:
Indent queue is declared from the acquisition of the up-stream system of the offer machine system, described declared in indent queue includes The whole orders declared, and, it is numbered with the one-to-one third of each order declared;
Restore each the first number and the second number for having declared order according to each third number for having declared order;
Restore the first list and second list according to each the first number for having declared order and the second number.
Optionally, described that the business ginseng for having declared order is obtained from the goal systems connecting with the offer machine system Number, and the first list and second list are restored according to the service parameter for having declared order, comprising:
The first indent queue is obtained from the down-stream system of the offer machine system, includes in the first order information queue The first number and/or the second number of each order of the down-stream system record of the offer machine system, wherein described second compiles Number include the first offer machine be sent to the offer machine system down-stream system service parameter;
It is determined from first indent queue and does not report order, it is described that order is not reported to compile for only the first number without second Number order;
The second indent queue is obtained from the up-stream system of the offer machine system, includes described in second indent queue The whole orders of the up-stream system record of offer machine system declared, and, it is one-to-one with each order declared Second number;
Target is not reported order match with each order in second indent queue, second is stated described in judgement and is ordered It whether include the order for not reporting order successful match with the target in single queue;
If including, it is determined that do not report second of the order in the second indent queue of order successful match to number with target Do not report order for the target second is numbered, and will be after the second number record to first indent queue generation change The first indent queue;
Restore the first list according to the first indent queue after the change, is restored according to second indent queue The second list;
If not including, it is determined that the target does not report order for abnormal order.
Optionally, the first list and second list according to recovery treats the second order declared and carries out Shen Report, comprising:
Obtain the first number of second order;
When in the first list of recovery not including the first number of second order, from described the second of recovery The maximum value of the second number is obtained in list;
The second number of second order is generated according to the maximum value of second number;
The service parameter of second order is determined according to the first of second order the number and the second number;
Second order is declared, and the service parameter of second order is sent to and offer machine system The system of system connection.
A kind of order declaration device is applied to offer machine system, includes the first offer machine and the in the offer machine system Two offer machines are stored with first list and second list in the first offer machine, include having declared to order in the first list Single first is numbered and the corresponding relationship of the second number, includes the second number for having declared order in the second list, works as institute When stating the first offer machine normal operation, described device is applied to the first offer machine, and described device includes:
Number determination unit, for determining the first number and the second number of the first order to be declared;
Service parameter determination unit, for determining described first according to the first of first order the number and the second number The service parameter of order;
Order declares unit, sends out for declaring first order, and by the service parameter of first order It send to the goal systems being connect with the offer machine system, so that described second offers machine in the first offer machine failure, The service parameter of first order is obtained from the goal systems, and according to the recovery of the service parameter of first order First list and second list.
Optionally, the service parameter determination unit, comprising:
First service parameter determines subelement, for being generated according to the first of first order the number and the second number The third of first order is numbered;The third number of first order is determined as to the service parameter of first order.
Optionally, the order declares unit, is specifically used for:
The third number of first order is sent to the up-stream system of the offer machine system, so that second report Disk machine in the first offer machine failure, compile by the third for obtaining first order from the up-stream system of the offer machine system Number, and numbered according to the first number and second that the third of first order number restores first order, and according to institute The first number and the second number for stating the first order restore the first list and second list.
Optionally, the service parameter determination unit, comprising:
Second service parameter determines subelement, for the second number of first order to be determined as first order Service parameter.
Optionally, the order declares unit, is specifically used for:
Second number of first order is sent to the down-stream system of the offer machine system, so that second report Disk machine obtains the second volume of first order from the down-stream system of the offer machine system in the first offer machine failure Number, and the first list and second list are restored according to the second of first order the number.
Optionally, described device further include:
Storage unit, after being numbered for the first number in the determination the first order to be declared with second, by institute The corresponding relationship for stating the first number of the first order and the second number of first order is saved to the first list;By institute The Second Type number for stating the first order is saved to the second list.
A kind of order declaration device is applied to offer machine system, includes the first offer machine and the in the offer machine system Two offer machines are stored with first list and second list in the first offer machine, include having declared to order in the first list Single first is numbered and the corresponding relationship of the second number, includes the second number for having declared order in the second list, works as institute When stating the first offer machine failure, described device is applied to the second offer machine, and described device includes:
List recovery unit, for obtaining the industry for having declared order from the goal systems connecting with the offer machine system Business parameter, and the first list and second list are restored according to the service parameter for having declared order;
Order declares unit, for the first list and second list according to recovery treat the second order declared into Row is declared.
Optionally, the list recovery unit, is specifically used for:
Indent queue is declared from the acquisition of the up-stream system of the offer machine system, described declared in indent queue includes The whole orders declared, and, it is numbered with the one-to-one third of each order declared;
Restore each the first number and the second number for having declared order according to each third number for having declared order;
Restore the first list and second list according to each the first number for having declared order and the second number.
Optionally, the list recovery unit, is specifically used for:
The first indent queue is obtained from the down-stream system of the offer machine system, includes in the first order information queue The first number and/or the second number of each order of the down-stream system record of the offer machine system, wherein described second compiles Number include the first offer machine be sent to the offer machine system down-stream system service parameter;
It is determined from first indent queue and does not report order, it is described that order is not reported to compile for only the first number without second Number order;
The second indent queue is obtained from the up-stream system of the offer machine system, includes described in second indent queue The whole orders of the up-stream system record of offer machine system declared, and, it is one-to-one with each order declared Second number;
Target is not reported order match with each order in second indent queue, second is stated described in judgement and is ordered It whether include the order for not reporting order successful match with the target in single queue;
If including, it is determined that do not report second of the order in the second indent queue of order successful match to number with target Do not report order for the target second is numbered, and will be after the second number record to first indent queue generation change The first indent queue;
Restore the first list according to the first indent queue after the change, is restored according to second indent queue The second list;
If not including, it is determined that the target does not report order for abnormal order.
Optionally, the order declares unit, is specifically used for:
Obtain the first number of second order;
When in the first list of recovery not including the first number of second order, from described the second of recovery The maximum value of the second number is obtained in list;
The second number of second order is generated according to the maximum value of second number;
The service parameter of second order is determined according to the first of second order the number and the second number;
Second order is declared, and the service parameter of second order is sent to and offer machine system The system of system connection.
A kind of storage medium, is stored thereon with program, which realizes order Shen as described above when being executed by processor Reporting method.
A kind of electronic equipment, the electronic equipment include memory and processor, and the memory is for storing program, institute Processor is stated for running program, wherein described program executes order declaration method as described above when running.
By above-mentioned technical proposal, order declaration method provided by the invention is applied to offer machine system, machine system of offerring In include the first offer machine and the second offer machine, first list and second list are stored in the first offer machine, in first list It include having declared the second of order to compile including having declared the first number of order and the corresponding relationship of the second number, in second list Number, when the first offer machine operates normally, the first offer machine determines the first number and the second number of the first order to be declared; The service parameter of first order is determined according to the first of first order the number and the second number;By first order It is declared, and the service parameter of first order is sent to the goal systems connecting with the offer machine system, be based on This, when hardware fault occurs in the first offer machine, the second offer machine can obtain the service parameter of the first order, and root from goal systems Restore first list and second list according to the service parameter of the first order.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is a kind of order declaration method flow diagram that the embodiment of the present invention one provides;
Fig. 2 is the concrete structure schematic diagram that a kind of order provided by Embodiment 2 of the present invention declares equipment;
Fig. 3 is a kind of order declaration method flow diagram that the embodiment of the present invention three provides;
Fig. 4 is a kind of order declaration method flow diagram that the embodiment of the present invention four provides;
Fig. 5 is a kind of order declaration method flow diagram that the embodiment of the present invention five provides;
Fig. 6 is a kind of order declaration method flow diagram that the embodiment of the present invention six provides;
Fig. 7 is a kind of order declaration method flow diagram that the embodiment of the present invention seven provides;
Fig. 8 is a kind of order declaration device structural schematic diagram that the embodiment of the present invention eight provides;
Fig. 9 is a kind of order declaration device structural schematic diagram that the embodiment of the present invention nine provides.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
It describes in detail below to specific implementation provided by the embodiments of the present application.
Embodiment one
The embodiment one provides a kind of order declaration method from the angle of offer machine system, includes in machine system of offerring First offer machine and the second offer machine, first list and second list are stored in the first offer machine, include in first list The first number of order and the corresponding relationship of the second number are declared, includes the second number for having declared order in second list, when When first offer machine operates normally, method is applied to the first offer machine, specifically, this method can specifically include referring to Fig. 1:
S101: the first number and the second number of the first order to be declared are determined;
First number of the first order to be declared is the down-stream system of offer machine system, that is, the downstream system for machine system of offerring System is the number of the first Order splitting, and it is the first Order splitting that the second number of the first order to be declared, which is the first offer machine, Number.
It should be noted that after the first number and the second number for determining the first order to be declared, the first offer Machine can save the first number of the first order and the corresponding relationship of the second number of the first order to first list;First is ordered Single Second Type number is saved to second list.So as to first offer machine non-hardware failure when, second offer function directly from First offer machine obtains first list and second list.
S102: the service parameter for determining the first order is numbered according to the first of the first order the number and second;
In the present invention, which can specifically realize in different ways, and specific implementation will be by subsequent Embodiment is described in detail.It should be noted that the service parameter of the first order determined in different ways is different.
S103: the first order is declared, and the service parameter of the first order is sent to and is connect with offer machine system Goal systems so that second offer machine first offer machine failure when, from goal systems obtain the first order service parameter, And first list and second list are restored according to the service parameter of the first order.
Different service parameters needs to be sent to different goal systems, correspondingly, the second offer machine also use it is different Mode restores first list and second list according to service parameter.It will be specifically described in detail by latter embodiments.
Order declaration method provided in this embodiment is applied to offer machine system, includes the first offer machine in machine system of offerring With the second offer machine, it is stored with first list and second list in the first offer machine, includes having declared order in first list First numbers the corresponding relationship with the second number, includes the second number for having declared order in second list, when the first offer machine When normal operation, the first offer machine determines the first number and the second number of the first order to be declared;According to the first order First number and second numbers the service parameter for determining the first order;First order is declared, and by the industry of the first order Business parameter is sent to the goal systems connecting with offer machine system, is based on this, when hardware fault, the second report occurs in the first offer machine Disk machine can from goal systems obtain the first order service parameter, and according to the service parameter of the first order restore first list and Second list.
Embodiment two
Attached drawing 2 is please referred to, Fig. 2 is the concrete structure schematic diagram that a kind of order provided in an embodiment of the present invention declares equipment, The order declares the up-stream system of the down-stream system 20 that equipment includes offer machine system, offer machine system 21 and machine system of offerring 22, wherein the down-stream system of offer machine system is connected with offer machine system, is the down-stream system of offer machine system, machine system of offerring The up-stream system of system is also connected with offer machine system, is the up-stream system of offer machine system, and offer machine system includes the first offer Machine and the second offer machine (not shown), are stored with first list and second list in the first offer machine, wrap in first list The corresponding relationship of the first number and the second number of having declared order is included, includes having declared the second of order to compile in second list Number.When the first offer machine operates normally, order to be declared is sent to the first offer machine by core of trading, by the first offer machine Order to be declared is declared to the up-stream system of offer machine system, when the first offer machine failure, the second offer machine needs elder generation Restore first list and second list, after the completion of recovery, order to be declared is sent to the second offer machine by core of trading, by Second offer machine declares order to be declared to the up-stream system of offer machine system.
As an embodiment, the down-stream system for machine system of offerring can be transaction core system, corresponding, offer The up-stream system of machine is exchange system.As another embodiment, the down-stream system for machine system of offerring is investment deal System, the up-stream system of offer machine system are counter system.
Embodiment three
The embodiment three, from the angle of the first offer machine, provides a kind of order declaration method based on embodiment two, Specifically, this method can specifically include referring to Fig. 3:
S301: the first number and the second number of the first order to be declared are determined;
S302: it is numbered according to the third that the first of the first order the number and the second number generate the first order.
It is the service parameter that the third number of the first order is determined as to the first order in the present embodiment.Assuming that wait declare The first number of the first order be X, the second number of the first order is Y, and the third number of the first order is Z, as one kind Embodiment, Z=aY+X, wherein a is predetermined constant.
The third number of first order: being sent to the up-stream system of offer machine system by S303, so that the second offer machine exists When the first offer machine failure, the third number of the first order is obtained from the up-stream system of offer machine system, and according to the first order Third number restore the first order first number and second number, and according to the first of the first order number and second number Restore first list and second list.
It should be noted that when the third number of the first order is determined as the service parameter of the first order, with offer The goal systems of machine system connection is then the up-stream system of offer machine system.Shen is preserved in the up-stream system of offer machine system Indent queue is reported, the mode based on the present embodiment, having declared includes whole orders for having declared in indent queue, and, and it is every The third number of first order is sent to offer machine system by a one-to-one third number of order declared, the first offer machine After the up-stream system of system, the up-stream system of machine system of offerring saves the third of the first order number to having declared indent queue In.
Example IV
The example IV, from the angle of the first offer machine, provides another order side of declaring based on embodiment two Method, specifically, referring to fig. 4, this method can specifically include:
S401: the first number and the second number of the first order to be declared are determined;
Second number of the first order: being sent to the down-stream system of offer machine system by S402, so that the second offer machine exists When the first offer machine failure, the second number of the first order is obtained from the down-stream system of offer machine system, and according to the first order The second number restore first list and second list.
It should be noted that being the business ginseng that the second number of the first order is determined as to the first order in the present embodiment Number, correspondingly, the goal systems connecting with offer machine system is then the down-stream system of offer machine system.Side based on the present embodiment Formula preserves the first indent queue in the down-stream system for machine system of offerring, includes offer machine system in the first order information queue Down-stream system record each order first number and/or second number, wherein second number include first offer machine hair Send the service parameter of the down-stream system to offer machine system;In addition, the up-stream system of offer machine system preserves the second order team Column include the whole orders declared that the up-stream system of offer machine system records in the second indent queue, and, with it is each One-to-one second number of the order declared.
Embodiment five
The embodiment five, from the angle of the second offer machine, provides a kind of order declaration method based on embodiment one, Specifically, this method can specifically include referring to Fig. 5:
S501: the service parameter for having declared order is obtained from the goal systems connecting with offer machine system, and according to The service parameter for declaring order restores first list and second list;
S502: the second order declared is treated according to the first list of recovery and second list and is declared.
Order declaration method provided in this embodiment, when hardware fault occurs in the first offer machine, the second offer machine can be from mesh Mark system obtains the service parameter of the first order, and restores first list and second list according to the service parameter of the first order.
Embodiment six
The embodiment six, from the angle of the second offer machine, provides a kind of order declaration method based on embodiment three, Specifically, this method can specifically include referring to Fig. 6:
S601: indent queue has been declared from the up-stream system acquisition of offer machine system, having declared in indent queue includes The whole orders declared, and, it is numbered with the one-to-one third of each order declared;
S602: each the first number and second for having declared order is restored according to each third number for having declared order and is compiled Number;
Specifically, third can be numbered divided by preset constant, resulting quotient is the second number, and resulting remainder is For the first number.
S603: first list and second list are restored according to each the first number for having declared order and the second number.
S604: the second order declared is treated according to the first list of recovery and second list and is declared.
Specifically, treating the second order declared according to the first list of recovery and second list and declare includes: to obtain The first of the second order is taken to number;When in the first list of recovery not including the first number of the second order, from the of recovery The maximum value of the second number is obtained in two lists;The second number of the second order is generated according to the maximum value of the second number;According to First number of the second order and second numbers the service parameter for determining the second order;Second order is declared, and by The service parameter of two orders is sent to the system connecting with offer machine system.
Embodiment seven
The embodiment seven, from the angle of the second offer machine, provides a kind of order declaration method based on example IV, Specifically, this method can specifically include referring to Fig. 7:
S701: the first indent queue is obtained from the down-stream system of offer machine system, includes report in the first order information queue The first number and/or the second number of each order of the down-stream system record of disk machine system, wherein the second number includes first Offer machine is sent to the service parameter of the down-stream system of offer machine system;
S702: order is not reported in determination from the first indent queue, and not reporting order is only the first number without the second number Order;
S703: the second indent queue is obtained from the up-stream system of offer machine system, includes offer machine in the second indent queue The whole orders of the up-stream system record of system declared, and, it is compiled with each order declared one-to-one second Number;
S704: target not reported order match with each order in the second indent queue, judges the second order team It whether include the order for not reporting order successful match with target in column;If including executing S705 to S707;If do not wrapped It includes, then executes S708.
Specifically order can not reported to be ranked up target according to the time, each target is not successively then reported into order Order information is matched with each order information in the second indent queue, and order information includes account, dealing direction, valence Lattice, quantity etc..
S705: determining the second number for not reporting the order in the second indent queue of order successful match with target is target It does not report the second of order to number, and the second number record is generated into the first indent queue after change to the first indent queue.
S706: restoring first list according to the first indent queue after change, restores secondary series according to the second indent queue Table;
S707: the second order declared is treated according to the first list of recovery and second list and is declared.
Specifically, treating the second order declared according to the first list of recovery and second list and declare includes: to obtain The first of the second order is taken to number;When in the first list of recovery not including the first number of the second order, from the of recovery The maximum value of the second number is obtained in two lists;The second number of the second order is generated according to the maximum value of the second number;According to First number of the second order and second numbers the service parameter for determining the second order;Second order is declared, and by The service parameter of two orders is sent to the system connecting with offer machine system.
S708: determine that target does not report order for abnormal order.
It should be noted that determine target do not report order for abnormal order after, need using at preset abnormal order Reason process does not report order to handle the target, and as an embodiment, preset exception order processing process can be with For the extra order of down-stream system for machine system of offerring, the same day does not declare automatically, offer machine system by provide change single interface into Row emergency processing;The order that the down-stream system of offer machine system lacks, offer machine system carry out normal return processing, machine of offerring The down-stream system of system is handled according to single mode is mended.
Embodiment eight
The embodiment eight provides a kind of order declaration device from the angle of offer machine system, in the offer machine system Including the first offer machine and the second offer machine, it is stored with first list and second list in the first offer machine, described first Include the corresponding relationship for having declared the first number and the second number of order in list, includes having declared to order in the second list The second single number, when the first offer machine operates normally, described device is applied to the first offer machine, specifically, Referring to Fig. 8, described device includes:
Number determination unit 81, for determining the first number and the second number of the first order to be declared;
Service parameter determination unit 82, for determining described the according to the first of first order the number and the second number The service parameter of one order;
Order declares unit 83, for declaring first order, and by the service parameter of first order It is sent to the goal systems connecting with the offer machine system, so that the second offer machine is in the first offer machine failure When, the service parameter of first order is obtained from the goal systems, and restore according to the service parameter of first order The first list and second list.
Optionally, the service parameter determination unit, comprising:
First service parameter determines subelement, for being generated according to the first of first order the number and the second number The third of first order is numbered;The third number of first order is determined as to the service parameter of first order.
Optionally, the order declares unit, is specifically used for:
The third number of first order is sent to the up-stream system of the offer machine system, so that second report Disk machine in the first offer machine failure, compile by the third for obtaining first order from the up-stream system of the offer machine system Number, and numbered according to the first number and second that the third of first order number restores first order, and according to institute The first number and the second number for stating the first order restore the first list and second list.
Optionally, the service parameter determination unit, comprising:
Second service parameter determines subelement, for the second number of first order to be determined as first order Service parameter.
Optionally, the order declares unit, is specifically used for:
Second number of first order is sent to the down-stream system of the offer machine system, so that second report Disk machine obtains the second volume of first order from the down-stream system of the offer machine system in the first offer machine failure Number, and the first list and second list are restored according to the second of first order the number.
Optionally, described device further include:
Storage unit, after being numbered for the first number in the determination the first order to be declared with second, by institute The corresponding relationship for stating the first number of the first order and the second number of first order is saved to the first list;By institute The Second Type number for stating the first order is saved to the second list.
It is described in detail in embodiment of the method part it should be noted that the concrete function of above-mentioned each unit is realized, this Embodiment repeats no more.
Embodiment nine
The embodiment nine provides a kind of order declaration device from the angle of offer machine system, in the offer machine system Including the first offer machine and the second offer machine, it is stored with first list and second list in the first offer machine, described first Include the corresponding relationship for having declared the first number and the second number of order in list, includes having declared to order in the second list The second single number, when the first offer machine failure, described device is applied to the second offer machine, specifically, referring to Fig. 9, described device include:
List recovery unit 91 has declared order for obtaining from the goal systems connecting with the offer machine system Service parameter, and the first list and second list are restored according to the service parameter for having declared order;
Order declares unit 92, treats the second order declared for the first list and second list according to recovery It is declared.
Optionally, the list recovery unit, is specifically used for:
Indent queue is declared from the acquisition of the up-stream system of the offer machine system, described declared in indent queue includes The whole orders declared, and, it is numbered with the one-to-one third of each order declared;
Restore each the first number and the second number for having declared order according to each third number for having declared order;
Restore the first list and second list according to each the first number for having declared order and the second number.
Optionally, the list recovery unit, is specifically used for:
The first indent queue is obtained from the down-stream system of the offer machine system, includes in the first order information queue The first number and/or the second number of each order of the down-stream system record of the offer machine system, wherein described second compiles Number include the first offer machine be sent to the offer machine system down-stream system service parameter;
It is determined from first indent queue and does not report order, it is described that order is not reported to compile for only the first number without second Number order;
The second indent queue is obtained from the up-stream system of the offer machine system, includes described in second indent queue The whole orders of the up-stream system record of offer machine system declared, and, it is one-to-one with each order declared Second number;
Target is not reported order match with each order in second indent queue, second is stated described in judgement and is ordered It whether include the order for not reporting order successful match with the target in single queue;
If including, it is determined that do not report second of the order in the second indent queue of order successful match to number with target Do not report order for the target second is numbered, and will be after the second number record to first indent queue generation change The first indent queue;
Restore the first list according to the first indent queue after the change, is restored according to second indent queue The second list;
If not including, it is determined that the target does not report order for abnormal order.
Optionally, the order declares unit, is specifically used for:
Obtain the first number of second order;
When in the first list of recovery not including the first number of second order, from described the second of recovery The maximum value of the second number is obtained in list;
The second number of second order is generated according to the maximum value of second number;
The service parameter of second order is determined according to the first of second order the number and the second number;
Second order is declared, and the service parameter of second order is sent to and offer machine system The system of system connection.
It is described in detail in embodiment of the method part it should be noted that the concrete function of above-mentioned each unit is realized, this Embodiment repeats no more.
The order declaration device includes processor and memory, and above-mentioned each unit is used as program unit to be stored in and deposits In reservoir, above procedure unit stored in memory is executed by processor to realize corresponding function.
Include kernel in processor, is gone in memory to transfer corresponding program unit by kernel.Kernel can be set one Or more, realize that order is declared by adjusting kernel parameter.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, if read-only memory (ROM) or flash memory (flash RAM), memory include that at least one is deposited Store up chip.
The embodiment of the present application provides a kind of storage medium, is stored thereon with program, real when which is executed by processor The existing order declaration method.
The embodiment of the present application provides a kind of processor, and the processor is for running program, wherein described program operation Order declaration method described in Shi Zhihang.
The embodiment of the present application provides a kind of electronic equipment, and electronic equipment includes processor, memory and is stored in storage On device and the program that can run on a processor, processor perform the steps of when executing program
A kind of order declaration method is applied to offer machine system, includes the first offer machine and the in the offer machine system Two offer machines are stored with first list and second list in the first offer machine, include having declared to order in the first list Single first is numbered and the corresponding relationship of the second number, includes the second number for having declared order in the second list, works as institute When stating the first offer machine normal operation, the method is applied to the first offer machine, which comprises
Determine the first number and the second number of the first order to be declared;
The service parameter of first order is determined according to the first of first order the number and the second number;
First order is declared, and the service parameter of first order is sent to and offer machine system The goal systems connected of uniting obtains so that described second offers machine in the first offer machine failure from the goal systems The service parameter of first order, and the first list and secondary series are restored according to the service parameter of first order Table.
Optionally, the business that first order is determined according to the first of first order the number and the second number Parameter, comprising:
The third number of first order is generated according to the first of first order the number and the second number;
The third number of first order is determined as to the service parameter of first order.
Optionally, the service parameter by first order is sent to the target system connecting with the first offer machine System, comprising:
The third number of first order is sent to the up-stream system of the offer machine system, so that second report Disk machine in the first offer machine failure, compile by the third for obtaining first order from the up-stream system of the offer machine system Number, and numbered according to the first number and second that the third of first order number restores first order, and according to institute The first number and the second number for stating the first order restore the first list and second list.
Optionally, the business that first order is determined according to the first of first order the number and the second number Parameter, comprising:
Second number of first order is determined as to the service parameter of first order.
Optionally, the service parameter by first order is sent to the system connecting with the first offer machine, Include:
Second number of first order is sent to the down-stream system of the offer machine system, so that second report Disk machine obtains the second volume of first order from the down-stream system of the offer machine system in the first offer machine failure Number, and the first list and second list are restored according to the second of first order the number.
Optionally, after the first number of the determination the first order to be declared and the second number, the method is also Include:
First number of first order and the corresponding relationship of the second number of first order are saved to described First list;
The Second Type number of first order is saved to the second list.
And/or
A kind of order declaration method is applied to offer machine system, includes the first offer machine and the in the offer machine system Two offer machines are stored with first list and second list in the first offer machine, include having declared to order in the first list Single first is numbered and the corresponding relationship of the second number, includes the second number for having declared order in the second list, works as institute When stating the first offer machine failure, the method is applied to the second offer machine, which comprises
The service parameter for having declared order is obtained from the goal systems connecting with the offer machine system, and according to described The service parameter for having declared order restores the first list and second list;
The second order declared is treated according to the first list and second list of recovery to be declared.
Optionally, described that the business ginseng for having declared order is obtained from the goal systems connecting with the offer machine system Number, and the first list and second list are restored according to the service parameter for having declared order, comprising:
Indent queue is declared from the acquisition of the up-stream system of the offer machine system, described declared in indent queue includes The whole orders declared, and, it is numbered with the one-to-one third of each order declared;
Restore each the first number and the second number for having declared order according to each third number for having declared order;
Restore the first list and second list according to each the first number for having declared order and the second number.
Optionally, described that the business ginseng for having declared order is obtained from the goal systems connecting with the offer machine system Number, and the first list and second list are restored according to the service parameter for having declared order, comprising:
The first indent queue is obtained from the down-stream system of the offer machine system, includes in the first order information queue The first number and/or the second number of each order of the down-stream system record of the offer machine system, wherein described second compiles Number include the first offer machine be sent to the offer machine system down-stream system service parameter;
It is determined from first indent queue and does not report order, it is described that order is not reported to compile for only the first number without second Number order;
The second indent queue is obtained from the up-stream system of the offer machine system, includes described in second indent queue The whole orders of the up-stream system record of offer machine system declared, and, it is one-to-one with each order declared Second number;
Target is not reported order match with each order in second indent queue, second is stated described in judgement and is ordered It whether include the order for not reporting order successful match with the target in single queue;
If including, it is determined that do not report second of the order in the second indent queue of order successful match to number with target Do not report order for the target second is numbered, and will be after the second number record to first indent queue generation change The first indent queue;
Restore the first list according to the first indent queue after the change, is restored according to second indent queue The second list;
If not including, it is determined that the target does not report order for abnormal order.
Optionally, the first list and second list according to recovery treats the second order declared and carries out Shen Report, comprising:
Obtain the first number of second order;
When in the first list of recovery not including the first number of second order, from described the second of recovery The maximum value of the second number is obtained in list;
The second number of second order is generated according to the maximum value of second number;
The service parameter of second order is determined according to the first of second order the number and the second number;
Second order is declared, and the service parameter of second order is sent to and offer machine system The system of system connection.
Electronic equipment herein can be server, PC, PAD, mobile phone etc..
Present invention also provides a kind of computer program products, when executing on data processing equipment, are adapted for carrying out just The program of beginningization there are as below methods step:
A kind of order declaration method is applied to offer machine system, includes the first offer machine and the in the offer machine system Two offer machines are stored with first list and second list in the first offer machine, include having declared to order in the first list Single first is numbered and the corresponding relationship of the second number, includes the second number for having declared order in the second list, works as institute When stating the first offer machine normal operation, the method is applied to the first offer machine, which comprises
Determine the first number and the second number of the first order to be declared;
The service parameter of first order is determined according to the first of first order the number and the second number;
First order is declared, and the service parameter of first order is sent to and offer machine system The goal systems connected of uniting obtains so that described second offers machine in the first offer machine failure from the goal systems The service parameter of first order, and the first list and secondary series are restored according to the service parameter of first order Table.
Optionally, the business that first order is determined according to the first of first order the number and the second number Parameter, comprising:
The third number of first order is generated according to the first of first order the number and the second number;
The third number of first order is determined as to the service parameter of first order.
Optionally, the service parameter by first order is sent to the target system connecting with the first offer machine System, comprising:
The third number of first order is sent to the up-stream system of the offer machine system, so that second report Disk machine in the first offer machine failure, compile by the third for obtaining first order from the up-stream system of the offer machine system Number, and numbered according to the first number and second that the third of first order number restores first order, and according to institute The first number and the second number for stating the first order restore the first list and second list.
Optionally, the business that first order is determined according to the first of first order the number and the second number Parameter, comprising:
Second number of first order is determined as to the service parameter of first order.
Optionally, the service parameter by first order is sent to the system connecting with the first offer machine, Include:
Second number of first order is sent to the down-stream system of the offer machine system, so that second report Disk machine obtains the second volume of first order from the down-stream system of the offer machine system in the first offer machine failure Number, and the first list and second list are restored according to the second of first order the number.
Optionally, after the first number of the determination the first order to be declared and the second number, the method is also Include:
First number of first order and the corresponding relationship of the second number of first order are saved to described First list;
The Second Type number of first order is saved to the second list.
And/or
A kind of order declaration method is applied to offer machine system, includes the first offer machine and the in the offer machine system Two offer machines are stored with first list and second list in the first offer machine, include having declared to order in the first list Single first is numbered and the corresponding relationship of the second number, includes the second number for having declared order in the second list, works as institute When stating the first offer machine failure, the method is applied to the second offer machine, which comprises
The service parameter for having declared order is obtained from the goal systems connecting with the offer machine system, and according to described The service parameter for having declared order restores the first list and second list;
The second order declared is treated according to the first list and second list of recovery to be declared.
Optionally, described that the business ginseng for having declared order is obtained from the goal systems connecting with the offer machine system Number, and the first list and second list are restored according to the service parameter for having declared order, comprising:
Indent queue is declared from the acquisition of the up-stream system of the offer machine system, described declared in indent queue includes The whole orders declared, and, it is numbered with the one-to-one third of each order declared;
Restore each the first number and the second number for having declared order according to each third number for having declared order;
Restore the first list and second list according to each the first number for having declared order and the second number.
Optionally, described that the business ginseng for having declared order is obtained from the goal systems connecting with the offer machine system Number, and the first list and second list are restored according to the service parameter for having declared order, comprising:
The first indent queue is obtained from the down-stream system of the offer machine system, includes in the first order information queue The first number and/or the second number of each order of the down-stream system record of the offer machine system, wherein described second compiles Number include the first offer machine be sent to the offer machine system down-stream system service parameter;
It is determined from first indent queue and does not report order, it is described that order is not reported to compile for only the first number without second Number order;
The second indent queue is obtained from the up-stream system of the offer machine system, includes described in second indent queue The whole orders of the up-stream system record of offer machine system declared, and, it is one-to-one with each order declared Second number;
Target is not reported order match with each order in second indent queue, second is stated described in judgement and is ordered It whether include the order for not reporting order successful match with the target in single queue;
If including, it is determined that do not report second of the order in the second indent queue of order successful match to number with target Do not report order for the target second is numbered, and will be after the second number record to first indent queue generation change The first indent queue;
Restore the first list according to the first indent queue after the change, is restored according to second indent queue The second list;
If not including, it is determined that the target does not report order for abnormal order.
Optionally, the first list and second list according to recovery treats the second order declared and carries out Shen Report, comprising:
Obtain the first number of second order;
When in the first list of recovery not including the first number of second order, from described the second of recovery The maximum value of the second number is obtained in list;
The second number of second order is generated according to the maximum value of second number;
The service parameter of second order is determined according to the first of second order the number and the second number;
Second order is declared, and the service parameter of second order is sent to and offer machine system The system of system connection.
It should be understood by those skilled in the art that, embodiments herein can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the application Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the application, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
In a typical configuration, calculating equipment includes one or more processors (CPU), input/output interface, net Network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/ Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable Jie The example of matter.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including element There is also other identical elements in process, method, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
The above is only embodiments herein, are not intended to limit this application.To those skilled in the art, Various changes and changes are possible in this application.It is all within the spirit and principles of the present application made by any modification, equivalent replacement, Improve etc., it should be included within the scope of the claims of this application.

Claims (14)

1. a kind of order declaration method, which is characterized in that be applied to offer machine system, include the first report in the offer machine system Disk machine and the second offer machine, are stored with first list and second list in the first offer machine, include in the first list The first number of order and the corresponding relationship of the second number have been declared, has included having declared the second of order to compile in the second list Number, when the first offer machine operates normally, the method is applied to the first offer machine, which comprises
Determine the first number and the second number of the first order to be declared;
The service parameter of first order is determined according to the first of first order the number and the second number;
First order is declared, and the service parameter of first order is sent to and is connected with the offer machine system The goal systems connect, so that described second offers machine in the first offer machine failure, described in goal systems acquisition The service parameter of first order, and the first list and second list are restored according to the service parameter of first order.
2. the method according to claim 1, wherein described according to the first of first order the number and second Number determines the service parameter of first order, comprising:
The third number of first order is generated according to the first of first order the number and the second number;
The third number of first order is determined as to the service parameter of first order.
3. according to the method described in claim 2, it is characterized in that, the service parameter by first order be sent to The goal systems of the first offer machine connection, comprising:
The third number of first order is sent to the up-stream system of the offer machine system, so that the second offer machine In the first offer machine failure, the third number of first order is obtained from the up-stream system of the offer machine system, And restore the first number and the second number of first order according to the third of first order number, and according to described the The first number and the second number of one order restore the first list and second list.
4. the method according to claim 1, wherein described according to the first of first order the number and second Number determines the service parameter of first order, comprising:
Second number of first order is determined as to the service parameter of first order.
5. according to the method described in claim 4, it is characterized in that, the service parameter by first order be sent to The system of the first offer machine connection, comprising:
Second number of first order is sent to the down-stream system of the offer machine system, so that the second offer machine In the first offer machine failure, the second number of first order is obtained from the down-stream system of the offer machine system, And the first list and second list are restored according to the second of first order the number.
6. the method according to claim 1, wherein in the first number of the determination the first order to be declared After the second number, the method also includes:
First number of first order and the corresponding relationship of the second number of first order are saved to described first List;
The Second Type number of first order is saved to the second list.
7. a kind of order declaration method, which is characterized in that be applied to offer machine system, include the first report in the offer machine system Disk machine and the second offer machine, are stored with first list and second list in the first offer machine, include in the first list The first number of order and the corresponding relationship of the second number have been declared, has included having declared the second of order to compile in the second list Number, when the first offer machine failure, the method is applied to the second offer machine, which comprises
The service parameter for having declared order is obtained from the goal systems connecting with the offer machine system, and according to the Shen The service parameter of order is reported to restore the first list and second list;
The second order declared is treated according to the first list and second list of recovery to be declared.
8. the method according to the description of claim 7 is characterized in that described from the goal systems being connect with the offer machine system Middle obtain has declared the service parameter of order, and restores the first list and the according to the service parameter for having declared order Two lists, comprising:
Indent queue has been declared from the acquisition of the up-stream system of the offer machine system, it is described to have declared in indent queue including Shen Whole orders of report, and, it is numbered with the one-to-one third of each order declared;
Restore each the first number and the second number for having declared order according to each third number for having declared order;
Restore the first list and second list according to each the first number for having declared order and the second number.
9. the method according to the description of claim 7 is characterized in that described from the goal systems being connect with the offer machine system Middle obtain has declared the service parameter of order, and restores the first list and the according to the service parameter for having declared order Two lists, comprising:
The first indent queue is obtained from the down-stream system of the offer machine system, includes described in the first order information queue The first number and/or the second number of each order of the down-stream system record of offer machine system, wherein the second number packet Include the service parameter that the first offer machine is sent to the down-stream system of the offer machine system;
It is determined from first indent queue and does not report order, described not report order be that only the first number is numbered without second Order;
The second indent queue is obtained from the up-stream system of the offer machine system, includes the offer in second indent queue The whole orders of the up-stream system record of machine system declared, and, with each order declared one-to-one second Number;
Target is not reported order match with each order in second indent queue, the second order team is stated described in judgement It whether include the order for not reporting order successful match with the target in column;
If including, it is determined that not reporting second of the order in the second indent queue of order successful match to number with target is institute Stating target does not report the second of order to number, and the after the second number record is generated change to first indent queue One indent queue;
Restore the first list according to the first indent queue after the change, according to second indent queue recovery Second list;
If not including, it is determined that the target does not report order for abnormal order.
10. the method according to any one of claim 7 to 9, which is characterized in that described according to described the first of recovery List and second list are treated the second order declared and are declared, comprising:
Obtain the first number of second order;
When in the first list of recovery not including the first number of second order, from the second list of recovery The middle maximum value for obtaining the second number;
The second number of second order is generated according to the maximum value of second number;
The service parameter of second order is determined according to the first of second order the number and the second number;
Second order is declared, and the service parameter of second order is sent to and is connected with the offer machine system The system connect.
11. a kind of order declaration device, which is characterized in that be applied to offer machine system, include first in the offer machine system Offer machine and the second offer machine, are stored with first list and second list in the first offer machine, wrap in the first list The corresponding relationship of the first number and the second number of having declared order is included, includes having declared the second of order in the second list Number, when the first offer machine operates normally, described device is applied to the first offer machine, and described device includes:
Number determination unit, for determining the first number and the second number of the first order to be declared;
Service parameter determination unit, for determining first order according to the first of first order the number and the second number Service parameter;
Order declares unit, for declaring first order, and the service parameter of first order is sent to The goal systems being connect with the offer machine system, so that described second offers machine in the first offer machine failure, from institute The service parameter that goal systems obtains first order is stated, and restores described first according to the service parameter of first order List and second list.
12. a kind of order declaration device, which is characterized in that be applied to offer machine system, include first in the offer machine system Offer machine and the second offer machine, are stored with first list and second list in the first offer machine, wrap in the first list The corresponding relationship of the first number and the second number of having declared order is included, includes having declared the second of order in the second list Number, when the first offer machine failure, described device is applied to the second offer machine, and described device includes:
List recovery unit, for obtaining the business ginseng for having declared order from the goal systems connecting with the offer machine system Number, and the first list and second list are restored according to the service parameter for having declared order;
Order declares unit, and the second order declared is treated for the first list and second list according to recovery and carries out Shen Report.
13. a kind of storage medium, is stored thereon with program, realized when which is executed by processor as in claims 1 to 10 Described in any item order declaration methods.
14. a kind of electronic equipment, the electronic equipment includes memory and processor, and the memory is for storing program, institute Processor is stated for running program, wherein the order as described in any one of claims 1 to 10 is executed when described program is run Declaration method.
CN201910614781.6A 2019-07-09 2019-07-09 Order declaration method and device Active CN110298758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910614781.6A CN110298758B (en) 2019-07-09 2019-07-09 Order declaration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910614781.6A CN110298758B (en) 2019-07-09 2019-07-09 Order declaration method and device

Publications (2)

Publication Number Publication Date
CN110298758A true CN110298758A (en) 2019-10-01
CN110298758B CN110298758B (en) 2021-10-01

Family

ID=68030761

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910614781.6A Active CN110298758B (en) 2019-07-09 2019-07-09 Order declaration method and device

Country Status (1)

Country Link
CN (1) CN110298758B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130159163A1 (en) * 2010-08-20 2013-06-20 Toshiba Solutions Corporation Securities trading system and device
CN103593267A (en) * 2006-08-04 2014-02-19 多伦多证券交易所 Failover system and method
CN105069617A (en) * 2015-07-27 2015-11-18 飞天诚信科技股份有限公司 Method and device for recovering incomplete transaction
CN105959169A (en) * 2016-07-19 2016-09-21 ***股份有限公司 Transaction data processing system and method
CN105976164A (en) * 2016-05-05 2016-09-28 北京思特奇信息技术股份有限公司 Business data emergency switching system and processing method
CN107656955A (en) * 2017-03-14 2018-02-02 平安科技(深圳)有限公司 Refund data are offerred method and apparatus in batches

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103593267A (en) * 2006-08-04 2014-02-19 多伦多证券交易所 Failover system and method
US20130159163A1 (en) * 2010-08-20 2013-06-20 Toshiba Solutions Corporation Securities trading system and device
CN105069617A (en) * 2015-07-27 2015-11-18 飞天诚信科技股份有限公司 Method and device for recovering incomplete transaction
CN105976164A (en) * 2016-05-05 2016-09-28 北京思特奇信息技术股份有限公司 Business data emergency switching system and processing method
CN105959169A (en) * 2016-07-19 2016-09-21 ***股份有限公司 Transaction data processing system and method
CN107656955A (en) * 2017-03-14 2018-02-02 平安科技(深圳)有限公司 Refund data are offerred method and apparatus in batches

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王勇斌: "证券公司交易***"同质性"故障的研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN110298758B (en) 2021-10-01

Similar Documents

Publication Publication Date Title
CN107818509A (en) Business datum method of calibration, device, storage medium and electronic equipment
CN109725911A (en) A kind of multi-environment project dispositions method, device, storage medium and processor
CN110363476B (en) Cargo warehousing distribution processing method and device
CN109739831A (en) Data verification method and device between database
CN111932257B (en) Block chain parallelization processing method and device
CN107274023A (en) Flow of insuring generation method, insure request processing method and device and electronic equipment
CN108984652A (en) A kind of configurable data cleaning system and method
CN110659983A (en) Bank accounting data processing method and device, electronic equipment and storage medium
CN116090808A (en) RPA breakpoint reconstruction method and device, electronic equipment and medium
CN107767088A (en) A kind of transformer methods of risk assessment and device based on equipment deficiency
CN105190546B (en) Cost computing device, the method for cost accounting and computer readable recording medium storing program for performing
CN108121774A (en) A kind of tables of data backup method and terminal device
CN111078510A (en) Method and device for recording task processing progress
CN106325769B (en) A kind of method and device of data storage
CN110298758A (en) Order declaration method and device
CN109003643A (en) A kind of data processing method and device
Labadi et al. Petri Net-Based Approach for “Cyber” Risks Modelling and Analysis for Industrial Systems
CN110717701A (en) Simulation wave generation method and device and electronic equipment
CN114138774A (en) Data processing method and device, storage medium and electronic equipment
CN109284408A (en) Figure bed Database Systems, figure bed database operation method and device
CN104485688B (en) Optimize the method and device of inverter system
CN105893393B (en) Data save method and device
CN111598498B (en) Warehouse order allocation method, device and system
CN108958658A (en) A kind of acquisition methods and device of target data
CN108121655A (en) A kind of abnormality eliminating method and device

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