CN103227749B - Message method and equipment - Google Patents

Message method and equipment Download PDF

Info

Publication number
CN103227749B
CN103227749B CN201310150775.2A CN201310150775A CN103227749B CN 103227749 B CN103227749 B CN 103227749B CN 201310150775 A CN201310150775 A CN 201310150775A CN 103227749 B CN103227749 B CN 103227749B
Authority
CN
China
Prior art keywords
network
less
value
message
limit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310150775.2A
Other languages
Chinese (zh)
Other versions
CN103227749A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310150775.2A priority Critical patent/CN103227749B/en
Publication of CN103227749A publication Critical patent/CN103227749A/en
Application granted granted Critical
Publication of CN103227749B publication Critical patent/CN103227749B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of message method and equipment, belong to communication technical field.Described method comprises: obtain the first use value corresponding to first network; Detect the first use value and whether be less than the first use limit; If the first use value is less than the first use limit, then send message by first network; If the first use value is not less than the first use limit, then obtains the second use value corresponding to second network, detect the second use value and whether be less than the second use limit; If the second use value is less than the second use limit, then send message by second network.Whether the present invention is less than the first use limit by detection first use value, when the first use value is not less than the first use limit, then detects the second use value and whether is less than the second use limit, selects according to testing result the mode sending message; Solve the problem that customer charge expenditure that is that cause increases because message mode selection is improper; Reach the effect of choose reasonable message mode.

Description

