[go: up one dir, main page]

CN109699016A - A kind of method and device for Communication processing between SMSC and OCS - Google Patents

A kind of method and device for Communication processing between SMSC and OCS Download PDF

Info

Publication number
CN109699016A
CN109699016A CN201710990567.1A CN201710990567A CN109699016A CN 109699016 A CN109699016 A CN 109699016A CN 201710990567 A CN201710990567 A CN 201710990567A CN 109699016 A CN109699016 A CN 109699016A
Authority
CN
China
Prior art keywords
user
smsc
short message
ocs
sent
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
CN201710990567.1A
Other languages
Chinese (zh)
Other versions
CN109699016B (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.)
China Mobile Communications Group Co Ltd
China Mobile Group Tianjin Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Tianjin 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 China Mobile Communications Group Co Ltd, China Mobile Group Tianjin Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201710990567.1A priority Critical patent/CN109699016B/en
Publication of CN109699016A publication Critical patent/CN109699016A/en
Application granted granted Critical
Publication of CN109699016B publication Critical patent/CN109699016B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/64On-line charging system [OCS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/82Criteria or parameters used for performing billing operations
    • H04M15/8221Message based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/18Service support devices; Network management devices
    • H04W88/184Messaging devices, e.g. message centre

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephone Function (AREA)

Abstract

本发明实施例提供一种用于SMSC与OCS之间通讯处理的方法及装置,所述方法包括:接收由SMSC转发的用户短信请求消息;若判断获知在第一预设时段内,所述用户短信请求消息的数量大于第一预设次数,向所述SMSC发送指令,以使所述SMSC根据所述用户短信请求消息和第一预设规则,获取目标用户;接收所述SMSC发送的对所述目标用户的账户查询请求,所述账户查询请求携带有目标用户标识;获取所述目标用户的账户信息,并将所述账户信息发送给所述SMSC,以使所述SMSC根据所述账户信息和第二预设规则,生成批量短信数量,并由所述SMSC直接从所述批量短信数量中扣除已发送成功的用户短信的数量。所述装置执行上述方法。本发明实施例提供的方法及装置,能够有效减轻OCS的负荷。

Embodiments of the present invention provide a method and device for processing communication between an SMSC and an OCS, the method comprising: receiving a user short message request message forwarded by the SMSC; The number of short message request messages is greater than the first preset number of times, and an instruction is sent to the SMSC, so that the SMSC obtains the target user according to the user short message request message and the first preset rule; The account inquiry request of described target user, described account inquiry request carries target user identification; Obtain the account information of described target user, and described account information is sent to described SMSC, so that described SMSC is based on described account information and the second preset rule to generate a batch of short messages, and the SMSC directly deducts the number of successfully sent user short messages from the batch of short messages. The apparatus performs the above-described method. The method and device provided by the embodiments of the present invention can effectively reduce the load of the OCS.

Description

A kind of method and device for Communication processing between SMSC and OCS
Technical field
The present embodiments relate to fields of communication technology, and in particular to a kind of for Communication processing between SMSC and OCS Method and device.
Background technique
With the continuous expansion of mobile communications network scale and the gradual perfection of distributed computing technology, mobile communication at present The online charging system (Online Charging System, hereinafter referred to as " OCS ") of network is arranged using global, and short message Service centre (Short Message Service Center, hereinafter referred to as " SMSC ") is then using distributed setting.
Fig. 1 is the communication flow figure of each SMSC and OCS in the prior art, is included the following steps: as shown in Figure 1:
(1) when user sends short message, short message request is initiated to SMSC;
(2) SMSC requests short message to be reported to OCS by SMPP+ agreement, and OCS carries out wholesale price, deducts fees;
(3) authenticating result (including wholesale price, result of deducting fees) is returned to SMSC by OCS;
(4) SMSC judges whether to connect the request of user's short message according to authenticating result;
(5) if the authentication is passed and short message is sent successfully, which terminates;
(6) if short message sends failure, SMSC is by fail status to OCS;
(7) OCS carries out again wholesale price, covering expense;
(8) processing result is returned to SMSC by OCS.
Pass through above step, it will thus be seen that due to multiple SMSC require with OCS real time communication, if short message send It is successful then need a handshake procedure, handshake procedure twice is needed if short message sends failure.With comprehensive quotient of 5G standard With processing capacity of the communication network of the construction of mobile operator in the access net stage greatly improves, base station and base station controller The ability of transmitting-receiving short message greatly improves, but OCS is not provided in 5G standard, so, the processing capacity of OCS is bottle Neck.When occurring a large amount of short message transmission demand in the short time, there are the risks that processing capacity is overflowed by OCS.
Therefore, certain user's short message of every transmission how is avoided, SMSC at least needs to carry out once to hand over the communication of OCS Mutually, so be effectively reduced OCS load become need solve the problems, such as.
Summary of the invention
In view of the problems of the existing technology, the embodiment of the present invention provides a kind of for Communication processing between SMSC and OCS Method and device.
In a first aspect, the embodiment of the present invention provides a kind of method for Communication processing between SMSC and OCS, the method Include:
Receive the user's short message request message forwarded by SMSC;
If judgement is informed in the first preset period of time, the quantity of user's short message request message is greater than first default time Number, Xiang Suoshu SMSC send instruction, so that the SMSC is obtained according to user's short message request message and the first preset rules Target user, user's short message request message carry user identifier, wherein the target user is in the second preset period of time The short message request message quantity of interior transmission is greater than user corresponding to the second preset times;
It receives the account inquiries to the target user that the SMSC is sent to request, the account inquiries request carries Target user's mark;
The account information of the target user is obtained, and the account information is sent to the SMSC, so that described SMSC generates messages in batch quantity according to the account information and the second preset rules, and by the SMSC directly from described batch The quantity for having sent successful user's short message is deducted in amount short message quantity.
Second aspect, the embodiment of the present invention also provide a kind of method for Communication processing between SMSC and OCS, the side Method includes:
Receive the instruction sent by OCS;
According to the user's short message request message and the first preset rules being obtained ahead of time, target user is obtained, and to the OCS It sends the account inquiries to the target user to request, the account inquiries request carries target user's mark, so that described OCS obtains the account information of the target user, and receives the account information that the OCS is returned, and user's short message is asked Message is asked to carry user identifier;
According to the account information and the second preset rules, messages in batch quantity is generated, and directly from the messages in batch The quantity for having sent successful user's short message is deducted in quantity.
The third aspect, the embodiment of the present invention provide a kind of OCS for Communication processing between SMSC and OCS, the OCS packet Include transceiver and processor:
The transceiver is used to receive the user's short message request message forwarded by SMSC, receive SMSC transmission to institute The account inquiries request of target user is stated, the account inquiries request carries target user's mark;
If the processor is informed in the first preset period of time for judging, the quantity of user's short message request message is big In the first preset times, Xiang Suoshu SMSC sends instruction, so that the SMSC is according to user's short message request message and first Preset rules obtain target user, and user's short message request message carries user identifier, wherein the target user is The short message request message quantity sent in the second preset period of time is greater than user corresponding to the second preset times, obtains the mesh The account information of user is marked, and the account information is sent to the SMSC, so that the SMSC is according to the account information With the second preset rules, messages in batch quantity is generated, and is directly deducted and has been sent out from the messages in batch quantity by the SMSC Send the quantity of successful user's short message.
Fourth aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising: first processor, first memory and the One bus, wherein
The first processor and the first memory complete mutual communication by first bus;
The first memory is stored with the program instruction that can be executed by the first processor, the first processor tune Following method is able to carry out with described program instruction:
Receive the user's short message request message forwarded by SMSC;
If judgement is informed in the first preset period of time, the quantity of user's short message request message is greater than first default time Number, Xiang Suoshu SMSC send instruction, so that the SMSC is obtained according to user's short message request message and the first preset rules Target user, user's short message request message carry user identifier, wherein the target user is in the second preset period of time The short message request message quantity of interior transmission is greater than user corresponding to the second preset times;
It receives the account inquiries to the target user that the SMSC is sent to request, the account inquiries request carries Target user's mark;
The account information of the target user is obtained, and the account information is sent to the SMSC, so that described SMSC generates messages in batch quantity according to the account information and the second preset rules, and by the SMSC directly from described batch The quantity for having sent successful user's short message is deducted in amount short message quantity.
5th aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, comprising:
The non-transient computer readable storage medium stores computer instruction, and the computer instruction makes the computer Execute following method:
Receive the user's short message request message forwarded by SMSC;
If judgement is informed in the first preset period of time, the quantity of user's short message request message is greater than first default time Number, Xiang Suoshu SMSC send instruction, so that the SMSC is obtained according to user's short message request message and the first preset rules Target user, user's short message request message carry user identifier, wherein the target user is in the second preset period of time The short message request message quantity of interior transmission is greater than user corresponding to the second preset times;
It receives the account inquiries to the target user that the SMSC is sent to request, the account inquiries request carries Target user's mark;
The account information of the target user is obtained, and the account information is sent to the SMSC, so that described SMSC generates messages in batch quantity according to the account information and the second preset rules, and by the SMSC directly from described batch The quantity for having sent successful user's short message is deducted in amount short message quantity.
6th aspect, the embodiment of the present invention provide a kind of SMSC for Communication processing between SMSC and OCS, the SMSC Including transceiver and processor:
The transceiver is used to receive the instruction sent by OCS;
The processor is used to obtain target according to the user's short message request message and the first preset rules being obtained ahead of time and use Family, and send the account inquiries to the target user to the OCS and request, the account inquiries request carries target user Mark so that the OCS obtains the account information of the target user, and receives the account information that the OCS is returned, institute It states user's short message request message and carries user identifier, according to the account information and the second preset rules, generate messages in batch Quantity, and the quantity for having sent successful user's short message is directly deducted from the messages in batch quantity.
7th aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising: second processor, second memory and the Two lines bus, wherein
The second processor and the second memory complete mutual communication by second bus;
The second memory is stored with the program instruction that can be executed by the second processor, the second processor tune Following method is able to carry out with described program instruction:
Receive the instruction sent by OCS;
According to the user's short message request message and the first preset rules being obtained ahead of time, target user is obtained, and to the OCS It sends the account inquiries to the target user to request, the account inquiries request carries target user's mark, so that described OCS obtains the account information of the target user, and receives the account information that the OCS is returned, and user's short message is asked Message is asked to carry user identifier;
According to the account information and the second preset rules, messages in batch quantity is generated, and directly from the messages in batch The quantity for having sent successful user's short message is deducted in quantity.
Eighth aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, comprising:
The non-transient computer readable storage medium stores computer instruction, and the computer instruction makes the computer Execute following method:
Receive the instruction sent by OCS;
According to the user's short message request message and the first preset rules being obtained ahead of time, target user is obtained, and to the OCS It sends the account inquiries to the target user to request, the account inquiries request carries target user's mark, so that described OCS obtains the account information of the target user, and receives the account information that the OCS is returned, and user's short message is asked Message is asked to carry user identifier;
According to the account information and the second preset rules, messages in batch quantity is generated, and directly from the messages in batch The quantity for having sent successful user's short message is deducted in quantity.
Method and device provided in an embodiment of the present invention for Communication processing between SMSC and OCS, can be avoided certain User's short message of every transmission, SMSC at least need to carry out once to interact with the communication of OCS, and then are effectively reduced the negative of OCS Lotus.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the communication flow figure of each SMSC and OCS in the prior art;
Fig. 2 is method flow schematic diagram of the embodiment of the present invention for Communication processing between SMSC and OCS;
Fig. 3 is method flow schematic diagram of the another embodiment of the present invention for Communication processing between SMSC and OCS;
Fig. 4 is OCS structural schematic diagram of the embodiment of the present invention for Communication processing between SMSC and OCS;
Fig. 5 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention;
Fig. 6 is SMSC structural schematic diagram of the embodiment of the present invention for Communication processing between SMSC and OCS;
Fig. 7 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 2 is method flow schematic diagram of the embodiment of the present invention for Communication processing between SMSC and OCS, as shown in Fig. 2, A kind of method for Communication processing between SMSC and OCS provided in an embodiment of the present invention, comprising the following steps:
S1: the user's short message request message forwarded by SMSC is received.
Specifically, OCS receives the user's short message request message forwarded by SMSC.The use that SMSC can send user terminal Family short message request message is forwarded to OCS.
S2: if judgement is informed in the first preset period of time, it is default that the quantity of user's short message request message is greater than first Number, Xiang Suoshu SMSC sends instruction, so that the SMSC is obtained according to user's short message request message and the first preset rules Target user is taken, user's short message request message carries user identifier, wherein the target user is when second is default The short message request message quantity sent in section is greater than user corresponding to the second preset times.
If the quantity of user's short message request message is greater than the specifically, OCS judgement is informed in the first preset period of time One preset times, Xiang Suoshu SMSC send instruction, so that the SMSC is default according to user's short message request message and first Rule obtains target user, and user's short message request message carries user identifier, wherein the target user is the The short message request message quantity sent in two preset period of time is greater than user corresponding to the second preset times.First preset period of time and First preset times can be independently arranged according to the actual situation in OCS, and the second preset period of time and the second preset times are in SMSC In can independently be arranged according to the actual situation, user identifier can be user mobile phone number, the first preset period of time and second it is default when Numerical values recited between section is not especially limited, the numerical values recited between the first preset times and the second preset times is not made specifically It limits.By taking the corresponding OCS of a SMSC as an example, be illustrated below: the first preset period of time is chosen as 30 minutes, in the period Interior user A sends short message 20 times, user B sends short message 5 times, user C is sent short message 5 times;For OCS without paying close attention to some user It sends, it is of interest that all SMSC (being exemplified as one) are sent to the sum of OCS short message request message in the first preset period of time Amount, referring to the example above, which is 20+5+5=30 times, if the first preset times are selected as 20 times, is sent to SMSC Instruction, the instruction are understood that determine that the short message request message quantity sent in the second preset period of time is greater than second by SMSC User corresponding to preset times, if be selected as in the second preset period of time 20 minutes, the second preset times be selected as 10 times, second (20 minutes) user A sends short message 15 times in preset period of time, user B sends short message 4 times, user C transmission short message 3 times, then user A For target user, corresponding target user is identified as A.It should be understood that if the quantity of user's short message request message is less than Equal to the first preset times, then the communication of flow processing SMSC and OCS shown in FIG. 1 is directlyed adopt.If user's short message is requested The quantity of message is greater than the first preset times, and does not meet the target user of above-mentioned condition, then also directlys adopt shown in FIG. 1 The communication of flow processing SMSC and OCS.
S3: receiving the account inquiries to the target user that the SMSC is sent and request, and the account inquiries request is taken It is identified with target user.
It is requested specifically, OCS receives the account inquiries to the target user that the SMSC is sent, the account inquiries Request carries target user's mark.Target user may include prepaid user and postpaid service user.Reference the example above, OCS receives the account inquiries request for the user A that SMSC is sent.
S4: the account information of the target user is obtained, and the account information is sent to the SMSC, so that described SMSC generates messages in batch quantity according to the account information and the second preset rules, and by the SMSC directly from described batch The quantity for having sent successful user's short message is deducted in amount short message quantity.
Specifically, OCS obtains the account information of the target user, and the account information is sent to the SMSC, So that the SMSC generates messages in batch quantity according to the account information and the second preset rules, and direct by the SMSC The quantity for having sent successful user's short message is deducted from the messages in batch quantity.It should be understood that prepaid user couple The account information answered can be the account balance information of prepaid user;The corresponding account information of postpaid service user's account can be Postpaid service user's account can facility extent and current facility extent difference.It is with the account balance information of prepaid user Example, messages in batch quantity=(expense of the short message of the account balance information/every) * preset percentage;It is right referring to the example above In user A: after SMSC generates messages in batch quantity, no longer needing to the short message via SMSC to the communication interactive user A between OCS Information, the quantity that deduction user A has sent successful user's short message directly from the messages in batch quantity (can be sent successfully with every Once, messages in batch quantity subtracts one), if the transmission of user's short message is unsuccessful, it is not required to deduct (i.e. from the messages in batch quantity Messages in batch quantity is constant), certain user's short message of every transmission is avoided, SMSC at least needs to carry out once logical with OCS News interaction, to alleviate load for OCS.SMSC can also periodically calculate the messages in batch quantity deducted, and will deduct Messages in batch quantity be sent to OCS, so that OCS is according to the messages in batch quantity deducted, update the account letter of target user Remaining sum in breath.Referring to the example above: daily 22:00 is calculated the messages in batch quantity of user A deducted by SMSC, has been deducted Messages in batch quantity be 20, can be by formula:
The expense of the messages in batch quantity every short message of * for the corresponding expense of messages in batch quantity deducted=deducted.
That is: 20*0.1=2 member, that is, the corresponding expense of messages in batch quantity deducted is 2 yuan, in existing account information Remaining sum deduct 2 yuan, the update of remaining sum in the account information to complete target user.
Method provided in an embodiment of the present invention for Communication processing between SMSC and OCS, it is every to can be avoided certain user A short message is sent, SMSC at least needs to carry out once to interact with the communication of OCS, and then is effectively reduced the load of OCS.
On the basis of the above embodiments, user's short message request message includes short message request reporting message and failure shape State report message, correspondingly;The quantity of user's short message request message requests quantity and the institute of reporting message for the short message State the sum of the quantity of fail status message.
Specifically, user's short message request message in OCS includes short message request reporting message and fail status Message, correspondingly;The quantity of user's short message request message is the quantity and the failure that the short message requests reporting message The sum of quantity of status report messages.Short message request reporting message and illustrating for fail status message can refer to Fig. 1 In explanation, be described as follows with continued reference to the example above: user A, B, C send short message 30 in the first preset period of time (30 minutes) It is secondary, it may include the sum of quantity and quantity of fail status message of above-mentioned short message request reporting message in this 30 times.
Method provided in an embodiment of the present invention for Communication processing between SMSC and OCS, makes user's short message in method Request message includes short message request reporting message and fail status message, and it is short can more accurate, reasonably to obtain user Believe the quantity of request message, and then more rationally, effectively alleviates the load of OCS.
On the basis of the above embodiments, the target user includes prepaid user and postpaid service user, correspondingly;Institute The account information for obtaining the target user is stated, and the account information is sent to the SMSC, comprising:
The account balance information of prepaid user is obtained, and the account balance information is sent to the SMSC.
Specifically, OCS obtains the account balance information of prepaid user, and the account balance information is sent to described SMSC.It can refer to above description, repeat no more.
Or,
Obtain postpaid service user's account can facility extent and current facility extent difference, and the difference is sent to The SMSC.
Specifically, OCS obtain postpaid service user's account can facility extent and current facility extent difference, and will described in Difference is sent to the SMSC.It can refer to above description, repeat no more.
Method provided in an embodiment of the present invention for Communication processing between SMSC and OCS, can obtain pre-payment respectively User and postpaid service user's account information, and it is sent to SMSC, it can make SMSC that can get different types of user Messages in batch quantity, to further mitigate the load of OCS.
Fig. 3 is method flow schematic diagram of the another embodiment of the present invention for Communication processing between SMSC and OCS, such as Fig. 3 It is shown, a kind of method for Communication processing between SMSC and OCS provided in an embodiment of the present invention, comprising the following steps:
S10: the instruction sent by OCS is received.
Specifically, SMSC receives the instruction sent by OCS.The instruction is understood that be determined by SMSC when second is default The short message request message quantity sent in section is greater than user corresponding to the second preset times.
S20: according to the user's short message request message and the first preset rules being obtained ahead of time, obtaining target user, and to institute The account inquiries that OCS is sent to the target user to be stated to request, the account inquiries request carries target user's mark, so that The OCS obtains the account information of the target user, and receives the account information that the OCS is returned, and the user is short Letter request message carries user identifier.
Specifically, SMSC obtains target user according to the user's short message request message and the first preset rules being obtained ahead of time, And send the account inquiries to the target user to the OCS and request, the account inquiries request carries target user's mark Know, so that the OCS obtains the account information of the target user, and receives the account information that the OCS is returned, it is described User's short message request message carries user identifier.Referring to the example above: if being selected as 20 minutes, second in the second preset period of time Preset times are selected as 10 times, (20 minutes) user A sends short message 15 times in the second preset period of time, user B sends short message 4 times, User C is sent short message 3 times, then user A is target user, and corresponding target user is identified as A, and the account information of user A can be with Be the account balance information of prepaid user, be also possible to postpaid service user's account can facility extent and current facility extent Difference.
S30: according to the account information and the second preset rules, messages in batch quantity is generated, and directly from the batch The quantity for having sent successful user's short message is deducted in short message quantity.
Specifically, SMSC generates messages in batch quantity according to the account information and the second preset rules, and directly from institute State the quantity for deducting in messages in batch quantity and having sent successful user's short message.It is short that generation batch can be calculated according to the following formula Believe quantity:
Messages in batch quantity=(expense of the short message of the account balance information/every) * preset percentage;
Or,
Messages in batch quantity=(expense of the short message of the difference/every) * preset percentage;
Wherein, the expense of every short message is preset.Preset percentage can independently be set according to the actual situation It sets, is chosen as 50%, by taking the corresponding formula of account balance information as an example, be described as follows referring to the example above: if user A is pre- Paying customer, account balance are 10 yuan, and the expense of every short message is 0.1 yuan, preset percentage 50%, then messages in batch quantity =(10 yuan/0.1 yuan) * 50%=50.The case where user A is postpaid service user, repeats no more.Directly from the messages in batch number The quantity that user A has sent successful user's short message is deducted in amount to be not required to if the transmission of user's short message is unsuccessful from the batch It is deducted in short message quantity, avoids certain user's short message of every transmission, SMSC at least needs to carry out once to hand over the communication of OCS Mutually, to alleviate load for OCS.
Method provided in an embodiment of the present invention for Communication processing between SMSC and OCS, it is every to can be avoided certain user A short message is sent, SMSC at least needs to carry out once to interact with the communication of OCS, and then is effectively reduced the load of OCS.
On the basis of the above embodiments, the default rule of user's short message request message and first that the basis is obtained ahead of time Then, target user is obtained, comprising:
The short message request message quantity sent in the second preset period of time is greater than user corresponding to the second preset times As the target user.
Specifically, the short message request message quantity sent in the second preset period of time is greater than the second preset times institute by SMSC Corresponding user is as the target user.
Method provided in an embodiment of the present invention for Communication processing between SMSC and OCS, can more reasonably obtain Target user.
On the basis of the above embodiments, the account information includes the account balance information of prepaid user, post-paid User account can facility extent and current facility extent difference, correspondingly;It is described pre- according to the account information and second If regular, messages in batch quantity is generated, comprising:
It calculates according to the following formula and generates messages in batch quantity:
Messages in batch quantity=(expense of the short message of the account balance information/every) * preset percentage;
Or,
Messages in batch quantity=(expense of the short message of the difference/every) * preset percentage;
Wherein, the expense of every short message is preset.
Specifically, SMSC is calculated according to the following formula generates messages in batch quantity:
Messages in batch quantity=(expense of the short message of the account balance information/every) * preset percentage;
Or,
Messages in batch quantity=(expense of the short message of the difference/every) * preset percentage;
Wherein, the expense of every short message is preset.It can refer to above-described embodiment, repeat no more.
Method provided in an embodiment of the present invention for Communication processing between SMSC and OCS, can calculate in many aspects Messages in batch quantity, and then it is effectively reduced the load of OCS.
On the basis of the above embodiments, the method also includes:
The messages in batch quantity is provided with effective time limit.
Specifically, the messages in batch quantity in SMSC is provided with effective time limit.The effective time limit can be according to reality Situation is independently arranged, and is chosen as 1 hour, it may be assumed that in the messages in batch quantity is within an hour effective.
Method provided in an embodiment of the present invention for Communication processing between SMSC and OCS, by being provided with effective time limit, Messages in batch quantity can be more reasonably managed, it being capable of load that is flexible and targetedly alleviating OCS.
Above-mentioned is described briefly for the method overall procedure of Communication processing between SMSC and OCS below:
(1) SMSC receives user's short message request message that user terminal is sent;
(2) OCS receives the user's short message request message forwarded by SMSC;
(3) if OCS judgement is informed in the first preset period of time, it is pre- that the quantity of user's short message request message is greater than first If number, Xiang Suoshu SMSC sends instruction;
(4) SMSC obtains target user according to user's short message request message and the first preset rules;
(5) account inquiries to the target user that OCS receives that the SMSC is sent are requested, the account inquiries request Carry target user's mark;
(6) OCS obtains the account information of the target user, and the account information is sent to the SMSC;
(7) SMSC generates messages in batch quantity according to the account information and the second preset rules;
(8) SMSC directly deducts the quantity for having sent successful user's short message from the messages in batch quantity.
Fig. 4 is OCS structural schematic diagram of the embodiment of the present invention for Communication processing between SMSC and OCS, as shown in figure 4, The embodiment of the invention provides a kind of OCS for Communication processing between SMSC and OCS, including transceiver 41 and processor 42, Wherein:
The transceiver 41 is used to receive the user's short message request message forwarded by SMSC, receives pair that the SMSC is sent The account inquiries of the target user are requested, and the account inquiries request carries target user's mark;The processor 42 is used If being informed in the first preset period of time in judgement, the quantity of user's short message request message is greater than the first preset times, to institute It states SMSC and sends instruction, so that the SMSC obtains target and use according to user's short message request message and the first preset rules Family, user's short message request message carry user identifier, wherein the target user is to send in the second preset period of time Short message request message quantity be greater than the second preset times corresponding to user, obtain the account information of the target user, and The account information is sent to the SMSC, so that the SMSC is generated according to the account information and the second preset rules Messages in batch quantity, and the number for having sent successful user's short message is directly deducted from the messages in batch quantity by the SMSC Amount.
Specifically, the transceiver 41 is used to receive the user's short message request message forwarded by SMSC, the SMSC is received The account inquiries to the target user sent are requested, and the account inquiries request carries target user's mark;The place If reason device 42 is informed in the first preset period of time for judging, the quantity of user's short message request message is greater than first default time Number, Xiang Suoshu SMSC send instruction, so that the SMSC is obtained according to user's short message request message and the first preset rules Target user, user's short message request message carry user identifier, wherein the target user is in the second preset period of time The short message request message quantity of interior transmission is greater than user corresponding to the second preset times, obtains the account letter of the target user Breath, and is sent to the SMSC for the account information, so that the SMSC is according to the account information and the second preset rules, Messages in batch quantity is generated, and is directly deducted from the messages in batch quantity by the SMSC and has sent successful user's short message Quantity.
OCS provided in an embodiment of the present invention for Communication processing between SMSC and OCS, can be avoided the every hair of certain user A short message is sent, SMSC at least needs to carry out once to interact with the communication of OCS, and then is effectively reduced the load of OCS.
It is provided in an embodiment of the present invention between SMSC and OCS the OCS of Communication processing specifically can be used for executing it is above-mentioned The process flow of each method embodiment, details are not described herein for function, is referred to the detailed description of above method embodiment.
Fig. 5 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention, as shown in figure 5, the electronic equipment It include: first processor (processor) 501, first memory (memory) 502 and the first bus 503;
Wherein, the first processor 501, first memory 502 complete mutual communication by the first bus 503;
The first processor 501 is used to call the program instruction in the first memory 502, to execute above-mentioned each side Method provided by method embodiment, for example, receive the user's short message request message forwarded by SMSC;If judgement is informed in the In one preset period of time, the quantity of user's short message request message is greater than the first preset times, and Xiang Suoshu SMSC sends instruction, with Make the SMSC according to user's short message request message and the first preset rules, obtain target user, user's short message is asked Message is asked to carry user identifier, wherein the target user is the short message request message number sent in the second preset period of time Amount is greater than user corresponding to the second preset times;Receive asking to the account inquiries of the target user for the SMSC transmission It asks, the account inquiries request carries target user's mark;Obtain the account information of the target user, and by the account Information is sent to the SMSC, so that the SMSC generates messages in batch number according to the account information and the second preset rules Amount, and the quantity for having sent successful user's short message is directly deducted from the messages in batch quantity by the SMSC.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated When machine executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example, what reception was forwarded by SMSC User's short message request message;If judgement is informed in the first preset period of time, the quantity of user's short message request message is greater than the One preset times, Xiang Suoshu SMSC send instruction, so that the SMSC is default according to user's short message request message and first Rule obtains target user, and user's short message request message carries user identifier, wherein the target user is the The short message request message quantity sent in two preset period of time is greater than user corresponding to the second preset times;Receive the SMSC hair The account inquiries to the target user sent are requested, and the account inquiries request carries target user's mark;Described in acquisition The account information of target user, and the account information is sent to the SMSC, so that the SMSC believes according to the account Breath and the second preset rules generate messages in batch quantity, and are directly deducted from the messages in batch quantity by the SMSC Send the quantity of successful user's short message.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment, example It such as include: the user's short message request message for receiving and being forwarded by SMSC;If judgement is informed in the first preset period of time, the user is short Believe that the quantity of request message is greater than the first preset times, Xiang Suoshu SMSC sends instruction, so that the SMSC is according to the user Short message request message and the first preset rules obtain target user, and user's short message request message carries user identifier, In, the target user is that the short message request message quantity sent in the second preset period of time is greater than corresponding to the second preset times User;It receives the account inquiries to the target user that the SMSC is sent to request, the account inquiries request carries Target user's mark;The account information of the target user is obtained, and the account information is sent to the SMSC, so that institute It states SMSC and messages in batch quantity is generated according to the account information and the second preset rules, and by the SMSC directly from described The quantity for having sent successful user's short message is deducted in messages in batch quantity.
Fig. 6 is SMSC structural schematic diagram of the embodiment of the present invention for Communication processing between SMSC and OCS, as shown in fig. 6, The embodiment of the invention provides a kind of SMSC for Communication processing between SMSC and OCS, including transceiver 61 and processor 62, Wherein:
The transceiver 61 is used to receive the instruction sent by OCS;The processor 62 is used for according to the use being obtained ahead of time Family short message request message and the first preset rules obtain target user, and send the account to the target user to the OCS Inquiry request, the account inquiries request carries target user's mark, so that the OCS obtains the account of the target user Information, and the account information that the OCS is returned is received, user's short message request message carries user identifier, according to The account information and the second preset rules generate messages in batch quantity, and directly deduct from the messages in batch quantity Send the quantity of successful user's short message.
Specifically, the transceiver 61 is used to receive the instruction sent by OCS;The processor 62 is used for basis and obtains in advance The user's short message request message obtained and the first preset rules obtain target user, and send to the OCS to the target user Account inquiries request, account inquiries request carries target user's mark, so that the OCS obtains the target user Account information, and receive the account information that the OCS is returned, user's short message request message carries user's mark Know, according to the account information and the second preset rules, generates messages in batch quantity, and directly from the messages in batch quantity Deduct the quantity for having sent successful user's short message.
SMSC provided in an embodiment of the present invention for Communication processing between SMSC and OCS, it is every to can be avoided certain user A short message is sent, SMSC at least needs to carry out once to interact with the communication of OCS, and then is effectively reduced the load of OCS.
SMSC provided in an embodiment of the present invention for Communication processing between SMSC and OCS, specifically can be used in execution The process flow of each method embodiment is stated, details are not described herein for function, is referred to the detailed description of above method embodiment.
Fig. 7 is electronic equipment entity structure schematic diagram provided in an embodiment of the present invention, as shown in fig. 7, the electronic equipment It include: second processor (processor) 701, second memory (memory) 702 and the second bus 703;
Wherein, the second processor 701, second memory 702 complete mutual communication by the second bus 703;
The second processor 701 is used to call the program instruction in the second memory 702, to execute above-mentioned each side Method provided by method embodiment, for example, receive the instruction sent by OCS;According to the user's short message request being obtained ahead of time Message and the first preset rules obtain target user, and send the account inquiries to the target user to the OCS and request, The account inquiries request carries target user's mark, so that the OCS obtains the account information of the target user, and connects The account information that the OCS is returned is received, user's short message request message carries user identifier;Believed according to the account Breath and the second preset rules generate messages in batch quantity, and directly deduct and sent successfully from the messages in batch quantity The quantity of user's short message.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated When machine executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example, what reception was sent by OCS Instruction;According to the user's short message request message and the first preset rules being obtained ahead of time, target user is obtained, and is sent out to the OCS The account inquiries to the target user are sent to request, the account inquiries request carries target user's mark, so that the OCS The account information of the target user is obtained, and receives the account information that the OCS is returned, user's short message request disappears Breath carries user identifier;According to the account information and the second preset rules, messages in batch quantity is generated, and directly from described The quantity for having sent successful user's short message is deducted in messages in batch quantity.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment, example It such as include: the instruction for receiving and being sent by OCS;According to the user's short message request message and the first preset rules being obtained ahead of time, obtain Target user, and send the account inquiries to the target user to the OCS and request, the account inquiries request carries mesh User identifier is marked, so that the OCS obtains the account information of the target user, and receives the account that the OCS is returned Information, user's short message request message carry user identifier;According to the account information and the second preset rules, generates and criticize Short message quantity is measured, and directly deducts the quantity for having sent successful user's short message from the messages in batch quantity.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
The embodiments such as electronic equipment described above are only schematical, wherein it is described as illustrated by the separation member Unit may or may not be physically separated, and component shown as a unit may or may not be object Manage unit, it can it is in one place, or may be distributed over multiple network units.It can select according to the actual needs Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying wound In the case where the labour for the property made, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than it is right It is limited;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, the ordinary skill of this field Personnel are it is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, or to part Or all technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution The range of each embodiment technical solution of the embodiment of the present invention.

Claims (13)

1. a kind of method for Communication processing between SMSC and OCS characterized by comprising
Receive the user's short message request message forwarded by SMSC;
If judgement is informed in the first preset period of time, the quantity of user's short message request message is greater than the first preset times, to The SMSC sends instruction, so that the SMSC obtains target according to user's short message request message and the first preset rules User, user's short message request message carry user identifier, wherein the target user is to send out in the second preset period of time The short message request message quantity sent is greater than user corresponding to the second preset times;
It receives the account inquiries to the target user that the SMSC is sent to request, the account inquiries request carries target User identifier;
The account information of the target user is obtained, and the account information is sent to the SMSC, so that the SMSC root According to the account information and the second preset rules, messages in batch quantity is generated, and by the SMSC directly from the messages in batch The quantity for having sent successful user's short message is deducted in quantity.
2. the method according to claim 1, wherein user's short message request message includes that short message request reports Message and fail status message, correspondingly;The quantity of user's short message request message is that the short message requests to report to disappear The sum of the quantity of the quantity of breath and the fail status message.
3. the method according to claim 1, wherein the target user includes that prepaid user and post-paid are used Family, correspondingly;The account information for obtaining the target user, and the account information is sent to the SMSC, comprising:
The account balance information of prepaid user is obtained, and the account balance information is sent to the SMSC;
Or,
Obtain postpaid service user's account can facility extent and current facility extent difference, and described in the difference is sent to SMSC。
4. a kind of method for Communication processing between SMSC and OCS characterized by comprising
Receive the instruction sent by OCS;
According to the user's short message request message and the first preset rules being obtained ahead of time, target user is obtained, and is sent to the OCS Account inquiries request to the target user, the account inquiries request carries target user's mark, so that the OCS is obtained The account information of the target user is taken, and receives the account information that the OCS is returned, user's short message request message Carry user identifier;
According to the account information and the second preset rules, messages in batch quantity is generated, and directly from the messages in batch quantity It is middle to deduct the quantity for having sent successful user's short message.
5. according to the method described in claim 4, it is characterized in that, user's short message request message for being obtained ahead of time of the basis and First preset rules obtain target user, comprising:
Using the short message request message quantity sent in the second preset period of time be greater than the second preset times corresponding to user as The target user.
6. according to the method described in claim 4, it is characterized in that, the account information includes the account balance of prepaid user Information, postpaid service user's account can facility extent and current facility extent difference, correspondingly;It is described to be believed according to the account Breath and the second preset rules generate messages in batch quantity, comprising:
It calculates according to the following formula and generates messages in batch quantity:
Messages in batch quantity=(expense of the short message of the account balance information/every) * preset percentage;
Or,
Messages in batch quantity=(expense of the short message of the difference/every) * preset percentage;
Wherein, the expense of every short message is preset.
7. according to the method described in claim 6, it is characterized in that, the method also includes:
The messages in batch quantity is provided with effective time limit.
8. a kind of OCS for Communication processing between SMSC and OCS, which is characterized in that the OCS includes transceiver and processing Device:
The transceiver is used to receive the user's short message request message forwarded by SMSC, receive SMSC transmission to the mesh The account inquiries request of user is marked, the account inquiries request carries target user's mark;
If the processor is informed in the first preset period of time for judging, the quantity of user's short message request message is greater than the One preset times, Xiang Suoshu SMSC send instruction, so that the SMSC is default according to user's short message request message and first Rule obtains target user, and user's short message request message carries user identifier, wherein the target user is the The short message request message quantity sent in two preset period of time is greater than user corresponding to the second preset times, obtains the target and uses The account information at family, and the account information is sent to the SMSC, so that the SMSC is according to the account information and Two preset rules generate messages in batch quantity, and are directly deducted from the messages in batch quantity by the SMSC and sent into The quantity of user's short message of function.
9. a kind of electronic equipment characterized by comprising first processor, first memory and the first bus, in which:
The first processor and the first memory complete mutual communication by first bus;
The first memory is stored with the program instruction that can be executed by the first processor, and the first processor calls institute It states program instruction and is able to carry out method as described in claims 1 to 3 is any.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer instruction is stored up, the computer instruction makes the computer execute the method as described in claims 1 to 3 is any.
11. a kind of SMSC for Communication processing between SMSC and OCS, which is characterized in that the SMSC includes transceiver and place Manage device:
The transceiver is used to receive the instruction sent by OCS;
The processor is used to obtain target user according to the user's short message request message and the first preset rules that are obtained ahead of time, And send the account inquiries to the target user to the OCS and request, the account inquiries request carries target user's mark Know, so that the OCS obtains the account information of the target user, and receives the account information that the OCS is returned, it is described User's short message request message carries user identifier, according to the account information and the second preset rules, generates messages in batch number Amount, and the quantity for having sent successful user's short message is directly deducted from the messages in batch quantity.
12. a kind of electronic equipment characterized by comprising second processor, second memory and the second bus, in which:
The second processor and the second memory complete mutual communication by second bus;
The second memory is stored with the program instruction that can be executed by the second processor, and the second processor calls institute Program instruction is stated to be able to carry out such as the described in any item methods of claim 4-7.
13. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer instruction is stored up, the computer instruction makes the computer execute such as the described in any item methods of claim 4-7.
CN201710990567.1A 2017-10-23 2017-10-23 A method and device for communication processing between SMSC and OCS Active CN109699016B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710990567.1A CN109699016B (en) 2017-10-23 2017-10-23 A method and device for communication processing between SMSC and OCS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710990567.1A CN109699016B (en) 2017-10-23 2017-10-23 A method and device for communication processing between SMSC and OCS

Publications (2)

Publication Number Publication Date
CN109699016A true CN109699016A (en) 2019-04-30
CN109699016B CN109699016B (en) 2020-09-11

Family

ID=66226748

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710990567.1A Active CN109699016B (en) 2017-10-23 2017-10-23 A method and device for communication processing between SMSC and OCS

Country Status (1)

Country Link
CN (1) CN109699016B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7092697B1 (en) * 2003-01-06 2006-08-15 Cellco Partnership Method and system for reduced-latency prepaid mobile messaging
CN101645782A (en) * 2009-02-10 2010-02-10 中国科学院声学研究所 Online billing method and system based on user traffic volume
CN101686452A (en) * 2008-09-24 2010-03-31 华为技术有限公司 Method, device and system for charging services
WO2014022992A1 (en) * 2012-08-08 2014-02-13 华为技术有限公司 Charging control method, charging trigger function and online charging system
CN105792161A (en) * 2014-12-22 2016-07-20 中国移动通信集团公司 An online billing method, system and SIM card device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7092697B1 (en) * 2003-01-06 2006-08-15 Cellco Partnership Method and system for reduced-latency prepaid mobile messaging
CN101686452A (en) * 2008-09-24 2010-03-31 华为技术有限公司 Method, device and system for charging services
CN101645782A (en) * 2009-02-10 2010-02-10 中国科学院声学研究所 Online billing method and system based on user traffic volume
WO2014022992A1 (en) * 2012-08-08 2014-02-13 华为技术有限公司 Charging control method, charging trigger function and online charging system
CN105792161A (en) * 2014-12-22 2016-07-20 中国移动通信集团公司 An online billing method, system and SIM card device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3RD GENERATION PARTNERSHIP PROJECT;: "Telecommunication management;Charging management;Online Charging System (OCS): Applications and interfaces(Release 8)", 《3GPP TS 32.296 V8.3.0》 *
李霞: "在线计费系统(OCS)", 《中国新通信》 *

Also Published As

Publication number Publication date
CN109699016B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN112165691B (en) Content delivery network scheduling method, device, server and medium
CN103049309B (en) Resource management apparatus, the method and system of virtual machine
EP3465981A1 (en) Method, system and device for online charging in cloud system
US10182161B2 (en) Modifying a quality of a connection between a terminal and an application server
CN109962855A (en) A kind of current-limiting method of WEB server, current-limiting apparatus and terminal device
CN110399409A (en) Transaction method for monitoring abnormality and device
CN110381455B (en) Flow monitoring processing method and related device and system
CN104735635A (en) Strategy control method and device
CN111209060A (en) Capability development platform processing method and device
CN109474902A (en) Message charging device, method, terminal and system
EP3306965A1 (en) Charging method, communication platform, and communication system
CN106327192A (en) Payment method and system realized on basis of cloud server and payment server
EP2472775B1 (en) A method, device and computer program product for controlling use of electronic communication services
CN109699016A (en) A kind of method and device for Communication processing between SMSC and OCS
CN111092740B (en) Online charging method and system
CN109697117A (en) Terminal control method, device and computer readable storage medium
CN108346080B (en) Flow package combination optimization method and device
CN105792160B (en) A kind of device and method handling accounting request
JP2013015986A (en) Prepaid charging system, method and program
CN107645411B (en) Channel flow allocation method and device based on linear programming
CN117172905A (en) Service processing method, device, equipment and storage medium
CN107888784A (en) A kind of method and server of dynamically distributes number
WO2014003627A2 (en) Telecommunications charging with externally-controlled account selection
CN108156206A (en) A kind of data transfering method, server, client and system
CN110288347A (en) Access control apparatus and method

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