CN104754119A - Terminal - Google Patents

Terminal Download PDF

Info

Publication number
CN104754119A
CN104754119A CN201510108727.6A CN201510108727A CN104754119A CN 104754119 A CN104754119 A CN 104754119A CN 201510108727 A CN201510108727 A CN 201510108727A CN 104754119 A CN104754119 A CN 104754119A
Authority
CN
China
Prior art keywords
note
terminal
surplus
short message
note surplus
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
CN201510108727.6A
Other languages
Chinese (zh)
Other versions
CN104754119B (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.)
Shenzhen Ai You Buddhist Nun Science And Technology Ltd
Original Assignee
Shenzhen Ai You Buddhist Nun Science And Technology 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 Shenzhen Ai You Buddhist Nun Science And Technology Ltd filed Critical Shenzhen Ai You Buddhist Nun Science And Technology Ltd
Priority to CN201510108727.6A priority Critical patent/CN104754119B/en
Publication of CN104754119A publication Critical patent/CN104754119A/en
Application granted granted Critical
Publication of CN104754119B publication Critical patent/CN104754119B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

An embodiment of the invention discloses a terminal. The terminal comprises a starting unit used for entering a short message editing interface when the terminal receives a short message editing command input by a user, an acquisition unit used for acquiring current short message allowance of the terminal and a display unit used for displaying the current short message allowance in the short message editing interface. By means of the terminal, the current short message allowance can be displayed in the short message editing interface, and user experience is improved.

Description

A kind of terminal
Technical field
The present invention relates to communication technical field, be specifically related to a kind of terminal.
Background technology
Along with the fast development of the communication technology, the differentiated demand of telecom operators by providing more and more abundanter set meal type to meet different user colony, such as, the user often sent short messages is needed subscribe package containing a fairly large number of set meal of note, but this kind of user is when sending short messages, usually do not understand the surplus of note in the set meal oneself ordered, in order to control short message sending quantity, avoid the more extraneoas loss note quantity that provides in set meal being provided and causing simultaneously, user generally can be inquired about to telecom operators by phone or note, if user can know note surplus before needing to send note at every turn, just have to be inquired about to telecom operators by phone or note frequently, this obviously can bring very large inconvenience to user.
Summary of the invention
Embodiments provide a kind of terminal, can be implemented in the short message editing interface of terminal and show current note surplus, promote Consumer's Experience.
Embodiments provide a kind of terminal, comprising:
Start unit, for receive when described terminal user input short message editing instruction time, enter short message editing interface;
Acquiring unit, for obtaining the current note surplus of described terminal;
Display unit, in described short message editing interface, shows described current note surplus.
Pass through the embodiment of the present invention, when receiving the short message editing instruction of user's input, terminal enters short message editing interface, and obtain current note surplus, and then in this short message editing interface, show this current note surplus, can be implemented in the short message editing interface of terminal and show current note surplus, promote Consumer's Experience.
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 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 first embodiment schematic flow sheet of a kind of note surplus querying method that the embodiment of the present invention provides;
Fig. 2 is the second embodiment schematic flow sheet of a kind of note surplus querying method that the embodiment of the present invention provides;
Fig. 3 is the 3rd embodiment schematic flow sheet of a kind of note surplus querying method that the embodiment of the present invention provides;
Fig. 4 is the first example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the 3rd example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 7 is the 4th example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Terminal in the embodiment of the present invention can comprise smart mobile phone (as Android phone, iOS mobile phone, Windows Phone mobile phone etc.), panel computer, palmtop PC, mobile internet device (MID, MobileInternet Devices) or Wearable etc., above-mentioned terminal is only citing, and non exhaustive, including but not limited to above-mentioned terminal.
Referring to Fig. 1, is the first embodiment schematic flow sheet of a kind of note surplus querying method that the embodiment of the present invention provides.Note surplus querying method described in the present embodiment, comprises the following steps:
S101, when receive user input short message editing instruction time, terminal enters short message editing interface.
Wherein, said short message edit instruction specifically can comprise one or more in click, touch, slip and voice.
When user needs use terminal to send note, answer short message or check the current note surplus of terminal, short message editing instruction can be inputted to terminal, after terminal response said short message edit instruction, enter short message editing interface.
S102, terminal obtain current note surplus.
In the execution mode that some are feasible, terminal can send note surplus query statement to destination server, and the first inquiry response returned after resolving destination server response said short message surplus query statement, thus obtain the current note surplus of the terminal that above-mentioned first inquiry response comprises.Such as, terminal can send in system background the note comprising the instruction of set meal residue status inquiry to telecom operators' server, telecom operators' server can return corresponding Query Result to terminal, and terminal is resolved above-mentioned Query Result, thus can obtain the current note surplus of terminal.
Wherein, above-mentioned destination server can comprise telecom operators' server or third-party server etc.
In the execution mode that some are feasible, terminal can obtain default note total amount, the target note quantity that record terminal sends to targeted recipient, and from note total amount, deduct target note quantity when above-mentioned target note is successfully sent, thus obtain the current note surplus of terminal.Such as, user can arrange the note total amount in this month set meal at first day monthly, or, at first day monthly, terminal sends the note comprising set meal total amount query statement from trend telecom operators server in system background, and then obtains the note total amount in this month set meal, when user utilizes terminal to send note, go out after note is successfully sent in terminal judges, terminal deducts the note quantity that each user sends from note total amount, thus obtains the current note surplus of terminal.
S103, terminal show described current note surplus in described short message editing interface.
In specific implementation, the current note surplus got in step s 102 is presented in the short message editing interface of terminal in modes such as numerals by terminal.
In the execution mode that some are feasible, terminal can show note total amount and current note surplus simultaneously at short message editing interface, concrete display mode can comprise numeral, block diagram, cake chart etc.Such as, be shown as n/N in the mode of numeral, n is current note surplus, and N is note total amount.In addition, terminal also can show the percentage that the utilization rate of note total amount or current note surplus account for note total amount.
It should be noted that, terminal is after this enters short message editing interface, if obtain current note surplus by the mode sending note surplus query statement to destination server, then terminal shows this current note surplus obtained in the short message editing interface that this enters; If when terminal obtains current note surplus by deducting this target note quantity sent of user from note total amount, after short message sending, if terminal exits short message editing interface, the current note surplus that this obtains could be shown when then once entering short message editing interface in terminal, if terminal does not exit short message editing interface, then terminal shows this current note surplus obtained in the short message editing interface that this enters.
In method described by the embodiment of the present invention, when receiving the short message editing instruction of user's input, terminal enters short message editing interface, and obtain current note surplus, and then in this short message editing interface, show this current note surplus, can be implemented in the short message editing interface of terminal and show current note surplus, promote Consumer's Experience.
Referring to Fig. 2, is the second embodiment schematic flow sheet of a kind of note surplus querying method that the embodiment of the present invention provides.Note surplus querying method described in the present embodiment, comprises the following steps:
S201, when receive user input short message editing instruction time, terminal enters short message editing interface.
Wherein, said short message edit instruction specifically can comprise one or more in click, touch, slip and voice.
When user needs use terminal to send note, answer short message or check the current note surplus of terminal, short message editing instruction can be inputted to terminal, after terminal response said short message edit instruction, enter short message editing interface.
S202, terminal obtain the note total amount preset.
In the execution mode that some are feasible, terminal can send note surplus query statement to destination server in the time range preset, and after the first inquiry response returned, obtains note total amount after resolving destination server response said short message surplus query statement.Such as, at first day monthly, terminal sends the note comprising set meal total amount query statement from trend telecom operators server in system background, and then obtains the note total amount in this month set meal.
Wherein, above-mentioned destination server can comprise telecom operators' server or third-party server etc.
In the execution mode that some are feasible, terminal can receive the note total amount information that user inputs in the time range preset, and then obtains note total amount.Such as, user can at first day monthly, arranges function manually input note total amount in this month set meal by the package information of terminal.
The target note quantity that S203, terminal record send to targeted recipient.
Concrete, user is when utilizing terminal to send note, and terminal understands the target note quantity that recording user sends at every turn.
S204, when described target note is successfully sent, terminal deducts described target note quantity from described note total amount, obtains current note surplus.
In specific implementation, after user sends target note by terminal, terminal can judge whether target note is successfully sent, and then terminal deducts the target note quantity be successfully sent from note total amount, obtains current note surplus.Such as, note total amount is N bar, and user have sent n1 objective note by terminal, and wherein n2 bar is successfully sent, then current note surplus n=(N-n2) (bar).
In the execution mode that some are feasible, according to the number of targeted recipient, terminal can judge whether target note is charge note, and when judging target note for charge note, the target note quantity deducting charge from said short message total amount obtains current note surplus.Such as, note total amount is N bar, user successful transmission of n1 objective note by terminal, according to the number of targeted recipient, terminal judges that wherein n3 bar is free text message, such as issue the note of the number such as " 10086 ", " 10010 ", " 10000 ", then current note surplus n=(N – n1+n3) (bar).
S205, terminal show described current note surplus in described short message editing interface.
In specific implementation, the current note surplus got is presented in the short message editing interface of terminal in modes such as numerals by terminal.
In the execution mode that some are feasible, terminal can show note total amount and current note surplus simultaneously at short message editing interface, concrete display mode can comprise numeral, block diagram, cake chart etc.Such as, be shown as n/N in the mode of numeral, n is current note surplus, and N is note total amount.In addition, terminal also can show the percentage that the utilization rate of note total amount or current note surplus account for note total amount.
It should be noted that, terminal obtains current note surplus by deducting this target note quantity sent of user from note total amount, after short message sending, if terminal exits short message editing interface, the current note surplus that this obtains could be shown when then once entering short message editing interface in terminal, if terminal does not exit short message editing interface, then terminal shows this current note surplus obtained in the short message editing interface that this enters.
S206, terminal send note surplus query statement with the time interval of presetting to destination server.
In the execution mode that some are feasible, said short message surplus query statement at least comprises and meets the word string of predetermined format and the device identification of terminal.
In specific implementation, terminal can pre-set a time interval, such as three days or one week etc., sends note surplus query statement according to above-mentioned time interval terminal in system background to destination server.
The second inquiry response that destination server described in S207, terminal parses returns after responding described note surplus query statement, obtains the note surplus after the renewal that described second inquiry response comprises.
Concrete, after destination server receives the note surplus query statement of terminal transmission, the up-to-date note balance information that the said equipment mark is corresponding is inquired about from the database that self stores, and generate the second inquiry response, and then above-mentioned second inquiry response is sent to terminal by destination server, above-mentioned second inquiry response of terminal parses extracts the note surplus after the renewal wherein comprised.
Whether the note surplus after upgrading described in S208, terminal judges is equal with described current note surplus, if unequal, then performs step S209.
In specific implementation, whether the note surplus after the more above-mentioned renewal of terminal is equal with the current note surplus obtained in step S204, if the two is unequal, show that the current note surplus that terminal is added up exists error, terminal performs step S209 further, if the two is equal, then terminal does not deal with.
Note surplus after the described current note surplus shown in described short message editing interface is replaced with described renewal by S209, terminal.
Concrete, note surplus after comparing above-mentioned renewal and above-mentioned current note surplus unequal time, the current note surplus shown in short message editing interface is replaced with the note surplus after above-mentioned renewal by terminal, thus completes the automatic calibration of the current note surplus of terminal.
In method described by the embodiment of the present invention, when receiving the short message editing instruction of user's input, terminal enters short message editing interface, and obtain the note total amount preset, record the target note quantity sent to targeted recipient, when this target note is successfully sent, terminal deducts this target note quantity and obtains current note surplus from this note total amount, and in this short message editing interface, show this current note surplus, terminal sends note surplus query statement with the time interval of presetting to destination server, and resolve the second inquiry response returned after this destination server responds this note surplus query statement, obtain the note surplus after the renewal that this second inquiry response comprises, note surplus after judging this renewal and this current note surplus unequal time, note surplus after this current note surplus shown in this short message editing interface is replaced with this renewal by terminal, can be implemented in the short message editing interface of terminal and show current note surplus, and automatically current note surplus is corrected, promote Consumer's Experience.
Referring to Fig. 3, is the 3rd embodiment schematic flow sheet of a kind of note surplus querying method that the embodiment of the present invention provides.Note surplus querying method described in the present embodiment, comprises the following steps:
S301, when receive user input short message editing instruction time, terminal enters short message editing interface.
Wherein, said short message edit instruction specifically can comprise one or more in click, touch, slip and voice.
When user needs use terminal to send note, answer short message or check the current note surplus of terminal, short message editing instruction can be inputted to terminal, after terminal response said short message edit instruction, enter short message editing interface.
S302, terminal send note surplus query statement to destination server.
The first inquiry response that destination server described in S303, terminal parses returns after responding described note surplus query statement, obtains the current note surplus of the terminal that described first inquiry response comprises.
Wherein, above-mentioned destination server can comprise telecom operators' server or third-party server etc.
In the execution mode that some are feasible, terminal can utilize built-in SMS module to send note surplus query statement by base station to telecom operators' server, said short message surplus query statement at least comprises and meets the word string of predetermined format and the device identification of terminal, terminal receives the 4th inquiry response that above-mentioned telecom operators server is returned by base station, after above-mentioned 4th inquiry response of parsing, obtain current note surplus.
Wherein, above-mentioned 4th inquiry response is produced according to after the database of self storage of device identification inquiry of terminal by telecom operators' server.
In the execution mode that some are feasible, above-mentioned destination server can be the wireless network server that third party provides, the device identification of terminal and user's service password are sent to above-mentioned wireless network server by built-in mixed-media network modules mixed-media by terminal, by the interface module of wireless network server after the verification device identification of terminal and user's service password, note surplus query statement is sent to message search entrance, the 5th inquiry response that terminal utilizes built-in mixed-media network modules mixed-media reception said short message inquiry entrance to be returned by above-mentioned wireless network server, and resolve above-mentioned 5th inquiry response, obtain current note surplus,
Wherein, said short message inquiry entrance is provided by telecom operators, above-mentioned mixed-media network modules mixed-media can comprise in mobile communications network module, Wireless Fidelity Wi-Fi module one or more.
S304, terminal show described current note surplus in described short message editing interface.
In specific implementation, the current note surplus got is presented in the short message editing interface of terminal in modes such as numerals by terminal.
In the execution mode that some are feasible, the note total amount of terminal is also comprised in the inquiry response that destination server returns, terminal can show note total amount and current note surplus simultaneously at short message editing interface, concrete display mode can comprise numeral, block diagram, cake chart etc.Such as, be shown as n/N in the mode of numeral, n is current note surplus, and N is note total amount.In addition, terminal also can show the percentage that the utilization rate of note total amount or current note surplus account for note total amount.
S305, terminal receive the note surplus refreshing instruction of described user input.
Wherein, said short message surplus refreshing instruction specifically can comprise one or more in click, touch, slip and voice.
Concrete, user can input the operational order refreshing current note surplus in said short message editing interface.Such as, user can click the Refresh button arranged in said short message editing interface, or, user touches " refreshing " shortcut arranged on the state notifying hurdle of terminal, or, user inputs the voice etc. of " refreshing note surplus " by the microphone of terminal, and terminal receives the note surplus refreshing instruction that user inputs by the way.
Note surplus refreshing instruction described in S306, terminal response sends note surplus query statement to destination server.
In specific implementation, when terminal receives the note surplus refreshing instruction of user's input, send note surplus query statement to destination server.
The 3rd inquiry response that destination server described in S307, terminal parses returns after responding described note surplus query statement, obtains the note surplus after described 3rd renewal that contains of inquiry respond packet.
Note surplus after the described current note surplus shown in described short message editing interface is replaced with described renewal by S308, terminal.
In the execution mode that some are feasible, after terminal gets the note surplus after above-mentioned 3rd renewal that contains of inquiry respond packet, the note surplus after renewal can be compared whether equal with the current note surplus obtained in step S303, if the two is equal, terminal can not deal with, if the two is unequal, the current note surplus shown in short message editing interface is replaced with the note surplus after above-mentioned renewal by terminal, thus completes the manual correction of the current note surplus of terminal.
In method described by the embodiment of the present invention, when receiving the short message editing instruction of user's input, terminal enters short message editing interface, and send note surplus query statement to destination server, resolve the first inquiry response returned after this destination server responds this note surplus query statement and obtain current note surplus, and then in this short message editing interface, show this current note surplus, terminal receives the note surplus refreshing instruction of this user input, and respond this note surplus refreshing instruction to destination server transmission note surplus query statement, the 3rd inquiry response that this destination server of terminal parses returns after responding this note surplus query statement obtains the note surplus after upgrading, and the note surplus after this current note surplus shown in this short message editing interface is replaced with this renewal, can be implemented in the short message editing interface of terminal and show current note surplus, user is corrected current note surplus easily, promote Consumer's Experience.
Referring to Fig. 4, is the first example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: start unit 10, acquiring unit 20 and display unit 30, wherein:
Start unit 10, for receive when described terminal user input short message editing instruction time, enter short message editing interface.
Wherein, said short message edit instruction specifically can comprise one or more in click, touch, slip and voice.
When user needs use terminal to send note, answer short message or check the current note surplus of terminal, can input short message editing instruction to terminal, after start unit 10 responds said short message edit instruction, terminal enters short message editing interface.
Acquiring unit 20, for obtaining the current note surplus of described terminal.
In the execution mode that some are feasible, acquiring unit 20 can send note surplus query statement to destination server, and the first inquiry response returned after resolving destination server response said short message surplus query statement, thus acquiring unit 20 obtains the current note surplus of the terminal that above-mentioned first inquiry response comprises.Such as, acquiring unit 20 can send to telecom operators' server the note comprising the instruction of set meal residue status inquiry on terminal system backstage, telecom operators' server can return corresponding Query Result to terminal, acquiring unit 20 is resolved above-mentioned Query Result, thus can obtain the current note surplus of terminal.
Wherein, above-mentioned destination server can comprise telecom operators' server or third-party server etc.
In the execution mode that some are feasible, acquiring unit 20 can obtain default note total amount, the target note quantity that record terminal sends to targeted recipient, and from note total amount, deduct target note quantity when above-mentioned target note is successfully sent, thus acquiring unit 20 obtains the current note surplus of terminal.Such as, user can arrange the note total amount in this month set meal at first day monthly, or, at first day monthly, acquiring unit 20 sends the note comprising set meal total amount query statement from trend telecom operators server on terminal system backstage, and then obtains the note total amount in this month set meal, when user utilizes terminal to send note, after note is successfully sent, acquiring unit 20 deducts the note quantity that each user sends from note total amount, thus obtains the current note surplus of terminal.
Display unit 30, in described short message editing interface, shows described current note surplus.
In specific implementation, the current note surplus that acquiring unit 20 gets by display unit 30 is presented in the short message editing interface of terminal in modes such as numerals.
In the execution mode that some are feasible, display unit 30 can show note total amount and current note surplus simultaneously at short message editing interface, concrete display mode can comprise numeral, block diagram, cake chart etc.Such as, be shown as n/N in the mode of numeral, n is current note surplus, and N is note total amount.In addition, display unit 30 also can show the percentage that the utilization rate of note total amount or current note surplus account for note total amount.
It should be noted that, terminal is after this enters short message editing interface, if acquiring unit 20 obtains current note surplus by the mode sending note surplus query statement to destination server, then display unit 30 shows this current note surplus obtained in the short message editing interface that this enters; If when acquiring unit 20 obtains current note surplus by deducting this target note quantity sent of user from note total amount, after short message sending, if terminal exits short message editing interface, the current note surplus that this obtains could be shown when then display unit 30 once enters short message editing interface in terminal, if terminal does not exit short message editing interface, then show the current note surplus that this obtains in the display unit 30 short message editing interface that this enters in terminal.
In method described by the embodiment of the present invention, when receiving the short message editing instruction of user's input, terminal enters short message editing interface, and obtain current note surplus, and then in this short message editing interface, show this current note surplus, can be implemented in the short message editing interface of terminal and show current note surplus, promote Consumer's Experience.
Referring to Fig. 5, is the second example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: start unit 10, acquiring unit 20, first judging unit 40, display unit 30, first transmitting element 50, first processing unit 60, second judging unit 70 and the first replacement unit 80, wherein:
Start unit 10, for receive when described terminal user input short message editing instruction time, enter short message editing interface.
Wherein, said short message edit instruction specifically can comprise one or more in click, touch, slip and voice.
When user needs use terminal to send note, answer short message or check the current note surplus of terminal, can input short message editing instruction to terminal, after start unit 10 responds said short message edit instruction, terminal enters short message editing interface.
Acquiring unit 20, for obtaining the note total amount of default described terminal, record the target note quantity that described terminal sends to targeted recipient, and when described target note is successfully sent, from described note total amount, deduct described target note quantity, obtain the current note surplus of described terminal.
In the execution mode that some are feasible, acquiring unit 20 can send note surplus query statement to destination server in the time range preset, after the first inquiry response returned after resolving destination server response said short message surplus query statement, acquiring unit 20 obtains note total amount.Such as, at first day monthly, acquiring unit 20 sends the note comprising set meal total amount query statement from trend telecom operators server on terminal system backstage, and then obtains the note total amount in this month set meal.
Wherein, above-mentioned destination server can comprise telecom operators' server or third-party server etc.
In the execution mode that some are feasible, acquiring unit 20 can receive the note total amount information that user inputs in the time range preset, and then obtains note total amount.Such as, user can at first day monthly, arranges function manually input note total amount in this month set meal by the package information of terminal.
Concrete, user is when utilizing terminal to send note, and acquiring unit 20 understands the target note quantity that recording user sends at every turn.
In specific implementation, after user sends target note by terminal, terminal can judge whether target note is successfully sent, and then from note total amount, deducted the target note quantity be successfully sent by acquiring unit 20, obtains current note surplus.Such as, note total amount is N bar, and user have sent n1 objective note by terminal, and wherein n2 bar is successfully sent, then current note surplus n=(N-n2) (bar).
First judging unit 40, for the number according to described targeted recipient, judges whether described target note is charge note.
In the execution mode that some are feasible, go out after target note is successfully sent in terminal judges, according to the number of targeted recipient, first judging unit 40 can judge whether target note is charge note, and when the first judging unit 40 judges target note for charge note, the target note quantity being deducted charge by acquiring unit 20 from said short message total amount obtains current note surplus.Such as, note total amount is N bar, user successful transmission of n1 objective note by terminal, according to the number of targeted recipient, first judging unit 40 judges that wherein n3 bar is free text message, such as issue the note of the number such as " 10086 ", " 10010 ", " 10000 ", then the current note surplus n=(N – n1+n3) (bar) that gets of acquiring unit 20.
Display unit 30, in described short message editing interface, shows described current note surplus.
In specific implementation, the current note surplus that acquiring unit 20 gets by display unit 30 is presented in the short message editing interface of terminal in modes such as numerals.
In the execution mode that some are feasible, display unit 30 can show note total amount and current note surplus simultaneously at short message editing interface, concrete display mode can comprise numeral, block diagram, cake chart etc.Such as, be shown as n/N in the mode of numeral, n is current note surplus, and N is note total amount.In addition, display unit 30 also can show the percentage that the utilization rate of note total amount or current note surplus account for note total amount.
It should be noted that, acquiring unit 20 obtains current note surplus by deducting this target note quantity sent of user from note total amount, after short message sending, if terminal exits short message editing interface, when then once entering short message editing interface in terminal, display unit 30 could show this current note surplus obtained, if terminal does not exit short message editing interface, then in the short message editing interface that this enters in terminal, namely display unit 30 shows this current note surplus obtained.
First transmitting element 50, for sending note surplus query statement with the time interval of presetting to destination server.
In the execution mode that some are feasible, said short message surplus query statement at least comprises and meets the word string of predetermined format and the device identification of terminal.
In specific implementation, terminal can pre-set a time interval, such as three days or one week etc., sends note surplus query statement according to the above-mentioned time interval first transmitting element 50 in system background to destination server.
First processing unit 60, for resolving the second inquiry response returned after described destination server responds described note surplus query statement, obtains the note surplus after the renewal that described second inquiry response comprises.
Concrete, after destination server receives the note surplus query statement of the first transmitting element 50 transmission, the up-to-date note balance information that the said equipment mark is corresponding is inquired about from the database that self stores, and generate the second inquiry response, and then above-mentioned second inquiry response is sent to terminal by destination server, resolve above-mentioned second inquiry response by the first processing unit 60 and extract the note surplus after the renewal wherein comprised.
Second judging unit 70, for judging that whether the note surplus after described renewal is equal with described current note surplus.
First replacement unit 80, for judge when described second judging unit the note surplus after described renewal and described current note surplus unequal time, the note surplus after the described current note surplus shown in described short message editing interface is replaced with described renewal.
In specific implementation, whether the current note surplus that the note surplus after the second judging unit 70 compares the renewal that the first processing unit 60 obtains and acquiring unit 20 obtain is equal, if the two is unequal, show that the current note surplus that terminal is added up exists error, the current note surplus shown in short message editing interface is replaced with the note surplus after above-mentioned renewal by the first replacement unit 80, thus completes the automatic calibration of the current note surplus of terminal; If the two is equal, then terminal does not deal with.
In method described by the embodiment of the present invention, when receiving the short message editing instruction of user's input, terminal enters short message editing interface, and obtain the note total amount preset, record the target note quantity sent to targeted recipient, when this target note is successfully sent, terminal deducts this target note quantity and obtains current note surplus from this note total amount, and in this short message editing interface, show this current note surplus, terminal sends note surplus query statement with the time interval of presetting to destination server, and resolve the second inquiry response returned after this destination server responds this note surplus query statement, obtain the note surplus after the renewal that this second inquiry response comprises, note surplus after judging this renewal and this current note surplus unequal time, note surplus after this current note surplus shown in this short message editing interface is replaced with this renewal by terminal, can be implemented in the short message editing interface of terminal and show current note surplus, and automatically current note surplus is corrected, promote Consumer's Experience.
Referring to Fig. 6, is the 3rd example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising: start unit 10, acquiring unit 20, display unit 30, first receiving element 90, second transmitting element 11, second processing unit 21 and the second replacement unit 31, wherein:
Start unit 10, for receive when described terminal user input short message editing instruction time, enter short message editing interface.
Wherein, said short message edit instruction specifically can comprise one or more in click, touch, slip and voice.
When user needs use terminal to send note, answer short message or check the current note surplus of terminal, can input short message editing instruction to terminal, after start unit 10 responds said short message edit instruction, terminal enters short message editing interface.
Acquiring unit 20, for sending note surplus query statement to destination server, and resolve the first inquiry response returned after described destination server responds described note surplus query statement, obtain the current note surplus of the described terminal that described first inquiry response comprises.
Wherein, above-mentioned destination server can comprise telecom operators' server or third-party server etc.
In the execution mode that some are feasible, acquiring unit 20 can utilize built-in SMS module to send note surplus query statement by base station to telecom operators' server, said short message surplus query statement at least comprises and meets the word string of predetermined format and the device identification of terminal, acquiring unit 20 receives the 4th inquiry response that above-mentioned telecom operators server is returned by base station, after above-mentioned 4th inquiry response of parsing, obtain current note surplus.
Wherein, above-mentioned 4th inquiry response is produced according to after the database of self storage of device identification inquiry of terminal by telecom operators' server.
In the execution mode that some are feasible, above-mentioned destination server can be the wireless network server that third party provides, the device identification of terminal and user's service password are sent to above-mentioned wireless network server by built-in mixed-media network modules mixed-media by acquiring unit 20, by the interface module of wireless network server after the verification device identification of terminal and user's service password, note surplus query statement is sent to message search entrance, the 5th inquiry response that acquiring unit 20 utilizes built-in mixed-media network modules mixed-media reception said short message inquiry entrance to be returned by above-mentioned wireless network server, and resolve above-mentioned 5th inquiry response, obtain current note surplus,
Wherein, said short message inquiry entrance is provided by telecom operators, above-mentioned mixed-media network modules mixed-media can comprise in mobile communications network module, Wireless Fidelity Wi-Fi module one or more.
Display unit 30, in described short message editing interface, shows described current note surplus.
In specific implementation, the current note surplus got is presented in the short message editing interface of terminal in modes such as numerals by display unit 30.
In the execution mode that some are feasible, the note total amount of terminal is also comprised in the inquiry response that destination server returns, display unit 30 can show note total amount and current note surplus simultaneously at short message editing interface, concrete display mode can comprise numeral, block diagram, cake chart etc.Such as, be shown as n/N in the mode of numeral, n is current note surplus, and N is note total amount.In addition, display unit 30 also can show the percentage that the utilization rate of note total amount or current note surplus account for note total amount.
First receiving element 90, for receiving the note surplus refreshing instruction of described user input.
Wherein, said short message surplus refreshing instruction specifically can comprise one or more in click, touch, slip and voice.
Concrete, user can input the operational order refreshing current note surplus in said short message editing interface.Such as, user can click the Refresh button arranged in said short message editing interface, or, user touches " refreshing " shortcut arranged on the state notifying hurdle of terminal, or, user inputs the voice etc. of " refreshing note surplus " by the microphone of terminal, and the first receiving element 90 receives the note surplus refreshing instruction that user inputs by the way.
Second transmitting element 11, for responding described note surplus refreshing instruction, sends note surplus query statement to destination server.
In specific implementation, when the first receiving element 90 receives the note surplus refreshing instruction of user's input, the second transmitting element 11 sends note surplus query statement to destination server.
Second processing unit 21, for resolving the 3rd inquiry response returned after described destination server responds described note surplus query statement, obtains the note surplus after described 3rd renewal that contains of inquiry respond packet.
Second replacement unit 31, for the note surplus after the described current note surplus shown in described short message editing interface is replaced with described renewal.
In the execution mode that some are feasible, after second processing unit 21 gets the note surplus after above-mentioned 3rd renewal that contains of inquiry respond packet, whether terminal can compare the current note surplus that the note surplus after renewal and acquiring unit 20 obtain equal, if the two is equal, terminal can not deal with, if the two is unequal, the current note surplus shown in short message editing interface is replaced with the note surplus after above-mentioned renewal by the second replacement unit 31, thus completes the manual correction of the current note surplus of terminal.
In method described by the embodiment of the present invention, when receiving the short message editing instruction of user's input, terminal enters short message editing interface, and send note surplus query statement to destination server, resolve the first inquiry response returned after this destination server responds this note surplus query statement and obtain current note surplus, and then in this short message editing interface, show this current note surplus, terminal receives the note surplus refreshing instruction of this user input, and respond this note surplus refreshing instruction to destination server transmission note surplus query statement, the 3rd inquiry response that this destination server of terminal parses returns after responding this note surplus query statement obtains the note surplus after upgrading, and the note surplus after this current note surplus shown in this short message editing interface is replaced with this renewal, can be implemented in the short message editing interface of terminal and show current note surplus, user is corrected current note surplus easily, promote Consumer's Experience.
Referring to Fig. 7, is the 4th example structure schematic diagram of a kind of terminal that the embodiment of the present invention provides.Terminal described in the present embodiment, comprising:
At least one input unit 1000; At least one output device 2000; At least one processor 3000, such as CPU; Memory 4000; At least one radio-frequency unit 6000.
Wherein, input unit 1000 and output device 2000 comprise above-mentioned radio-frequency unit 6000, and above-mentioned input unit 1000, output device 2000, processor 3000, memory 4000 are connected by bus 5000 with radio-frequency unit 6000.
Wherein, above-mentioned input unit 1000 specifically also can comprise contact panel and the microphone of terminal, above-mentioned contact panel comprises touch-screen and touch screen, for the inquiry response that the operational order and destination server that receive user's input return, aforesaid operations instruction specifically can comprise: short message editing instruction and note surplus refreshing instruction.
Above-mentioned output device 2000 specifically also can comprise the display screen of terminal, for exporting, showing the data messages such as short message content, note total amount and current note surplus.
Above-mentioned radio-frequency unit 6000 comprise in mobile communications network module, Wireless Fidelity Wi-Fi module one or more.
Above-mentioned memory 4000 can be high-speed RAM memory, also can be non-labile memory (non-volatile memory), such as magnetic disc store.Above-mentioned memory 4000 is for storing batch processing code, and above-mentioned input unit 1000, output device 2000, processor 3000 and radio-frequency unit 6000, for calling the program code stored in memory 4000, perform and operate as follows:
Above-mentioned input unit 1000, for receiving the short message editing instruction of user's input;
Above-mentioned processor 3000, for receive at input unit 1000 user input short message editing instruction time, enter short message editing interface;
Above-mentioned processor 3000, also for obtaining the current note surplus of terminal;
Above-mentioned output device 2000, in described short message editing interface, shows described current note surplus.
In the execution mode that some are feasible, above-mentioned radio-frequency unit 6000 is for sending note surplus query statement to destination server;
Above-mentioned processor 3000, specifically for resolving the first inquiry response returned after described destination server responds described note surplus query statement, obtains the current note surplus of the terminal that described first inquiry response comprises.
In the execution mode that some are feasible, above-mentioned processor 3000 specifically for:
Obtain the note total amount of the terminal preset;
Record the target note quantity that described terminal sends to targeted recipient;
When described target note is successfully sent, from described note total amount, deduct described target note quantity, obtain the current note surplus of described terminal.
Above-mentioned processor 3000, also for after being successfully sent in described target note, processor 3000 deducts described target note quantity from described note total amount, before obtaining the current note surplus of described terminal, according to the number of described targeted recipient, judge whether described target note is charge note, and when processor 3000 judges described target note for charge note, from described note total amount, deduct described target note quantity, obtain the current note surplus of described terminal.
In the execution mode that some are feasible, above-mentioned radio-frequency unit 6000 is also for sending note surplus query statement with the time interval of presetting to destination server;
Above-mentioned processor 3000, also for resolving the second inquiry response returned after described destination server responds described note surplus query statement, obtain the note surplus after the renewal that described second inquiry response comprises, and judge that whether the note surplus after described renewal is equal with described current note surplus;
Above-mentioned output device 2000, also for the note surplus after described renewal judged by processor 3000 and described current note surplus unequal time, the note surplus after the described current note surplus shown in described short message editing interface is replaced with described renewal.
In the execution mode that some are feasible, above-mentioned input unit 1000 is also for receiving the note surplus refreshing instruction of described user input;
Above-mentioned radio-frequency unit 6000, also for responding described note surplus refreshing instruction, sends note surplus query statement to destination server;
Above-mentioned processor 3000, also for resolving the 3rd inquiry response returned after described destination server responds described note surplus query statement, obtains the note surplus after described 3rd renewal that contains of inquiry respond packet;
Above-mentioned output device 2000, also for the note surplus after the described current note surplus shown in described short message editing interface is replaced with described renewal.
In the execution mode that some are feasible, above-mentioned radio-frequency unit 6000 is also for utilizing the SMS module of terminal built-in to send note surplus query statement by base station to destination server, and described note surplus query statement comprises the device identification of described terminal;
Above-mentioned input unit 1000, also for receiving the 4th inquiry response that described destination server is returned by described base station;
Above-mentioned processor 3000, also for resolving described 4th inquiry response, obtains the current note surplus of the described terminal that described 4th inquiry response comprises;
Wherein, described 4th inquiry response is produced according to after the database of described self storage of device identification inquiry by described destination server.
In the execution mode that some are feasible, the device identification of described terminal and user's service password are also sent to wireless network server for the mixed-media network modules mixed-media by terminal built-in by above-mentioned radio-frequency unit 6000, so that the interface module of described wireless network server is after the described device identification of verification and described user's service password, send note surplus query statement to message search entrance;
Above-mentioned input unit 1000, also for utilizing described mixed-media network modules mixed-media, receives the 5th inquiry response that described message search entrance is returned by described wireless network server;
Above-mentioned processor 3000, also for resolving described 5th inquiry response, obtains the current note surplus of the described terminal that described 5th inquiry response comprises;
Wherein, described message search entrance is provided by telecom operators, and described mixed-media network modules mixed-media comprises: one or more in mobile communications network module, Wireless Fidelity Wi-Fi module.
In specific implementation, input unit 1000 described in the embodiment of the present invention, output device 2000, processor 3000 and radio-frequency unit 6000 can perform the first embodiment of a kind of note surplus querying method that the embodiment of the present invention provides, the second embodiment and the implementation described in the 3rd embodiment, also can perform the implementation of the first embodiment of a kind of terminal that the embodiment of the present invention provides, the second embodiment and the terminal described in the 3rd embodiment, not repeat them here.
Unit in all embodiments of the present invention, universal integrated circuit can be passed through, such as CPU (CentralProcessing Unit, central processing unit), or realized by ASIC (Application Specific IntegratedCircuit, application-specific integrated circuit (ASIC)).
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention terminal can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
Above a kind of terminal that the embodiment of the present invention provides is described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a terminal, is characterized in that, comprising:
Start unit, for receive when described terminal user input short message editing instruction time, enter short message editing interface;
Acquiring unit, for obtaining the current note surplus of described terminal;
Display unit, in described short message editing interface, shows described current note surplus.
2. terminal according to claim 1, is characterized in that, described acquiring unit specifically for:
Note surplus query statement is sent to destination server;
Resolve the first inquiry response returned after described destination server responds described note surplus query statement, obtain the current note surplus of the described terminal that described first inquiry response comprises.
3. terminal according to claim 1, is characterized in that, described acquiring unit specifically for:
Obtain the note total amount of the described terminal preset;
Record the target note quantity that described terminal sends to targeted recipient;
When described target note is successfully sent, from described note total amount, deduct described target note quantity, obtain the current note surplus of described terminal.
4. terminal according to claim 3, is characterized in that, also comprises:
First judging unit, for the number according to described targeted recipient, judges whether described target note is charge note;
Wherein, described acquiring unit specifically for:
When described first judging unit judges described target note for charge note, from described note total amount, deduct described target note quantity, obtain the current note surplus of described terminal.
5. terminal according to claim 3, is characterized in that, also comprises:
First transmitting element, for sending note surplus query statement with the time interval of presetting to destination server;
First processing unit, for resolving the second inquiry response returned after described destination server responds described note surplus query statement, obtains the note surplus after the renewal that described second inquiry response comprises;
Second judging unit, for judging that whether the note surplus after described renewal is equal with described current note surplus;
First replacement unit, for judge when described second judging unit the note surplus after described renewal and described current note surplus unequal time, the note surplus after the described current note surplus shown in described short message editing interface is replaced with described renewal.
6. terminal according to claim 1, is characterized in that, also comprises:
First receiving element, for receiving the note surplus refreshing instruction of described user input;
Second transmitting element, for responding described note surplus refreshing instruction, sends note surplus query statement to destination server;
Second processing unit, for resolving the 3rd inquiry response returned after described destination server responds described note surplus query statement, obtains the note surplus after described 3rd renewal that contains of inquiry respond packet;
Second replacement unit, for the note surplus after the described current note surplus shown in described short message editing interface is replaced with described renewal.
7. terminal according to claim 1, is characterized in that, described acquiring unit specifically for:
Utilize the SMS module of terminal built-in to send note surplus query statement by base station to destination server, described note surplus query statement comprises the device identification of described terminal;
Receive the 4th inquiry response that described destination server is returned by described base station;
Resolve described 4th inquiry response, obtain the current note surplus of the described terminal that described 4th inquiry response comprises.
8. terminal according to claim 7, is characterized in that, described 4th inquiry response is produced according to after the database of described self storage of device identification inquiry by described destination server.
9. terminal according to claim 1, is characterized in that, described acquiring unit specifically for:
By the mixed-media network modules mixed-media of described terminal built-in, the device identification of described terminal and user's service password are sent to wireless network server, so that the interface module of described wireless network server is after the described device identification of verification and described user's service password, send note surplus query statement to message search entrance;
Utilize described mixed-media network modules mixed-media, receive the 5th inquiry response that described message search entrance is returned by described wireless network server;
Resolve described 5th inquiry response, obtain the current note surplus of the described terminal that described 5th inquiry response comprises;
Wherein, described message search entrance is provided by telecom operators.
10. require the terminal described in 9 according to profit, it is characterized in that, described mixed-media network modules mixed-media comprises: one or more in mobile communications network module, Wireless Fidelity Wi-Fi module.
CN201510108727.6A 2015-03-12 2015-03-12 A kind of terminal Expired - Fee Related CN104754119B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510108727.6A CN104754119B (en) 2015-03-12 2015-03-12 A kind of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510108727.6A CN104754119B (en) 2015-03-12 2015-03-12 A kind of terminal

