CN103092845A - Contract charging system based on hash table technology - Google Patents

Contract charging system based on hash table technology Download PDF

Info

Publication number
CN103092845A
CN103092845A CN2011103355562A CN201110335556A CN103092845A CN 103092845 A CN103092845 A CN 103092845A CN 2011103355562 A CN2011103355562 A CN 2011103355562A CN 201110335556 A CN201110335556 A CN 201110335556A CN 103092845 A CN103092845 A CN 103092845A
Authority
CN
China
Prior art keywords
hash table
contract
module
charge
charging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011103355562A
Other languages
Chinese (zh)
Inventor
王志刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhenjiang Yction Software Co Ltd
Original Assignee
Zhenjiang Yction Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhenjiang Yction Software Co Ltd filed Critical Zhenjiang Yction Software Co Ltd
Priority to CN2011103355562A priority Critical patent/CN103092845A/en
Publication of CN103092845A publication Critical patent/CN103092845A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a contract charging system, in particular to a contract charging system based on the hash table technology and belongs to the field of network communication. The contract charging system based on the hash table technology is characterized by comprising a hash table establishing module, a charging adding module, a charging updating module, a contract retrieval module, a hash table query module and a converting output module, wherein the hash table establishing module is used for managing all charging records of a contract, the charging adding module is used for completing charging of a user to the contract, the charging updating module is used for updating the charging records, the contract retrieval module is used for querying a corresponding hash table according to a unique identification of the contract, the hash table query module is used for completing query working of the contract charging system, and the converting output module is used for converting the hash table and outputting data to a UI (user interface) layer. By the aid of the contract charging system based on the hash table technology, all receivable and received accounts are stored in the corresponding hash table through the hash table technology. Since the hash table technology is an advanced application of a data structure, the system has higher data stability.

Description

