CN102682507B - Queuing system and method - Google Patents

Queuing system and method Download PDF

Info

Publication number
CN102682507B
CN102682507B CN201110053621.2A CN201110053621A CN102682507B CN 102682507 B CN102682507 B CN 102682507B CN 201110053621 A CN201110053621 A CN 201110053621A CN 102682507 B CN102682507 B CN 102682507B
Authority
CN
China
Prior art keywords
user data
module
queuing
account number
sequence number
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110053621.2A
Other languages
Chinese (zh)
Other versions
CN102682507A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201110053621.2A priority Critical patent/CN102682507B/en
Publication of CN102682507A publication Critical patent/CN102682507A/en
Application granted granted Critical
Publication of CN102682507B publication Critical patent/CN102682507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention relates to queuing system and method.This system comprises the application module and service module that are connected by gateway module, and service module comprises sorting sub-module, controls submodule; The user data of reception is delivered to gateway module by application module; The data that gateway module resolution application is sent, deliver to sorting sub-module by resolving the user data obtained; Sorting sub-module is user data sequence by reception sequencing; Control submodule in real time by the maximum queuing sequence number received divided by a reference value, when the business obtained be positive integer quotient, by equal positive integer quotient queuing sequence number corresponding to user data output.Utilizing technical scheme of the present invention, the treatment progress of queuing problem be started when meeting quantity term.

Description

Queuing system and method
Technical field
The present invention relates to queueing technique field, particularly relate to queuing system and method.
Background technology
In public places such as bank, subway, markets, at microscopic fields such as computer digital animation, queuing phenomena is ubiquitous.Existing queueing technique mainly follows that the fairness doctrine of first-in first-out carries out, namely the event or the data that first obtain queuing sequence number are just first processed, and certainly, computing machine is when processing data, also may follow the principle first entering to go out afterwards to carry out, the data override namely finally obtaining queuing sequence number is processed.The identical point of these two kinds of prior aries is, the event of an acquisition queuing sequence number or data are all had to be processed at any one time, namely to the object that these events and data are ranked, be setting more rational processing sequence, to be processed as soon as possible.
But in actual life, some waits in line the event that processes or data, and the certain quantity term of demand fulfillment just can enter processing procedure.When processing this kind of queuing problem, the speed of process is taken a back seat, and whether meeting quantity term then becomes the key starting queuing treatment progress.Obviously, prior art is utilized cannot to process this kind of queuing problem.
Summary of the invention
Technical matters to be solved by this invention is to provide queuing system and method, can start the treatment progress of queuing problem when meeting quantity term.
The technical scheme that the present invention solves the problems of the technologies described above is as follows: queuing system, and this system comprises: application module, gateway module, service module, and service module comprises sorting sub-module, controls submodule; Wherein,
Described application module, is connected with described gateway module, for receiving user data; User data is sent to gateway module;
Described gateway module, is connected with described service module, and the data sent for application modules are resolved, and is sent to described sorting sub-module by resolving the user data obtained;
Described sorting sub-module, is connected with described control submodule, for being the sequence of each user data according to the sequencing receiving user data, obtains the queuing sequence number corresponding with each user data; Each user data and the queuing sequence number corresponding with it are sent to control submodule;
Described control submodule in real time by the maximum queuing sequence number received divided by a reference value, when the business obtained be positive integer quotient, by equal described positive integer quotient queuing sequence number corresponding to user data output.
The invention has the beneficial effects as follows: in the present invention, application module can receive user data, and delivered to gateway module, after gateway module is resolved it, the user data that parsing obtains is delivered to the sorting sub-module in service module, like this, sorting sub-module can be just the sequence of these user data according to the sequencing received, the user data first received is made to correspond to less queuing sequence number, whether controlling submodule, then to utilize default reference value to carry out the quantity term of decision event or data processing in real time satisfied, only have the quantity of queuing sequence number abundant, namely when maximum queuing sequence number can be divided exactly by reference value, the user data of queuing sequence number corresponding to the positive integer quotient that obtains could be exported, this means that the quantity term processing this user data meets, like this, just the processing procedure of this user data can be started.Therefore, utilizing the present invention, the treatment progress of queuing problem be started when meeting quantity term.
On the basis of technique scheme, the present invention can also do following improvement:
Further, described application module is further used for, and judges the legitimacy of the user data received.
Further, described service module comprises sub module stored further, and described sub module stored is for storing all customer data; Described user data comprises: mutually corresponding account number and account number cipher;
Then described application module is used for, and the account number cipher request signal of the account number received and this account number is sent to gateway module; Whether identical according to the account number cipher that the account number cipher received and gateway module return, judge whether the user data received is validated user data; According to the non-existent message of account number that gateway module returns, received user data is judged as disabled user's data;
Described gateway module is used for, and the data that application modules is sent are resolved, and searches for self and resolve the account number cipher corresponding to account number obtained in described sub module stored; By self, the account number cipher of resolving corresponding to the account number obtained is sent to application module; Self is resolved the non-existent message of account number obtained and is sent to application module.
Further, described sorting sub-module is further used for, and each user data and the queuing sequence number corresponding with it are sent to gateway module;
Described gateway module is used for, and resolves the data that sorting sub-module is sent, and the user data obtain parsing and the queuing sequence number corresponding with it are sent to application module;
Described application module is further used for, and each queuing sequence number is informed to the holder of the user data of its correspondence.
Further, described user data comprises the first subdata and the second subdata, and the first subdata of each user data is A, and the second subdata is B; Each queuing sequence number that described sorting sub-module obtains is according to the ascending aligned transfer of positive integer; The reference value determination principle that then described reference value meets is: B the long-pending of gained that be multiplied with reference value is not less than A.
Further, described application module is further used for, and confirms to have known described reference value determination principle for user.
In addition, present invention also offers queuing strategy, the method comprises:
Receive user data;
According to the sequencing receiving user data be each user data sequence, obtain the queuing sequence number corresponding with each user data;
In real time by the maximum queuing sequence number received divided by a reference value, when the business obtained be positive integer quotient, by equal described positive integer quotient queuing sequence number corresponding to user data output.
Further, after receiving user data, before according to the sequencing receiving user data being the sequence of each user data, the method comprises further: judge whether the user data received is validated user data, be the sequence of each user data according to the sequencing receiving user data, otherwise, be not the sequence of described user data.
Further, described user data comprises: corresponding account number and account number cipher; Then judge that whether the user data that receives is the method for validated user data and is: according to the account number in the user data received and account number cipher whether mutually corresponding, judge whether the user data received is validated user data.
Further, described user data comprises the first subdata and the second subdata, and the first subdata of each user data is A, and the second subdata is B; Each queuing sequence number is according to the ascending aligned transfer of positive integer; The reference value determination principle that then described reference value meets is: B the long-pending of gained that be multiplied with reference value is not less than A.
Further, before according to the sequencing receiving user data being the sequence of each user data, the method comprises further: judge whether user confirms to have known described reference value determination principle, be the sequence of each user data according to the sequencing receiving user data, otherwise, be not the sequence of described user data.
Accompanying drawing explanation
Fig. 1 is the structural drawing of queuing system provided by the invention;
Fig. 2 is the process flow diagram of queuing strategy provided by the invention.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Fig. 1 is the structural drawing of queuing system provided by the invention.As shown in Figure 1, this system comprises: application module 101, gateway module 102, service module 103, and service module 103 comprises sorting sub-module 104, controls submodule 105; Wherein,
Application module 101, is connected with gateway module 102, for receiving user data; User data is sent to gateway module 102;
Gateway module 102, is connected with service module 103, and the data sent for application modules are resolved, and is sent to sorting sub-module 104 by resolving the user data obtained;
Sorting sub-module 104, is connected with control submodule 105, for being the sequence of each user data according to the sequencing receiving user data, obtains the queuing sequence number corresponding with each user data; Each user data and the queuing sequence number corresponding with it are sent to and control submodule 105;
Control submodule 105 in real time by the maximum queuing sequence number received divided by a reference value, obtain business be positive integer quotient time, by queuing sequence number corresponding to this positive integer quotient user data output.
Here, application module is used to the device receiving user data, and it by softwares such as the dialog box on website, webpages or can be realized by forms such as various communication hardwares.
Gateway module in the present invention can be gateway, also can for realizing other hardware units of above-mentioned resolution data and distributing data.Data transmit-receive mode between each submodule between application module and gateway module and in gateway module and service module, can be wired mode, can be also wireless mode, can also be wired mode and the mixing of wireless mode.
Service module in the present invention can be server, also can realize the set of other hardware and softwares of above-mentioned service module feature for other.
Sorting sub-module 104 in service module 103 is the principles following the queuing sequence number corresponding to user data received after the queuing sequence number corresponding to user data first received is less than, be that each user data carries out sorting according to the sequencing receiving user data, a preferred embodiment can be, it is that user data distributes queuing sequence number that sorting sub-module 104 increases progressively principle according to positive integer, namely the queuing sequence number that sorting sub-module 104 distributes for first user data received is 1, often receive a user data later, the queuing sequence number of then distributing for it adds 1 on the basis of a upper queuing sequence number, namely the queuing sequence number that sorting sub-module 104 distributes for second user data received is 2, the queuing sequence number of distributing for the third party data received is 3, by that analogy.Certainly, it is user data sequence that the queuing sequence number that sorting sub-module 104 can also follow other increases progressively principle, its for the queuing sequence number that first user data received distributes also can not be 1, and be other sequence numbers.
The queuing sequence number that sorting sub-module 104 distributes for user data, be available to and control submodule 105 and come whether real-time judge quantity term met, quantity term in the present invention is: maximum queuing sequence number, namely participate in the queuing sequence number corresponding to last user data sorted, whether can be divided exactly by reference value.If quantity term meets, then the user data corresponding to the queuing sequence number equaling the positive integer quotient of gained is exported, this means to start the treatment progress of this user data.If quantity term does not meet, then continue the input waiting for new user data, until quantity term meets.Certainly, if there is no one equals the queuing sequence number of positive integer quotient, there is several processing mode, first kind of way is for starting the treatment progress of the user data corresponding to the next one queuing sequence number the most close with this positive integer quotient, the second way is the treatment progress not starting any user data, and the third mode is the treatment progress starting the user data preset.No matter which kind of processing mode is taked, all within protection scope of the present invention for this special case.
In actual motion, control the queuing sequence number corresponding to each user data that submodule 105 exports, all less than the queuing sequence number corresponding to the arbitrary user data be not yet output, this also just means that queuing sequence number is less, also more namely the present invention followed the first-in first-out principle meeting quantity term and carried out processes user data, under most of queuing situation the time that the user data of its correspondence is output, this principle is all very fair, is conducive to the generation taking precautions against various dispute in daily life.Meanwhile, when quantity term meet sequence number of but not queuing up equal positive integer quotient, can also preset certain processing mode, this is conducive to breaking the normal procedure, and the in time various accident of process, prevents the generation of all kinds of contradiction.
As can be seen here, in the present invention, application module can receive user data, and delivered to gateway module, after gateway module is resolved it, the user data that parsing obtains is delivered to the sorting sub-module in service module, like this, sorting sub-module can be just the sequence of these user data according to the sequencing received, the user data first received is made to correspond to less queuing sequence number, whether controlling submodule, then to utilize default reference value to carry out the quantity term of decision event or data processing in real time satisfied, only have the quantity of queuing sequence number abundant, namely when maximum queuing sequence number can be divided exactly by reference value, the user data of queuing sequence number corresponding to the positive integer quotient that obtains could be exported, this means that the quantity term processing this user data meets, like this, just the processing procedure of this user data can be started.Therefore, utilizing the present invention, the treatment progress of queuing problem be started when meeting quantity term.
This system can be adopted and electronically be implemented, this can improve the work efficiency of queuing system, and improve the ability of this system prevention human factor cheating, preferred embodiment is that the mode of an employing third party website is implemented, thus the unitarity of further raising system and fair publicity.
In this system, application module can be further used for the legitimacy judging the user data received, namely judge whether the user data received is validated user data, if, then by sorting sub-module further for this user data sorts, otherwise, not for this user data sorts, make it cannot be corresponding with a queuing sequence number, also just do not include queue in.
Application module judges whether the user data received is validated user data, and only includes validated user data in queue, and abandons disabled user's data, can improve the queuing fairness of native system further.
In order to verify the legitimacy of user data, system can arrange a storage space, for recording each user data sold.Thus a preferred embodiment is that service module 103 comprises sub module stored 106 further, and this sub module stored 106 is for storing all customer data; This sub module stored 106 can be database, certainly, also can be other forms; Wherein, user data comprises mutually corresponding account number and account number cipher; Then namely this sub module stored 106 stores account number and the account number cipher of each user data, and application module is used for, and the account number cipher request signal of the account number received and this account number is sent to gateway module 102; Whether identical with the account number cipher that gateway module 102 returns according to the account number cipher received, judge whether the user data received is validated user data; According to the non-existent message of account number that gateway module 102 returns, received user data is judged as disabled user's data; Here, gateway module 102 for, the data that application modules is sent are resolved, and search for self and resolve the account number cipher corresponding to account number that obtains in sub module stored 106; By self, the account number cipher of resolving corresponding to the account number obtained is sent to application module; Self is resolved the non-existent message of account number obtained and is sent to application module.
This embodiment utilizes the mode of inquiring about to service module 103 to determine the legitimacy of user data, account number in the user data only having application module to receive is identical respectively with account number cipher with the account number of the some user data stored in sub module stored 106 with account number cipher, this user data is just judged as validated user data by application module, otherwise, if the account number in the user data that application module receives is all not identical with account number cipher with the account number of the arbitrary user data stored in sub module stored 106 with account number cipher, or, account number in the user data that application module receives is non-existent, it is disabled user's data that both of these case may be summarized to be the user data that application module receives, then this user data is judged as disabled user's data by application module.
Certainly, the present invention can arrange a security module, and this security module is specifically designed to the legitimacy realizing the user data that above-mentioned judgement receives.This embodiment is as follows: the service module in system comprises sub module stored further, and this sub module stored is for storing all customer data; User data comprises mutually corresponding account number and account number cipher; Account number in the user data received and account number cipher are delivered to security module by application module; The user data received sent here according to security module is the message of validated user data, and user data is sent to gateway module; The user data received sent here according to security module is the message of disabled user's data, user data is not sent to gateway module; Security module set by the present invention is all connected with application module, gateway module, is sent to gateway module together for the account number sent here by application module, the signal of inquiring about account number cipher corresponding to this account number; Whether identical with the account number cipher that gateway module returns according to the account number cipher that application module is sent here, thus judge whether the user data that application module is sent here is validated user data; According to the non-existent message of account number that gateway module returns, the user data sent here by application module is judged as disabled user's data; The user data sent here by application module is that the message of validated user data or disabled user's data returns to application module; And gateway module is used for, the data that security module is sent are resolved, in sub module stored, search for self resolve the account number cipher corresponding to account number obtained; By self, the account number cipher of resolving corresponding to the account number obtained is sent to security module; Self is resolved the non-existent message of account number obtained and is sent to security module.
Should with in the embodiment of security module, the account number of the some user data stored in the account number in the user data only received at application module and account number cipher and sub module stored 106 and account number cipher are respectively in identical situation, this user data is just judged as validated user data by security module, otherwise, if the account number in the user data that application module receives is all not identical with account number cipher with the account number of the arbitrary user data stored in sub module stored with account number cipher, or, account number in the user data that application module receives is non-existent, this user data is all judged as disabled user's data by security module.For disabled user's data, native system does not sort to it thus obtains queuing sequence number.
In this system, sorting sub-module 104 is further used for, and each user data and the queuing sequence number corresponding with it are sent to gateway module 102;
Gateway module 102 for, the data that sorting sub-module 104 is sent are resolved, will the user data that obtains be resolved and the queuing sequence number corresponding with it is sent to application module;
Then application module is further used for, and each queuing sequence number is informed to the holder of the user data of its correspondence.
Here, queuing sequence number corresponding to user data is informed to the holder of this user data by this system further, the mode of notice can be the various forms such as SMS notification, Advise By Wire, email notification, paper notice, which kind of advice method is adopted to be held consultation by holder and this system in advance, this has respected the right to know of user, decreases contingent dispute.
Certainly, application module can also return money time announcement to the holder of user data further by the queuing sequence number corresponding to current maximum queuing sequence number, current head of the queue user data and each head of the queue user data.
In the present invention, whether the size of reference value relates to quantitative relation and is met, and thus its determination is important.The determination of reference value can follow a principle, i.e. reference value determination principle.In a preferred embodiment, user data comprises the first subdata and the second subdata, and the first subdata of each user data is A, and the second subdata is B; Each queuing sequence number that sorting sub-module obtains is according to the ascending aligned transfer of positive integer, and the queuing sequence number that namely first user data is corresponding is 1, and each queuing sequence number below all adds 1 on the basis of a upper queuing sequence number; The reference value determination principle that then reference value meets is: B the long-pending of gained that be multiplied with reference value is not less than A.Be example: A=100 by concrete numeral, B=10, namely B is 10% of A, sorting sub-module is the sort increasing law of the queuing sequence number obtained of user data is the ascending rule of above-mentioned positive integer, then can arrange reference value is 25, and like this, the product of 10 and 25 is 250, be greater than 100, namely meet reference value determination principle.
After pre-establishing out reference value determination principle, in order to improve the hommization of native system queuing process further, application module can also be further used for, and confirms to have known reference value determination principle for user.When only having user to confirm to know reference value determination principle, just for the sequence of its user data obtains queuing sequence number, otherwise, user not yet confirms to have known reference value determination principle, or do not agree to reference value Affirming Principle, then not for its user data sorts, this has respected the right to know of user, is also conducive to taking precautions against contingent queuing dispute.
Can apply the present invention to market return certificate and return in money field, a specific embodiment of this respect is:
This queuing system is a website, and it independently exists as the third party outside consumer and businessman, independent management.This website sells to each businessman the user account that face amount is A with price B, and B here can equal A, and certainly, also can be not equal to A, such as B is less than A.When consumer is after businessman has consumed the money of certain number, businessman just can provide the user account of some to consumer, the face amount summation of its these user accounts provided can be directly proportional to the spending amount of consumer, such as the two is equal, also other incidence relations can be had, certainly, therebetween can also without any incidence relation.
As a queuing system, this website comprises: application module, gateway module, service module, and service module comprises sorting sub-module, controls submodule; Wherein,
Application module, is connected with gateway module, for receiving user account; User account is sent to gateway module;
Gateway module, is connected with service module, and the data sent for application modules are resolved, and is sent to sorting sub-module by resolving the user account obtained;
Sorting sub-module, is connected with control submodule, for being the sequence of each user account according to the sequencing receiving user account, obtains the queuing sequence number corresponding with each user account; Each user account and the queuing sequence number corresponding with it are sent to control submodule;
Control submodule in real time by the maximum queuing sequence number received divided by a reference value, when the business obtained be positive integer quotient, by equal positive integer quotient queuing sequence number corresponding to user account output.
Here, the user account that website application module receives is exactly user data of the present invention, and controls submodule by user account and export, and just means that the process of this user account starts.Can have various ways to the process of user account, such as, the holder to this user account returns debt, and returns the face amount that amount of money volume equals this user account, then this website is exactly one and returns money net.When the face amount of the user account that businessman provides to consumer equals the spending amount of consumer, this return money net be equivalent to by the spending amount of consumer again account in full return, consumer does not spend red cent namely to achieve certain commodity, the consumption wish that this can greatly stimulate consumer undoubtedly, thus the profit improving the businessman that user account is provided to consumer.
Return debt for the ease of the holder to user account, then service module also comprises and returns money submodule, for receiving the user account controlling submodule and export;
Application module can also be used for receiving shroff account number, and sets up corresponding relation for user account and shroff account number; And the shroff account number of reception is sent to gateway module;
Then gateway module also for, the data that application modules is sent are resolved, and be sent to return money submodule by resolving the shroff account number that obtains;
Like this, returning money submodule just can according to the corresponding relation between the determined user account of application module and shroff account number, debt is sent to controlling shroff account number corresponding to the user account that exports of submodule, here, returning money submodule can be equal with the face amount A of this user account to the debt quantity that the shroff account number that user account is corresponding sends.
As can be seen here, the quantity term in this embodiment for: controlling the maximum queuing sequence number that receives of submodule can be divided exactly by reference value.When meeting this quantity term, the user account corresponding with minimum queuing sequence number not yet exported can be exported.
As specific embodiments of the invention, this returns the debt that money net returns to consumer and comes from user account is sold in gained from this website to businessman, therefore, the determination of reference value is a very important problem, if determine bad, then this website is likely loss, cannot support down for a long time like this.In order to determine the reference value in this embodiment, need predefined reference value determination principle.Here user account comprises face amount A and price B, and face amount A wherein can as the first subdata of the present invention, and price B can as the second digital data of the present invention.A is in the face amount of each user account, price is B, and each queuing sequence number of obtaining of sorting sub-module according to positive integer by 1 when aligned transfer from small to large, reference value need meet B and to be multiplied with reference value the long-pending reference value determination principle being not less than A of gained.Give an example, return money net to sell and be 10 yuan to the price of each user account of businessman, i.e. B=10 unit, the face amount of each user account is 100 yuan, i.e. A=100 unit, reference value can be decided to be 25, this means that this returns money net and often receives 25 user accounts, namely provide the debt of 100 yuan to the holder of a user account, like this, this returns money net and can the holder for this user account from 150 yuan of left funds pay income tax, then using the income of residue debt as website optimize.As can be seen here, this returns money net while attraction consumer carries out consuming thus expands domestic demand, and can also ensure that website self, consumer, businessman and country all obtain certain interests.Like this, the website of money is returned for this, in fact its quantitative relation can be expressed as a principle of not losing in another way: the price sum of the user account corresponding to all queuing sequence numbers, deduct the difference of tax gained, be not less than the face amount sum controlling all user accounts that submodule exports.Control submodule by this principle of not losing using queuing sequence number minimum in the queuing sequence number corresponding to the current user account not yet exported as the queuing sequence number corresponding to the user account that self will export, can ensure that the operation of this website can not be lost, if reference value increases, make the price sum of the user account corresponding to all queuing sequence numbers, deduct the difference of tax gained, be greater than the face amount sum controlling all user accounts that submodule exports, can ensure that this website is profit.
This application module returning money net is further used for, and judges the legitimacy of the user account received.
This service module returning money net comprises sub module stored further, and this sub module stored is for storing all user accounts; User account comprises: mutually corresponding account number and account number cipher;
Then application module is used for, and the account number cipher request signal of the account number received and this account number is sent to gateway module; Whether identical according to the account number cipher that the account number cipher received and gateway module return, judge whether the user account received is validated user account; According to the non-existent message of account number that gateway module returns, received user account is judged as disabled user's account;
Gateway module is used for, and the data that application modules is sent are resolved, and searches for self and resolve the account number cipher corresponding to account number obtained in sub module stored; By self, the account number cipher of resolving corresponding to the account number obtained is sent to application module; Self is resolved the non-existent message of account number obtained and is sent to application module.
This sorting sub-module returned in money net is further used for, and each user account and the queuing sequence number corresponding with it are sent to gateway module;
Gateway module is used for, and resolves the data that sorting sub-module is sent, and the user account obtain parsing and the queuing sequence number corresponding with it are sent to application module;
Application module is further used for, and each queuing sequence number is informed to the holder of the user account of its correspondence.
Certainly, current maximum queuing sequence number, the current queuing sequence number having obtained user account and the correspondence thereof returning money also can also be notified in the lump the holder of this user account, can also its user account obtain return money time, send to holder and return money notice.The mode of notice can be SMS notification, Advise By Wire, mail or E-mail notice etc., this needs application module to receive the contact details of the holder of each user account further, and these contact details and user account are set up corresponding relation, thus when controlling submodule and exporting this user account, the holder to this user account notifies.Certainly, control submodule when exporting this user account, need to send user account output information to gateway module, this information comprises the user account that will export, gateway module, after resolving the data controlling submodule transmission, is sent to application module by resolving the user account output information obtained, like this, application module just can determine according to this user account output information the user account that control submodule exports, thus is notified of to the contact details transmission that this user account is corresponding.Certainly, application module also can utilize the corresponding relation between contact details and user account, queuing sequence number is informed to contact details corresponding to each user account.
Further, this application module returned in money net can before being sent to gateway module by user data, the reference value determination principle this system determined informs user, it is made to know dependencies, and receive and return money on the basis agreeing to this principle, if user does not agree to this reference value determination principle, then its user account is not sorted, this had both respected the right to know of consumer-user, was also conducive to reducing the dispute between businessman, consumer-user and Fan Kuan unit.In specific implementation, a submodule of application module can be it can be used as, such as called after principle confirms submodule, this principle confirms that submodule can adopt the forms such as dialog box, webpage, agreement to realize, agreement wherein can be certain part in webpage, also can be papery or other forms of agreement.In addition, application module can also have the button confirmed reference value determination principle for user, and button here can be two, and one is " agreement " key, and another is " not agreeing to " key.In fact, if controlling submodule is according to the above-mentioned another kind of form of presentation about quantitative relation, namely principle of not losing is to determine the user account that self will export, here principle confirms that submodule is that principle of not losing is informed user, so that it is to whether agreeing to that this principle confirms, if user does not agree to principle of not losing, or not yet principle of not losing is confirmed, then its user account is not sorted, when only having user to confirm to agree to not lose principle, just its user account is sorted.
Applying the money net that returns of the present invention can as an independently legal entity and existing, it sells user data to each businessman, the user account of consumer is sorted, debt is sent to consumer, like this, just achieve and perform by independently third party the work returning money, this is conducive to abolishing the various one-sided agreements returning money and use that each businessman formulates, improve fairness of the present invention, publicity, independence, and be conducive to Fan Kuan unit, the solution of dispute between businessman and consumer, thus money efficiency is returned in raising, facilitate consumer will return money to exchange, and facilitate consumer to use to return money.
In this embodiment, the mode that holder to user account sends debt is varied, can by the above-mentioned mode being provided shroff account number by holder to native system, and this shroff account number can be Bank Account Number, certainly, can also by the debt send mode of other agreements.The preferred embodiment of shroff account number is the Bank Account Number of user, and like this, after being exported by this user account, returning money net can directly converge return debt to this shroff account number.Certainly, if this user has do charitable wish, shroff account number corresponding with user account in the present invention can also be the account of Benevolent fund, such as, is the Bank Account Number etc. of China Charity Federation.In order to distinguish different types of shroff account number, this returns money net can also provide the kind of selection shroff account number service for user, namely selects by user Bank Account Number return debt being returned to someone, is still returned to other accounts such as Benevolent fund.
Further, shroff account number can also comprise the title etc. of bank at the title of payee or payee, bank's card number or bankbook number, bank card or bankbook place.
Above-described debt is cash, or is other forms of expression of cash, such as check, bank transfer etc.
Certainly, the present invention can also be applied to the queuing field of other demand fulfillment quantity terms, such as be applied in the field of bank's process loan application, at this moment, corresponding quantity term is: after loan approval being sent, the remaining cash of this bank be enough to support this loan do not pay off completely before the bank of any instant normally pay.
Fig. 2 is the process flow diagram of queuing strategy provided by the invention.As shown in Figure 2, the method comprises:
Step 201: receive user data.
Here, the mode receiving user data is varied, and can be wired mode, also can be wireless mode.
Step 202: according to the sequencing receiving user data be each user data sequence, obtain the queuing sequence number corresponding with each user data.
This step sorts to the user data that step 201 receives, and obtains the queuing sequence number corresponding with this user data.Have a lot to the method for user data sequence, such as, the principle that positive integer increases progressively by 1 can be adopted, namely first user data that step 201 receives corresponds to queuing sequence number 1, later step 201 often receives a user data, then the queuing sequence number of distributing for it increases by 1 on the basis of a upper queuing sequence number.
Certainly, the method sorted to user data also can be additive method, such as, queuing sequence number corresponding to first user data also can not be 1, and be other sequence numbers, often increase a user data, the quantity increased on the basis of a upper queuing sequence number for its queuing sequence number of distributing also can not be 1, and is other quantity.No matter sort method why, as long as queuing sequence number corresponding to the user data received after can making is greater than the queuing sequence number corresponding to user data of previous receipt, all within protection scope of the present invention.
Step 203: in real time by the maximum queuing sequence number received divided by a reference value, when the business obtained be positive integer quotient, by equal described positive integer quotient queuing sequence number corresponding to user data output.
Here, the method processes in real time, thus improves the efficiency of process queuing problem of the present invention.
Being exported by user data described in the present invention, means the formal startup of the queuing problem handling procedure of this user data.Return in the specific embodiment of money net as described above, exported by the user account as user data, the holder to this user account is sent the money that number equals its user account face amount with regard to meaning by start treatment program.
In the method, by maximum queuing sequence number, namely the queuing sequence number corresponding to last user data is removed with reference value, if business is positive integer, then illustrate that the quantity term that this queuing problem faces is met, can the user data corresponding to the queuing sequence number equaling this positive integer quotient have been processed.If business is not positive integer, then illustrate that quantity term is not yet satisfied, then can not process its user data.
In the present invention, after step 201 receives user data, before step 202 is the sequence of each user data according to the sequencing receiving user data, the method comprises further: judge whether the user data received is validated user data, be the sequence of each user data according to the sequencing receiving user data, otherwise, be not the sequence of described user data.
Here, whether the user data that the further determining step 201 of the method receives is validated user data, can take precautions against the situation of being jumped the queue by input disabled user data and occur, thus improve fairness of the present invention and security.
Above-mentionedly judge that whether user data is a preferred embodiment of validated user data and is: user data is set and comprises corresponding account number and account number cipher; Then judge that whether the user data that receives is the method for validated user data and is: according to the account number in the user data received and account number cipher whether mutually corresponding, judge whether the user data received is validated user data, if the two is mutually corresponding, then judge that this user data is validated user data, otherwise, be judged as disabled user's data.
Here, can by arranging a storage space, the account number of special preservation all customer data and account number cipher, after step 201 receives user data, by traveling through the user data preserved in this storage space, whether the account number of this user data that determining step 201 receives is completely corresponding identical with account number cipher with the account number of user data some in database with account number cipher, is determine that it is validated user data, otherwise, be disabled user's data.
Certainly, also the legitimacy of user data can be judged by other means, such as, the account number and the account number cipher that arrange user data have certain relevance, thus whether identical with fixed relevance with the relevance of account number cipher by judging the account number of the user data received, thus judge its legitimacy.This relevance for can calculate account number cipher by account number by certain computing, or conversely, can calculate account number by account number cipher, or account number cipher is any one incidence relations such as the inverse of account number.
In the method, the determination of reference value is related to whether meeting of quantitative relation, thus determines that the principle of reference value is very important.The determination demand fulfillment reference value determination principle of reference value, the first subdata and the second subdata is comprised at user data, and the first subdata of each user data is A, second subdata is B, when each queuing sequence number is according to the aligned transfer that positive integer is ascending, reference value the reference value determination principle that meets be: B the long-pending of gained that be multiplied with reference value is not less than A.
Like this, before step 202 is the sequence of each user data according to the sequencing receiving user data, the method can further include: judge whether user confirms to have known described reference value determination principle, be the sequence of each user data according to the sequencing receiving user data, otherwise, be not the sequence of described user data.
The present invention is confirmed whether to know reference value determination principle by user in advance, to the user confirming to have known, namely have expressed the user agreeing to reference value determination principle wish, then the queuing sequence number corresponding with its user data is determined in sequence, otherwise, its user data is not sorted, also just can not obtain queuing sequence number corresponding to its user data, this has respected the right to know of user, and can reduce contingent dispute.
After step 202 obtains the queuing sequence number corresponding with each user data, the method comprises further: the holder this queuing sequence number being informed to the user data corresponding to this queuing sequence number.
Queuing sequence number is informed to the holder of the user data of its correspondence by the present invention, has respected the right to know of consumer, is also conducive to taking precautions against contingent dispute.
Certainly, further the output time of the sum of current queuing sequence number, current maximum queuing sequence number and each user data in the past can also be informed to user here.When an output user data, also can, by exporting the message informing of its user data to the holder of this user account, it be made to understand correlation circumstance in time.
Queuing sequence number is notified the modes such as the mode of consumer can notify for website, SMS notification, Advise By Wire, mail box notice by the present invention, namely while step 201 receives user data, or afterwards, by modes such as website, note, phone, mailbox and E-mail addresses, the queuing sequence number corresponding to this user data is informed to its holder, certainly, also can by these modes by the message notice such as output time of the sum of current queuing sequence number, current maximum queuing sequence number and each user data in the past to holder.Like this, in the present invention, while step 201 receives user data or afterwards, the method comprises further: receive user's contact method; User's contact method and user data are set up corresponding relation;
While then the user data corresponding to the queuing sequence number equaling described positive integer quotient exports by step 203 or afterwards, the method comprises further: send output message to user's contact method corresponding to this user data, this output message for: be output with the user data corresponding to this user's contact method.
Here, the message informing user that user data has been output by the present invention further, the psychological distance that can further between user and this service system, improves the hommization of service provided by the present invention.
Here user's contact method can be the various contact methods such as mailbox, E-mail address, mobile phone, phone.
As can be seen here, the present invention has the following advantages:
(1) in the present invention, application module can receive user data, and delivered to gateway module, after gateway module is resolved it, the user data that parsing obtains is delivered to the sorting sub-module in service module, like this, sorting sub-module can be just the sequence of these user data according to the sequencing received, the user data first received is made to correspond to less queuing sequence number, whether controlling submodule, then to utilize default reference value to carry out the quantity term of decision event or data processing in real time satisfied, only have the quantity of queuing sequence number abundant, namely when maximum queuing sequence number can be divided exactly by reference value, the user data of queuing sequence number corresponding to the positive integer quotient that obtains could be exported, this means that the quantity term processing this user data meets, like this, just the processing procedure of this user data can be started.Therefore, utilizing the present invention, the treatment progress of queuing problem be started when meeting quantity term.
(2) the present invention follows the first-in first-out principle meeting quantity term and carrys out processes user data, and under most of queuing situation, this principle is all very fair, is conducive to the generation taking precautions against various dispute in daily life.Meanwhile, when quantity term meet sequence number of but not queuing up equal positive integer quotient, can also preset certain processing mode, this is conducive to breaking the normal procedure, and the in time various accident of process, prevents the generation of all kinds of contradiction.
(3) queuing system provided by the invention can be adopted and electronically be implemented, this can improve system effectiveness, and improve the ability of this system prevention human factor cheating, preferred embodiment is that the mode of an employing third party website is implemented, thus the unitarity of further raising system and fair publicity.
(4) the reference value determination principle that this system is followed by queuing system provided by the invention in advance informs user, it is made to know dependencies, and queuing problem is processed on the basis agreeing to this principle, this has respected the right to know of user, is also conducive to reducing contingent dispute.
(5) the queuing sequence number corresponding to user data is informed to the holder of this user data by the present invention, and this has respected the right to know of user, decreases contingent dispute.
(6) applying the money net that returns of the present invention can as an independently legal entity and existing, it sells user data to each businessman, the user account of consumer is sorted, debt is sent to consumer, like this, just achieve and perform by independently third party the work returning money, this is conducive to abolishing the various one-sided agreements returning money and use that each businessman formulates, improve fairness of the present invention, publicity, independence, and be conducive to Fan Kuan unit, the solution of dispute between businessman and consumer, thus money efficiency is returned in raising, facilitate consumer will return money to exchange, and facilitate consumer to use to return money.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. queuing system, is characterized in that, this system comprises: application module, gateway module, service module, and service module comprises sorting sub-module, controls submodule; Wherein,
Described application module, is connected with described gateway module, for receiving user data; Judge the legitimacy of the user data received, and user data is sent to gateway module;
Described gateway module, is connected with described service module, and the user data sent for application modules is resolved, and the user data after the parsing obtain parsing is sent to described sorting sub-module;
Described sorting sub-module, is connected with described control submodule, for being the user data sequence after each parsing according to the sequencing of the user data after the parsing received, obtains the queuing sequence number corresponding with the user data after each parsing; User data after each parsing and the queuing sequence number corresponding with it are sent to control submodule;
Described control submodule in real time with the participation that receives is queued up last resolve after the corresponding queuing sequence number of user data divided by a reference value, when the business obtained be positive integer quotient, by equal described positive integer quotient queuing sequence number corresponding to parsing after user data output;
Sub module stored, described sub module stored is for storing all customer data; Described user data comprises: mutually corresponding account number and account number cipher; Then
Described application module judges that the method for the legitimacy of the user data received is: the account number cipher request signal of the account number received and this account number is sent to gateway module; The message whether account number cipher returned according to the account number cipher received and gateway module is identical, judges whether the user data received is validated user data; According to the non-existent message of account number that gateway module returns, received user data is judged as disabled user's data;
Described gateway module is used for, and the user data that application modules is sent is resolved, and searches for self and resolve the account number cipher corresponding to account number obtained in described sub module stored; By self, the account number cipher of resolving corresponding to the account number obtained is sent to application module; Self is resolved the non-existent message of account number obtained and is sent to application module;
Wherein, described sorting sub-module also for, the user data after each parsing and the queuing sequence number corresponding with it are sent to gateway module;
Described gateway module also carries out reduction for, the user data after each parsing of send sorting sub-module and resolves, and the user data obtained is resolved in reduction and the queuing sequence number corresponding with it is sent to application module;
Described application module also for, each queuing sequence number is informed to the holder of the user data of its correspondence;
Described user data also comprises the first subdata and the second subdata, and the first subdata of each user data is face amount A, and the second subdata is price B; Each queuing sequence number that described sorting sub-module obtains is according to the ascending aligned transfer of positive integer; The reference value determination principle that then described reference value meets is: price B the long-pending of gained that be multiplied with reference value is not less than face amount A; Described application module also for, for user confirm known described reference value determination principle.
2. utilize the queuing strategy of the queuing system described in claim 1, it is characterized in that, this queuing strategy comprises:
Receive user data;
According to the sequencing receiving user data be each user data sequence, obtain the queuing sequence number corresponding with each user data;
The corresponding queuing sequence number of last user data of queuing up with the participation that receives in real time divided by a reference value, when the business obtained be positive integer quotient, by equal described positive integer quotient queuing sequence number corresponding to user data output.
3. the queuing strategy of queuing system according to claim 2, it is characterized in that, after receiving user data, before according to the sequencing receiving user data being the sequence of each user data, this queuing strategy comprises further: judge whether the user data received is validated user data, be the sequence of each user data according to the sequencing receiving user data, otherwise, be not the sequence of described user data.
4. the queuing strategy of queuing system according to claim 3, is characterized in that, described user data comprises: corresponding account number and account number cipher; Then judge that whether the user data that receives is the method for validated user data and is: according to the account number in the user data received and account number cipher whether mutually corresponding, judge whether the user data received is validated user data.
5. the queuing strategy of the queuing system according to the arbitrary claim of claim 2-4, is characterized in that, described user data comprises the first subdata and the second subdata, and the first subdata of each user data is face amount A, and the second subdata is price B; Each queuing sequence number is according to the ascending aligned transfer of positive integer; The reference value determination principle that then described reference value meets is: price B the long-pending of gained that be multiplied with reference value is not less than face amount A.
6. the queuing strategy of queuing system according to claim 5, it is characterized in that, after reception user data, and before according to the sequencing receiving user data being the sequence of each user data, this queuing strategy comprises further: judge whether user confirms to have known described reference value determination principle, be the sequence of each user data according to the sequencing receiving user data, otherwise, be not the sequence of described user data.
CN201110053621.2A 2011-03-07 2011-03-07 Queuing system and method Active CN102682507B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110053621.2A CN102682507B (en) 2011-03-07 2011-03-07 Queuing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110053621.2A CN102682507B (en) 2011-03-07 2011-03-07 Queuing system and method

