CN106126518A - A kind of method and device generating the adaptive page - Google Patents
A kind of method and device generating the adaptive page Download PDFInfo
- Publication number
- CN106126518A CN106126518A CN201610379549.5A CN201610379549A CN106126518A CN 106126518 A CN106126518 A CN 106126518A CN 201610379549 A CN201610379549 A CN 201610379549A CN 106126518 A CN106126518 A CN 106126518A
- Authority
- CN
- China
- Prior art keywords
- page
- module
- initial module
- source
- assembly
- 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/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 present embodiments relate to adaptation technique field, in the embodiment of the present invention, propose a kind of method generating the adaptive page: obtain the source page, and from the page of described source, extract the first structure of the described source page;Preset rules is used to determine the second structure of the adaptive page according to described first structure, the initial module corresponding with any one object module in described second structure is there is, the initial module that object module correspondence that any two in described second structure is different is different in described first structure;Using described second structure as the described adaptive page, need not in this scenario develop new data base, it is not required that based on the system that api interface exploitation is new, therefore, solve the defect that complexity present in prior art is higher.
Description
Technical field
The present invention relates to adaptation technique field, particularly relate to a kind of method and device generating the adaptive page.
Background technology
Along with the development of communication technology, mobile device is applied more and more extensive in the life of people, such as mobile phone, flat board electricity
Brain etc..Under many circumstances, people are in external web environment, but need to access corporate intranet and handle official business, say, that need
Mobile device to be used accesses business system, owing to the display screen of mobile device is typically than notebook or the display of desktop computer
Shield little, although use mobile device can also access business system, however it is necessary that the page is repeatedly amplified by user, process is loaded down with trivial details,
Consumer's Experience is poor.
The following two kinds mode is currently mainly used to solve the problems referred to above: a kind of enterprise for developing a set of mobile device version
System, such as, the APP of business system;Another kind of for using based on API (Application Programming
Interface, application programming interface) develop the business system of a set of mobile device version, wherein, business system includes operation
Interface and data base.
Operation interface and the data base of the business system of first method exploitation are new, therefore there is complexity relatively
Defect high, that safety is relatively low;Second method needs change to be made to business system, therefore, there is also complexity higher
The defect relatively low with safety.
Summary of the invention
In view of the above problems, it is proposed that the present invention, in order to provide one overcome the problems referred to above or solve at least in part
The problems referred to above a kind of generates the method and device of the adaptive page, is used for solving that complexity present in prior art is higher, peace
The defect that full property is relatively low.
In the first aspect of embodiment of the present invention, it is provided that a kind of method generating the adaptive page, including:
The acquisition source page, and from the page of described source, extract the first structure of the described source page;
Use preset rules to determine the second structure of the adaptive page according to described first structure, deposit in described first structure
Any two in the initial module corresponding with any one object module in described second structure, described second structure is not
The corresponding different initial module of same object module;
Using described second structure as the described adaptive page.
In one embodiment, according to the method described in the above-mentioned embodiment of the present invention, described method also includes:
The assembly that each initial module in described first structure is corresponding is extracted from the page of described source.
In some embodiments, according to the method described in any of the above-described embodiment of the present invention, described method is also wrapped
Include:
Store described each initial module with the first mapping relations of corresponding assembly, described each initial module with corresponding
The second mapping relations of object module.
In some embodiments, according to the method described in any of the above-described embodiment of the present invention, from the described source page
In extract the first structure of the described source page, including:
Obtain DOM file, and from described DOM file, extract the first structure of the described source page;
The assembly that each initial module in described first structure is corresponding is extracted from the page of described source, including:
Obtain DOM file, and it is corresponding to extract each initial module in described first structure from described DOM file
Assembly.
In some embodiments, according to the method described in any of the above-described embodiment of the present invention, described first structure
In whole initial module all exist correspondence object module;Or, the part initial module in described first structure all exists
Corresponding object module.
In the second aspect of embodiment of the present invention, it is provided that a kind of device generating the adaptive page, including:
Acquiring unit, is used for obtaining the source page;
Extraction unit, for extracting the first structure of the described source page from the page of described source;
Determine unit, for using preset rules to determine the second structure of the adaptive page according to described first structure, in institute
State the initial module that in the first structure, existence is corresponding with any one object module in described second structure, described second structure
In the corresponding different initial module of the different object module of any two;
Described determine that unit is additionally operable to, using described second structure as the described adaptive page.
In one embodiment, according to the device described in the above-mentioned embodiment of the present invention, described extraction unit is also used
In, from the page of described source, extract the assembly that each initial module in described first structure is corresponding.
In some embodiments, according to the device described in any of the above-described embodiment of the present invention, described device also wraps
Include memory element, for storing described each initial module and the first mapping relations of corresponding assembly, described each introductory die
Second mapping relations of block and corresponding object module.
In some embodiments, according to the device described in any of the above-described embodiment of the present invention, described acquiring unit
It is additionally operable to, obtains DOM file;
When described extraction unit extracts the first structure of the described source page from the page of described source, particularly as follows:
The first structure of the described source page is extracted from described DOM file;
Described extraction unit extracts the group that each initial module in described first structure is corresponding from the page of described source
During part, particularly as follows:
The assembly that each initial module in described first structure is corresponding is extracted from described DOM file.
In some embodiments, according to the device described in any of the above-described embodiment of the present invention, described first structure
In whole initial module all exist correspondence object module;Or, the part initial module in described first structure all exists
Corresponding object module.
In the embodiment of the present invention, a kind of method generating the adaptive page is proposed: obtain the source page, and from the page of described source
Extract the first structure of the described source page;Preset rules is used to determine the second knot of the adaptive page according to described first structure
, there is the initial module corresponding with any one object module in described second structure in structure in described first structure, described
The corresponding different initial module of object module that any two in second structure is different;Using described second structure as described suitable
Gather leaves of a book face, need not in this scenario develop new data base, it is not required that business system is improved, therefore, solve
The defect that present in prior art, complexity is higher, safety is relatively low.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of description, and in order to allow above and other objects of the present invention, the feature and advantage can
Become apparent, below especially exemplified by the detailed description of the invention of the present invention.
Accompanying drawing explanation
By reading the detailed description of hereafter preferred implementation, various other advantage and benefit common for this area
Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as the present invention
Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical parts.In the accompanying drawings:
Figure 1A is a kind of flow chart of the method generating the adaptive page proposed according to embodiments of the invention;
Figure 1B is the schematic diagram of the source of the prior art page;
Fig. 1 C is a kind of schematic diagram of the adaptive page proposed according to embodiments of the invention;
Fig. 1 D is the another kind of schematic diagram of the adaptive page proposed according to embodiments of the invention;
Fig. 1 E be the adaptive page is operated after a kind of schematic diagram of the page of presenting;
Fig. 1 F be the source page is operated after a kind of schematic diagram of the page of presenting;
Fig. 2 is the schematic diagram of the device generating the adaptive page proposed according to embodiments of the invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows the disclosure
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should be by embodiments set forth here
Limited.On the contrary, it is provided that these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure
Complete conveys to those skilled in the art.
Figure 1A schematically shows the flow process signal of the method 10 generating the adaptive page according to embodiment of the present invention
Figure.As shown in Figure 1A, the method 10 can include step 100,110 and 120.
Step 100: obtain the source page, and extract the first structure of the described source page from the page of described source;
Step 110: use preset rules to determine the second structure of the adaptive page according to described first structure, described first
Structure exists the initial module corresponding with any one object module in described second structure, appointing in described second structure
The corresponding different initial module of two different object modules of anticipating;
Step 120: using described second structure as the described adaptive page.
Such as: Figure 1B be employee A draft this source page of application, the source page includes this portion of manpower administration department
Point, this part includes 10 initial module: employee's ask for leave request slip, employee's wages of application approval table, employee of becoming a full member adjust and examine
Criticize table, quarterly review table (engineering department), quarterly review table (functional department), request slip of going on business, employee's resignation application book, report back after leave of absence
Request slip, request slip of going out, intern are become a full member application form, and these 10 initial module present with two row, wherein, and the first row bag
Including 7 initial module, the second row includes 3 initial module, say, that the first structure of the source page includes two row, the first row
Including 7 initial module, the second row includes 3 initial module, and the second structure of the adaptive page determined according to the first structure can
With as shown in Figure 1 C, the second structure includes that 10 row, every a line include 1 object module, it is of course also possible to as shown in figure ip,
Second row includes that 5 row, every a line include 2 object modules.
It should be noted that the initial module described in the embodiment of the present invention refers to the part in the page of source, target
Module refers to the part in the adaptive page, as become a full member application approval table, employee of the employee in Figure 1B asks for leave request slip, Yuan Gongxin
Money adjusts approval form etc. and is initial module, and become a full member application approval table, employee of the employee in Fig. 1 C asks for leave request slip, employee's wages
Adjust approval form etc. and be object module.
In the embodiment of the present invention, user can present the page of correspondence when operating the adaptive page, and the page presented
Face not only includes page structure, also includes the data filled in structure, and generate after performing step 100-120 is the adaptive page
Structure so that user successfully presents the page of correspondence when to adaptive page operation, further, method 10 also includes
Following operation:
The assembly that each initial module in described first structure is corresponding is extracted from the page of described source.
Still illustrating as a example by Figure 1B, become a full member assembly corresponding to application approval table, employee of employee to be extracted asks for leave application
Assembly, employee's wages that single pair of is answered adjust assembly corresponding to approval form, the assembly of quarterly review table (engineering department) correspondence, season
Assembly that table of merit rating (functional department) is corresponding, the assembly that request slip of going on business is corresponding, assembly that employee's resignation application book is corresponding, report back after leave of absence
Assembly that request slip is corresponding, the assembly that request slip of going out is corresponding, intern are become a full member assembly corresponding to application form.So, Yong Hu
The page can be carried out according to corresponding assembly when clicking on each object module in Fig. 1 C or Fig. 1 D to present, such as, user
Click on the employee in Fig. 1 C or Fig. 1 D become a full member application approval table object module time, mobile device is become a full member application approval according to employee
The assembly that table is corresponding carries out the page and presents, and the page presented is as referring to figure 1e.User click on the employee in Figure 1B become a full member application examine
When criticizing this initial module of table, present the page as shown in Figure 1 F.
In the embodiment of the present invention, the source page is different with the structure of the adaptive page, say, that same module the source page with
Position in the adaptive page is different, but the assembly of correspondence should be identical, such as, employee's wages adjust approval form this
Module is in the first row, the 3rd row in the page Figure 1B of source, is in the third line, first row, in adaptation in adaptive page Fig. 1 C
Page Fig. 1 D is in the second row, first row, but whether be in the page where the assembly corresponding with this module is
Identical, therefore, in the embodiment of the present invention, also include operating as follows:
Store described each initial module with the first mapping relations of corresponding assembly, described each initial module with corresponding
The second mapping relations of object module.
Such as, the corresponding initial module 1 of assembly 1, the corresponding object module 1 of initial module 1, then user is clicking on object module
When 1, mobile device determines initial module 1 according to the second mapping relations, maps further according to the initial module 1 and first determined
Relation can determine that assembly 1 further, so, user when clicking on object module 1, mobile device can with invocation component 1, and
Assembly 1 is carried out the page present.
In the embodiment of the present invention, the mode of the first structure extracting the described source page from the page of described source has multiple,
It is alternatively possible in the following way:
Obtain DOM (Document Object Model, document dbject model) file, and extract from described DOM file
Go out the first structure of the described source page;
When extracting assembly corresponding to each initial module in described first structure from the page of described source, alternatively,
Can be in the following way:
Obtain DOM file, and it is corresponding to extract each initial module in described first structure from described DOM file
Assembly.
The above-mentioned concrete mode simply obtaining the first structure assembly corresponding with the first initial module, in actual applications,
It is not limited to aforesaid way.
In the embodiment of the present invention, all there is the object module of correspondence in the whole initial module in described first structure;Or,
All there is the object module of correspondence in the part initial module in described first structure.
It is to say, the initial module in the page of source can all have the object module of correspondence, or it is right to only have part to have
The object module answered.
Such as, in the source page shown in Figure 1B, this part of manpower administration department includes 10 initial module, wherein it is possible to be
10 initial module have the object module of correspondence, i.e. there are 10 object modules, or, it is also possible to it is that 8 initial module have
Corresponding object module, 2 initial module do not have the object module of correspondence.
Be above by draft application only includes this part of manpower administration department as a example by illustrate, in actual applications,
Draft application and can include manpower administration department and Finance Department, or further, then include other parts, concrete limit is not done at this
Fixed.
In this scenario, it is not necessary to develop new data base, it is not to develop based on api interface, therefore, solves
The defect that present in prior art, complexity is higher.
Refering to shown in Fig. 2, the embodiment of the present invention also proposes the schematic diagram of a kind of device 20 generating the adaptive page, generates suitable
The device 20 in face of gathering leaves of a book includes acquiring unit 200, extraction unit 210, determines unit 220, wherein:
Acquiring unit 200, is used for obtaining the source page;
Extraction unit 210, for extracting the first structure of the described source page from the page of described source;
Determine unit 220, for using preset rules to determine the second structure of the adaptive page according to described first structure,
Described first structure exists the initial module corresponding with any one object module in described second structure, described second knot
The corresponding different initial module of object module that any two in structure is different;
Described determine that unit 220 is additionally operable to, using described second structure as the described adaptive page.
Such as: Figure 1B be employee A draft this source page of application, the source page includes this portion of manpower administration department
Point, this part includes 10 initial module: employee's ask for leave request slip, employee's wages of application approval table, employee of becoming a full member adjust and examine
Criticize table, quarterly review table (engineering department), quarterly review table (functional department), request slip of going on business, employee's resignation application book, report back after leave of absence
Request slip, request slip of going out, intern are become a full member application form, and these 10 initial module present with two row, wherein, and the first row bag
Including 7 initial module, the second row includes 3 initial module, say, that the first structure of the source page includes two row, the first row
Including 7 initial module, the second row includes 3 initial module, and the second structure of the adaptive page determined according to the first structure can
With as shown in Figure 1 C, the second structure includes that 10 row, every a line include 1 object module, it is of course also possible to as shown in figure ip,
Second row includes that 5 row, every a line include 2 object modules.
It should be noted that the initial module described in the embodiment of the present invention refers to the part in the page of source, target
Module refers to the part in the adaptive page, as become a full member application approval table, employee of the employee in Figure 1B asks for leave request slip, Yuan Gongxin
Money adjusts approval form etc. and is initial module, and become a full member application approval table, employee of the employee in Fig. 1 C asks for leave request slip, employee's wages
Adjust approval form etc. and be object module.
In the embodiment of the present invention, user can present the page of correspondence when operating the adaptive page, and the page presented
Face not only includes page structure, also includes the data filled in structure, so that user's success when to adaptive page operation
Presenting the page of correspondence, further, described extraction unit 210 is additionally operable to, and extracts described first structure from the page of described source
In assembly corresponding to each initial module.
Still illustrating as a example by Figure 1B, become a full member assembly corresponding to application approval table, employee of employee to be extracted asks for leave application
Assembly, employee's wages that single pair of is answered adjust assembly corresponding to approval form, the assembly of quarterly review table (engineering department) correspondence, season
Assembly that table of merit rating (functional department) is corresponding, the assembly that request slip of going on business is corresponding, assembly that employee's resignation application book is corresponding, report back after leave of absence
Assembly that request slip is corresponding, the assembly that request slip of going out is corresponding, intern are become a full member assembly corresponding to application form.So, Yong Hu
The page can be carried out according to corresponding assembly when clicking on each object module in Fig. 1 C or Fig. 1 D to present, such as, user
Click on the employee in Fig. 1 C or Fig. 1 D become a full member application approval table object module time, mobile device is become a full member application approval according to employee
The assembly that table is corresponding carries out the page and presents, and the page presented is as referring to figure 1e.User click on the employee in Figure 1B become a full member application examine
When criticizing this initial module of table, present the page as shown in Figure 1 F.
In the embodiment of the present invention, the source page is different with the structure of the adaptive page, say, that same module the source page with
Position in the adaptive page is different, but the assembly of correspondence should be identical, such as, employee's wages adjust approval form this
Module is in the first row, the 3rd row in the page Figure 1B of source, is in the third line, first row, in adaptation in adaptive page Fig. 1 C
Page Fig. 1 D is in the second row, first row, but whether be in the page where the assembly corresponding with this module is
Identical, therefore, in the embodiment of the present invention, described device also includes memory element 230, is used for storing described each initial module
With the first mapping relations of corresponding assembly, the second mapping relations of described each initial module and corresponding object module.
Such as, the corresponding initial module 1 of assembly 1, the corresponding object module 1 of initial module 1, then user is clicking on object module
When 1, mobile device determines initial module 1 according to the second mapping relations, maps further according to the initial module 1 and first determined
Relation can determine that assembly 1 further, so, user when clicking on object module 1, mobile device can with invocation component 1, and
Assembly 1 is carried out the page present.
In the embodiment of the present invention, further, described acquiring unit 200 is additionally operable to, and obtains DOM file;
When described extraction unit 210 extracts the first structure of the described source page from the page of described source, particularly as follows:
The first structure of the described source page is extracted from described DOM file;
It is corresponding that described extraction unit 210 extracts each initial module in described first structure from the page of described source
During assembly, particularly as follows:
The assembly that each initial module in described first structure is corresponding is extracted from described DOM file.
The above-mentioned concrete mode simply obtaining the first structure assembly corresponding with the first initial module, in actual applications,
It is not limited to aforesaid way.
In the embodiment of the present invention, alternatively, all there is the target mould of correspondence in the whole initial module in described first structure
Block;Or, all there is the object module of correspondence in the part initial module in described first structure.
It is to say, the initial module in the page of source can all have the object module of correspondence, or it is right to only have part to have
The object module answered.
Such as, in the source page shown in Figure 1B, this part of manpower administration department includes 10 initial module, wherein it is possible to be
10 initial module have the object module of correspondence, i.e. there are 10 object modules, or, it is also possible to it is that 8 initial module have
Corresponding object module, 2 initial module do not have the object module of correspondence.
Be above by draft application only includes this part of manpower administration department as a example by illustrate, in actual applications,
Draft application and can include manpower administration department and Finance Department, or further, then include other parts, concrete limit is not done at this
Fixed.
In this scenario, it is not necessary to develop new data base, it is not to develop based on api interface, therefore, solves
The defect that present in prior art, complexity is higher.
Method and apparatus is not intrinsic to any certain computer, virtual system or miscellaneous equipment relevant provided herein.
Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of device
Structure be apparent from.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various
Programming language realizes the content of invention described herein, and the description done language-specific above is to disclose this
Bright preferred forms.
In description mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that the enforcement of the present invention
Example can be put into practice in the case of not having these details.In some instances, it is not shown specifically known method, structure
And technology, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that one or more in order to simplify that the disclosure helping understands in each inventive aspect, exist
Above in the description of the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes
In example, figure or descriptions thereof.But, the method for the disclosure should not be construed to reflect an intention that i.e. required guarantor
The application claims feature more more than the feature being expressly recited in each claim protected.More precisely, such as right
As claim is reflected, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool
Claims of body embodiment are thus expressly incorporated in this detailed description of the invention, the conduct of the most each claim itself
The independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out the module in the device in embodiment adaptively
Change and they are arranged in one or more devices different from this embodiment.Can be the some modules in embodiment
It is combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.
In addition at least some in such feature and/or process or module excludes each other, any combination can be used right
All features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and the disclosedest any method
Or all processes of equipment or unit are combined.Unless expressly stated otherwise, this specification (includes that adjoint right is wanted
Ask, make a summary and accompanying drawing) disclosed in each feature can by provide identical, equivalent or similar purpose alternative features replace.
Although additionally, it will be appreciated by those of skill in the art that embodiments more described herein include other embodiments
Some feature included by rather than further feature, but the combination of the feature of different embodiment means to be in the present invention's
Within the scope of and form different embodiments.Such as, in detail in the claims, embodiment required for protection one of arbitrarily
Can mode use in any combination.
Each device embodiment of the present invention can realize with hardware, or to run on one or more processor
Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that and can use in practice
Microprocessor or digital signal processor (DSP) realize the some or all moulds in device according to embodiments of the present invention
The some or all functions of block.The present invention is also implemented as the part for performing method as described herein or complete
The device program (such as, computer program and computer program) in portion.The program of such present invention of realization can store
On a computer-readable medium, or can be to have the form of one or more signal.Such signal can be from the Internet
Download on website and obtain, or provide on carrier signal, or provide with any other form.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and ability
Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference marks that should not will be located between bracket is configured to limitations on claims.Word " comprises " and does not excludes the presence of not
Arrange element in the claims or step.Word "a" or "an" before being positioned at element does not excludes the presence of multiple such
Element.The present invention and can come real by means of including the hardware of some different elements by means of properly programmed computer
Existing.If in the unit claim listing equipment for drying, several in these devices can be by same hardware branch
Specifically embody.Word first, second and third use do not indicate that any order.These word explanations can be run after fame
Claim.
Claims (10)
1. the method generating the adaptive page, including:
The acquisition source page, and from the page of described source, extract the first structure of the described source page;
Use preset rules to determine the second structure of the adaptive page according to described first structure, exist in described first structure with
The initial module that any one object module in described second structure is corresponding, any two in described second structure is different
The corresponding different initial module of object module;
Using described second structure as the described adaptive page.
2. the method for claim 1, described method also includes:
The assembly that each initial module in described first structure is corresponding is extracted from the page of described source.
3. method as claimed in claim 2, described method also includes:
Store described each initial module and the first mapping relations of corresponding assembly, described each initial module and corresponding mesh
Second mapping relations of mark module.
4. the method for claim 1, extracts the first structure of the described source page from the page of described source, including:
Obtain document dbject model DOM file, and from described DOM file, extract the first structure of the described source page;
The assembly that each initial module in described first structure is corresponding is extracted from the page of described source, including:
Obtain DOM file, and from described DOM file, extract the group that each initial module in described first structure is corresponding
Part.
5. the method as described in any one of claim 1-4, all there is correspondence in the whole initial module in described first structure
Object module;Or, all there is the object module of correspondence in the part initial module in described first structure.
6. generate a device for the adaptive page, including:
Acquiring unit, is used for obtaining the source page;
Extraction unit, for extracting the first structure of the described source page from the page of described source;
Determine unit, for using preset rules to determine the second structure of the adaptive page according to described first structure, described the
One structure exists the initial module corresponding with any one object module in described second structure, in described second structure
The corresponding different initial module of object module that any two is different;
Described determine that unit is additionally operable to, using described second structure as the described adaptive page.
7. device as claimed in claim 6, described extraction unit is additionally operable to, and extracts described first structure from the page of described source
In assembly corresponding to each initial module.
8. device as claimed in claim 7, described device also includes memory element, be used for storing described each initial module with
Second mapping relations of corresponding the first mapping relations of assembly, described each initial module and corresponding object module.
9. device as claimed in claim 6, described acquiring unit is additionally operable to, and obtains document dbject model DOM file;
When described extraction unit extracts the first structure of the described source page from the page of described source, particularly as follows:
The first structure of the described source page is extracted from described DOM file;
When described extraction unit extracts assembly corresponding to each initial module in described first structure from the page of described source,
Particularly as follows:
The assembly that each initial module in described first structure is corresponding is extracted from described DOM file.
10. the device as described in any one of claim 6-9, all there is correspondence in the whole initial module in described first structure
Object module;Or, all there is the object module of correspondence in the part initial module in described first structure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379549.5A CN106126518A (en) | 2016-05-31 | 2016-05-31 | A kind of method and device generating the adaptive page |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610379549.5A CN106126518A (en) | 2016-05-31 | 2016-05-31 | A kind of method and device generating the adaptive page |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106126518A true CN106126518A (en) | 2016-11-16 |
Family
ID=57270320
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610379549.5A Pending CN106126518A (en) | 2016-05-31 | 2016-05-31 | A kind of method and device generating the adaptive page |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106126518A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101025738A (en) * | 2006-02-21 | 2007-08-29 | 广州保税区天懋数码电子商务有限公司 | Template-free dynamic website generating method |
CN101815093A (en) * | 2010-03-11 | 2010-08-25 | 深圳市嘉讯软件有限公司 | Method for adapting webpage to mobile terminal and mobile terminal page adaptation device |
CN102262684A (en) * | 2011-08-30 | 2011-11-30 | 深圳市五巨科技有限公司 | Method and device for generating webpage page of mobile terminal |
CN102959507A (en) * | 2011-03-07 | 2013-03-06 | 株式会社秀凯斯·Tv | Web display program conversion system, Web display program conversion method, and program for Web display program conversion |
CN105574049A (en) * | 2014-10-30 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Page processing method, device and system of mobile applications |
-
2016
- 2016-05-31 CN CN201610379549.5A patent/CN106126518A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101025738A (en) * | 2006-02-21 | 2007-08-29 | 广州保税区天懋数码电子商务有限公司 | Template-free dynamic website generating method |
CN101815093A (en) * | 2010-03-11 | 2010-08-25 | 深圳市嘉讯软件有限公司 | Method for adapting webpage to mobile terminal and mobile terminal page adaptation device |
CN102959507A (en) * | 2011-03-07 | 2013-03-06 | 株式会社秀凯斯·Tv | Web display program conversion system, Web display program conversion method, and program for Web display program conversion |
CN102262684A (en) * | 2011-08-30 | 2011-11-30 | 深圳市五巨科技有限公司 | Method and device for generating webpage page of mobile terminal |
CN105574049A (en) * | 2014-10-30 | 2016-05-11 | 阿里巴巴集团控股有限公司 | Page processing method, device and system of mobile applications |
Non-Patent Citations (3)
Title |
---|
艾军: "面向移动终端的Web内容适配研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
陈栋: "WEB页面的移动终端适配技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
高集荣等: "基于树结构的Web页面适配方法的研究", 《微型机与应用》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104572043B (en) | A kind of control to client application carries out burying method and device a little in real time | |
CN103632100B (en) | A kind of website vulnerability detection method and device | |
US20160098804A1 (en) | Method and system for using interchangeable analytics modules to provide tax return preparation systems | |
CN110221968A (en) | Method for testing software and Related product | |
CN105068921B (en) | Android based on App comparative analyses applies the evaluation method of shop confidence level | |
CN104899016B (en) | Allocating stack Relation acquisition method and device | |
CN105302710A (en) | Method and apparatus for determining test case in need of regression testing | |
CN110795697B (en) | Method and device for acquiring logic expression, storage medium and electronic device | |
CN108304329B (en) | Test case design method and device, terminal and readable storage medium | |
CN104239206B (en) | Webpage method of testing and device | |
CN114595343B (en) | Map display method and device, storage medium and electronic equipment | |
US9357366B2 (en) | Auditing of mobile applications | |
CN103746782A (en) | Method and apparatus for obtaining feedback information of application | |
CN108470004A (en) | Test script generation method, test method, device, equipment and storage medium | |
CN104504096B (en) | A kind of information transferring method and web page browsing device of inter-network page | |
CN108111369A (en) | The test method and device of a kind of webpage performance of mobile terminal | |
CN106980501A (en) | A kind of software package management method, device and system | |
CN107220066A (en) | Method and device for releasing application software in application store | |
CN109739704A (en) | A kind of interface test method, server-side and computer readable storage medium | |
CN103530386B (en) | The edit methods and browser of browsing device net page | |
CN110020242A (en) | A kind of document reading progress synchronous method and device based on Web | |
FI20195472A1 (en) | Method and system for integration testing | |
CN106557585A (en) | A kind of automatic storage method of information and device | |
US10140278B2 (en) | Computer-implemented methods and systems for associating files with cells of a collaborative spreadsheet | |
CN104572753A (en) | Bookmark storage method and bookmark storage 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: 20161116 |
|
RJ01 | Rejection of invention patent application after publication |