CN105975393B - Page display detection method and system - Google Patents

Page display detection method and system Download PDF

Info

Publication number
CN105975393B
CN105975393B CN201610289495.3A CN201610289495A CN105975393B CN 105975393 B CN105975393 B CN 105975393B CN 201610289495 A CN201610289495 A CN 201610289495A CN 105975393 B CN105975393 B CN 105975393B
Authority
CN
China
Prior art keywords
shared
sharing
information
page
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.)
Active
Application number
CN201610289495.3A
Other languages
Chinese (zh)
Other versions
CN105975393A (en
Inventor
谭照强
张昆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610289495.3A priority Critical patent/CN105975393B/en
Publication of CN105975393A publication Critical patent/CN105975393A/en
Application granted granted Critical
Publication of CN105975393B publication Critical patent/CN105975393B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/362Software 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)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a page display detection method, which comprises the following steps: acquiring shared page information needing to be shared on at least one target interaction platform; for the shared page information, a sharing interface of the at least one target interaction platform is called through preset sandbox environment simulation, and shared result information is generated; rendering the sharing result information, and simulating the sharing page display information displayed in the at least one target interaction platform. The invention also discloses a detection system for page display, which can realize online simulation detection of the display information of the shared page in the target interaction platform, can facilitate developers to detect whether the page is not pulled by the shared information, and avoids the problems that in the prior art, a front-end developer needs to continuously test the complicated operation of refreshing a mobile phone and the result is possibly influenced by cache when the front-end developer develops the H5 page.

Description

