CN101610486A - A kind of short message service (SMS) data processing method and system - Google Patents

A kind of short message service (SMS) data processing method and system Download PDF

Info

Publication number
CN101610486A
CN101610486A CNA2009101521452A CN200910152145A CN101610486A CN 101610486 A CN101610486 A CN 101610486A CN A2009101521452 A CNA2009101521452 A CN A2009101521452A CN 200910152145 A CN200910152145 A CN 200910152145A CN 101610486 A CN101610486 A CN 101610486A
Authority
CN
China
Prior art keywords
business datum
service
file
datum file
module
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
CNA2009101521452A
Other languages
Chinese (zh)
Other versions
CN101610486B (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.)
Bai Donghua
Qi Lili
Xue Hailong
Yang Lan
Zhang Junhong
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN200910152145A priority Critical patent/CN101610486B/en
Priority to PCT/CN2009/075576 priority patent/WO2011006334A1/en
Publication of CN101610486A publication Critical patent/CN101610486A/en
Application granted granted Critical
Publication of CN101610486B publication Critical patent/CN101610486B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of short message service data processing method and system, be used for solving technical problems such as prior art is low to the short message service (SMS) data treatment effeciency, autgmentability difference.The present invention concentrates the business datum file that forms textual form with the service handling information of scattered short-message users and is saved under the specified services path; Under the specified services path, read described business datum file, described business datum file is handled, the business datum after handling is saved in the Service Database, and the synchronizing traffic data after will handling is in the memory database of service processor.User's acceptance method reliability height that native system provides, strong, the favorable expandability of ease for use.

Description

A kind of short message service (SMS) data processing method and system
Technical field
The present invention relates to short-message system, relate in particular to a kind of end message service data processing method and system.
Background technology
Along with the continuous expansion of China's mobile communications network scale, mobile subscriber's development is very rapid.The mobile subscriber is in high speed development, and is also more and more higher to the demand of mobile communication business, and the user has been not limited to and has carried out basic call function, more needs to bring into play as some business such as short message service, MMS, CRBT the advantage of mobile communication.Short message service can be thought the simplest and data communication mode easily, and it does not need additional other comparatively huge data terminal equipments, only uses mobile phone just can reach the purpose of carrying out the Chinese and English information interchange.Short message service has replaced beep-pager, can automatic roaming, need not artificial registration, even the other side's mobile phone is in conversation, short message also can receive in real time, can not resemble the phone and can't connect because the line is busy, no matter the other side has shut down or out of reach, as long as it is started shooting once more or comes back in the service area, can receive the short message that others sends at once, the guarantee information transmission is more reliable, more press close to people's oneself interchange, point-to-point message transmission, information privacy is strong, self characteristics according to short message service, its technology is advanced, therefore professional advantage is apparent in view, under the prerequisite of continuous perfect system function and reinforcement service propaganda, short message service will be subjected to user's favor, current social popularity a kind of new fashion, be referred to as " thumb culture ", although always thumb is considered to the most clumsy finger in five fingers, but because the appearance of short message has changed its historical role, we can see the people of transmission note on the job everywhere, and market prospects are wide, and mobile operator just more and more profoundly realizes the rapid growth of short message service, and its income of bringing, allowing the mobile subscriber customize short message service easily becomes instant thing.And existing technology can only be safeguarded unique user information, perhaps can only safeguard the user profile of whole section.When user data in enormous quantities need be handled, that traditional user data processing method does not obviously satisfy was real-time, convenient, the demand of personalization and reliability.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of short message service (SMS) data processing method and system, is used for solving prior art, technological deficiency such as, autgmentability difference low to the short message service treatment effeciency.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of short message service (SMS) data processing method comprises:
The service handling information of short-message users is formed the business datum file and be saved under the specified services path;
Under the specified services path, read described business datum file, described business datum file is handled, and the business datum after will handling is saved in the Service Database.
Synchronizing traffic data after will handling when further, the business datum after will handling is saved in the Service Database is in the memory database of service processor.
Further, described business datum file adopts the text form; Described service handling information comprises the service handling information of normal users and black list user's service handling information; In described business datum file,, can both customize the business datum of oneself at each user.
Further, when the check mark section business is handled, number section business data are converted to the record corresponding with unique user deposit in the middle of the described business datum file, system carries out batch process to the record in the business datum file.
Further, described business datum file handled comprised:
Whether the file name of judging described business datum file compliant, if meet then it is carried out subsequent treatment, if do not meet the processing that then stops this business datum file;
Judge whether record format, Subscriber Number and the customer service attribute of the business record in the described business datum file meet the business rule of setting, then carry out in-stockroom operation if meet, otherwise next bar business record of log reprocessing.
Further, described business datum file handled comprised:
Judge whether described business datum file has had the history of processing, handle progress record, continue to handle since the breakpoint place that handled last time if then read the history of this business datum file; Otherwise start anew to handle; Real time record is handled progress record in the process that the business datum file content is handled.
Based on said method, the present invention proposes a kind of short message service (SMS) data treatment system, and for reaching this purpose, technical scheme of the present invention is achieved in that
Service scripts forms module, is used for service handling information with short-message users and forms the business datum file and be saved under the specified services path;
Service Processing Module is used for reading described business datum file under the specified services path, described business datum file is handled, and the business datum after will handling is saved in the Service Database.
Further, described system also comprises: synchronization module is used for the business datum after handling is synchronized in real time the memory database of service processor.
Further, described Service Processing Module comprises:
The rule judgment module, whether the record format, Subscriber Number and the customer service attribute that are used for title, business datum file to the business datum file meet business rule is judged, carries out if meet then the historical judge module of notifier processes; Otherwise the notice logger module is carried out;
Handle historical judge module, be used to judge whether described business datum file has had the history of processing, if then the notifier processes position determination module is carried out, otherwise notice is gone into the library module execution;
Handle position determination module, be used for existing the history that reads this business datum file under the situation of handling history to handle progress record, work as the pre-treatment position and be set to the historical position of handling; Work as the original position that the pre-treatment position is set to the business datum file when not existing processing historical, notice is gone into the library module execution then;
Go into library module, be used for the business datum that meets business rule is carried out in-stockroom operation;
Logger module is used for according to the judged result of rule judgment module or goes into the result log of library module.
Business datum file of the present invention adopts easily expands, handles text mode flexibly; Provide short message user and black list user's the function of opening an account, revise, deleting, effectively compatible former all subscription and unsubscription functions of system of opening an account comprehensively; The all short message users and the business datum of blacklist all in time are synchronized to the memory bank of short message service center after depositing database in, user data can be updated in time, and user property can in time come into force; Action type is distinguished by operation flag by system, at each user in the business datum file, can both customize the business information of oneself, having solved traditional short message receiving system can only increase in batches according to number section, revise the problem of user profile, and solved the problem that traditional short message receiving system can not personalized each customer service; The compatible tradition section of the present invention is opened an account, but the colon section is more flexible, and support section blacklist.
Description of drawings
Fig. 1 is a short message service (SMS) data process chart of the present invention;
Fig. 2 is a short message service (SMS) data treatment system structure chart of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, by the following examples and with reference to accompanying drawing, the present invention is described in more detail.
Fig. 1 is the flow chart of business data processing of the present invention, and service attribute that the present invention can the batch process normal users or black list user's service attribute comprise user's increase, revises and operation such as deletion action.
Step 101: the service handling information of short-message users is concentrated the business datum file that forms textual form;
It is professional corresponding that described service handling information and system are supported, for example for the business of normal users, can comprise user's the business datum of opening an account, the modification business datum of user profile, deletion user's business datum, corresponding black list user can comprise the business datum of the business datum that increases blacklist, the business datum of revising blacklist and deletion blacklist.Described business datum file can come the differentiated service type by filename, and it is current in the business of handling which kind of type by certain naming rule system can be discerned.
Each bar record in the business datum file is corresponding to a short message user's a business operation, in the business datum file at each user, can both customize the business information of oneself, having solved traditional short message receiving system can only increase, revise the problem of user profile in batches according to number section, and has solved the technical problem that traditional short message receiving system can not each customer service of personalized customization;
The present invention adopts the text mode to come storage service to accept information, and text file can be generated automatically by other system form by appointment, but also hand-coding.The form of business datum record is arranged in system in the text.
Type of service when pre-treatment is distinguished by the title of business datum file by system; Described type of service comprises opening an account, revise, deleting of short message user and black list user.
The present invention can be according to the different field demand customization text formatting of opening an account, and does not influence between mutually.The file directory level can dispose voluntarily according to on-the-spot resource.
Step 102: the business datum file is uploaded under the service path of appointment by file transfer protocol (FTP) ftp mode;
Except that by also using other protocol mode to upload the business datum file the ftp mode.
Step 103: after uploading to the business datum file under the specified services path, system can detect whether new business datum file is arranged under this service path by self-timing, if then execution in step 104 is arranged; Otherwise finish;
Also can mate the business datum file, thereby realize carrying out different business operations, and avoid file illegal or that do not meet standard is handled according to different file types according to the file designation rule.
Step 104: judged whether the processing historical record, if execution in step 105 then; Otherwise execution in step 106;
May be in the system handles process because of the processing procedure of abnormal conditions interrupting service data file, in order to address this is that, the current processing file of real time record of the present invention reaches the processing position when the pre-treatment file, at system restoration just often, system can continue to begin to carry out from breakpoint according to handling historical record.
Step 105: the processing position of reading interruption last time from handle historical record is as current initiated process position, and execution in step 107 then;
Step 106: the initiated process position is made as starts anew; Promptly from article one recording start;
Step 107: from professional data file, read a business datum record, to verifying, judge whether to meet business norms, if compliant execution in step 108 then when the business datum of pre-treatment record according to data format definition, professional constraints etc.; Otherwise execution in step 111;
Business norms of the present invention comprise:
(1) record format of business datum record compliant whether, for example whether requirement of compliance with system such as field number, separator;
(2) whether the field attribute of business datum record meets business rule, and for example whether the value of the figure place of Subscriber Number, each field is in the scope of business constraint or the like;
(3) condition of a certain business of execution is as carrying out a certain business at such user according to user property;
For example certain areas only allow the prepaid user is put in storage processing, then need Subscriber Number is analyzed before warehouse-in, then allow warehouse-in if number is the prepaid user, otherwise refusal and misregistration daily record.
Step 108: from professional data file, extract a record, carry out in-stockroom operation;
In this step, user or blacklist information are write database according to operation flag, operation flag is given by system, and for example 0 expression increases, and 1 expression is revised, 2 expression deletions etc.The default action type can be arranged, for example do not have operation flag and then represent to increase.In the business datum file, can be by above-mentioned sign at each user in the business datum file, can both customize the business information of oneself, having solved traditional short message receiving system can only increase in batches according to number section, revise the problem of user profile, and solved the problem that traditional short message receiving system can not personalized each customer service;
The compatible tradition section business of the present invention, but the colon section is more flexible, when the check mark section business is handled, the present invention general's section business data are converted to many records corresponding with unique user and deposit in the middle of the described business datum file, and system carries out the processing of batch one by one to the record in the business datum file.For example traditional blacklist is opened an account and is not supported number section blacklist, goes into the blacklist storehouse if will realize whole number segment, then needs the manual mode that repeats to import one number and select the blacklist attribute to submit on the interface to realize.Text open an account in batches then can the section of the number of realization relatively easily blacklist function.For example can be by fast section being converted to one number and writing file by the text edit tool, system can discern this document automatically and blacklist is put in storage.The tradition blacklist is not supported " forever " blacklist, and the text mode of opening an account in batches then can be supported, just can solve as long as the blacklist time is set to infinity.
Step 109: judge whether warehouse-in is successful, if successful then execution in step 110; Otherwise execution in step 111;
Step 110: will put data sync in storage in the middle of memory database; Described memory database refers to reside in the online transaction processing system database in the internal memory, be used to improve the processing speed of front-end business processor, undertaken synchronously by certain cycle according to business demand between itself and the background data base, if but can cause synchronizing cycle the business datum of current warehouse-in in time not coming into force than length, the present invention is behind the in-stockroom operation of the background data base of finishing business datum, at once it is synchronized to memory database, postpones thereby reduce.
Step 111: write down current execution journal;
Log record of the present invention comprises Subscriber Number, operation flag, execution result, failure cause or the like.
The present invention can accurately navigate to the number of the success of not opening an account according to log record when system exception, and can open an account once more at these numbers.
Step 112: record is worked as the pre-treatment position as historical record;
Step 113: judge whether the record in the business datum file disposes, if be untreated the then execution in step 107 that finishes; Otherwise execution in step finishes to carry out.
Fig. 2 is a short message service (SMS) data treatment system structure chart of the present invention, comprises that service scripts forms module, Service Processing Module, synchronization module.
Service scripts formation module is used for the service handling information formation business datum file of short-message users and is saved under the specified services path; Described service handling information comprises the service handling information of normal users and black list user's service handling information; In the business datum file,, can both customize the business information of oneself at each user.
Service Processing Module is used for reading described business datum file under the specified services path, and described business datum file is handled, and the business datum after handling is saved in the Service Database; Service Processing Module further comprises the rule judgment module, handles historical judge module, handles position determination module, goes into library module and logger module etc.The rule judgment module is used for whether the record format of the title of business datum file, business datum file, Subscriber Number and customer service attribute are met business rule to be judged, then notifies library module to carry out if meet; Otherwise the notice logger module is carried out; Going into library module is used for the business datum that meets business rule is carried out in-stockroom operation; Logger module is used for according to the judged result of rule judgment module or goes into the result log of library module.Handle historical judge module, be used to judge whether described business datum file has had the history of processing; Handle position determination module, be used for existing the history that reads this business datum file under the situation of handling history to handle progress record, work as the pre-treatment position and be set to handle the position from history; When not existing processing historical, work as the original position that the pre-treatment position is set to the business datum file.When the check mark section business is handled, form module by service scripts and the section business data are converted to the record corresponding with unique user deposit in the middle of the described business datum file, by Service Processing Module batch process carried out in the record in the business datum file.
Synchronization module is used for the business datum after handling is synchronized in real time the memory database of service processor.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention.