Publications (2)

Publication Number Publication Date
CN102682507A CN102682507A (en) 2012-09-19
CN102682507B true CN102682507B (en) 2015-09-23

Family

ID=46814361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110053621.2A Active CN102682507B (en) 2011-03-07 2011-03-07 Queuing system and method

Country Status (1)

Country Link
CN (1) CN102682507B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6059184A (en) * 1995-07-10 2000-05-09 Abbela Eektronick Ab Method and device for turn number systems
WO2005122098A1 (en) * 2004-06-07 2005-12-22 Marin Maletic System utilising sms messages for dispensing of queuing numbers and informing of persons waiting on the number being served
CN101149845A (en) * 2007-11-13 2008-03-26 王丽婵 Intelligent queuing system
CN101452586A (en) * 2007-11-30 2009-06-10 黄金富 Intelligent queuing machine system and method for auto distributing counter according to service kinds for bank
CN101499187A (en) * 2008-05-21 2009-08-05 北京汉潮大成科技孵化器有限公司 Electronic queuing system and method
CN202004789U (en) * 2011-03-07 2011-10-05 刘为民 Data queuing output system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6059184A (en) * 1995-07-10 2000-05-09 Abbela Eektronick Ab Method and device for turn number systems
WO2005122098A1 (en) * 2004-06-07 2005-12-22 Marin Maletic System utilising sms messages for dispensing of queuing numbers and informing of persons waiting on the number being served
CN101149845A (en) * 2007-11-13 2008-03-26 王丽婵 Intelligent queuing system
CN101452586A (en) * 2007-11-30 2009-06-10 黄金富 Intelligent queuing machine system and method for auto distributing counter according to service kinds for bank
CN101499187A (en) * 2008-05-21 2009-08-05 北京汉潮大成科技孵化器有限公司 Electronic queuing system and method
CN202004789U (en) * 2011-03-07 2011-10-05 刘为民 Data queuing output system