Message method and equipment
Technical field
The present invention relates to communication technical field, particularly a kind of message method and equipment.
Background technology
SMS (ShortMessageService, Short Message Service) is the messaging service that a kind of operator provides, and this service transmits the message of communicating between users by carrier network.But along with the development of network technology, there is another mode by the Internet pass-along message, message both can have been sent by carrier network, also can be sent by the Internet.
Because the transmission approach of two kinds of message modes is different, cause the charge method of two kinds of message modes general also different.Specifically, the mode being sent message by carrier network is charged according to the number of sent message, the content size of every bar message is generally 160 bytes, charging according to a piece of news less than 160 bytes, the message being split into more than two or two sends by the message more than 160 bytes; And by the Internet send message mode according to sent message take flow number charge, the content size that message takies flow and message is directly proportional.
Realizing in process of the present invention, inventor finds that background technology at least exists following problem: due to the difference of the charge method of two kinds of message modes, how to select the send mode of the lower message of charge just to become a problem according to current actual service condition.Such as, a kind of monthly package that operator provides, comprise 200 information and 30M flow, namely user sends the number limit of message every month is 200, flow limit shared by message sends is 30M, when the flow use value in set meal has reached flow limit 30M, and when the number that message sends also does not reach the number limit 200 in set meal, the expense of generation will be made higher if send message by the Internet again.
Summary of the invention
In order to solve the problem that customer charge expenditure that is that cause increases because message mode selection is improper, embodiments provide a kind of message mode system of selection and equipment.Described technical scheme is as follows:
First aspect, provides a kind of message method, and described method comprises:
Obtain the first use value and first corresponding to first network and use limit, described first uses limit to be distribute to the SC service ceiling of user to described first network;
Detect described first use value and whether be less than described first use limit;
Be less than described first use limit if testing result is described first use value, then send message by described first network;
Be not less than described first use limit if testing result is described first use value, then obtain the second use value corresponding to second network and second and use limit, described second uses limit to be distribute to the SC service ceiling of described user to described second network;
Detect described second use value and whether be less than described second use limit;
Be less than described second use limit if testing result is described second use value, then send message by described second network.
Further, described by before described first network transmission message, described method also comprises:
Calculate the first occupation value when described message is sent by described first network;
Judge whether described first use value and described first occupation value sum are less than described first and use limit;
Be less than described first use limit if judged result is described first use value and described first occupation value sum, then perform the described step being sent message by described first network;
Be not less than described first use limit if judged result is described first use value and described first occupation value sum, then perform the step that described acquisition corresponds to the second use value of second network.
Further, described by before described second network transmission message, described method also comprises:
Calculate the second occupation value when described message is sent by described second network;
Judge whether described second use value and described second occupation value sum are less than described second and use limit;
Be less than described second use limit if judged result is described second use value and described second occupation value sum, then perform the described step being sent message by described second network;
Be not less than described second use limit if judged result is described second use value and described second occupation value sum, then send message by described first network.
Further, after whether described second use value of described detection is less than described second use limit, described method also comprises:
Be not less than described second use limit if testing result is described second use value, then send message by described first network.
Further, the first use value and first that described acquisition corresponds to first network uses before limit, and described method also comprises:
Judge whether to allow access the 3rd network, described user does not have SC service ceiling to described 3rd network;
If judged result for allowing described 3rd network of access, then sends message by described 3rd network;
If judged result accesses described 3rd network for not allowing, then perform the step that described acquisition corresponds to the first use value of first network.
Second aspect, provide a kind of message transmitting apparatus, described equipment comprises:
First acquisition module, use limit for the first use value and first obtained corresponding to first network, described first uses limit to be distribute to the SC service ceiling of user to described first network;
First detection module, whether the first use value got for detecting described first acquisition module is less than described first uses limit;
First sending module, for when the testing result of described first detection module be the first use value that described first acquisition module gets be less than described first use limit time, send message by described first network;
Second detection module, for when the testing result of described first detection module be the first use value that described first acquisition module gets be not less than described first use limit time, obtain the second use value and second corresponding to second network and use limit, described second uses limit to be distribute to the SC service ceiling of described user to described second network;
Second detection module, whether the second use value got for detecting described second acquisition module is less than described second uses limit;
Second sending module, for when the testing result of described second detection module be the second use value that described second acquisition module gets be less than described second use limit time, send message by described second network.
Further, described equipment also comprises:
First computing module and the first judge module;
Described first computing module, for calculating the first occupation value when described message is sent by described first network;
Described first judge module, for judging whether the first use value that described first acquisition module gets and the first occupation value sum that described first computing module calculates are less than described first and use limit;
Described first sending module, for when the judged result of described first judge module be the first occupation value sum that the first use value of getting of described first acquisition module and described first computing module calculate be less than described first use limit time, perform the described step by described first network transmission message;
Described second acquisition module, for when the judged result of described first judge module be the first occupation value sum that the first use value of getting of described first acquisition module and described first computing module calculate be not less than described first use limit time, perform the step that described acquisition corresponds to the second use value of second network.
Further, described equipment also comprises:
Second computing module and the second judge module;
Described second computing module, for calculating the second occupation value when described message is sent by described second network;
Described second judge module, for judging whether the second use value that described second acquisition module gets and the second occupation value sum that described second computing module calculates are less than described second and use limit;
Described second sending module, for when the judged result of described second judge module be the second occupation value sum that the second use value of getting of described second acquisition module and described second computing module calculate be less than described second use limit time, perform the described step by described second network transmission message;
Described first sending module, for when the judged result of described second judge module be the second occupation value sum that the second use value of getting of described second acquisition module and described second computing module calculate be not less than described second use limit time, send message by described first network.
Further, described first sending module, for when the testing result of described second detection module be the second use value that described second acquisition module gets be not less than described second use limit time, send message by described first network.
Further, described equipment also comprises:
3rd judge module and the 3rd sending module;
Described 3rd judge module, allow access the 3rd network for judging whether, described user does not have SC service ceiling to described 3rd network;
Described 3rd sending module, for when the judged result of described 3rd judge module is for allowing to access described 3rd network, sends message by described 3rd network;
Described first acquisition module, for when the judged result of described 3rd judge module is not for allowing to access described 3rd network, performs the step that described acquisition corresponds to the first use value of first network.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
Whether being less than the first use limit by detecting the first use value, when the first use value is not less than the first use limit, then detects the second use value and whether be less than the second use limit, select according to testing result the mode sending message; Solve the problem that customer charge expenditure that is that cause increases because message mode selection is improper; Reach the effect of choose reasonable message mode.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the message method that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram of the message method that the embodiment of the present invention two provides;
Fig. 3 is the block diagram of the message transmitting apparatus that the embodiment of the present invention three provides;
Fig. 4 is the block diagram of the message transmitting apparatus that the embodiment of the present invention four provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Please refer to Fig. 1, it illustrates the method flow diagram of the message method that the embodiment of the present invention one provides.This message method, comprising:
Step 101, obtains the first use value and first corresponding to first network and uses limit;
Message transmitting apparatus obtains the first use value and first corresponding to first network and uses limit, and this first use limit distributes to the SC service ceiling of user to first network.
Step 102, detects the first use value and whether is less than the first use limit;
Message transmitting apparatus detects the first use value and whether is less than the first use limit.
Step 103, if testing result is the first use value be less than the first use limit, then sends message by first network;
If testing result is the first use value be less than the first use limit, then message transmitting apparatus sends message by first network.
Step 104, if testing result is the first use value be not less than the first use limit, then obtains the second use value corresponding to second network and second and uses limit;
If testing result is the first use value be not less than the first use limit, then message transmitting apparatus obtains the second use value and second corresponding to second network and uses limit, and this second use limit is distribute to the SC service ceiling of user to second network.
Step 105, detects the second use value and whether is less than the second use limit;
Message transmitting apparatus detects the second use value and whether is less than the second use limit.
Step 106, if testing result is the second use value be less than the second use limit, then sends message by second network;
If testing result is the second use value be less than the second use limit, then message transmitting apparatus sends message by second network.
In sum, whether the message method that the present embodiment provides, be less than the first use limit, when the first use value is not less than the first use limit by detecting the first use value, detect the second use value again and whether be less than the second use limit, select according to testing result the mode sending message; Solve the problem that customer charge expenditure that is that cause increases because message mode selection is improper; Reach the effect of choose reasonable message mode.
Embodiment two
Please refer to Fig. 2, it illustrates the method flow diagram of the message method that the embodiment of the present invention two provides.The mode that the embodiment of the present invention provides three kinds of message to send, the mode of three kinds of message transmissions is respectively and is sent by first network, sent by second network and sent by the 3rd network, and the priority of the 3rd network is the highest, the priority of first network is taken second place, and the priority of second network is minimum.Such as, the 3rd network is free the Internet, and user does not have SC service ceiling to the 3rd network, and first network is the Internet of charge, and second network is carrier network, and user has SC service ceiling respectively to second network and the 3rd network.The height of above-mentioned priority is for according to sending What are your rates setting that same message collects, and send the expense that same message collects fewer, then priority is higher.The embodiment of the present invention for first network for exist the Internet of flow limit, second network for there is the carrier network of note number limit, the 3rd network is free Wi-Fi network, message transmitting apparatus is described for mobile phone.This message method, comprising:
Step 201, judges whether to allow access the 3rd network;
Mobile phone judges whether to allow access the 3rd network, and user does not have SC service ceiling to the 3rd network.Such as, the free WiFi network that the 3rd network provides for public place, when needing to send message, first mobile phone judges whether to allow this free WiFi network of access.Generally, free WiFi network is used to need rights of using, also exist be not set using authority free WiFi network, mobile phone judges whether to allow the free WiFi network of access, namely first detect the signal that whether can receive this free WiFi network, then judge whether that there are the rights of using using this free WiFi network.
If judged result, for allowing access the 3rd network, enters step 202;
If judged result is not for allow access the 3rd network, enter step 203.
Step 202, sends message by the 3rd network;
If the judged result of step 201 is for allowing access the 3rd network, then mobile phone sends message by the 3rd network.Such as, step 201 detects the signal that can receive certain free WiFi network, and has the rights of using of this free WiFi network, then send the message that will send by this free WiFi network.
Step 203, obtains the first use value and first corresponding to first network and uses limit;
Owing to setting the priority of first network higher than second network, if so the judged result of step 201 is not for allow access the 3rd network, then first obtain the first use value corresponding to first network and first and use limit, limit can be used by mutual acquisition first use value and first of mobile phone and first network; Also by Real-time Monitoring with Mobile Telephone and record the first use value, and the precalculated position of mobile phone can be kept at, and use limit to be also arranged in mobile phone by first, to obtain from mobile phone when needs use first use value and first use limit; First uses limit to be distribute to the SC service ceiling of user to first network.Such as, when first network is the Internet, can be the message of 30M by the Internet transmitted traffic number, namely first limit is used to be 30M, when needs send message time, first obtain the current flow number having used the Internet to send message, suppose that the number of use traffic of user is 27M, namely the first use value is 27M.
Step 204, detects the first use value and whether is less than the first use limit;
Detect the first use value corresponding to first network and whether be less than the first use limit.Such as, whether the current flow number 27M having used the Internet to send message of mobile phone detection is less than the first use limit 30M.
If testing result is the first use value be less than the first use limit, enter step 205;
If testing result is the first use value be not less than the first use limit, enter step 208.
Step 205, calculates the first occupation value when message is sent by first network;
If the testing result of step 204 is the first use value be less than the first use limit, then calculate the first occupation value when message is sent by first network.Such as, the testing result of step 204 is that the first use value 27M is less than the first use limit 30M, then mobile phone calculates the first occupation value when the message that will send is sent by first network and the Internet, suppose that the message that will send needs to take the flow of 1M when being sent by first network and the Internet, then the first occupation value is 1M.
Step 206, judges whether the first use value and the first occupation value sum are less than the first use limit;
Mobile phone judges whether the first use value and the first occupation value sum are less than the first use limit.Such as, mobile phone judges whether the first use value 27M and the first occupation value 1M sum are less than the first use limit 30M.
If judged result is the first use value and the first occupation value sum be less than the first use limit, enter step 207;
If judged result is the first use value and the first occupation value sum be not less than the first use limit, enter step 208.
Step 207, sends message by first network;
If the judged result of step 206 is the first use value and the first occupation value sum be less than the first use limit, then send message by first network.Such as, above-mentioned first use value 27M and the first occupation value 1M sum are 28M, and be less than the first use limit 30M, then mobile phone sends this message by first network and the Internet.
Step 208, obtain the second use value and second corresponding to second network and use limit, second uses limit to be distribute to the SC service ceiling of user to second network;
If the judged result of step 206 is the first use value and the first occupation value sum be not less than the first use limit, then obtain the second use value corresponding to second network and second and use limit, limit can be used by mutual acquisition second use value and second of mobile phone and second network, also can by Real-time Monitoring with Mobile Telephone and record the second use value, and be kept at the precalculated position of mobile phone, and use limit to be also kept in mobile phone by second, to obtain from mobile phone when needs use second use value and second use limit.Such as, if calculate the flow needing to take 5M when the current message that will send is sent by first network and the Internet in step 205, namely when the first occupation value is 5M, first use value 27M and the first occupation value 5M sum are 32M, be not less than the first use limit 30M, then mobile phone obtains the second use value corresponding to second network; When supposing that second network is carrier network, can be the message of 200 by carrier network quantity forwarded, namely second limit is used to be 200, when determining the first use value and the first occupation value sum is not less than the first use limit, obtain the current number having used carrier network to send message, suppose that the number of user's transmitted message is 197, namely the second use value is 197.
Step 209, detects the second use value and whether is less than the second use limit;
Mobile phone detects the second use value and whether is less than the second use limit.Such as, mobile phone detects the second use value 197 and whether is less than the second use limit 200.
If testing result is the second use value be less than the second use limit, enter step 210;
If testing result is the second use value be not less than the second use limit, enter step 207.
Step 210, calculates the second occupation value when message is sent by second network;
If the testing result of step 209 is the second use value be less than the second use limit, then mobile phone calculates the second occupation value when message is sent by second network.Such as, the testing result of step 209 is that the second use value 197 is less than the second use limit 200, then mobile phone calculates the second occupation value when message is sent by second network, suppose that the message that will send needs points 2 to send when being sent by second network and carrier network, then the second occupation value is 2.
Step 211, judges whether the second use value and the second occupation value sum are less than the second use limit;
Mobile phone judges whether the second use value and the second occupation value sum are less than the second use limit.Such as, mobile phone judges whether the second use value 197 and the second occupation value 2 sums are less than the second use limit 200.
If judged result is the second use value and the second occupation value sum be less than the second use limit, enter step 212;
If judged result is the second use value and the second occupation value sum be not less than the second use limit, enter step 207.
Step 212, sends message by second network;
If the judged result of step 211 is the second use value and the second occupation value sum be less than the second use limit, then mobile phone sends message by second network.Such as, above-mentioned second use value 197 and the second occupation value 2 sums are 199, are less than the second use limit 200, then mobile phone sends message by second network and carrier network.
In sum, whether the message method that the present embodiment provides, be less than the first use limit, when the first use value is not less than the first use limit by detecting the first use value, detect the second use value again and whether be less than the second use limit, select according to testing result the mode sending message; Solve the problem that customer charge expenditure that is that cause increases because message mode selection is improper; Reach the effect of choose reasonable message mode.Also by when detecting that the first use value is less than the first use limit (the second use value is less than the second use limit), further detection is current will be sent the first occupation value when message is sent by first network and the first use value sum and whether be less than the first use limit (current will send the second occupation value when message is sent by second network and whether the second use value sum is less than the second use limit), the mode sending message is selected according to further testing result, solve and will produce the problem of extra charge at a kind of send mode by still adopting this send mode time in excess of the quota, reach the effect of choose reasonable message mode more.Also by before obtaining the first use value corresponding to first network and the second use value corresponding to second network, judge whether to allow access to there is not the 3rd network of any SC service ceiling, solve and there is the unnecessary expense that causes of SC service ceiling network transmission message without selecting when SC service ceiling network when existing, reach the effect more reasonably selecting message mode.
Following is device in the embodiment of the present invention, and the content of wherein not detailed description, can in conjunction with the embodiment of the method with reference to above-mentioned correspondence.
Embodiment three
Please refer to Fig. 3, it illustrates the block diagram of the message transmitting apparatus that the embodiment of the present invention three provides.This message transmitting apparatus, comprising: the first acquisition module 310, first detection module 320, first sending module 330, second acquisition module 340, second detection module 350 and the second sending module 360.
Described first acquisition module 310, use limit for the first use value and first obtained corresponding to first network, described first uses limit to be distribute to the SC service ceiling of user to first network.
Described first detection module 320, whether the first use value got for detecting described first acquisition module 310 is less than described first uses limit.
Described first sending module 330, for when the testing result of described first detection module 320 be the first use value that described first acquisition module 310 gets be less than described first use limit time, send message by described first network.
Described second acquisition module 340, for when the testing result of described first detection module 320 be the first use value that described first acquisition module 310 gets be not less than described first use limit time, obtain the second use value and second corresponding to second network and use limit, described second uses limit to be distribute to the SC service ceiling of user to second network;
Described second detection module 350, whether the second use value got for detecting described second acquisition module 340 is less than described second uses limit.
Described second sending module 360, for when the testing result of described second detection module 350 be the second use value that described second acquisition module 340 gets be less than described second use limit time, send message by described second network.
In sum, whether the message transmitting apparatus that the present embodiment provides, be less than the first use limit, when the first use value is not less than the first use limit by detecting the first use value, detect the second use value again and whether be less than the second use limit, select according to testing result the mode sending message; Solve the problem that customer charge expenditure that is that cause increases because message mode selection is improper; Reach the effect of choose reasonable message mode.
Embodiment four
Please refer to Fig. 4, it illustrates the block diagram of the message transmitting apparatus that the embodiment of the present invention four provides.This message transmitting apparatus, comprising: the 3rd judge module 401, the 3rd sending module 402, first acquisition module 403, first detection module 404, first computing module 405, first judge module 406, first sending module 407, second acquisition module 408, second detection module 409, second computing module 410, second judge module 411 and the second sending module 412.
Described 3rd judge module 401, allow access the 3rd network for judging whether, user does not have SC service ceiling to described 3rd network;
Described 3rd sending module 402, for when the judged result of described 3rd judge module 401 is for permission access the 3rd network, sends message by described 3rd network;
Described first acquisition module 403, for when the judged result of described 3rd judge module 401 is not for allowing access the 3rd network, obtain the first use value and first corresponding to first network and use limit, described first uses limit to be distribute to the SC service ceiling of user to first network;
Described first detection module 404, whether the first use value got for detecting described first acquisition module 403 is less than described first uses limit;
Described first computing module 405, for when the testing result of described first detection module 404 be the first use value that described first acquisition module 403 gets be less than described first use limit time, calculate the first occupation value when described message is sent by described first network;
Described first judge module 406, for judging whether the first use value that described first acquisition module 403 gets and the first occupation value sum that described first computing module 405 calculates are less than described first and use limit;
Described first sending module 407, for when the judged result of described first judge module 406 be the first occupation value sum that the first use value of getting of described first acquisition module 403 and described first computing module 405 calculate be less than described first use limit time, send message by described first network;
Described second acquisition module 408, for when the judged result of described first judge module 406 be the first occupation value sum that the first use value of getting of described first acquisition module 403 and described first computing module 405 calculate be not less than described first use limit time, obtain the second use value and second corresponding to second network and use limit, described second uses limit to be distribute to the SC service ceiling of user to second network;
Described second detection module 409, whether the second use value got for detecting described second acquisition module 408 is less than described second uses limit;
Described first sending module 407, for when the testing result of described second detection module 409 be the second use value that described second acquisition module 408 gets be not less than described second use limit time, send message by described second network;
Described second detection module 408, for when the testing result of described first detection module 404 be the first use value that described first acquisition module 403 gets be not less than described first use limit time, detect the second use value that described second acquisition module 408 gets and whether be less than described second and use limit;
Described second computing module 410, for when the testing result of described second detection module 409 be the second use value that described second acquisition module 408 gets be less than described second use limit time, calculate the second occupation value when described message is sent by described second network;
Described second judge module 411, for judging whether the second use value that described second acquisition module 408 gets and the second occupation value sum that described second computing module 410 calculates are less than described second and use limit;
Described second sending module 412, for when the judged result of described second judge module 411 be the second occupation value sum that the second use value of getting of described second acquisition module 408 and described second computing module 410 calculate be less than described second use limit time, send message by described second network;
Described first sending module 407, for when the judged result of described second judge module 411 be the second occupation value sum that the second use value of getting of described second acquisition module 408 and described second computing module 410 calculate be not less than described second use limit time, send message by described first network.
In sum, whether the message transmitting apparatus that the present embodiment provides, be less than the first use limit, when the first use value is not less than the first use limit by detecting the first use value, detect the second use value again and whether be less than the second use limit, select according to testing result the mode sending message; Solve the problem that customer charge expenditure that is that cause increases because message mode selection is improper; Reach the effect of choose reasonable message mode.Also by when detecting that the first use value is less than the first use limit (the second use value is less than the second use limit), further detection is current will be sent the first occupation value when message is sent by first network and the first use value sum and whether be less than the first use limit (current will send the second occupation value when message is sent by second network and whether the second use value sum is less than the second use limit), the mode sending message is selected according to further testing result, solve and will produce the problem of extra charge at a kind of send mode by still adopting this send mode time in excess of the quota, reach the effect of choose reasonable message mode more.Also by before obtaining the first use value corresponding to first network and the second use value corresponding to second network, judge whether to allow access to there is not the 3rd network of any SC service ceiling, solve and there is the unnecessary expense that causes of SC service ceiling network transmission message without selecting when SC service ceiling network when existing, reach the effect more reasonably selecting message mode.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a message method, is characterized in that, described method comprises:
Obtain the first use value and first corresponding to first network and use limit, described first uses limit to be distribute to the SC service ceiling of user to described first network;
Detect described first use value and whether be less than described first use limit;
Be less than described first use limit if testing result is described first use value, then send message by described first network;
Be not less than described first use limit if testing result is described first use value, then obtain the second use value corresponding to second network and second and use limit, described second uses limit to be distribute to the SC service ceiling of described user to described second network;
Detect described second use value and whether be less than described second use limit;
Be less than described second use limit if testing result is described second use value, then send message by described second network.
2. method according to claim 1, is characterized in that, described by before described first network transmission message, described method also comprises:
Calculate the first occupation value when described message is sent by described first network;
Judge whether described first use value and described first occupation value sum are less than described first and use limit;
Be less than described first use limit if judged result is described first use value and described first occupation value sum, then perform the described step being sent message by described first network;
Be not less than described first use limit if judged result is described first use value and described first occupation value sum, then perform the step that described acquisition corresponds to the second use value of second network.
3. method according to claim 1, is characterized in that, described by before described second network transmission message, described method also comprises:
Calculate the second occupation value when described message is sent by described second network;
Judge whether described second use value and described second occupation value sum are less than described second and use limit;
Be less than described second use limit if judged result is described second use value and described second occupation value sum, then perform the described step being sent message by described second network;
Be not less than described second use limit if judged result is described second use value and described second occupation value sum, then send message by described first network.
4. method according to claim 1, is characterized in that, after whether described second use value of described detection is less than described second use limit, described method also comprises:
Be not less than described second use limit if testing result is described second use value, then send message by described first network.
5. according to the arbitrary described method of Claims 1-4, it is characterized in that, before the first use value and first that described acquisition corresponds to first network uses limit, described method also comprises:
Judge whether to allow access the 3rd network, described user does not have SC service ceiling to described 3rd network;
If judged result for allowing described 3rd network of access, then sends message by described 3rd network;
If judged result accesses described 3rd network for not allowing, then perform the step that described acquisition corresponds to the first use value of first network.
6. a message transmitting apparatus, is characterized in that, described equipment comprises:
First acquisition module, use limit for the first use value and first obtained corresponding to first network, described first uses limit to be distribute to the SC service ceiling of user to described first network;
First detection module, whether the first use value got for detecting described first acquisition module is less than described first uses limit;
First sending module, for when the testing result of described first detection module be the first use value that described first acquisition module gets be less than described first use limit time, send message by described first network;
Second acquisition module, for when the testing result of described first detection module be the first use value that described first acquisition module gets be not less than described first use limit time, obtain the second use value and second corresponding to second network and use limit, described second uses limit to be distribute to the SC service ceiling of described user to described second network;
Second detection module, whether the second use value got for detecting described second acquisition module is less than described second uses limit;
Second sending module, for when the testing result of described second detection module be the second use value that described second acquisition module gets be less than described second use limit time, send message by described second network.
7. equipment according to claim 6, is characterized in that, described equipment also comprises:
First computing module and the first judge module;
Described first computing module, for calculating the first occupation value when described message is sent by described first network;
Described first judge module, for judging whether the first use value that described first acquisition module gets and the first occupation value sum that described first computing module calculates are less than described first and use limit;
Described first sending module, for when the judged result of described first judge module be the first occupation value sum that the first use value of getting of described first acquisition module and described first computing module calculate be less than described first use limit time, perform the described step by described first network transmission message;
Described second acquisition module, for when the judged result of described first judge module be the first occupation value sum that the first use value of getting of described first acquisition module and described first computing module calculate be not less than described first use limit time, perform the step obtaining the second use value corresponding to second network.
8. equipment according to claim 6, is characterized in that, described equipment also comprises:
Second computing module and the second judge module;
Described second computing module, for calculating the second occupation value when described message is sent by described second network;
Described second judge module, for judging whether the second use value that described second acquisition module gets and the second occupation value sum that described second computing module calculates are less than described second and use limit;
Described second sending module, for when the judged result of described second judge module be the second occupation value sum that the second use value of getting of described second acquisition module and described second computing module calculate be less than described second use limit time, perform the described step by described second network transmission message;
Described first sending module, for when the judged result of described second judge module be the second occupation value sum that the second use value of getting of described second acquisition module and described second computing module calculate be not less than described second use limit time, send message by described first network.
9. equipment according to claim 6, is characterized in that,
Described first sending module, for when the testing result of described second detection module be the second use value that described second acquisition module gets be not less than described second use limit time, send message by described first network.
10., according to the arbitrary described equipment of claim 6 to 9, it is characterized in that, described equipment also comprises:
3rd judge module and the 3rd sending module;
Described 3rd judge module, allow access the 3rd network for judging whether, described user does not have SC service ceiling to described 3rd network;
Described 3rd sending module, for when the judged result of described 3rd judge module is for allowing to access described 3rd network, sends message by described 3rd network;
Described first acquisition module, for when the judged result of described 3rd judge module is not for allowing to access described 3rd network, performs the step that described acquisition corresponds to the first use value of first network.
CN201310150775.2A 2013-04-26 2013-04-26 Message method and equipment Active CN103227749B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310150775.2A CN103227749B (en) 2013-04-26 2013-04-26 Message method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310150775.2A CN103227749B (en) 2013-04-26 2013-04-26 Message method and equipment

Publications (2)

Publication Number Publication Date
CN103227749A CN103227749A (en) 2013-07-31
CN103227749B true CN103227749B (en) 2016-04-27

Family

ID=48838018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310150775.2A Active CN103227749B (en) 2013-04-26 2013-04-26 Message method and equipment

Country Status (1)

Country Link
CN (1) CN103227749B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114979979B (en) * 2021-09-17 2023-07-21 中移互联网有限公司 Message processing method and message processing system thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968104A (en) * 2006-06-27 2007-05-23 华为技术有限公司 Charging control apparatus in service control point and charging method in intelligent network
CN101257460A (en) * 2007-02-27 2008-09-03 中国移动通信集团公司 Instantaneous message temporary cluster group conversational system and method for creating and transmitting instantaneous message
CN101951571A (en) * 2010-08-27 2011-01-19 中兴通讯股份有限公司 Short message retrying method and short message gateway

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1968104A (en) * 2006-06-27 2007-05-23 华为技术有限公司 Charging control apparatus in service control point and charging method in intelligent network
CN101257460A (en) * 2007-02-27 2008-09-03 中国移动通信集团公司 Instantaneous message temporary cluster group conversational system and method for creating and transmitting instantaneous message
CN101951571A (en) * 2010-08-27 2011-01-19 中兴通讯股份有限公司 Short message retrying method and short message gateway

Also Published As

Publication number Publication date
CN103227749A (en) 2013-07-31

Similar Documents

Publication Publication Date Title
EP2461549B1 (en) Mobile phone internet flow counting and displaying method, device, and mobile phone
US10743252B2 (en) Method for identifying access point and hotspot and terminal
CN104703254B (en) network access method and device
CN102761856B (en) Terminal room shares the methods, devices and systems of software
CN102142990A (en) Traffic monitoring method and device
CN104619045A (en) Access control method and device for mobile terminal
CN103269493A (en) Method and device for pushing bandwidth services
WO2016041171A1 (en) Method and apparatus for determining terminal roaming status, terminal and server
CN106465328A (en) Method and system for estimating the geographical distance or for estimating a range of the geographical distance between at least two user equipments, mobile communication network, user equipment, program and computer program product
CN108235237B (en) Data reporting method and device, mobile terminal and computer readable medium
CN107370685A (en) A kind of internet-of-things terminal cut-in method and device
CN107679901A (en) A kind of interactive large-size screen monitors and mobile terminal media resource put-on method and advertisement delivery system
CN103098540A (en) Method and apparatus for sharing wireless data service
CN104301874A (en) System notice transmitting method, device and system
CN103227749B (en) Message method and equipment
CN109005504A (en) Localization method, device, terminal device and the storage medium of wireless messages
CN103581977B (en) Data connection and disconnection processing method, mobile terminal and base station
CN103813373A (en) Device and method for selecting access to network
CN110753323A (en) Card resource allocation method and server
CN108449705B (en) Method and device for controlling internet access position of wireless broadband user
CN110602738A (en) Network connection method and device and electronic device
CN105792235A (en) Data flow statistical method and device
CN102647514A (en) Information display method and device for non-screen wireless terminal
CN108271134B (en) Communication service charging method and device
EP2897405A1 (en) Content downloading method and related device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant