CN102780981A - Pagination method and device of dynamic menu - Google Patents

Pagination method and device of dynamic menu Download PDF

Info

Publication number
CN102780981A
CN102780981A CN2011101226571A CN201110122657A CN102780981A CN 102780981 A CN102780981 A CN 102780981A CN 2011101226571 A CN2011101226571 A CN 2011101226571A CN 201110122657 A CN201110122657 A CN 201110122657A CN 102780981 A CN102780981 A CN 102780981A
Authority
CN
China
Prior art keywords
dynamic menu
user terminal
page
paging
leaf
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.)
Pending
Application number
CN2011101226571A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN2011101226571A priority Critical patent/CN102780981A/en
Priority to PCT/CN2011/079690 priority patent/WO2012151824A1/en
Publication of CN102780981A publication Critical patent/CN102780981A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/20Services signaling; Auxiliary data signalling, i.e. transmitting data via a non-traffic channel

Abstract

The invention relates to a pagination method and a pagination device of a dynamic menu, and belongs to the field of communication. The pagination method of the dynamic menu is applied to an unstructured date supplementary service data USSD (Unstructured Supplementary Service Data) system, and comprises the following steps: the USSD system receives the data returned by a third-party system, and assemble the data into a first dynamic menu after filtrating the date; and the USSD system judges whether the length of a first dynamic menu exceeds the first predetermined length; if the length of the first dynamic menu exceeds the first predetermined length, the USSD system can page the first dynamic menu, and can send a second dynamic menu obtained after pagination to a user terminal. The embodiment of the invention can realize the situation that the USSD system divides the dynamic menu into multiple pages to be displayed to the user terminal, and the technical scheme of the invention is suitable for the USSD system.

Description

The paging method of dynamic menu and device
Technical field
The present invention relates to the communications field, be meant a kind of paging method and device of dynamic menu especially.
Background technology
Intelligent network is one, and to be used to produce and professional architecture, its most important character are provided be the various characteristic value-added services that provide of quick and convenient, flexible economy.Because the competition more and more fierce between the present operator; Need each tame operator that the value-added service that suits user's request more is provided; Through USSD (Unstructured Supplementary Service Data flexibly; Non-structural supplementary data) trafficwise is released, and satisfies user's needs, promotes competitiveness.
The USSD business is that a kind of novel interactive data based on the global system for mobile communications network is professional. the user uses perhaps symbol etc. of numeral that some networks of cell phone keyboard input formulate in advance; Just can send an instruction to network by sending key again, network based user's instruction offers the service that the user needs.
The USSD system carries out categorical filtering to the information that the third party system provides, and dynamically generates the dynamic menu of the information of giving the user, can be so that the user browses to relevant information more quickly and easily.But existing USSD business provides transparent channel for user terminal; Do not store forwarding; Can only be once the information of maximum 160 characters be sent to the user; If the USSD system content that offers user's dynamic menu surpasses 160 characters like this, the USSD system just can not send to user terminal with the content that has more.
Summary of the invention
The technical problem that the present invention will solve provides a kind of paging method and device of dynamic menu, can realize that the USSD system is divided into multipage with dynamic menu and is shown to user terminal.
For solving the problems of the technologies described above, embodiments of the invention provide technical scheme following:
On the one hand, a kind of paging method of dynamic menu is provided, is applied to comprise in the unstructured supplementary data traffic USSD system:
The USSD system receives the data that the third party system returns, and is assembled into first dynamic menu after said data are filtered;
Said USSD system judges whether the length of said first dynamic menu surpasses first preset length;
If the length of said first dynamic menu surpasses first preset length, then said USSD system carries out paging to said first dynamic menu, and second dynamic menu that obtains after the paging is sent to user terminal.
Wherein, said method also comprises:
If the length of said first dynamic menu is no more than first preset length, then said USSD system directly is sent to said user terminal with said first dynamic menu.
Wherein, said USSD system carries out paging to said first dynamic menu and comprises:
Step 3a: said USSD system writes the M page or leaf of second dynamic menu with the preceding n character of first dynamic menu, and wherein, n is second preset length, and M is the natural number variable, and initial value is 1;
Step 3b: said USSD system deletes the content of said M page or leaf from said first dynamic menu;
Step 3c: whether said USSD system judges the remaining content-length of first dynamic menu greater than n, if not, then the remaining content of first dynamic menu is write the M+1 page or leaf of second dynamic menu, turns to step 3d; If the M value adds 1, and turn to step 3a;
Step 3d: the value of said USSD system log (SYSLOG) M+1.
Wherein, said and second dynamic menu that obtains after the paging is sent to user terminal comprises:
Said USSD system is sent to said user terminal with the L1 page or leaf of said second dynamic menu, and wherein L1 is the natural number variable;
Said USSD system receives the downward page turning request of said user terminal, judges that whether L1 is less than M+1;
If then said USSD system is sent to said user terminal with the L1+1 page or leaf of said second dynamic menu; If not, then said USSD system does not send said second dynamic menu to said user terminal.
Wherein, said and second dynamic menu that obtains after the paging is sent to user terminal comprises:
Said USSD system is sent to said user terminal with the L2 page or leaf of said second dynamic menu, and wherein L2 is the natural number variable;
Said USSD system receives the upwards page turning request of user terminal, judges that whether L2 is greater than 1;
If then said USSD system is sent to said user terminal with the L2-1 page or leaf of said second dynamic menu; If not, then said USSD system does not send said second dynamic menu to said user terminal.
The embodiment of the invention also provides a kind of paging device of dynamic menu, is applied to comprise in the USSD system:
Receiver module is used to receive the data that the third party system returns, and is assembled into first dynamic menu after said data are filtered;
Processing module is used to judge whether the length of said first dynamic menu surpasses first preset length;
The paging module is used for if the length of said first dynamic menu surpasses first preset length said first dynamic menu being carried out paging;
Sending module is used for second dynamic menu that obtains after the paging is sent to user terminal.
Wherein, if the length of said first dynamic menu is no more than first preset length, then said sending module also is used for said first dynamic menu directly is sent to user terminal.
Wherein, said paging module comprises:
The paging unit is used for the preceding n character of first dynamic menu is write the M page or leaf of second dynamic menu, and wherein, n is second preset length, and M is the natural number variable, and initial value is 1;
Delete cells is used for the content of said M page or leaf is deleted from said first dynamic menu;
Judging unit is used to judge that whether the remaining content-length of first dynamic menu is greater than the n character;
Said paging unit also is used for when the remaining content-length of said judgment unit judges first dynamic menu is not more than n, the remaining content of first dynamic menu is write the M+1 page or leaf of second dynamic menu; , make M that value adds 1, and the preceding n character of the remaining content of first dynamic menu is write the M page or leaf of second dynamic menu, and write down the value of M+1 during at the remaining content-length of said judgment unit judges first dynamic menu greater than n.
Wherein, said sending module specifically is used for the L1 page or leaf of said second dynamic menu is sent to said user terminal, and wherein L1 is the natural number variable;
Said receiver module also is used to receive the downward page turning request of said user terminal;
Said processing module is used to also judge that whether L1 is less than M+1;
Said sending module also is used for when said processing module is judged L1 less than M+1, and the L1+1 page or leaf of said second dynamic menu is sent to said user terminal.
Wherein, said sending module specifically is used for the L2 page or leaf of said second dynamic menu is sent to said user terminal, and wherein L2 is the natural number variable;
Said receiver module also is used to receive the upwards page turning request of said user terminal;
Said processing module is used to also judge that whether L2 is greater than 1;
Said sending module also is used for judging L2 greater than 1 o'clock in said processing module, and the L2-1 page or leaf of said second dynamic menu is sent to said user terminal.
Embodiments of the invention have following beneficial effect:
In the such scheme; The information that the USSD system provides the third party system carries out being assembled into dynamic menu behind the categorical filtering; And when the content of dynamic menu surpasses preset length; Dynamic menu is divided into multipage is shown to user terminal, so final USSD system can be shown to user terminal with dynamic menu fully according to user's needs.
Description of drawings
Fig. 1 is the schematic flow sheet of paging method of the dynamic menu of the embodiment of the invention;
Fig. 2 is the structural representation of paging device of the dynamic menu of the embodiment of the invention;
Fig. 3 carries out paging for the embodiment of the invention to dynamic menu schematic flow sheet.
Embodiment
For technical problem, technical scheme and advantage that embodiments of the invention will be solved is clearer, will combine accompanying drawing and specific embodiment to be described in detail below.
Embodiments of the invention can only once send to the information of maximum 160 characters user's problem to USSD business in the prior art; A kind of paging method and device of dynamic menu are provided, can realize that the USSD system is divided into multipage with dynamic menu and is shown to user terminal.
Fig. 1 is the schematic flow sheet of paging method of the dynamic menu of the embodiment of the invention, and as shown in Figure 1, present embodiment comprises:
Step 101:USSD system receives the data that the third party system returns, and is assembled into first dynamic menu after data are filtered;
Step 102:USSD system judges whether the length of first dynamic menu surpasses first preset length;
Step 103: if the length of first dynamic menu surpasses first preset length, then the USSD system carries out paging to first dynamic menu, and second dynamic menu that obtains after the paging is sent to user terminal.
Wherein, if the length of first dynamic menu is no more than first preset length, then the USSD system directly is sent to user terminal with first dynamic menu.
Wherein, as shown in Figure 3, the USSD system carries out paging to first dynamic menu and comprises:
Step 3a:USSD system writes the M page or leaf of second dynamic menu with the preceding n character of first dynamic menu, and wherein, n is second preset length, and M is the natural number variable, and initial value is 1;
Step 3b:USSD system deletes the content of M page or leaf from first dynamic menu;
Whether step 3c:USSD system judges the remaining content-length of first dynamic menu greater than n, if not, then the remaining content of first dynamic menu is write the M+1 page or leaf of second dynamic menu, turns to step 3d; If the M value adds 1, and turn to step 3a;
The value of step 3d:USSD system log (SYSLOG) M+1.
Wherein, second dynamic menu that obtains after with paging of USSD system is sent to user terminal and comprises: the USSD system is sent to user terminal with the L1 page or leaf of second dynamic menu, and wherein L1 is the natural number variable; The USSD system receives the downward page turning request of user terminal, judges that whether L1 is less than M+1; If then the USSD system is sent to user terminal with the L1+1 page or leaf of second dynamic menu; If not, then the USSD system does not send second dynamic menu to user terminal.
Wherein, second dynamic menu that obtains after with paging of USSD system is sent to user terminal and also comprises: the USSD system is sent to user terminal with the L2 page or leaf of second dynamic menu, and wherein L2 is the natural number variable; The USSD system receives the upwards page turning request of user terminal, judges that whether L2 is greater than 1; If then the USSD system is sent to user terminal with the L2-1 page or leaf of second dynamic menu; If not, then the USSD system does not send second dynamic menu to user terminal.
The paging method of the dynamic menu of present embodiment; The information that the USSD system provides the third party system carries out being assembled into dynamic menu behind the categorical filtering; And when the content of dynamic menu surpasses preset length; Dynamic menu is divided into multipage is shown to user terminal, so final USSD system can be shown to user terminal with dynamic menu fully according to user's needs.
The embodiment of the invention also provides a kind of paging device of dynamic menu, is applied in the USSD system, and as shown in Figure 2, present embodiment comprises:
Receiver module 20 is used to receive the data that the third party system returns, and is assembled into first dynamic menu after data are filtered;
Processing module 21 is used to judge whether the length of first dynamic menu surpasses first preset length;
Paging module 22 is used for if the length of first dynamic menu surpasses first preset length first dynamic menu being carried out paging;
Sending module 23 is used for second dynamic menu that obtains after the paging is sent to user terminal.
Wherein, if the length of first dynamic menu is no more than first preset length, then sending module 23 also is used for first dynamic menu directly is sent to user terminal.
Wherein, paging module 22 comprises:
The paging unit is used for the preceding n character of first dynamic menu is write the M page or leaf of second dynamic menu, and wherein, n is second preset length, and M is the natural number variable, and initial value is 1;
Delete cells is used for the content of M page or leaf is deleted from first dynamic menu;
Judging unit is used to judge that whether the remaining content-length of first dynamic menu is greater than the n character;
The paging unit also is used for when the remaining content-length of judgment unit judges first dynamic menu is not more than n, the remaining content of first dynamic menu is write the M+1 page or leaf of second dynamic menu; , make M that value adds 1, and the preceding n character of the remaining content of first dynamic menu is write the M page or leaf of second dynamic menu, and write down the value of M+1 during at the remaining content-length of judgment unit judges first dynamic menu greater than n.
Wherein, sending module 23 specifically is used for the L1 page or leaf of second dynamic menu is sent to user terminal, and wherein L1 is the natural number variable;
Receiver module 20 also is used to receive the downward page turning request of user terminal;
Processing module 21 is used to also judge that whether L1 is less than M+1;
Sending module 23 also is used for when processing module judges that L1 is less than M+1, and the L1+1 page or leaf of second dynamic menu is sent to user terminal.
Wherein, sending module 23 specifically is used for the L2 page or leaf of second dynamic menu is sent to user terminal, and wherein L2 is the natural number variable;
Receiver module 20 also is used to receive the upwards page turning request of user terminal;
Processing module 21 is used to also judge that whether L2 is greater than 1;
Sending module 23 also is used for judging L2 greater than 1 o'clock in processing module, and the L2-1 page or leaf of second dynamic menu is sent to user terminal.
The paging device of the dynamic menu of present embodiment; The information that the USSD system provides the third party system carries out being assembled into dynamic menu behind the categorical filtering; And when the content of dynamic menu surpasses preset length; Dynamic menu is divided into multipage is shown to user terminal, so final USSD system can be shown to user terminal with dynamic menu fully according to user's needs.
The USSD system accepts to initiate service request through the third party, and the result is returned to the user from service request from user from core net as a channel of service access.Concrete implementation procedure below in conjunction with the paging method of step 1~4 pair dynamic menu of the present invention is introduced:
Step 1:USSD system receives the data that the third party system returns, and is assembled into dynamic menu after data are filtered;
Before the result was returned to the user, the data based user profile of the third party system that the USSD system docking is received was filtered and is obtained dynamic menu, and according to the difference of user profile, the content of dynamic menu is uncertain to be on-fixed length or option.For example order a note bag through the USSD system, the selectable note bag that offers prepaid user and postpaid service user just maybe be different, so the USSD system also difference of dynamic menu that is shown to the user;
Needs according to the user; The USSD screening system filters the data that interface returns, and qualified data are write the Index/MenuName/Parameter tables of data, distributes key assignments 1~7 (button 0 since 1 then; 9 keep) as corresponding menu option; The user imports the then corresponding menu option of USSD system execution of key assignments, if menu option surpasses 8, then distributes key assignments 10~99 as corresponding menu option since 10.
As shown in table 1 is used variable declaration in the embodiment of the invention implementation procedure:
Table 1
Figure BDA0000060810550000071
Figure BDA0000060810550000081
Display menu item table is imported legal range with the user and is inserted ValidInputMin and ValidInputMax, and InputNeedCheckInditor=1 is set after making up and accomplishing.In addition, if a dynamic menu of collecting user's input then need not carry out validity checking, with InputNeedCheckInditor=0.
Menu beginning prompting index and MenuName are become complete menu content according to the principle combinations of business need, write FullMenuContent;
Step 2:USSD system judges whether the length of dynamic menu content surpasses first preset length;
The USSD system sends once can only show 160 characters at most, if the content of dynamic menu surpasses 160 characters, that just need give the user with the dynamic menu Pagination Display; But not including only content displayed, dynamic menu also need not comprise other guide, such as prompt etc., so first preset length that is provided with is less than 160 characters; Particularly; Can be made as 130 characters, when the content-length of dynamic menu surpassed first preset length, dynamic menu just can not be shown to the user through one page fully;
Step 3: if the length of dynamic menu surpasses first preset length, then the USSD system carries out paging to dynamic menu;
The length of FullMenuContent is judged by the USSD system, if<130, then dynamic menu is directly sent to user terminal and show; And put MultiPageIndicator=0; CurrentPageNumber=1, page [1]=FullMenuContent puts CurrentPageNumber=1;
If length>130, then the USSD system need divide multipage to show dynamic menu: at first put MultiPageIndicator=1, CurrentPageNumber=1; If because dynamic menu Pagination Display; Each page or leaf also need comprise the paging prompt, so every page of content-length that comprises is less than first preset length, particularly; The length that every page of content can be set is 110 characters; Begin from 110 bytes of FullMenuContent, seek new line forward, the content before the new line is write page [1].If all do not have new line in preceding 110 characters of FullMenuContent, then block from 110 characters, 110 characters of front are write page [1].Afterwards first page content is deleted from FullMenuContent, whether judge remaining content-length<110, if<110 then remaining content is write page [2], jump out circulation; If remaining content-length greater than 110, then continues the circulation paging, finish until paging.
After dividing EOP; The maximum page number PageNumberMax of record paging; Put CurrentPageNumber=1, for the dynamic menu after the paging, the USSD system adds lastrow prompting automatically in the bottom of each page: " 0:provious; 9:next. " shows if by the page turning that can make progress of 0 key, if by the page turning downwards of 9 keys to the user;
Step 4:USSD system gives user terminal with the dynamic menu Pagination Display.
For the dynamic menu of paging, the USSD system automatically supports the function of 0,9 page turning, if the user by 0 then the USSD system shows prevpage, the user shows the next pages by 9 USSD systems.For the dynamic menu of not paging, 0,9 is to keep equally, not can be used as the options of dynamic menu, for the dynamic menu of not paging, if the user has imported 0,9, then handles according to input error.
The USSD system receives user's input; For user's input, a judgement is at first done by the USSD system, and whether the input of judges surpasses effective input range of the current set of menu; For illegal input value, repeat to show after directly before former menu, adding the prompting of " Invalid input. ".The effective range of menu input; Set when the assembling menu (dynamic or fixedly menu) by the USSD system; If such as the current set of menu 5 menu options are arranged, corresponding input effective range is 1~5, if then the user imports 6; Then the input of judges surpasses effective input range of the current set of menu, user's input error.For the situation of input error, current Menu error count (CurrentMenuInputErrorCounter)+1, total error count (TotalInputErrorCounter)+1.
The USSD system sends to user terminal with dynamic menu and shows, at first judges whether paging, is divided into following four kinds of situation:
If situation 1 MultiPageIndicator=0, ErrorInputIndicator=0 explains that then dynamic menu does not have paging, and the user imports correctly, and then the USSD system is sent to user terminal with the content of dynamic menu page [1] and shows;
If situation 2 MultiPageIndicator=0; ErrorInputIndicator=1; Explain that then dynamic menu does not have paging, and user's input error, the USSD system sends " content of input error prompting+carriage return+page [1] " to user terminal and shows;
If situation 3 MultiPageIndicator=1; ErrorInputIndicator=0; Explain that then there is paging in dynamic menu, and the user imports correctly, the USSD system is sent to user terminal with the content of dynamic menu page [CurrentPageNumber] and shows;
If situation 4 MultiPageIndicator=1; ErrorInputIndicator=1; Explain that then there is paging in dynamic menu, and user's input error, the USSD system sends " content of input error prompting+carriage return+page [CurrentPageNumber] " to user terminal and shows.
After the USSD system sends successfully, wait for user's input, be divided into following two kinds of input conditions:
Input condition 1: if MultiPageIndicator=1 and user's input=0 or 9; CurrentPageNumber+ or-1 then; Judge the CurrentPageNumber legitimacy; Guarantee CurrentPageNumber must 1 and PageNumberMax between; If illegal, then CurrentPageNumber is revised, and clear error flag position ErrorInputIndicator=0.
If user's input is 0; 9 but MultiPageIndicator=0, ErrorInputIndicator=1 then, CurrentErrorInputCounter+1; Judge that whether CurrentErrorInputCounter is greater than 5; Be whether judges input error counting surpasses 5 times, if surpass 5 times, then the USSD system withdraws from operation flow; If be no more than 5 times, then the USSD system imports choice menus item continuation operation flow according to the user;
Above-mentioned flow process promptly shows when USSD receives user's downward page turning request; At current page has been under the situation of last page; The USSD system does not send dynamic menu to user terminal; The last page that on user terminal, still shows dynamic menu, if current page is not a last page, then following one page to the user terminal of USSD system transmission current page shows; When the USSD system receives user's upwards page turning request; Be under first page the situation at current page; The USSD system does not send dynamic menu to user terminal; On user terminal, still show first page of dynamic menu, if current page is not first page, then USSD system page up to the user terminal that sends current page shows.
Input condition 2: if InputNeedCheckInditor=1 show then that the user imports need check, convert user's input to numeral; The inspection legitimacy, this numeral must be between ValidInputMin and ValidInputMax, if exceed legal range; ErrorInputIndicator=1 then; Whether CurrentErrorInputCounter+1 judges CurrentErrorInputCounter greater than 5, i.e. whether judges input error is counted above 5 times; If surpass 5 times, then the USSD system withdraws from operation flow; If be no more than 5 times, then the USSD system imports choice menus item continuation operation flow according to the user;
If do not exceed legal range; Or InputNeedCheckInditor=0, put ErrorInputIndicator=0, CurrentErrorInputCounter=0; CurrentPageNumber=1, then the USSD system imports choice menus item continuation operation flow according to the user.
In the USSD operation flow, also blank menu item might occur in addition, promptly the user has selected a menu item, gets into the next stage menu, finds that but the next stage menu is blank, has no the project that can select.If this situation, the USSD system sends the USSD prompting to the user, and withdraws from operation flow.
The paging method of the dynamic menu of the embodiment of the invention; The information that the USSD system provides the third party system carries out being assembled into dynamic menu behind the categorical filtering; And when the content of dynamic menu surpasses preset length; Dynamic menu is carried out paging, and according to user's input dynamic menu is divided into the multipage demonstration, the final realization is shown to user terminal fully with dynamic menu.
Many functional parts described in this specification all are called as module, so that stress the independence of its implementation more especially.
In the embodiment of the invention, module can realize with software, so that carried out by various types of processors.For instance, the executable code module of a sign can comprise the one or more physics or the logical block of computer instruction, and for instance, it can be built as object, process or function.However, the executable code of institute's identification module need not to be physically located in together, but can comprise the different instruction on being stored in the coordination not, when combining on these command logics, and its composition module and realize the regulation purpose of this module.
In fact, executable code module can be individual instructions or many instructions, and even can be distributed on a plurality of different code segments, be distributed in the middle of the distinct program, and cross over a plurality of memory devices and distribute.Likewise, operating data can be identified in module, and can realize and be organized in the data structure of any suitable type according to any suitable form.Said operating data can be used as the individual data collection and is collected, and perhaps can be distributed on the diverse location (to be included on the different storage device), and can only be present on system or the network as electronic signal at least in part.
When module can utilize software to realize; Consider the level of existing hardware technology; So can be with the module of software realization; Do not considering under the condition of cost that those skilled in the art can build the corresponding hardware circuit and realize corresponding function, said hardware circuit comprises conventional ultra-large integrated (VLSI) circuit or gate array and the existing semiconductor such as logic chip, transistor or other discrete element.Module can also be used programmable hardware device, such as realizations such as field programmable gate array, programmable logic array, programmable logic devices.
In each method embodiment of the present invention; The sequence number of said each step can not be used to limit the priority pagination of each step; For those of ordinary skills, under the prerequisite of not paying creative work, the priority of each step is changed also within protection scope of the present invention.
The above is a preferred implementation of the present invention; Should be pointed out that for those skilled in the art, under the prerequisite that does not break away from principle according to the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (10)