Also Published As

Publication number Publication date
CN102682507A (en) 2012-09-19

Similar Documents

Publication Publication Date Title
US10269006B2 (en) System and method for chopping up and processing gift cards
US10210517B2 (en) Alert prioritization logic
US8290863B2 (en) Method and system for expediting payment delivery
US8504450B2 (en) Mobile remittances/payments
US20060020543A1 (en) Method and system for expediting payment delivery
US20120303448A1 (en) Method and apparatus for determining and alerting availability of preferred automated teller machines
CN108520461A (en) It is a kind of that the credit card repayment method turning to pay and system are redeemed based on fund share
CN102044031A (en) Control device and method for adding points to point accounts by point management system
CN110414965A (en) Information displaying method, device for displaying information, electronic equipment and medium
CN105809548A (en) Method and system for controlling settlement of self-service card
CN106372878A (en) Payment method, payment client and payment server
CN112651729A (en) Cash withdrawal transaction method, acquiring bank server and system
CN101350091A (en) Client tracking goods-supplying system and method based on mobile communication network
CN102682507B (en) Queuing system and method
US11972457B1 (en) Systems and methods for facilitating optimal customer engagement via quantitative receptiveness analysis and presentation
CN113496395B (en) Payment method and system
CN202004789U (en) Data queuing output system
CN110619510B (en) Multi-business-state joint operation management system and method for gas station
KR101493726B1 (en) System and method for alarming settlement particulars
CN111401971A (en) Method and system for providing incentives through associated routes
CN114092163B (en) Electronic shelf label price changing method and device, electronic equipment and storage medium
Burns et al. Brand loyalty and limited entry in postal markets
CN113487385A (en) Electronic commerce management system and management method based on voice instruction
CN114240324A (en) Service processing method, device, computer equipment and storage medium
JPH1185886A (en) Financial institution system

Legal Events

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