CN107103006A - Method for sending information and device - Google Patents

Method for sending information and device Download PDF

Info

Publication number
CN107103006A
CN107103006A CN201610099118.3A CN201610099118A CN107103006A CN 107103006 A CN107103006 A CN 107103006A CN 201610099118 A CN201610099118 A CN 201610099118A CN 107103006 A CN107103006 A CN 107103006A
Authority
CN
China
Prior art keywords
page
content
pages
network address
buffer zone
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
CN201610099118.3A
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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201610099118.3A priority Critical patent/CN107103006A/en
Publication of CN107103006A publication Critical patent/CN107103006A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses method for sending information and device.One embodiment of methods described includes:The accessing page request that client is sent is received, wherein, the accessing page request includes network address;Whether judge the corresponding page of the network address is pseudo- static page;If it is, determining whether that the content of pages of the corresponding page of the network address whether there is in buffer zone set in advance, for memory page content;If the buffer zone includes the content of pages, obtain the content of pages and be sent to client.The embodiment realizes quick obtaining and the transmission of content of pages.

Description

Method for sending information and device
Technical field
The application is related to field of computer technology, and in particular to Internet technical field, especially relates to And method for sending information and device.
Background technology
With the fast development of Internet technology, static Web page is unable to real-time update etc. due to existing Problem so that direction fast transition of the increasing website towards dynamic web page.Current site JSP (Java Server Pages, the java server page), ASP (Active Server can be used Page, Active Server Pages) etc. page presentation dynamic data, although so solving data Real time problems, but to search engine and unfriendly, be unfavorable for the popularization of webpage.It is pseudo- static Technology actually using dynamic script handle webpage, but ways of presentation be in the way of static page, So as to solve the real-time of page dynamic data acquisition, the friend to search engine is maintained Good face.
It is required for loading dynamic data, assembling dynamic however, user accesses pseudo- static page every time The page, therefore resource consumption can be caused big, website endurance is low, and page open speed is slow, and And access needs are one or many to database request dynamic data every time, can so cause data There is bottleneck in input/output, the computing in storehouse etc..
The content of the invention
The purpose of the application is to propose a kind of improved method for sending information and device, to solve The technical problem that background section above is mentioned.
In a first aspect, this application provides a kind of method for sending information, methods described includes:Connect The accessing page request that client is sent is received, wherein, the accessing page request includes network address; Whether judge the corresponding page of the network address is pseudo- static page;If it is, determining whether The content of pages of the corresponding page of the network address whether there is in it is set in advance, for memory page In the buffer zone of face content;If the buffer zone includes the content of pages, obtain Take the content of pages and be sent to client.
In certain embodiments, methods described also includes:If do not included in the buffer zone The content of pages, then obtain page dynamic data and page static data;According to the page Dynamic data and page static data generation content of pages are simultaneously sent to client.
In certain embodiments, methods described also includes:Institute is arrived into the content of pages storage of generation State buffer zone.
In certain embodiments, methods described also includes:Delete expired in the buffer zone Content of pages, wherein, expired content of pages is the storage time in the buffer zone More than the content of pages of time threshold set in advance.
In certain embodiments, it is described to judge whether the corresponding page of the network address is pseudo- static page Face, including:Judge whether the path of the network address meets set in advance, pseudo- static page Path rule;If met, it is determined that the corresponding page of the network address is pseudo- static page.
Second aspect, this application provides a kind of information transmitting apparatus, described device includes:Connect Unit is received, the accessing page request for receiving client transmission, wherein, the page access Request includes network address;First judging unit, for judge the corresponding page of the network address whether be Pseudo- static page;Second judging unit, for if it is, determining whether the network address pair The content of pages for the page answered whether there is in set in advance, delaying for memory page content Deposit in region;First transmitting element, if included for the buffer zone in the page Hold, then obtain the content of pages and be sent to client.
In certain embodiments, described device also includes:Acquiring unit, if for described slow Depositing does not include the content of pages in region, then obtains page dynamic data and page static data; Second transmitting element, for generating the page according to the page dynamic data and page static data Content is simultaneously sent to client.
In certain embodiments, memory cell, for the content of pages storage of generation to be arrived into described Buffer zone.
In certain embodiments, described device also includes:Unit is deleted, it is described slow for deleting The expired content of pages in region is deposited, wherein, expired content of pages is in the buffer area Storage time in domain exceedes the content of pages of time threshold set in advance.
In certain embodiments, first judging unit is further used for:Judge the network address Path whether meet the path rule of set in advance, pseudo- static page;If met, It is pseudo- static page to determine the corresponding page of the network address.
Method for sending information and device that the application is provided, first determine whether the network address that client is sent Whether the corresponding page is pseudo- static page, if the corresponding page of the network address is pseudo- static page, And the content of pages of the corresponding page of the network address is stored in buffer zone, then from the buffer zone In directly obtain the content of pages and be sent to client, therefore need not load dynamic data, Dynamic page is assembled, it is achieved thereby that quick obtaining and the transmission of content of pages.
Brief description of the drawings
Retouched by reading with reference to the detailed of being made to non-limiting example of being made of the following drawings State, other features, objects and advantages will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow chart of one embodiment of the method for sending information according to the application;
Fig. 3 is the flow chart of another embodiment of the method for sending information according to the application;
Fig. 4 is the structural representation of one embodiment of the information transmitting apparatus according to the application;
Fig. 5 is adapted for for realizing the terminal device of the embodiment of the present application or the computer of server The structural representation of system.
Embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is appreciated that , specific embodiment described herein is used only for explaining related invention, rather than to the hair Bright restriction.It also should be noted that, illustrate only for the ease of description, in accompanying drawing with About the related part of invention.
It should be noted that in the case where not conflicting, embodiment and embodiment in the application In feature can be mutually combined.Describe this in detail below with reference to the accompanying drawings and in conjunction with the embodiments Application.
Fig. 1 shows the reality of the method for sending information or information transmitting apparatus that can apply the application Apply the exemplary system architecture 100 of example.
As shown in figure 1, system architecture 100 can include terminal device 101,102,103, Network 104 and server 105.Network 104 is used in the and of terminal device 101,102,103 The medium of communication link is provided between server 105.Network 104 can include various connection classes Type, such as wired, wireless communication link or fiber optic cables etc..
User can pass through network 104 and server 105 with using terminal equipment 101,102,103 Interaction, to receive or send message etc..It can be provided with terminal device 101,102,103 Various telecommunication customer end applications, such as web browser applications, the application of shopping class, searching class are answered With, JICQ, mailbox client, social platform software etc..
Terminal device 101,102,103 can be browsed with display screen and supported web page Various electronic equipments, including but not limited to smart mobile phone, tablet personal computer, E-book reader, (Moving Picture Experts Group Audio Layer III, dynamic image is special for MP3 player Family's compression standard audio aspect 3), MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect 4) player, portable meter on knee Calculation machine and desktop computer etc..
Server 105 can be to provide the server of various services, for example to terminal device 101, 102nd, the webpage shown on 103 provides the backstage web page server supported.Backstage web page server The data such as the accessing page request that receives can be carried out analyzing etc. with processing, and by result (such as page content data) is sent to terminal device.
It should be noted that the method for sending information that the embodiment of the present application is provided is general by servicing Device 105 is performed, correspondingly, and information transmitting apparatus is generally positioned in server 105.
It should be understood that the number of the terminal device, network and server in Fig. 1 is only signal Property.According to needs are realized, can have any number of terminal device, network and server.
With continued reference to Fig. 2, one embodiment of the method for sending information according to the application is shown Flow 200.Described method for sending information, comprises the following steps:
Step 201, the accessing page request that client is sent is received.
In the present embodiment, electronic equipment (such as Fig. 1 of method for sending information operation thereon Shown server 105) can be by wired connection mode or radio connection from user Using its carry out web page browsing client (such as terminal device 101 shown in Fig. 1,102, 103) accessing page request is received, wherein, above-mentioned accessing page request includes user and expects visit The address for the webpage asked, i.e. network address.In practice, network address is typically by URL (Uniform Resource Locator, URL) is represented.Herein, above-mentioned network address can be with It is the network address of the forms such as extension entitled .html .htm.
Step 202, whether judge the corresponding page of network address is pseudo- static page.
In the present embodiment, based on the network address obtained in step 201, above-mentioned electronic equipment can be with Whether judge the corresponding page of the network address is pseudo- static page.For example, above-mentioned electronic equipment is to dynamic State URL (such as http://www.abc.com/xx.aspxType=1) carry out obtaining after static To static URL (such as http of the dynamic URL://www.abc.com/xx-1.html), should The dynamic URL and static URL is one-to-one, then above-mentioned electronic equipment can be according to net Location corresponding relation judges whether obtained network address is pseudo- static page.
In some optional implementations of the present embodiment, above-mentioned electronic equipment may determine that Whether the path for stating network address meets the path rule of set in advance, pseudo- static page, if symbol Close, it is determined that the corresponding page of above-mentioned network address is pseudo- static page.Above-mentioned path rule can be The rule that each website is set according to the pseudo- static technique (such as URL rewritings) of oneself, for example, Certain website according to a large amount of similar www.abc.com/n123.html of setting URL rewriting rules generation, The network address in www.abc.com/n234.html paths, website definition rule is such with n+ to recognize Numeral+.html is that the webpage in path is pseudo- static page, then can basis when receiving network address Path judges whether the corresponding page of the network address is pseudo- static page.
Step 203, if it is, determining whether the content of pages of the corresponding page of network address is It is no to be present in buffer zone set in advance, for memory page content.
In the present embodiment, the judged result based on step 202, if the corresponding page of the network address Pseudo- static page during face, then above-mentioned electronic equipment can be determined whether by the mode such as searching The content of pages for stating the corresponding page of network address whether there is in buffer zone, wherein, the caching Region is that above-mentioned electronic equipment is set in advance, the region for memory page content.Herein, Above-mentioned buffer zone can be provided in a local storage region or third party deposits The storage region of equipment is stored up, for example, above-mentioned electronic equipment can use third party's distributed caching Form memory page content.
Step 204, if buffer zone includes above-mentioned content of pages, the above-mentioned page is obtained Content is simultaneously sent to client.
In the present embodiment, the judged result based on step 203, if in above-mentioned buffer zone Include the content of pages of the corresponding page of above-mentioned network address, then above-mentioned electronic equipment can be directly from upper State and the content of pages is obtained in buffer zone, and the content of pages of acquisition is passed through into wired connection side Formula or radio connection are sent to client, and user is showed by client.For example, on Buffer area can be prestored to by the full page content of multiple pseudo- static pages by stating electronic equipment Domain, the corresponding page of network address received when above-mentioned electronic equipment is pseudo- static page, and the net The corresponding content of pages in location is at buffer zone, and above-mentioned electronic equipment can be directly from buffer zone Middle acquisition full page content, it is not necessary to data query and assembling.
In some optional implementations of the present embodiment, above-mentioned electronic equipment can also be deleted Expired content of pages in above-mentioned buffer zone, wherein, above-mentioned expired content of pages can be with It is that storage time in above-mentioned buffer zone exceedes in the page of time threshold set in advance Hold.Above-mentioned time threshold can be that above-mentioned electronic equipment is according to the page when content of pages is generated The value for the term of validity that the requirement of real-time for the data that content is carried is set.
The method that above-described embodiment of the application is provided is pseudo- quiet by directly being obtained from buffer zone The corresponding content of pages of the state page, it is not necessary to data query and assembling, therefore can be greatly improved The acquisition speed of content of pages and the speed for being sent to user, improve the speed that user opens the page Degree.
With further reference to Fig. 3, it illustrates the flow of another of method for sending information embodiment 300.The flow 300 of the method for sending information, comprises the following steps:
Step 301, the accessing page request that client is sent is received.
In the present embodiment, step 301 may be referred to the step 201 of Fig. 2 correspondence embodiments, Here repeat no more.
Step 302, whether judge the corresponding page of network address is pseudo- static page.
In the present embodiment, step 302 may be referred to the step 202 of Fig. 2 correspondence embodiments, Here repeat no more.
Step 303, if it is, determining whether the content of pages of the corresponding page of network address is It is no to be present in buffer zone set in advance, for memory page content.
In the present embodiment, step 303 may be referred to the step 203 of Fig. 2 correspondence embodiments, Here repeat no more.
Step 304, if buffer zone includes above-mentioned content of pages, the above-mentioned page is obtained Content is simultaneously sent to client.
In the present embodiment, step 304 may be referred to the step 204 of Fig. 2 correspondence embodiments, Here repeat no more.
Step 305, if not including above-mentioned content of pages in buffer zone, obtain the page and move State data and page static data;According to page dynamic data and the page static data generation page Content is simultaneously sent to client.
In the present embodiment, the judged result based on step 303, if in above-mentioned buffer zone Do not include the content of pages of the corresponding page of above-mentioned network address, then above-mentioned electronic equipment can be according to page Face access request obtains dynamic data from the storage devices such as database, file system and the page is quiet State data (such as page presentation template), and by the page dynamic data and page static data group Dress up complete content of pages, and will assemble the content of pages of generation by wired connection mode or Radio connection is sent to client, is loaded by client and is shown.Sentence for example, working as Do not include in disconnected buffer zone after above-mentioned content of pages, above-mentioned electronic equipment can be by client The accessing page request of transmission carries out page reorientation processing and navigates to corresponding processing method or letter Number, the processing method or function can perform following operation:Obtain page dynamic data and the page Static data, generates content of pages according to page dynamic data and page static data and is sent to Client.
In some optional implementations of the present embodiment, the flow 300 of the present embodiment may be used also So that including step 306, the content of pages storage of generation is arrived into buffer zone.
In the present embodiment, above-mentioned electronic equipment can be by the complete page generated in step 305 Face content is saved in above-mentioned storage region, when above-mentioned electronic equipment is received for the page again During the accessing page request of content, the content of pages can be directly obtained from buffer zone.It is logical Often, the number that above-mentioned electronic equipment can be carried when content of pages is generated according to content of pages According to the term of validity for setting content of pages, for example, the real-time of the data carried when content of pages It is required that when higher (such as the second kills the data of business), can set the term of validity is shorter (such as 1 minute), the requirement of real-time of the data carried when content of pages than it is relatively low (for example The data of the Doctype page) when, longer (such as 1 week) that the term of validity can be set. Herein, above-mentioned electronic equipment can delete the expired content of pages in above-mentioned buffer zone. I.e. above-mentioned electronic equipment can directly obtain the content of pages in period of validity, wherein, it is above-mentioned to have When content of pages in the effect time limit can refer to that the storage time in buffer zone is not above setting Between threshold value content of pages.For example, the period of validity of certain content of pages is 2 minutes, then 2 If user's request accesses the content of pages within minute, then above-mentioned electronic equipment is directly postponed Deposit and the content of pages is obtained in region, it is not necessary to access the storage devices such as database, file system Obtain dynamic data, it is not required that carry out page generation.
From figure 3, it can be seen that compared with the corresponding embodiments of Fig. 2, the letter in the present embodiment The content of pages that the flow 300 of breath sending method highlights the corresponding page of network address is not present in delaying In the case of depositing region, the generation step of content of pages and the storage to the content of pages of generation are walked Suddenly.Thus, the present embodiment description scheme accessed within the period of validity of content of pages database, The storage devices such as file system once, assemble content of pages once, so as to will not cause database There is bottleneck, and resource consumption is small, the page open speed of client is fast.
With further reference to Fig. 4, as the realization to method shown in above-mentioned each figure, the application is provided A kind of one embodiment of information transmitting apparatus, the device embodiment and the method shown in Fig. 2 Embodiment is corresponding, and the device specifically can apply in various electronic equipments.
As shown in figure 4, the information transmitting apparatus 400 described in the present embodiment includes:Receiving unit 401st, the first judging unit 402, the second judging unit 403 and the first transmitting element 404.Its In, receiving unit 401 is used for the accessing page request for receiving client transmission, wherein, it is above-mentioned Accessing page request includes network address;First judging unit 402 is used to judge that above-mentioned network address is corresponding Whether the page is pseudo- static page;Second judging unit 403 is used for if it is, further sentencing The content of pages of the corresponding page of disconnected above-mentioned network address whether there is in it is set in advance, for storing In the buffer zone of content of pages;If the first transmitting element 404 is used in above-mentioned buffer zone Including above-mentioned content of pages, then obtain above-mentioned content of pages and be sent to client.
In the present embodiment, receiving unit 401, the first judging unit 402, the second judging unit 403 may be referred to the corresponding embodiment steps of Fig. 2 with the specific processing of the first transmitting element 404 201st, the detailed description of step 202, step 203 and step 204, will not be repeated here.
In some optional implementations of the present embodiment, above- mentioned information dispensing device also includes: Acquiring unit (not shown), if for not including above-mentioned content of pages in above-mentioned buffer zone, Then obtain page dynamic data and page static data;Second transmitting element (not shown), is used for Content of pages is generated according to above-mentioned page dynamic data and page static data and client is sent to End.The implementation may be referred to the detailed description of Fig. 3 correspondence embodiment steps 305, herein Repeat no more.
In some optional implementations of the present embodiment, above- mentioned information dispensing device also includes: Memory cell (not shown), for the content of pages storage of generation to be arrived into above-mentioned buffer zone.Should Implementation may be referred to the detailed description of Fig. 3 correspondence embodiment steps 306, no longer go to live in the household of one's in-laws on getting married herein State.
In some optional implementations of the present embodiment, above- mentioned information dispensing device also includes: Unit (not shown) is deleted, for deleting the expired content of pages in above-mentioned buffer zone, its In, it is set in advance that expired content of pages is that storage time in above-mentioned buffer zone exceedes The content of pages of time threshold.The implementation refers to corresponding in above-mentioned Fig. 2 correspondences embodiment The detailed description of implementation, will not be repeated here.
In some optional implementations of the present embodiment, above-mentioned first judging unit is further used In:Judge whether the path of above-mentioned network address meets the path rule of set in advance, pseudo- static page Then;If met, it is determined that the corresponding page of above-mentioned network address is pseudo- static page.The realization side Formula refers to the detailed description of corresponding implementation in above-mentioned Fig. 2 correspondences embodiment, herein no longer Repeat.
Below with reference to Fig. 5, it illustrates suitable for for realizing the terminal device of the embodiment of the present application Or the structural representation of the computer system 500 of server.
As shown in figure 5, computer system 500 includes CPU (CPU) 501, its Can according to the program being stored in read-only storage (ROM) 502 or from storage part 508 The program that is loaded into random access storage device (RAM) 503 and perform various appropriate actions And processing.In RAM 503, the system that is also stored with 500 operates required various program sums According to.CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input / output (I/O) interface 505 is also connected to bus 504.
I/O interfaces 505 are connected to lower component:Importation 506 including keyboard, mouse etc.; Including cathode-ray tube (CRT), liquid crystal display (LCD) etc. and loudspeaker etc. Output par, c 507;Storage part 508 including hard disk etc.;And including such as LAN card, The communications portion 509 of the NIC of modem etc..Communications portion 509 is via such as The network of internet performs communication process.Driver 510 is also according to needing to be connected to I/O interfaces 505.Detachable media 511, such as disk, CD, magneto-optic disk, semiconductor memory etc., Be arranged on as needed on driver 510, in order to the computer program that reads from it according to Need to be mounted into storage part 508.
Especially, in accordance with an embodiment of the present disclosure, the process described above with reference to flow chart can be with It is implemented as computer software programs.For example, embodiment of the disclosure includes a kind of computer journey Sequence product, it includes being tangibly embodied in the computer program on machine readable media, the meter Calculation machine program bag, which contains, is used for the program code of the method shown in execution flow chart.Implement such In example, the computer program can be downloaded and installed by communications portion 509 from network, And/or be mounted from detachable media 511.In the computer program by CPU (CPU) during 501 execution, the above-mentioned functions limited in the present processes are performed.
Flow chart and block diagram in accompanying drawing, it is illustrated that according to the system of the various embodiments of the application, Architectural framework in the cards, function and the operation of method and computer program product.This point On, each square frame in flow chart or block diagram can represent a module, program segment or code A part, the part of the module, program segment or code is used for comprising one or more The executable instruction of logic function as defined in realizing.It should also be noted that being used as replacement at some In realization, the function of being marked in square frame can also be with different from the order marked in accompanying drawing hair It is raw.For example, two square frames succeedingly represented can essentially be performed substantially in parallel, they Sometimes it can also perform in the opposite order, this is depending on involved function.It is also noted that It is, each square frame in block diagram and/or flow chart and the square frame in block diagram and/or flow chart Combination, can be realized with the special hardware based system of defined function or operation is performed, Or can be realized with the combination of specialized hardware and computer instruction.
Being described in unit involved in the embodiment of the present application can be real by way of software It is existing, it can also be realized by way of hardware.Described unit can also be arranged on processing In device, for example, can be described as:A kind of processor include receiving unit, the first judging unit, Second judging unit and the first transmitting element.Wherein, the title of these units is under certain conditions The restriction in itself to the unit is not constituted, for example, receiving unit is also described as " connecing Receive the unit for the accessing page request that client is sent ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, The nonvolatile computer storage media can be described in above-described embodiment included in device Nonvolatile computer storage media;Can also be individualism, without non-in supplying terminal Volatile computer storage medium.Above-mentioned nonvolatile computer storage media be stored with one or The multiple programs of person, when one or more of programs are performed by an equipment so that described Equipment:The accessing page request that client is sent is received, wherein, the accessing page request bag Include network address;Whether judge the corresponding page of the network address is pseudo- static page;If it is, entering One step judges that the content of pages of the corresponding page of the network address whether there is in set in advance, use In the buffer zone of memory page content;If the buffer zone is included in the page Hold, then obtain the content of pages and be sent to client.
Above description is only the preferred embodiment of the application and saying to institute's application technology principle It is bright.It will be appreciated by those skilled in the art that invention scope involved in the application, is not limited In the technical scheme of the particular combination of above-mentioned technical characteristic, do not departed from while should cover yet In the case of the inventive concept, it is combined by above-mentioned technical characteristic or its equivalent feature Formed by other technical schemes.Such as features described above and (but not limited to) disclosed herein Technical characteristic with similar functions carries out technical scheme formed by replacement mutually.

Claims (10)

1. a kind of method for sending information, it is characterised in that methods described includes:
The accessing page request that client is sent is received, wherein, the accessing page request includes Network address;
Whether judge the corresponding page of the network address is pseudo- static page;
If it is, determining whether that the content of pages of the corresponding page of the network address whether there is In buffer zone set in advance, for memory page content;
If the buffer zone includes the content of pages, the content of pages is obtained simultaneously It is sent to client.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
If not including the content of pages in the buffer zone, page dynamic data is obtained With page static data;
Content of pages is generated according to the page dynamic data and page static data and visitor is sent to Family end.
3. method according to claim 2, it is characterised in that methods described also includes:
The buffer zone is arrived into the content of pages storage of generation.
4. according to the method described in claim 1, it is characterised in that methods described also includes:
The expired content of pages in the buffer zone is deleted, wherein, expired content of pages It is that storage time in the buffer zone exceedes in the page of time threshold set in advance Hold.
5. according to the method described in claim 1, it is characterised in that described to judge the network address Whether the corresponding page is pseudo- static page, including:
Judge whether the path of the network address meets the path rule of set in advance, pseudo- static page Then;
If met, it is determined that the corresponding page of the network address is pseudo- static page.
6. a kind of information transmitting apparatus, it is characterised in that described device includes:
Receiving unit, the accessing page request for receiving client transmission, wherein, the page Interview asks that request includes network address;
First judging unit, for judging whether the corresponding page of the network address is pseudo- static page;
Second judging unit, for if it is, determining whether the corresponding page of the network address Content of pages whether there is in buffer zone set in advance, for memory page content;
First transmitting element, if including the content of pages for the buffer zone, Obtain the content of pages and be sent to client.
7. device according to claim 6, it is characterised in that described device also includes:
Acquiring unit, if for not including the content of pages in the buffer zone, obtained Take page dynamic data and page static data;
Second transmitting element, for according to the page dynamic data and the generation of page static data Content of pages is simultaneously sent to client.
8. device according to claim 7, it is characterised in that described device also includes:
Memory cell, for the content of pages storage of generation to be arrived into the buffer zone.
9. device according to claim 6, it is characterised in that described device also includes:
Unit is deleted, for deleting the expired content of pages in the buffer zone, wherein, Expired content of pages is that the storage time in the buffer zone exceedes the time set in advance The content of pages of threshold value.
10. device according to claim 6, it is characterised in that described first judges single Member is further used for:
Judge whether the path of the network address meets the path rule of set in advance, pseudo- static page Then;
If met, it is determined that the corresponding page of the network address is pseudo- static page.
CN201610099118.3A 2016-02-23 2016-02-23 Method for sending information and device Pending CN107103006A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610099118.3A CN107103006A (en) 2016-02-23 2016-02-23 Method for sending information and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610099118.3A CN107103006A (en) 2016-02-23 2016-02-23 Method for sending information and device

Publications (1)

Publication Number Publication Date
CN107103006A true CN107103006A (en) 2017-08-29

Family

ID=59658725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610099118.3A Pending CN107103006A (en) 2016-02-23 2016-02-23 Method for sending information and device

Country Status (1)

Country Link
CN (1) CN107103006A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103064932A (en) * 2012-12-24 2013-04-24 乐视网信息技术(北京)股份有限公司 System and method for processing static page
CN103428243A (en) * 2012-05-21 2013-12-04 阿里巴巴集团控股有限公司 Implementation method, device and system for static storage of dynamic webpage
CN104915387A (en) * 2015-05-25 2015-09-16 成都视达科信息技术有限公司 Internet website static state page processing system and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428243A (en) * 2012-05-21 2013-12-04 阿里巴巴集团控股有限公司 Implementation method, device and system for static storage of dynamic webpage
CN103064932A (en) * 2012-12-24 2013-04-24 乐视网信息技术(北京)股份有限公司 System and method for processing static page
CN104915387A (en) * 2015-05-25 2015-09-16 成都视达科信息技术有限公司 Internet website static state page processing system and method

Similar Documents

Publication Publication Date Title
US9760909B2 (en) Systems and methods for generating lead intelligence
CN106528432B (en) The construction method and device of test scene data bury a test method
US20190222662A1 (en) Methods and Systems for Rewriting Scripts to Redirect Web Requests
US20110041168A1 (en) Systems and methods for targeting online advertisements using data derived from social networks
US20100299205A1 (en) Protected serving of electronic content
CN104426985B (en) Show the method, apparatus and system of webpage
CN106897336A (en) Web page files sending method, webpage rendering intent and device, webpage rendering system
CN105786207B (en) Data inputting method and device
CN107295095A (en) The method and apparatus for pushing and showing advertisement
CN107948329A (en) A kind of cross-domain processing method and system
CN106302445A (en) For the method and apparatus processing request
CN107958009A (en) Company information acquisition methods, device and equipment
CN107305576A (en) The pseudo- static treatment method and apparatus of the page
CN107315646A (en) Data flow control method and device between page assembly
CN106973081A (en) A kind of method and apparatus for issuing cloud resource
US20070055775A1 (en) Method and system for controlling information access from a website via Web or WAP access
CN108810047A (en) For determining that information pushes the method, apparatus and server of accuracy rate
CN107656910A (en) Method and apparatus for generating list
US20170011422A1 (en) Data processing device and data processing method
CN109495553A (en) A kind of webpage display control method, system and Reverse Proxy
CN106936727A (en) A kind of Webpage display process and device
CN108011936A (en) Method and apparatus for pushed information
CN111222067B (en) Information generation method and device
CN105100001B (en) Online interaction platform dynamic control method, management backstage and interaction platform
US20130073582A1 (en) Web search results with live data

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170829

RJ01 Rejection of invention patent application after publication