Page display detection method and system
Technical Field
The invention relates to the field of computer internet, in particular to a page display detection method and system.
Background
With the development of electronic technology and mobile internet technology, electronic devices (especially smart mobile devices) have increasingly powerful functions, and as long as users install various application programs on the electronic devices according to their own needs, various transactions can be completed.
Currently, the mobile HTML5 page (H5) is very hot, and many companies advertise their products with the hot flash. The sharing (or publishing) of the page is indispensable in the H5 page propagation, and the sharing page relates to the problem of whether the shared content correctly conveys the content, however, page conditions such as title error, sharing drawing failure, file error and the like are often seen in interactive platforms such as WeChat, QQ space, QQ and the like, which greatly influences the effective propagation of the H5 page, thereby influencing the product purpose.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a page display detection method and a page display detection system, which can facilitate developers to detect whether a page is subject to a situation that the shared information is not pulled correctly, ensure that the shared information of the page can be pulled correctly, and ensure the successful propagation of the page.
In order to solve the above technical problem, a first aspect of an embodiment of the present invention discloses a method for detecting page display, including:
acquiring shared page information needing to be shared on at least one target interaction platform;
for the shared page information, a sharing interface of the at least one target interaction platform is called through preset sandbox environment simulation, and shared result information is generated;
rendering the sharing result information, and simulating the sharing page display information displayed in the at least one target interaction platform.
With reference to the first aspect, in a first possible implementation manner, the obtaining shared page information that needs to be shared in at least one target interaction platform includes:
capturing an input uniform resource locator;
and capturing shared page information to be shared through the uniform resource locator.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the capturing, by using the uniform resource locator, shared page information to be shared includes:
the client sends the uniform resource locator to a server;
and the server analyzes the uniform resource locator and acquires the shared page information to be shared.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, the sharing interface of the at least one target interaction platform is called through a preset sandbox environment simulation for the shared page information, so as to generate shared result information; rendering the sharing result information, and simulating the sharing page display information displayed in the at least one target interaction platform, including:
aiming at the shared page information, the server invokes a sharing interface of the at least one target interaction platform by adopting a PhantomJS simulated sandbox environment to generate shared result information;
the server returns the sharing result information to the client;
and the client renders the sharing result information through a Javascript template, and simulates the sharing page display information displayed in the at least one target interaction platform.
With reference to the first aspect, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fourth possible implementation manner, the sharing interface of the at least one target interaction platform is pre-arranged and encapsulated into a sharing development component, and the simulated invocation of the sharing interface of the at least one target interaction platform is completed by invoking the sharing development component.
The second aspect of the embodiments of the present invention discloses a system for detecting page display, including:
the acquisition module is used for acquiring shared page information which needs to be shared on at least one target interaction platform;
the result generation module is used for calling a sharing interface of the at least one target interaction platform through preset sandbox environment simulation aiming at the shared page information to generate shared result information;
and the rendering display module is used for rendering the sharing result information and simulating the sharing page display information displayed in the at least one target interaction platform.
With reference to the second aspect, in a first possible implementation manner, the obtaining module includes:
the capturing unit is used for capturing the input uniform resource locator;
and the grabbing unit is used for grabbing the shared page information to be shared through the uniform resource locator.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the fetching unit is specifically configured to send the uniform resource locator to a server through a control client; and the server analyzes the uniform resource locator and acquires the shared page information to be shared.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner, the result generation module is specifically configured to, for the shared page information, invoke a sharing interface of the at least one target interaction platform by the server by using a PhantomJS-simulated sandbox environment, and generate shared result information;
the rendering display module is specifically configured to return the sharing result information to the client by controlling the server; and the client renders the sharing result information through a Javascript template, and simulates the sharing page display information displayed in the at least one target interaction platform.
With reference to the second aspect, or the first possible implementation manner of the second aspect, or the second possible implementation manner of the second aspect, or the third possible implementation manner of the second aspect, in a fourth possible implementation manner, the sharing interface of the at least one target interaction platform is pre-arranged and packaged into a sharing development component, and the simulated invocation of the sharing interface of the at least one target interaction platform is completed by invoking the sharing development component.
A third aspect of the embodiments of the present invention discloses a computer storage medium, where the computer storage medium stores a program, and the program, when executed, includes all the steps of the method for detecting page display in the first aspect of the present invention, or the first possible implementation manner of the first aspect, or the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, or the fourth possible implementation manner of the first aspect.
By implementing the embodiment of the invention, the sharing interface of at least one target interaction platform is called through preset sandbox environment simulation, sharing result information is generated for the sharing page information, the sharing result information is rendered, and the sharing page display information displayed in the at least one target interaction platform is simulated, so that the display information of the sharing page in the target interaction platform can be detected in an online simulation manner, developers can conveniently detect whether the page is not pulled with the sharing information, the complex operation that a front-end developer needs to test and then refreshes a mobile phone when developing an H5 page in the prior art is avoided, and the problem that the result is possibly influenced by cache in the process; the sharing result and effect can be acquired more quickly and intuitively, and the technical problem that research personnel do not know how to share the result and effect because the research personnel feel the shared information intuitively is solved; in addition, the sharing interface specifications of different interaction platforms are arranged in advance and packaged into a sharing development component which is easy to call, so that the technical problems that a front-end developer needs to be compatible with various social platforms during development, sharing interfaces of different platforms are introduced, the development interfaces are searched for inconveniently, interface documents are messy, various other interfaces are mixed and difficult to separate, and the like are solved, and the development efficiency is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a diagram of a detection system architecture for page display provided by an embodiment of the present invention;
FIG. 2 is a schematic flowchart of a page display detection method according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a page display detection method according to another embodiment of the present invention;
FIG. 4 is an interface diagram of an online page provided by an embodiment of the invention;
FIG. 5 is a schematic structural diagram of a system for detecting page display according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an acquisition module according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another embodiment of the detection system for page display provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Each embodiment of the present invention may be implemented based on the detection system architecture diagram for page display provided in the embodiment of the present invention shown in fig. 1, an electronic device (i.e., a front end or a client) may be connected to a server (a back end or a network end) of a network end through the internet, the front end may present a sharing result using technologies such as HTML, CSS, Javascript, AJAX, and the like, and the back end may simulate a sharing sandbox environment of each large interaction platform using PhantomJS and nodewebk, so as to correctly simulate presentation of the sharing result. It is to be understood that the architecture diagram of the page display detection system according to the embodiment of the present invention is not limited to that shown in fig. 1, and may also be a device including only one end, as long as the device has both the front-end function and the back-end function, that is, the device performs both the front-end operation and the back-end operation, so that the page display detection method according to the embodiment of the present invention can be implemented by a single device.
It should be noted that, in the embodiments of the present invention, the electronic device includes, but is not limited to, a Personal computer, a Personal Digital Assistant (PDA), a media player, an intelligent mobile device (including a mobile phone, a mobile computer, a tablet computer, an intelligent television, an intelligent watch, an intelligent glasses, an intelligent bracelet, and the like). The interactive platform (or interactive system) in the embodiments of the present invention includes but is not limited to various social platforms, live platforms, or chat platforms, and the user may register and enter the interactive platform through a client login manner, apply or enjoy an interactive service provided by a server corresponding to the interactive platform, and perform various interactions with other users.
The following describes the specific implementation of the event execution method according to the present invention in detail with reference to the embodiments of fig. 2 to 4:
fig. 2 is a schematic flow chart of a page display detection method according to an embodiment of the present invention, which includes:
step S200: acquiring shared page information needing to be shared on at least one target interaction platform;
specifically, the target interaction platform in the embodiment of the present invention may be an interaction platform that needs to perform a shared page test, and after a user or a research and development staff inputs shared page information that needs to be tested on one or more target interaction platforms to a detection system for page display, the detection system for page display obtains the shared page information.
Step S202: for the shared page information, a sharing interface of the at least one target interaction platform is called through preset sandbox environment simulation, and shared result information is generated;
specifically, after the detection system for the page display acquires the shared page information, an EXPRESS frame and a NODE-WEBKIT application packaging technology can be adopted to simulate a sandbox environment of the social platform, simulate interaction operation of the operation page, and acquire data and attributes shared by each interaction platform by combining nproxy proxy service. Finally, sharing result information is generated by analyzing the return of the object; alternatively, the page display detection system may employ a pure command line (term) PhantomJS simulation sandbox environment to invoke the sharing interface of the at least one target interaction platform, and generate the sharing result information.
It should be noted that, compared with the NODE-WEBKIT technology with a Graphical User Interface (GUI) Interface, PhantomJS with a simulated browser kernel can provide the ability of each platform to acquire shared information in a lighter, smaller, and more multifunctional manner, so that not only can the system performance consumption be avoided when the GUI is opened, but also the compatibility problem among each interactive platform is solved, and the expansibility and the robustness are improved, so that the efficiency is improved, and the acquired preview shared page display information can be quickly detected.
Step S204: rendering the sharing result information, and simulating the sharing page display information displayed in the at least one target interaction platform.
Specifically, the detection system for page display can render a plurality of pieces of shared result information into one simulated information frame, and the simulated information frame is presented to a user or a research and development staff.
Referring to a flowchart of another embodiment of the method for detecting page display provided by the present invention shown in fig. 3, in combination with the architecture diagram of the page display detection system shown in fig. 1, the method for detecting page display includes:
step S300: the electronic equipment captures an input uniform resource locator;
specifically, the electronic device (equivalent to a client) may use HTML and CSS to make an online page, where the online page may provide an input box for a user or a developer to input a URL to be shared, as shown in fig. 4, which is an interface diagram of the online page provided in the embodiment of the present invention, a user logs in the online page through a browser, and after the input box inputs the URL to be shared, the electronic device captures the input URL. The electronic device may capture the shared page information to be shared through the URL, and may specifically execute step S302 to obtain the shared page information to be shared.
Step S302: the electronic equipment sends the uniform resource locator to a server;
specifically, as shown in fig. 4, a user or a developer only needs to click a "detection" button after inputting a URL in an input box, and then the electronic device at the local end sends the URL to the server through the network interface after analyzing that the URL passes the rationality. It should be noted that the electronic device sends the URL to the server background, during which the electronic device may maintain the connection with the server by using a polling scheme.
Step S304: the server analyzes the uniform resource locator to acquire shared page information to be shared;
specifically, after receiving a URL sent by the electronic device, the server parses the URL to obtain shared page information to be shared.
Step S306: aiming at the shared page information, the server invokes a sharing interface of at least one target interaction platform by adopting a PhantomJS simulated sandbox environment to generate shared result information;
specifically, the server simulates each interactive platform such as a calling platform native interface of QQ, Qzone, WeChat and the like by adopting PhantomJS, an extension library depending on the platform needs to be provided, and by collecting extension APIs of each platform in advance and simplifying the extension APIs, before loading the page, different interactive platforms are selected by the current page accurately, skillfully and timely in a mode that a page hook or an agent replaces a file package, so that sharing result information set by the page is generated or obtained really, effectively and directly.
Step S308: the server returns the sharing result information to the electronic equipment;
step S310: the electronic equipment renders the sharing result information through a Javascript template, and simulates the sharing page display information displayed in the at least one target interaction platform.
Specifically, the sharing result information may be json data, and then after receiving the sharing result information returned by the server, the electronic device may render the result into one simulated information frame by using a Javascript template, and present the simulated information frame to the user or a research and development staff, as shown in fig. 4, and obtain the sharing page display information based on the WeChat, the QQ, and the Qzone at the same time. The user or the research and development personnel can acquire the sharing result and effect more quickly and intuitively, and the technical problem that the research and development personnel do not know how to share the result and the effect because the research and development personnel feel the shared information intuitively is solved.
Further, in the detection method for page display provided by the embodiment of the present invention, the sharing interface of at least one target interaction platform may be pre-arranged and packaged into a sharing development component, and the simulation call of the sharing interface of the at least one target interaction platform is completed by calling the sharing development component.
Specifically, in the prior art, research personnel or developers are generally compatible with each large interactive platform during development, and share interfaces of different platforms are introduced, so that the situations that finding development interfaces is troublesome, interface documents are messy, various other interfaces are mixed and difficult to separate, and the like easily occur.
By implementing the embodiment of the invention, the sharing interface of at least one target interaction platform is called through preset sandbox environment simulation, sharing result information is generated for the sharing page information, the sharing result information is rendered, and the sharing page display information displayed in the at least one target interaction platform is simulated, so that the display information of the sharing page in the target interaction platform can be detected in an online simulation manner, developers can conveniently detect whether the page is not pulled with the sharing information, the complex operation that a front-end developer needs to test and then refreshes a mobile phone when developing an H5 page in the prior art is avoided, and the problem that the result is possibly influenced by cache in the process; the sharing result and effect can be acquired more quickly and intuitively, and the technical problem that research personnel do not know how to share the result and effect because the research personnel feel the shared information intuitively is solved; in addition, the sharing interface specifications of different interaction platforms are arranged in advance and packaged into a sharing development component which is easy to call, so that the technical problems that a front-end developer needs to be compatible with various social platforms during development, sharing interfaces of different platforms are introduced, the development interfaces are searched for inconveniently, interface documents are messy, various other interfaces are mixed and difficult to separate, and the like are solved, and the development efficiency is greatly improved.
In order to better implement the above solution of the embodiment of the present invention, the present invention further provides a detection system for page display, as shown in fig. 5, which is a schematic structural diagram of the detection system for page display provided in the embodiment of the present invention, the detection system 50 for page display may include: an acquisition module 500, a result generation module 502, and a rendering display module 504, wherein,
the obtaining module 500 is configured to obtain shared page information that needs to be shared on at least one target interaction platform;
the result generating module 502 is configured to invoke a sharing interface of the at least one target interaction platform through preset sandbox environment simulation for the shared page information, and generate shared result information;
the rendering and displaying module 504 is configured to render the sharing result information, and simulate the sharing page display information displayed in the at least one target interaction platform.
Specifically, as shown in fig. 6, which is a schematic structural diagram of an obtaining module provided in the embodiment of the present invention, the obtaining module 500 includes: a capture unit 5000 and a grab unit 5002, wherein,
the capturing unit 5000 is configured to capture an input uniform resource locator;
the fetching unit 5002 is configured to fetch shared page information to be shared through the uniform resource locator.
Specifically, the system 50 for detecting page display in the embodiment of the present invention may include a client (i.e., an electronic device or a front end) and a server, and the fetching unit 5000 is specifically configured to send the uniform resource locator to the server by controlling the client; and the server analyzes the uniform resource locator and acquires the shared page information to be shared.
More specifically, the result generating module 502 is specifically configured to, for the shared page information, invoke a sharing interface of the at least one target interaction platform through the server by using a PhantomJS simulation sandbox environment, and generate shared result information;
the rendering and displaying module 504 is specifically configured to return the sharing result information to the client by controlling the server; and the client renders the sharing result information through a Javascript template, and simulates the sharing page display information displayed in the at least one target interaction platform.
It can be understood that the client has an acquisition module 500 that, after capturing the input uniform resource locator, sends the uniform resource locator to the server; the server analyzes the uniform resource locator after receiving the uniform resource locator, obtains shared page information to be shared, and is further provided with a result generation module 502, and a PhantomJS simulation sandbox environment is adopted to invoke a sharing interface of the at least one target interaction platform aiming at the shared page information to generate shared result information; and returning the sharing result information to the client, wherein the client also has a function of a rendering display module 504, and after receiving the sharing result information returned by the server, the client renders the sharing result information through a Javascript template, and simulates the sharing page display information displayed in the at least one target interaction platform.
Furthermore, the sharing interface of the at least one target interaction platform is arranged and packaged into a sharing development component in advance, and the sharing development component is called to complete the simulation calling of the sharing interface of the at least one target interaction platform.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another embodiment of a detection system for page display according to the present invention. As shown in fig. 7, the page display detection system 70 may include: at least one processor 701, e.g., a CPU, at least one network interface 704, a user interface 703, a memory 705, at least one communication bus 702, and a display 706. Wherein a communication bus 702 is used to enable connective communication between these components. The user interface 703 may include, among other things, a display screen, a keyboard or a mouse. The network interface 704 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 705 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory, and the memory 705 includes a flash in the embodiment of the present invention. The memory 705 may optionally be at least one memory system located remotely from the processor 701. As shown in fig. 7, the memory 705, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a page display detection program.
In the page display detection system 70 shown in fig. 7, the processor 701 may be configured to call a page display detection program stored in the memory 705, and perform the following operations:
obtaining shared page information to be shared on at least one target interaction platform through a user interface 703;
for the shared page information, a sharing interface of the at least one target interaction platform is called through preset sandbox environment simulation, and shared result information is generated;
rendering the sharing result information, and simulating and displaying the sharing page display information in the at least one target interaction platform through a display screen 706.
Specifically, the obtaining, by the processor 701, shared page information that needs to be shared in at least one target interaction platform may include:
capturing an input uniform resource locator;
and capturing shared page information to be shared through the uniform resource locator.
Specifically, the processor 701 invokes a sharing interface of the at least one target interaction platform through a preset sandbox environment simulation for the shared page information to generate shared result information; rendering the sharing result information, and simulating the sharing page display information displayed in the at least one target interaction platform, specifically including:
aiming at the shared page information, adopting PhantomJS to simulate a sandbox environment to mobilize a sharing interface of the at least one target interaction platform, and generating shared result information; rendering the sharing result information through a Javascript template, and simulating the sharing page display information displayed in the at least one target interaction platform.
Furthermore, the sharing interface of the at least one target interaction platform is arranged and packaged into a sharing development component in advance, and the sharing development component is called to complete the simulation calling of the sharing interface of the at least one target interaction platform.
In summary, by implementing the embodiment of the present invention, a preset sandbox environment is used to simulate and call a sharing interface of at least one target interaction platform, share result information is generated for the shared page information, the shared result information is rendered, and the shared page display information displayed in the at least one target interaction platform is simulated, so that online simulation detection of the display information of the shared page in the target interaction platform can be achieved, developers can conveniently detect whether the page is not pulled for the shared information, and the problems that in the prior art, a front-end developer needs to continuously test the complicated operation of refreshing a mobile phone when developing an H5 page, and the result may be influenced by caching in the period are avoided; the sharing result and effect can be acquired more quickly and intuitively, and the technical problem that research personnel do not know how to share the result and effect because the research personnel feel the shared information intuitively is solved; in addition, the sharing interface specifications of different interaction platforms are arranged in advance and packaged into a sharing development component which is easy to call, so that the technical problems that a front-end developer needs to be compatible with various social platforms during development, sharing interfaces of different platforms are introduced, the development interfaces are searched for inconveniently, interface documents are messy, various other interfaces are mixed and difficult to separate, and the like are solved, and the development efficiency is greatly improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (10)

1. A method for detecting page display is characterized by comprising the following steps:
acquiring shared page information needing to be shared on at least one target interaction platform;
aiming at the shared page information, a sharing interface of the at least one target interaction platform is called through preset sandbox environment simulation to generate shared result information, and the at least one target interaction platform is selected based on a page hook or a mode of replacing a file package by an agent;
rendering the sharing result information, and simulating the sharing page display information displayed in the at least one target interaction platform.
2. The method of claim 1, wherein the obtaining shared page information that needs to be shared in at least one target interaction platform comprises:
capturing an input uniform resource locator;
and capturing shared page information to be shared through the uniform resource locator.
3. The method of claim 2, wherein the capturing the shared page information to be shared by the uniform resource locator comprises:
the client sends the uniform resource locator to a server;
and the server analyzes the uniform resource locator and acquires the shared page information to be shared.
4. The method according to claim 3, wherein for the shared page information, a sharing interface of the at least one target interaction platform is called through a preset sandbox environment simulation to generate shared result information; rendering the sharing result information, and simulating the sharing page display information displayed in the at least one target interaction platform, including:
aiming at the shared page information, the server invokes a sharing interface of the at least one target interaction platform by adopting a PhantomJS simulated sandbox environment to generate shared result information;
the server returns the sharing result information to the client;
and the client renders the sharing result information through a Javascript template, and simulates the sharing page display information displayed in the at least one target interaction platform.
5. The method according to any one of claims 1 to 4, wherein the sharing interface of the at least one target interaction platform is pre-arranged and packaged into a sharing development component, and the simulated calling of the sharing interface of the at least one target interaction platform is completed by calling the sharing development component.
6. A system for detecting a page display, comprising:
the acquisition module is used for acquiring shared page information which needs to be shared on at least one target interaction platform;
the result generation module is used for calling a sharing interface of the at least one target interaction platform through preset sandbox environment simulation aiming at the shared page information to generate shared result information, and the at least one target interaction platform is selected based on a page hook or a mode of replacing a file package by an agent;
and the rendering display module is used for rendering the sharing result information and simulating the sharing page display information displayed in the at least one target interaction platform.
7. The system of claim 6, wherein the acquisition module comprises:
the capturing unit is used for capturing the input uniform resource locator;
and the grabbing unit is used for grabbing the shared page information to be shared through the uniform resource locator.
8. The system of claim 7, wherein the crawling unit is specifically configured to send the uniform resource locator to a server through a control client; and the server analyzes the uniform resource locator and acquires the shared page information to be shared.
9. The system of claim 8, wherein the result generation module is specifically configured to, for the shared page information, invoke a sharing interface of the at least one target interaction platform by the server using PhantomJS to simulate a sandbox environment, and generate shared result information;
the rendering display module is specifically configured to return the sharing result information to the client by controlling the server; and the client renders the sharing result information through a Javascript template, and simulates the sharing page display information displayed in the at least one target interaction platform.
10. The system according to any one of claims 6 to 9, wherein the sharing interface of the at least one target interaction platform is pre-arranged and packaged into a sharing development component, and the simulation calling of the sharing interface of the at least one target interaction platform is completed by calling the sharing development component.
CN201610289495.3A 2016-05-04 2016-05-04 Page display detection method and system Active CN105975393B (en)

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 CN105975393A (en) 2016-09-28
CN105975393B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN109032705B (en) * 2018-07-05 2022-02-25 腾讯科技(深圳)有限公司 Application program execution method and device, electronic equipment and 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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105471953A (en) * 2014-09-10 2016-04-06 腾讯科技(深圳)有限公司 Client-side page dynamic display method, device and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297475B (en) * 2012-03-01 2017-03-01 阿里巴巴集团控股有限公司 Mock service system and the processing method of Mock service
US9846634B2 (en) * 2014-06-25 2017-12-19 Vmware, Inc. Visual graphical user interface verification
CN104199725B (en) * 2014-09-27 2017-12-22 上海瀚之友信息技术服务有限公司 A kind of service interface digital simulation method and system
CN104407979B (en) * 2014-12-15 2017-06-30 北京国双科技有限公司 script detection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105471953A (en) * 2014-09-10 2016-04-06 腾讯科技(深圳)有限公司 Client-side page dynamic display method, device and system

Also Published As

Publication number Publication date
CN105975393A (en) 2016-09-28

Similar Documents

Publication Publication Date Title
CN105975393B (en) Page display detection method and system
CN105955888B (en) Page debugging preview method and system
US9342237B2 (en) Automated testing of gesture-based applications
US10108715B2 (en) Transformation and presentation of on-demand native application crawling results
US8924943B2 (en) Browser emulator system
US20110173589A1 (en) Cross-Browser Interactivity Testing
CN104995601B (en) It is switched to the machine Web page application program and is switched away from from the machine Web page application program
US9934206B2 (en) Method and apparatus for extracting web page content
WO2020143159A1 (en) User interface processing method and device
CN109582317B (en) Method and apparatus for debugging hosted applications
US11237948B2 (en) Rendering engine component abstraction system
CN107423049A (en) Realize method, browser and the terminal device of online programming
CN113868126A (en) Application debugging method, device and storage medium of equipment
CN107632751B (en) Information display method and device
CN108319474B (en) Page information generation method, device and equipment
CN113688341B (en) Dynamic picture decomposition method and device, electronic equipment and readable storage medium
CN108345683A (en) Webpage display process, device, terminal and storage medium
CN111708533B (en) Method and device for setting mouse display state in application thin client
CN114860205A (en) Application extension system, method and device of low-code development platform
US10650081B2 (en) Television application page tracking using declarative page tracking
CN112632436A (en) Webpage display method and device, electronic equipment and storage medium
CN113836460B (en) mock data control method, equipment terminal and computer readable storage medium
US11770437B1 (en) Techniques for integrating server-side and client-side rendered content
CN111870937B (en) Data processing method, simulation server and timeliness application
CN118093427A (en) Test driving method and device, page test method and device

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