A kind of contract Fare Collection System based on the Hash table technology
Technical field
The present invention relates to the contract Fare Collection System, especially based on the contract Fare Collection System of Hash table technology.The invention belongs to network communication field.
Background technology
In recent years, the business activity of enterprise is day by day frequent, and the contact between enterprise is also more and more.Perfect contract management is an important symbol of company's healthy.contract management system, to be based upon on Information Technology Foundation, utilize the advanced management thought of modern enterprise, for enterprise provides decision-making, plan, control is comprehensive with the business performance assessment, systematized contract management platform, contract management software is mainly managed based on Collaborative Product Commerce, customer demand, manufacturing activities, purchasing management, the funds on account management, operation flow is regarded the cooperation catenary system of a close-coupled as, adopt the whole course integration modeling technique, the enterprises information management is divided into the support subsystem of several mutual work compounds, all links on the cooperation chain are managed effectively.
But there is following drawback in above-mentioned technology: the contract of enterprise is often periodically long, and client's the charge interval time limit is longer.One opening and closing with all receivable and the receipt on account money all exist in database.When need to inquiring about or safeguard these data, the user needs more server resource.In the situation that the time of the response of quantity large system also can greatly reduce.Just slower to the response that periodicity dean's contract charge data obtains.Contract charging method has before reduced the reliability of contract Fare Collection System greatly.
The present invention is by a kind of contract Fare Collection System based on the Hash table technology, by the Hash table technology with all receivable and be stored in corresponding Hash table.The Hash table technology that adopts due to the present invention is the senior application of data structure, so native system has the reliability of higher data.
Summary of the invention
The object of the invention is to: for the deficiencies in the prior art, by the contract Fare Collection System based on the Hash table technology, use the Hash table mode, inquiry, interpolation, renewal or deletion charge record, record by all receivable breaths of having collected mail that the Hash table technology is same with opening and closing, the user does not need to inquire data again from database, the user only need to be with the Hash table corresponding to unique identification inquiry of contract, and what store in Hash table is exactly all same records of these opening and closing.The user can also inquire about the charge detail in Hash table again.This shows the reliability that has greatly improved the contract Fare Collection System based on the contract Fare Collection System of Hash table technology.
For achieving the above object, the present invention includes following functional module:
Create the Hash table module: all charge records of management contract.
--all receivable information of the formal contract after described establishment Hash table module will be examined store in Hash table, in the situation that the breath of the collection of letters in the Hash table of not charging is all null.
Add the charge module: the charge of completing user to contract.
--described interpolation charge module need to be selected the contract of charge by the user, system will remove by the unique identifier of contract to search corresponding Hash table.The charge progress is kept in Hash table with the form of key.The user only need to select progress just can see that corresponding receivable information charges.
Upgrade the charge module: complete the renewal to the charge record.
--described renewal charge module is that the pay imformation that perhaps needs to change is modified to wrong before input.The user only needs first to select corresponding key to revise value again.Value before revising is saved in this table and preserves with the form of-key.count.Amended record covers original record.
Contract retrieval module: Hash table corresponding to unique identification row inquiry based on contract.
--described contract retrieval module is retrieved all Hash tables in the contract Fare Collection System.With unique identification row retrieving information, due to the same only corresponding Hash table of opening and closing, so system can retrieve the data that need very fast.
Hash table enquiry module: complete the inquiry work of contract Fare Collection System.
--described Charge and query module is retrieved all Hash tables in the contract charge.Contract progress according to the required inquiry of user.
Conversion output module: complete the conversion of Hash table and data are outputed to the UI layer.
--described conversion output module outputs to the UI layer with the Hash table that checks out in system with the html language.The user can see the data of oneself wanting fast and accurately.
The user uses step to be:
Step 1: the user increases contract newly, creates corresponding Hash table after contract approval;
Step 2: the Hash table data are preserved with the XML form;
Step 3: the record of charging accordingly of the interpolation in the Hash table;
Step 4: the record of the charge in Hash table is modified;
Step 5: all contracts in Fare Collection System are retrieved;
Step 6: the record of the charge in Hash table is inquired about;
Step 7: the record of the charge in Hash table is changed;
Step 8: the data after changing are presented to the UI layer.
Embodiment
The feature that the present invention announces and use step all can be carried out the equivalence replacement by similar function, and unless specifically stated otherwise, the arbitrary steps in this embodiment are an example of a series of equivalences or similar characteristics.
Embodiment one
The user uses step to be:
Step 1: logging in system by user, newly-increased contract, the auditor examines rear system and generates corresponding pay imformation and unique identity column, and the establishment Hash table inserts into data.
Step 2: the Hash table after generating carries out data-switching, converts the XML form of standard to, and stores in hard disk.
Step 3: the user charges to contract, and based on contract system will retrieve corresponding Hash table, and is inserted in Hash table according to the data of progress with input.
Step 4: the user modifies to pay imformation, system will search Hash table according to the charge record that will revise and charge progress, and the data before upgrading are saved in Hash table with the form of-key.count, and the data before the data cover after renewal guarantee the integrality of data.
Step 5: the user retrieves all contracts in Fare Collection System by the unique identifier of contract.
Step 6: the user clicks inquiry, and input inquiry condition, system are inquired about with the form of Key-Value the record of the charge in Hash table automatically.
Step 7: the record of the charge in Hash table is obtained, and data-switching is become the HTML code of standard, be convenient to present to the user.
Step 8: UI will resolve HTML and data will be presented to the user by browser after getting the HTML of standard.
In addition to the implementation, the present invention can also have other embodiments.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection domain of requirement of the present invention.

Claims (2)

1. contract Fare Collection System based on the Hash table technology is characterized in that: complete inventory system and need to create the Hash table module, add the charge module, upgrade charge module, contract retrieval module, data query module:
All receivable information of formal contract after described establishment Hash table module will be examined store in Hash table, in the situation that the breath of the collection of letters in the Hash table of not charging is all null;
Described interpolation charge module need to be selected the contract of charge by the user, system will remove by the unique identifier of contract to search corresponding Hash table, the charge progress is kept in Hash table with the form of key, and the user only need to select progress just can see that corresponding receivable information charges;
Described renewal charge module is to wrong before input, the pay imformation that perhaps needs to change is modified, the user only needs first to select corresponding key to revise value again, value before revising is saved in this table and preserves with the form of-key.count, and amended record covers original record;
Described contract retrieval module is retrieved all Hash tables in the contract Fare Collection System, with unique identification row retrieving information, due to the same only corresponding Hash table of opening and closing, so system can retrieve the data that need very fast;
Described Charge and query module is retrieved all Hash tables in the contract charge, according to the contract progress of the required inquiry of user;
Described conversion output module outputs to the UI layer with the Hash table that checks out in system with the html language, and the user can see the data of oneself wanting fast and accurately.
2. a kind of contract Fare Collection System based on the Hash table technology according to claim 1, be further characterized in that: the contract Fare Collection System of completing also needs following steps:
Step 1: the user increases contract newly, creates corresponding Hash table after contract approval;
Step 2: the Hash table data are preserved with the XML form;
Step 3: the record of charging accordingly of the interpolation in the Hash table;
Step 4: the record of the charge in Hash table is modified;
Step 5: all contracts in Fare Collection System are retrieved;
Step 6: the record of the charge in Hash table is inquired about;
Step 7: the record of the charge in Hash table is changed;
Step 8: the data after changing are presented to the UI layer.
CN2011103355562A 2011-10-27 2011-10-27 Contract charging system based on hash table technology Pending CN103092845A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103355562A CN103092845A (en) 2011-10-27 2011-10-27 Contract charging system based on hash table technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103355562A CN103092845A (en) 2011-10-27 2011-10-27 Contract charging system based on hash table technology

