CN106657193A - Request processing method, request processing device, terminal device and server - Google Patents

Request processing method, request processing device, terminal device and server Download PDF

Info

Publication number
CN106657193A
CN106657193A CN201510734581.6A CN201510734581A CN106657193A CN 106657193 A CN106657193 A CN 106657193A CN 201510734581 A CN201510734581 A CN 201510734581A CN 106657193 A CN106657193 A CN 106657193A
Authority
CN
China
Prior art keywords
request
pending
merging
array
mark
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
CN201510734581.6A
Other languages
Chinese (zh)
Other versions
CN106657193B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201510734581.6A priority Critical patent/CN106657193B/en
Publication of CN106657193A publication Critical patent/CN106657193A/en
Application granted granted Critical
Publication of CN106657193B publication Critical patent/CN106657193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/142Managing session states for stateless protocols; Signalling session states; State transitions; Keeping-state mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Computer And Data Communications (AREA)

Abstract

The embodiment of the invention provides a request processing method, a request processing device, a terminal device and a server. The request processing method comprises the steps of collecting requests to be processed; when a predetermined request collection ending condition is met, combining the collected requests to be processed, and generating a combined request; sending the combined request to the server so as to enable the server to call a verification logic to verify the combined request, parsing the combined request by the server after the combined request passes verification, determining a service logic for processing each request to be processed, enabling the server to call the service logic for processing each request to be processed, processing the request to be processed, and acquiring a processing result of each request to be processed; and receiving a combination processing request which is fed back by the server and generated by performing combination on the processing results of the requests to be processed, parsing the combination processing result, and acquiring a processing result of each request to be processed. According to the embodiment of the invention, the data processing pressure of the server is reduced through a mode of request combination, and the overall processing efficiency of multiple requests is improved.

Description