1. the paging method of a dynamic menu is applied to it is characterized in that in the unstructured supplementary data traffic USSD system, comprising:
The USSD system receives the data that the third party system returns, and is assembled into first dynamic menu after said data are filtered;
Said USSD system judges whether the length of said first dynamic menu surpasses first preset length;
If the length of said first dynamic menu surpasses first preset length, then said USSD system carries out paging to said first dynamic menu, and second dynamic menu that obtains after the paging is sent to user terminal.
2. the paging method of dynamic menu according to claim 1 is characterized in that, said method also comprises:
If the length of said first dynamic menu is no more than first preset length, then said USSD system directly is sent to said user terminal with said first dynamic menu.
3. the paging method of dynamic menu according to claim 1 is characterized in that, said USSD system carries out paging to said first dynamic menu and comprises:
Step 3a: said USSD system writes the M page or leaf of second dynamic menu with the preceding n character of first dynamic menu, and wherein, n is second preset length, and M is the natural number variable, and initial value is 1;
Step 3b: said USSD system deletes the content of said M page or leaf from said first dynamic menu;
Step 3c: whether said USSD system judges the remaining content-length of first dynamic menu greater than n, if not, then the remaining content of first dynamic menu is write the M+1 page or leaf of second dynamic menu, turns to step 3d; If the M value adds 1, and turn to step 3a;
Step 3d: the value of said USSD system log (SYSLOG) M+1.
4. the paging method of dynamic menu according to claim 3 is characterized in that, and is said and second dynamic menu that obtains after the paging is sent to user terminal comprises:
Said USSD system is sent to said user terminal with the L1 page or leaf of said second dynamic menu, and wherein L1 is the natural number variable;
Said USSD system receives the downward page turning request of said user terminal, judges that whether L1 is less than M+1;
If then said USSD system is sent to said user terminal with the L1+1 page or leaf of said second dynamic menu; If not, then said USSD system does not send said second dynamic menu to said user terminal.
5. the paging method of dynamic menu according to claim 3 is characterized in that, and is said and second dynamic menu that obtains after the paging is sent to user terminal comprises:
Said USSD system is sent to said user terminal with the L2 page or leaf of said second dynamic menu, and wherein L2 is the natural number variable;
Said USSD system receives the upwards page turning request of user terminal, judges that whether L2 is greater than 1;
If then said USSD system is sent to said user terminal with the L2-1 page or leaf of said second dynamic menu; If not, then said USSD system does not send said second dynamic menu to said user terminal.
6. the paging device of a dynamic menu is applied to it is characterized in that in the USSD system, comprising:
Receiver module is used to receive the data that the third party system returns, and is assembled into first dynamic menu after said data are filtered;
Processing module is used to judge whether the length of said first dynamic menu surpasses first preset length;
The paging module is used for if the length of said first dynamic menu surpasses first preset length said first dynamic menu being carried out paging;
Sending module is used for second dynamic menu that obtains after the paging is sent to user terminal.
7. the paging device of dynamic menu according to claim 6 is characterized in that, if the length of said first dynamic menu is no more than first preset length, then said sending module also is used for said first dynamic menu directly is sent to user terminal.
8. the paging device of dynamic menu according to claim 6 is characterized in that, said paging module comprises:
The paging unit is used for the preceding n character of first dynamic menu is write the M page or leaf of second dynamic menu, and wherein, n is second preset length, and M is the natural number variable, and initial value is 1;
Delete cells is used for the content of said M page or leaf is deleted from said first dynamic menu;
Judging unit is used to judge that whether the remaining content-length of first dynamic menu is greater than the n character;
Said paging unit also is used for when the remaining content-length of said judgment unit judges first dynamic menu is not more than n, the remaining content of first dynamic menu is write the M+1 page or leaf of second dynamic menu; , make M that value adds 1, and the preceding n character of the remaining content of first dynamic menu is write the M page or leaf of second dynamic menu, and write down the value of M+1 during at the remaining content-length of said judgment unit judges first dynamic menu greater than n.
9. the paging device of dynamic menu according to claim 8 is characterized in that,
Said sending module specifically is used for the L1 page or leaf of said second dynamic menu is sent to said user terminal, and wherein L1 is the natural number variable;
Said receiver module also is used to receive the downward page turning request of said user terminal;
Said processing module is used to also judge that whether L1 is less than M+1;
Said sending module also is used for when said processing module is judged L1 less than M+1, and the L1+1 page or leaf of said second dynamic menu is sent to said user terminal.
10. the paging device of dynamic menu according to claim 8 is characterized in that,
Said sending module specifically is used for the L2 page or leaf of said second dynamic menu is sent to said user terminal, and wherein L2 is the natural number variable;
Said receiver module also is used to receive the upwards page turning request of said user terminal;
Said processing module is used to also judge that whether L2 is greater than 1;
Said sending module also is used for judging L2 greater than 1 o'clock in said processing module, and the L2-1 page or leaf of said second dynamic menu is sent to said user terminal.
CN2011101226571A 2011-05-12 2011-05-12 Pagination method and device of dynamic menu Pending CN102780981A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011101226571A CN102780981A (en) 2011-05-12 2011-05-12 Pagination method and device of dynamic menu
PCT/CN2011/079690 WO2012151824A1 (en) 2011-05-12 2011-09-15 Paging method and device for dynamic menu

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101226571A CN102780981A (en) 2011-05-12 2011-05-12 Pagination method and device of dynamic menu

Publications (1)

Publication Number Publication Date
CN102780981A true CN102780981A (en) 2012-11-14

Family

ID=47125713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101226571A Pending CN102780981A (en) 2011-05-12 2011-05-12 Pagination method and device of dynamic menu

Country Status (2)

Country Link
CN (1) CN102780981A (en)
WO (1) WO2012151824A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530029A (en) * 2013-10-29 2014-01-22 国家电网公司 EMS graphical dynamic menu display method based on human-computer interface user behavior analysis
WO2016107119A1 (en) * 2014-12-30 2016-07-07 中兴通讯股份有限公司 Method and device for realizing unstructured supplementary service data menu

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1241079A (en) * 1998-06-26 2000-01-12 电话通有限公司 Method and apparatus for fragmenting messages for wireless network using group sharing of reference numbers
US20020193127A1 (en) * 1999-11-17 2002-12-19 Andreas Martschitsch Method and system for preparing and transmitting SMS messages in a mobile radio network
US6771975B1 (en) * 1999-10-30 2004-08-03 Samsung Electronics Co., Ltd. Method of processing data used in wireless applications using unstructured supplementary service data (USSD) and computer readable medium therefor
CN101047879A (en) * 2006-03-30 2007-10-03 上海宇梦通信科技有限公司 USSD transmission method for multi-bar disconnection and containing simple multimedia information
CN101076019A (en) * 2007-06-22 2007-11-21 中国移动通信集团广东有限公司 Method for transmitting long information based on USSD protocol
US20070271139A1 (en) * 2006-05-18 2007-11-22 Nicolas Fiorini Method and apparatus for delivering advertisements to mobile users
CN101583103A (en) * 2009-06-02 2009-11-18 中兴通讯股份有限公司 Transmitting or receiving method of short messages in text mode and device
CN101827333A (en) * 2010-05-19 2010-09-08 北京神州泰岳软件股份有限公司 Data processing method of background server of mobile phone browser

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039489A (en) * 2006-03-03 2007-09-19 董崇军 Method for realizing dynamic menu
US8181107B2 (en) * 2006-12-08 2012-05-15 Bytemobile, Inc. Content adaptation
CN101001413A (en) * 2007-01-08 2007-07-18 宇龙计算机通信科技(深圳)有限公司 Long-short message transmission method of CDMA network
CN101945347A (en) * 2009-07-09 2011-01-12 陈武雄 Management system for short messages of mobile equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1241079A (en) * 1998-06-26 2000-01-12 电话通有限公司 Method and apparatus for fragmenting messages for wireless network using group sharing of reference numbers
US6771975B1 (en) * 1999-10-30 2004-08-03 Samsung Electronics Co., Ltd. Method of processing data used in wireless applications using unstructured supplementary service data (USSD) and computer readable medium therefor
US20020193127A1 (en) * 1999-11-17 2002-12-19 Andreas Martschitsch Method and system for preparing and transmitting SMS messages in a mobile radio network
CN101047879A (en) * 2006-03-30 2007-10-03 上海宇梦通信科技有限公司 USSD transmission method for multi-bar disconnection and containing simple multimedia information
US20070271139A1 (en) * 2006-05-18 2007-11-22 Nicolas Fiorini Method and apparatus for delivering advertisements to mobile users
CN101076019A (en) * 2007-06-22 2007-11-21 中国移动通信集团广东有限公司 Method for transmitting long information based on USSD protocol
CN101583103A (en) * 2009-06-02 2009-11-18 中兴通讯股份有限公司 Transmitting or receiving method of short messages in text mode and device
CN101827333A (en) * 2010-05-19 2010-09-08 北京神州泰岳软件股份有限公司 Data processing method of background server of mobile phone browser

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103530029A (en) * 2013-10-29 2014-01-22 国家电网公司 EMS graphical dynamic menu display method based on human-computer interface user behavior analysis
CN103530029B (en) * 2013-10-29 2016-08-17 国家电网公司 EMS graphical dynamic menu display method based on man machine interface user behavior analysis
WO2016107119A1 (en) * 2014-12-30 2016-07-07 中兴通讯股份有限公司 Method and device for realizing unstructured supplementary service data menu
CN105813036A (en) * 2014-12-30 2016-07-27 中兴通讯股份有限公司 Unstructured supplementary data service menu implementation method and device

Also Published As

Publication number Publication date
WO2012151824A1 (en) 2012-11-15

Similar Documents

Publication Publication Date Title
CN109828903A (en) Automated testing method, device, computer installation and storage medium
CN103345484B (en) Report processing system and method based on dynamic domain
CN107729003A (en) Automatic generation method, device and the electronic equipment of code
CN103116456B (en) Realize apparatus and method and the intelligent terminal of file merging
CN102368842B (en) Detection method of abnormal behavior of mobile terminal and detection system thereof
CN106712975A (en) Mobile phone internet-surfing traffic statistical and display method and device, and mobile phone
CN111400387B (en) Conversion method and device for import and export data, terminal equipment and storage medium
CN107391527A (en) A kind of data processing method and equipment based on block chain
CN105654291A (en) Method and device for seamless electronic channel payment mode switching
CN105101270A (en) Traffic managing device and traffic managing method for terminal
CN109445886A (en) A kind of interface display method, system and terminal device
CN104360937A (en) Intelligent parameter checking device
CN108228551B (en) excel data import method, device, equipment and computer readable storage medium
CN103324478A (en) Mobile terminal and application program management method thereof
CN105786868A (en) Information sorting method and device
CN108804484A (en) The data measures and procedures for the examination and approval, equipment and computer readable storage medium
CN103501447A (en) Method, device and system about smart television payment
CN110377892A (en) A kind of government intelligence form templat designing system
CN102937948B (en) A kind of image, text and data edit methods of mobile terminal
CN114356166A (en) Application icon display method and related equipment
CN102780981A (en) Pagination method and device of dynamic menu
CN107077278A (en) A kind of self-aided terminal method for processing business and system
CN1859356A (en) Service processing device and service processing method
CN102201082A (en) Device and method for realizing correspondence between type of business object and subject
CN104933546B (en) Data reporting method and system based on custom built forms

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20121114

RJ01 Rejection of invention patent application after publication