CN104965907A - Structured object generation method and apparatus - Google Patents
Structured object generation method and apparatus Download PDFInfo
- Publication number
- CN104965907A CN104965907A CN201510378834.0A CN201510378834A CN104965907A CN 104965907 A CN104965907 A CN 104965907A CN 201510378834 A CN201510378834 A CN 201510378834A CN 104965907 A CN104965907 A CN 104965907A
- Authority
- CN
- China
- Prior art keywords
- template
- structured object
- generated
- data source
- module
- 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
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/80—Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
- G06F16/84—Mapping; Conversion
-
- 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/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a structured object generation method and apparatus. The structured object generation method comprises the steps of: obtaining a structured object generation request, and judging whether a template corresponding to a to-be-generated structured object exists according to the structured object generation request, wherein the structured object generation request comprises information of the to-be-generated structured object; if the template exists locally, obtaining data source corresponding to the to-be-generated structured object from a server; and generating the to-be-generated structured object according to the template and the data source. According to the structured object generation method and apparatus provided by the embodiments, in the structured object generation process, only the data source is transmitted and the template does not need to be transmitted, so that the transmission of a large amount of redundant data is avoided and the flow is greatly saved.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of generation method and device of structured object.
Background technology
Browser refers to can HTML (Hypertext Markup Language) (HyperText Markup Language, the HTML) file content of display web page server or file system, and allows a kind of software of user and these file interactions.Wherein, HTML is a kind of markup language for " webpage establishment and other information can seen in web browser " designs, and can be used to structured message, such as title, paragraph and list etc.
But HTML does not support the due grammer of computerese completely, therefore, the reusability extreme difference of HTML code, is unfavorable for maintenance management.For requests classification page, when user opens the first page of classification, browser can send request to server, and server returns HTML code after receiving the request of browser; When user opens the second page of classification, browser can send request to server again, and similarly, server, after the request receiving browser, returns HTML code.
Summary of the invention
The embodiment of the present invention provides a kind of generation method and device of structured object, there is mass of redundancy data and the problem of the waste flow caused in order to solve in factor data transmitting procedure.
According to the first aspect of the embodiment of the present invention, a kind of generation method of structured object is provided, comprises:
Acquisition structured object generates request, and judges whether this locality exists the template corresponding with structured object to be generated according to described structured object generation request, and described structured object generates the information that request comprises described structured object to be generated;
If this locality exists described template, obtain the data source corresponding with described structured object to be generated from server;
Described structured object to be generated is generated according to described template and described data source.
In one embodiment, described method also comprises:
Described generate described structured object to be generated according to described template and described data source before, if detect, described template exists upgrades version, then obtain the template upgrading version from described server, and preserve the template of described renewal version.
In one embodiment, described method also comprises:
When the described template from described server acquisition renewal version, obtain the data source corresponding with the template of described renewal version from described server.
In one embodiment, described method also comprises:
Described generate described structured object to be generated according to described template and described data source before, generate template engine, described template engine is used for converting described template and described data source to described structured object to be generated.
In one embodiment, described method also comprises:
If this locality does not exist described template, then obtain described template and data source from described server.
In one embodiment, described structured object to be generated comprises web page code and/or control code.
According to the second aspect of the embodiment of the present invention, a kind of generation method of structured object is provided, comprises:
Obtain data source corresponding to structured object to be generated and template corresponding to described structured object to be generated;
Described template and described data source are sent to client, to make described client structured object to be generated according to described data source and described template generation.
In one embodiment, described method also comprises:
Go out template corresponding to described structured object to be generated according to the structure extraction of described structured object to be generated, and determine according to described structured object to be generated and template corresponding to described structured object to be generated the data source that described structured object to be generated is corresponding;
Preserve template corresponding to described structured object to be generated and data source.
In one embodiment, described method also comprises:
When the template that described structured object to be generated is corresponding exists renewal version, described renewal version is sent to described client, to make described client, template corresponding for described structured object to be generated is replaced with described renewal version.
In one embodiment, described method also comprises:
When the template that described structured object to be generated is corresponding exists renewal version, obtain attribute information, described attribute information is for representing whether data source upgrades;
When judging that according to described attribute information data source occurs to upgrade, sending the data source upgraded to client, generating structured object to be generated to make described client according to the renewal template of version and the data source of renewal;
When judging that according to described attribute information data source does not occur to upgrade, send the unmodified information of data source to client.
In one embodiment, described structured object to be generated comprises web page code and/or control code.
According to the third aspect of the embodiment of the present invention, a kind of generating apparatus of structured object is provided, comprises:
Obtain judge module, be configured to obtain structured object and generate request, and judging whether this locality exists the template corresponding with structured object to be generated according to described structured object generation request, described structured object generates the information that request comprises described structured object to be generated;
First acquisition module, if be configured to described acquisition judge module to judge that this locality exists described template, obtains the data source corresponding with described structured object to be generated from server;
Generation module, the described data source being configured to obtain according to described template and described first acquisition module generates described structured object to be generated.
In one embodiment, described device also comprises:
Detect to obtain and preserve module, be configured in described generation module according to before described template and the described structured object to be generated of described data source generation, if detect, described template exists upgrades version, then obtain the template upgrading version from described server, and preserve the template of described renewal version.
In one embodiment, described detection obtains preserves module, is also configured to:
When the described template from described server acquisition renewal version, obtain the data source corresponding with the template of described renewal version from described server.
In one embodiment, described device also comprises:
Template engine generation module, be configured to before described generation module generates described structured object to be generated according to described template and described data source, generate template engine, described template engine is used for converting described template and described data source to described structured object to be generated.
In one embodiment, described device also comprises:
Second acquisition module, if be configured to described acquisition judge module to judge that this locality does not exist described template, then obtains described template and data source from described server.
In one embodiment, described structured object to be generated comprises web page code and/or control code.
According to the fourth aspect of the embodiment of the present invention, a kind of generating apparatus of structured object is provided, comprises:
Acquisition module, is configured to obtain data source corresponding to structured object to be generated and template corresponding to described structured object to be generated;
Sending module, is configured to described acquisition module to obtain described template and described data source send to client, to make described client structured object to be generated according to described data source and described template generation.
In one embodiment, described device also comprises:
Extract determination module, be configured to go out template corresponding to described structured object to be generated according to the structure extraction of described structured object to be generated, and determine according to described structured object to be generated and template corresponding to described structured object to be generated the data source that described structured object to be generated is corresponding;
Preserve module, be configured to preserve the data source that structured object described to be generated that template corresponding to structured object described to be generated that described extraction determination module extracts and described extraction determination module determine is corresponding.
In one embodiment, described device also comprises:
Detect sending module, be configured to when detect template corresponding to described structured object to be generated exist upgrade version time, described renewal version is sent to described client, to make described client, template corresponding for described structured object to be generated is replaced with described renewal version.
In one embodiment, described device also comprises:
Attribute information obtains module, be configured to when described detection sending module detect template corresponding to described structured object to be generated exist upgrade version time, acquisition attribute information, described attribute information is for representing whether data source upgrades;
Data source sending module, be configured to when the described attribute information obtaining module acquisition according to described attribute information judges that data source occurs to upgrade, send the data source upgraded to client, generate structured object to be generated to make described client according to the renewal template of version and the data source of renewal;
Information sending module, is configured to, when the described attribute information obtaining module acquisition according to described attribute information judges that data source does not occur to upgrade, send the unmodified information of data source to client.
In one embodiment, described structured object to be generated comprises web page code and/or control code.
According to the 5th aspect of the embodiment of the present invention, a kind of generating apparatus of structured object is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, processor is configured to:
Acquisition structured object generates request, and judges whether this locality exists the template corresponding with structured object to be generated according to described structured object generation request, and described structured object generates the information that request comprises described structured object to be generated;
If this locality exists described template, obtain the data source corresponding with described structured object to be generated from server;
Described structured object to be generated is generated according to described template and described data source.
According to the 6th aspect of the embodiment of the present invention, a kind of generating apparatus of structured object is provided, comprises:
Processor;
For the storer of storage of processor executable instruction;
Wherein, processor is configured to:
Obtain data source corresponding to structured object to be generated and template corresponding to described structured object to be generated;
Described template and described data source are sent to client, to make described client structured object to be generated according to described data source and described template generation.
The technical scheme that embodiments of the invention provide can comprise following beneficial effect: after the template that local existence is corresponding with structured object to be generated is judged in the request that generates according to structured object, the data source corresponding with structured object to be generated is obtained from server, and generate structured object to be generated according to the data source of above-mentioned template and acquisition, make in the generative process of structured object, only transmit data source, and do not need to transmit template, thus avoid transmitting a large amount of redundant datas, and then greatly save flow.
The template upgrading version is obtained from server, and when data source occurs to upgrade, the data source upgraded is obtained from server, and generate structured object to be generated according to the renewal template of version and the data source of renewal, and when data source does not occur to upgrade, template and the data source that obtains before according to upgrading version generate structured object to be generated.That the current structure of server side structure based object generates, so consistent with the structured object to be generated that the structured object to be generated that current data source generates can provide with server side according to the template upgrading version owing to upgrading the template of version and current data source.
By generating template engine, and the structured object to be generated that template engine generates according to the template and data source that upgrade version can be utilized, because template engine can convert template and data source to structured object to be generated rapidly, thus improve the formation efficiency of structured object to be generated.
When there is not template in this locality, obtain template and data source from server, make not need again to obtain template during the similar structured object to be generated of subsequent transmission structure, and only transmit data source, thus avoid transmitting a large amount of redundant datas, and then greatly save flow.
Dissimilar structured object can be generated, applied range.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the present invention.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows embodiment according to the invention, and is used from instructions one and explains principle of the present invention.
Fig. 1 is the process flow diagram of the generation method of a kind of structured object according to an exemplary embodiment.
Fig. 2 a is the process flow diagram of the generation method of another kind of structured object according to an exemplary embodiment.
Fig. 2 b is the process flow diagram of the generation method of another kind of structured object according to an exemplary embodiment.
Fig. 3 is the process schematic one utilizing template engine formation object according to an exemplary embodiment.
Fig. 4 is the process schematic two utilizing template engine formation object according to an exemplary embodiment.
Fig. 5 is the process flow diagram of the generation method of another structured object according to an exemplary embodiment.
Fig. 6 is the process flow diagram of the generation method of a kind of structured object according to another exemplary embodiment.
Fig. 7 a is the process flow diagram of the generation method of another kind of structured object according to another exemplary embodiment.
Fig. 7 b is the process flow diagram of the generation method of another kind of structured object according to another exemplary embodiment.
Fig. 8 is the block diagram of the generating apparatus of a kind of structured object according to an exemplary embodiment.
Fig. 9 A is the block diagram of the generating apparatus of another kind of structured object according to an exemplary embodiment.
Fig. 9 B is the block diagram of the generating apparatus of another kind of structured object according to an exemplary embodiment.
Fig. 9 C is the block diagram of the generating apparatus of another kind of structured object according to an exemplary embodiment.
Figure 10 is the block diagram of the generating apparatus of another structured object according to an exemplary embodiment.
Figure 11 A is the block diagram of the generating apparatus of another structured object according to an exemplary embodiment.
Figure 11 B is the block diagram of the generating apparatus of another structured object according to an exemplary embodiment.
Figure 12 is a kind of block diagram being applicable to the generating apparatus of structured object according to an exemplary embodiment.
Figure 13 is a kind of block diagram being applicable to the generating apparatus of structured object according to an exemplary embodiment.
Embodiment
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the present invention.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present invention are consistent.
Fig. 1 is the process flow diagram of the generation method of a kind of structured object according to an exemplary embodiment, and as shown in Figure 1, the generation method of this structured object can be applicable in client, and this client can comprise browser, and this generation method comprises the following steps:
In step S101, acquisition structured object generates request, and judges whether this locality exists the template corresponding with structured object to be generated according to structured object generation request.
Wherein, structured object generates the information that request comprises structured object to be generated, and the such as mark of structured object to be generated, this mark may be used for distinguishing structured object to be generated.
In this embodiment, structured object refers to can the object of multiplexing same template, such as, " hot topic " hurdle is had in the A page, also " hot topic " hurdle is had in the B page, and the A page is similar with the structure of web page on " hot topic " hurdle in the B page, they can a multiplexing template, then can will should be called structured object by web page code corresponding to " hot topic " hurdle.
In step s 102, there is corresponding template if local, then obtain the data source corresponding with structured object to be generated from server.
Wherein, the data source corresponding with structured object to be generated can be obtained from server in the following manner:
First kind of way: the server to correspondence sends the first request, mark and the data source request mark of structured object to be generated is carried in this first request, server is after receiving the first request, the mark of data source request mark and structured object to be generated is parsed from the first request, and return the data source corresponding with structured object to be generated according to parsing content, wherein, data source request mark is data source for what represent request, the mark of structured object to be generated is for representing the request object of data source, what namely ask is the data source of which structured object to be generated.
The second way: the data source of directly reception server transmission.
Because the similar structured object of two or more structure can a multiplexing template, like this, when obtaining structured object from server, can only transmission primaries template, only transmit data source afterwards, in other words, if client-side as browser preserve can be multiplexing template, then only need to obtain data source from server, and do not need this template of repeated obtain, thus can avoid transmitting a large amount of redundant data, the present embodiment saves delivery flow rate based on above-mentioned principle just.
In this embodiment, when to be clicked " hot topic " hurdle in certain page by browser as user, browser obtains structured object and generates request, and judge whether this locality is present in template corresponding to this " hot topic " hurdle according to this structured object generation request, if there is corresponding template, then obtain the data source corresponding with being somebody's turn to do " hot topic " hurdle from server.
Wherein, each template has Message Digest Algorithm 5 (MD5) value, distinguishes to facilitate browser and server.Such as, the MD5 value of template 1 is character string 1, and the MD5 value of template 2 is character string 2, then server and browser can distinguish template according to different MD5 values.
In step s 103, structured object to be generated is generated according to template and data source.
After getting data source, structured object to be generated can be generated according to template and data source.
The generation embodiment of the method for said structure object, after the template that local existence is corresponding with structured object to be generated is judged in the request that generates according to structured object, the data source corresponding with structured object to be generated is obtained from server, and generate structured object to be generated according to the data source of above-mentioned template and acquisition, make, in the generative process of structured object, only to transmit data source, and do not need to transmit template, thus avoid transmitting a large amount of redundant datas, and then greatly save flow.
Fig. 2 a is the process flow diagram of the generation method of another kind of structured object according to an exemplary embodiment, and as shown in Figure 2 a, before above-mentioned steps S103, the generation method of this structured object can also comprise:
In step S104, if detect, template exists upgrades version, then obtain the template upgrading version from server, and preserve the template upgrading version.
Communicate due to HTML (Hypertext Markup Language) (http agreement) can be passed through between browser and server, therefore, can based on the entity tag of http agreement (Entity Tag, Etag) mechanism detects the renewal version that whether there is template, such as, the renewal version that whether there is current template can be detected by whether the Etag of the Etag with the current template that server is preserved that judge the current template that browser is preserved is identical, and when detecting that existence upgrades version, the template upgrading version can be obtained in the following manner: send the second request to server, the MD5 value of template identification and template is carried in second request, after server receives the second request, the template upgrading version is returned according to template identification, can also the direct template of renewal version that returns of reception server.
Original template, after acquisition upgrades the template of version, such as, can be replaced with the template upgrading version, and preserve the template upgrading version by browser, the follow-up like this template that directly can use renewal version.
In addition, browser and server is when detecting based on Etag mechanism the renewal version that there is template, server can by obtaining for representing whether data source the attribute information such as Etag attribute information upgraded occurs, judge whether data source upgrades, if judge that data source upgrades according to attribute information, the data source upgraded then is sent to client, like this, client can generate structured object to be generated according to the renewal template of version and the data source of renewal, if judge that data source upgrades according to attribute information, then to the information that client return data source is unmodified, like this, client can generate structured object to be generated according to the template upgrading version and the data source obtained before.
It should be noted that, step S104 and step S102 there is no strict execution sequence, and namely step S104 can perform after step s 102, as shown in Figure 2 a, also can perform (not shown) before step S102.
The generation embodiment of the method for said structure object, the template upgrading version is obtained from server, and when data source occurs to upgrade, the data source upgraded is obtained from server, and generate structured object to be generated according to the renewal template of version and the data source of renewal, and when data source does not occur to upgrade, template and the data source that obtains before according to upgrading version generate structured object to be generated.That the current structure of server side structure based object generates, so consistent with the structured object to be generated that the structured object to be generated that current data source generates can provide with server side according to the template upgrading version owing to upgrading the template of version and current data source.
Fig. 2 b is the process flow diagram of the generation method of another kind of structured object according to an exemplary embodiment, and as shown in Figure 2 b, before above-mentioned steps S103, the generation method of this structured object can also comprise:
In step S105, generate template engine.
Wherein, template engine is used for converting template and data source to structured object to be generated.
Then, in step s 103, template engine can be utilized to generate structured object to be generated according to template and data source.
In this embodiment, browser can utilize the template engine of generation, and the up-to-date template of preserving according to this locality and the data source of acquisition generate corresponding web page code.Wherein, template engine can be html template engine, and template can be html template, and html template engine can be as shown in Figure 3 according to the process of html template and HTML code corresponding to data source synthesis.
The generation method of this structured object, can also for being applied on application program (APP) such as Android APP except being applied on browser.Such as, when namely certain module that user clicks certain APP is expected to generate certain module or control code, obtain module or the request of control code building, and judge whether this locality exists the template corresponding with module to be generated or the request of control code building according to module or the request of control code building, if exist, then obtain corresponding data source from server, concrete obtain manner is see above-described embodiment, do not repeat herein, then template engine is generated, and the data source of the up-to-date template that the template engine of generation can be utilized to preserve according to this locality and acquisition generates corresponding module or control code.Wherein, template engine can be XML template engine, and template can be XML template, and XML template engine can be as shown in Figure 4 according to the process of module or control code that XML template and data source generate correspondence.As can be seen here, use the method can generate the module or control code that in Android APP, multiple structure is identical, thus improve the formation efficiency of module or control, meanwhile, said method can generate dissimilar structured object, applied range.
The generation embodiment of the method for said structure object, by generating template engine, and the structured object to be generated that template engine generates according to the template and data source that upgrade version can be utilized, because template engine can convert template and data source to structured object to be generated rapidly, thus improve the formation efficiency of structured object to be generated.
Fig. 5 is the process flow diagram of the generation method of another structured object according to an exemplary embodiment, and as shown in Figure 5, after step slol, the method can also comprise:
In step s 106, if this locality does not exist template, then obtain template and data source from server.
In this embodiment, client is when determining that this locality does not exist the template corresponding with structured object to be generated, server to correspondence sends the 3rd request, wherein, the mark of structured object to be generated and data source and template request mark is carried in 3rd request, server is after receiving the 3rd request, from the 3rd request, parse the mark of data source and template request mark and structured object to be generated, and return the template corresponding with structured object to be generated and data source according to parsing content.
The generation embodiment of the method for said structure object, when there is not template in this locality, template and data source is obtained from server, make not need again to obtain template during the similar structured object to be generated of subsequent transmission structure, and only transmit data source, thus avoid transmitting a large amount of redundant datas, and then greatly save flow.
Fig. 6 is the process flow diagram of the generation method of a kind of structured object according to another exemplary embodiment, and as shown in Figure 6, the method can be applicable on server, and the method comprises:
In step s 601, data source corresponding to structured object to be generated and template corresponding to structured object to be generated is obtained.
In this embodiment, the mode that server obtains data source and template can be: receive client and send the second request, the mark of structured object to be generated and data source and template request mark is carried in this second request, server is after receiving the second request, the mark of data source and template request mark and structured object to be generated is parsed from the second request, and according to resolving the content obtaining data source corresponding with structured object to be generated and template.Can also be: after obtaining the data source corresponding with structured object to be generated and template, directly send to client.
In step S602, template and data source are sent to client, to make client according to data source and template generation structured object to be generated.
In this embodiment, server is after the acquisition data source corresponding with structured object to be generated and template, and template and data source are sent to client, and like this, client can according to data source and template generation structured object to be generated.
The generation embodiment of the method for said structure object, by obtaining the data source corresponding with structured object to be generated, and send template and data source to client, client is made to generate in the process of structured object to be generated according to above-mentioned template and data source, only transmit data source, and do not need to transmit template, thus avoid transmitting a large amount of redundant datas, and then greatly save flow.
Fig. 7 a is the process flow diagram of the generation method of another kind of structured object according to another exemplary embodiment, and as shown in Figure 7a, before step S601, the generation method of this structured object can also comprise:
In step S600, template corresponding to structured object to be generated is gone out according to the structure extraction of structured object to be generated, and determine according to structured object to be generated and template corresponding to structured object to be generated the data source that structured object to be generated is corresponding, then preserve template corresponding to structured object to be generated and data source.
Such as, the structure of two structured objects to be generated can be compared, first the common ground of the two is extracted, whether the difference section both then judging can represent by certain syntactic structure, if passable, then using common ground be used for representing that the syntactic structure of difference section is as template, if cannot, then using common ground as template.
In this embodiment, for the HTML code that two structure of web page are similar, the leaching process of description template:
Suppose, first HTML code is:
Suppose, second HTML code is:
The template that the HTML code that so server is similar according to above-mentioned two structures extracts is as follows:
Wherein, the difference section of above-mentioned two webpages is represented by variable and for loop grammar.Certainly, be only example herein, in actual applications, a lot of high-level syntax can be adopted to represent the difference section of webpage.
In this embodiment, can determine the data source corresponding with the HTML code of webpage according to the HTML code of the template extracted and above-mentioned webpage, wherein, the data source corresponding with first HTML code is:
The data source corresponding with second HTML code is:
As can be seen here, the similar structured object of two or more structure can a multiplexing template, like this, when server return structure object, can only transmission primaries template, only transmit data source afterwards, in other words, if client-side as browser preserve can be multiplexing template, then only need from server obtain data source, and do not need this template of repeated obtain, thus can avoid transmitting a large amount of redundant datas.
It should be noted that, structured object to be generated, except being web page code such as HTML code, can also be the code of control.
The generation embodiment of the method for said structure object, by going out template corresponding to structured object to be generated according to the structure extraction of structured object to be generated, and determine according to structured object to be generated and template corresponding to structured object to be generated the data source that structured object to be generated is corresponding, then template corresponding to structured object to be generated and data source is preserved, for server obtains template and data source, and return template to client and data source provides condition.
Fig. 7 b is the process flow diagram of the generation method of another kind of structured object according to another exemplary embodiment, and as shown in Figure 7b, the generation method of this structured object can also comprise:
In step s 701, when the template that structured object to be generated is corresponding exists renewal version, renewal version is sent to client, to make client, template corresponding for structured object to be generated is replaced with renewal version.
Server and browser can detect based on Etag mechanism the renewal version that whether there is template.
In step S702, when the template that structured object to be generated is corresponding exists renewal version, obtain attribute information, and judge whether data source upgrades according to this attribute information.
Wherein, attribute information is for representing whether data source upgrades.
In step S703, when judging that according to attribute information data source occurs to upgrade, sending the data source upgraded to client, generating structured object to be generated to make client according to the renewal template of version and the data source of renewal.
In step S704, when judging that according to attribute information data source does not occur to upgrade, send the unmodified information of data source to client.
Server and browser are when detecting based on Etag mechanism the renewal version that there is template, can by obtaining for representing whether data source the attribute information such as Etag attribute information upgraded occurs, judge whether data source upgrades, if judge that data source upgrades according to attribute information, the data source upgraded then is sent to client, like this, client can generate structured object to be generated according to the renewal template of version and the data source of renewal, if judge that data source upgrades according to attribute information, then to the information that client return data source is unmodified.
The generation embodiment of the method for said structure object, obtain the template upgrading version, and when data source occurs to upgrade, obtain the data source upgraded, that the current structure of server side structure based object generates owing to upgrading the template of version and current data source, so send the template upgrading version to client, client can be made consistent with the structured object to be generated that the structured object to be generated that current data source generates and server side provide according to the template upgrading version.
Fig. 8 is the block diagram of the generating apparatus of a kind of structured object according to an exemplary embodiment, this device can be positioned at client-side, client can comprise browser, also APP can be comprised, as shown in Figure 8, the generating apparatus of structured object comprises: obtain judge module 81, first acquisition module 82 and generation module 83.
Obtain judge module 81, be configured to obtain structured object and generate request, and judging whether this locality exists the template corresponding with structured object to be generated according to structured object generation request, structured object generates the information that request comprises structured object to be generated.
First acquisition module 82, obtains judge module 81 if be configured to and judges that this locality exists template, obtain the data source corresponding with structured object to be generated from server.
Generation module 83, the data source being configured to obtain according to template and the first acquisition module 82 generates structured object to be generated.
Device is as shown in Figure 8 for realizing above-mentioned method flow as shown in Figure 1, and the related content related to describes identical, does not repeat herein.
The generating apparatus embodiment of said structure object, after judging that this locality exists the template corresponding with structured object to be generated by acquisition judge module according to structured object generation request, the data source corresponding with structured object to be generated is obtained from server by the first acquisition module, and generate structured object to be generated by generation module according to the data source of above-mentioned template and acquisition, make in the generative process of structured object, only transmit data source, and do not need to transmit template, thus avoid transmitting a large amount of redundant datas, and then greatly save flow.
Fig. 9 A is the block diagram of the generating apparatus of another kind of structured object according to an exemplary embodiment, and as shown in Figure 9 A, on above-mentioned basis embodiment illustrated in fig. 8, this device also can comprise: detect to obtain and preserve module 84.
Detect to obtain and preserve module 84, be configured in before generation module 83 generates structured object to be generated according to template and data source, if detect, template exists upgrades version, then obtain the template upgrading version from server, and preserve the template upgrading version.
In addition, detect acquisition preservation module 84 also can be configured to: when obtaining from server the template upgrading version, obtain the data source corresponding with the template of renewal version from server.
Device is as shown in Figure 9 A for realizing above-mentioned method flow as shown in Figure 2 a, and the related content related to describes identical, does not repeat herein.
The generating apparatus embodiment of said structure object, the template of module from server acquisition renewal version is preserved by detecting to obtain, and when data source occurs to upgrade, the data source upgraded is obtained from server, and generate structured object to be generated according to the renewal template of version and the data source of renewal, and when data source does not occur to upgrade, template and the data source that obtains before according to upgrading version generate structured object to be generated.That the current structure of server side structure based object generates, so consistent with the structured object to be generated that the structured object to be generated that current data source generates can provide with server side according to the template upgrading version owing to upgrading the template of version and current data source.
Fig. 9 B is the block diagram of the generating apparatus of another kind of structured object according to an exemplary embodiment, and as shown in Figure 9 B, on above-mentioned basis embodiment illustrated in fig. 8, this device also can comprise: template engine generation module 85.
Template engine generation module 85, is configured to before generation module 83 generates structured object to be generated according to template and data source, generates template engine, and template engine is used for converting template and data source to structured object to be generated.
In one embodiment, above-mentioned structured object to be generated can comprise web page code, can also comprise control code.
Device is as shown in Figure 9 B for realizing above-mentioned method flow as shown in Figure 2 b, and the related content related to describes identical, does not repeat herein.
The generating apparatus method embodiment of said structure object, template engine is generated by template engine generation module, and the structured object to be generated that template engine generates according to the template and data source that upgrade version can be utilized, because template engine can convert template and data source to structured object to be generated rapidly, thus improve the formation efficiency of structured object to be generated.
Fig. 9 C is the block diagram of the generating apparatus of another kind of structured object according to an exemplary embodiment, and as shown in Figure 9 C, on above-mentioned basis embodiment illustrated in fig. 8, this device also can comprise: the second acquisition module 86.
Second acquisition module 86, obtains judge module 81 if be configured to and judges that this locality does not exist template, then obtain template and data source from server.
Device is as shown in Figure 9 C for realizing above-mentioned method flow as shown in Figure 5, and the related content related to describes identical, does not repeat herein.
The generating apparatus embodiment of said structure object, by the second acquisition module when this locality does not exist template, template and data source is obtained from server, make not need again to obtain template during the similar structured object to be generated of subsequent transmission structure, and only transmit data source, thus avoid transmitting a large amount of redundant datas, and then greatly save flow.
Figure 10 is the block diagram of the generating apparatus of another structured object according to an exemplary embodiment, and this device is positioned at server side, and as shown in Figure 10, the generating apparatus of structured object comprises: acquisition module 91 and sending module 92.
Acquisition module 91, is configured to obtain data source corresponding to structured object to be generated and template corresponding to structured object to be generated.
Sending module 92, is configured to acquisition module 91 to obtain template and data source send to client, to make client according to data source and template generation structured object to be generated.
Device is as shown in Figure 10 for realizing above-mentioned method flow as shown in Figure 6, and the related content related to describes identical, does not repeat herein.
The generating apparatus embodiment of said structure object, the data source corresponding with structured object to be generated is obtained by acquisition module, and send template and data source by sending module to client, client is made to generate in the process of structured object to be generated according to above-mentioned template and data source, only transmit data source, and do not need to transmit template, thus avoid transmitting a large amount of redundant datas, and then greatly save flow.
Figure 11 A is the block diagram of the generating apparatus of another structured object according to an exemplary embodiment, and as shown in Figure 11 A, on above-mentioned basis embodiment illustrated in fig. 10, this device also can comprise: extract determination module 93 and preserve module 94.
Extract determination module 93, be configured to go out template corresponding to structured object to be generated according to the structure extraction of structured object to be generated, and determine according to structured object to be generated and template corresponding to structured object to be generated the data source that structured object to be generated is corresponding.
Preserve module 94, be configured to preserve and extract template corresponding to the structured object to be generated that extracts of determination module 93 and extract data source corresponding to structured object to be generated that determination module determines.
Wherein, structured object to be generated, except being web page code such as HTML code, can also be the code of control.
Device is as shown in Figure 11 A for realizing above-mentioned method flow as shown in Figure 7a, and the related content related to describes identical, does not repeat herein.
The generating apparatus embodiment of said structure object, template corresponding to structured object to be generated is gone out according to the structure extraction of structured object to be generated by extracting determination module, and determine according to structured object to be generated and template corresponding to structured object to be generated the data source that structured object to be generated is corresponding, then template corresponding to structured object to be generated and data source is preserved by preserving module, for server obtains template and data source, and return template to client and data source provides condition.
Figure 11 B is the block diagram of the generating apparatus of another structured object according to an exemplary embodiment, and as shown in Figure 11 B, on the basis of above-mentioned 10 illustrated embodiments, this device also can comprise: detect sending module 95.
Detect sending module 95, be configured to, when detecting that template corresponding to structured object to be generated exists renewal version, renewal version be sent to client, to make client, template corresponding for structured object to be generated is replaced with renewal version.
In addition, device also can comprise: attribute information obtains module 96, data source sending module 97 and information sending module 98.
Attribute information obtains module 96, be configured to when detect sending module 95 detect template corresponding to structured object to be generated exist upgrade version time, acquisition attribute information, attribute information is for representing whether data source upgrades;
Data source sending module 97, be configured to when the attribute information obtaining module 96 acquisition according to attribute information judges that data source occurs to upgrade, send the data source upgraded to client, generate structured object to be generated to make client according to the renewal template of version and the data source of renewal;
Information sending module 98, is configured to, when the attribute information obtaining module 96 acquisition according to attribute information judges that data source does not occur to upgrade, send the unmodified information of data source to client.
Device is as shown in Figure 11 B for realizing above-mentioned method flow as shown in Figure 7b, and the related content related to describes identical, does not repeat herein.
The generating apparatus embodiment of said structure object, the template upgrading version is obtained by detecting sending module, the data source of module and data source sending module acquisition renewal is obtained by attribute information, and send the renewal template of version and the data source of renewal to client, that the current structure of server side structure based object generates owing to upgrading the template of version and the data source of renewal, so the content of the structured object to be generated that client can be made to generate according to the template and data source that upgrade version and server side is consistent.
About the device in above-described embodiment, wherein the concrete mode of modules, submodule executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Figure 12 is a kind of block diagram being applicable to the generating apparatus of structured object according to an exemplary embodiment.Such as, device 1200 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant, aircraft etc.
With reference to Figure 12, device 1200 can comprise following one or more assembly: processing components 1202, storer 1204, power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of I/O (I/O), sensor module 1214, and communications component 1216.
The integrated operation of the usual control device 1200 of processing components 1202, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 1202 can comprise one or more processor 1220 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1202 can comprise one or more module, and what be convenient between processing components 1202 and other assemblies is mutual.Such as, processing element 1202 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1208 and processing components 1202.
Storer 1204 is configured to store various types of data to be supported in the operation of equipment 1200.The example of these data comprises for any application program of operation on device 1200 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 1204 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 1206 is device 1200 provide electric power.Electric power assembly 1206 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1200 and be associated.
Multimedia groupware 1208 is included in the screen providing an output interface between described device 1200 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 1208 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1200 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 1210 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1210 comprises a microphone (MIC), and when device 1200 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 1204 further or be sent via communications component 1216.In certain embodiments, audio-frequency assembly 1210 also comprises a loudspeaker, for output audio signal.
I/O interface 1212 is for providing interface between processing components 1202 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 1214 comprises one or more sensor, for providing the state estimation of various aspects for device 1200.Such as, sensor module 1214 can detect the opening/closing state of equipment 1200, the relative positioning of assembly, such as described assembly is display and the keypad of device 1200, the position of all right pick-up unit 1200 of sensor module 1214 or device 1200 assemblies changes, the presence or absence that user contacts with device 1200, the temperature variation of device 1200 orientation or acceleration/deceleration and device 1200.Sensor module 1214 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 1214 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 1214 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 1216 is configured to the communication being convenient to wired or wireless mode between device 1200 and other equipment.Device 1200 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1216 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1216 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 1204 of instruction, above-mentioned instruction can perform said method by the processor 1220 of device 1200.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
Figure 13 is the block diagram of a kind of generating apparatus 1300 for structured object according to an exemplary embodiment.Such as, device 1300 may be provided in a server.With reference to Figure 13, device 1300 comprises processing components 1322, and it comprises one or more processor further, and the memory resource representated by storer 1332, can such as, by the instruction of the execution of processing element 1322, application program for storing.The application program stored in storer 1332 can comprise each module corresponding to one group of instruction one or more.In addition, processing components 1322 is configured to perform instruction, to perform the above method.
Device 1300 can also comprise the power management that a power supply module 1326 is configured to actuating unit 1300, and a wired or wireless network interface 1350 is configured to device 1300 to be connected to network, and input and output (I/O) interface 1358.Device 1300 can operate the operating system based on being stored in storer 1332, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art, at consideration instructions and after putting into practice disclosed herein disclosing, will easily expect other embodiment of the present invention.The application is intended to contain any modification of the present invention, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present invention and comprised the undocumented common practise in the art of the present invention or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are pointed out by claim below.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.Scope of the present invention is only limited by appended claim.
Claims (24)
1. a generation method for structured object, is characterized in that, described method comprises:
Acquisition structured object generates request, and judges whether this locality exists the template corresponding with structured object to be generated according to described structured object generation request, and described structured object generates the information that request comprises described structured object to be generated;
If this locality exists described template, obtain the data source corresponding with described structured object to be generated from server;
Described structured object to be generated is generated according to described template and described data source.
2. method according to claim 1, is characterized in that, described method also comprises:
Described generate described structured object to be generated according to described template and described data source before, if detect, described template exists upgrades version, then obtain the template upgrading version from described server, and preserve the template of described renewal version.
3. method according to claim 2, is characterized in that, described method also comprises:
When the described template from described server acquisition renewal version, obtain the data source corresponding with the template of described renewal version from described server.
4. method according to claim 1, is characterized in that, described method also comprises:
Described generate described structured object to be generated according to described template and described data source before, generate template engine, described template engine is used for converting described template and described data source to described structured object to be generated.
5. method according to claim 1, is characterized in that, described method also comprises:
If this locality does not exist described template, then obtain described template and data source from described server.
6. method according to claim 1, is characterized in that, described structured object to be generated comprises web page code and/or control code.
7. a generation method for structured object, is characterized in that, described method comprises:
Obtain data source corresponding to structured object to be generated and template corresponding to described structured object to be generated;
Described template and described data source are sent to client, to make described client structured object to be generated according to described data source and described template generation.
8. method according to claim 7, is characterized in that, described method also comprises:
Go out template corresponding to described structured object to be generated according to the structure extraction of described structured object to be generated, and determine according to described structured object to be generated and template corresponding to described structured object to be generated the data source that described structured object to be generated is corresponding;
Preserve template corresponding to described structured object to be generated and data source.
9. method according to claim 7, is characterized in that, described method also comprises:
When the template that described structured object to be generated is corresponding exists renewal version, described renewal version is sent to described client, to make described client, template corresponding for described structured object to be generated is replaced with described renewal version.
10. method according to claim 9, is characterized in that, described method also comprises:
When the template that described structured object to be generated is corresponding exists renewal version, obtain attribute information, described attribute information is for representing whether data source upgrades;
When judging that according to described attribute information data source occurs to upgrade, sending the data source upgraded to client, generating structured object to be generated to make described client according to the renewal template of version and the data source of renewal;
When judging that according to described attribute information data source does not occur to upgrade, send the unmodified information of data source to client.
11. methods according to claim 7, is characterized in that, described structured object to be generated comprises web page code and/or control code.
The generating apparatus of 12. 1 kinds of structured objects, is characterized in that, described device comprises:
Obtain judge module, be configured to obtain structured object and generate request, and judging whether this locality exists the template corresponding with structured object to be generated according to described structured object generation request, described structured object generates the information that request comprises described structured object to be generated;
First acquisition module, if be configured to described acquisition judge module to judge that this locality exists described template, obtains the data source corresponding with described structured object to be generated from server;
Generation module, the described data source being configured to obtain according to described template and described first acquisition module generates described structured object to be generated.
13. devices according to claim 12, is characterized in that, described device also comprises:
Detect to obtain and preserve module, be configured in described generation module according to before described template and the described structured object to be generated of described data source generation, if detect, described template exists upgrades version, then obtain the template upgrading version from described server, and preserve the template of described renewal version.
14. devices according to claim 13, is characterized in that, described detection obtains preserves module, is also configured to:
When the described template from described server acquisition renewal version, obtain the data source corresponding with the template of described renewal version from described server.
15. devices according to claim 12, is characterized in that, described device also comprises:
Template engine generation module, be configured to before described generation module generates described structured object to be generated according to described template and described data source, generate template engine, described template engine is used for converting described template and described data source to described structured object to be generated.
16. devices according to claim 12, is characterized in that, described device also comprises:
Second acquisition module, if be configured to described acquisition judge module to judge that this locality does not exist described template, then obtains described template and data source from described server.
17. devices according to claim 12, is characterized in that, described structured object to be generated comprises web page code and/or control code.
The generating apparatus of 18. 1 kinds of structured objects, is characterized in that, described device comprises:
Acquisition module, is configured to obtain data source corresponding to structured object to be generated and template corresponding to described structured object to be generated;
Sending module, is configured to described acquisition module to obtain described template and described data source send to client, to make described client structured object to be generated according to described data source and described template generation.
19. devices according to claim 18, is characterized in that, described device also comprises:
Extract determination module, be configured to go out template corresponding to described structured object to be generated according to the structure extraction of described structured object to be generated, and determine according to described structured object to be generated and template corresponding to described structured object to be generated the data source that described structured object to be generated is corresponding;
Preserve module, be configured to preserve the data source that structured object described to be generated that template corresponding to structured object described to be generated that described extraction determination module extracts and described extraction determination module determine is corresponding.
20. devices according to claim 18, is characterized in that, described device also comprises:
Detect sending module, be configured to when detect template corresponding to described structured object to be generated exist upgrade version time, described renewal version is sent to described client, to make described client, template corresponding for described structured object to be generated is replaced with described renewal version.
21. devices according to claim 20, is characterized in that, described device also comprises:
Attribute information obtains module, be configured to when described detection sending module detect template corresponding to described structured object to be generated exist upgrade version time, acquisition attribute information, described attribute information is for representing whether data source upgrades;
Data source sending module, be configured to when the described attribute information obtaining module acquisition according to described attribute information judges that data source occurs to upgrade, send the data source upgraded to client, generate structured object to be generated to make described client according to the renewal template of version and the data source of renewal;
Information sending module, is configured to, when the described attribute information obtaining module acquisition according to described attribute information judges that data source does not occur to upgrade, send the unmodified information of data source to client.
22. devices according to claim 18, is characterized in that, described structured object to be generated comprises web page code and/or control code.
The generating apparatus of 23. 1 kinds of structured objects, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Acquisition structured object generates request, and judges whether this locality exists the template corresponding with structured object to be generated according to described structured object generation request, and described structured object generates the information that request comprises described structured object to be generated;
If this locality exists described template, obtain the data source corresponding with described structured object to be generated from server;
Described structured object to be generated is generated according to described template and described data source.
The generating apparatus of 24. 1 kinds of structured objects, is characterized in that, comprising:
Processor;
For the storer of storage of processor executable instruction;
Wherein, described processor is configured to:
Obtain data source corresponding to structured object to be generated and template corresponding to described structured object to be generated;
Described template and described data source are sent to client, to make described client structured object to be generated according to described data source and described template generation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510378834.0A CN104965907A (en) | 2015-06-30 | 2015-06-30 | Structured object generation method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510378834.0A CN104965907A (en) | 2015-06-30 | 2015-06-30 | Structured object generation method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104965907A true CN104965907A (en) | 2015-10-07 |
Family
ID=54219945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510378834.0A Pending CN104965907A (en) | 2015-06-30 | 2015-06-30 | Structured object generation method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104965907A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107577788A (en) * | 2017-09-15 | 2018-01-12 | 广东技术师范学院 | A kind of electric business website Theme Crawler of Content method of automatic structure data |
CN109791641A (en) * | 2016-08-05 | 2019-05-21 | 瓦特博克有限公司 | Obtain the system and method for lacking the repeating transmission of electronic document of necessary data |
CN111736929A (en) * | 2020-06-22 | 2020-10-02 | 北京百度网讯科技有限公司 | Method, device and equipment for creating task instance and readable storage medium |
CN111832252A (en) * | 2019-04-15 | 2020-10-27 | 北京智启蓝墨信息技术有限公司 | Interactive exercise editing method, interactive exercise generating device and interactive exercise generating system in intelligent teaching material |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727446A (en) * | 2008-10-27 | 2010-06-09 | 国际商业机器公司 | Method and system for accessing mobile Web, corresponding server and mobile equipment |
CN102065572A (en) * | 2009-11-17 | 2011-05-18 | ***通信集团广东有限公司 | Mobile browser, gateway, browsing system and access method for internet page |
WO2014101650A1 (en) * | 2012-12-27 | 2014-07-03 | 腾讯科技(深圳)有限公司 | Method and device for acquiring information |
CN103970534A (en) * | 2014-04-15 | 2014-08-06 | 百度在线网络技术(北京)有限公司 | Method and equipment for supplying rendered page in mobile application |
-
2015
- 2015-06-30 CN CN201510378834.0A patent/CN104965907A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101727446A (en) * | 2008-10-27 | 2010-06-09 | 国际商业机器公司 | Method and system for accessing mobile Web, corresponding server and mobile equipment |
CN102065572A (en) * | 2009-11-17 | 2011-05-18 | ***通信集团广东有限公司 | Mobile browser, gateway, browsing system and access method for internet page |
WO2014101650A1 (en) * | 2012-12-27 | 2014-07-03 | 腾讯科技(深圳)有限公司 | Method and device for acquiring information |
CN103970534A (en) * | 2014-04-15 | 2014-08-06 | 百度在线网络技术(北京)有限公司 | Method and equipment for supplying rendered page in mobile application |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109791641A (en) * | 2016-08-05 | 2019-05-21 | 瓦特博克有限公司 | Obtain the system and method for lacking the repeating transmission of electronic document of necessary data |
CN107577788A (en) * | 2017-09-15 | 2018-01-12 | 广东技术师范学院 | A kind of electric business website Theme Crawler of Content method of automatic structure data |
CN111832252A (en) * | 2019-04-15 | 2020-10-27 | 北京智启蓝墨信息技术有限公司 | Interactive exercise editing method, interactive exercise generating device and interactive exercise generating system in intelligent teaching material |
CN111832252B (en) * | 2019-04-15 | 2024-03-01 | 北京智启蓝墨信息技术有限公司 | Interactive exercise editing method, generation method, device and system in intelligent teaching materials |
CN111736929A (en) * | 2020-06-22 | 2020-10-02 | 北京百度网讯科技有限公司 | Method, device and equipment for creating task instance and readable storage medium |
CN111736929B (en) * | 2020-06-22 | 2024-04-12 | 北京百度网讯科技有限公司 | Method, apparatus, device and readable storage medium for creating task instance |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10614172B2 (en) | Method, apparatus, and system for providing translated content | |
RU2604417C2 (en) | Method, device, terminal and server for message pushing via light application | |
CN104270404A (en) | Login method and device based on terminal identification | |
CN104615655A (en) | Information recommendation method and device | |
CN104778063A (en) | Method and device for updating resource | |
US10613845B2 (en) | System and method for providing service via application | |
CN104991916A (en) | Webpage loading method and apparatus | |
WO2019233316A1 (en) | Data processing method and device, mobile terminal, and storage medium | |
CN110262904B (en) | Data acquisition method and device | |
CN104035995A (en) | Method and device for generating group tags | |
CN104750793A (en) | Method and device for generating page tables | |
CN104010231A (en) | Data synchronizing method and device | |
CN105550643A (en) | Medical term recognition method and device | |
CN104965907A (en) | Structured object generation method and apparatus | |
CN109032491A (en) | Data processing method, device and mobile terminal | |
CN104361021A (en) | Webpage encoding identifying method and device | |
CN104111979A (en) | Search recommendation method and device | |
CN103870551A (en) | Method and device for obtaining cross-domain data | |
CN107948278B (en) | Information transmission method, terminal equipment and system | |
CN105354284A (en) | Template processing method and apparatus and short message identification method and apparatus | |
CN104063424B (en) | Web page picture shows method and demonstration device | |
CN105808304B (en) | Code deployment method, device and system | |
CN105049251A (en) | Access log processing method and system, and equipment | |
CN105488065A (en) | Webpage access method and device, and terminal | |
CN104268611A (en) | Webpage synchronizing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151007 |
|
RJ01 | Rejection of invention patent application after publication |