Publications (2)

Publication Number Publication Date
CN104754119A true CN104754119A (en) 2015-07-01
CN104754119B CN104754119B (en) 2018-01-23

Family

ID=53593196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510108727.6A Expired - Fee Related CN104754119B (en) 2015-03-12 2015-03-12 A kind of terminal

Country Status (1)

Country Link
CN (1) CN104754119B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1784040A (en) * 2004-11-30 2006-06-07 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with free charge short message display function and control method
CN102131173A (en) * 2010-01-19 2011-07-20 康佳集团股份有限公司 Short messages counting system and method of mobile phone
CN102857607A (en) * 2012-09-20 2013-01-02 东莞宇龙通信科技有限公司 System and method for instantly counting number of short messages

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1784040A (en) * 2004-11-30 2006-06-07 乐金电子(中国)研究开发中心有限公司 Mobile communication terminal with free charge short message display function and control method
CN102131173A (en) * 2010-01-19 2011-07-20 康佳集团股份有限公司 Short messages counting system and method of mobile phone
CN102857607A (en) * 2012-09-20 2013-01-02 东莞宇龙通信科技有限公司 System and method for instantly counting number of short messages

Also Published As

Publication number Publication date
CN104754119B (en) 2018-01-23

Similar Documents

Publication Publication Date Title
CN103106595B (en) For Logistics Distribution Method and the system of electronic trade platform
CN101416159B (en) Communication terminal, user data transferring system and user data transferring method
CN105162870A (en) Express delivery notification method, device and system
CN110555073A (en) data processing method and device, electronic equipment and storage medium
CN104991705A (en) Interface display method and terminal
CN105376719A (en) Information pushing method and device
CN105163295A (en) Processing method for failure of sending short message and terminal
WO2014181479A1 (en) Management device
CN105162936A (en) Unfamiliar call prompt method and user terminal
CN105333874A (en) Indoor navigation path generating method and system and intelligent terminal
CN104850873A (en) Communication apparatus, information processing apparatus, and control method for the same
CN104144242A (en) Information processing method, device and system
CN104657445A (en) Method for obtaining prompt information
KR20220148146A (en) User equipment, service providing device and POS terminal for card divisible payment considering result achievement, payment system comprising the same, control method thereof and computer readable medium having computer program recorded therefor
CN105120087A (en) Control method of session interface and terminal
CN104796519A (en) Terminal
CN104754119A (en) Terminal
CN113987453A (en) Identity verification method, system, mobile terminal, storage medium and electronic equipment
CN104754531A (en) Method for checking short message allowance
CN104881775A (en) To-do list display method and terminal
CN101106783A (en) Method and device for self-adapted display of multi-message records in mobile terminal
CN104780252A (en) Contact list management method
CN103685526A (en) Network business card information identification method and device and server
KR102101097B1 (en) Real time navigation route guidance system
CN105678525A (en) Method and device of contact list integrated mobile-phone office 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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180123

Termination date: 20190312