Claims (10)

1, a kind of short message service (SMS) data processing method is characterized in that, comprising:
The service handling information of short-message users is formed the business datum file and be saved under the specified services path;
Under the specified services path, read described business datum file, described business datum file is handled, and the business datum after will handling is saved in the Service Database.
2, method according to claim 1 is characterized in that, the synchronizing traffic data after will handling when the business datum after will handling is saved in the Service Database is in the memory database of service processor.
3, method according to claim 2 is characterized in that, described business datum file adopts the text form; Described service handling information comprises the service handling information of normal users and black list user's service handling information; In described business datum file,, can both customize the business datum of oneself at each user.
4, method according to claim 3, it is characterized in that, when the check mark section business is handled, number section business data are converted to the record corresponding with unique user deposit in the middle of the described business datum file, system carries out batch process to the record in the business datum file.
5, method according to claim 1 is characterized in that, described business datum file is handled comprise:
Whether the file name of judging described business datum file compliant, if meet then it is carried out subsequent treatment, if do not meet the processing that then stops this business datum file;
Judge whether record format, Subscriber Number and the customer service attribute of the business record in the described business datum file meet the business rule of setting, then carry out in-stockroom operation if meet, otherwise next bar business record of log reprocessing.
6, method according to claim 1 is characterized in that, described business datum file is handled comprise:
Judge whether described business datum file has had the history of processing, handle progress record, continue to handle since the breakpoint place that handled last time if then read the history of this business datum file; Otherwise start anew to handle; Real time record is handled progress record in the process that the business datum file content is handled.
7, a kind of short message service (SMS) data treatment system is characterized in that, comprising:
Service scripts forms module, is used for service handling information with short-message users and forms the business datum file and be saved under the specified services path;
Service Processing Module is used for reading described business datum file under the specified services path, described business datum file is handled, and the business datum after will handling is saved in the Service Database.
8, system according to claim 7 is characterized in that, described system also comprises:
Synchronization module is used for the business datum after handling is synchronized in real time the memory database of service processor.
9, system according to claim 8 is characterized in that, described service handling information comprises the service handling information of normal users and black list user's service handling information; In described business datum file,, can both customize the business information of oneself at each user; When the check mark section business is handled, form module by service scripts and the section business data are converted to the record corresponding with unique user deposit in the middle of the described business datum file, by Service Processing Module batch process carried out in the record in the business datum file.
10, system according to claim 9 is characterized in that, described Service Processing Module comprises:
The rule judgment module, whether the record format, Subscriber Number and the customer service attribute that are used for title, business datum file to the business datum file meet business rule is judged, carries out if meet then the historical judge module of notifier processes; Otherwise the notice logger module is carried out;
Handle historical judge module, be used to judge whether described business datum file has had the history of processing, if then the notifier processes position determination module is carried out, otherwise notice is gone into the library module execution;
Handle position determination module, be used for existing the history that reads this business datum file under the situation of handling history to handle progress record, work as the pre-treatment position and be set to the historical position of handling; Work as the original position that the pre-treatment position is set to the business datum file when not existing processing historical, notice is gone into the library module execution then;
Go into library module, be used for the business datum that meets business rule is carried out in-stockroom operation;
Logger module is used for according to the judged result of rule judgment module or goes into the result log of library module.
CN200910152145A 2009-07-14 2009-07-14 Short message service (SMS) data processing method and system Expired - Fee Related CN101610486B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN200910152145A CN101610486B (en) 2009-07-14 2009-07-14 Short message service (SMS) data processing method and system
PCT/CN2009/075576 WO2011006334A1 (en) 2009-07-14 2009-12-14 Method and system for processing short message service data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910152145A CN101610486B (en) 2009-07-14 2009-07-14 Short message service (SMS) data processing method and system

Publications (2)

Publication Number Publication Date
CN101610486A true CN101610486A (en) 2009-12-23
CN101610486B CN101610486B (en) 2012-10-10

Family

ID=41484018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910152145A Expired - Fee Related CN101610486B (en) 2009-07-14 2009-07-14 Short message service (SMS) data processing method and system

Country Status (2)

Country Link
CN (1) CN101610486B (en)
WO (1) WO2011006334A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273449A (en) * 2017-05-27 2017-10-20 北京思特奇信息技术股份有限公司 A kind of breakpoint processing method and system based on memory database

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7283830B2 (en) * 2002-01-29 2007-10-16 Motricity, Inc. Wireless device hub system and method
CN101039212B (en) * 2006-03-15 2010-11-03 中兴通讯股份有限公司 Fast data storage method
CN101094026A (en) * 2006-06-19 2007-12-26 上海全成通信技术有限公司 Method for synchronizing, transmitting mass data, and inputting mass data to database
CN101141754B (en) * 2006-09-05 2010-05-12 中兴通讯股份有限公司 Value-added service analysis system and method thereof
CN100461891C (en) * 2006-09-08 2009-02-11 华为技术有限公司 System for processing numbers and processing method in service of sending grouped short message

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273449A (en) * 2017-05-27 2017-10-20 北京思特奇信息技术股份有限公司 A kind of breakpoint processing method and system based on memory database
CN107273449B (en) * 2017-05-27 2020-07-28 北京思特奇信息技术股份有限公司 Breakpoint processing method and system based on memory database

Also Published As

Publication number Publication date
WO2011006334A1 (en) 2011-01-20
CN101610486B (en) 2012-10-10

Similar Documents

Publication Publication Date Title
CN101098343B (en) Information interchange method for handset and network server
CN101127204B (en) Information processing apparatus, and information processing method
CN102118510B (en) Contact correlation method, server and mobile terminal
KR100711136B1 (en) Method and system for centralized copy/paste functionality
CN102929710A (en) Method and mobile terminal for calling application modules
CN101958958A (en) Method for replying message and terminals
CN101309291B (en) Tool and method for terminal data maintenance
CN102984388A (en) Smart phone with fingerprint identification function
WO2014117656A1 (en) Mobile terminal and method for extracting communication contact information
CN100512340C (en) Portable telephone
CN103533169A (en) Method for positioning and linking field of electronic business card based on mobile terminal
KR20100097644A (en) A method of making, exchanging and management of electronic business cards using personal digital assistant
CN101996030A (en) Mobile device and common text inserting method thereof
CN104484486A (en) Information recommending method and electronic device
CN101764898B (en) Shortcut dialling method, client and system
CN106341507A (en) Contact acquiring method, device and user terminal
CN101232664A (en) Method for displaying information contents in mobile phone
CN103002416B (en) A kind of note obtains phone number and controls the method for mobile phone incoming call switching
CN101610486B (en) Short message service (SMS) data processing method and system
CN105491237A (en) Contact information display method and terminal
CN113452828A (en) Electronic business card obtaining method, medium and equipment based on two-dimensional code
CN102970401A (en) Method and device for recoding contact information
CN105812535A (en) Method of recording speech communication information and terminal
CN109413283B (en) A method for extracting key information in a call and a mobile terminal
CN110445934A (en) Call-information processing method, system, terminal and readable storage medium storing program for executing

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170825

Address after: 253400 Shandong city of Dezhou province Ningjin County Bao Dian Zhen Huang Village No. 70

Co-patentee after: Bai Donghua

Patentee after: Zhang Junhong

Co-patentee after: Qi Lili

Co-patentee after: Xue Hailong

Co-patentee after: Yang Lan

Address before: 518057 Nanshan District Guangdong high tech Industrial Park, South Road, science and technology, ZTE building, Ministry of Justice

Patentee before: ZTE Corp.

CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Zhang Junhong

Inventor after: Bai Donghua

Inventor after: Qi Lili

Inventor after: Xue Hailong

Inventor after: Yang Lan

Inventor before: Wu Zhenzhen

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

Granted publication date: 20121010