A kind of request processing method, device, terminal device and server
Technical field
The present invention relates to technical field of data processing, and in particular to a kind of request processing method, device, end End equipment and server.
Background technology
To realize application function (application such as WEB application, mobile phone terminal application, PC ends that terminal device is loaded Using etc.), can there is frequently substantial amounts of request between terminal device and server and interact, set for terminal The request that preparation is sent, server needs to be processed, feedback processing result;Therefore, how terminal is set Standby frequently optimization processing is made in substantial amounts of request between server, improves the treatment effeciency of request, always Research point of concern.
Request between terminal device and server be mainly HTTP (HyperText Transfer Protocol, HTTP) request, based on the characteristic of HTTP request, current request processing mode is mainly: Each request that server sends to terminal device carries out authorization check, safety inspection, authorization check, After safety inspection passes through, the corresponding business logic processing request of call request exports result.
The present inventor has found that server asks carried out authority school to each in research process Test, the check logic such as safety inspection it is essentially identical, existing request processing mode is carried out to each request Identical check logic, will cause server to there is substantial amounts of repeated work, server data processing pressure It is higher, and affect the overall treatment efficiency of multiple requests.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of request processing method, device, terminal device and clothes Business device, identical check logic is carried out to solve existing request processing mode to each request, is brought Server data processing pressure it is higher, and affect the problem of the overall treatment efficiency of multiple requests.
For achieving the above object, the embodiment of the present invention provides following technical scheme:
A kind of request processing method, is applied to terminal device, and methods described includes:
Collect pending request;
When predetermined request collection termination condition is reached, merge collected pending request, generate and close And ask;
Request will be merged to send to server, so as to server calls check logic the merging is asked into Row verification, after verification passes through, server parsing is described to merge request, it is determined that processing each pending request Service logic so that the service logic of the server calls each pending request of process, process each pending Request, obtains the result of each pending request;
The result to each pending request of the reception server feedback is merged, the merging for being generated Result, parses merging treatment result, obtains the result of each pending request.
The embodiment of the present invention also provides a kind of request processing method, is applied to server, and methods described includes:
After obtaining the pending request of merging that terminal device sends, the merging request for being generated;
Check logic is called to verify the merging request;
After verification passes through, the merging request is parsed, it is determined that processing the service logic of each pending request;
Call each pending request of business logic processing for processing each pending request, obtain it is each it is pending please The result asked;
The result of each pending request is merged, merging treatment result is generated and is fed back to terminal Equipment.
The embodiment of the present invention also provides a kind of request processing meanss, is applied to terminal device, described device bag Include:
Collection module, for collecting pending request;
Merging module, for when predetermined request collection termination condition is reached, treating collected by merging to be located Reason request, generates and merges request;
Request sending module, sends to server for will merge request, so that server calls verification is patrolled Collect and the merging request is verified, after verification passes through, server parsing is described to merge request, really Surely the service logic of each pending request is processed so that the business of each pending request of server calls process Logic, processes each pending request, obtains the result of each pending request;
As a result parsing module, the result to each pending request for the reception server feedback is carried out Merge, the merging treatment result for being generated, parse merging treatment result, obtain the place of each pending request Reason result.
The embodiment of the present invention also provides a kind of terminal device, including request processing meanss described above.
The embodiment of the present invention also provides a kind of request processing meanss, is applied to server, and described device includes:
Merge acquisition request module, for after the pending request of merging for obtaining terminal device transmission, giving birth to Into merging request;
Correction verification module, for calling check logic to verify the merging request;
Request analysis module, for after verification passes through, parsing the merging request, it is determined that process respectively treating Process the service logic of request;
Request processing module, for call the business logic processing that processes each pending request it is each it is pending please Ask, obtain the result of each pending request;
Result merges feedback module, raw for merging to the result of each pending request Into merging treatment result and feed back to terminal device.
The embodiment of the present invention also provides a kind of server, including request processing meanss described above.
Based on above-mentioned technical proposal, in request processing method provided in an embodiment of the present invention, terminal device exists It is first to collect pending request when producing pending request, is not the pending request that directly will be produced Send to server process;When predetermined request collection termination condition is reached, terminal device can merge institute The pending request collected, generates merging request Concurrency and delivers to server;Server is to by multiple pending The merging request unified call check logic that request merges is verified, and is eliminated to multiple pending requests The process for being verified respectively, greatly simplify the checking process of multiple requests, and reduce to multiple The checking time of request;Meanwhile, server can by parsing it is described merge request, to each it is pending please Ask and processed, obtain result, complete process of the server to each pending request.It can be seen that, this The request processing method that inventive embodiments are provided, is realizing the request that server to process terminal equipment sends During, by way of merging and asking so that the conjunctions that server can be to being merged by multiple pending requests And please seek unification and verified, eliminate to multiple pending processes for asking to be verified respectively, greatly Alleviate the data processing pressure of server, and reduce the checking time of multiple requests, improve many The overall treatment efficiency of individual request.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Apply the accompanying drawing to be used needed for example or description of the prior art to be briefly described, it should be apparent that, below Accompanying drawing in description is only embodiments of the invention, for those of ordinary skill in the art, not On the premise of paying creative work, can be with according to the other accompanying drawings of accompanying drawing acquisition for providing.
Fig. 1 is the hardware structure schematic diagram of demand processing system provided in an embodiment of the present invention;
Fig. 2 is the signaling process figure of request processing method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of request processing method provided in an embodiment of the present invention;
Fig. 4 is the method flow diagram of the pending request collected by merging provided in an embodiment of the present invention;
Fig. 5 is the other method flow chart of the pending request collected by merging provided in an embodiment of the present invention;
Fig. 6 is another flow chart of request processing method provided in an embodiment of the present invention;
Fig. 7 is another flow chart of request processing method provided in an embodiment of the present invention;
Fig. 8 is the flow chart of paging file caching method provided in an embodiment of the present invention;
Fig. 9 is the storage method flow chart of paging file provided in an embodiment of the present invention;
Figure 10 is the method flow diagram of reduction paging file provided in an embodiment of the present invention;
Figure 11 is the another flow chart of request processing method provided in an embodiment of the present invention;
Figure 12 is the method flow diagram that parsing provided in an embodiment of the present invention merges request;
Figure 13 is the other method flow chart that parsing provided in an embodiment of the present invention merges request;
Figure 14 is the flow chart of paged data update method provided in an embodiment of the present invention;
Figure 15 is the structured flowchart of request processing meanss provided in an embodiment of the present invention;
Figure 16 is the structured flowchart of merging module provided in an embodiment of the present invention;
Figure 17 is another structured flowchart of request processing meanss provided in an embodiment of the present invention;
Figure 18 is another structured flowchart of request processing meanss provided in an embodiment of the present invention;
Figure 19 is the another structured flowchart of request processing meanss provided in an embodiment of the present invention;
Figure 20 is another structured flowchart again of request processing meanss provided in an embodiment of the present invention;
Figure 21 is the hardware block diagram of terminal device provided in an embodiment of the present invention;
Figure 22 is again another structured flowchart of request processing meanss provided in an embodiment of the present invention;
Figure 23 is the structured flowchart of request analysis module provided in an embodiment of the present invention;
Figure 24 is the another another structured flowchart of request processing meanss provided in an embodiment of the present invention;
Figure 25 is the hardware block diagram of server provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out Clearly and completely describe, it is clear that described embodiment is only a part of embodiment of the invention, and It is not all, of embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, belong to the scope of protection of the invention.
Fig. 1 is the hardware structure schematic diagram of demand processing system provided in an embodiment of the present invention, please shown in Fig. 1 Processing system is asked to can be used to implement request processing method provided in an embodiment of the present invention, to realize reducing service The data processing pressure of device, lifts the overall treatment efficiency of multiple requests;
With reference to Fig. 1, the demand processing system can include:Terminal device 10 and server 20;Terminal device 10 can be the user side equipments such as mobile phone, panel computer, PC (personal computer);Server 20 is net Network side apparatus, can be realized, it is also possible to the server farm being made up of multiple servers by single server Realize;
Based on demand processing system shown in Fig. 1, Fig. 2 shows request process side provided in an embodiment of the present invention The signaling process figure of method, with reference to shown in Fig. 1 and Fig. 2, the flow process can include:
Step S10, terminal device collect pending request;
Optionally, terminal device can arrange request pond, to collect pending request;When terminal device is produced When a raw need send the pending request to server process, terminal device pending will not asked immediately Transmission is asked to server, but pending request is collected in request pond;The generation of pending request can Triggered by user operation.
Step S11, when reaching predetermined request and collecting termination condition, terminal device merges collected treating Request is processed, is generated and is merged request;
Optionally, the embodiment of the present invention can periodically collect pending request, and when reaching, predetermined collection is all During the phase, terminal device in the collection cycle, can will ask the pending request collected by pond to merge, raw Ask into merging;
Optionally, the embodiment of the present invention may also set up predetermined request and collect number, when asking collected by request pond Ask quantity reach predetermined request collect number when, terminal device can by request pond collected by it is pending ask into Row merges, and generates and merges request;
Optionally, the embodiment of the present invention also can carry out pending with reference to predetermined collection cycle and request collection number The collection of request;When the predetermined collection cycle is reached, or, it is predetermined to ask the number of requests collected by pond to reach When number is collected in request, terminal device can merge the pending request collected by request pond, generate and close And ask;
Can identify comprising the service logic that request server deals with single request, and request server The pending data for dealing with;When terminal device merges collected pending request, the present invention is implemented Example can merge the service logic of each pending request mark, by the pending number of each pending request According to merging;
Meanwhile, to avoid the request collision problem of Merging zone method, the embodiment of the present invention from arranging separator, When the service logic for merging each pending request is identified, using each service logic mark of separators, When the pending data of each pending request is merged, using each pending data of separators;
Step S12, terminal device are sent request is merged to server;
Step S13, server calls check logic are verified to the merging request, after verification passes through, Server parsing is described to merge request, it is determined that processing the service logic of each pending request;
Optionally, after parsing the merging request, server is obtained the service logic of each pending request Mark, and the pending data of each pending request;Server can be patrolled by the business of each pending request Mark is collected, it is determined that processing the service logic of each pending request.
Step S14, the service logic of each pending request of server calls process, process each pending request, Obtain the result of each pending request;
Optionally, server can call the service logic of each pending request to identify corresponding service logic, The pending data of each pending request is processed, the result of each pending request is obtained;
Optionally, server can call the service logic mark of each pending request right by the way of asynchronous The service logic answered, is processed with the pending data to each pending request.
Step S15, server merge the result of each pending request, generate merging treatment result;
Optionally, the mode for merging the result of each pending request can be by each pending request Result is ranked up combination.
Merging treatment result is fed back to terminal device by step S16, server;
Step S17, terminal device parsing merging treatment result, obtain the result of each pending request.
Optionally, if merging treatment result is to be ranked up combination according to the collection order of pending request, Then terminal device can according to merging treatment result in each result order, determine it is each it is pending please The result asked.
As shown in Figure 2 flow process can be seen that in request processing method provided in an embodiment of the present invention, and terminal sets Standby is first to collect pending request when pending request is produced, and is not directly pending by what is produced Request is sent to server process;When predetermined request collection termination condition is reached, terminal device can be closed And collected pending request, generate merging request Concurrency and deliver to server;Server by multiple to being treated The merging request unified call check logic for processing request merging is verified, and is eliminated to multiple pending The process that verified respectively of request, greatly simplify the checking process of multiple requests, and reduce it is right The checking time of multiple requests;Meanwhile, server can merge request by the way that parsing is described, and each is waited to locate Reason request is processed, and obtains result, completes process of the server to each pending request.It can be seen that, Request processing method provided in an embodiment of the present invention, is realizing the request that server to process terminal equipment sends During, by way of merging and asking so that server can be to by multiple pending request merging Merging please seek unification and be verified, and eliminate to multiple pending processes for asking to be verified respectively, pole It is big to alleviate the data processing pressure of server, and the checking time of multiple requests is reduced, improve The overall treatment efficiency of multiple requests.
Below with the angle of terminal device, request processing method provided in an embodiment of the present invention is introduced, Request processing method described below can be with signaling process content above mutually to should refer to.
Fig. 3 is the flow chart of request processing method provided in an embodiment of the present invention, and the method can be applicable to terminal Equipment, with reference to Fig. 3, the method can include:
Step S100, the pending request of collection;
Optionally, the embodiment of the present invention can collect pending request by arranging request pond.
Step S110, when reaching predetermined request and collecting termination condition, terminal device merges collected Pending request, generates and merges request;
Optionally, the embodiment of the present invention can reach the predetermined collection cycle, or, asking collected by request pond When asking quantity to reach predetermined request collection number, it is determined that currently reaching predetermined request collects termination condition, can Pending request collected by request pond is merged, is generated and is merged request;
Can identify comprising the service logic that request server deals with single request, and request server The pending data for dealing with;Terminal device respectively will can be waited to locate when collected pending request is merged The service logic mark of reason request is merged, and the pending data of each pending request is merged;
Meanwhile, to avoid the request collision problem of Merging zone method, the embodiment of the present invention from arranging separator, When the service logic for merging each pending request is identified, using each service logic mark of separators, When the pending data of each pending request is merged, using each pending data of separators.
Step S120, terminal device will merge request and send to server, so that server calls verification is patrolled Collect and the merging request is verified, after verification passes through, server parsing is described to merge request, really Surely the service logic of each pending request is processed so that the business of each pending request of server calls process Logic, processes each pending request, obtains the result of each pending request;
Step S130, the result to each pending request of the reception server feedback are merged, institute The merging treatment result of generation, parses merging treatment result, obtains the result of each pending request.
Optionally, the method that Fig. 4 shows the pending request collected by merging provided in an embodiment of the present invention Flow chart, with reference to Fig. 4, the method can include:
Step S200, the service logic of each pending request mark is merged, and using separator point Identify every the service logic of each pending request;
Optionally, when each service logic mark is merged, the business for ease of distinguishing each pending request is patrolled Mark is collected, the embodiment of the present invention can be according to the collection of pending request order, by the industry of each pending request Business logical identifier sequentially merges, and using each service logic mark of separators;
Obviously, the embodiment of the present invention also can arrange request mark (in each service logic mark for merging Individual one request mark of pending request correspondence), with the request mark identified by service logic, distinguish Go out the corresponding pending request of each service logic mark.
Step S210, the pending data of each pending request is merged, and adopt separators The pending data of each pending request.
Optionally, when each pending data is merged, for ease of distinguishing the pending number of each pending request According to the embodiment of the present invention can be according to the collection of pending request order, by the pending of each pending request Data sequentially merge, and using each service logic mark of separators;
Obviously, the embodiment of the present invention also can arrange request mark in each pending data for merging, with logical The request mark of pending data is crossed, the pending request corresponding to each pending data is distinguished
Optionally, step S200 and step S210 can be performed simultaneously, also can successively be performed, between two steps Can be without obvious sequencing.
Optionally, service logic mark can include:Business logic modules are identified and service logic action mark Know;Business logic modules mark in request, it is corresponding that server can navigate to business logic modules Class (class);Service logic action identification in request, server can navigate to disclosure in such into Member's method (public member method);So as to the public affairs in the class for passing through positioned business logic modules Open member method to deal with the pending data asked;Business logic modules are a certain to perform in server The functional module of service logic;
To avoid the request collision problem of Merging zone method, the embodiment of the present invention from arranging one-level separator and two Fire resisting division is accorded with, and one-level separator can be used to separate business logic modules mark, the business of each pending request Logical action is identified and pending data;And it is other multiple due to being also possible to carry in each request Parameter, therefore two fire resisting divisions can be adopted to accord with the parameter for separating each pending request.
Corresponding, Fig. 5 shows the another of the pending request collected by merging provided in an embodiment of the present invention Method flow, with reference to Fig. 5, the method can include:
Step S300, the business logic modules of each pending request mark is merged, and adopt one-level The business logic modules mark of each pending request of separators;
Each business logic modules mark can sequentially merge according to the collection of pending request order, or, can Request mark is set in each business logic modules mark.
Step S310, the service logic action identification of each pending request is merged, and adopt one-level The service logic action identification of each pending request of separators;
Each service logic action identification can sequentially merge according to the collection of pending request order, or, can Request mark is set in each service logic action identification.
Step S320, the pending data of each pending request is merged, and using one-level separator Separate the pending data of each pending request;
Each pending data can sequentially merge according to the collection of pending request order, or, can wait to locate Request mark is set in reason data.
Step S330, the parameter that each pending request of separation is accorded with using two fire resisting divisions.
The parameter of each pending request can sequentially merge according to the collection of pending request order, or, can Corresponding request mark is set in the parameter of each pending request.
Optionally, step S300- step S330 is regarded as the merging treatment to different pieces of information in request point , can be without obvious sequencing between step S300- step S330.
For ease of understanding, with the configured information that m is identified as business logic modules, a is service logic action mark The configured information of knowledge, d for pending data configured information, s1 for one-level separator configured information, s2 For the configured information of two fire resisting divisions symbol;The concrete form of above-mentioned configured information is visually actually needed adjustment;
The entry file for assuming request is http://www.abc.com/do.php;
Need to merge two pending requests are:
Request 1, inquires about the request of the user profile that ID is 1:
http://www.abc.com/do.phpM=mUser&a=getUserInfo&d=1;
Request 2, inquires about the request of the merchandise news that ID is 1000:
http://www.abc.com/do.phpM=mGoods&a=getGoodsInfo&d=1000;
After then request pending to above-mentioned two is merged, can obtain merging request:
http://www.abc.com/do.phpM=mUser_mGoods&a=getUserInfo_getGoodsIn Fo&d=1_1000&s1=_&s2=@;
As can be seen that merging business logic modules mark (mUser) of request 1 in request and the industry of request 2 Business logic module mark (mGoods) is merged, and has made to separate using one-level separator " _ "; In merging request, the merging position of the business logic modules mark of request 1 and request 2 adopts configured information " m " Indicate, and merge in request, request 1 and the business logic modules of request 2 identify suitable according to the priority of request Sequence merges;
The service logic action identification (getUserInfo) of request 1 and the service logic action identification of request 2 (getGoodsInfo) merged, and made to separate using one-level separator " _ ";Merging please In asking, the merging position of the service logic action identification of request 1 and request 2 is indicated using configured information " a ", And merge in request, the service logic action identification of request 1 and request 2 merges according to the sequencing of request;
The pending data (1) of request 1 and the pending data (1000) of request 2 are merged, and And made to separate using one-level separator " _ ";In merging request, the pending data of request 1 and request 2 Merging position using configured information " d " indicate, and merge request in, request 1 and request 2 it is pending Data merge according to the sequencing of request;
Meanwhile, accord with s2 by two fire resisting divisions and the parameter of request 1 and request 2 is separated.
After merging request sends to be received to server being serviced device, server can parse the merging request, The service logic mark of each pending request, and the pending data of each pending request are obtained, so as to logical The service logic mark of each pending request is crossed, it is determined that processing the service logic of each pending request;Further The service logic for calling each pending request identifies corresponding service logic, processes treating for each pending request Processing data, obtains the result of each pending request;
Server when parsing merges request, respectively treated by the merging order that can be identified by service logic, differentiation Process the service logic mark of request;Or, the request mark identified by service logic, differentiation is respectively treated Process the service logic mark of request;
Server can also pass through the merging order for merging pending data in request, distinguish each pending request Pending data;Or, identified by the request of pending data, distinguish treating for each pending request Processing data;
Server feeds back to again terminal device, institute after need to merging to the result of each pending request The merging treatment result of feedback can be one-dimension array, by the result sequence combination of each pending request; Sequence can merge the determination of the sequence in asking according to each pending request;
As described above the result of request 1 is [0, { id:1,name:’user’,sex:' male '], above-mentioned request 2 Result be [0, { id:1000,name:' commodity 1 ', price:100}];Server can be by two results Sequentially it is combined as [[0, { id:1,name:’user’,sex:' male '], [0, { id:1000,name:' commodity 1 ', price:100 }]], obtain merging the corresponding merging treatment result of request;
Obviously, server also can arrange the corresponding request mark of each result in merging treatment result, To distinguish the result of each pending request in merging treatment result.
Terminal device, can be according to each pending request in request is merged after merging treatment result is received Sequence, the result of each pending request is sequentially parsed from merging treatment result;Such as ask 1 He The sequence of request 2 is that request 1 is prior to request 2 in request is merged;Then server is according to request 1 and request 2 Sequence in request is merged, after being combined into the merging treatment result of request 1 and request 2, terminal device can The result of request 1 and the result of request 2 are sequentially parsed from merging treatment result, is taken Result and result to request 2 of the business device to request 1;
Obviously, terminal device can also pass through the request mark of each result in merging treatment result, in solution After analysis merging treatment result, the corresponding pending request of each result is determined.
If it should be noted that arranging request collects termination condition to reach the predetermined collection cycle, or, institute The number of requests of collection reaches predetermined request and collects number, it is also possible to there are problems that:
Such as collect that the cycle is too short, then ask the utilization rate for merging relatively low, request not yet reaches predetermined request receipts Collection number (largest cumulative number) then merges;
Excessive cycle is collected, request can cause larger subjective delay, request to process not in time.
Therefore in the embodiment of the present invention, the collection cycle can be needed be adjusted by practical business scene, need to be Ensure to postpone in acceptable scope, to improve the collection cycle as far as possible, weigh the collection cycle and collect quantity Pros and cons;Used as preferred, the cycle of collecting can be 200 milliseconds, and 200 milliseconds is most of business Ask acceptable time delay;
In addition, the optimization alternative processed as request, the embodiment of the present invention can be the response time It is required that higher request is added forbid merging mark, terminal device is forbidden merging the request for identifying to having, In not collecting request pond, but will send extremely as individually request with the request for forbidding merging mark Server;
Corresponding, whether terminal device can determine whether to be carried in pending request forbids merging mark, if so, Then terminal device sends pending request to server, if it is not, then terminal device can be by pending request It is collected.
Preferably, Fig. 6 shows another flow chart of request processing method provided in an embodiment of the present invention, should Method is applied to terminal device, and with reference to Fig. 6, the method can include:
Step S400, judge whether to be carried in pending request forbid merge mark, if so, perform step Rapid S410, if it is not, execution step S420;
Step S410, by it is pending request send to server;
Step S420, by it is pending request collect into request pond;
Step S430, when reaching the predetermined collection cycle, or, the request collected by request pond, quantity reaches When please make a reservation for ask collection number, will in request pond each pending request business logic modules mark, according to please The collection order asked sequentially merges, and using each business logic modules mark of one-level separators;Please The service logic action identification of each pending request in pond is sought, is sequentially merged according to the collection order of request, And using each service logic action identification of one-level separators;Each pending request in request pond is treated Processing data, sequentially merges according to the collection order of request, and each pending using one-level separators Data;And the parameter for separating each pending request in request pond is accorded with using two fire resisting divisions, generate and merge request;
Step S440, by merge request send to server, so that server calls check logic is to described Merge request to be verified, after verification passes through, server parsing is described to merge request so that server The business logic modules for calling each pending request identify corresponding business logic modules, to pending data Perform corresponding service logical action and identify corresponding service logic action, obtain the process of each pending request As a result;
Step S450, the result to each pending request of the reception server feedback are merged and given birth to Into merging treatment result, the result of each pending request is sequentially parsed from merging treatment result; Wherein, sequence of the result of each pending request according to each pending request in request is merged is carried out Merging treatment result is generated after combination.
Request processing method provided in an embodiment of the present invention, by way of merging and asking so that server Can verify to being seek unification by the merging of multiple pending request merging, eliminate to multiple pending The process that request is verified respectively, greatly alleviates the data processing pressure of server, and reduces The checking time of multiple requests, improves the overall treatment efficiency of multiple requests;
Request processing method provided in an embodiment of the present invention improves the place of request except merging redundancy logic Reason efficiency, reduces server load, improves on the whole outside the response speed of request, can also reduce terminal and set The standby connection number with server, improves network application response speed, and this effect on mobile terminal is more dashed forward Go out.
Optionally, terminal device also describes file using the paging of local cache, realizes to table data In paged data acquisition;Table data such as items list, game ranking list, medal list etc. weekly, Due to the data volume of table data it is larger, it is understood that there may be the situation of thousands of bars, therefore table data can Realize that is, table data can be made up of paging file using Paging system;
Corresponding, Fig. 7 shows another flow chart of request processing method provided in an embodiment of the present invention, should Method can be applicable to terminal device, and with reference to Fig. 7, the method can include:
Step S500, when premises equipment requests paged data, transfer the paging file of local cache;
The optional form of expression of paging file can be list_ { page } .js).
Step S510, determine from the paging file of local cache and corresponding with the paged data asked count According to data determined by return.
Optionally, the version of the paging file of local cache can describe file description, paging description by paging File is stored with the Version Description information of paging file, fresh information and the table data of table data The information such as total page number, number of data lines;Fig. 8 shows paging file caching method provided in an embodiment of the present invention, With reference to Fig. 8, the method can include:
Step S600, terminal device describe the latest version information of file to server request paging;
Optionally, terminal device regularly can describe the latest version information of file to server request paging; Can also preset some request time nodes, when a certain request time node is reached, then ask once Latest version information;
The latest version information of step S610, the reception server feedback;
The paging that is stored with server describes file, when the data in paging file become in the server When more (during as increased, deleting, change), the paging file of data change occurs will produce new version number, Meanwhile, the corresponding informance that the paging stored in server is described in file also can accordingly update;There are data The paging file of change, the version for causing paging to describe the paging file described in file is changed.
Step S620, the version information that the paging of the latest version information and local cache is described file Compare;
Paging describes file and can cache in terminal device, and paging describes the optional form of expression of file and is version.js。
If step S630, the version of comparison are inconsistent, there is dividing for renewal in terminal device to server pull Page data, with the paged data for being pulled the paging file of local cache is updated, and is cached with described in most The paging of redaction information describes file.
Optionally, it can be paging file that terminal device does not locally have caching that the version of comparison is inconsistent (such as first entering into the situation of application), or, locally there is the paging file of caching in terminal device, but The version of the paging file of local cache is inconsistent with latest edition;
The paged data that there is renewal can be the paging file of the latest version information description, and locally The paging of caching is described in the version of the paging file of file description, the paging corresponding to inconsistent version Data.
Optionally, the request of latest version information, pulling for the paged data of renewal is related to terminal device Request between server is interacted;In embodiments of the present invention, the request of latest version information, or, Pulling for the paged data of renewal can be carried out in the way of merging and asking, it is also possible to which the mode separately being requested is entered OK.
Due to the renewal frequency of table data it is relatively low, terminal device can by the paging file of local cache, Request to paged data is realized, the step of save the access server in demand paging data so that right The request of paged data is changed into the access to the local static resource of terminal device, improves paged data Request efficiency;And using terminal and the caching of server end, will not cause that caching brings point Page data postpones, and causes the problem that paged data is inconsistent;
Meanwhile, in the embodiment of the present invention, the paging file of local cache only can describe the version of file in paging Reset after this change and refresh so that caching is obtained the utilization of maximum possible;And Buffer Utilization depends on In the change frequency of paging file, for the paging file not changed for a long time, Buffer Utilization is high, Even without initiation network request;In a particular application, user it is non-first enter into apply when, can pass through The paging file of caching, obtains quickly application response experience, though in the relatively poor environment of network or Also the request of paged data is capable of achieving under the network environment of person mobile terminal.
Optionally, because the data volume of table data is larger, the embodiment of the present invention can be with the side of sparse matrix Formula storage represents the paging file of table data;Corresponding, Fig. 9 shows provided in an embodiment of the present invention point The storage method flow chart of page file, the method can be applicable to terminal device, and with reference to Fig. 9, the method can be with Including:
Step S700, for the object array in paging file, the general character of each object in extracting object array Key assignments, constitutes key assignments array;
Object array is Key (key assignments)-value (value) array, comprising key assignments and the corresponding value of each key assignments;
Such as object array:
[
{id:1,name:'Bill'},
{id:2,name:'Lucy'},
{id:3,name:'Tom'}
]
Wherein, { id:1,name:' Bill'} be first object, { id:2,name:' Lucy'} be second object, {id:3,name:' Tom'} is the 3rd object, totally 3 objects, key assignments is id, name;Key assignments is corresponding It is worth for the corresponding values of each id (such as the corresponding values 1 of id in first object), and the corresponding values of each name are (such as Corresponding values Bill of name in first object);
The general character key assignments of each object is id, name in object array, and the general character key assignments of each object is constituted into key Value array, then be obtained key assignments array:['id','name'].
The respective value of step S710, the key assignments of each object of extraction, constitutes the value array of each object;
Object { id:1,name:' Bill'} key assignments respective value be 1, Bill, object { id:2,name:'Lucy'} Key assignments respective value be 2, Lucy, object { id:3,name:' Tom'} key assignments respective value be 3, Tom; The respective value of the key assignments of each object is extracted, and the respective value of the key assignments of an object constitutes a value array, The value array of each object is then obtained:
[1,'Bill'],
[2,'Lucy'],
[3,'Tom']
Step S720, using key assignments array as storage array it is one-dimensional, the value array of each object is combined as The two dimension of storage array, obtains storing array.
Depth-compression is carried out to the value array of each object so that the respective value of the key assignments of all objects is spelled successively Connect, can obtain storing the second dimension of array, using key assignments array as the first dimension of storage array, then can obtain The storage array of two dimension:
[
['id','name'],
1,'Bill',2,'Lucy',3,'Tom'
]
Store array can by paging file with sparse matrix by way of stored, by original right above As array is to the transformation for storing array, the quantity amount of paging file can be compressed, reduce paging file Data storage amount;Can be seen that by example above, the data volume for storing array is only paging file data volume 68% so that data volume is greatly compressed.
Corresponding, the embodiment of the present invention is also provided with that storage array is reduced to the mechanism of paging file;Figure 10 method flow diagrams for showing reduction paging file provided in an embodiment of the present invention, with reference to Figure 10, the party Method can include:
Step S800, the key assignments that the one-dimensional key assignments array of array is included will be stored, as paging file The key assignments of each object in object array;
The respective value of step S810, the key assignments for being included the value array of storage array two dimension, sequentially fills For the value of the key assignments of corresponding object, the object array of paging file is restored.
By method shown in Figure 10, the embodiment of the present invention can store the key that the key assignments array of array is included It is worth the field information for paging file, the respective value of the key assignments included using the value array of storage array, The value of the key assignments of each object of cyclic pac king, realizes the reduction of the object array of paging file.
Optionally, request processing method provided in an embodiment of the present invention can be applicable to be opened by Chinese Tencent The General integral system (General Ticket System, GTS) sent out;Terminal device accesses General integral After system server, the following function of being provided by integrating system server can be experienced:
Game service marketing activity, accumulated point exchanging, acquisition and circulation;
The medal honor system of game service is built and supports, while producing accumulated point exchanging and circulation;
Game service commodity exchange, can use gaming point redemption and obtain and specify game articles;
Account is bound, and contact details (such as the mobile phone and address) binding of user is examined, and is periodically pushed away Prompting message user is sent to participate in latest activity, while the reward in kind for being easy to follow-up sweepstake is provided;
Using request processing method provided in an embodiment of the present invention, terminal device and General integral system are realized During data interaction between server, at least following advantage can be brought:
General integral system server can be asked (by multiple pending requests the merging that terminal device sends Merge) unify to be verified, the processes verified respectively to multiple pending requests are eliminated, greatly The data processing pressure for alleviating General integral system server, and when reducing the verification of multiple requests Between, improve the overall treatment efficiency of multiple requests;
By the paging file of local cache, (paging file of caching is carried terminal device by General integral system For), it is capable of achieving quick paged data request;
The mode for introducing sparse matrix stores the paging file of General integral system, can reduce paging file Storage pressure.
Below with the angle of server, request processing method provided in an embodiment of the present invention is introduced, Request processing method described below can with above with terminal device angle describe request processing method it is mutual To should refer to.
Figure 11 is the another flow chart of request processing method provided in an embodiment of the present invention, and the method can be applied In server, with reference to Figure 11, the method can include:
After the pending request of merging that step S900, acquisition terminal device send, the merging request for being generated;
Optionally, terminal device can merge the service logic of each pending request mark, and adopt The service logic mark of each pending request of separators, the pending data of each pending request is entered Row merges, and using the pending data of each pending request of separators, so as to generate request is merged.
Step S910, call check logic to it is described merging request verify;
Step S920, after verification passes through, parse it is described merge request, it is determined that processing each pending request Service logic;
Optionally, can parse and merge the service logic mark of each pending request in request, and respectively wait to locate The pending data of reason request;
Step S930, each pending request of business logic processing for processing each pending request is called, obtained The result of each pending request;
Optionally, server can call the service logic of each pending request to identify corresponding service logic, The pending data of each pending request is processed, the result of each pending request is obtained;
Server can call the service logic of each pending request to identify corresponding business by the way of asynchronous Logic, is processed with the pending data to each pending request.
Step S940, the result to each pending request are merged, and generate merging treatment result simultaneously Feed back to terminal device.
Optionally, Figure 12 shows the parsing provided in an embodiment of the present invention method flow for merging request Figure, with reference to Figure 12, the method can include:
Step S1000, the merging position for determining service logic mark in merging request, split out separator institute The service logic mark of each pending request for separating;
Optionally, the position that merges of service logic mark can be with the configured information determination of service logic mark; Each service logic mark can sequentially merge according to the collection of pending request order, and corresponding, server can According to the merging order of service logic mark, the business of each pending request that separator is separated is split out Logical identifier;
Optionally, each service logic mark can arrange request mark, and corresponding, server can be according to each industry The request mark of business logical identifier, splits out the service logic mark of each pending request that separator is separated Know.
Step S1010, the merging position for determining pending data in merging request, split out separator and divide Every each pending request pending data.
Optionally, the position that merges of pending data can be with the determination of the configured information of pending data;Respectively treat Processing data can sequentially merge according to the collection of pending request order, and corresponding, server can be according to treating The merging order of processing data, splits out the pending data of each pending request that separator is separated;
Optionally, each pending data can arrange request mark, and corresponding, server can be according to respectively waiting to locate The request mark of reason data, splits out each pending data of each pending request that separator is separated.
Optionally, service logic mark can include business logic modules mark and service logic action identification, In request is merged, the business logic modules mark of each pending request can adopt one-level separators, The service logic action identification of each pending request can adopt one-level separators, each pending request Pending data can adopt one-level separators, the parameter of each pending request to accord with using two fire resisting divisions Separate;
Corresponding, Figure 13 shows the parsing provided in an embodiment of the present invention other method for merging request Flow chart, with reference to Figure 13, the method can include:
Step S1100, the merging position for determining business logic modules mark in merging request, split out one-level The business logic modules mark of each pending request that separator is separated;
The configured information that the merging position of business logic modules mark can be identified by business logic modules determine (if configured information can be m);The merging order that server can be identified according to business logic modules, or industry The request mark of business logic module mark, splits out the industry of each pending request that one-level separator is separated Business logic module mark.
Step S1110, the merging position for determining service logic action identification in merging request, split out one-level The service logic action identification of each pending request that separator is separated;
The merging position of service logic action identification can be determined by the configured information of service logic action identification (if configured information can be a);Server can be according to the merging of service logic action identification order, or industry The request mark of business logical action mark, splits out the industry of each pending request that one-level separator is separated Business logical action mark.
Step S1120, the merging position for determining pending data in merging request, split out one-level separator The pending data of each pending request for being separated;
The position that merges of pending data can be with the determination of the configured information of pending data (as configured information can Think d);Server can be identified according to the merging of pending data order, or the request of pending data, Split out the pending data of each pending request that one-level separator is separated.
Step S1130, the parameter for splitting out each pending request that two fire resisting divisions symbol is separated.
Server can be according to the merging of the parameter of each pending request order, or the parameter of each pending request Request mark, split out the parameter of each pending request that one-level separator is separated.
Optionally, identify and service logic action mark in the business logic modules for parsing each pending request After knowledge, server can identify corresponding business logic modules with the business logic modules of pending request, right Pending data performs corresponding service logical action and identifies corresponding service logic action, and realization is processed and respectively treated Process the pending data of request.
Optionally, server is after the result for obtaining each pending request, can according to it is each it is pending please The sequence in request is merged is asked, the result of each pending request is combined, merging treatment result is obtained; Server also can arrange the corresponding request mark of each result in merging treatment result, with merging The result of each pending request is distinguished in reason result.
Request processing method provided in an embodiment of the present invention, by way of merging and asking, realizes redundancy The merging of logic, improves the treatment effeciency of request, reduces server load, and request is improved on the whole Response speed.
Optionally, the paging file of table data, and the paging description of table data can be stored in server File, so that terminal device can describe the version and server of file by comparing the paging of local cache The paging of middle storage describes the latest edition of file, and that realizes the paged data that there is renewal pulls renewal;
Corresponding, Figure 14 shows the flow chart of paged data update method provided in an embodiment of the present invention, The method can be applicable to server, and with reference to Figure 14, the method can include:
The demand paging that step S1200, receiving terminal apparatus send describes the letter of the latest version information of file Breath;
Step S1210, the latest version information is fed back into terminal device;
Step S1220, the paging description text that the latest version information and local cache are compared in terminal device When the version information of part is inconsistent, what receiving terminal apparatus sent pulls asking for the paged data that presence updates Ask;
Step S1230, by it is described exist update paged data send to terminal device, so as to terminal device With the paging file that the paged data for being pulled updates local cache.
Optionally, terminal device can also cache the latest edition when it is determined that the version for comparing is inconsistent The corresponding paging of information describes file.
Optionally, it is to reduce paging file data storage amount in the server, the embodiment of the present invention can be adopted Paging file is stored in the server with the mode of sparse matrix;Corresponding, server is for paging file In object array, can extract object array in each object general character key assignments, constitute key assignments array;Extract The respective value of the key assignments of each object, constitutes the value array of each object;Using key assignments array as storage array It is one-dimensional, the value array of each object is combined as to store the two dimension of array, with reference to the peacekeeping two dimension of array, Obtain storing array.
Optionally, server can also be by storage array reducing component page file;Corresponding, server can be by The key assignments that the one-dimensional key assignments array of storage array is included, as each object in the object array of paging file Key assignments;The respective value of the key assignments that the value array of storage array two dimension is included, is sequentially filled to corresponding The value of the key assignments of object, restores the object array of paging file.
Request processing meanss provided in an embodiment of the present invention are introduced below, at request described below Reason device can with above with terminal device angle describe request processing method mutually to should refer to.
Figure 15 is the structured flowchart of request processing meanss provided in an embodiment of the present invention, and the device can be applicable to Terminal device, with reference to Figure 15, the device can include:
Collection module 100, for collecting pending request;
Merging module 110, for when predetermined request collection termination condition is reached, merging collected treating Request is processed, is generated and is merged request;
Request sending module 120, sends to server, so as to server calls verification for will merge request Logic is verified to the merging request, and after verification passes through, server parsing is described to merge request, It is determined that processing the service logic of each pending request so that the industry of each pending request of server calls process Business logic, processes each pending request, obtains the result of each pending request;
As a result parsing module 130, the result to each pending request for the reception server feedback is entered Row merges, the merging treatment result for being generated, and parses merging treatment result, obtains each pending request Result.
Optionally, the pending request can include:Service logic is identified and pending data;Figure 16 A kind of alternative construction of merging module provided in an embodiment of the present invention 110 is shown, with reference to Figure 16, merges mould Block 110 can include:
Logical identifier combining unit 111, for the service logic of each pending request mark to be merged, And the service logic using each pending request of separators is identified;
Optionally, the embodiment of the present invention, can be according to the receipts of pending request when service logic mark is merged Collection order, the service logic mark of each pending request is sequentially merged, or, it is each service logic mark Know and request mark corresponding with pending request is set, request mark one pending request of correspondence.
Data combination unit 112, for the pending data of each pending request to be merged, and adopts The pending data of each pending request of separators.
Optionally, the embodiment of the present invention, can be according to the collection of pending request when pending data is merged Sequentially, the pending data of each pending request is sequentially merged, or, it is that each pending data is arranged Request mark corresponding with pending request.
Optionally, the service logic mark can include:Business logic modules are identified and service logic is moved Make a check mark;
Corresponding, logical identifier combining unit 111 is particularly used in, by the service logic of each pending request Module id is merged, and using the business logic modules mark of each pending request of one-level separators Know;And, the service logic action identification of each pending request is merged, and using one-level separator Separate the service logic action identification of each pending request;
Optionally, the embodiment of the present invention, can be according to pending request when business logic modules mark is merged Collection order, the business logic modules of each pending request mark is sequentially merged, or, be each industry Business logic module mark arranges request mark corresponding with pending request;
When service logic action identification is merged, can respectively will wait to locate according to the collection of pending request order The service logic action identification of reason request sequentially merges, or, be each service logic action identification arrange with Pending request is corresponding to ask mark;
Data combination unit 112 is particularly used in, and the pending data of each pending request is merged, And using the pending data of each pending request of one-level separators;
Optionally, the embodiment of the present invention, can be according to the collection of pending request when pending data is merged Sequentially, the pending data of each pending request is sequentially merged, or, it is that each pending data is arranged Request mark corresponding with pending request;
Corresponding, merging module 110 can be additionally used in, and the ginseng for separating each pending request is accorded with using two fire resisting divisions Number.
Optionally, as a result parsing module 130 is particularly used in, and according to each pending request request is being merged In sequence, the result of each pending request is sequentially parsed from merging treatment result;Or, pressing According to each result request identify, parse from merging treatment result with request mark is corresponding treat from The result of reason request, request mark one pending request of correspondence.
Optionally, collection module 100 can be carried out only to not carrying the pending request for forbidding merging mark Collect;Specifically, whether collection module 100 can determine whether to be carried in pending request and forbids merging mark, If it is not, then collect not carrying the pending request for forbidding merging mark;
It is corresponding, if carry in pending request to forbid merging mark, directly can will carry and forbid The pending request for merging mark is sent to server.
Figure 17 shows another structure of request processing meanss provided in an embodiment of the present invention, with reference to Figure 15 and Shown in Figure 17, the device can also include:
Caching transfers module 140, for when premises equipment requests paged data, transfer local cache point Page file;
Paged data returns module 150, for determining from the paging file of local cache and dividing for being asked The corresponding data of page data, data determined by return.
Optionally, Figure 18 shows the process of caching of paging file provided in an embodiment of the present invention, Tu18Wei Another structured flowchart of request processing meanss provided in an embodiment of the present invention, with reference to shown in Figure 17 and Figure 18, The device can also include:
Latest edition acquisition module 160, the latest edition for describing file to server request paging is believed Breath, the latest version information of the reception server feedback;
Version comparing module 170, for the paging of the latest version information and local cache to be described into file Version information compare;
Data pull cache module 180, if the version for comparing is inconsistent, exists more to server pull New paged data, has with the paging file that the paged data for being pulled updates local cache, and caching The paging of the latest version information describes file.
Optionally, the embodiment of the present invention can store paging file with sparse matrix;Figure 19 shows the present invention The another structured flowchart of the request processing meanss that embodiment is provided, with reference to shown in Figure 15 and Figure 19, the device Can also include:
Key assignments extraction module 190, it is each in extracting object array for for the object array in paging file The general character key assignments of object, constitutes key assignments array;
Value extraction module 200, for extracting the respective value of the key assignments of each object, constitutes the value array of each object;
Storage array generation module 210, for using key assignments array as the one-dimensional of storage array, by each object Value array be combined as store array two dimension, obtain store array.
Optionally, Figure 20 shows the process for reducing the paging file stored with sparse matrix, and Figure 20 is this Another structured flowchart again of the request processing meanss that inventive embodiments are provided, with reference to shown in Figure 15 and Figure 20, The device can also include:
Key assignments recovery module 220, for the key assignments that the one-dimensional key assignments array of array is included will to be stored, as The key assignments of each object in the object array of paging file;
Value recovery module 230, the respective value of the key assignments for the value array of storage array two dimension to be included, The value of the key assignments of corresponding object is sequentially filled to, the object array of paging file is restored.
The embodiment of the present invention also provides a kind of terminal device, and the terminal device can include described above asking Seek processing meanss.
Using terminal device provided in an embodiment of the present invention, can be by way of merging and asking so that service Device can be verified to being sought unification by the merging of multiple pending request merging, eliminated and waited to locate to multiple The process that reason request is verified respectively, greatly alleviates the data processing pressure of server, and reduces The checking time of multiple requests, improves the overall treatment efficiency of multiple requests;Meanwhile, by local The paging file of caching, is capable of achieving quick paged data request;The mode for introducing sparse matrix is stored point Page file, reduces the storage pressure of paging file.
Figure 21 shows the hardware block diagram of terminal device provided in an embodiment of the present invention, with reference to Figure 21, The terminal device can include:Processor 1, communication interface 2, memory 3 and communication bus 4;
Wherein processor 1, communication interface 2, memory 3 complete mutual communication by communication bus 4;
Optionally, communication interface 2 can be the interface of communication module, the such as interface of gsm module;
Processor 1, for configuration processor;
Memory 3, for depositing program;
Program can include program code, and described program code includes computer-managed instruction.
The possibly central processor CPU of processor 1, or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the embodiment of the present invention One or more integrated circuits.
Memory 3 may include high-speed RAM memory, it is also possible to also including nonvolatile memory (non-volatile memory), for example, at least one magnetic disc store.
Wherein, program can be specifically for:
Collect pending request;
When predetermined request collection termination condition is reached, merge collected pending request, generate and close And ask;
Request will be merged to send to server, so as to server calls check logic the merging is asked into Row verification, after verification passes through, server parsing is described to merge request, it is determined that processing each pending request Service logic so that the service logic of the server calls each pending request of process, process each pending Request, obtains the result of each pending request;
The result to each pending request of the reception server feedback is merged, the merging for being generated Result, parses merging treatment result, obtains the result of each pending request.
Below with the angle of server, request processing meanss provided in an embodiment of the present invention are introduced, It is described below request processing meanss can with above with server side describe request processing method it is mutually right Should refer to.
Figure 22 is again another structured flowchart of request processing meanss provided in an embodiment of the present invention, and the device can Server is applied to, with reference to Figure 22, the device can include:
Merge acquisition request module 300, for after the pending request of merging for obtaining terminal device transmission, institute The merging request of generation;
Correction verification module 310, for calling check logic to verify the merging request;
Request analysis module 320, for after verification passes through, parsing the merging request, it is determined that processing each The service logic of pending request;
Request processing module 330, for calling the business logic processing for processing each pending request each pending Request, obtains the result of each pending request;
Result merges feedback module 340, for merging to the result of each pending request, Generate merging treatment result and feed back to terminal device.
Optionally, the pending request can include:Service logic is identified and pending data;Figure 23 A kind of alternative construction of request analysis module 320 provided in an embodiment of the present invention is shown, with reference to Figure 23, please Parsing module 320 is asked to include:
Service logic identifies determining unit 321, for determining the merging position for merging service logic mark in request Put, split out the service logic mark of each pending request that separator is separated;
Optionally, the merging order that can be identified according to service logic, or, identify according to each service logic Request mark, splits out the service logic mark of each pending request that separator is separated, a request Mark one pending request of correspondence;
The position that merges of service logic mark can be with the configured information determination of service logic mark.
Pending data determining unit 322, for determining the merging position for merging pending data in request, Split out the pending data of each pending request that separator is separated.
Optionally, can be according to the merging of pending data order, or, according to the request of each pending data Mark, splits out the pending data of each pending request that separator is separated;
The position that merges of pending data can be with the determination of the configured information of pending data.
Corresponding, request processing module 330 is particularly used in, and calls the service logic mark of each pending request Know corresponding service logic, process the pending data of each pending request.
Optionally, the service logic mark can include:Business logic modules are identified and service logic is moved Make a check mark;
Service logic mark determining unit 321 is particularly used in, it is determined that merging business logic modules mark in request The merging position of knowledge, splits out the business logic modules mark of each pending request that one-level separator is separated Know;And determine the merging position for merging service logic action identification in request, split out one-level separator institute The service logic action identification of each pending request for separating;
What business logic modules were identified merges position can be determined by the configured information of business logic modules mark, The merging position of service logic action identification can be determined by the configured information of service logic action identification;
Optionally, the merging order that can be identified according to business logic modules, or business logic modules mark Request mark, splits out the business logic modules mark of each pending request that one-level separator is separated; Can identify according to the merging of service logic action identification order, or the request of service logic action identification, tear open Separate the service logic action identification of each pending request that one-level separator is separated;
Pending data determining unit 322 is particularly used in, it is determined that merging the merging of pending data in request Position, splits out the pending data of each pending request that one-level separator is separated;
The position that merges of pending data can be with the determination of the configured information of pending data;
Optionally, can identify according to the merging of pending data order, or the request of pending data, tear open Separate the pending data of each pending request that one-level separator is separated;
Further, request analysis module 320 is also removable separates each pending request that two fire resisting divisions symbol is separated Parameter;Optionally, can be according to the merging of the parameter of each pending request order, or each pending request Parameter request mark, split out the parameter of each pending request that two fire resisting divisions symbol is separated;
Corresponding, request processing module 330 is particularly used in, and calls the business logic modules of pending request Corresponding business logic modules are identified, corresponding service logical action mark is performed to pending data corresponding Service logic action.
Optionally, result merges feedback module 340 and is particularly used in, and is closing according to each pending request And the sequence in asking, combine the result of each pending request;Or, setting in merging treatment result Put the corresponding request mark of each result.
Optionally, server can also feed back the paged data for updating to terminal according to the request of terminal device Equipment;Figure 24 be it is provided in an embodiment of the present invention request processing meanss another another structured flowchart, the device Server is can be applicable to, with reference to Figure 22 and Figure 24, the device can include:
Latest edition feedback module 350, the demand paging sent for receiving terminal apparatus describes file most The information of redaction information, by the latest version information terminal device is fed back to;
Request receiving module 360 is updated the data, for comparing the latest version information and this in terminal device Ground caching paging describe file version information it is inconsistent when, receiving terminal apparatus send pull presence The request of the paged data of renewal;
Feedback module 370 is updated the data, is set for the paged data that there is renewal to be sent to terminal It is standby, so that terminal device updates the paging file of local cache with the paged data for being pulled.
Optionally, in the server, the embodiment of the present invention can store paging file with sparse matrix;As schemed Shown in 19, on the basis of server shown in Figure 22, server can also include:
Key assignments extraction module, it is each right in extracting object array for for the object array in paging file The general character key assignments of elephant, constitutes key assignments array;
Value extraction module, for extracting the respective value of the key assignments of each object, constitutes the value array of each object;
Storage array generation module, for using key assignments array as storage array it is one-dimensional, by each object Value array is combined as storing the two dimension of array, obtains storing array.
Optionally, the also reducible paging file stored with sparse matrix of server;As shown in figure 20, exist On the basis of server shown in Figure 22, server can also include:
Key assignments recovery module, for the key assignments that the one-dimensional key assignments array of array is included will to be stored, as point The key assignments of each object in the object array of page file;
Value recovery module, the respective value of the key assignments for the value array of storage array two dimension to be included, according to Sequence is filled to the value of the key assignments of corresponding object, restores the object array of paging file.
The embodiment of the present invention also provides a kind of server, and the server can include above-mentioned with server side Described request processing meanss.
Figure 25 shows the hardware block diagram of server provided in an embodiment of the present invention, with reference to Figure 25, should Server can include:Processor 1 ', communication interface 2 ', memory 3 ' and communication bus 4 ';
Wherein processor 1 ', communication interface 2 ', memory 3 ' are completed mutually by communication bus 4 ' Between communication;
Processor 1 ', for configuration processor;
Wherein, program can be specifically for:
After obtaining the pending request of merging that terminal device sends, the merging request for being generated;
Check logic is called to verify the merging request;
After verification passes through, the merging request is parsed, it is determined that processing the service logic of each pending request;
Call each pending request of business logic processing for processing each pending request, obtain it is each it is pending please The result asked;
The result of each pending request is merged, merging treatment result is generated and is fed back to terminal Equipment.
Each embodiment is described by the way of progressive in this specification, and each embodiment is stressed The difference with other embodiment, between each embodiment identical similar portion mutually referring to. For device disclosed in embodiment, because it is corresponded to the method disclosed in Example, so description It is fairly simple, related part is referring to method part illustration.
Professional further appreciates that, with reference to respectively showing for the embodiments described herein description The unit and algorithm steps of example, can with electronic hardware, computer software or the two be implemented in combination in, It is general according to function in the above description in order to clearly demonstrate the interchangeability of hardware and software Describe the composition and step of each example.These functions are performed with hardware or software mode actually, Depending on the application-specific and design constraint of technical scheme.Professional and technical personnel can be specific to each Application using different methods to realize described function, but this realize it is not considered that beyond this The scope of invention.
With reference to the embodiments described herein description method or can directly use the step of algorithm hardware, The software module of computing device, or the combination of the two is implementing.Software module can be placed in and deposit at random Reservoir (RAM), internal memory, read-only storage (ROM), electrically programmable ROM, electric erasable can It is known in programming ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field In any other form of storage medium.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use The present invention.Various modifications to these embodiments will be for those skilled in the art aobvious and easy See, generic principles defined herein can without departing from the spirit or scope of the present invention, Realize in other embodiments.Therefore, the present invention is not intended to be limited to the embodiments shown herein, And it is to fit to the most wide scope consistent with principles disclosed herein and features of novelty.

Claims (29)

1. a kind of request processing method, it is characterised in that be applied to terminal device, methods described includes:
Collect pending request;
When predetermined request collection termination condition is reached, merge collected pending request, generate and close And ask;
Request will be merged to send to server, so as to server calls check logic the merging is asked into Row verification, after verification passes through, server parsing is described to merge request, it is determined that processing each pending request Service logic so that the service logic of the server calls each pending request of process, process each pending Request, obtains the result of each pending request;
The result to each pending request of the reception server feedback is merged, the merging for being generated Result, parses merging treatment result, obtains the result of each pending request.
2. request processing method according to claim 1, it is characterised in that the pending request Including:Service logic is identified and pending data;
Pending request collected by the merging includes:
The service logic mark of each pending request is merged, and is patrolled using each business of separators Collect mark;And, the pending data of each pending request is merged, and it is each using separators Pending data.
3. request processing method according to claim 2, it is characterised in that by each pending request Service logic mark when merging, according to the collection order of pending request, by each service logic mark Knowledge sequentially merges, or, it is that each service logic mark arranges request mark corresponding with pending request, One request mark one pending request of correspondence;
When the pending data of each pending request is merged, according to the collection order of pending request, Each pending data is sequentially merged, or, it is that each pending data setting is corresponding with pending request Request mark.
4. request processing method according to claim 2, it is characterised in that the service logic mark Knowledge includes:Business logic modules are identified and service logic action identification;
The service logic mark by each pending request merge including:
The business logic modules mark of each pending request is merged, and using one-level separators Each business logic modules mark;And, the service logic action identification of each pending request is merged, And using each service logic action identification of one-level separators;
The pending data by each pending request merge including:
The pending data of each pending request is merged, and respectively waits to locate using one-level separators Reason data;
Methods described also includes:
The parameter for separating each pending request is accorded with using two fire resisting divisions.
5. request processing method according to claim 4, it is characterised in that by each pending request Business logic modules mark when merging, according to the collection order of pending request, each business is patrolled Collect module id sequentially to merge, or, it is that each business logic modules mark arranges corresponding to pending request Request mark, one request mark correspondence one pending request;
When the service logic action identification of each pending request is merged, according to the receipts of pending request Collection order, each service logic action identification is sequentially merged, or, it is that each service logic action identification sets Put request mark corresponding with pending request;
When the pending data of each pending request is merged, according to the collection order of pending request, Each pending data is sequentially merged, or, it is that each pending data setting is corresponding with pending request Request mark;
The parameter of each pending request is sequentially merged according to the collection order of pending request, or, it is The parameter setting of each pending request asks accordingly mark.
6. request processing method according to claim 1, it is characterised in that the collection is pending Request includes:
Judge whether to be carried in pending request and forbid merging mark;
If it is not, then collect not carrying the pending request for forbidding merging mark;
If so, then by carry forbid merge mark pending request send to server.
7. request processing method according to claim 1, it is characterised in that methods described also includes:
When premises equipment requests paged data, the paging file of local cache is transferred;
Data corresponding with the paged data asked are determined from the paging file of local cache, institute is returned It is determined that data.
8. request processing method according to claim 7, it is characterised in that the paging file Process of caching includes:
The latest version information of file is described to server request paging;
The latest version information of the reception server feedback;
The version information that the latest version information describes file with the paging of local cache is compared;
If the version for comparing is inconsistent, there is the paged data for updating to server pull, with what is pulled Paged data updates the paging file of local cache, and paging of the caching with the latest version information is retouched State file.
9. the request processing method according to claim 7 or 8, it is characterised in that methods described is also Including:Paging file is stored with sparse matrix;
It is described to be included with sparse matrix storage paging file:
For the object array in paging file, the general character key assignments of each object in extracting object array, composition Key assignments array;
The respective value of the key assignments of each object is extracted, the value array of each object is constituted;
Using key assignments array as the one-dimensional of storage array, the value array of each object is combined as to store array Two dimension, obtains storing array.
10. request processing method according to claim 9, it is characterised in that methods described is also wrapped Include:Reduce the paging file stored with sparse matrix;
The reduction is included with the paging file that sparse matrix is stored:
The key assignments that the one-dimensional key assignments array of array is included will be stored, as in the object array of paging file The key assignments of each object;
The respective value of the key assignments that the value array of storage array two dimension is included, is sequentially filled to corresponding object Key assignments value, restore the object array of paging file.
11. a kind of request processing methods, it is characterised in that be applied to server, methods described includes:
After obtaining the pending request of merging that terminal device sends, the merging request for being generated;
Check logic is called to verify the merging request;
After verification passes through, the merging request is parsed, it is determined that processing the service logic of each pending request;
Call each pending request of business logic processing for processing each pending request, obtain it is each it is pending please The result asked;
The result of each pending request is merged, merging treatment result is generated and is fed back to terminal Equipment.
12. request processing methods according to claim 11, it is characterised in that it is described it is pending please Ask including:Service logic is identified and pending data;It is described parsing it is described merging request include:
It is determined that merge the merging position of service logic mark in request, split out that separator separated respectively treats Process the service logic mark of request;
It is determined that merge the merging position of pending data in request, respectively waiting of splitting out that separator separated is located The pending data of reason request.
13. request processing methods according to claim 12, it is characterised in that according to service logic The merging order of mark, or, the request mark identified according to each service logic, splits out separator and divide Every each pending request service logic mark, one request mark correspondence one pending request;
According to the merging order of pending data, or, the request according to each pending data is identified, split Go out the pending data of each pending request that separator is separated.
14. request processing methods according to claim 12, it is characterised in that the service logic Mark includes business logic modules mark and service logic action identification;
It is described to determine the merging position for merging service logic mark in request, split out what separator was separated The service logic mark of each pending request includes:
It is determined that merging the merging position of business logic modules mark in request, split out one-level separator and divide Every each pending request business logic modules mark;And determination merges service logic action mark in request The merging position of knowledge, splits out the service logic action mark of each pending request that one-level separator is separated Know;
Described to determine the merging position for merging pending data in request, split out that separator separated is each The pending data of pending request includes:
It is determined that merge the merging position of pending data in request, split out that one-level separator separated is each The pending data of pending request;
Methods described also includes:
Split out the parameter of each pending request that two fire resisting divisions symbol is separated.
15. request processing methods according to claim 14, it is characterised in that according to service logic The merging order of module id, or the request mark of business logic modules mark, split out one-level separator The business logic modules mark of each pending request for being separated;
Identify according to the merging order of service logic action identification, or the request of service logic action identification, Split out the service logic action identification of each pending request that one-level separator is separated;
Identify according to the merging order of pending data, or the request of pending data, split out a fraction The pending data of each pending request separated every symbol;
According to the merging order of the parameter of each pending request, or the request mark of the parameter of each pending request Know, split out the parameter of each pending request that two fire resisting divisions symbol is separated.
16. request processing methods according to claim 11, it is characterised in that methods described is also wrapped Include:
The demand paging that receiving terminal apparatus send describes the information of the latest version information of file;
The latest version information is fed back into terminal device;
The latest version information is compared in terminal device describe the version letter of file with the paging of local cache When ceasing inconsistent, what receiving terminal apparatus sent pulls the request that there is the paged data for updating;
There is described the paged data that updates and send to terminal device, so that terminal device is being pulled Paged data updates the paging file of local cache.
17. request processing methods according to claim 16, it is characterised in that methods described is also wrapped Include:Paging file is stored with sparse matrix;
It is described to be included with sparse matrix storage paging file:
For the object array in paging file, the general character key assignments of each object in extracting object array, composition Key assignments array;
The respective value of the key assignments of each object is extracted, the value array of each object is constituted;
Using key assignments array as the one-dimensional of storage array, the value array of each object is combined as to store array Two dimension, obtains storing array.
18. request processing methods according to claim 17, it is characterised in that methods described is also wrapped Include:Reduce the paging file stored with sparse matrix;
The reduction is included with the paging file that sparse matrix is stored:
The key assignments that the one-dimensional key assignments array of array is included will be stored, as in the object array of paging file The key assignments of each object;
The respective value of the key assignments that the value array of storage array two dimension is included, is sequentially filled to corresponding object Key assignments value, restore the object array of paging file.
19. a kind of request processing meanss, it is characterised in that be applied to terminal device, described device includes:
Collection module, for collecting pending request;
Merging module, for when predetermined request collection termination condition is reached, treating collected by merging to be located Reason request, generates and merges request;
Request sending module, sends to server for will merge request, so that server calls verification is patrolled Collect and the merging request is verified, after verification passes through, server parsing is described to merge request, really Surely the service logic of each pending request is processed so that the business of each pending request of server calls process Logic, processes each pending request, obtains the result of each pending request;
As a result parsing module, the result to each pending request for the reception server feedback is carried out Merge, the merging treatment result for being generated, parse merging treatment result, obtain the place of each pending request Reason result.
20. request processing meanss according to claim 19, it is characterised in that it is described it is pending please Ask including:Service logic is identified and pending data;
The merging module includes:
Logical identifier combining unit, for the service logic of each pending request mark to be merged, and Using each service logic mark of separators;
Data combination unit, for the pending data of each pending request to be merged, and employing point Separate each pending data every symbol.
21. request processing meanss according to claim 19, it is characterised in that also include:
Caching transfers module, for when premises equipment requests paged data, transferring the paging of local cache File;
Paged data returns module, for determining from the paging file of local cache and the paging asked The corresponding data of data, data determined by return.
22. request processing meanss according to claim 21, it is characterised in that also include:
Latest edition acquisition module, for describing the latest version information of file to server request paging, The latest version information of the reception server feedback;
Version comparing module, for the paging of the latest version information and local cache to be described into file Version information is compared;
Data pull cache module, if the version for comparing is inconsistent, exists to server pull and updates Paged data, with the paging file that the paged data that pulled updates local cache, and cache there is institute The paging for stating latest version information describes file.
The 23. request processing meanss according to claim 21 or 22, it is characterised in that also include:
Key assignments extraction module, it is each right in extracting object array for for the object array in paging file The general character key assignments of elephant, constitutes key assignments array;
Value extraction module, for extracting the respective value of the key assignments of each object, constitutes the value array of each object;
Storage array generation module, for using key assignments array as storage array it is one-dimensional, by each object Value array is combined as storing the two dimension of array, obtains storing array;
And,
Key assignments recovery module, for the key assignments that the one-dimensional key assignments array of array is included will to be stored, as point The key assignments of each object in the object array of page file;
Value recovery module, the respective value of the key assignments for the value array of storage array two dimension to be included, according to Sequence is filled to the value of the key assignments of corresponding object, restores the object array of paging file.
24. a kind of terminal devices, it is characterised in that including the request described in any one of claim 19-23 Processing meanss.
25. a kind of request processing meanss, it is characterised in that be applied to server, described device includes:
Merge acquisition request module, for after the pending request of merging for obtaining terminal device transmission, giving birth to Into merging request;
Correction verification module, for calling check logic to verify the merging request;
Request analysis module, for after verification passes through, parsing the merging request, it is determined that process respectively treating Process the service logic of request;
Request processing module, for call the business logic processing that processes each pending request it is each it is pending please Ask, obtain the result of each pending request;
Result merges feedback module, raw for merging to the result of each pending request Into merging treatment result and feed back to terminal device.
26. request processing meanss according to claim 25, it is characterised in that it is described it is pending please Ask including:Service logic is identified and pending data;The request analysis module includes:
Service logic identifies determining unit, for determining the merging position for merging service logic mark in request, Split out the service logic mark of each pending request that separator is separated;
Pending data determining unit, for determining the merging position for merging pending data in request, tears open Separate the pending data of each pending request that separator is separated;
The request processing module is specifically for calling the service logic mark of each pending request corresponding Service logic, processes the pending data of each pending request.
27. request processing meanss according to claim 25, it is characterised in that also include:
Latest edition feedback module, the demand paging sent for receiving terminal apparatus describes the newest of file The information of version information, by the latest version information terminal device is fed back to;
Update the data request receiving module, for terminal device compare the latest version information with it is local The paging of caching describe file version information it is inconsistent when, receiving terminal apparatus send pull presence more The request of new paged data;
Feedback module is updated the data, for the paged data that there is renewal to be sent to terminal device, So that terminal device updates the paging file of local cache with the paged data for being pulled.
28. request processing meanss according to claim 27, it is characterised in that also include:
Key assignments extraction module, it is each right in extracting object array for for the object array in paging file The general character key assignments of elephant, constitutes key assignments array;
Value extraction module, for extracting the respective value of the key assignments of each object, constitutes the value array of each object;
Storage array generation module, for using key assignments array as storage array it is one-dimensional, by each object Value array is combined as storing the two dimension of array, obtains storing array;
And,
Key assignments recovery module, for the key assignments that the one-dimensional key assignments array of array is included will to be stored, as point The key assignments of each object in the object array of page file;
Value recovery module, the respective value of the key assignments for the value array of storage array two dimension to be included, according to Sequence is filled to the value of the key assignments of corresponding object, restores the object array of paging file.
29. a kind of servers, it is characterised in that at the request described in any one of claim 25-28 Reason device.
CN201510734581.6A 2015-11-02 2015-11-02 A kind of request processing method, device, terminal device and server Active CN106657193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510734581.6A CN106657193B (en) 2015-11-02 2015-11-02 A kind of request processing method, device, terminal device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510734581.6A CN106657193B (en) 2015-11-02 2015-11-02 A kind of request processing method, device, terminal device and server

Publications (2)

Publication Number Publication Date
CN106657193A true CN106657193A (en) 2017-05-10
CN106657193B CN106657193B (en) 2019-11-19

Family

ID=58810940

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510734581.6A Active CN106657193B (en) 2015-11-02 2015-11-02 A kind of request processing method, device, terminal device and server

Country Status (1)

Country Link
CN (1) CN106657193B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107623788A (en) * 2017-09-22 2018-01-23 努比亚技术有限公司 Using the raising method, apparatus and computer-readable recording medium of toggle speed
CN107733879A (en) * 2017-09-29 2018-02-23 努比亚技术有限公司 Client terminal start-up method, mobile terminal and computer storage media
CN107729215A (en) * 2017-10-30 2018-02-23 努比亚技术有限公司 Interface interchange method, mobile terminal and computer-readable recording medium
CN107766088A (en) * 2017-09-27 2018-03-06 努比亚技术有限公司 Interface optimization method, system and computer-readable recording medium
CN107872571A (en) * 2017-10-27 2018-04-03 努比亚技术有限公司 Interface requests method, interface requests response method, mobile terminal and server
CN107967183A (en) * 2017-11-29 2018-04-27 努比亚技术有限公司 A kind of application interface merges operation method, mobile terminal and computer-readable recording medium
CN108037959A (en) * 2017-11-30 2018-05-15 努比亚技术有限公司 Interface intelligence merging method, mobile terminal and computer-readable recording medium
CN108306856A (en) * 2017-12-26 2018-07-20 努比亚技术有限公司 A kind of interface merging method, client, server and computer readable storage medium
CN108304302A (en) * 2017-12-22 2018-07-20 努比亚技术有限公司 A kind of interface merging method, equipment and computer readable storage medium
CN109451076A (en) * 2018-12-29 2019-03-08 乐蜜有限公司 A kind of the merging treatment method, apparatus and electronic equipment of network request
CN109617974A (en) * 2018-12-21 2019-04-12 珠海金山办公软件有限公司 A kind of request processing method, device and server
CN109660612A (en) * 2018-12-11 2019-04-19 北京潘达互娱科技有限公司 A kind of request processing method and server
CN109842646A (en) * 2017-11-27 2019-06-04 北京京东尚科信息技术有限公司 The treating method and apparatus of network request
CN110781120A (en) * 2019-10-23 2020-02-11 山东华芯半导体有限公司 Method for realizing cross-4 KB transmission of AXI bus host equipment
CN111092877A (en) * 2019-12-12 2020-05-01 北京金山云网络技术有限公司 Data processing method and device, electronic equipment and storage medium
CN111600920A (en) * 2019-02-21 2020-08-28 北京京东尚科信息技术有限公司 JS-based data request agent method, device, equipment and readable storage medium
CN112182445A (en) * 2019-07-02 2021-01-05 北京京东尚科信息技术有限公司 Method and device for optimizing client page performance
CN112926002A (en) * 2021-03-10 2021-06-08 工银科技有限公司 Service request processing method and device
CN114157661A (en) * 2020-09-07 2022-03-08 北京奇艺世纪科技有限公司 Data request method, data processing method, related device, equipment and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719153A (en) * 2009-12-09 2010-06-02 中国工商银行股份有限公司 Device and method for carrying out transmission processing on massive data files
CN103401909A (en) * 2013-07-24 2013-11-20 迈普通信技术股份有限公司 Data interaction method and system based on BS (browser/server), client end and server
CN104573035A (en) * 2015-01-16 2015-04-29 杭州犀照科技有限公司 Caching service method and device and news information obtaining method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101719153A (en) * 2009-12-09 2010-06-02 中国工商银行股份有限公司 Device and method for carrying out transmission processing on massive data files
CN103401909A (en) * 2013-07-24 2013-11-20 迈普通信技术股份有限公司 Data interaction method and system based on BS (browser/server), client end and server
CN104573035A (en) * 2015-01-16 2015-04-29 杭州犀照科技有限公司 Caching service method and device and news information obtaining method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
白洪涛,欧阳丹彤,李熙铭,李亭,何丽莉: "基于GPU的稀疏矩阵向量乘优化", 《计算机科学》 *

Cited By (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107623788A (en) * 2017-09-22 2018-01-23 努比亚技术有限公司 Using the raising method, apparatus and computer-readable recording medium of toggle speed
CN107766088A (en) * 2017-09-27 2018-03-06 努比亚技术有限公司 Interface optimization method, system and computer-readable recording medium
CN107733879A (en) * 2017-09-29 2018-02-23 努比亚技术有限公司 Client terminal start-up method, mobile terminal and computer storage media
CN107872571A (en) * 2017-10-27 2018-04-03 努比亚技术有限公司 Interface requests method, interface requests response method, mobile terminal and server
CN107729215A (en) * 2017-10-30 2018-02-23 努比亚技术有限公司 Interface interchange method, mobile terminal and computer-readable recording medium
CN109842646A (en) * 2017-11-27 2019-06-04 北京京东尚科信息技术有限公司 The treating method and apparatus of network request
CN107967183A (en) * 2017-11-29 2018-04-27 努比亚技术有限公司 A kind of application interface merges operation method, mobile terminal and computer-readable recording medium
CN108037959A (en) * 2017-11-30 2018-05-15 努比亚技术有限公司 Interface intelligence merging method, mobile terminal and computer-readable recording medium
CN108037959B (en) * 2017-11-30 2021-01-01 努比亚技术有限公司 Intelligent interface merging method, mobile terminal and computer readable storage medium
CN108304302A (en) * 2017-12-22 2018-07-20 努比亚技术有限公司 A kind of interface merging method, equipment and computer readable storage medium
CN108304302B (en) * 2017-12-22 2021-08-24 努比亚技术有限公司 Interface merging method, equipment and computer readable storage medium
CN108306856B (en) * 2017-12-26 2021-01-01 努比亚技术有限公司 Interface merging method, client, server and computer readable storage medium
CN108306856A (en) * 2017-12-26 2018-07-20 努比亚技术有限公司 A kind of interface merging method, client, server and computer readable storage medium
CN109660612A (en) * 2018-12-11 2019-04-19 北京潘达互娱科技有限公司 A kind of request processing method and server
CN109617974B (en) * 2018-12-21 2021-12-28 珠海金山办公软件有限公司 Request processing method and device and server
CN109617974A (en) * 2018-12-21 2019-04-12 珠海金山办公软件有限公司 A kind of request processing method, device and server
CN109451076B (en) * 2018-12-29 2022-03-25 卓米私人有限公司 Network request merging processing method and device and electronic equipment
CN109451076A (en) * 2018-12-29 2019-03-08 乐蜜有限公司 A kind of the merging treatment method, apparatus and electronic equipment of network request
CN111600920B (en) * 2019-02-21 2024-03-05 北京京东尚科信息技术有限公司 JS-based data request proxy method, device, equipment and readable storage medium
CN111600920A (en) * 2019-02-21 2020-08-28 北京京东尚科信息技术有限公司 JS-based data request agent method, device, equipment and readable storage medium
CN112182445A (en) * 2019-07-02 2021-01-05 北京京东尚科信息技术有限公司 Method and device for optimizing client page performance
CN110781120A (en) * 2019-10-23 2020-02-11 山东华芯半导体有限公司 Method for realizing cross-4 KB transmission of AXI bus host equipment
CN110781120B (en) * 2019-10-23 2023-02-28 山东华芯半导体有限公司 Method for realizing cross-4 KB transmission of AXI bus host equipment
CN111092877B (en) * 2019-12-12 2022-09-02 北京金山云网络技术有限公司 Data processing method and device, electronic equipment and storage medium
CN111092877A (en) * 2019-12-12 2020-05-01 北京金山云网络技术有限公司 Data processing method and device, electronic equipment and storage medium
CN114157661A (en) * 2020-09-07 2022-03-08 北京奇艺世纪科技有限公司 Data request method, data processing method, related device, equipment and system
CN114157661B (en) * 2020-09-07 2024-01-16 北京奇艺世纪科技有限公司 Data request method, data processing method, related device, equipment and system
CN112926002A (en) * 2021-03-10 2021-06-08 工银科技有限公司 Service request processing method and device

Also Published As

Publication number Publication date
CN106657193B (en) 2019-11-19

Similar Documents

Publication Publication Date Title
CN106657193A (en) Request processing method, request processing device, terminal device and server
CN106020948B (en) A kind of process dispatch method and device
KR20100057831A (en) Client-side aggregation of context-sensitive request results
CN107463563B (en) Information service processing method and device of browser
CN107645562A (en) Data transmission processing method, device, equipment and system
CN108023867B (en) Method for filtering mobile terminal webpage advertisement, gateway server and filtering server
CN111563820B (en) Intelligent contract parallel execution method and device
CN112989186B (en) Information recommendation model training method and device, electronic equipment and storage medium
CN107832941A (en) Order processing method and device
CN112905928B (en) Webpage refreshing method and device, electronic equipment and storage medium
CN114124490B (en) Method and device for publishing new media content, storage medium and electronic equipment
CN107657030A (en) Collect method, apparatus, terminal device and storage medium that user reads data
CN104484482A (en) Webpage information updating method and system of network platform
CN110737645B (en) Data migration method and system among different systems and related equipment
CN109495553A (en) A kind of webpage display control method, system and Reverse Proxy
CN106227813A (en) For the method and apparatus preventing voice ballot cheating
CN111367690A (en) Method and device for supporting combined API service calling
CN113055348B (en) Cross-platform data request method and device and electronic equipment
CN108512745A (en) Information dissemination method and system, server and computer readable storage medium
CN107590202A (en) The method and system that a kind of enterprise platform is quickly applied
CN100587663C (en) Data presentation device and data presentation method
CN109391685A (en) A kind of page response method and system, application server
CN107977284A (en) A kind of data processing method, device, server and medium
CN111274203B (en) System and method for storing telephone bill
CN112487323A (en) Webpage experimental method and server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant