Repost] WAP2.0 browsing class business specification

xiaoxiao2021-03-06  14

Repost] WAP2.0 browsing class business specification

Directory 1 Preface 31.1 WAP 2.0 Service Definition 31.2 Destination 42 Page Specification 42.1 Business Availability Overview 42.2 XHTML MP UI Enhancement Characteristics 52.2.1 Digital Shortcut: 52.2.2 Wireless CSS 52.3 Menu Specification 62.3.1 Menu Use 62.3.2 Menu Suggestions Specification 62.4 Many list options 72.5 Return Connection Specification 72.6 Text Display Specification 82.7 User Enter Specification 92.8 Format Input Specification 102.9 Form Specification 102.10 Icon and Graphic Specification 113 Other Precautions 113.1 Terminal Adapter 113.2 Cache Specification 113.3 Cookies Specification 114 Key Words Specifications 121 Foreword 1.0 Wap 2.0 Service Definition WAP 2.0 ratio WAP1.x two significant changes to: Lar load protocol layer: Due to introduce WTCP / WHTTP, WAP 2.0 terminal and WAP 2.0 gateway can establish a WHTTP link, and no need The content encoding, protocol conversion, etc. when WAP 1.x, thereby having a larger packet transfer and faster transmission speed. The improvement of the bearing protocol layer is mainly reflected in the quality of service, such as faster download speed, etc., does not cause new business types. l Improvement Application: WAP 2.0 defines XHTML MP and Wireless CSS based on the W3C's XHTML specification, allowing the WAP tag language to be more than Internet, and provides a richer expression. Application environment (mainly XHTML MP) improvements, 0 on WAP services is mainly on the user interface, XHTML MP WCSS provides a rich performance form relative to WML, but this does not affect existing business types / flow Wait, its essence is still HTTP-based browsing class business. It should be noted that the protocol layer and the application layer are relatively independent, existing partial terminals, such as NOKIA 3650, Nokia 3590, Nokia 6200, Sonyericsson T618, etc., the protocol stack is still WAP 1.2.x, but its browser is also Supports XHTML MP, which can also access the contents and applications of XHTML MP (WAP 2.0). Although these terminals are not strictly meaningful WAP 2.0 terminals, since the WAP2.0 business platform is concerned about the application level, such terminals are also served as WAP 2.0 services as WAP 2.0 services: WAP 2.0 business It refers to the service that supports the XHTML MP terminal (even if the terminal still uses the WAP 1.x protocol stack). 1.2 Objective China Mobile To unify the WAP 2.0 business style, to ensure the availability of WAP 2.0 business, the WAP 2.0 page specification is set as an important part of China Mobile WAP business specification to regulate China Mobile's WAP 2.0 business. This specification first briefly describes the concepts and principles of WAP 2.0 business availability, and gives the corresponding basic principles and examples for menus in WAP 2.0 services, page connection, text display, and selection list. WAP 2.0 business that provides connection through China Mobile WAP 2.0 portal or complies with China Mobile is required to follow the relevant principles and regulations in this specification. China Mobile will further revise and improve this specification, and also welcomes the general partners to provide advice and opinions on China Mobile for WAP 2.0 business. China Mobile retains the final interpretation of this specification.

2 Page Specification 2.1 Business Availability Overview The availability is the value of the business provided by the value of the business and the user's payment, the so-called business provides the value, mainly reflecting the information required to provide users to the user, the service can solve the user In terms of practical problems, the use of business, the cost of using the business includes the cost of learning the business, the user uses the cost of the business (such as connection fee, information fee, clicking, input, etc.). Available business, its most fundamental feature is that the value brought to the user is greater than the price of the user pays by the user. Therefore, when designing WAP 2.0 business, you should notice: • Usefulness is critical; PC has a significant difference in use, even if XHTML provides a wealth of performance capabilities, but considers the network environment of the WAP 2.0 terminal, it is not suitable for excessive use of large-sized pictures, because the download time is too long and will affect the user experience. • The user is to pay for the time or money to use WAP 2.0 business, so the WAP 2.0 business is designed to reduce the price of users pay during use. It can be seen that when developing high availability services, you must first clear:? What kind of user group is facing; what problems give to users; how to solve these problems with the highest efficiency. The following is a few key principles when developing WAP 2.0 business:? Let users get information required as soon as possible; • Limit business within the basic function;? Make the development of WAP 2.0 business is easy to use;? Business should Have a consistent use style; to have pre-analyzed and prevention for users that may be wrong. 2.2 XHTML MP UI Enhancement Features 2.2.1 Digital Shortcut: XHTML MP Defines AccessKey in the tag, similar to the OpenWave browser's OPTION> tag for the ONPICK property, provides users with no scrolling menu , Just need to press the number key corresponding to the menu to enter the ability to enter the corresponding menu item, which greatly improves the user experience. This feature should be used in the menu and option to use 2.2.2 wireless CSS for application developers. You can control text content on the display format on your browser by Cascading Styly Sheets (CCS). During the development of XHTML, simply provide a single XHTML application to provide a more personalized service to the previous WML method, saving previous WML applications. For new terminal types, developers only need to increase the corresponding CSS, so that the development process is more systematic and more efficient. Reference Site Other XHTML MP Language Characteristics Please install OpenWave6.2 SDK, start the emulator, visit http://devgate2.openwave.com/dev/xhtml/sample/index.html, Demo with each marked of XHTML MP Refer to its source code, help you understand the marks of XHTML and their properties, please note that some of OpenWave's enhancements do not apply to other WAP 2.0 browsers, the DTD file in the XML head should also be modified to OMA. Address and tag definition files.

2.3 Menu Specification 2.3.1 Use of menu Use menu usually: • Provide a list of data (such as email addresses)? Connect to a new page (such as selecting)? Do you choose to choose? (If you choose a specific date)? Change an option (such as allowing the user to change setting) 2.3.2 Menu Recommendation Specification menu use specification:? The menu item is aligned to align the left alignment;? There are some logic in the menu. The order is arranged, such as according to type, time, alphabetical order, etc. If there is no logical order, you will be arranged in the priority, the most likely selected row is in front. • You must add a color icon before a navigation menu, the icon is GIF format, should try to be less than 300 Bytes. • You want to specify its AccessKey property before the service class menu, which is digital shortcuts, the two types of menus are defined as shown below: Figure 1: Navigation class menu: After following the next level menu Figure 2: Service class menu: followed by Actual content? Do not more than 9 options in the service class menu. When the option is more than 9, the "Next" is established as the ninth option, as shown in Figure 2. The specific requirements are as follows: 1, the icons before the navigation menu requires as follows: Dimensions: 25x15 PIXLE file type: GIF Size: less than 300 Byte support color: 8 bits 2, the menu should not be used as much as possible, because In this way, for most terminals, the wrap of the menu text can be caused, but it affects the appearance of the interface. 3. In the default, each item in the menu occupies a line, but in special cases, multiple menu items are allowed in the same row. 4. If you need to perform multiple operations on a menu item (or soft button), you can implement it by pop-up menu. 5. Note: The same menu item is displayed on different mobile phones. Most mobile phones will join the menu items, and some mobile phones will use squares to pack the options and parentheses, so don't use underscores when you display text. Waitage. 2.4 Multiple list options 1, can significantly reduce user input by using multiple selection lists. 2, multiple lists should not be displayed in branch. 2.5 Returns the connection specification User often uses the return button in the phone (usually the delete button) or the soft button in the browser is returned or exited, so returns a connection to a business success is critical, to pay attention, return The connection design is good, will significantly improve the number of users. 1. There must be a "dream network home" connection at the bottom of the start page of the business. 2. There must be a connection to the "return to the previous level" at the bottom of the business used, and return to the mobile phone portal home page. 3. Returns the last level: refers to the application menu that returns the sp. - Dreamnet Home: Refers to the home page of the mobile dream network. When you cannot return to the previous page, bring the user to the most convenient to use the service. The return connection is not always practical, for example, when the user transaction or deletes some data, the return connection should not bring the user to the page that confirms the transaction or delete operation, but also returns directly to The business start page, or bring the user to a page that has completed the transaction or delete operation. 2.6 Text Display Specification 1. One WAP 2.0 terminal can generally support large pages content display, but consider downloading time, the page content is controlled below 5K, which is within 2000 Chinese characters.

2. When the content you need to display is more than the range, provide a "next page" connection at the bottom, but under each column, the content transmitted to the user is preferably not more than 5 pages. 3. Display the content branch of one line, but the main menu and subtragettic title should try to compress the text into a line. 4. All text is aligned. 5. Left soft button Connect to the next text page (show more), the right soft button displays the relevant operation (such as email reply, delete, etc.). 6. Read news, email, etc., you should provide a "next" connection, used for users directly to the next news topic or email, not only "next page", users are easy to misunderstood as the same The next part of the subject. 7. Do not use the connection to make an action (such as delete mail, etc.) in the text page, and the soft button is implemented, and the bottom connection cannot be more than 3, and the last connection function should be connected to the page. Consistency (generally continued display information or display completion). 8. Code of content text: You should be set to unified English, avoiding English and Chinese mixed content, such as "Loading ... Please wait", you should "download ... Please wait". 9. The items in the menu are arranged in a certain logic order, such as by type, time, alphabetical order, and the like. If there is no logical order, it is arranged in priority, the most likely selected ranks are in front, and the latest updates are placed at the forefront. 2.7 User Enter Specification 1. Try to minimize user text input 2. When the input area is activated, only one confirmation is required, and other functions are required. 3. For each input item as much as possible and described, do not more than 10 Chinese characters 4. For each input, the input content is limited to 254 characters. 5. Let the input box change along with the content input by the user, start providing a row, increases with the user input content, and the input box will gradually increase, and do not define a fixed size input box. 6. The user to increase the operation of the switching input method should be avoided by setting the type of input box. 7. Password input to the user, do not cover up, it will be displayed in the text on the mobile phone. 8. Use the MAXLEngth parameter to limit the length of the user to enter the password, avoid the user's error. 2.8 Formatting Input Specification Format Input mainly includes content with fixed formats such as input date, credit card number, and so on. 1. All formatting inputs must indicate the input format, if the input can be represented as: mm / yyyy See the following example: 2. Forced the input type, the input number is where the letter is entered, can be entered The number of characters entered via the maxlength parameter 4. The preform of the determined content can be represented as 20xx when the input date is input, and only the two digits can be entered. 5. Automatically switch to the text function that can determine the user input. When the user is required to enter a password, it should be automatically switched to "Digital Function". When the user enters the Email address, it should be automatically switched to "English". "

2.9 Form Specifications You can organize some display areas and input areas through a form. The form is mainly divided into two, one is the guide list, covering multiple pages, boosing users to enter some information in order; second, the combination form, mainly Some different types of object portfolios are the specific specifications of the form using a list: 1. Multiple different types of objects can be used in the same page 2. Try to display the widespread list in the same page. Or boot user input 3. Different pages are connected to a form to meet a list of logical order 4. Unless you need to insert data in the input area, try not to use buttons in your form 5. Try not to use other pages in your form. Connection, unless the content below is insignificant, because the user is easy to skip the following content through the connection 6. When the user completes all the pages in a form, you must have a confirmation page to alert the user. Whether to confirm all input data 7. If you exit the user using a form, you want to prompt whether the user confirms to exit 8. For 3-4 options, by selecting the button to provide users with selection 9. During 5-9 Options To implement 2.10 icons and graphic specification 1. All colorful phones support GIF image format 2. Do not define any operations for graphic objects 3. Be careful with image, possibly The page fails during the image download process 4. The image that is larger than the display screen can move vertically in the phone, but cannot be moved horizontally, so the width size of the image must meet the requirements of the phone. 5. Given the current GPRS network speed, the picture content size should be as small as possible to obtain balance between the user visual experience and the download experience. Each page All images add up to less than 10K, and specific technical means can be implemented by reduced the number of images of the image. 3 Other considerations 3.1 Terminal adaptation Even if the WAP 2.0 XHTML MP defines a tag language, please pay attention to its support for its support. With the increase in WAP 2.0 terminals in the market, this situation will be more prominent A set of pages have different forms of performance on different terminals. Therefore, please pay attention to the development of the SP, identify different terminals and push the adapted pages according to their different capability properties. 3.2 Cache Specifications Cache can realize a quick review of accessible content, do not leave content (such as news, stock information, etc.) in Cache 2, for some specific content (such as weather information, traffic information, etc. To limit its effective time in cache, for dynamic information to force update 4, Cache control See RFC 2616 Related Documentation 3.3 Cookies Specifications Given that the terminal browser can set the cookie, therefore, for the need to save the session relationship WAP 2.0 applications should save the session relationship through the URL Rewriting, so that the user's session information is saved in the URL, and when the user clicks on the link, send back the server to maintain the user's session relationship 4 keywords Specification in business, the consistent keyword use style can significantly improve the availability of business, in general, keywords should be capitalized, while other letters should be lowercase unless some somewhere is combined, such as: OK, etc. Some keywords applications: 1. Determine (OK) for selecting operations in a selection page or confirming an action, such as sending a message or information.


New Post(0)