CN105335474B - Content acquisition method and device - Google Patents
Content acquisition method and device Download PDFInfo
- Publication number
- CN105335474B CN105335474B CN201510641454.1A CN201510641454A CN105335474B CN 105335474 B CN105335474 B CN 105335474B CN 201510641454 A CN201510641454 A CN 201510641454A CN 105335474 B CN105335474 B CN 105335474B
- Authority
- CN
- China
- Prior art keywords
- page
- content
- html
- script
- file
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
Abstract
The invention discloses a kind of content acquisition method and devices, belong to Internet technical field.The described method includes: loading the corresponding script file of second page for including in first page by script mode;First page is different from domain where second page;The HTML content for including in script file is obtained by presetting call back function;HTML content in the script file is encapsulated in function declaration in advance;Corresponding operating is executed in first page according to the HTML content got;Reach the preparatory packaged type using function declaration formula the corresponding HTML content of the page is encapsulated in script file, when browser needs cross-domain access page, it only needs to load the corresponding script file of the page using script mode, the HTML content of the page can be got, entire access process is executed by browser, it does not need to be arranged in server and act on behalf of, to mitigate the processing pressure of server, reduce development cost.
Description
Technical field
The present invention relates to Internet technical field, in particular to a kind of content acquisition method and device.
Background technique
The considerations of for secure context, most of browsers are all forbidden the cross-domain access between the not same area page, that is, are browsed
Device forbids the page in the access of the js in the domain A in the page domain B.But in actual use, browser is frequently necessary to carry out cross-domain
Access, the prior art generally use the mode of server agent to realize cross-domain access.
When realizing cross-domain access by the way of server agent, agency is pre-established in the server in the domain A, when in the domain A
When js in the page needs to access the page in the domain B, browser sends access request to the agency, by the agency according to access request
Corresponding page data is obtained from the server in the domain B, and the page data that will acquire returns to browser, thus realize across
Domain browsing.
In the implementation of the present invention, inventor has found above-mentioned technology the prior art has at least the following problems: passing through server generation
The mode of reason realizes cross-domain access, needs to establish agency in the server in advance, development cost is higher, and the processing pressure of server
Power is larger.
Summary of the invention
In order to solve to realize cross-domain access by way of server agent, need to establish agency in the server in advance,
Development cost is higher, and the larger problem of processing pressure of server, and the embodiment of the invention provides a kind of content acquisition methods
And device.The technical solution is as follows:
In a first aspect, a kind of content acquisition method is provided, this method comprises:
The corresponding script file of second page for including in first page is loaded by script (script) mode;First page
Face is different from domain where second page;
By presetting the HTML for including in call back function acquisition script file, (HyperText Markup Language surpasses
Text mark up language) content;HTML content in the script file is encapsulated in function declaration in advance;
Corresponding operating is executed in first page according to the HTML content got.
In one possible implementation, which is encapsulated in the return value portion of method indicated by function declaration
Point;
The HTML content for including in script file is obtained by presetting call back function, comprising:
Call back function, which is preset, by this executes method indicated by function declaration;
Obtain the return value part of this method.
In one possible implementation, corresponding operating is executed in first page according to the HTML content got,
Include:
Full content or specified partial content to the HTML content got parse, and in first page into
Row display.
In one possible implementation, which is the corresponding html file of second page by compilation tool
It is converted to after compiling, includes HTML content in the html file.
In one possible implementation, which first passes through removal annotation process and/or removal newline in advance
Processing.
Second aspect provides a kind of content acquisition unit, which includes:
Loading module, for loading the corresponding script text of second page for including in first page by script mode
Part;First page is different from domain where second page;
Module is obtained, for obtaining the HTML content for including in the script file by default call back function;Script text
HTML content in part is encapsulated in function declaration in advance;
Operation module, for executing corresponding operating in first page according to the HTML content got.
In one possible implementation, HTML content is encapsulated in the return value portion of method indicated by function declaration
Point;
Obtain module, comprising:
Implementation sub-module, for executing method indicated by function declaration by default call back function;
Acquisition submodule, the return value part for acquisition methods.
In one possible implementation, operation module, be also used to the full content of the HTML content got or
Specified partial content is parsed, and is shown in first page.
In one possible implementation, script file is that the corresponding html file of second page is compiled by compilation tool
It is converted to after translating, includes HTML content in the html file.
In one possible implementation, which first passes through removal annotation process and/or removal newline in advance
Processing.
Technical solution provided in an embodiment of the present invention has the benefit that
Load the corresponding script file of second page for including in first page by script mode, first page and the
Domain where two pages is different, obtains the HTML content for including in the script file using default call back function, and according to getting
HTML content corresponding operating is executed in first page;It solves and realizes cross-domain access by way of server agent, need
To establish agency in the server in advance, development cost is higher, and the larger problem of processing pressure of server;Reach preparatory
The corresponding HTML content of the page is encapsulated in script file using the packaged type of function declaration formula, when browser needs are cross-domain
When accessing the page, it is only necessary to load the corresponding script file of the page using script mode, the page can be got
HTML content, entire access process are executed by browser, are not needed to be arranged in server and be acted on behalf of, to mitigate the processing of server
Pressure reduces development cost.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited
Invention.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is the method flow diagram of content acquisition method provided by one embodiment of the present invention;
Fig. 2A is the method flow diagram for the content acquisition method that another embodiment of the present invention provides;
Fig. 2 B is the method flow diagram of HTML content acquisition process involved in the content acquisition method of Fig. 2A offer;
Fig. 3 is the structural block diagram of content acquisition unit provided by one embodiment of the present invention;
Fig. 4 is the structural block diagram for the content acquisition unit that another embodiment of the present invention provides.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
The content acquisition method that each embodiment of the present invention provides, can be by being equipped with the electronic equipment of browser Lai real
It is existing.The electronic equipment can be smart television, smart phone, tablet computer, E-book reader, MP3 player (Moving
Picture Experts Group Audio Layer III, Motion Picture Expert Group audio level 3), MP4 (Moving
Picture Experts Group Audio Layer IV, Motion Picture Expert Group audio level 4) player, it is on knee just
Take computer and desktop computer etc..
To simplify the description, it is hereinafter only executed with content acquisition method by the browser installed in electronic equipment to illustrate
Illustrate, but does not constitute restriction to this.
In order to facilitate understanding, concrete conditions different to domain where two pages first is illustrated.With two pages point
Wei not be for first page and second page, it includes following several situations that first page and second page, which are not belonging to same domain,.
1, same domain name, different port.
For example, the url (Uniform Resource Locator, same Resource Locator) of first page is http: //
Www.a.com:8000/a.js, the url of second page are http://www.a.com/b.js,
2, same domain name, different agreement.
For example, the url of first page is http://www.a.com/a.js, the url of second page is https: //
www.a.com/b.js。
3, domain name and domain name correspond to IP (Internet Protocol, Internet protocol).
For example, the url of first page is expressed as http://www.a.com/a.js using domain name mode, second page
Url is expressed as http using IP address mode: // 70.32.92.74/b.js.
4, main domain is identical, and subdomain is different.
For example, the url of first page is http://www.a.com/a.js, the url of second page is http: //
script.a.com/b.js。
5, domain name is different.
For example, the url of first page is http://www.a.com/a.js, the url of second page is http: //
www.b.com/b.js。
Fig. 1 is the method flow diagram of content acquisition method provided by one embodiment of the present invention.The present embodiment is with the content
Acquisition methods are applied to the browser installed in electronic equipment to illustrate.This method comprises:
Step 102, the corresponding script file of second page for including in first page is loaded by script mode;First
The page is different from domain where second page.
Under normal conditions, the file type of the script file can be .js format, in other possible implementations,
The script file can also use other scheduled file types, and the present invention is defined not to this.
Step 104, the HTML content for including in script file is obtained by presetting call back function;In the script file
HTML content is encapsulated in function declaration in advance.
It is script file due to using script mode to default acquisition, directly acquires second page according to script mode
The corresponding html file in face, browser can report an error because of html file is executed as script file, lead to not complete to visit
It asks, so first passing through compilation tool in advance during developing second page and being converted to the corresponding html file of second page
Script file, and the HTML content in html file is encapsulated in script file by the way of function declaration, for browser
Parsing uses.
Step 106, corresponding operating is executed in first page according to the HTML content got.
In one possible implementation, when browser needs to show in first page in the whole in second page
When the partial content perhaps specified, browser carries out the full content of the HTML content got or specified partial content
Parsing, and shown in first page.
It should be noted that when first page needs to obtain data in second page or first page is needed data
When being transmitted in second page, browser can realize the friendship of data between first page and second page according to the HTML content
Mutually, the present invention is defined not to this.
In conclusion content acquisition method provided in this embodiment, is loaded in first page by script mode and include
The corresponding script file of second page, domain where first page and second page is different, obtains this using default call back function
The HTML content for including in script file, and corresponding operating is executed in first page according to the HTML content got;It solves
It realizes cross-domain access by way of server agent, needs to establish agency in the server in advance, development cost is higher, and
The larger problem of the processing pressure of server;The preparatory packaged type using function declaration formula is reached by the corresponding HTML of the page
Content is encapsulated in script file, when browser needs cross-domain access page, it is only necessary to load this using script mode
The corresponding script file of the page, can get the HTML content of the page, and entire access process is executed by browser, do not needed
It is arranged in server and acts on behalf of, to mitigate the processing pressure of server, reduces development cost.
Fig. 2A is the method flow diagram for the content acquisition method that another embodiment of the present invention provides.The present embodiment is interior with this
Hold acquisition methods and is applied to the browser installed in electronic equipment to illustrate.This method comprises:
Step 201, the corresponding script file of second page for including in first page is loaded by script mode;First
The page is different from domain where second page.
Although browser forbids the cross-domain access between the not same area page, and is not prohibited by between the different domain pages mutually
Script file is quoted, and the method in the script file of load can also be performed in browser.According to this characteristic of browser,
Browser can realize cross-domain access by way of loading script file.For the convenience of description, the present embodiment is with script text
Part be js file for schematically illustrated.
Correspondingly, in order to enable the page to support cross-domain access, i.e. the page can be visited by the page in other domains by js
It asks, during page development, developer uses the HTML of standard to standardize first and writes the corresponding html file of the page, should
The html file is converted to js file for realizing specific page need, then by automatic compilation tool by html file, from
And the page in other domains is facilitated to obtain the js file.
In the present embodiment, when second page needs support cross-domain access, developer can be by compiling automatically
The corresponding html file of second page is converted to js file by tool.When browser needs to need to access by first page
Two pages or while needing to carry out data interaction with second page (include the corresponding js of second page in the corresponding script of first page
The url of file), browser can load the corresponding js file of second page by script mode.
For example, by taking the url of the corresponding script file of second page is http://www.b.com/b.js as an example, when first
Can include following code in the script of first page when the page needs cross-domain access second page:
<script src="http://www.b.com/b.js"></script>
Browser can load the corresponding js file of second page according to above-mentioned code.
It should be noted that the HTML in order to malfunction when guaranteeing that html file is converted to js file, in html file
Content needs to be removed annotation and removal newline processing in advance.
Step 202, the HTML content for including in script file is obtained by presetting call back function;In the script file
HTML content is encapsulated in function declaration in advance.
When the corresponding html file of second page is converted to script file, need to the HTML for including in the html file
Content carries out the encapsulation of function declaration formula, when so that browser getting the script file, can obtain this by call back function
The HTML content carried in script file.
In one possible implementation, the HTML content in html file can be encapsulated in indicated by function declaration
The return value part of method, when browser is loaded into the script file, it is only necessary to execute the function declaration using call back function
Indicated method, and obtain corresponding return value part.As shown in Figure 2 B, this step may include that step 202A is extremely walked
Rapid 202C.
Step 202A presets call back function by this and executes method indicated by function declaration.
In one possible implementation, second page corresponds to html file in conversion process, in html file
HTML content is encapsulated in the return value part of getHtmlContent method, specific manifestation are as follows:
Function getHtmlContent () { return " HTML content " }, wherein " HTML content " is to compile work
Has the HTML content in the html file read automatically.
Correspondingly, being executed by default call back function should when browser receives the script file
GetHtmlContent method.It should be noted that being art technology by the method in call back function perform script file
Known to personnel, details are not described herein for the present embodiment.
Step 202B obtains the return value part of this method.
After executing above-mentioned getHtmlContent by call back function, the return value part of this method can be obtained.
The return value part is determined as the HTML content for including in script file by step 202C.
Browser gets the return value part, and the return value part is determined as in the HTML for including in script file
Hold.Through the above steps, without server agent, browser loads script file by script, and holds
The mode for the method in this document of traveling far and wide, can either obtain the not corresponding HTML content of the same area page, also, since the page is corresponding
Html file is converted into script file and is encapsulated, and browser will not report an error during loading script file,
It ensure that the normal operation of access.
Step 203, the full content to the HTML content got or specified partial content parse, and first
It is shown in the page.
After browser gets the corresponding HTML content of second page, it can be held in first page according to the HTML content
Row corresponding operation.As a kind of possible implementation, browser needs to show second page in the specified region of first page
The content of specified portions in the full content or second page in face, correspondingly, browser is i.e. in the whole in the HTML content
Perhaps specified partial content is parsed, and is shown to the content after parsing.
For example, when browser needs the specified region in first page to show the designated pictures in second page, it is clear
Device is look at i.e. to specified in HTML content<img>content in label is parsed, and is obtained corresponding picture and is shown;Again
For example, when browser needs the specified region in first page to show the data in table and table in second page,
Browser parses the content in<table>label in HTML content, obtains corresponding table and data and carries out
Display.
It should be noted that browser can realize data between first page and second page according to the HTML content
Interaction, the present invention are defined not to this.
It will be apparent that realizing cross-domain access by way of server agent with existing, the present invention implements offer
Content acquisition method is not needed by server agent, only can be realized by browser front end, development cost is low, and can be significant
Reduce the processing pressure of server.
In addition, by by above process modularization, when developer need using when be introduced directly into, even if developer is unclear
Its concrete implementation principle, nor affects on subsequent development process, can significantly improve development efficiency.
In conclusion content acquisition method provided in this embodiment, is loaded in first page by script mode and include
The corresponding script file of second page, domain where first page and second page is different, obtains this using default call back function
The HTML content for including in script file, and corresponding operating is executed in first page according to the HTML content got;It solves
It realizes cross-domain access by way of server agent, needs to establish agency in the server in advance, development cost is higher, and
The larger problem of the processing pressure of server;The preparatory packaged type using function declaration formula is reached by the corresponding HTML of the page
Content is encapsulated in script file, when browser needs cross-domain access page, it is only necessary to load this using script mode
The corresponding script file of the page, can get the HTML content of the page, and entire access process is executed by browser, do not needed
It is arranged in server and acts on behalf of, to mitigate the processing pressure of server, reduces development cost.
In the present embodiment, second page is corresponded into html file turn by the process of development, first passing through compilation tool in advance
It is changed to script file, and carries out the encapsulation of function declaration formula to the HTML content in the html file, avoids reporting an error when load, protect
Demonstrate,prove the normal execution of cross-domain access.
In the present embodiment, by the way that HTML content to be encapsulated in the return value part of method indicated by function declaration, so that
Browser only needs to execute this method by simple call back function, can obtain the HTML content for including in script file, into
One step improves the access speed of browser.
In the present embodiment, changed by the way that the HTML content in html file is removed annotation process and/or is removed in advance
The processing of row symbol, avoids the problem of html file turns transforming mistakes during script file.
In a kind of possible application scenarios, the website of certain company includes a main web site and several subnet stations, each
Subnet station is required to be linked on the main web site, and main web site and each subnet station not in same domain (may be that main domain is identical,
But the different situation of subdomain).Cross-domain access, the corresponding clothes of main web site are solved by way of server agent according to existing
Business device needs to establish multiple agencies.When a large number of users other subnet stations of access cross-domain by the main web site, main web site is corresponding
Server will bear great processing pressure;And after using technical solution provided by the invention, user is cross-domain by main web site
When accessing other subnet stations, by the corresponding script file in browser load subnet station, the HTML carried in the script file is obtained
Content is simultaneously parsed, it is no longer necessary to which server is handled, and the processing pressure of server is significantly reduced.
Fig. 3 is the structural block diagram of content acquisition unit provided by one embodiment of the present invention.The content acquisition unit can
To pass through all or part of software, hardware or both being implemented in combination with as the electronic equipment for being equipped with browser.
The content acquisition unit includes: loading module 310, obtains module 320 and operation module 330.
Loading module 310, for loading the corresponding script of second page for including in first page by script mode
File;First page is different from domain where second page;
Module 320 is obtained, for obtaining the HTML content for including in script file by presetting call back function;Script text
HTML content in part is encapsulated in function declaration in advance;
Operation module 330, for executing corresponding operating in first page according to the HTML content got.
In conclusion content acquisition unit provided in this embodiment, is loaded in first page by script mode and include
The corresponding script file of second page, domain where first page and second page is different, obtains this using default call back function
The HTML content for including in script file, and corresponding operating is executed in first page according to the HTML content got;It solves
It realizes cross-domain access by way of server agent, needs to establish agency in the server in advance, development cost is higher, and
The larger problem of the processing pressure of server;The preparatory packaged type using function declaration formula is reached by the corresponding HTML of the page
Content is encapsulated in script file, when browser needs cross-domain access page, it is only necessary to load this using script mode
The corresponding script file of the page, can get the HTML content of the page, and entire access process is executed by browser, do not needed
It is arranged in server and acts on behalf of, to mitigate the processing pressure of server, reduces development cost.
Fig. 4 is the structural block diagram for the content acquisition unit that another embodiment of the present invention provides.The content acquisition unit
The whole for being implemented in combination with the electronic equipment as browser is equipped with of software, hardware or both or one can be passed through
Point.The content acquisition unit includes: loading module 410, obtains module 420 and operation module 430.
Loading module 410, for loading the corresponding script of second page for including in first page by script mode
File;First page is different from domain where second page;
Module 420 is obtained, for obtaining the HTML content for including in script file by presetting call back function;Script text
HTML content in part is encapsulated in function declaration in advance;
Operation module 430, for executing corresponding operating in first page according to the HTML content got.
In one possible implementation, HTML content is encapsulated in the return value portion of method indicated by function declaration
Point;
Obtain module 420, comprising:
Implementation sub-module 421, for executing method indicated by function declaration by default call back function;
Acquisition submodule 422, the return value part for acquisition methods.
In one possible implementation, operation module 430 are also used to the full content to the HTML content got
Or specified partial content is parsed, and is shown in first page.
In one possible implementation, which is the corresponding html file of second page by compilation tool
It is converted to after compiling, includes HTML content in the html file.
In one possible implementation, which first passes through removal annotation process and/or removal newline in advance
Processing.
In conclusion content acquisition unit provided in this embodiment, is loaded in first page by script mode and include
The corresponding script file of second page, domain where first page and second page is different, obtains this using default call back function
The HTML content for including in script file, and corresponding operating is executed in first page according to the HTML content got;It solves
It realizes cross-domain access by way of server agent, needs to establish agency in the server in advance, development cost is higher, and
The larger problem of the processing pressure of server;The preparatory packaged type using function declaration formula is reached by the corresponding HTML of the page
Content is encapsulated in script file, when browser needs cross-domain access page, it is only necessary to load this using script mode
The corresponding script file of the page, can get the HTML content of the page, and entire access process is executed by browser, do not needed
It is arranged in server and acts on behalf of, to mitigate the processing pressure of server, reduces development cost.
In the present embodiment, second page is corresponded into html file turn by the process of development, first passing through compilation tool in advance
It is changed to script file, and carries out the encapsulation of function declaration formula to the HTML content in the html file, avoids reporting an error when load, protect
Demonstrate,prove the normal execution of cross-domain access.
In the present embodiment, by the way that HTML content to be encapsulated in the return value part of method indicated by function declaration, so that
Browser only needs to execute this method by simple call back function, can obtain the HTML content for including in script file, into
One step improves the access speed of browser.
In the present embodiment, changed by the way that the HTML content in html file is removed annotation process and/or is removed in advance
The processing of row symbol, avoids the problem of html file turns transforming mistakes during script file.
It should be understood that content acquisition unit provided by the above embodiment is in cross-domain acquisition content, only with above-mentioned each
The division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different function
Energy module is completed, i.e., the internal structure of content acquisition unit is divided into different functional modules, described above complete to complete
Portion or partial function.In addition, the embodiment of content acquisition unit provided by the above embodiment and content acquisition method belongs to together
One design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of content acquisition method, which is characterized in that the described method includes:
The corresponding script file of second page for including in first page is loaded by script script mode;The first page
It is different from domain where the second page;
The hypertext markup language HTML content for including in the script file is obtained by default call back function;The script text
The HTML content in part is encapsulated in function declaration in advance;
Corresponding operating is executed in the first page according to the HTML content got;
The HTML content is encapsulated in the return value part of method indicated by the function declaration;
It is described that the HTML content for including in the script file is obtained by default call back function, comprising:
The method indicated by the function declaration is executed by the default call back function;
Obtain the return value part of the method.
2. the method according to claim 1, wherein the HTML content that the basis is got is described
Corresponding operating is executed in one page, comprising:
The full content or specified partial content of the HTML content got are parsed, and in the first page
In shown.
3. the method according to claim 1, wherein the script file is the corresponding HTML of the second page
What file was converted to after compilation tool compiles, include the HTML content in the html file.
4. the method according to claim 1, wherein the HTML content first pass through in advance removal annotation process and/
Or removal newline processing.
5. a kind of content acquisition unit, which is characterized in that described device includes:
Loading module, for loading the corresponding script text of second page for including in first page by script script mode
Part;The first page is different from domain where the second page;
Module is obtained, for obtaining in the hypertext markup language HTML for including in the script file by default call back function
Hold;The HTML content in the script file is encapsulated in function declaration in advance;
Operation module, for executing corresponding operating in the first page according to the HTML content got;
The HTML content is encapsulated in the return value part of method indicated by the function declaration;
The acquisition module, comprising:
Implementation sub-module, for executing the method indicated by the function declaration by the default call back function;
Acquisition submodule, for obtaining the return value part of the method.
6. device according to claim 5, which is characterized in that the operation module is also used to described in getting
The full content of HTML content or specified partial content are parsed, and are shown in the first page.
7. device according to claim 5, which is characterized in that the script file is the corresponding HTML of the second page
What file was converted to after compilation tool compiles, include the HTML content in the html file.
8. device according to claim 5, which is characterized in that the HTML content first pass through in advance removal annotation process and/
Or removal newline processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510641454.1A CN105335474B (en) | 2015-09-29 | 2015-09-29 | Content acquisition method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510641454.1A CN105335474B (en) | 2015-09-29 | 2015-09-29 | Content acquisition method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105335474A CN105335474A (en) | 2016-02-17 |
CN105335474B true CN105335474B (en) | 2019-03-05 |
Family
ID=55286001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510641454.1A Active CN105335474B (en) | 2015-09-29 | 2015-09-29 | Content acquisition method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105335474B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109343975B (en) * | 2018-09-21 | 2022-11-11 | 百度在线网络技术(北京)有限公司 | Method and apparatus for inter-page asynchronous communication |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103023790A (en) * | 2012-12-31 | 2013-04-03 | 北京京东世纪贸易有限公司 | Method and system used for realizing cross-domain interactive access |
CN103246667A (en) * | 2012-02-08 | 2013-08-14 | 腾讯科技(深圳)有限公司 | Method and device for cross-domain transfer of data |
CN103546570A (en) * | 2013-10-29 | 2014-01-29 | 小米科技有限责任公司 | Method, device and terminal for achieving network client-side cross-domain data request |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6993596B2 (en) * | 2001-12-19 | 2006-01-31 | International Business Machines Corporation | System and method for user enrollment in an e-community |
-
2015
- 2015-09-29 CN CN201510641454.1A patent/CN105335474B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103246667A (en) * | 2012-02-08 | 2013-08-14 | 腾讯科技(深圳)有限公司 | Method and device for cross-domain transfer of data |
CN103023790A (en) * | 2012-12-31 | 2013-04-03 | 北京京东世纪贸易有限公司 | Method and system used for realizing cross-domain interactive access |
CN103546570A (en) * | 2013-10-29 | 2014-01-29 | 小米科技有限责任公司 | Method, device and terminal for achieving network client-side cross-domain data request |
Also Published As
Publication number | Publication date |
---|---|
CN105335474A (en) | 2016-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102567516B (en) | Script loading method and device | |
CN104268082B (en) | The method for testing pressure and device of browser | |
CN109445835A (en) | Method, terminal device and the computer readable storage medium of building project frame | |
CN102819451A (en) | Method and system for calling browser plug-in | |
CN103838558B (en) | Website build a station system and method, access website method and webpage adaptation system | |
US11677809B2 (en) | Methods for transforming a server side template into a client side template and devices thereof | |
CN103412890A (en) | Webpage loading method and device | |
Montesi | Process-aware web programming with Jolie | |
CN106909361A (en) | Web development approaches and device based on masterplate engine | |
CN102622376A (en) | Method and equipment used for merging cascading style sheet files | |
CN104219080A (en) | Method for recording logs of error pages of websites | |
CN103902534B (en) | A kind of method and apparatus of web page program triggering local operation | |
CN105183851A (en) | Interaction method and device overcoming browser same-origin policy limit | |
CN110516139A (en) | Crawler system and method | |
CN105528369A (en) | Webpage transcoding method and device and server | |
CN110059278A (en) | Web page configuration method, server and computer readable storage medium | |
CN102253986A (en) | Method and device for improving webpage displaying effect in multiple terminals | |
CN104750866B (en) | Method and system based on flush type WEB server dynamic generation menu bar | |
CN109284454A (en) | Page rendering method, apparatus, computer equipment and storage medium | |
CN104899217B (en) | A kind of implementation method and device of custom feature | |
CN111367802A (en) | Web automatic testing method and device and computer readable storage medium | |
CN104954363A (en) | Method and device for generating interface document | |
CN104486333A (en) | Debug method and debug device for mobile application programs | |
CN105335474B (en) | Content acquisition method and device | |
CN102148702B (en) | Method for managing network by utilizing network configuration protocol |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17 Applicant after: Guangzhou KuGou Networks Co., Ltd. Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F Applicant before: Guangzhou KuGou Networks Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |