CN103561417A - Method for improving response quality of mobile client products to user request - Google Patents
Method for improving response quality of mobile client products to user request Download PDFInfo
- Publication number
- CN103561417A CN103561417A CN201310554766.XA CN201310554766A CN103561417A CN 103561417 A CN103561417 A CN 103561417A CN 201310554766 A CN201310554766 A CN 201310554766A CN 103561417 A CN103561417 A CN 103561417A
- Authority
- CN
- China
- Prior art keywords
- request
- module
- token
- layer module
- user
- 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
Links
Images
Landscapes
- Telephonic Communication Services (AREA)
Abstract
The invention provides a method for improving the response quality of mobile client products to a user request. The method includes the following steps: (a) a token is created by a view layer module based on the user request; (b) a token module verifies whether the request is repeated with a prior request or not, and a step (c) is executed if the request is repeated with the prior request, or a step (d) is executed if the request is not repeated with the prior request; (c) the token module stops processing the request and destroys the token of the request, and the steps of the method are stopped; (d) the token module verifies whether a new different request exists or not, and the step (c) is executed if the new different request exists, or a step (e) is executed if the new different request does not exist; (e) the view layer module transmits the request to a control layer module to assign the request; (f) the token module verifies whether a new different request exists or not, and the step (c) is executed if the new different request exists, or a step (g) is executed if the new different request does not exist; (g) the control layer module transmits the request to a logical layer module to process the request; (h) the token module verifies whether a new different request exists or not, and the step (c) is executed if the new different request exists, or a step (i) is executed if the new different request does not exist; (i) the logical layer module transmits processing results to the view layer module to show the processing results.
Description
Technical field
The present invention relates to mobile Internet field, particularly a kind of method of mobile client product to the response quality of user's request that improve.
Background technology
Along with the formal commercialization of 3G network, for the exploitation of in type business in mobile terminal on conventional internet provides possibility, the epoch of mobile Internet Fast Growth arrive.At traditional internet arena, the appearance of browser makes to browse complicated internet and becomes simple, convenient and share with being easy to, and browser becomes the most important client of Internet surfer.Therefore, can predict, in mobile Internet field, the mobile client of taking as the leading factor with app will guide the developing direction of mobile Internet industry, for mobile client browsing information provides navigation.
By the app access services device installed on mobile terminal and the main process of reception server response, be at present: app page request notification controller, then controller calling logic cell processing result is returned to the app page.Yet, there is following problem in the app page request of using mobile terminal to send for current user:
When the page A initiation async user who, shows at app as user asks, do not wait until that server responds this request, user likely switches to page B by page A, but mobile terminal has been received from the response of page A before from server again.Now there will be abnormal prompt or logic error etc., thereby it is not good to cause user to experience.
Two, user may submit the request repeating to the same page.Now due to each page is needed to carry out logical process, so that server workload increases, and easily occurs careless omission and produces BUG on line.
Three, to the test of mobile phone app, be mainly to carry out a large amount of Black-box Testings by a large amount of quality testing personnel at present, and Black-box Testing cost is high and easy careless omission.So the test to mobile phone APP, exists and is difficult to realize the problems such as automation and testing cost height.
Therefore, need a kind of method of mobile client product to the response quality of user's request that improve, to improve the user of cell-phone customer terminal product, experience.
Summary of the invention
The object of this invention is to provide a kind of method of mobile client product to the response quality of user's request that improve.
According to an aspect of the present invention, a kind of method of mobile client product to the response quality of user's request that improve is provided, described client comprises view layer module, key-course module, logic layer module and token module, and described method comprises the steps: that a) request of described view layer module based on user creates token; B) whether this request of described token module verification is and the front request that once request repeats to be to enter step c; Otherwise enter steps d; C) described token module stops the processing of this request and destroys the token of this request, and described method finishes; D) whether described token module verification has new difference request, is to enter step c; Otherwise enter step e; E) described view layer module reaches key-course module by request, and described key-course module is assigned request; F) whether described token module verification has new difference request, is to enter step c; Otherwise enter step g; G) described key-course module reaches logic layer module by request, described logic layer module processes said request; H) whether described token module verification has new difference request, is to enter step c; Otherwise enter step I; I) described logic layer module reaches described view layer module by result, described view layer modules exhibit result.
Preferably, described token is the interface of Asynchronous Request state and control information, and at least containing type sign, required parameter, treatment state, return results information.
Preferably, described view layer module is responsible for drawing display page and is shown to the mobile terminal screen at client place, and can obtain by accessing described token module the described token of the request of processing arbitrarily, and stops at any time as required this request.
Preferably, described key-course module is responsible for controlling view and is shown, and the described request of the user from view layer module is assigned to logic interfacing corresponding in described logic layer module in the future.
Preferably, described key-course module is responsible for, when receiving the request of described view layer module, this request is unified to checking.
Preferably, described logic layer module is responsible for the request receiving from described key-course module to carry out corresponding logical process, and after processing finishes, described logic layer module feeds back to described view layer module by result.
Preferably, described logic layer module is before the described result of feedback, to described view layer module feedback processing progress.
Preferably, in described token module, preserve the corresponding described token set of the current request of processing.
Preferably, described token module is carried out following steps checking repetitive requests: if the described token of described request that described token module discovery user triggers is the same with the described token of a upper request, stop the processing to described request, and by described token module, destroyed the described token of described request.
Preferably, described token module is carried out the new request of following steps authentication of users: any stage in the process of system processing user request, if user has proposed the new request different from this request, ask corresponding described token can stop the processing of system to described request with described, and by described token module, destroyed the described token of described request.
Therefore, the method according to this invention can improve the method for mobile client product to the response quality of user's request, and the user who improves cell-phone customer terminal product experiences.
Accompanying drawing explanation
With reference to the accompanying drawing of enclosing, the more object of the present invention, function and advantage are illustrated the following description by embodiment of the present invention, wherein:
Fig. 1 has schematically shown system block diagram of the present invention.
Fig. 2 has schematically shown the flow chart of the method for raising cell-phone customer terminal product quality of the present invention.
Embodiment
By reference to one exemplary embodiment, object of the present invention and function and will be illustrated for realizing the method for these objects and function.Yet the present invention is not limited to following disclosed one exemplary embodiment; Can to it, be realized by multi-form.The essence of specification is only to help various equivalent modifications Integrated Understanding detail of the present invention.
Hereinafter, embodiments of the invention will be described with reference to the drawings.In the accompanying drawings, identical Reference numeral represents same or similar parts, or same or similar step.
Fig. 1 has schematically shown the system block diagram according to product of the present invention.As shown in Figure 1, apply raising mobile client product of the present invention the system 100 of the response quality of user's request is comprised to client 110, network 120 and server 130.Client 110 at least comprises view layer module 111, key-course module 112, logic layer module 113 and token module 114.Between client 110 and server 130, by network 120, connect.For schematic object, Fig. 1 only shows a client 110, yet, being understandable that in other embodiments, system 100 can comprise more client 110.
Described network 120 for example comprises local area network (LAN) (" LAN ") and the wide area network such as the Internet (" WAN ") such as Intranet.Network 120 can be configured to support to utilize various protocols that the transmission of the information of form is set.In addition, network 120 can be public network, dedicated network or its combination.Network 120 can also utilize any or polytype physical medium to realize, comprising the wired communication path and the wireless communications path that are associated with a plurality of service providers.Communication is WiFi or WLAN, GPRS, cellular network, for example GSM network, 3G network, LTE network or cdma network etc. for example.
Preferably, client 110 realizes with the form of application program for mobile terminal.Client 110 can be carried out mutual and two-way communication by interface mode and the server system 130 of for example web browser or customized application (app).User can be by downloading and install to realize the various functions of client 110 from server system 130.Mobile terminal can be desktop computer, laptop computer, smart phone, personal digital assistant (PDA), panel computer, game machine, Multi-featured Mobile Terminal or comprise computing function and any other equipment of its communication ability.
The responsible drafting display page of view layer module 111 in client 110 shows to the mobile terminal screen at client 110 places, and can obtain the token of the request of processing arbitrarily by access token module 114, and stop at any time as required this request.Described request is that user triggers by the interface of client 110 being operated to (such as gesture operation, input, click etc.), concrete example as, user entered keyword is inquired about, and clicks and trigger some function button, page turn over operation etc.Meanwhile, the repetitive requests that view layer module 111 can be sent by token module 114 shielding users, the pressure and the logical complexity that server 130 are caused to reduce repetitive requests.
Key-course module 112 is responsible for controlling view and is shown, and the user's request from view layer module 111 is assigned to logic interfacing corresponding in logic layer module 113.In addition, key-course module 112 is responsible for, when receiving the request of view layer module 111, this request is unified to checking, and whether unified checking is for example verified online to client, tcp connectivity verification etc.
In token module 114, preserve the corresponding token set of the current request of processing.Token is the interface of Asynchronous Request state and control information, has checking processing capacity.When asking the transmission of information of sum of parameters etc. between view layer module 111, key-course module 112 and logic layer module 113, all to process through the checking of token module 114.When user proposes a request, view layer module 111 creates one and asks corresponding token with this in token module 114.And to the processing of this module and while returning to result, key-course module 114 is destroyed the token of this request when request is terminated or complete.The checking of token module 114 is processed and is comprised following two kinds:
1, any stage in the process of system processing user request, if user has proposed the new request different from this request, mean that user has abandoned the demand to the accordingly result of this request, ask corresponding token can stop the processing of system to this request with this.And destroy the token of this request by token module 114.
If 2 token modules find that the token of this request that user triggers is the same with the token of a upper request, user has sent the request repeating, and stops the processing to this request, and destroys the token of this request by token module 114.For example, user may repeatedly click a certain function key and trigger same request.
Preferably, token can containing type sign, required parameter, treatment state, the information such as return results.In order to notify more easily the processing progress of view layer module 111 these requests, token module 114 preferably adopts and carries case mechanism notice, so token need to inherit in EventDispatcher, and distribute tokenProgress, tokenResult, tokenDestory event notice.
Therefore, utilize token module 114, view layer module 111 can realize tracking and the control to request, and the system that solved after switching the page is also in the problem of processing the request of the former page, and causes because user submits repetitive requests to the problem that increases BUG on server load and line.
Fig. 2 has schematically shown the flow chart of raising mobile client product of the present invention to the method for the response quality of user's request.As shown in Figure 2:
Preferably, between step 280 and step 290, there is step 285 and step 286.Step 285, logic layer module 113 can be to the view layer module 111 processing progress of feedback to user's request regularly, for example, can feed back whenever request is finished dealing with single treatment progress 5% time.Step 286, judgement is worked as pre-treatment and is processed whether progress is 100%, if enter step 290; Otherwise get back to step 280, continue to wait for and finish dealing with.
Preferably, for the test of system of the present invention, defined the view interface that view is integrated.Therefore, utilize this view interface, the page only need be realized view interface and can complete the support of token and control function.Thereby tester only need to utilize view interface just can simulated view carry out automatic test to controller and logical model.
In sum, utilize according to the said goods of the present invention and method, can avoid switching the page and system is still processed the problem of the request of the former page due to user, thereby avoided in new page, receiving the result of the former page and the problem that makes a mistake.And utilize according to the said goods of the present invention and method, thereby can solve that user repeats to submit same request to and the server workload that causes increases the problem that easily produces BUG on line.
This method can reduce app development difficulty, improves program quality; Can effectively control repetitive requests, reduce the pressure to server; Can easily realize automatic test (logic, data division), reduce QA testing cost, and greatly improve the quality of products.
In conjunction with the explanation of the present invention and the practice that disclose here, other embodiment of the present invention are easy to expect and understand for those skilled in the art.Illustrate with embodiment and be only considered to exemplary, true scope of the present invention and purport limit by claim.
Claims (10)
1. improve the method for mobile client product to the response quality of user's request, it is characterized in that, described client comprises view layer module, key-course module, logic layer module and token module, and described method comprises the steps:
A) request of described view layer module based on user creates token;
B) whether this request of described token module verification is and the front request that once request repeats to be to enter step c; Otherwise enter steps d;
C) described token module stops the processing of this request and destroys the token of this request, and described method finishes;
D) whether described token module verification has new difference request, is to enter step c; Otherwise enter step e;
E) described view layer module reaches key-course module by request, and described key-course module is assigned request;
F) whether described token module verification has new difference request, is to enter step c; Otherwise enter step g;
G) described key-course module reaches logic layer module by request, described logic layer module processes said request;
H) whether described token module verification has new difference request, is to enter step c; Otherwise enter step I;
I) described logic layer module reaches described view layer module by result, described view layer modules exhibit result.
2. method according to claim 1, is characterized in that, described token is the interface of Asynchronous Request state and control information, and at least containing type sign, required parameter, treatment state, return results information.
3. method according to claim 1, it is characterized in that, described view layer module is responsible for drawing display page and is shown to the mobile terminal screen at client place, and can obtain by accessing described token module the described token of the request of processing arbitrarily, and stop at any time as required this request.
4. method according to claim 1, is characterized in that, described key-course module is responsible for controlling view and is shown, and the described request of the user from view layer module is assigned to logic interfacing corresponding in described logic layer module in the future.
5. method according to claim 4, is characterized in that, described key-course module is responsible for, when receiving the request of described view layer module, this request is unified to checking.
6. method according to claim 1, it is characterized in that, described logic layer module is responsible for the request receiving from described key-course module to carry out corresponding logical process, and after processing finishes, described logic layer module feeds back to described view layer module by result.
7. method according to claim 6, is characterized in that, described logic layer module is before the described result of feedback, to described view layer module feedback processing progress.
8. method according to claim 1, is characterized in that, preserves the corresponding described token set of the current request of processing in described token module.
9. method according to claim 1, it is characterized in that, described token module is carried out following steps checking repetitive requests: if the described token of described request that described token module discovery user triggers is the same with the described token of a upper request, stop the processing to described request, and by described token module, destroyed the described token of described request.
10. method according to claim 8, it is characterized in that, described token module is carried out the new request of following steps authentication of users: any stage in the process of system processing user request, if user has proposed the new request different from this request, ask corresponding described token can stop the processing of system to described request with described, and by described token module, destroyed the described token of described request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310554766.XA CN103561417A (en) | 2013-11-08 | 2013-11-08 | Method for improving response quality of mobile client products to user request |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310554766.XA CN103561417A (en) | 2013-11-08 | 2013-11-08 | Method for improving response quality of mobile client products to user request |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103561417A true CN103561417A (en) | 2014-02-05 |
Family
ID=50015534
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310554766.XA Pending CN103561417A (en) | 2013-11-08 | 2013-11-08 | Method for improving response quality of mobile client products to user request |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103561417A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103841111A (en) * | 2014-03-17 | 2014-06-04 | 北京京东尚科信息技术有限公司 | Method for preventing data from being submitted repeatedly and server |
CN106209463A (en) * | 2016-07-18 | 2016-12-07 | 北京小米移动软件有限公司 | Problem feedback method, device and feedback server |
CN111222014A (en) * | 2019-12-30 | 2020-06-02 | 北京达佳互联信息技术有限公司 | Request processing method and device, electronic equipment and storage medium |
CN112751878A (en) * | 2020-12-30 | 2021-05-04 | 北京天融信网络安全技术有限公司 | Page request processing method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6721781B1 (en) * | 2000-01-25 | 2004-04-13 | International Business Machines Corporation | Method of providing an alternative audio format of a web page in response to a request for audible presentation of the same |
CN101482820A (en) * | 2009-02-13 | 2009-07-15 | 山东浪潮齐鲁软件产业股份有限公司 | Method for preventing repeated submitting pages |
CN102663318A (en) * | 2012-03-22 | 2012-09-12 | 百度在线网络技术(北京)有限公司 | Browser and client |
-
2013
- 2013-11-08 CN CN201310554766.XA patent/CN103561417A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6721781B1 (en) * | 2000-01-25 | 2004-04-13 | International Business Machines Corporation | Method of providing an alternative audio format of a web page in response to a request for audible presentation of the same |
CN101482820A (en) * | 2009-02-13 | 2009-07-15 | 山东浪潮齐鲁软件产业股份有限公司 | Method for preventing repeated submitting pages |
CN102663318A (en) * | 2012-03-22 | 2012-09-12 | 百度在线网络技术(北京)有限公司 | Browser and client |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103841111A (en) * | 2014-03-17 | 2014-06-04 | 北京京东尚科信息技术有限公司 | Method for preventing data from being submitted repeatedly and server |
CN103841111B (en) * | 2014-03-17 | 2017-11-14 | 北京京东尚科信息技术有限公司 | A kind of method for preventing Data duplication from submitting and server |
CN106209463A (en) * | 2016-07-18 | 2016-12-07 | 北京小米移动软件有限公司 | Problem feedback method, device and feedback server |
CN106209463B (en) * | 2016-07-18 | 2019-05-28 | 北京小米移动软件有限公司 | Problem feedback method, device and feedback server |
CN111222014A (en) * | 2019-12-30 | 2020-06-02 | 北京达佳互联信息技术有限公司 | Request processing method and device, electronic equipment and storage medium |
CN111222014B (en) * | 2019-12-30 | 2024-03-26 | 北京达佳互联信息技术有限公司 | Request processing method, request processing device, electronic equipment and storage medium |
CN112751878A (en) * | 2020-12-30 | 2021-05-04 | 北京天融信网络安全技术有限公司 | Page request processing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10257205B2 (en) | Techniques for authentication level step-down | |
EP3324293B1 (en) | Application managed service instances | |
CN109828761B (en) | Method, system, and medium for managing change events for devices in an enterprise system | |
CN108572833B (en) | Automatic application updates | |
CN106462467B (en) | Integrated API and UI for consuming services over different distributed networks | |
US9804887B2 (en) | Process scheduling and execution in distributed computing environments | |
EP3554034B1 (en) | Method and device for authenticating login | |
KR101229858B1 (en) | Web-based system and method for sharing testing devices | |
US20170063948A1 (en) | State-based subscription authorization system with fall-back | |
CN104412272A (en) | Pass through service login to application login | |
CN104348687B (en) | A kind of method and electronic equipment of generation authorization | |
US20160112389A1 (en) | Secure transfer of user authentication credentials between devices | |
CN101771993A (en) | System and method thereof for realizing polymerization application based on mobile network | |
WO2021120180A1 (en) | Virtual workspace experience visualization and optimization | |
CN103561417A (en) | Method for improving response quality of mobile client products to user request | |
CN104484094A (en) | Implementation method of tunnel monitoring multi-webpage interface on basis of multi-screen workstation | |
AU2018240378B2 (en) | Fluid management controller | |
JP6751778B2 (en) | Methods, electronic devices and storage media for realizing communication between business systems and multi-assembly | |
WO2022026715A1 (en) | Factor authentication for robotic processes | |
US10021082B2 (en) | Integration of form and file services | |
CN104471541B (en) | Promote the method and computer system of mixing application environment | |
US9866648B2 (en) | Automatic transmission of user profile information to a web server | |
US20150242256A1 (en) | Techniques to facilitate communication across domains | |
CN114996577A (en) | Service management method, device, apparatus, storage medium, and program product | |
CN113535590A (en) | Program testing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140205 |