CN117788057B - Patch issuing and using method and device - Google Patents
Patch issuing and using method and device Download PDFInfo
- Publication number
- CN117788057B CN117788057B CN202410215804.7A CN202410215804A CN117788057B CN 117788057 B CN117788057 B CN 117788057B CN 202410215804 A CN202410215804 A CN 202410215804A CN 117788057 B CN117788057 B CN 117788057B
- Authority
- CN
- China
- Prior art keywords
- patch
- subsidy
- module
- verification
- rule
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000012795 verification Methods 0.000 claims description 72
- 238000004364 calculation method Methods 0.000 claims description 11
- 238000006243 chemical reaction Methods 0.000 claims description 9
- 238000002910 structure generation Methods 0.000 claims description 9
- 230000008569 process Effects 0.000 claims description 2
- 230000008859 change Effects 0.000 abstract description 7
- 230000009286 beneficial effect Effects 0.000 abstract description 4
- 238000011161 development Methods 0.000 abstract description 2
- 235000012054 meals Nutrition 0.000 description 18
- 238000012384 transportation and delivery Methods 0.000 description 17
- 238000007726 management method Methods 0.000 description 5
- 230000007246 mechanism Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000012797 qualification Methods 0.000 description 2
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 235000013305 food Nutrition 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a patch distribution and use method, which comprises the steps of establishing a tree structure, matching patch rule formulas on nodes of the tree structure, setting at least one branch for each patch distribution point, and obtaining at least one multi-level patch rule formula link for each patch distribution point. The patch dispensing and using method can be matched with a multi-stage patch dispensing system. The invention also provides a patch dispensing and using device which can execute the patch dispensing and using method. Compared with the prior art, the invention has the beneficial effects that: the patch rule formula link is used for enabling patch distribution to be more flexible, the change and adjustment of the patch rule can be rapidly adapted, the investment of development resources caused by the change of the patch policy can be reduced, when a certain patch rule is changed, only the content of the patch rule formula of the corresponding part is required to be adjusted, and the change of the patch rule can be timely effective.
Description
Technical Field
The invention belongs to the technical field of public service, and particularly relates to a patch distribution and use method and a patch distribution and use device.
Background
The existing patch dispensing system has the defects of being not intelligent and inconvenient to use. The existing patch distribution system is usually arranged at a certain fixed point location, data among the point locations cannot be interconnected, and in addition, each point location needs to respectively establish a retriever file. Therefore, the patches cannot be accurately and timely issued to the retrievers, and meanwhile, the data of the patch issuing system is difficult to realize timely management.
Taking the case of meal-aid patch as an example, the case of the existing meal-aid patch delivery system is as follows:
1. the method comprises the steps that point location subsidies are arranged in each canteen, and a subsidized lead can only enjoy fixed subsidies or discount subsidies when the point location (canteen) is dining, and can not enjoy flexible and complex multi-stage financial subsidies after the point location preferential is finished;
2. Each point location needs to be documented for the subsidy retriever, whether the subsidy retriever enjoys the subsidy policy needs to be examined and approved by local towns or street civil authorities, and when the subsidy retriever takes meals across areas, the subsidy retriever needs to be examined and approved by other towns or streets, so that the subsidy policy of general and preferential sharing of the whole city is difficult to realize;
3. When the patch retriever changes qualification and does not enjoy the patch policy any more, each point location needs to change the patch retriever file again, and the point location responsible person may lag the operation;
4. If the patch taker enjoys delivering the meal patches and enjoying the hall meal patches, a situation may occur in which the patch taker violates the patch taking rules, for example, some areas prescribe a policy that the patch taker can only take one meal per day.
Therefore, it is urgent to find a patch delivering and using method capable of breaking the island of data and solving the problems of non-uniform delivering standard, inaccurate delivering and inaccurate management data of each subsystem, so as to achieve the purpose of delivering patches accurately and conveniently.
Disclosure of Invention
The invention aims at overcoming the defects of the prior art, and provides a patch issuing and using method, which comprises the following steps:
s1, converting the patch rule of each stage in the collected multi-stage patch rules into a corresponding patch rule formula;
S2, combining each level of patch rule formula into a tree structure comprising a root node, child nodes and terminal nodes;
Step S3, matching each subsidy issuing point with the tree structure, and forming a corresponding tree structure branch by each subsidy issuing point;
S4, receiving a subsidy claim request from a subsidy retriever or agent;
step S5, identity verification and condition verification are carried out, if the identity verification and the condition verification are successful, step S6 is executed, and if the identity verification and the condition verification are unsuccessful, patch distribution is abandoned;
s6, calculating the concrete amount and/or discount proportion of the subsidy through each subsidy rule formula on the tree structure branch of the subsidy issuing point position of the received subsidy claim request;
S7, generating a subsidy limit claim occupation detail record;
step S8, providing settlement data comprising the subsidy amount and the amount to be paid for the subsidy taker, and waiting for payment;
And S9, if the payment is successful, verifying the subsidy use result, confirming the subsidy use record, generating effective consumption data, and if the payment is failed, marking that the subsidy use is invalid and canceling the subsidy amount claim occupation.
Preferably, the root node of the tree structure represents a patch rule formula with the highest priority, and the terminal node represents a patch rule formula with the lowest priority.
Preferably, the authentication comprises authentication age information, authentication account registration information and authentication subsidized collage tags.
Preferably, the conditional verification includes verifying whether the claim time is in window period and verifying the remaining claim times.
Preferably, in the step S6, when the patch rule formula is transferred between the nodes, the ring signature is executed, and the signature key corresponding to the initial node is:
Wherein, Priority ordinal representing initial node,/>Date data is represented;
The secret key of any node outside the initial node is:
Wherein the method comprises the steps of Representing node coordinate position,/>For the number of nodes on the corresponding tree-structure branches.
The subsidy amount claim occupation detail record in the step S7 includes the claim time of subsidy, the original price of goods or services, the terminal node subsidy amount, the root node subsidy amount, the first level child node subsidy amount, the second level child node subsidy amount, the amount to be paid, and the specific subsidy rule formula identifier.
Preferably, the process of executing step S1 is:
step S11, automatically acquiring a subsidy rule through interfaces of the counties, streets, communities and subsidy pick-up points;
And step S12, converting the subsidy rule into a subsidy rule formula.
The authentication in the step S5 is performed through the head portrait integrated two-dimensional code, and the authentication method of the head portrait integrated two-dimensional code is as follows:
step S500, acquiring head portrait integrated two-dimensional codes and real-time head portrait data by using a camera;
step S501, personal information and an electronic signature are obtained from the two-dimensional code;
Step S502, obtaining 256-bit image verification information from the head portrait;
step S503, decrypting the electronic signature by using the private key;
Step S504, matching and verifying the image verification information with verification information in the electronic signature;
And step S505, comparing and verifying the head portrait in the head portrait integrated two-dimensional code with real-time head portrait data.
Preferably, in the step S502, the algorithm formula for extracting the image verification information is:
Wherein the method comprises the steps of To verify the function value,/>Gray value of pixel representing corresponding point,/>Respectively represent the horizontal and vertical coordinate values,/>And the area value of the head portrait integrated two-dimensional code is represented.
The patch issuing and using device is characterized by comprising a controller, a patch rule formula conversion module, a tree structure generation and matching module, a patch application receiving module, a verification module, a patch calculation module, a patch line occupation module, a settlement module and a verification module, wherein the patch rule formula conversion module, the tree structure generation and matching module, the patch application receiving module, the verification module, the patch calculation module, the patch line occupation module, the settlement module and the verification module are respectively connected with the controller; the subsidy rule formula conversion module is used for executing the step S1, the tree structure generation and matching module is used for executing the step S2 and the step S3, the subsidy application receiving module is used for executing the step S4, the verification module is used for executing the step S5, the subsidy calculation module is used for executing the step S6, the subsidy limit claim occupation module is used for executing the step S7, the settlement module is used for executing the step S8, and the verification module is used for executing the step S9.
Compared with the prior art, the invention has the following beneficial effects:
1. The patch rule formula link is used for enabling patch distribution to be more flexible, the change and adjustment of the patch rule can be rapidly adapted, the investment of development resources caused by the change of the patch policy can be greatly reduced, when a certain patch rule is changed, only the content of the patch rule formula of the corresponding part is required to be adjusted, and the change of the patch rule can be timely effective.
2. The patch rule formula enables patch distribution to be more timely, a clear list is not needed when the traditional patch distribution is needed, after the patch rule formula link is used, only the patch rule formula is needed to be configured, the patch rule formula link does not need to be prepared in advance to enjoy a colluder list of corresponding patches, and when a person applies for patches, matching of patch distribution rules and execution of patch distribution logic can be immediately carried out according to personnel information.
3. By the patch checking method, the patch application records with risks of the credibility of the data in the patch application records can be checked for validity rapidly, and the authenticity of the patch application and verification records is ensured.
Drawings
The invention is further described below with reference to the accompanying drawings:
FIG. 1 is a flow chart of a patch distribution and use method according to a first embodiment of the invention;
fig. 2 is a schematic diagram of a patch for a Chinese meal according to an embodiment of the present invention.
Detailed Description
The above and further technical features and advantages of the present invention are described in more detail below with reference to the accompanying drawings.
In the description of the present invention, it should be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" is at least two unless explicitly defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; may be mechanically connected, may be electrically connected or may be in communication with each other; either directly or indirectly, through intermediaries, or both, may be in communication with each other or in interaction with each other, unless expressly defined otherwise. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention.
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
In order to illustrate the technical scheme of the invention, the following description is made by specific examples.
Example 1
As shown in fig. 1, the present invention provides a patch dispensing and using method, which includes the following steps:
s1, converting the patch rule of each stage in the collected multi-stage patch rules into a corresponding patch rule formula;
S2, combining each level of patch rule formula into a tree structure comprising a root node, child nodes and terminal nodes;
Step S3, matching each subsidy issuing point with the tree structure, and forming a corresponding tree structure branch by each subsidy issuing point;
s4, receiving a subsidy claim request from a subsidy retriever;
step S5, identity verification and condition verification are carried out, if the identity verification and the condition verification are successful, step S6 is executed, and if the identity verification and the condition verification are unsuccessful, patch distribution is abandoned;
s6, calculating the concrete amount and/or discount proportion of the subsidy through each subsidy rule formula on the tree structure branch of the subsidy issuing point position of the received subsidy claim request;
S7, generating a subsidy limit claim occupation detail record;
step S8, providing settlement data comprising the subsidy amount and the amount to be paid for the subsidy taker, and waiting for payment;
And S9, if the payment is successful, verifying the subsidy use result, confirming the subsidy use record, generating effective consumption data, and if the payment is failed, marking that the subsidy use is invalid and canceling the subsidy amount claim occupation.
Preferably, the specific method for executing step S1 is as follows:
step S11, automatically acquiring a subsidy rule through interfaces of the counties, streets, communities and subsidy pick-up points;
And step S12, converting the subsidy rule into a subsidy rule formula.
Preferably, the root node of the tree structure in step S2 and step S3 represents the patch rule formula with the highest priority, and the terminal node represents the patch rule formula with the lowest priority. The whole execution flow of the patch rule formula is as follows: and starting execution from the root node, and continuing to execute the patch rule formula of the first level child node on the basis of the execution result until the last terminal node is executed, so as to obtain the total patch amount or discount after the multi-level patch superposition. In other words, after execution of one patch rule formula is completed, the settlement result is used as input information of the next patch rule formula, and is substituted into the next patch rule formula to perform patch calculation again until calculation of all patch rule formulas on a certain branch is completed. A plurality of patch rule formulas on each tree structure branch form a patch rule formula link.
Taking meal-aid assistance as an example, the root node is a subsidy rule formula corresponding to the subsidy rule provided by the county first-level civil administration. The first level child node is a subsidy rule formula corresponding to the subsidy rule provided by the street civil department. The second level child node is a subsidy rule formula corresponding to the subsidy rule provided by the community civil department. And the terminal node is a patch rule formula corresponding to the patch rule provided by the third canteen. At the third canteen a branching structure is formed from the root node to the end node via the two-level child nodes. Similarly, a second canteen on another street also has a corresponding branching structure. In other words, in a multi-level structure, each node is assigned at least one patch rule formula that can be used in combination with the patch rule formula of the upper node to calculate the final patch.
In general, it can be considered that the level of administration determines the priority ranking according to the subsidy rule formula.
The patch rule formula of each node can comprise a plurality of patches respectively used for the retrievers corresponding to different identities and different qualifications. The range of the whole tree structure can be expanded through a plurality of patch rule formulas of the same node. Thus, the method can accurately adapt to subsidies of different identities, ages and seniorities.
Preferably, a subsidy claim request initiated from a subsidy delivery point is received from a subsidy retriever in step S4.
Preferably, the method of identity verification comprises verifying age information, verifying household registration information and verifying the subsidized collage portrait tag.
Conditional verification includes verifying whether the claim time is in window period and verifying the number of claims remaining. If the claim time is outside the window period, no subsidy is issued, and the amount to be paid is directly calculated. If the number of remaining claims is zero, no subsidy is issued, and the amount to be paid is directly calculated.
Preferably, the subsidy amount claim occupation detail record contains claim time of subsidy, original price of goods or service, terminal node subsidy amount, root node subsidy amount, first level child node subsidy amount, second level child node subsidy amount, amount to be paid, specific subsidy rule formula identification. Taking meal-assisting subsidy as an example, the subsidy amount claim occupation detail record comprises claim time of the subsidy, original price of dining expense, meal point subsidy amount, county subsidy amount, street subsidy amount, community subsidy amount, amount to be paid and specific subsidy rule formula identification.
In step S6, when calculating the specific amount and/or discount proportion of the subsidy, a subsidy rule formula of transferring each other between several nodes on a certain tree-structure branch is required. Signing is required when delivering patch rule formulas to prevent the patch rule formulas from being sent out to the wrong node. In this embodiment, ring signing is preferably performed between nodes on a particular tree branch. Wherein the initial signature key is: Wherein/> Priority ordinal representing initial node,/>Representing date data. The keys of other nodes are:
Wherein the method comprises the steps of Representing node coordinate position,/>For the number of nodes on a particular tree branch. The ring signature has the further beneficial effect that bidirectional verification, namely forward verification and reverse verification can be performed, so that the patch rule formula can be further ensured not to be sent out erroneously.
If the signature is performed by adopting an asymmetric encryption mode, the sending node needs to broadcast another key outwards.
And S8, reporting the information of the subsidy amount, the amount to be paid and the like which are received by the current user through the step S8 to the user side for displaying.
The method for determining the success of the payment in step S9 may be manually confirmed by the cash-in-hall personnel or automatically determined by the self-service settlement device.
Aiming at the situation that the payment fails or the payment is cancelled in the step S9, after the marked patch usage is invalid and the patch amount is withdrawn to claim occupation, the same patch retriever can still apply for patches again.
Preferably, in step S5, the subsidy retriever can be effectively identified by identity verification, but the verification effect achieved by different verification methods is different, for example, authenticity can be ensured by a biological identification method such as face recognition, but if verification is performed by card swiping and code swiping, there is a possibility that data comparison errors may occur. Thus, for effective management, step S9 performs well, and the following steps may also be performed:
S20, extracting a usage record of the patch;
And S21, checking the use record with the subsidized retriever.
The checking method comprises manual call back visit, automatic call back visit or short message checking. The accuracy and the rationality of the issued meal-aid subsidies are effectively managed by checking.
As shown in fig. 2, taking an application scenario of the old people meal-assisting patch system as an example, a patch issuing rule of a certain meal-assisting point is:
Only subsidized dining between 10:30 and 14:00 and dinner 15:30 and 19:00 of Chinese meal every day, and the meal-supporting point is folded by 8 according to the price of ordering of all dining old people exceeding 10 yuan, and the price of the folded meal-supporting point exceeds 1 yuan;
On the basis of the subsidy of the meal-assisting point, 2 yuan is subsidized at county level, and 1 yuan is subsidized on the street;
on the basis of the patch, the community is patched for 5 yuan if the age of the old is greater than or equal to 80 years old, 3 yuan if the age of the old is less than or equal to 80 years old and is greater than or equal to 70 years old, and 1 yuan if the age of the old is less than or equal to 70 years old and is greater than or equal to 60 years old;
Each old man can only be subsidized once a day, and the subsidized can be used for lunch or dinner.
In the above example, the root node is a patch rule formula corresponding to the patch of the meal-assisting point, in other words, the patch with the highest priority is a re-patch 1 element with a price of more than 10 elements after the meal-ordering price is folded by 8 and the price of more than 10 elements after the folding. The first-level node is a subsidy rule formula corresponding to the subsidy rule provided by the county-level civil administration, namely, county-level subsidy is 2 yuan. And the second level child node is a subsidy rule formula corresponding to the subsidy rule provided by the street civil department, namely, 1 element of street subsidy. The terminal nodes respectively correspond to different patch rule formulas in 3. And verifying the subsidy retrieval times and retrieval time through a condition verification step.
The patch distributing and using method provided by the invention has the beneficial effects that:
1. the method can adapt to flexible and complex multilevel subsidy policies, and each village/street and village/community can also add the subsidy standard, configure the rule for directional use and the rule for directional issuing on the basis of the unified subsidy standard according to actual conditions.
2. The method is suitable for the meal-assisting subsidy service of the old, different subsidy standards can be matched according to the characteristic images of the old through establishing a big data sharing mechanism, an old capability assessment component, a low-insurance group component, a low-limit group component, a special-stranded group component and the like can be called, the solitary, empty nest and solitary old data provided by each village and social area can be automatically identified according to the ages, the physical disabilities, the economic difficulties, the living conditions and the like, the types of the old can be automatically identified, and different subsidy standards can be issued according to different types of the old.
3. The method also provides a subsidy verification mechanism, so that the subsidy funds are dispensed more accurately.
The method can break the island of data, solve the problems of nonuniform patch distribution standard, inaccurate distribution and inaccurate management data of each catering system, realize patch preferential intercommunication in dining across regions and streets, accurately distribute patches and improve the capacity of data management.
The embodiment also provides a device for executing the patch distribution and use method. The system comprises a controller, a subsidy rule formula conversion module, a tree structure generation and matching module, a subsidy application receiving module, a verification module, a subsidy calculation module, a subsidy limit claim occupation module, a settlement module and a verification module. The subsidy rule formula conversion module, the tree structure generation and matching module, the subsidy application receiving module, the verification module, the subsidy calculation module, the subsidy limit application occupation module, the settlement module and the verification module are respectively connected with the controller.
The patch rule formula conversion module is used for executing the step S1, the tree structure generation and matching module is used for executing the step S2 and the step S3, the patch application receiving module is used for executing the step S4, the verification module is used for executing the step S5, the patch calculation module is used for executing the step S6, the patch limit claim occupation module is used for executing the step S7, the settlement module is used for executing the step S8, and the verification module is used for executing the step S9.
Example two
The first difference between this embodiment and the second embodiment is that:
The usage scenario of the patch distribution and usage method provided in the first embodiment is suitable for the scenario of consuming at the patch distribution point. The patch issuing and using method provided by the embodiment can also be used for an online use scene based on distribution.
In step S4 of the patch issuing and using method provided in this embodiment, the following is changed: "receive subsidy claim request initiated by the agent".
The agent may be the selected facilitator or subsidized point of issue. The agent makes a delivery plan for the user to be delivered as an agent to assist the user in creating a subsidy claim request.
The settlement data in step S8 requires an increase in the corresponding distribution cost.
The payment in step S9 may be through an online payment, or the distribution person may complete the assisted collection.
Preferably, the following steps are continued after step S9:
And step S30, if the patch release application records which are not distributed or are invalid in configuration appear, the patch release records are withdrawn.
Preferably, the subsidy amount claim occupation detail record contains claim time of subsidy, subsidy occupation date, original price of goods or services, terminal node subsidy amount, root node subsidy amount, first level child node subsidy amount, second level child node subsidy amount, delivery fee amount, amount to be paid, and specific subsidy rule formula identification. Taking meal-assisting subsidy as an example, the subsidy amount claim occupation detail record comprises claim time of the subsidy, subsidy occupation date, original price of dining expense, meal point subsidy amount, county subsidy amount, street subsidy amount, community subsidy amount, amount to be paid, delivery expense amount and specific subsidy rule formula identification.
Taking catering delivery as an example, during delivery, a task is sent to delivery personnel, after the delivery personnel receive the delivery task, the delivery personnel send a meal to a meal delivery mechanism at corresponding delivery time to deliver the meal, and after the delivery is completed, the delivery personnel perform delivery position positioning, upload site photos, the information acquisition such as the face recognition of the delivery personnel and the like, so that the authenticity of the delivered meal is ensured.
The invention solves the problem that the meal-assisting subsidized object enjoys different subsidized offers when the meal is taken and ordered in the meal distribution scene and the hall message scene; realizing cross-region and cross-street dining preferential intercommunication and helping the old to realize general purpose and preferential sharing in the whole city; the problem that the traditional manual accounting or the traditional meal-assisting business system cannot accurately dispense the subsidy and approve management data in time is solved.
Whether a meal distribution scene or a hall food scene, the user can enjoy different subsidy offers according to the subsidy object when the user needs to take a meal, and can realize inter-regional inter-street meal offer intercommunication, so as to help the old to realize 'general all-city general and offer sharing', thereby solving the problems that the traditional manual accounting or the traditional meal assisting service system cannot solve the problem that the subsidy is accurately distributed and timely and accurately managed.
Example III
The first difference between this embodiment and the second embodiment is that:
preferably, the specific method for executing step S1 is as follows:
Step S111, operators collect the subsidy rules of the urban counties, streets, communities and subsidy leading points in advance;
Step S112, converting the subsidy rule into a subsidy rule formula.
Example IV
The first difference between this embodiment and the second embodiment is that:
the authentication in step S5 is performed by the head portrait integrated two-dimensional code. The verification method comprises the following steps:
step S500, acquiring head portrait integrated two-dimensional codes and real-time head portrait data by using a camera;
step S501, personal information and an electronic signature are obtained from the two-dimensional code;
Step S502, obtaining 256-bit image verification information from the head portrait;
step S503, decrypting the electronic signature by using the private key;
Step S504, matching and verifying the image verification information with verification information in the electronic signature;
And step S505, comparing and verifying the head portrait in the head portrait integrated two-dimensional code with real-time head portrait data.
In this embodiment, preferably, the algorithm formula for acquiring 256-bit image verification information from the avatar in step S502 is:
Wherein the method comprises the steps of To verify the function value,/>Gray value of pixel representing corresponding point,/>Respectively represent the horizontal and vertical coordinate values,/>The area value of the two-dimensional code is represented. The formula is executed up to 256 bits.
The formula has the advantages of ensuring the complexity (low misjudgment rate and low rejection rate) of the verification image and ensuring that the verification is completed in a short time. The comparison of images stored in advance in the database by calling is not required as in the conventional image verification.
Since 256-bit image verification information of the head portrait in the real two-dimensional code is written into the electronic signature in advance, after the electronic signature is unlocked, the 256-bit image verification information of the head portrait in the real two-dimensional code which is initially written into the electronic signature can be obtained. Then, 256-bit image verification information of the header in the two-dimensional code at the verification time is extracted. The front and back information can be compared to verify whether the head portrait in the two-dimensional code is tampered or not.
After the double verification in step S504 and step S505, it can be ensured that the user is the holder of the head portrait integrated two-dimensional code, and the head portrait information is not tampered. This enables the triple information to be kept consistent, enabling patches to be accurately dispensed into the hands of a user.
The head portrait integrated two-dimensional code is not easy to tamper with the head portrait, is convenient to carry, can ensure the use of a user, and can be accompanied with information waiting for verification of household registration information.
The above is only a specific embodiment of the present invention, but the technical features of the present invention are not limited thereto. Any simple changes, equivalent substitutions or modifications made on the basis of the present invention to solve the substantially same technical problems and achieve the substantially same technical effects are encompassed within the scope of the present invention.
Claims (6)
1. The patch distributing and using method is characterized by comprising the following steps:
s1, converting the patch rule of each stage in the collected multi-stage patch rules into a corresponding patch rule formula;
S2, combining each level of patch rule formula into a tree structure comprising a root node, child nodes and terminal nodes;
Step S3, matching each subsidy issuing point with the tree structure, and forming a corresponding tree structure branch by each subsidy issuing point;
S4, receiving a subsidy claim request from a subsidy retriever or agent;
step S5, identity verification and condition verification are carried out, if the identity verification and the condition verification are successful, step S6 is executed, and if the identity verification and the condition verification are unsuccessful, patch distribution is abandoned;
s6, calculating the concrete amount and/or discount proportion of the subsidy through each subsidy rule formula on the tree structure branch of the subsidy issuing point position of the received subsidy claim request;
S7, generating a subsidy limit claim occupation detail record;
step S8, providing settlement data comprising the subsidy amount and the amount to be paid for the subsidy taker, and waiting for payment;
Step S9, if the payment is successful, verifying the subsidy use result, confirming the subsidy use record, generating effective consumption data, and if the payment is failed, marking that the subsidy use is invalid and canceling the subsidy amount claim occupation;
the root node of the tree structure represents a patch rule formula with highest priority, and the terminal node represents a patch rule formula with lowest priority;
The whole execution flow of the patch rule formula is as follows: starting execution from the root node, and continuing to execute the patch rule formula of the first level child node on the basis of the execution result until the last terminal node is executed, so as to obtain the total patch amount or discount after multi-level patch superposition;
The authentication in the step S5 is performed through the head portrait integrated two-dimensional code, and the authentication method of the head portrait integrated two-dimensional code is as follows:
step S500, acquiring head portrait integrated two-dimensional codes and real-time head portrait data by using a camera;
step S501, personal information and an electronic signature are obtained from the two-dimensional code;
Step S502, obtaining 256-bit image verification information from the head portrait;
step S503, decrypting the electronic signature by using the private key;
Step S504, matching and verifying the image verification information with verification information in the electronic signature;
step S505, comparing and verifying the head portrait in the head portrait integrated two-dimensional code with real-time head portrait data;
The algorithm formula for extracting the image verification information in the step S502 is as follows:
Wherein the method comprises the steps of To verify the function value,/>Gray value of pixel representing corresponding point,/>Respectively represent the horizontal and vertical coordinate values,/>The area value of the head portrait integrated two-dimensional code is represented;
In the step S6, when the patch rule formula is transferred between the nodes, the ring signature is executed, and the signature key corresponding to the initial node is:
Wherein, Priority ordinal representing initial node,/>Date data is represented;
The secret key of any node outside the initial node is:
Wherein the method comprises the steps of Representing node coordinate position,/>For the number of nodes on the corresponding tree-structure branches.
2. A patch dispensing and use method as claimed in claim 1, wherein said authentication includes authentication age information, authentication house registration information and authentication patch retriever portrait tag.
3. A patch dispensing and use method as in claim 1, wherein said conditional verification includes verifying whether the claim time is in window period and verifying the number of claims remaining.
4. The method according to claim 1, wherein the subsidy amount claim occupation detail record in step S7 includes a claim time of subsidy, an original price of goods or services, a terminal node subsidy amount, a root node subsidy amount, a first level child node subsidy amount, a second level child node subsidy amount, an amount to be paid, and a specific subsidy rule formula identifier.
5. The patch dispensing and use method according to claim 1, wherein the process of performing step S1 is:
step S11, automatically acquiring a subsidy rule through interfaces of the counties, streets, communities and subsidy pick-up points;
And step S12, converting the subsidy rule into a subsidy rule formula.
6. The patch issuing and using device is characterized by comprising a controller, a patch rule formula conversion module, a tree structure generation and matching module, a patch application receiving module, a verification module, a patch calculation module, a patch limit application occupation module, a settlement module and a verification module, wherein the patch rule formula conversion module, the tree structure generation and matching module, the patch application receiving module, the verification module, the patch calculation module, the patch limit application occupation module, the settlement module and the verification module are respectively connected with the controller; the subsidy rule formula conversion module is used for executing the step S1, the tree structure generation and matching module is used for executing the step S2 and the step S3, the subsidy application receiving module is used for executing the step S4, the verification module is used for executing the step S5, the subsidy calculation module is used for executing the step S6, the subsidy limit claim occupation module is used for executing the step S7, the settlement module is used for executing the step S8, and the verification module is used for executing the step S9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410215804.7A CN117788057B (en) | 2024-02-27 | 2024-02-27 | Patch issuing and using method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410215804.7A CN117788057B (en) | 2024-02-27 | 2024-02-27 | Patch issuing and using method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117788057A CN117788057A (en) | 2024-03-29 |
CN117788057B true CN117788057B (en) | 2024-06-11 |
Family
ID=90393134
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410215804.7A Active CN117788057B (en) | 2024-02-27 | 2024-02-27 | Patch issuing and using method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117788057B (en) |
Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1735195A (en) * | 2004-08-09 | 2006-02-15 | 佳能株式会社 | Image processing apparatus and its method |
CN103489102A (en) * | 2013-09-13 | 2014-01-01 | 惠州Tcl移动通信有限公司 | Method and system for preventing unauthorized credit card swiping through mobile phone based on two-dimensional code |
CN103810457A (en) * | 2014-03-12 | 2014-05-21 | 河南融信数据有限公司 | Offline license anti-counterfeiting method based on reliable digital signature and two-dimensional code |
KR20160001881A (en) * | 2014-06-27 | 2016-01-07 | 엔노드 주식회사 | A fuel subsidy verification system or its method |
KR101600071B1 (en) * | 2015-03-17 | 2016-04-04 | (주)에니아소프트 | Taxi subsidy management system and the method thereof |
CN109214160A (en) * | 2018-09-14 | 2019-01-15 | 温州科技职业学院 | A kind of computer network authentication system and method, computer program |
CN109657846A (en) * | 2018-12-04 | 2019-04-19 | 国网浙江省电力有限公司经济技术研究院 | Power grid alternative subsidy scale impact factor screening technique |
CN110610422A (en) * | 2019-09-06 | 2019-12-24 | 北京神州同道智能信息技术有限公司 | Whole-market multi-variety fund financing management system based on intelligent effective strategy platform |
CN111311398A (en) * | 2020-03-05 | 2020-06-19 | 中国工商银行股份有限公司 | Expense processing method and device |
CN111428978A (en) * | 2020-03-18 | 2020-07-17 | 中国建设银行股份有限公司 | Subsidy calculation method and device, electronic equipment and storage medium |
CN111967984A (en) * | 2020-10-22 | 2020-11-20 | 北京江融信科技有限公司 | Method and system for dynamically managing credit limit based on relational tree |
CN112070636A (en) * | 2020-09-09 | 2020-12-11 | 西南交通大学 | Image electronic contract signing and verifying method with multistage evidence chain |
CN112102114A (en) * | 2020-09-17 | 2020-12-18 | 中国建设银行股份有限公司 | Method, device and system for community-based aged-care intelligent restaurant |
CN112632235A (en) * | 2020-11-03 | 2021-04-09 | 招商银行股份有限公司佛山分行 | Supporting information matching method, matching system and storage medium |
CN113469637A (en) * | 2021-05-26 | 2021-10-01 | 杭州每刻科技有限公司 | Subsidy issuing method and system |
CA3138761A1 (en) * | 2020-11-11 | 2022-05-11 | 10353744 Canada Ltd. | Method, device, computer equipment and storage medium for verifying inter-system data admission |
KR102417817B1 (en) * | 2021-01-20 | 2022-07-06 | 주식회사 한글과컴퓨터 | Verification supporting server which supports verification of the stamp image inserted in the electronic document and the operating method thereof |
CN115115346A (en) * | 2022-07-22 | 2022-09-27 | 广西东信健康科技发展有限公司 | Block chain-based method and system for issuing senior citizen allowance |
CN115409537A (en) * | 2022-07-26 | 2022-11-29 | 上海万物新生环保科技集团有限公司 | Method and equipment for determining subsidies of users |
CN116109431A (en) * | 2023-02-01 | 2023-05-12 | 上海申雪供应链管理有限公司 | Patch detail generation method and device and electronic equipment |
CN116384724A (en) * | 2023-06-02 | 2023-07-04 | 江苏网新博创科技有限公司 | Employment patch center design method and employment patch center |
CN117196867A (en) * | 2023-08-04 | 2023-12-08 | 中山市云经纪网络科技有限公司 | Real estate sales offer calculating and issuing method and offer calculating and issuing system |
-
2024
- 2024-02-27 CN CN202410215804.7A patent/CN117788057B/en active Active
Patent Citations (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1735195A (en) * | 2004-08-09 | 2006-02-15 | 佳能株式会社 | Image processing apparatus and its method |
CN103489102A (en) * | 2013-09-13 | 2014-01-01 | 惠州Tcl移动通信有限公司 | Method and system for preventing unauthorized credit card swiping through mobile phone based on two-dimensional code |
CN103810457A (en) * | 2014-03-12 | 2014-05-21 | 河南融信数据有限公司 | Offline license anti-counterfeiting method based on reliable digital signature and two-dimensional code |
KR20160001881A (en) * | 2014-06-27 | 2016-01-07 | 엔노드 주식회사 | A fuel subsidy verification system or its method |
KR101600071B1 (en) * | 2015-03-17 | 2016-04-04 | (주)에니아소프트 | Taxi subsidy management system and the method thereof |
CN109214160A (en) * | 2018-09-14 | 2019-01-15 | 温州科技职业学院 | A kind of computer network authentication system and method, computer program |
CN109657846A (en) * | 2018-12-04 | 2019-04-19 | 国网浙江省电力有限公司经济技术研究院 | Power grid alternative subsidy scale impact factor screening technique |
CN110610422A (en) * | 2019-09-06 | 2019-12-24 | 北京神州同道智能信息技术有限公司 | Whole-market multi-variety fund financing management system based on intelligent effective strategy platform |
CN111311398A (en) * | 2020-03-05 | 2020-06-19 | 中国工商银行股份有限公司 | Expense processing method and device |
CN111428978A (en) * | 2020-03-18 | 2020-07-17 | 中国建设银行股份有限公司 | Subsidy calculation method and device, electronic equipment and storage medium |
CN112070636A (en) * | 2020-09-09 | 2020-12-11 | 西南交通大学 | Image electronic contract signing and verifying method with multistage evidence chain |
CN112102114A (en) * | 2020-09-17 | 2020-12-18 | 中国建设银行股份有限公司 | Method, device and system for community-based aged-care intelligent restaurant |
CN111967984A (en) * | 2020-10-22 | 2020-11-20 | 北京江融信科技有限公司 | Method and system for dynamically managing credit limit based on relational tree |
CN112632235A (en) * | 2020-11-03 | 2021-04-09 | 招商银行股份有限公司佛山分行 | Supporting information matching method, matching system and storage medium |
CA3138761A1 (en) * | 2020-11-11 | 2022-05-11 | 10353744 Canada Ltd. | Method, device, computer equipment and storage medium for verifying inter-system data admission |
KR102417817B1 (en) * | 2021-01-20 | 2022-07-06 | 주식회사 한글과컴퓨터 | Verification supporting server which supports verification of the stamp image inserted in the electronic document and the operating method thereof |
CN113469637A (en) * | 2021-05-26 | 2021-10-01 | 杭州每刻科技有限公司 | Subsidy issuing method and system |
CN115115346A (en) * | 2022-07-22 | 2022-09-27 | 广西东信健康科技发展有限公司 | Block chain-based method and system for issuing senior citizen allowance |
CN115409537A (en) * | 2022-07-26 | 2022-11-29 | 上海万物新生环保科技集团有限公司 | Method and equipment for determining subsidies of users |
CN116109431A (en) * | 2023-02-01 | 2023-05-12 | 上海申雪供应链管理有限公司 | Patch detail generation method and device and electronic equipment |
CN116384724A (en) * | 2023-06-02 | 2023-07-04 | 江苏网新博创科技有限公司 | Employment patch center design method and employment patch center |
CN117196867A (en) * | 2023-08-04 | 2023-12-08 | 中山市云经纪网络科技有限公司 | Real estate sales offer calculating and issuing method and offer calculating and issuing system |
Non-Patent Citations (1)
Title |
---|
广东省农资综合直补和种粮补贴绩效分析――基于访谈调查法;施镜燕;吴剑辉;;广东科技;20130725(第14期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN117788057A (en) | 2024-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104408559B (en) | A kind of engineering information management system | |
CN104484811B (en) | It is a kind of that transaction processing method and system are put on someone's head based on mobile Internet | |
CN103226764B (en) | A kind of express receiving and dispatching system and method | |
US11449837B2 (en) | Maintenance equipment management method, system and data management server | |
WO2012090120A1 (en) | Bicycle rental system | |
CN105847632A (en) | Information processing device and method | |
CN103489309A (en) | Method and system for pooling taxi, sharing private car and hitchhiking | |
US20200286044A1 (en) | Maintenance station management method, system and data management serve | |
AU2014101665A4 (en) | A residential management system | |
CN110298660A (en) | Node administration method based on block chain | |
CN109102438A (en) | A kind of road traffic accident dispute data integrated processing system on the net | |
CN106845742A (en) | Hotel integrated management system | |
US9483616B2 (en) | Systems and methods for collecting information at an emergency vehicle | |
CN106845654A (en) | Hotel management and security administration integral system based on cloud communication | |
CN106875741A (en) | A kind of parking stall management method and system based on bluetooth 5 | |
CN107437105A (en) | The safe express system of NFC and QR codes and application method of a kind of more role's whole scenes | |
US11645648B2 (en) | Method and system for providing foreign currency exchange services based on net exchange demand between countries | |
KR20070080423A (en) | The automatic application system of the insurance benefits at remote and the method thereof | |
CN111292158A (en) | Shared house renting system based on internet | |
CN117788057B (en) | Patch issuing and using method and device | |
CN108200532A (en) | It is a kind of to verify the method and system made up SIM card user identity and be associated with SIM card | |
CN103971283A (en) | Transaction information management server, transaction information management system and method | |
CN116739119A (en) | Travel method and device integrating multiple systems | |
CN116308377A (en) | Account management method, device, equipment and storage medium | |
KR101033042B1 (en) | System and Method for Real Time of Local Money Using RFID |
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 |