CN108595202A - Http request processing method and processing device - Google Patents

Http request processing method and processing device Download PDF

Info

Publication number
CN108595202A
CN108595202A CN201810380330.6A CN201810380330A CN108595202A CN 108595202 A CN108595202 A CN 108595202A CN 201810380330 A CN201810380330 A CN 201810380330A CN 108595202 A CN108595202 A CN 108595202A
Authority
CN
China
Prior art keywords
http request
browser
support information
information
request processing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810380330.6A
Other languages
Chinese (zh)
Inventor
张恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Knownsec Information Technology Co Ltd
Original Assignee
Beijing Knownsec Information Technology 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 Knownsec Information Technology Co Ltd filed Critical Beijing Knownsec Information Technology Co Ltd
Priority to CN201810380330.6A priority Critical patent/CN108595202A/en
Publication of CN108595202A publication Critical patent/CN108595202A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention provides a kind of http request processing method and processing devices, are related to Internet technical field.Http request processing method is applied to the user terminal being connect with server communication, and this method includes:Obtain the support information that browser supports compiler language;Information will be supported to be added in the header of the corresponding http request of browser;The http request after information is supported to be sent to server addition, so that server returns to the code of version corresponding with information is supported.Http request processing method and processing device provided by the invention can return to the support situation of compiler language according to browser the code of corresponding version, the code speed of service is promoted, the stand-by period of user is reduced, saves a large amount of code, it is a large amount of to reduce file size, reduce customer flow consumption.

Description

Http request processing method and processing device
Technical field
The present invention relates to Internet technical fields, in particular to a kind of http request processing method and processing device.
Background technology
Internet era, due to the rise of B/S structures, browser plays increasingly heavier in present Internet era The role wanted, but since older browser is not there are one unified standard, each browser to compiler language (such as JavaScript and CSS etc.) compatibility be different from, but because developer need different users is allowed to possess it is more friendly , thus there is backward compatible development mode in experience, it will usually which selection has selected to abandon language to be compatible with more browsers Some update, codes more rapidly, more succinct that speech provides.
Because can not determine that the version of the browser of user for the disposition of compatibility, is compiled into line code When translating, it can unify to carry out grammer degradation processing to code, this will cause even if user browser to be to support new features Browser, but the code for being still lowest version grammer used, cannot enjoy the facility and advantage that highest version grammer is brought.Together When, this can make the growth of our size of code at double, and file size is caused to increase, and flow be wasted, when extending the waiting of user Between.
Invention content
In view of this, the embodiment of the present invention is designed to provide a kind of http request processing method and processing device, to improve The above problem.
The invention is realized in this way:
In a first aspect, an embodiment of the present invention provides a kind of http request processing method, it is applied to connect with server communication The user terminal connect, the method includes:
Obtain the support information that browser supports compiler language;
The support information is added in the header of the corresponding http request of the browser;
The http request after information is supported to be sent to the server addition, so that the server returns and institute State the code for supporting that information corresponds to version.
Optionally, the method further includes:
The support information is subjected to serializing processing;
It is described that the support information is added in the header of the corresponding http request of the browser, including:
Will serializing treated that the support information is added in the header of the corresponding http request of the browser.
Optionally, the support information for obtaining browser and compiler language being supported, including:
It calls test case to test the support characteristic of the browser, obtains the browser to compiler language branch The support information held.
Optionally, the method further includes:
When the browser version updates, the support information is updated according to the updated browser.
Optionally, the method further includes:
The support information is stored in the form of inventory.
Second aspect is applied to connect with server communication an embodiment of the present invention provides a kind of http request processing unit The user terminal connect, the http request processing unit include:
Acquisition module, the support information that compiler language is supported for obtaining browser;
Add module, for the support information to be added in the header of the corresponding http request of the browser;
Sending module, for supporting the http request after information to be sent to the server addition, so that described Server returns to the code of version corresponding with the support information.
Optionally, the http request processing unit further includes:
Serialization module, for the support information to be carried out serializing processing;
It is corresponding that the add module for the support information that will serialize that treated is added to the browser In the header of http request.
Optionally, the acquisition module is obtained for calling test case to test the support characteristic of the browser The support information that compiler language is supported to the browser.
Optionally, the http request processing unit further includes:
Update module, for when the browser version updates, updating the branch according to the updated browser Hold information.
Optionally, the http request processing unit further includes:
Memory module, for storing the support information in the form of inventory.
For the prior art, http request processing method and processing device provided by the invention has following advantageous effect:
Http request processing method and processing device provided by the invention to server when sending http request, by browser pair The support information that compiler language is supported is added in the header of http request, such server energy after receiving http request Enough codes for returning to corresponding version to the support situation of compiler language according to browser, rather than the code of minimum version, code The speed of service can be faster.Simultaneously as need not early version largely be converted into from new version for code, can save a large amount of Code, largely reduce file size.In addition, due to the fragmentation of present browser version, the case where support compiler language And server cannot be held, and by detecting the case where browser supports compiler language in advance, can avoid browsing The code that device is not supported returns to client.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment cited below particularly, and coordinate Appended attached drawing, is described in detail below.
Description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the schematic diagram that the server that present pre-ferred embodiments provide is interacted with user terminal.
Fig. 2 is a kind of block diagram for user terminal that present pre-ferred embodiments provide.
Fig. 3 is the flow chart for the http request processing method that present pre-ferred embodiments provide.
Fig. 4 is the high-level schematic functional block diagram for the http request processing unit that present pre-ferred embodiments provide.
Icon:100- user terminals;110-http asks processing unit;111- acquisition modules;112- add modules;113- Sending module;114- serialization modules;115- update modules;116- memory modules;120- memories;130- storage controls; 140- processors;150- Peripheral Interfaces;160- input-output units;170- audio units;180- display units;200- is serviced Device;300- networks;400- application programs.
Specific implementation mode
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause This, the detailed description of the embodiment of the present invention to providing in the accompanying drawings is not intended to limit claimed invention below Range, but it is merely representative of the selected embodiment of the present invention.Based on the embodiment of the present invention, those skilled in the art are not doing The every other embodiment obtained under the premise of going out creative work, shall fall within the protection scope of the present invention.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.Meanwhile the present invention's In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
As shown in Figure 1, being that the server 200 that present pre-ferred embodiments provide shows with what user terminal 100 interacted It is intended to.The server 200 is communicatively coupled by network 300 and one or more user terminals 100, logical to carry out data Letter or interaction.The server 200 can provide at least one application program suitable for various operating systems The installation kit of (Application, APP) 400 is downloaded for the user terminal 100.The user terminal 100 passes through the network After 300 access the server 200, it can be downloaded from the server 200 by the network 300 and be suitable for the user terminal The installation kit of the application program 400 of 100 operating system, the user terminal 100 is installed to by the application program 400 In.
In the present embodiment, the server 200 may be, but not limited to, network server, database server etc..It is described User terminal 100 may be, but not limited to, PC (personal computer, PC), tablet computer, smart mobile phone, a Personal digital assistant (personal digital assistant, PDA), proxy server etc..The network 300 can be, but It is not limited to cable network or wireless network.The operating system of the user terminal 100 may be, but not limited to, Android (Android) system, IOS (iPhone operating system) system, Windows phone systems, Windows systems Deng.What the application program 400 can be that the server 200 provides any for 100 self-defined download of user terminal and pacifies The application program of dress.
As shown in Fig. 2, being a kind of block diagram for user terminal 100 that present pre-ferred embodiments provide.The use Family terminal 100 includes http request processing unit 110, memory 120, storage control 130, processor 140, Peripheral Interface 150, input-output unit 160, audio unit 170, display unit 180.
The memory 120, storage control 130, processor 140, Peripheral Interface 150, input-output unit 160, sound Frequency unit 170,180 each element of display unit are directly or indirectly electrically connected between each other, to realize the transmission or friendship of data Mutually.It is electrically connected for example, these elements can be realized between each other by one or more communication bus or signal wire.The http Request processing unit 110 can be stored in the memory 120 including at least one in the form of software or firmware (firmware) In or the software function module that is solidificated in the operating system (operating system, OS) of 100 equipment of the user terminal. The processor 140 is for executing the executable module stored in memory 120, such as the http request processing unit 110 Including software function module or computer program.
Wherein, memory 120 may be, but not limited to, random access memory (Random Access Memory, RAM), read-only memory (Read Only Memory, ROM), programmable read only memory (Programmable Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only Memory, EPROM), Electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only Memory, EEPROM) etc.. Wherein, memory 120 is for storing program, and the processor 140 executes described program after receiving and executing instruction, aforementioned The method performed by user terminal 100 that the stream process that any embodiment of the embodiment of the present invention discloses defines can be applied to handle In device 140, or realized by processor 140.
Processor 140 may be a kind of IC chip, the processing capacity with signal.Above-mentioned processor 140 can To be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network processing unit (Network Processor, abbreviation NP) etc.;Can also be digital signal processor (DSP), application-specific integrated circuit (ASIC), Ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard Part component.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor Can be microprocessor or the processor can also be any conventional processor etc..
The Peripheral Interface 150 couples various input/output devices to processor 140 and memory 120.At some In embodiment, Peripheral Interface 150, processor 140 and storage control 130 can be realized in one single chip.Other one In a little examples, they can be realized by independent chip respectively.
Input-output unit 160 is for being supplied to user input data to realize user and the http request processing unit 110 interaction.The input-output unit 160 may be, but not limited to, mouse and keyboard etc..
Audio unit 170 provides a user audio interface, may include that one or more microphones, one or more raises Sound device and voicefrequency circuit.
Display unit 180 provided between the http request processing unit 110 and user an interactive interface (such as with Family operation interface) or for display image data give user reference.In the present embodiment, the display unit 180 can be liquid Crystal display or touch control display.Can be the capacitance touching control for supporting single-point and multi-point touch operation if touch control display Screen or resistance type touch control screen etc..Single-point and multi-point touch operation is supported to refer to touch control display and can sense and shown from the touch-control On device one or more positions simultaneously generate touch control operation, and by the touch control operation that this is sensed transfer to processor 140 into Row calculates and processing.
Referring to Fig. 3, be present pre-ferred embodiments provide be applied to http request processing unit 110 shown in Fig. 2 Http request processing method flow chart.Detailed process shown in Fig. 3 will be described in detail below.
Step S101 obtains the support information that browser supports compiler language.
What the http request processing method that the present invention implements to provide can be used for sending user terminal 100 to server 200 The terminal device that http request is handled or other are communicated with user terminal 100 is by user terminal 100 to server 200 The http request of transmission is handled (i.e. agent equipment of the user terminal 100 as other-end equipment, to other-end equipment Browser send http request handled).
The browser of different editions is different for the support situation of compiler language (such as js, css, html).Therefore, to Before the http request that server 200 is sent (or when request), user terminal 100 obtains the browser of its currently used version To the support information that compiler language is supported, or obtain the browser for the currently used version of terminal device for communicating connection Compiler language is supported support information (when the terminal device that other are communicated with user terminal 100 by user terminal 100 to clothes When the http request that business device 200 is sent is handled).The support spy for supporting information to be used to characterize browser to compiler language Property.
Specifically, being previously provided in the application program 400 of user terminal 100 multiple for detecting browser to compiling language The test case of the support characteristic of speech.When obtaining the support information that browser supports compiler language, user terminal 100 loads The application program 400, and the test case in the application program 400 is called, to currently used browser to compiler language Support that characteristic is tested, according to the output for testing each test case as a result, obtaining currently used browser for compiling The every of language supports characteristic to get the support information supported to currently used browser for compiler language.
In the embodiment of the present invention, the application program 400 may be used, but be not limited to the modes such as extender, plug-in unit.
Further, after obtaining the support information that currently used browser supports compiler language, user terminal 100 can also be stored the support information in the form of inventory.
Step S102 will support information to carry out serializing processing.
After obtaining the support information that currently used browser supports compiler language, user terminal 100 is by the support Information carries out serializing processing, which is converted to the character string that http request head supports format, so as to the support Information can be added in the header of http request.
Step S103, will serializing treated that information is supported to be added to the header of the corresponding http request of browser In.
Information will be supported to carry out serializing processing, after obtaining the character string that http request head supports format, user terminal 100 Will serializing treated support information be added in the header of the http request sent to server 200 by browser.
Addition is supported the http request after information to be sent to server by step S104, so that server is returned and supported Information corresponds to the code of version.
Will serializing treated that information is supported to be added to the head of the http request sent to server 200 by browser After in information, the http request after adding the support information is sent to server 200 by user terminal 100.
It is contained in the header of http request and characterizes the branch that currently used browser supports compiler language characteristic Information is held, therefore server 200 can obtain after obtaining the http request according to the support information in the header of http request Support characteristic of the current version browser to compiler language is known, to return to the highest version for meeting the support characteristic to user terminal Code, rather than code is converted into being returned again to after minimum version to user terminal 100, therefore code is in user terminal 100 The speed of service faster can reduce the stand-by period of user, simultaneously as need not largely be converted into code always from new version Version can save a large amount of code, largely reduce file size, reduce customer flow consumption.In addition, due to present browser The fragmentation of version, the case where supporting compiler language, which is also server, to hold, by detecting browser pair in advance The case where compiler language is supported, can avoid the code that browser is not supported from returning to client.
Step S105 updates according to updated browser when browser version is updated and supports information.
During using browser, the user of user terminal 100 may be updated the version of browser, version This updated browser can support the code of more highest version, to further increase the code speed of service, save size of code, subtract Small documents volume.In method provided in an embodiment of the present invention, the application program 400 of user terminal 100 can also be to the version of browser Originally it is monitored, and when monitoring the version updating of browser, re-executes the flow of above-mentioned steps S101 with according to update Information is supported in browser update afterwards, and when subsequently to send http request to server 200, server 200 can return in time It returns and meets the highest version code that current version browser is supported.
In conclusion http request processing method provided by the invention will be browsed when sending http request to server Device is converted into the support information that compiler language is supported to be added to the header of http request after the format of http request head support In, such server can return to corresponding version according to browser after receiving http request to the support situation of compiler language Code, rather than the code of minimum version, the speed of service of code faster can reduce the stand-by period of user.Simultaneously as Code largely need not be converted into early version from new version, a large amount of code can be saved, largely reduce file size, dropped Low customer flow consumption.Secondly as the fragmentation of browser version, the case where supporting compiler language are also server now It cannot hold, by detecting the case where browser supports compiler language in advance, browser can be avoided not support Code returns to client.In addition, when browser version updates, it can be updated according to updated browser and support information, with Just when sending http request to server 200, server 200 can return in time meets what current version browser was supported Highest version code further increases the code speed of service, saves size of code, reduces file size.
Referring to Fig. 4, being the function for the http request processing unit 110 shown in Fig. 2 that present pre-ferred embodiments provide Module diagram.The http request processing unit 110 includes acquisition module 111, add module 112, sending module 113, sequence Rowization module 114, update module 115 and memory module 115.
The acquisition module 111 is for obtaining the support information that browser supports compiler language.
The browser of different editions is different for the support situation of the version of compiler language (such as js, css, html). Before the http request sent to server 200 (or when request), user terminal 100 obtains it by the acquisition module 111 The support information that the browser of currently used version supports compiler language (version), or obtain the end for communicating connection The support information that the browser of the currently used version of end equipment supports compiler language.
It should be understood that the acquisition module 111 can be used for executing above-mentioned step S101.
The memory module 115 in the form of inventory for storing the support information.
After obtaining the support information that currently used browser supports compiler language, user terminal 100 passes through institute Memory module 115 is stated to store the support information in the form of inventory.
The serialization module 114 is used to the support information carrying out serializing processing.
After obtaining the support information that currently used browser supports compiler language, user terminal 100 passes through described The support information is carried out serializing processing by serialization module 114, which, which is converted to http request head, supports lattice The character string of formula.
It should be understood that the serialization module 114 can be used for executing above-mentioned step S102.
It is corresponding that the add module 112 for the support information that will serialize that treated is added to the browser In the header of http request.
Information will be supported to carry out serializing processing, after obtaining the character string that http request head supports format, user terminal 100 It will serialize that treated supports information is added to be sent to server 200 by browser by the add module 112 In the header of http request.
It should be understood that the add module 112 can be used for executing above-mentioned step S103.
The sending module 113 is used to the http request after addition support information being sent to the server, with The server is set to return to the code of version corresponding with the support information.
Will serializing treated that information is supported to be added to the head of the http request sent to server 200 by browser After in information, the http request after adding the support information is sent to service by user terminal 100 by the sending module 113 Device 200.
It should be understood that the sending module 113 can be used for executing above-mentioned step S104.
The update module 115 is used for when the browser version updates, and is updated according to the updated browser The support information.
The application program 400 of user terminal 100 can also be monitored the version of browser, and work as and monitor browser When version updating, is updated according to updated browser by the update module 115 and support information.
It should be understood that the update module 115 can be used for executing above-mentioned step S105.
In conclusion http request processing unit 110 provided by the invention can to server send http request when, It is added to http request after browser is converted into the format of http request head support to the support information that compiler language is supported In header, such server can return to pair the support situation of compiler language according to browser after receiving http request The code of version is answered, rather than the code of minimum version, the speed of service of code faster can reduce the stand-by period of user.Together When, due to need not code be largely converted into early version from new version, a large amount of code can be saved, file is largely reduced Volume reduces customer flow consumption.Secondly as the fragmentation of present browser version, the case where support compiler language It is server to hold, by detecting the case where browser supports compiler language in advance, browser can have been avoided The code that do not support returns to client.In addition, when browser version updates, it can be updated and be supported according to updated browser Information, so that when sending http request to server 200, server 200 can return in time meets current version browser The highest version code supported further increases the code speed of service, saves size of code, reduces file size.
The embodiment of the present invention additionally provides a kind of nonvolatile computer storage media, the computer storage media storage There are computer executable instructions, which can perform the processing of the http request in above-mentioned any means embodiment Method.
In several embodiments provided herein, it should be understood that disclosed device and method can also pass through Other modes are realized.The apparatus embodiments described above are merely exemplary, for example, the flow chart in attached drawing and block diagram Show the device of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product, Function and operation.In this regard, each box in flowchart or block diagram can represent the one of a module, section or code Part, a part for the module, section or code, which includes that one or more is for implementing the specified logical function, to be held Row instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be to be different from The sequence marked in attached drawing occurs.For example, two continuous boxes can essentially be basically executed in parallel, they are sometimes It can execute in the opposite order, this is depended on the functions involved.It is also noted that every in block diagram and or flow chart The combination of box in a box and block diagram and or flow chart can use function or the dedicated base of action as defined in executing It realizes, or can be realized using a combination of dedicated hardware and computer instructions in the system of hardware.
In addition, each function module in each embodiment of the present invention can integrate to form an independent portion Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, technical scheme of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.It needs Illustrate, herein, relational terms such as first and second and the like be used merely to by an entity or operation with Another entity or operation distinguish, and without necessarily requiring or implying between these entities or operation, there are any this realities The relationship or sequence on border.Moreover, the terms "include", "comprise" or its any other variant are intended to the packet of nonexcludability Contain, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes Other elements that are not explicitly listed, or further include for elements inherent to such a process, method, article, or device. In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including the element Process, method, article or equipment in there is also other identical elements.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should be noted that:Similar label and letter exist Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing It is further defined and is explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.

Claims (10)

1. a kind of http request processing method is applied to the user terminal being connect with server communication, which is characterized in that the side Method includes:
Obtain the support information that browser supports compiler language;
The support information is added in the header of the corresponding http request of the browser;
The http request after information is supported to be sent to the server addition, so that the server returns and the branch Hold the code that information corresponds to version.
2. http request processing method according to claim 1, which is characterized in that the method further includes:
The support information is subjected to serializing processing;
It is described that the support information is added in the header of the corresponding http request of the browser, including:
Will serializing treated that the support information is added in the header of the corresponding http request of the browser.
3. http request processing method according to claim 1, which is characterized in that the acquisition browser is to compiler language The support information of support, including:
It calls test case to test the support characteristic of the browser, obtains what the browser supported compiler language Support information.
4. http request processing method according to claim 1, which is characterized in that the method further includes:
When the browser version updates, the support information is updated according to the updated browser.
5. http request processing method according to claim 1, which is characterized in that the method further includes:
The support information is stored in the form of inventory.
6. a kind of http request processing unit is applied to the user terminal being connect with server communication, which is characterized in that described Http request processing unit includes:
Acquisition module, the support information that compiler language is supported for obtaining browser;
Add module, for the support information to be added in the header of the corresponding http request of the browser;
Sending module, for supporting the http request after information to be sent to the server addition, so that the service Device returns to the code of version corresponding with the support information.
7. http request processing unit according to claim 6, which is characterized in that further include:
Serialization module, for the support information to be carried out serializing processing;
The add module is added to the corresponding http of the browser for the support information that will serialize that treated asks In the header asked.
8. http request processing unit according to claim 6, which is characterized in that the acquisition module is tested for calling Use-case tests the support characteristic of the browser, obtains the support information that the browser supports compiler language.
9. http request processing unit according to claim 6, which is characterized in that further include:
Update module, for when the browser version updates, updating the support according to the updated browser and believing Breath.
10. http request processing unit according to claim 6, which is characterized in that further include:
Memory module, for storing the support information in the form of inventory.
CN201810380330.6A 2018-04-25 2018-04-25 Http request processing method and processing device Pending CN108595202A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810380330.6A CN108595202A (en) 2018-04-25 2018-04-25 Http request processing method and processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810380330.6A CN108595202A (en) 2018-04-25 2018-04-25 Http request processing method and processing device

Publications (1)

Publication Number Publication Date
CN108595202A true CN108595202A (en) 2018-09-28

Family

ID=63609823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810380330.6A Pending CN108595202A (en) 2018-04-25 2018-04-25 Http request processing method and processing device

Country Status (1)

Country Link
CN (1) CN108595202A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542501A (en) * 2018-10-25 2019-03-29 平安科技(深圳)有限公司 Browser table compatibility method, device, computer equipment and storage medium
CN111800461A (en) * 2020-05-27 2020-10-20 深圳壹账通智能科技有限公司 Script downloading method, device, equipment and storage medium of browser

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020092858A (en) * 2002-10-15 2002-12-12 (주)닥터소프트 Compressing/caching server and its web accelerating service system and method
CN101883227A (en) * 2009-05-05 2010-11-10 百视通网络电视技术发展有限责任公司 Multi-standard and multi-terminal-supporting electronic program guide (EPG) system and implementing method thereof
CN103257986A (en) * 2011-12-23 2013-08-21 软件股份公司 Creating html/css representations of a geometric symbol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020092858A (en) * 2002-10-15 2002-12-12 (주)닥터소프트 Compressing/caching server and its web accelerating service system and method
CN101883227A (en) * 2009-05-05 2010-11-10 百视通网络电视技术发展有限责任公司 Multi-standard and multi-terminal-supporting electronic program guide (EPG) system and implementing method thereof
CN103257986A (en) * 2011-12-23 2013-08-21 软件股份公司 Creating html/css representations of a geometric symbol

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109542501A (en) * 2018-10-25 2019-03-29 平安科技(深圳)有限公司 Browser table compatibility method, device, computer equipment and storage medium
CN111800461A (en) * 2020-05-27 2020-10-20 深圳壹账通智能科技有限公司 Script downloading method, device, equipment and storage medium of browser

Similar Documents

Publication Publication Date Title
WO2018223717A1 (en) Webpage front-end testing method, device, system, apparatus and readable storage medium
US9881050B2 (en) Method and system to recommend applications from an application market place to a new device
CN106874174B (en) Method and device for realizing interface test and function test
US10911565B2 (en) Method, device and system for associating a service account
CN108347532B (en) Function access method, device, terminal equipment and storage medium
CN109062626A (en) Exchange method, device and the equipment of Web page component and Native component
CN104657201A (en) Method, device, equipment and system for pushing application program
CN107908442A (en) Resource loading method, device, terminal device and computer-readable recording medium based on spring
CN108280099A (en) Data dictionary management method, apparatus and server
CN103443791A (en) Information processing device and method, and program
CN108701018A (en) The update method of application program
US11616860B2 (en) Information display method, terminal, and server
CN108563668A (en) The method, apparatus and terminal device of the Hybrid page jump H5 pages
CN113886336A (en) Flow detection method, device, equipment and medium
CN108595202A (en) Http request processing method and processing device
CN105337799A (en) Method and terminal for receiving flow information
CN109684570A (en) Web information processing method and device
CN105224870A (en) Suspected virus applies the method and apparatus uploaded
CN110765258B (en) Method and equipment for providing electronic books
CN105956202A (en) Web page display method and web page display apparatus in browser as well as terminal
CN108762637A (en) Control method, apparatus and system
CN109032637A (en) Oftware updating method and device based on framework frame
CN115309657A (en) Method, device, medium and program product for providing test case
CN109413714B (en) User agent information processing method, device, storage medium and terminal
CN111181836A (en) Message pushing method and device

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 311501, Unit 1, Building 5, Courtyard 1, Futong East Street, Chaoyang District, Beijing

Applicant after: BEIJING KNOWNSEC INFORMATION TECHNOLOGY Co.,Ltd.

Address before: Room 311501, Unit 1, Building 5, Courtyard 1, Futong East Street, Chaoyang District, Beijing

Applicant before: BEIJING KNOWNSEC INFORMATION TECHNOLOGY Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180928