CN105975393A - Page display detection method and system - Google Patents
Page display detection method and system Download PDFInfo
- Publication number
- CN105975393A CN105975393A CN201610289495.3A CN201610289495A CN105975393A CN 105975393 A CN105975393 A CN 105975393A CN 201610289495 A CN201610289495 A CN 201610289495A CN 105975393 A CN105975393 A CN 105975393A
- Authority
- CN
- China
- Prior art keywords
- sharing
- share
- page
- information
- interaction platform
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/362—Software debugging
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Embodiments of the invention disclose a page display detection method. The method comprises the following steps: acquiring share page information to be shared on at least one target interaction platform; aiming to the share page information, calling a share interface of the at least one target interaction platform through preset sandbox environment simulation so as to generate share result information; and rendering the share result information, and simulating share page display information which is displayed in the at least one target interaction platform. The invention furthermore discloses a page display detection system. By adopting the page display detection method and system, the display information, in the target interaction platform, of share pages can be online simulated and detected, so that the developers can conveniently detect whether the pages have the condition that the share information is pulled wrongly, and the problems that the early-stage developers need to constantly carry out complicated operations such as test and mobile phone refreshing when encountering the condition that the share information is pulled wrongly during the development of H5 pages in the prior art and the result is influenced by cache in the process are avoided.
Description
Technical field
The present invention relates to computer internet field, particularly relate to detection method and system that the page shows.
Background technology
Along with electronics technology and the development of development of Mobile Internet technology, (particularly intelligent mobile sets electronic equipment
Standby) function from strength to strength, as long as user installs various application on an electronic device according to the demand of self
Program, just can complete various affairs.
Currently, the mobile terminal HTML5 page (being called for short H5) is very burning hot, and many companies are all by this burst of heat
Tide removes to publicize the product of oneself.Requisite in the middle of the H5 page is propagated is exactly (or to send out the sharing of the page
Cloth), and share the page and relate to sharing contents and the most correctly pass on the problem of content, but at wechat, QQ
The interaction platform such as space, QQ is often seen header error, is shared figure and pull the page of failure, official documents and correspondence mistake etc.
Face situation, this can largely effect on the effect spread that has of the H5 page, thus have impact on product purpose.
Summary of the invention
Embodiment of the present invention technical problem to be solved is, it is provided that detection method that a kind of page shows and
The detecting system that the page shows, can be easy to developer detect the page whether run into sharing information pull not to
Situation, has ensured that the sharing information of the page can correctly pull, has ensured the successful spread of the page.
In order to solve above-mentioned technical problem, embodiment of the present invention first aspect discloses the inspection that a kind of page shows
Survey method, including:
Obtain and need to share page info what at least one target interaction platform carried out sharing;
Share page info for described, call at least one target described by default sandbox environment simulation
Interaction platform share interface, generate and share object information;
Rendering described object information of sharing, analog information is at least one target interaction platform described
Share the page display information.
In conjunction with first aspect, in the implementation that the first is possible, described acquisition needs at least one mesh
What mark interaction platform carried out sharing shares page info, including:
The URL of capture input;
Captured by described URL and to be shared share page info.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, institute
State to be captured by described URL and to be shared share page info, including:
Described URL is sent to server by client;
Described server resolves described URL, obtains and to be shared shares page info.
In conjunction with the implementation that the second of first aspect is possible, in the implementation that the third is possible, institute
State and share page info for described, call at least one target described by default sandbox environment simulation and hand over
Mutually platform share interface, generate and share object information;Described object information of sharing is rendered, simulation
The display page of sharing at least one target interaction platform described shows information, including:
For described page info of sharing, described server uses PhantomJS simulation sandbox environment to transfer
At least one target interaction platform described share interface, generate and share object information;
Described object information of sharing is returned to described client by described server;
Described object information of sharing is rendered by described client by Javascript template, and analog information exists
The page of sharing at least one target interaction platform described shows information.
In conjunction with first aspect, or the first possible implementation of first aspect, or first aspect
The implementation that the second is possible, or the third possible implementation of first aspect, can at the 4th kind
In the implementation of energy, the interface of sharing of at least one target interaction platform described is packaged into one by arrangement in advance
Individual share developer component, complete at least one target described put down alternately by sharing developer component described in calling
The simulation sharing interface of platform is called.
Embodiment of the present invention second aspect discloses the detecting system that a kind of page shows, including:
Acquisition module, believes for obtaining the page of sharing needing to carry out sharing at least one target interaction platform
Breath;
Result-generation module, for sharing page info for described, is adjusted by default sandbox environment simulation
With the interface of sharing of at least one target interaction platform described, generate and share object information;
Render display module, for described object information of sharing is rendered, analog information described at least
The page of sharing in one target interaction platform shows information.
In conjunction with second aspect, in the implementation that the first is possible, described acquisition module includes:
Capturing unit, for capturing the URL of input;
Placement unit, to be shared shares page info for being captured by described URL.
In conjunction with the first possible implementation of second aspect, in the implementation that the second is possible, institute
State placement unit specifically for, by control client described URL is sent to server;
Described server resolves described URL, obtains and to be shared shares page info.
In conjunction with the implementation that the second of second aspect is possible, in the implementation that the third is possible, institute
State result-generation module specifically for, share page info for described, used by described server
PhantomJS simulation sandbox environment transfers the interface of sharing of at least one target interaction platform described, generation point
Enjoy object information;
Described render display module specifically for, by control described server described object information of sharing is returned
Back to described client;Described object information of sharing is rendered by described client by Javascript template,
The analog information page of sharing at least one target interaction platform described shows information.
In conjunction with second aspect, or the first possible implementation of second aspect, or second aspect
The implementation that the second is possible, or the third possible implementation of second aspect, can at the 4th kind
In the implementation of energy, the interface of sharing of at least one target interaction platform described is packaged into one by arrangement in advance
Individual share developer component, complete at least one target described put down alternately by sharing developer component described in calling
The simulation sharing interface of platform is called.
The embodiment of the present invention third aspect discloses a kind of computer-readable storage medium, described computer-readable storage medium
Having program stored therein, described program includes the of embodiment of the present invention first aspect or first aspect when performing
Implementation that the second of a kind of possible implementation or first aspect is possible or first aspect
The third possible implementation or first aspect the 4th kind of possible implementation in the page show
The Overall Steps of the detection method shown.
Implement the embodiment of the present invention, call at least one target interaction platform by default sandbox environment simulation
Share interface, generate share object information to sharing page info, and render sharing object information,
The analog information page of sharing in this at least one target interaction platform shows information, it is possible to achieve online mould
Intend detection and share page display information in target interaction platform, can be easy to whether developer detects the page
Run into sharing information pull not to situation, it is to avoid in prior art, front end developer is at the exploitation H5 page
Time run into sharing information pull not to situation, need constantly to test the troublesome operation that then mobile phone refreshes, with
And the problem that period may affect result because of caching;And more quick can obtain intuitively and share result
And effect, solve research staff due to the most directly perceived to the sensation of sharing information, it is not known that share result and effect
Technical problem the most how;It addition, by the interface specification of sharing being organized in distinct interaction platform in advance, and
Be packaged into one easily call share developer component, solve front end developer exploitation when want compatibility
Each big social platform, introduce different platform shares interface, the searching development interface trouble caused, interface literary composition
Shelves are in disorder, mix other interfaces various and are difficult to the technical problems such as separation, substantially increase development efficiency.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to enforcement
In example or description of the prior art, the required accompanying drawing used is briefly described, it should be apparent that, describe below
In accompanying drawing be only some embodiments of the present invention, for those of ordinary skill in the art, do not paying
On the premise of going out creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the detecting system Organization Chart that the page that the embodiment of the present invention provides shows;
Fig. 2 is the schematic flow sheet of the detection method that the page that the embodiment of the present invention provides shows;
Fig. 3 is the schematic flow sheet of another embodiment of the detection method that the page that the present invention provides shows;
Fig. 4 is the interface schematic diagram of the online page that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the detecting system that the page that the embodiment of the present invention provides shows;
Fig. 6 is the structural representation of the acquisition module that the embodiment of the present invention provides;
Fig. 7 is the structural representation of another embodiment of the detecting system that the page that the present invention provides shows.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than
Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creation
The every other embodiment obtained under property work premise, broadly falls into the scope of protection of the invention.
The inspection that each embodiment of the present invention can show based on the page that the embodiment of the present invention shown in Fig. 1 provides
Examining system Organization Chart is implemented, and electronic equipment (i.e. front end or client) can pass through the Internet and network-side
Server (rear end or network-side) be attached, front end can use HTML, CSS, Javascript,
The technology such as AJAX present shares result, and rear end can employ PhantomJS and Nodewebkit simulation
Each big interaction platform share sandbox environment, it is thus possible to correct simulation is shared result and presented.It will be appreciated that
The detecting system Organization Chart that the page of the embodiment of the present invention shows is not limited to shown in Fig. 1, it is also possible to for only including
The equipment of one end, as long as this equipment had both possessed the function of front end, also possesses the function of rear end, namely simultaneously
Saying, this equipment i.e. performs the operation of front end, performs again the operation of rear end, can be realized by individual equipment
The detection method that the page of the embodiment of the present invention shows.
It should be noted that in each embodiment of the present invention electronic equipment include but not limited to personal computer,
Personal digital assistant (Personal Digital Assis tant, PDA), media player, Intelligent mobile equipment (bag
Include mobile phone, removable computer, panel computer, intelligent television, intelligent watch, intelligent glasses and intelligence hands
Ring etc.) etc. equipment.Interaction platform (or interactive system) in each embodiment of the present invention includes but not limited to
Various social platform, live platform or chatting platform etc., user can be registered and be logged in by client
Mode enters interaction platform, applies or enjoy the interactive service that server corresponding to this interaction platform provides, with
Other users carry out various alternately.
The specific embodiment party of event execution method of the present invention is described in detail below in conjunction with Fig. 2 to Fig. 4 embodiment
Formula:
The schematic flow sheet of the detection method that the page that the embodiment of the present invention as shown in Figure 2 provides shows, bag
Include:
Step S200: obtain and need to share page info what at least one target interaction platform carried out sharing;
Specifically, the target interaction platform in the embodiment of the present invention can need the friendship carrying out sharing page test
Mutually platform, user or research staff share need with page what one or more target interaction platforms carried out testing
After surface information inputs to the detecting system that the page shows, the detecting system that this page shows i.e. gets this and shares
Page info.
Step S202: share page info for described, by default sandbox environment simulation call described in extremely
Lack the interface of sharing of a target interaction platform, generate and share object information;
Specifically, the detecting system that this page shows gets after this shares page info, can use
EXPRESS framework and NODE-WEBKIT application end packaging technique simulate the sandbox environment of social platform,
The interactive operation of the simulated operation page, obtains what each interaction platform was shared away in conjunction with nproxy agency service
Data and attribute.Generate finally by the return analyzing object and share object information;Or, this page shows
The detecting system shown can use pure order line (TERMINAL) PhantomJS simulation sandbox environment to transfer
At least one target interaction platform described share interface, generate and share object information.
It should be noted that PhantomJS carries the kernel of simulation browser, relative to graphical user circle
The NODE-WEBKIT technology at face (Graphical User Interface, GUI) interface, can be with lighter
The skilful more multi-functional mode of smaller volume provides the ability that each platform obtains sharing information, is not only able to avoid
Systematic function consumption when GUI opens, and solve the compatibility issue between each interaction platform, and
And autgmentability and vigorousness are obtained for lifting, therefore efficiency is promoted, it is possible to it is pre-that quick detection obtains
Look at and share page display information.
Step S204: render described object information of sharing, analog information is at least one target described
The page of sharing in interaction platform shows information.
Specifically, multiple object informations of sharing can be rendered to one by one by the detecting system that this page shows
Analog information frame, present to user or research staff.
The detecting system Organization Chart shown below in conjunction with the page shown in Fig. 1, the detecting system that this page shows
Including electronic equipment and server both sides, the detection side that the page provided refering to the present invention shown in Fig. 3 shows
The schematic flow sheet of another embodiment of method, is described in detail how that realizing online simulation detection shares the page at mesh
Display information in mark interaction platform, including:
Step S300: the URL of electronic equipment capture input;
Specifically, electronic equipment (being equivalent to client) can use HTML and CSS to make online page
Face, this online page can provide user or research staff to input the input frame of the URL that needs carry out sharing,
The interface schematic diagram of the online page that the embodiment of the present invention as shown in Figure 4 provides, then user is by browsing
Device logs in this online page, and after the input of this input frame needs to carry out the URL shared, this electronic equipment is i.e.
Capture the URL of input.This electronic equipment can be captured by this URL to be shared shares page info,
Specifically can perform step S302 to obtain and to be shared share page info.
Step S302: this URL is sent to server by electronic equipment;
Specifically, as shown in Figure 4, user or research staff only need to click on " inspection after input frame input URL
Survey " button, then the electronic equipment of local terminal, after the reasonability analyzing this URL is passed through, is i.e. connect by network
This URL is sent to server by mouth.It should be noted that this electronic equipment is sent to server URL
Backstage, period can be with the connection of the scheme holding of poll with server.
Step S304: server resolves described URL, obtains and to be shared shares page info;
Specifically, after server receives the URL that electronic equipment sends, this URL is resolved, with
Obtain and to be shared share page info.
Step S306: share page info for this, server uses PhantomJS to simulate sandbox environment
That transfers at least one target interaction platform described shares interface, generates and shares object information;
Specifically, server uses PhantomJS to simulate each interaction platform such as QQ, Qzone, wechat etc.
Calling platform native interface, it is desirable to provide the expanding library of Platform Dependent, by collecting the extension of each platform in advance
API also simplifies, before the page loads, by page hook or by the way of acting on behalf of alternate file bag, the most ingenious
Ground and in time allow current page select different interaction platform, come authentic and valid and directly generate or
Get page setup shares object information.
Step S308: described object information of sharing is returned to electronic equipment by server;
Step S310: described object information of sharing is rendered by electronic equipment by Javascript template, mould
Intend the display page of sharing at least one target interaction platform described and show information.
Specifically, this shares object information can be json data, then electronic equipment is receiving server
Return share object information after, it is possible to use Javascript template is rendered to simulation one by one result
Message box, presents to user or research staff, as shown in Figure 4, obtained simultaneously based on wechat, QQ and
Qzone shares page display information.User or research staff can more quick obtain intuitively share result and
Effect, solves research staff due to the most directly perceived to the sensation of sharing information, it is not known that share result and effect
Technical problem how.
Further, at least one target in the detection method that the page that the embodiment of the present invention provides shows is handed over
Mutually the sharing interface and can be arranged in advance and be packaged into one and share developer component, by calling described point of platform
Enjoy developer component to complete the simulation sharing interface of at least one target interaction platform described and call.
Specifically, in prior art, research staff or developer generally want compatible each big friendship exploitation when
Platform mutually, introduce different platform shares interface, therefore easily occurs finding development interface trouble, interface literary composition
Shelves are in disorder, mix other interfaces various and are difficult to the situations such as separation, and the page that the embodiment of the present invention provides shows
Detection method by arrange each target the most flat share interface, and have studied there is no API in the case of browse
Device captures the logic of information automatically, forms API exploitation document information and adjusts for developer with sharing developer component
With, substantially increase development efficiency.
Implement the embodiment of the present invention, call at least one target interaction platform by default sandbox environment simulation
Share interface, generate share object information to sharing page info, and render sharing object information,
The analog information page of sharing in this at least one target interaction platform shows information, it is possible to achieve online mould
Intend detection and share page display information in target interaction platform, can be easy to whether developer detects the page
Run into sharing information pull not to situation, it is to avoid in prior art, front end developer is at the exploitation H5 page
Time run into sharing information pull not to situation, need constantly to test the troublesome operation that then mobile phone refreshes, with
And the problem that period may affect result because of caching;And more quick can obtain intuitively and share result
And effect, solve research staff due to the most directly perceived to the sensation of sharing information, it is not known that share result and effect
Technical problem the most how;It addition, by the interface specification of sharing being organized in distinct interaction platform in advance, and
Be packaged into one easily call share developer component, solve front end developer exploitation when want compatibility
Each big social platform, introduce different platform shares interface, the searching development interface trouble caused, interface literary composition
Shelves are in disorder, mix other interfaces various and are difficult to the technical problems such as separation, substantially increase development efficiency.
For the ease of preferably implementing the such scheme of the embodiment of the present invention, the present invention also correspondence provides one
The detecting system that the page shows, the detecting system that the page that the embodiment of the present invention as shown in Figure 5 provides shows
Structural representation, the detecting system 50 that the page shows may include that acquisition module 500, result generate mould
Block 502 and render display module 504, wherein,
Acquisition module 500 needs to share the page what at least one target interaction platform carried out sharing for obtaining
Information;
Result-generation module 502, for sharing page info for described, is simulated by default sandbox environment
That calls at least one target interaction platform described shares interface, generates and shares object information;
Render display module 504 for described object information of sharing is rendered, analog information described extremely
The page of sharing in a few target interaction platform shows information.
Specifically, the structural representation of the acquisition module that the embodiment of the present invention as shown in Figure 6 provides, obtain
Module 500 includes: capturing unit 5000 and placement unit 5002, wherein,
Capturing unit 5000 is for capturing the URL of input;
Placement unit 5002 to be shared shares page info for being captured by described URL.
Specifically, the detecting system 50 that the page in the embodiment of the present invention shows can include client (i.e. electricity
Subset or front end) and server, placement unit 5000 specifically for, by controlling client by described system
One URLs is sent to server;Described server resolves described URL, obtains and treats point
That enjoys shares page info.
The most specifically, result-generation module 502 specifically for, share page info for described, by institute
Stating server uses PhantomJS simulation sandbox environment to transfer dividing of at least one target interaction platform described
Enjoy interface, generate and share object information;
Render display module 504 specifically for, by control described server described object information of sharing is returned
Back to described client;Described object information of sharing is rendered by described client by Javascript template,
The analog information page of sharing at least one target interaction platform described shows information.
So it will be appreciated that client has acquisition module 500, at the URL of capture input
After, this URL is sent to server;And server is receiving this URL
After, resolving this URL, obtain to be shared page info of sharing, server also has result
Generation module 502, shares page info for this, uses PhantomJS simulation sandbox environment to transfer described
At least one target interaction platform share interface, generate and share object information;And return this point to client
Enjoying object information, client also has the function rendering display module 504, and client receives server and returns
Return this share object information after, by Javascript template, described object information of sharing is rendered, mould
Intend the display page of sharing at least one target interaction platform described and show information.
Further, the interface of sharing of at least one target interaction platform described is packaged into one by arrangement in advance
Share developer component, complete at least one target interaction platform described by sharing developer component described in calling
The simulation sharing interface call.
Refer to the structure that Fig. 7, Fig. 7 are another embodiments of the detecting system that the page that the present invention provides shows
Schematic diagram.Wherein, as it is shown in fig. 7, the detecting system 70 that the page shows may include that at least one processes
Device 701, such as CPU, at least one network interface 704, user interface 703, memorizer 705, at least
One communication bus 702 and display screen 706.Wherein, communication bus 702 is used for realizing between these assemblies
Connection communication.Wherein, user interface 703 can include display screen, keyboard or mouse etc..Network connects
Mouth 704 optionally can include the wireline interface of standard, wave point (such as WI-FI interface).Memorizer 705
Can be high-speed RAM memorizer, it is also possible to be non-labile memorizer (non-volatile memory),
For example, at least one disk memory, memorizer 705 includes the flash in the embodiment of the present invention.Memorizer 705
Optionally can also is that at least one is located remotely from the storage system of aforementioned processor 701.As it is shown in fig. 7,
As the memorizer 705 of a kind of computer-readable storage medium can include operating system, network communication module,
The detection program that Subscriber Interface Module SIM and the page show.
In the detecting system 70 that the page shown in Fig. 7 shows, processor 701 may be used for calling memorizer
The detection program that in 705, the page of storage shows, and perform following operation:
Obtained by user interface 703 and need to share the page what at least one target interaction platform carried out sharing
Information;
Share page info for described, call at least one target described by default sandbox environment simulation
Interaction platform share interface, generate and share object information;
Described object information of sharing is rendered, by display screen 706 analog information described at least one
The page of sharing in target interaction platform shows information.
Specifically, processor 701 obtains needs to share page what at least one target interaction platform carried out sharing
Surface information, may include that
The URL of capture input;
Captured by described URL and to be shared share page info.
Specifically, processor 701 shares page info for described, is adjusted by default sandbox environment simulation
With the interface of sharing of at least one target interaction platform described, generate and share object information;Knot is shared to described
Really information renders, and analog information page display of sharing at least one target interaction platform described is believed
Breath, specifically includes:
For described page info of sharing, use PhantomJS simulation sandbox environment transfer described at least one
Individual target interaction platform share interface, generate and share object information;By Javascript template to described point
Enjoying object information to render, the analog information page of sharing at least one target interaction platform described shows
Show information.
Further, the interface of sharing of at least one target interaction platform described is packaged into one by arrangement in advance
Share developer component, complete at least one target interaction platform described by sharing developer component described in calling
The simulation sharing interface call.
In sum, implement the embodiment of the present invention, call at least one mesh by default sandbox environment simulation
That marks interaction platform shares interface, shares object information to sharing page info generation, and to sharing result letter
Breath renders, and the analog information page of sharing in this at least one target interaction platform shows information, can
With realize online simulation detection share page display information in target interaction platform, developer can be easy to
The detection page whether run into sharing information pull not to situation, it is to avoid in prior art, front end developer exists
The exploitation H5 page time run into sharing information pull not to situation, need constantly to test what then mobile phone refreshed
Troublesome operation, and the problem that period may affect result because of caching;And can more fast intuitively
Result and effect are shared in acquisition, solve research staff due to the most directly perceived to the sensation of sharing information, it is not known that
Share result and effect how technical problem;It addition, by being organized in sharing of distinct interaction platform in advance
Interface specification, and be packaged into one easily call share developer component, solve front end developer exploitation
When want compatible each big social platform, introduce different platform shares interface, the searching development interface caused
Trouble, interface document is in disorder, mixes other interfaces various and is difficult to the technical problems such as separation, substantially increases out
Send out efficiency.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method,
Can be by computer program and complete to instruct relevant hardware, described program can be stored in a calculating
In machine read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.
Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory,
Or random store-memory body (Random Access Memory, RAM) etc. ROM).
Above disclosed be only present pre-ferred embodiments, certainly can not with this limit the present invention it
Interest field, the equivalent variations therefore made according to the claims in the present invention, still belong to the scope that the present invention is contained.
Claims (10)
1. the detection method that a page shows, it is characterised in that including:
Obtain and need to share page info what at least one target interaction platform carried out sharing;
Share page info for described, call at least one target described by default sandbox environment simulation
Interaction platform share interface, generate and share object information;
Rendering described object information of sharing, analog information is at least one target interaction platform described
Share the page display information.
2. the method for claim 1, it is characterised in that described acquisition needs at least one target
What interaction platform carried out sharing shares page info, including:
The URL of capture input;
Captured by described URL and to be shared share page info.
3. method as claimed in claim 2, it is characterised in that described by described URL
Capture and to be shared share page info, including:
Described URL is sent to server by client;
Described server resolves described URL, obtains and to be shared shares page info.
4. method as claimed in claim 3, it is characterised in that described share page info for described,
The interface of sharing of at least one target interaction platform described, generation point is called by default sandbox environment simulation
Enjoy object information;Rendering described object information of sharing, analog information is handed at least one target described
The page of sharing in platform shows information mutually, including:
For described page info of sharing, described server uses PhantomJS simulation sandbox environment to transfer
At least one target interaction platform described share interface, generate and share object information;
Described object information of sharing is returned to described client by described server;
Described object information of sharing is rendered by described client by Javascript template, and analog information exists
The page of sharing at least one target interaction platform described shows information.
5. the method as described in any one of claim 1-4, it is characterised in that at least one target described is handed over
Mutually the interface of sharing of platform is arranged in advance and is packaged into one and shares developer component, shares out described in calling
Send out assembly to complete the simulation sharing interface of at least one target interaction platform described and call.
6. the detecting system that a page shows, it is characterised in that including:
Acquisition module, believes for obtaining the page of sharing needing to carry out sharing at least one target interaction platform
Breath;
Result-generation module, for sharing page info for described, is adjusted by default sandbox environment simulation
With the interface of sharing of at least one target interaction platform described, generate and share object information;
Render display module, for described object information of sharing is rendered, analog information described at least
The page of sharing in one target interaction platform shows information.
7. system as claimed in claim 6, it is characterised in that described acquisition module includes:
Capturing unit, for capturing the URL of input;
Placement unit, to be shared shares page info for being captured by described URL.
8. system as claimed in claim 7, it is characterised in that described placement unit specifically for, pass through
Control client and described URL is sent to server;Described server resolves described unified money
Source location accords with, and obtains and to be shared shares page info.
9. system as claimed in claim 8, it is characterised in that described result-generation module specifically for,
Share page info for described, use PhantomJS simulation sandbox environment to transfer by described server
At least one target interaction platform described share interface, generate and share object information;
Described render display module specifically for, by control described server described object information of sharing is returned
Back to described client;Described object information of sharing is rendered by described client by Javascript template,
The analog information page of sharing at least one target interaction platform described shows information.
10. the system as described in any one of claim 6-9, it is characterised in that at least one target described is handed over
Mutually the interface of sharing of platform is arranged in advance and is packaged into one and shares developer component, shares out described in calling
Send out assembly to complete the simulation sharing interface of at least one target interaction platform described and call.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610289495.3A CN105975393B (en) | 2016-05-04 | 2016-05-04 | Page display detection method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610289495.3A CN105975393B (en) | 2016-05-04 | 2016-05-04 | Page display detection method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105975393A true CN105975393A (en) | 2016-09-28 |
CN105975393B CN105975393B (en) | 2020-09-15 |
Family
ID=56993677
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610289495.3A Active CN105975393B (en) | 2016-05-04 | 2016-05-04 | Page display detection method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105975393B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107862729A (en) * | 2017-08-24 | 2018-03-30 | 平安普惠企业管理有限公司 | Level animation producing method, terminal and readable storage medium storing program for executing |
CN109032705A (en) * | 2018-07-05 | 2018-12-18 | 腾讯科技(深圳)有限公司 | Execution method, apparatus, electronic equipment and the readable storage medium storing program for executing of application program |
CN109597947A (en) * | 2018-10-09 | 2019-04-09 | 中国平安人寿保险股份有限公司 | Interface sharing method, device, electronic equipment and storage medium based on big data |
CN109672604A (en) * | 2018-09-25 | 2019-04-23 | 深圳壹账通智能科技有限公司 | Information sharing method, device, equipment and computer readable storage medium |
CN109829123A (en) * | 2017-11-22 | 2019-05-31 | 阿里巴巴集团控股有限公司 | A kind of method for sending information and device |
CN113641923A (en) * | 2021-08-26 | 2021-11-12 | 挂号网(杭州)科技有限公司 | Access page generation method and device, electronic equipment and storage medium |
CN114912058A (en) * | 2022-06-27 | 2022-08-16 | 中银金融科技有限公司 | Page rendering method and related equipment for bank customer full-time investigation system |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103297475A (en) * | 2012-03-01 | 2013-09-11 | 阿里巴巴集团控股有限公司 | Mock service system and processing method of Mock service |
CN103377120A (en) * | 2012-04-24 | 2013-10-30 | 深圳市财付通科技有限公司 | Test method and device for application programs |
CN103544101A (en) * | 2012-07-16 | 2014-01-29 | 深圳市世纪光速信息技术有限公司 | Wireless platform development automatic test system and method |
CN104199725A (en) * | 2014-09-27 | 2014-12-10 | 上海瀚之友信息技术服务有限公司 | Service interface data simulation method and system |
CN104407979A (en) * | 2014-12-15 | 2015-03-11 | 北京国双科技有限公司 | Script detection method and device |
CN104881343A (en) * | 2014-02-27 | 2015-09-02 | 北京京东尚科信息技术有限公司 | Testing method and testing system |
US20150378876A1 (en) * | 2014-06-25 | 2015-12-31 | Vmware, Inc. | Visual graphical user interface verification |
CN105471953A (en) * | 2014-09-10 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Client-side page dynamic display method, device and system |
-
2016
- 2016-05-04 CN CN201610289495.3A patent/CN105975393B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103297475A (en) * | 2012-03-01 | 2013-09-11 | 阿里巴巴集团控股有限公司 | Mock service system and processing method of Mock service |
CN103377120A (en) * | 2012-04-24 | 2013-10-30 | 深圳市财付通科技有限公司 | Test method and device for application programs |
CN103544101A (en) * | 2012-07-16 | 2014-01-29 | 深圳市世纪光速信息技术有限公司 | Wireless platform development automatic test system and method |
CN104881343A (en) * | 2014-02-27 | 2015-09-02 | 北京京东尚科信息技术有限公司 | Testing method and testing system |
US20150378876A1 (en) * | 2014-06-25 | 2015-12-31 | Vmware, Inc. | Visual graphical user interface verification |
CN105471953A (en) * | 2014-09-10 | 2016-04-06 | 腾讯科技(深圳)有限公司 | Client-side page dynamic display method, device and system |
CN104199725A (en) * | 2014-09-27 | 2014-12-10 | 上海瀚之友信息技术服务有限公司 | Service interface data simulation method and system |
CN104407979A (en) * | 2014-12-15 | 2015-03-11 | 北京国双科技有限公司 | Script detection method and device |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107862729A (en) * | 2017-08-24 | 2018-03-30 | 平安普惠企业管理有限公司 | Level animation producing method, terminal and readable storage medium storing program for executing |
CN107862729B (en) * | 2017-08-24 | 2021-07-02 | 平安普惠企业管理有限公司 | Hierarchical animation generation method, terminal and readable storage medium |
CN109829123A (en) * | 2017-11-22 | 2019-05-31 | 阿里巴巴集团控股有限公司 | A kind of method for sending information and device |
CN109032705A (en) * | 2018-07-05 | 2018-12-18 | 腾讯科技(深圳)有限公司 | Execution method, apparatus, electronic equipment and the readable storage medium storing program for executing of application program |
CN109672604A (en) * | 2018-09-25 | 2019-04-23 | 深圳壹账通智能科技有限公司 | Information sharing method, device, equipment and computer readable storage medium |
CN109672604B (en) * | 2018-09-25 | 2022-04-15 | 深圳壹账通智能科技有限公司 | Information sharing method, device, equipment and computer readable storage medium |
CN109597947A (en) * | 2018-10-09 | 2019-04-09 | 中国平安人寿保险股份有限公司 | Interface sharing method, device, electronic equipment and storage medium based on big data |
CN113641923A (en) * | 2021-08-26 | 2021-11-12 | 挂号网(杭州)科技有限公司 | Access page generation method and device, electronic equipment and storage medium |
CN114912058A (en) * | 2022-06-27 | 2022-08-16 | 中银金融科技有限公司 | Page rendering method and related equipment for bank customer full-time investigation system |
Also Published As
Publication number | Publication date |
---|---|
CN105975393B (en) | 2020-09-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105975393A (en) | Page display detection method and system | |
CN102521284B (en) | Page screenshot processing method and device based on mobile terminal browser | |
US10108715B2 (en) | Transformation and presentation of on-demand native application crawling results | |
CN107831974B (en) | Information sharing method and device and storage medium | |
CN109101425B (en) | Index point burying method and device for dynamic page AB test | |
CN104426985B (en) | Show the method, apparatus and system of webpage | |
CN103970760B (en) | A kind of web-page requests processing method and processing device | |
CN109740085A (en) | A kind of methods of exhibiting of content of pages, device, equipment and storage medium | |
CN105955888A (en) | Page debugging and previewing method and system | |
CN105205072B (en) | The methods of exhibiting and system of webpage information | |
CN102411614A (en) | Display Of Image Search Results | |
CN106406851A (en) | Webpage image capture method and system | |
CN110134880A (en) | Offer, display methods, device, electronic equipment and the storage medium of comment data | |
US10817895B2 (en) | Marketing campaign system and method | |
CN104424212A (en) | Method and device for sharing media content and method and device for display media content | |
CN109587031A (en) | Data processing method | |
CN105786207A (en) | Information input method and device | |
CN102622395A (en) | Method, server and client for assisting in accessing to webpage by application virtualization | |
CN106228364A (en) | A kind of information demonstrating method and present device | |
CN112764857A (en) | Information processing method and device and electronic equipment | |
CN108268260A (en) | It is a kind of quick micro- using assemble method based on integrated support technology | |
CN110177039A (en) | Message sharing method, device, computer equipment and storage medium | |
CN104021127A (en) | Information processing method and electronic device | |
CN103198113B (en) | A kind of processing method and processing device to webpage | |
CN104900094A (en) | Implementation method and device for writing simulation in terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |