CN102999581A - Large-user-amount data access and real-time ordering system applied to service - Google Patents

Large-user-amount data access and real-time ordering system applied to service Download PDF

Info

Publication number
CN102999581A
CN102999581A CN2012104576285A CN201210457628A CN102999581A CN 102999581 A CN102999581 A CN 102999581A CN 2012104576285 A CN2012104576285 A CN 2012104576285A CN 201210457628 A CN201210457628 A CN 201210457628A CN 102999581 A CN102999581 A CN 102999581A
Authority
CN
China
Prior art keywords
user
module
data access
data
real
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012104576285A
Other languages
Chinese (zh)
Other versions
CN102999581B (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.)
BEIJING BEWINNER COMMUNICATIONS TECHNOLOGY Co Ltd
Original Assignee
BEIJING BEWINNER COMMUNICATIONS TECHNOLOGY 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 BEIJING BEWINNER COMMUNICATIONS TECHNOLOGY Co Ltd filed Critical BEIJING BEWINNER COMMUNICATIONS TECHNOLOGY Co Ltd
Priority to CN201210457628.5A priority Critical patent/CN102999581B/en
Publication of CN102999581A publication Critical patent/CN102999581A/en
Application granted granted Critical
Publication of CN102999581B publication Critical patent/CN102999581B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a large-user-amount data access and real-time ordering system applied to services. The system is connected with a new user and an access user and comprises a data storage module, a data access module and a real-time data ordering module. By utilizing the system, the problem of efficiency in large-user-amount data access and real-time ordering in value added services is solved.

Description

Be used for the business large user and measure data access and real-time ordering system
Technical field
The present invention relates to the mobile communication business field, specifically, the present invention relates to measure data access and real-time ordering system for the business large user.
Background technology
Handle in the value-added service in mobile communication at present, the customer volume of participation is very large, and when certain user data information of access, all participate in the rank among the user in whole activity also to need to obtain this user.
Large user commonly used measures data access and mainly relies on database, namely relies on the data base querying user data.Be roughly when the needs sorting data, rely on database inverted order or descending to travel through the current place of user sequence number, carry out the inquiry of user data.The shortcoming of above-mentioned this mode is that the method that adopts is slow, and efficient is also lower.Can't satisfy people to inquiry velocity and result's visiting demand.
Therefore, how solving in the above-mentioned business large user measures the contents such as data access and in real time ordering and just becomes the technical matters that needs to be resolved hurrily.
Summary of the invention
The present invention relates to a kind ofly measure data access and real-time ordering system for the business large user, measure data access and the real-time efficiency of ordering to solve in value-added service the large user.
In order to address the above problem, the invention provides and a kind ofly measure data access and real-time ordering system for the business large user, be connected with the calling party end with new user side, this system comprises: data memory module, Data access module and real time data order module; Wherein,
Described data memory module, couple mutually with new user side, Data access module, be used for the space of the number of users value application that sends according to new user side and create memory pool with space address, also sort in real time simultaneously, then indicate described Data access module;
Described Data access module, couple mutually with described data memory module and real time data order module, after being used for receiving the indication of described data memory module, this user's datarams address is searched and located to the user's of containing in the accessing request information according to the calling party end number information in described data memory module, and this datarams address is sent to described real time data order module;
Described real time data order module couples mutually with described Data access module, for this user's who obtains according to Data access module the sequence number of this user of datarams address location in all users.
Further, wherein, described user's number information is for being at least 11 number.
Further, wherein, the number information that described Data access module also is used for the fractionation user is index and value part.
Compared with prior art, of the present inventionly measure data access and real-time ordering system for the business large user, realized following effect:
1, realized that the large user measures the data fast access, improved business processing speed.
2, when using internal memory, can directly in memory pool, obtain, need not go again the operating system application.
3, because a stored memory address in the station address tabulation, so that it takes up room is little, it is high to insert efficient.
4, once apply for than provisional application is single in use, can reducing the memory fragmentation of system by a plurality of memory headrooms in batches, improve the Installed System Memory service efficiency.
5, calculate fast the rank of user in all users, speed is fast, need not travel through one by one according to the order of sequence.
Description of drawings
Fig. 1 is the embodiment of the invention one described structured flowchart of measuring data access and real-time ordering system for the business large user.
Embodiment
Censure specific components as in the middle of instructions and claim, having used some vocabulary.Those skilled in the art should understand, and hardware manufacturer may be called same assembly with different nouns.This specification and claims are not used as distinguishing the mode of assembly with the difference of title, but the criterion that is used as distinguishing with the difference of assembly on function.Be an open language such as " comprising " mentioned in the middle of instructions and the claim in the whole text, so should be construed to " comprise but be not limited to ".Refer in acceptable error range that " roughly " those skilled in the art can solve the technical problem, and substantially reach described technique effect in the certain error scope.In addition, " couple " word and comprise any means that indirectly are electrically connected that directly reach at this.Therefore, be coupled to one second device if describe a first device in the literary composition, then represent described first device and can directly be electrically connected at described the second device, or indirectly be electrically connected to described the second device by other devices or connection means.The instructions subsequent descriptions is for implementing preferred embodiments of the present invention, and right described description is to illustrate that rule of the present invention is purpose, is not to limit scope of the present invention.Protection scope of the present invention is as the criterion when looking the claims person of defining.
Below in conjunction with accompanying drawing the present invention is described in further detail, but not as a limitation of the invention.
As shown in Figure 1, measure data access and real-time ordering system for the embodiment of the invention is described for the business large user, be connected with the calling party end with new user side, this system comprises: data memory module 101, Data access module 102 and real time data order module 103; Wherein,
Described data memory module 101, couple mutually with new user side, Data access module 102, be used for the space of the number of users value application that sends according to new user side and create memory pool with space address, also sort in real time simultaneously, then indicate described Data access module 102.
Here when the memory pool that creates with space address, comprise: at first carry out the memory pool initialization, the size of then applying for internal memory is determined according to the business activity participating user quantity of estimating, when the memory pool space when preseting lower limit, apply for that again the internal memory that specifies number adds memory pool to, this predefined lower limit is artificial setting, and its value is not done concrete restriction.
For example, the quantity that may participate in the user is 1000000 users, and pre-first to file 100000 user storage space then are along with the user participates in business, when memory pool remaining space number less than 1000 the time, can apply for again that at this time 10000 user storage space join memory pool.The internal memory that has used that from memory pool, obtains out, memory pool is no longer managed this internal memory, partly is responsible for release by user index; When memory pool discharges, only discharge the memory headroom that does not have use.
When described data memory module 101 receives the access request data of new user side transmission, described data memory module 101 is used for obtaining the memory headroom identical with the size of data that will store from described memory pool, and described access request data stored into, then the memory address of this access request data Subscriber Number according to this user is written in the user index, forms this user data memory address; Particularly, described user index with Subscriber Number after 4 as index, the user data memory address that all index values are identical stores together.Such as list memory address, index 0001 back storage user be: 13812340001,13912340001,13956780001.According to the class data item in user's the data item real-time ordering part is set again, namely front 7 according to Subscriber Number arrange real-time ordering part, and this in real time ordering part comprises the interval tabulation of such data item and the user data memory address tabulation of corresponding each interval tabulation.
Wherein, the interval of described such data item tabulation comprises: the minimum value of such data item and maximal value, and basic interval number threshold value that should the interval tabulation, and simultaneously, described real-time ordering partly also is provided with maximum storage user number threshold value; This user data memory address that forms is stored in the described real-time ordering part.Particularly, which interval tabulation is new user's sorting data item value be positioned in according to the minimum value in the tabulation of interval and maximal value, the user data memory address of this interval tabulation also is to arrange according to order item data value order or inverted order, new user's order item value can use the binary chop method to locate fast its insertion position, user data memory address tabulation of finishing each interval tabulation with Subscriber Number front 7 according to arranged sequentially from small to large.For example, the internal storage data item partial section three that sorts in real time is: [40,400], namely should the interval user data in the minimum value of sorting data item be 40, maximal value is 400; The basic interval number threshold value 4 of this interval tabulation should interval user's number be 4 namely; User list order item value sequentially is: 40,100,134,400; (this user's sorting data item value is: when 200) inserting when new user data, should be inserted into interval three according to this user of tabulation location, interval first, because 200 minimum value 40 in interval three are between the maximal value 400, again according to user's clooating sequence in the interval three, determine that with the binary chop method its insertion position is the 3rd in the tabulation, last order is: 40,100,134,200,400.
Described Data access module 102, couple mutually with described data memory module 101 and real time data order module 103, after being used for receiving the indication of described data memory module 101, the user's of containing in the accessing request information according to the calling party end number information searches and locates this user's datarams address in described data memory module 101, and this datarams address is sent to described real time data order module 103.
In addition, described Data access module 102 is index and value part for the number information that splits the user also.
As: 13812340001 index are 0001, and value is 1381234.According to index 0001, consumer positioning tabulation is used binary chop according to 1381234 in user list in the user data index, unique this user's of location datarams address, and this datarams address sent to described real time data order module 103.
Described real time data order module 103 couples mutually with described Data access module 102, is used for the sequence number of this user of datarams address location in all users according to this user of Data access module 102 acquisitions.
Particularly, described real time data order module 103 proceeds as follows:
At first locate its interval according to the order item value in the interval tabulation, locate this user in this interval sequence number according to order item value and station address value again in this interval user list, end user's sequence number is: all user's number+current interval sequence numbers before this interval.Such as 13812340002 users, its order item value is 100,100 in interval 3, and 100 sequence numbers in interval 3 are 2, all user's numbers of interval 3 fronts are: the interval 1:4+interval 2:4 of 8(is individual), therefore 13812340002 users sequence number in all users is 8+2=10.
When user's sorting data item value, when namely Subscriber Number changed, its ordering sequence number in all users may change.Therefore need to rebuild its position in real time ordering part.Generally be according to its history value (sorting data item value change before value), this user is deleted from real-time ordering part, then do insertion according to new value.The number of ordering partial section can adjust according to actual each interval storage user number in real time.Storage user number can be set several threshold values in the interval: maximum storage number, basic interval number.After certain interval user's number reaches the maximum storage number, change back in the interval (maximum storage number-basic interval number) user over to next interval, change simultaneously minimum value, maximal value, interval user's number in this interval and a rear interval, realize that real-time sorting data sequentially increases.
Wherein, in the present embodiment, user data storage is obtained from memory pool, and in whole business activity process, this memory headroom invariant position when user data changes, is only changed the value of certain data item in this space.The user data access index can be according to the quick consumer positioning data storage location of Subscriber Number.When user data order item value changes, upgrade in real time ordering partial data.Especially, user data index and in real time ordering part are all only stored the user data memory address.In the middle of business was carried out, user's memory address did not change.
Compared with prior art, of the present inventionly measure data access and real-time ordering system for the business large user, realized following effect:
1, realized that the large user measures the data fast access, improved business processing speed.
2, when using internal memory, can directly in memory pool, obtain, need not go again the operating system application.
3, because a stored memory address in the station address tabulation, so that it takes up room is little, it is high to insert efficient.
4, once apply for than provisional application is single in use, can reducing the memory fragmentation of system by a plurality of memory headrooms in batches, improve the Installed System Memory service efficiency.
5, calculate fast the rank of user in all users, speed is fast, need not travel through one by one according to the order of sequence.
Certainly; the present invention also can have other various embodiments; in the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.

Claims (3)

1. one kind is used for the business large user and measures data access and real-time ordering system, is connected with the calling party end with new user side, and this system comprises: data memory module, Data access module and real time data order module; Wherein,
Described data memory module, couple mutually with new user side, Data access module, be used for the space of the number of users value application that sends according to new user side and create memory pool with space address, also sort in real time simultaneously, then indicate described Data access module;
Described Data access module, couple mutually with described data memory module and real time data order module, after being used for receiving the indication of described data memory module, this user's datarams address is searched and located to the user's of containing in the accessing request information according to the calling party end number information in described data memory module, and this datarams address is sent to described real time data order module;
Described real time data order module couples mutually with described Data access module, for this user's who obtains according to Data access module the sequence number of this user of datarams address location in all users.
2. as claimed in claim 1ly measure data access and real-time ordering system for the business large user, it is characterized in that, described user's number information is for being at least 11 number.
3. as claimed in claim 1ly measure data access and real-time ordering system for the business large user, it is characterized in that, the number information that described Data access module also is used for splitting the user is index and value part.
CN201210457628.5A 2012-11-14 2012-11-14 Measure data access and real-time ordering system for business large user Expired - Fee Related CN102999581B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210457628.5A CN102999581B (en) 2012-11-14 2012-11-14 Measure data access and real-time ordering system for business large user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210457628.5A CN102999581B (en) 2012-11-14 2012-11-14 Measure data access and real-time ordering system for business large user

Publications (2)

Publication Number Publication Date
CN102999581A true CN102999581A (en) 2013-03-27
CN102999581B CN102999581B (en) 2016-05-11

Family

ID=47928149

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210457628.5A Expired - Fee Related CN102999581B (en) 2012-11-14 2012-11-14 Measure data access and real-time ordering system for business large user

Country Status (1)

Country Link
CN (1) CN102999581B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199895A (en) * 2014-08-26 2014-12-10 河南中医学院 Big data real-time sorting processor based on two-memory system
CN104715006A (en) * 2013-12-16 2015-06-17 速锐科技有限公司 System and method for array-based data storage and search
CN108628892A (en) * 2017-03-21 2018-10-09 北京京东尚科信息技术有限公司 Method, apparatus, electronic equipment and the readable storage medium storing program for executing of ordered data storage

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855881A (en) * 2005-04-28 2006-11-01 华为技术有限公司 Method for dynamically sharing space of memory
WO2007020121A1 (en) * 2005-08-17 2007-02-22 International Business Machines Corporation Maintaining an aggregate including active files in a storage pool in a random access medium
CN101093482A (en) * 2006-06-19 2007-12-26 上海全成通信技术有限公司 Method for storing and retrieving mass information
CN101483844A (en) * 2009-02-12 2009-07-15 北京阳光加信科技有限公司 Method and system for indexing mobile telephone number
CN101582092A (en) * 2009-06-12 2009-11-18 中兴通讯股份有限公司 Method and device for realizing the store of date in memory
CN101706815A (en) * 2009-12-03 2010-05-12 北京和利时系统工程有限公司 Database equipment and system
CN102541925A (en) * 2010-12-21 2012-07-04 中国移动通信集团山西有限公司 Method and device for rapidly storing and retrieving detailed tickets

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1855881A (en) * 2005-04-28 2006-11-01 华为技术有限公司 Method for dynamically sharing space of memory
WO2007020121A1 (en) * 2005-08-17 2007-02-22 International Business Machines Corporation Maintaining an aggregate including active files in a storage pool in a random access medium
CN101093482A (en) * 2006-06-19 2007-12-26 上海全成通信技术有限公司 Method for storing and retrieving mass information
CN101483844A (en) * 2009-02-12 2009-07-15 北京阳光加信科技有限公司 Method and system for indexing mobile telephone number
CN101582092A (en) * 2009-06-12 2009-11-18 中兴通讯股份有限公司 Method and device for realizing the store of date in memory
CN101706815A (en) * 2009-12-03 2010-05-12 北京和利时系统工程有限公司 Database equipment and system
CN102541925A (en) * 2010-12-21 2012-07-04 中国移动通信集团山西有限公司 Method and device for rapidly storing and retrieving detailed tickets

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104715006A (en) * 2013-12-16 2015-06-17 速锐科技有限公司 System and method for array-based data storage and search
CN104715006B (en) * 2013-12-16 2018-04-27 速锐科技有限公司 For the data storage based on array and the system and method for search
CN104199895A (en) * 2014-08-26 2014-12-10 河南中医学院 Big data real-time sorting processor based on two-memory system
CN104199895B (en) * 2014-08-26 2017-04-26 河南中医学院 Big data real-time sorting processor based on two-memory system
CN108628892A (en) * 2017-03-21 2018-10-09 北京京东尚科信息技术有限公司 Method, apparatus, electronic equipment and the readable storage medium storing program for executing of ordered data storage
CN108628892B (en) * 2017-03-21 2020-11-20 北京京东尚科信息技术有限公司 Method and device for storing ordered data, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN102999581B (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN111176976B (en) Test data generation method and device, storage medium and electronic device
CN107404481B (en) User information recognition methods and device
CN102750629B (en) Schedule association method and device
CN107147501A (en) Timestamp processing method and processing device
CN108197285A (en) A kind of data recommendation method and device
CN106469413B (en) Data processing method and device for virtual resources
CN104486143B (en) A kind of deep message detection method, detecting system
CN102769691A (en) Prompt method of new message and communication terminal
CN109921977A (en) Information processing method, apparatus and system based on instant messaging
CN109213758B (en) Data access method, device, equipment and computer readable storage medium
CN103580939A (en) Method and device for detecting abnormal messages based on account number attributes
CN111125118B (en) Associated data query method, device, equipment and medium
CN105530272A (en) Method and device for application data synchronization
CN104750760A (en) Application software recommending method and device
CN102142035A (en) Method and equipment for sequencing multiple character information records
CN104484486A (en) Information recommending method and electronic device
CN102999581A (en) Large-user-amount data access and real-time ordering system applied to service
CN108874950A (en) A kind of distributed data storage method and device based on ER relationship
CN108648017B (en) User requirement matching method, device, equipment and storage medium easy to expand
CN104252541B (en) A kind of webpage information method for pushing, data server and terminal
CN109597804A (en) Client's merging method and device, electronic equipment and storage medium based on big data
CN108833467A (en) A kind of application method for pushing, equipment, storage medium and system
CN105554785B (en) A kind of group technology and device
CN104504051A (en) Input prompt method, input prompt device and terminal
CN106294539A (en) Data directory list storage strategy under mixed cloud environment

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160511

Termination date: 20201114

CF01 Termination of patent right due to non-payment of annual fee