CN104468833A - Request information unified processing method and device - Google Patents

Request information unified processing method and device Download PDF

Info

Publication number
CN104468833A
CN104468833A CN201410834375.8A CN201410834375A CN104468833A CN 104468833 A CN104468833 A CN 104468833A CN 201410834375 A CN201410834375 A CN 201410834375A CN 104468833 A CN104468833 A CN 104468833A
Authority
CN
China
Prior art keywords
request
result
functional module
response message
parameter
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
CN201410834375.8A
Other languages
Chinese (zh)
Other versions
CN104468833B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410834375.8A priority Critical patent/CN104468833B/en
Publication of CN104468833A publication Critical patent/CN104468833A/en
Priority to PCT/CN2015/095466 priority patent/WO2016101753A1/en
Application granted granted Critical
Publication of CN104468833B publication Critical patent/CN104468833B/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
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides a request information unified processing method and device. The method comprises the steps that a request sent by a function module in a webpage is received; request parameters of the request are received; the request information is judged according to the obtained request parameters, and a judgment result is obtained; if a judgment result shows that the request is the same as the previous request, a processing result of the previous result is read from a local cache; the processing result is sent to the function module. According to the method and device, when the display result displays that the request is the same as the previous request, the processing result of the same previous request is read from the local cache. The pressure of data processing of a server can be relived, and the request information processing efficiency is improved.

Description

The method and apparatus of the unified process of solicited message
Technical field
The present invention relates to the technical field of terminal equipment, specifically, the present invention relates to the method and apparatus of the unified process of solicited message.
Background technology
At present, along with the development of Internet technology, server can receive a large amount of solicited messages, has increased the weight of the pressure of server process data undoubtedly, and the ability of server process data directly has influence on the experience of user.
Existing technology, for each request, server all can process it, and returns corresponding result.In web app, can accomplish to process for different solicited messages by AJAX (Asynchronous JavaScript AndXML, Ajax) technology, such as, by AJAX technology, the request obtaining data message be processed; By AJAX technology, the request sending data message is processed; Processed by the request of AJAX technology to Jian Wenben; Processed by the request of AJAX technology to cross-domain communication; By AJAX technology, the request that time delay responds is processed; And by AJAX technology, the request that can only send a data message in the same time is processed etc., the type of described request information not merely comprises these types above, does not repeat them here.Like this, be extremely loaded down with trivial details by the processing data information process made for request, increased the weight of the pressure of server process data, meanwhile, also reduced the efficiency of solicited message process.
Therefore, the method and apparatus that the unified process of a kind of solicited message is provided is necessary, to tackle and to solve aforesaid Related Technical Issues.
Summary of the invention
The embodiment provides the method for the unified process of a kind of solicited message and the device of the unified process of solicited message, to overcome above-mentioned technical problem or to solve the problem at least in part.
The invention provides the method for the unified process of a kind of solicited message, comprising:
Receive the request that the functional module in webpage sends;
Obtain the required parameter of described request;
Required parameter according to obtaining judges described request information, to obtain judged result;
If described judgment result displays described request with ask as identical request before, then the result of request before reading from local cache; And
Described result is sent to described functional module.
Present invention also offers the device of the unified process of a kind of solicited message, comprising:
Request receiving module, the request that the functional module for receiving in webpage sends;
Required parameter acquisition module, for obtaining the required parameter of described request;
Judge module, for judging described request information according to the required parameter obtained, to obtain judged result;
Processing module, if for described judgment result displays described request with ask as identical request before, then the result of request before reading from local cache; And described result is sent to described functional module.
In technical scheme of the present invention, the required parameter particularly by obtaining judges described request information, to obtain judged result; If described judgment result displays described request with ask as identical request before, then the result of request before reading from local cache; The pressure of the deal with data of server can be alleviated like this, improve the efficiency of solicited message process.Meanwhile, decrease the amount of information of solicited message process, improve the development efficiency of application.In addition, owing to decreasing the processing procedure of solicited message, the data message amount corresponding with result of acquisition also will reduce widely, decrease the possibility that data message is made mistakes, will add the stability of application, decrease the cost of service data information security.
The aspect that the present invention adds and advantage will part provide in the following description, and these will become obvious from the following description, or be recognized by practice of the present invention.
Accompanying drawing explanation
The present invention above-mentioned and/or additional aspect and advantage will become obvious and easy understand from the following description of the accompanying drawings of embodiments, wherein:
Fig. 1 a is the schematic flow sheet of the method for the unified process of solicited message of the embodiment of the present invention;
Fig. 1 b is disparate modules in the embodiment of the present invention and the schematic diagram carrying out the unified process of solicited message between request manager;
Fig. 1 c is the schematic flow sheet of the method for the unified process of solicited message of the embodiment of the present invention;
Fig. 1 d is by monitoring the schematic diagram realizing result and share between the disparate modules in the embodiment of the present invention;
Fig. 2 is the block schematic illustration of the internal structure of the device of the unified process of solicited message of the embodiment of the present invention.
Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.
Those skilled in the art of the present technique are appreciated that unless expressly stated, and singulative used herein " ", " one ", " described " and " being somebody's turn to do " also can comprise plural form.Should be further understood that, the wording used in specification of the present invention " comprises " and refers to there is described feature, integer, step, operation, element and/or assembly, but does not get rid of and exist or add other features one or more, integer, step, operation, element, assembly and/or their group.Should be appreciated that, when we claim element to be " connected " or " coupling " to another element time, it can be directly connected or coupled to other elements, or also can there is intermediary element.In addition, " connection " used herein or " coupling " can comprise wireless connections or wirelessly to couple.Wording "and/or" used herein comprises one or more whole or arbitrary unit listing item be associated and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (comprising technical term and scientific terminology), have the meaning identical with the general understanding of the those of ordinary skill in field belonging to the present invention.It should also be understood that, those terms defined in such as general dictionary, should be understood to that there is the meaning consistent with the meaning in the context of prior art, unless and by specific definitions as here, otherwise can not explain by idealized or too formal implication.
Those skilled in the art of the present technique are appreciated that, here used " terminal ", " terminal equipment " had both comprised the equipment of wireless signal receiver, it only possesses the equipment of the wireless signal receiver without emissivities, comprise again the equipment receiving and launch hardware, it has and on bidirectional communication link, can carry out the reception of two-way communication and launch the equipment of hardware.This equipment can comprise: honeycomb or other communication equipments, its honeycomb or other communication equipment of having single line display or multi-line display or not having multi-line display; PCS (Personal Communications Service, PCS Personal Communications System), its can combine voice, information processing, fax and/or info-communication ability; PDA (PersonalDigital Assistant, personal digital assistant), it can comprise radio frequency receiver, beep-pager, the Internet/intranet access, web browser, notepad, calendar and/or GPS (Global PositioningSystem, global positioning system) receiver; Conventional laptop and/or palmtop computer or other equipment, it has and/or comprises the conventional laptop of radio frequency receiver and/or palmtop computer or other equipment.Here used " terminal ", " terminal equipment " can be portable, can transport, be arranged in the vehicles (aviation, sea-freight and/or land), or be suitable for and/or be configured at local runtime, and/or with distribution form, any other position operating in the earth and/or space is run.Here used " terminal ", " terminal equipment " can also be communication terminal, access terminals, music/video playback terminal, can be such as PDA, MID (Mobile Internet Device, mobile internet device) and/or there is the mobile phone of music/video playing function, also can be the equipment such as intelligent television, Set Top Box.
The present inventor considers, the required parameter particularly by obtaining judges solicited message, to obtain judged result; If judgment result displays request with ask as identical request before, then the result of request before reading from local cache; The pressure of the deal with data of server can be alleviated like this, improve the efficiency of solicited message process.
It should be noted that, the same solicited message in the solution of the present invention refers to the main body with the identical request that sends, identical request type, and many solicited messages of the content of identical solicited message.
And apply technical scheme technical staff of the present invention when writing each functional module of webpage, the code that need not carry out repetition and redundancy for the solicited message of each functional module, process information is write; Technical staff only need write the statement sending request parameter to request manager in functional module, and the required parameter that request manager can send according to each functional module automatically generates corresponding solicited message to server sends; And the laggard row relax of the response message receiving server, result is returned to corresponding functional module; Improve the development efficiency of webpage, reduce the redundancy of code.
Technical scheme of the present invention is described in detail below in conjunction with accompanying drawing.
Fig. 1 a is the schematic flow sheet of the method for the unified process of solicited message of the embodiment of the present invention.It should be noted that, the kind of the solicited message in the embodiment of the present invention is diversified, solicited message can be the solicited message obtaining data message (get), solicited message also can be the solicited message sending data message (post), solicited message also can be the solicited message of Jian Wenben (plain), solicited message also can be the solicited message of cross-domain communication (jsonp), solicited message also can be the solicited message to time delay response (delay), solicited message also can be the solicited message to sending a data message (lock) in the same time, but the type of solicited message not merely comprises these types above, do not repeat them here.
It should be noted that, in the solution of the present invention, orderly to the process of solicited message, that is: after the functional module only in webpage receives the result of previous request, just start to send new request to the request manager be embedded in webpage, complete each request successively, until the data of all requests turn back to the functional module in webpage.
Meanwhile, identify present solicited message with before solicited message be same solicited message, then to the present process that begs off from doing, directly from buffer memory read before ask result; Alleviate the pressure of the deal with data of server like this.
As shown in Figure 1a, in the present embodiment, the method flow of the unified process of solicited message specifically comprises the following steps:
S110: receive the request that the functional module in webpage sends.
In embodiments of the present invention, as shown in Figure 1 b, can comprise multiple functional module in webpage, the function of each Implement of Function Module is different.
And, also different solicited messages is classified according to request method in the inventive solutions; Such as, the solicited message sorted out comprises: the solicited message obtaining data message (get), send the solicited message of data message (post), the solicited message of letter text (plain), the solicited message of cross-domain communication (jsonp), to the solicited message of time delay response (delay), to the solicited message that can only send a data message (lock) in the same time.
In order to make those of ordinary skill in the art understand the present invention better, list parameter configuration conventional at present as follows:
The URL(uniform resource locator) of a, request correspondence.
Particularly, URL(uniform resource locator) can the position of recognition resource, and to Resource orientation.Thus, system just can carry out various operation to resource, such as: accessing operation, renewal rewards theory, replacement operation and search the operation of Resource Properties.
The type of b, request method.
Particularly, the type of request method can be the type for obtaining data message (get), and request method also can be the type for sending data message (post).
C, standardized data formats.
Conventional is that standard JSON (JavaScript Object Notation) changes data format at present, wherein, JSON is a kind of data interchange format of lightweight, adopt the text formatting being totally independent of language, have and be easy to people's reading and write, be also easy to the advantage that machine is resolved and generated simultaneously.
D, the condition sent request.
Particularly, the condition sent request can be set to: can only send once in same request at one time; Also can be by the condition setting sent request: in threshold value sometime, cannot again send request.
The processing mode of e, request msg.
Particularly, the processing mode of request msg can be set to: cache request data.
It should be noted that, as mentioned above, only list parameter configuration conventional at present.In the solution of the present invention, also according to actual application environment, corresponding parameter can be configured, not repeated them here.
S120: the required parameter obtaining request.
In this step, the required parameter that request is corresponding can comprise: in request method, request configuration parameter at least one.
S130: the required parameter according to obtaining judges solicited message, to obtain judged result.
S140: if judgment result displays request with ask as identical request before, then the result of request before reading from local cache; And result is sent to functional module.
In this application scene, solicited message is judged, to obtain judged result by the required parameter obtained; If judgment result displays request with ask as identical request before, then the result of request before reading from local cache; The pressure of the deal with data of server can be alleviated like this, improve the efficiency of solicited message process.Meanwhile, decrease the amount of information of solicited message process, improve the development efficiency of application.In addition, owing to decreasing the processing procedure of solicited message, the data message amount corresponding with result of acquisition also will reduce widely, decrease the possibility that data message is made mistakes, will add the stability of application, decrease the cost of service data information security.
In actual applications, as shown in Figure 1 b, when functional module A is first to request manager transmission request information, the content of its request is specially: the full text obtaining " dawn in spring " of the poet Meng Haoran Tang Dynasty, and in request manager, record this request; Like this when functional module A sends the solicited message of identical content to request manager again, the result of request before request manager directly reads from local cache, and result is sent to functional module A, that is: functional module A gets the full text information of " dawn in spring " of the poet Meng Haoran Tang Dynasty.
In actual applications, as shown in Figure 1 b, when functional module B is first to request manager transmission request information, the content of its request is specially: the icon sending 360 security guards, and in request manager, record this request; Like this when functional module B sends the solicited message of identical content again, the result of request before request manager directly reads from local cache, and result is sent to functional module B, functional module B gets the icon of 360 security guards.
As shown in Figure 1 b, for carrying out the schematic diagram of the unified process of solicited message between the disparate modules in the embodiment of the present invention and request manager.
Functional module A is for the data message that obtains about " how improving memory " and be presented in webpage by the data message of obtained " multiple raising memory ", the obtained picture relevant with environmental protection for searching for and picture relevant with environmental protection in query webpage, and is presented in webpage by functional module B.
As shown in Figure 1 b, the request method that the request manager be embedded in webpage receives in the required parameter of the functional module A transmission in webpage is specially get, and the configuration parameter in the required parameter of functional module A transmission specifically can comprise the URL(uniform resource locator) (url) obtaining data; In addition, the request method in the required parameter that functional module A sends also can be specially post, and the configuration parameter in the required parameter of functional module A transmission specifically can comprise the url sending data.
The request method that the request manager be embedded in webpage receives in the required parameter of the functional module B transmission in webpage is specially get, and the configuration parameter in the required parameter of functional module B transmission specifically can comprise the URL(uniform resource locator) (url) obtaining data; In addition, the request method in the required parameter that functional module B sends also can be specially post, and the configuration parameter in the required parameter of functional module A transmission specifically can comprise the url sending data.
When judgment result displays request is from when asking before as different requests, as illustrated in figure 1 c, the method for the unified process of the solicited message that the embodiment of the present invention provides, also comprises following process step:
S111: if judgment result displays request from ask as different request before, generate respective request information to send to server according to the required parameter obtained.
In this step, the required parameter that request is corresponding can comprise: in request method, request configuration parameter at least one.
Particularly, in an embodiment of the present invention, request manager, according at least one in the default configuration parameters under the request method obtained, request configuration parameter, this request method, generates solicited message.
In actual applications, as shown in Figure 1 b, when being embedded in the request manager in webpage, the request method received in the required parameter of the functional module A transmission in webpage is specially get, and the configuration parameter in the required parameter that sends of functional module A specifically can comprise when obtaining URL(uniform resource locator) (url) of data, request manager is according to the request method (get) received, request configuration parameter (obtaining the URL(uniform resource locator) url of data), and the default configuration parameters under this request method (get), generate the solicited message of this request method (get).
In actual applications, as shown in Figure 1 b, when being embedded in the request manager in webpage, the request method received in the required parameter of the functional module B transmission in webpage is specially post, and the configuration parameter in the required parameter that sends of functional module B specifically can comprise when sending URL(uniform resource locator) (url) of data, request manager is according to the request method (post) received, request configuration parameter (sending the URL(uniform resource locator) url of data), and the default configuration parameters under this request method (post), generate the solicited message of this request method (post).
S112: carry out respective handling according to the response message that server returns, and result is sent to functional module.
In this step, the response message that server returns comprises response message parameter.Response message parameter can comprise: in the return code of response message, the content of response message at least one.
Specifically, processing mode is preset to carry out respective handling according to response message Selecting parameter; And result is sent to functional module, wherein, the corresponding same of response message parameter of same type presets processing mode.
Further, if the return code of response message is similar with default return code/consistent, then the default processing mode presetting return code corresponding is adopted to process.Such as, when asking the information of user in a certain social software, if the return code of response message is "-1 ", then the processing mode adopting return code "-1 " to preset processes, such as, to comprise the bullet window prompting user of " login ".
Further, if the content of response message is similar with default returned content/identical, then the default processing mode presetting returned content corresponding is adopted to process.Such as, if the content of response message is " cannot find server ", then adopts the default processing mode of described content to process, such as, change current network connection point.
In practical application, after functional module receives the result of request manager, perform corresponding function, such as, Presentation Function, sending function.
As shown in Figure 1 b, when functional module A performs the function of display, " spring naps, unconscious of the dawn. Everywhere, birdsong for the full text that the spring of the poet Meng Haoran Tang Dynasty got just can be known by functional module A.Wind and rain sound yesterday, flower falls to knowing how many " be presented in webpage.
When functional module A performs the function sent, " spring naps, unconscious of the dawn. Everywhere, birdsong for the full text that the spring of the poet Meng Haoran Tang Dynasty got just can be known by functional module A.Wind and rain sound yesterday, flower falls to knowing how many " send.
In like manner, when functional module B performs the function of display, the icon of 360 security guards got just can be presented in webpage by functional module B.
When functional module B performs the function sent, the icon of 360 security guards got just can send by functional module B.
In this application scene, when judgment result displays request is from when asking before as different requests, generate respective request information to send to server according to the required parameter obtained; And carry out respective handling according to the response message that server returns, and result is sent to corresponding functional module; By the type of response message parameter is corresponding with default processing mode, the response message that server is returned is corresponding with result, automatically achieves the orderly of originally huge data message and the management of classification.
In addition, in order to sharing of the result that realizes obtaining between disparate modules, result is shared to other functional module of monitor function module in webpage by request manager.
As shown in Figure 1 d, for realizing the shared schematic diagram of result by monitoring between the disparate modules in the embodiment of the present invention.
It should be noted that, realizing in the shared process of result by monitoring between different modules, needing the incident management carrying out monitored data request and trigger data monitoring.
As shown in Figure 1 d, the get result of functional module A is shared to functional module B by request manager, wherein, functional module B can monitor functional module A in webpage, like this, functional module B also can the get result of sharing functionality modules A, therefore, functional module B just can " spring naps, unconscious of the dawn. Everywhere, birdsong by the full text of " dawn in spring " of the poet Meng Haoran Tang Dynasty that gets.Wind and rain sound yesterday, flower falls to knowing how many " be presented in webpage.
In addition, the get result of functional module B also can be shared to functional module A by request manager, wherein, functional module A can monitor functional module B in webpage, like this, when functional module A also can the get result of sharing functionality module B, the icon of 360 security guards got just can be presented in webpage by such functional module A.
It should be noted that, the result shared is not only text information, or picture, can be also video data etc., not repeat them here.
Fig. 2 is the block schematic illustration of the internal structure of the device of the unified process of solicited message of the embodiment of the present invention.As shown in Figure 2, the device of the unified process of the present embodiment solicited message comprises: request receiving module 210, required parameter acquisition module 220, judge module 230 and processing module 240.
Specifically, request receiving module 210, the request that the functional module for receiving in webpage sends.
Required parameter acquisition module 220, for obtaining the required parameter of request;
Wherein, the required parameter that request is corresponding can comprise: in request method, request configuration parameter at least one.
Judge module 230, for judging solicited message according to the required parameter obtained, to obtain judged result.
Processing module 240, if for judgment result displays request with ask as identical request before, then the result of request before reading from local cache; And result is sent to functional module.
In the above-described embodiments, when judgment result displays request is with when asking before as identical request, the result of same request before processing module directly reads from local cache; The pressure of the deal with data of server can be alleviated like this, improve the efficiency of solicited message process.Meanwhile, decrease the amount of information of solicited message process, improve the development efficiency of application.In addition, owing to decreasing the processing procedure of solicited message, the data message amount corresponding with result of acquisition also will reduce widely, decrease the possibility that data message is made mistakes, will add the stability of application, decrease the cost of service data information security.
Further, if processing module 240 also for judgment result displays request from ask as different request before, generate respective request information to send to server according to the required parameter obtained; And carry out respective handling according to the response message that server returns, and result is sent to functional module.
Preferably, processing module, specifically for according at least one in the default configuration parameters under the request method obtained, request configuration parameter, this request method, generates solicited message.
Further, processing module 240 comprises the first processing unit and the second processing unit.
Particularly, if the first processing unit is used for judgment result displays request and asks as identical request before, then the result of request before reading from local cache; And result is sent to functional module.
If the second processing unit is used for judgment result displays request and asks before, for different requests, to generate respective request information to send to server according to the required parameter obtained; And carry out respective handling according to the response message that server returns, and result is sent to functional module.
Further, the second processing unit comprises the first subelement, and the first subelement is used for presetting processing mode to carry out respective handling according to response message Selecting parameter; And result is sent to functional module; Wherein, the corresponding same of the response message parameter of same type presets processing mode.
Wherein, the response message that server returns comprises response message parameter.Response message parameter can comprise: in the return code of response message, the content of response message at least one.
Further, the second processing unit also comprises the second subelement, if the return code that the second subelement is used for response message is similar with default return code/consistent, then adopts the default processing mode presetting return code corresponding to process.
Further, the second processing unit also comprises the 3rd subelement, if the content that the 3rd subelement is used for response message is similar with default returned content/identical, then adopts the default processing mode presetting returned content corresponding to process.
In the above-described embodiments, when judgment result displays request is from when asking before as different requests, processing module generates respective request information to send to server according to the required parameter obtained; And carry out respective handling according to the response message that server returns, and result is sent to corresponding functional module; By the type of response message parameter is corresponding with default processing mode, the response message that server is returned is corresponding with result, automatically achieves the orderly of originally huge data message and the management of classification.
In addition, in order to sharing of the result that realizes obtaining between disparate modules, the device of the unified process of request msg also comprises result sharing module.
Result sharing module, for sharing to other functional module of monitor function module in webpage by result.
Above-mentioned request receiving module, the concrete methods of realizing of the function of required parameter acquisition module, judge module and processing module, with reference to the particular content of above-mentioned method flow step as shown in Fig. 1 a, Fig. 1 b, Fig. 1 c, Fig. 1 d, can repeat no more herein.
In addition, the present invention also comprises and has above-mentioned request receiving module, the terminal equipment of the device of required parameter acquisition module, judge module and processing module, unifies process according to said apparatus to solicited message.
Those skilled in the art of the present technique are appreciated that the one or more equipment that the present invention includes and relate to for performing in operation described in the application.These equipment for required object and specialized designs and manufacture, or also can comprise the known device in all-purpose computer.These equipment have storage computer program within it, and these computer programs optionally activate or reconstruct.Such computer program can be stored in equipment (such as, computer) in computer-readable recording medium or be stored in and be suitable for store electrons instruction and be coupled in the medium of any type of bus respectively, described computer-readable medium includes but not limited to that the dish of any type (comprises floppy disk, hard disk, CD, CD-ROM, and magneto optical disk), ROM (Read-Only Memory, read-only memory), RAM (Random Access Memory, memory immediately), EPROM (Erasable Programmable Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable ProgrammableRead-Only Memory, EEPROM (Electrically Erasable Programmable Read Only Memo)), flash memory, magnetic card or light card.Namely, computer-readable recording medium comprises and being stored or any medium of transmission information with the form that can read by equipment (such as, computer).
Those skilled in the art of the present technique are appreciated that the combination that can realize the frame in each frame in these structure charts and/or block diagram and/or flow graph and these structure charts and/or block diagram and/or flow graph with computer program instructions.Those skilled in the art of the present technique are appreciated that, the processor that these computer program instructions can be supplied to all-purpose computer, special purpose computer or other programmable information processing methods realizes, thus is performed the scheme of specifying in the frame of structure chart disclosed by the invention and/or block diagram and/or flow graph or multiple frame by the processor of computer or other programmable information processing methods.
Those skilled in the art of the present technique are appreciated that various operations, method, the step in flow process, measure, the scheme discussed in the present invention can be replaced, changes, combines or delete.Further, there is various operations, method, other steps in flow process, measure, the scheme discussed in the present invention also can be replaced, change, reset, decompose, combine or delete.Further, of the prior art have also can be replaced with the step in operation various disclosed in the present invention, method, flow process, measure, scheme, changed, reset, decomposed, combined or deleted.
The above is only some embodiments of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (10)

1. a method for the unified process of solicited message, is characterized in that, comprising:
Receive the request that the functional module in webpage sends;
Obtain the required parameter of described request;
Required parameter according to obtaining judges described request information, to obtain judged result;
If described judgment result displays described request with ask as identical request before, then the result of request before reading from local cache; And
Described result is sent to described functional module.
2. method according to claim 1, is characterized in that, described method comprises further:
If described judgment result displays described request from ask as different request before, generate respective request information to send to server according to the required parameter obtained; And
Carry out respective handling according to the response message that described server returns, and result is sent to described functional module.
3. method according to claim 2, is characterized in that, described response message comprises response message parameter, and carries out respective handling according to the response message that described server returns, and result is sent to the step of described functional module to comprise further:
Processing mode is preset to carry out respective handling according to described response message Selecting parameter; And
Described result is sent to described functional module,
Wherein, the corresponding same of the response message parameter of same type presets processing mode.
4. method according to claim 3, is characterized in that, described response message parameter comprises following at least one:
The return code of response message, the content of response message.
5. method according to claim 4, is characterized in that, describedly presets processing mode according to described response message Selecting parameter and comprises further with the step of carrying out respective handling:
If the return code of described response message is similar with default return code/consistent, then default processing mode corresponding to described default return code is adopted to process.
6. the method according to claim 4 or 5, is characterized in that, describedly presets processing mode according to described response message Selecting parameter and comprises further with the step of carrying out respective handling:
If the content of described response message is similar with default returned content/identical, then default processing mode corresponding to described default returned content is adopted to process.
7. the method according to any one of claim 1-6, is characterized in that, described request parameter comprises following at least one:
Request method, request configuration parameter.
8. the method according to any one of claim 2-7, is characterized in that, the described required parameter according to obtaining generates respective request information and comprises further with the step sent to server:
According at least one in the default configuration parameters under the request method obtained, request configuration parameter, this request method, generate described request information.
9. the method according to any one of claim 1-8, is characterized in that, described method comprises further:
Described result is shared in described webpage other functional module monitoring described functional module.
10. a device for the unified process of solicited message, is characterized in that, comprising:
Request receiving module, the request that the functional module for receiving in webpage sends;
Required parameter acquisition module, for obtaining the required parameter of described request;
Judge module, for judging described request information according to the required parameter obtained, to obtain judged result;
Processing module, if for described judgment result displays described request with ask as identical request before, then the result of request before reading from local cache; And described result is sent to described functional module.
CN201410834375.8A 2014-12-26 2014-12-26 The method and apparatus that solicited message is uniformly processed Active CN104468833B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410834375.8A CN104468833B (en) 2014-12-26 2014-12-26 The method and apparatus that solicited message is uniformly processed
PCT/CN2015/095466 WO2016101753A1 (en) 2014-12-26 2015-11-24 Method and device for uniformly processing request information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410834375.8A CN104468833B (en) 2014-12-26 2014-12-26 The method and apparatus that solicited message is uniformly processed

Publications (2)

Publication Number Publication Date
CN104468833A true CN104468833A (en) 2015-03-25
CN104468833B CN104468833B (en) 2018-05-29

Family

ID=52914184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410834375.8A Active CN104468833B (en) 2014-12-26 2014-12-26 The method and apparatus that solicited message is uniformly processed

Country Status (2)

Country Link
CN (1) CN104468833B (en)
WO (1) WO2016101753A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101753A1 (en) * 2014-12-26 2016-06-30 北京奇虎科技有限公司 Method and device for uniformly processing request information
CN106161519A (en) * 2015-04-01 2016-11-23 阿里巴巴集团控股有限公司 A kind of information getting method and device
CN106484738A (en) * 2015-09-01 2017-03-08 腾讯科技(深圳)有限公司 A kind of page processing method and device
CN106953857A (en) * 2017-03-16 2017-07-14 郑州云海信息技术有限公司 A kind of server end Multithread management method based on CS frameworks
CN107070770A (en) * 2016-12-19 2017-08-18 阿里巴巴集团控股有限公司 A kind of resource transmission method and device
CN112527826A (en) * 2019-09-19 2021-03-19 北京京东振世信息技术有限公司 Method and device for processing request

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399181A (en) * 2019-07-23 2019-11-01 深圳市元征科技股份有限公司 Software Development Kit funcall method, system and electronic equipment and medium
CN113114768A (en) * 2021-04-14 2021-07-13 北京京东振世信息技术有限公司 Service request processing method, device and system
CN113778688B (en) * 2021-09-17 2024-06-14 Oppo广东移动通信有限公司 Memory management system, memory management method, and memory management device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662503A (en) * 2009-09-14 2010-03-03 金蝶软件(中国)有限公司 Information transmission method, proxy server and service system in network
CN103123630A (en) * 2011-11-21 2013-05-29 腾讯科技(深圳)有限公司 Method, system, mobile terminal and server for obtaining webpage contents
CN103177042A (en) * 2011-12-26 2013-06-26 宇龙计算机通信科技(深圳)有限公司 Method and device for browsing webpage
CN103455632A (en) * 2013-09-22 2013-12-18 金蝶软件(中国)有限公司 Method and client for display web pages
CN103678549A (en) * 2013-12-04 2014-03-26 新浪网技术(中国)有限公司 Webpage table data sharing method and device
CN104065637A (en) * 2013-07-10 2014-09-24 腾讯科技(深圳)有限公司 Web-game running method and device
CN104142966A (en) * 2013-09-26 2014-11-12 腾讯科技(深圳)有限公司 Web page displaying method and client

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100550019C (en) * 2007-03-22 2009-10-14 金蝶软件(中国)有限公司 OODB Object Oriented Data Base access method and system
CN103218434B (en) * 2013-04-15 2016-09-14 小米科技有限责任公司 A kind of method and apparatus loading static resource
CN104090801A (en) * 2014-07-11 2014-10-08 Tcl通讯(宁波)有限公司 Method for fast opening webpage of mobile terminal browser and browser
CN104123356B (en) * 2014-07-17 2017-06-27 成都康赛信息技术有限公司 A kind of method that webpage response is improved under big data quantity
CN104468833B (en) * 2014-12-26 2018-05-29 北京奇虎科技有限公司 The method and apparatus that solicited message is uniformly processed

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101662503A (en) * 2009-09-14 2010-03-03 金蝶软件(中国)有限公司 Information transmission method, proxy server and service system in network
CN103123630A (en) * 2011-11-21 2013-05-29 腾讯科技(深圳)有限公司 Method, system, mobile terminal and server for obtaining webpage contents
CN103177042A (en) * 2011-12-26 2013-06-26 宇龙计算机通信科技(深圳)有限公司 Method and device for browsing webpage
CN104065637A (en) * 2013-07-10 2014-09-24 腾讯科技(深圳)有限公司 Web-game running method and device
CN103455632A (en) * 2013-09-22 2013-12-18 金蝶软件(中国)有限公司 Method and client for display web pages
CN104142966A (en) * 2013-09-26 2014-11-12 腾讯科技(深圳)有限公司 Web page displaying method and client
CN103678549A (en) * 2013-12-04 2014-03-26 新浪网技术(中国)有限公司 Webpage table data sharing method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101753A1 (en) * 2014-12-26 2016-06-30 北京奇虎科技有限公司 Method and device for uniformly processing request information
CN106161519A (en) * 2015-04-01 2016-11-23 阿里巴巴集团控股有限公司 A kind of information getting method and device
CN106161519B (en) * 2015-04-01 2019-06-21 阿里巴巴集团控股有限公司 A kind of information acquisition method and device
CN106484738A (en) * 2015-09-01 2017-03-08 腾讯科技(深圳)有限公司 A kind of page processing method and device
CN107070770A (en) * 2016-12-19 2017-08-18 阿里巴巴集团控股有限公司 A kind of resource transmission method and device
CN106953857A (en) * 2017-03-16 2017-07-14 郑州云海信息技术有限公司 A kind of server end Multithread management method based on CS frameworks
CN106953857B (en) * 2017-03-16 2020-03-10 郑州云海信息技术有限公司 Server-side multithread management method based on CS framework
CN112527826A (en) * 2019-09-19 2021-03-19 北京京东振世信息技术有限公司 Method and device for processing request

Also Published As

Publication number Publication date
WO2016101753A1 (en) 2016-06-30
CN104468833B (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN104468833A (en) Request information unified processing method and device
CN102546656B (en) Method, system and device for finding user in social network
CN104253741B (en) A kind of method for sending information, relevant apparatus and system
CN108846295B (en) Sensitive information filtering method and device, computer equipment and storage medium
CN105808235A (en) Management method and device for notification bar messages of mobile terminal, and mobile terminal
CA2643623A1 (en) Tracking method
CN105022760B (en) A kind of news recommended method and device
CN105656663A (en) Software update method and device
US10623450B2 (en) Access to data on a remote device
US9479895B2 (en) Location-oriented services
CN103179552A (en) Method and device for inquiring information of opposite call party
CN105357321A (en) File transmission method based on abstract value, terminal, and file server
CN111314063A (en) Big data information management method, system and device based on Internet of things
US10938773B2 (en) Method and apparatus for synchronizing contact information and medium
CN110086848B (en) Network request sending method and device, computer equipment and storage medium
US20120117492A1 (en) Method, system and apparatus for processing context data at a communication device
CN103581846A (en) User business card updating method and system
CN104618445A (en) Method and device for arranging files based on cloud storage space
CN111385336A (en) Page communication method and device, computer equipment and storage medium
CN113242301A (en) Method and device for selecting real server, computer equipment and storage medium
WO2021133488A1 (en) Method and device for improving the searchability of incident-specific social media content posted via particularly identified communication devices
US20170034344A1 (en) Phone Number Canonicalization and Information Discoverability
JP2017502408A (en) How to provide file aging service
CN110377654B (en) Data request processing method and device, electronic equipment and computer-readable storage medium
CN107295179A (en) The method and apparatus that a kind of short message is shown

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220726

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right