Publications (1)

Publication Number Publication Date
CN103092845A true CN103092845A (en) 2013-05-08

Family

ID=48205428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103355562A Pending CN103092845A (en) 2011-10-27 2011-10-27 Contract charging system based on hash table technology

Country Status (1)

Country Link
CN (1) CN103092845A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106600219A (en) * 2016-12-02 2017-04-26 广州支点网络科技股份有限公司 Partner relationship grouping method and system thereof
JP2022078115A (en) * 2016-04-29 2022-05-24 エヌチェーン ホールディングス リミテッド Method and system for controlling performance of contract using distributed hash table and peer-to-peer distributed ledger

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080021908A1 (en) * 2006-07-20 2008-01-24 Barrett Alan Trask Synchronization and dynamic resizing of a segmented linear hash table
CN101331496A (en) * 2005-12-15 2008-12-24 国际商业机器公司 System and method for associating security information with information objects in a data processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101331496A (en) * 2005-12-15 2008-12-24 国际商业机器公司 System and method for associating security information with information objects in a data processing system
US20080021908A1 (en) * 2006-07-20 2008-01-24 Barrett Alan Trask Synchronization and dynamic resizing of a segmented linear hash table

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
贺广武等: "基于P2P技术的电站监控系统分布式数据库", 《水电自动化与大坝监测》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2022078115A (en) * 2016-04-29 2022-05-24 エヌチェーン ホールディングス リミテッド Method and system for controlling performance of contract using distributed hash table and peer-to-peer distributed ledger
JP7381625B2 (en) 2016-04-29 2023-11-15 エヌチェーン ライセンシング アーゲー Method and system for controlling contract execution using distributed hash table and peer-to-peer distributed ledger
CN106600219A (en) * 2016-12-02 2017-04-26 广州支点网络科技股份有限公司 Partner relationship grouping method and system thereof

Similar Documents

Publication Publication Date Title
US9305275B2 (en) Platform for rapid development of applications
US8650043B1 (en) Semantic model for insurance software components
CN105512790A (en) Integrated operation and maintenance management system
CN105303364A (en) B/S framework based manufacturing enterprise office automation system
CN105446991A (en) Data storage method, query method and device
CN106131203A (en) A kind of automatic customer service system for electronic commerce
CN101866460A (en) Application platform system of tobacco commercial system
CN102819767A (en) Complaining and suggesting system and method based on intelligent mobile communication equipment
CN102364894A (en) Issuing method for configuration data file and network management equipment
CN104021450A (en) Conglomerate statement management method and device
CN104580446A (en) Cloud service real-time charging and managing system oriented to OpenStack open source cloud platform
US9123006B2 (en) Techniques for parallel business intelligence evaluation and management
CN101552701A (en) Method, system and device for recording parameter maintenance variation
CN104142930A (en) Universal Delta data loading technology
CN102722769A (en) Experimental data processing system and method
CN101576922B (en) Access system and access method
CN103077019A (en) Batch maintenance method and device for graphical parameters
CN102075896B (en) Price previewing method and system
CN102724290B (en) Method, device and system for getting target customer group
CN103092845A (en) Contract charging system based on hash table technology
CN102868762A (en) Cloud storage based stocking-selling-storing system
CN102646119B (en) Method for realizing integration of standardized system and information system
CN111415067A (en) Enterprise and personal credit rating system
CN108205729A (en) A kind of EPR enterprise management systems
CN102456182A (en) Data integration method based on index technique

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130508