CN107943921B - Page sharing information generation method and device, computer equipment and storage medium - Google Patents

Page sharing information generation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN107943921B
CN107943921B CN201711163884.2A CN201711163884A CN107943921B CN 107943921 B CN107943921 B CN 107943921B CN 201711163884 A CN201711163884 A CN 201711163884A CN 107943921 B CN107943921 B CN 107943921B
Authority
CN
China
Prior art keywords
page
platform
shared
data
sharing
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
CN201711163884.2A
Other languages
Chinese (zh)
Other versions
CN107943921A (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 Cyber Tianjin Co Ltd
Original Assignee
Tencent Cyber Tianjin 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 Cyber Tianjin Co Ltd filed Critical Tencent Cyber Tianjin Co Ltd
Priority to CN201711163884.2A priority Critical patent/CN107943921B/en
Publication of CN107943921A publication Critical patent/CN107943921A/en
Application granted granted Critical
Publication of CN107943921B publication Critical patent/CN107943921B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a page sharing information generation method, which comprises the following steps: acquiring a sharing operation instruction of a page to be shared; searching page elements for generating page sharing information from stored page data from different sources according to the sharing operation instruction; and generating page sharing information according to the searched page elements. By adopting the method, the page elements for generating the page sharing information can be acquired from the page data of a plurality of different sources, so that the possibility of acquiring the page elements is increased, and the page sharing information generated according to the searched page elements can effectively avoid information loss. In addition, a page sharing information generating device, a computer device and a computer readable storage medium are also provided.

Description

Page sharing information generation method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for generating page sharing information, a computer device, and a storage medium.
Background
In mobile development, part of pages are developed by using H5 because of frequent changes or easy propagation, and most of pages can be propagated and shared among various platforms. In the H5 page propagation mode, two kinds of propagation are roughly classified, and one kind is propagation between friends, such as sharing to WeChat friends, QQ friends, and the like. Another is platform-borne propagation, such as sharing to a circle of friends, QQ space, etc. Regardless of the page sharing mode, the page sharing information needs to be generated first and displayed in the form of a sharing information structure, and the sharing information structure generally needs to include a thumbnail, a title, a description and a link that needs to be skipped after the user clicks.
Since the sharing operation is mostly triggered at the client, the shared information structure needs to be transferred from the page to the client through the Jsbridge interface. In many cases, where each platform has its own Jsbridge specification, the developer needs to distinguish between each platform and invoke a different Jsbridge for each platform. But for most developers at present, many are tailored to a certain platform. If the page is shared to a platform that is not configured, the shared information is partially lost, which is also called breaking window, for example, there may be no thumbnail, no title or the same title, as shown in fig. 1.
In the conventional technology, if a certain H5 page does not set shared information for the current platform, the common method is to directly read the value transmitted by the HTML tag of the web page to make up for the broken window. For example, the title may be directly read from the title/> tag, the description may be directly read from the < description/> tag, the thumbnail may directly take the first picture of the web page, the shared link address may directly take the current web page address, etc. However, the H5-oriented web page is complicated, and thus corresponding information may not be obtained, for example, the thumbnail may be a default avatar picture of the user, and some web pages are not set, so that the window breaking phenomenon still exists, and the problem that the page sharing information is lost cannot be effectively solved.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a page sharing information generating method, apparatus, computer device, and storage medium that can effectively avoid information loss.
A method for generating page sharing information, the method comprising:
acquiring a sharing operation instruction of a page to be shared;
searching page elements for generating page sharing information from stored page data from different sources according to the sharing operation instruction;
and generating page sharing information according to the searched page elements.
A page sharing information generating apparatus, the apparatus comprising:
the operation instruction acquisition module is used for acquiring a sharing operation instruction of a page to be shared;
the page element searching module is used for searching page elements for generating page sharing information from stored page data from different sources according to the sharing operation instruction;
and the sharing information generation module is used for generating page sharing information according to the searched page elements.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of:
Acquiring a sharing operation instruction of a page to be shared;
searching page elements for generating page sharing information from stored page data from different sources according to preset priority;
and generating page sharing information according to the searched page elements.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring a sharing operation instruction of a page to be shared;
searching page elements for generating page sharing information from stored page data from different sources according to preset priority;
and generating page sharing information according to the searched page elements.
According to the page sharing information generation method, device, computer equipment and computer readable storage medium, the page sharing information is generated according to the searched page elements by acquiring the sharing operation instruction of the page to be shared and searching the page elements used for generating the page sharing information from stored page data from different sources according to the sharing operation instruction. Because the page elements for generating the page sharing information can be acquired from the page data of a plurality of different sources, the possibility of acquiring the page elements is increased, and the page sharing information generated according to the searched page elements can effectively avoid information deletion.
Drawings
FIG. 1 is a schematic diagram of a partial missing page sharing information;
FIG. 2 is an application environment diagram of a method for generating page sharing information in one embodiment;
FIG. 3 is a diagram illustrating the integrity of page sharing information in one embodiment;
FIG. 4 is an internal block diagram of a terminal in one embodiment;
FIG. 5 is a flow chart of a method of generating page sharing information in one embodiment;
FIG. 6 is a flowchart of a method for generating page sharing information according to another embodiment;
fig. 7 is a schematic diagram of a method for generating page sharing information in an application scenario;
FIG. 8 is a flowchart of a method for generating page sharing information according to yet another embodiment;
FIG. 9 is a schematic diagram of a method for generating page sharing information in another application scenario;
FIG. 10 is a flowchart of a method for generating page sharing information according to yet another embodiment;
FIG. 11 is a flowchart of acquiring sharing data of a page to be shared for a second platform in one embodiment;
FIG. 12 is a schematic diagram of a method for generating page sharing information in another application scenario;
FIG. 13 is a block diagram illustrating a structure of a page share information generating apparatus according to an embodiment;
FIG. 14 is a block diagram illustrating a page share information generating apparatus according to another embodiment;
FIG. 15 is a block diagram of one embodiment of a shared data acquisition module;
fig. 16 is a block diagram showing a configuration of a page share information generating apparatus according to still another embodiment.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
FIG. 2 illustrates an application environment diagram of a page share information generation method in one embodiment. Referring to fig. 2, the page sharing information generating method may be applied to a page sharing information generating system, which includes a terminal 110 and a server 120, where the terminal 110 is connected to the server 120 through a network. The terminal 110 may be, but is not limited to, various personal computers, notebook computers, personal digital assistants, smart phones, tablet computers, portable wearable devices, etc. that enable page sharing. The server 120 may be a server that realizes a single function, may be a server that realizes multiple functions, and may specifically be an independent physical server or a physical server cluster. The terminal 110 may display the page to be shared through a browser or various applications, and after obtaining a sharing operation instruction of the page to be shared, search, according to a preset priority, page elements for generating page sharing information from stored page data from different sources. Wherein the page data may be obtained in advance by different means and stored locally at the terminal 110. Specifically, the page data stored locally in the terminal 110 and available for searching includes sharing data for a platform, which is obtained when a page to be shared is displayed, page data obtained by performing static analysis on the page to be shared and page data obtained by analyzing a source code of the page to be shared after a sharing operation instruction of the page to be shared is obtained. The page data obtained by sharing the source code of the page to be shared may be obtained by sending the source code to the server 120 for analysis. After obtaining each page element for the page sharing information, the terminal 110 generates the page sharing information according to each searched page element, and after obtaining the operation instruction for confirming the sharing, the terminal can share the generated page sharing information. Specifically, the terminal 110 may send the page sharing information to the server 120, and send the page sharing information to other terminals through the server 120, so as to display the page sharing information in various sharing target platforms. Because the page elements can be acquired from the page data of a plurality of different sources, the possibility of acquiring the page elements is increased, so that the generated page sharing information can effectively avoid information loss, as shown in fig. 3.
In another embodiment, after obtaining the sharing operation instruction of the page to be shared, the terminal 110 may search the page element from the stored sharing data of the page to be shared for the first platform, and if not, search the page element from the stored sharing data of the page to be shared for at least one second platform. The first platform is a platform where the page to be shared is located, and the second platform is a preset platform outside the platform where the page to be shared is located. Because the page elements obtained from the sharing data obtained from the platform where the page to be shared is located are most likely to be complete, even if the complete page elements are not obtained, the page elements can be obtained from the sharing data in other preset platforms. The preset platform may be some of the most commonly used platforms. In this way, the possibility of acquiring the page element is also increased, so that the generated page sharing information can effectively avoid information loss, as shown in fig. 3.
FIG. 4 is a schematic diagram of the internal structure of a computer device in one embodiment. The computer device may in particular be a terminal 110 as in fig. 2. As shown in fig. 4, the terminal 110 includes a processor, a storage medium, an internal memory, a network interface, a display screen, and an input device connected through a system bus. Wherein the processor is configured to provide computing and control capabilities to support operation of the entire terminal. The storage medium of the terminal stores an operating system and a computer program of a page sharing information generating device, and the computer program of the page sharing information generating device is used for realizing a page sharing information generating method when being executed by a processor. The internal memory in the terminal provides an environment for the operation of the page sharing information generating device in the storage medium, the network interface is used for communicating with the server 120, for example, the server 120 obtains page data by analyzing the source code of the page, the generated page sharing information is sent to the server 120, and the like, the input device can be a touch layer covered on a display screen, or an external keyboard, a touch pad, a mouse or the like, and the input device can obtain the sharing operation of the user to the page to be shared displayed on the display screen by using a finger, for example, the clicking operation of a sharing button, obtain the sharing operation instruction of the page to be shared, and transmit the sharing operation instruction to the processor. It will be appreciated by those skilled in the art that the structure shown in fig. 4 is merely a block diagram of a portion of the structure associated with the present inventive arrangements and is not limiting of the terminal to which the present inventive arrangements are applied, and that a particular terminal may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
As shown in fig. 5, in one embodiment, a method for generating page sharing information is provided, which is illustrated as being applied to the terminal as shown in fig. 2 and 4. Comprising the following steps:
step 502, obtaining a sharing operation instruction of a page to be shared.
The page to be shared may be a page in various platforms, where a platform refers to an application platform that may display the page to be shared and may propagate the page to be shared to other platforms, including, but not limited to, various instant messaging application platforms, game application platforms, video playing application platforms, audio playing application platforms, and the like. Specifically, when a page to be shared is displayed in a platform, a sharing operation instruction generated by triggering a corresponding control on the page is obtained, where the sharing operation instruction may be an instruction generated by sharing the page to the platform where the page is located, sharing the page to friends in the platform where the page is located, sharing the page to other platforms, or sharing the page to friends in other platforms.
In step 504, the page elements used to generate the page sharing information are searched from the stored page data from different sources according to the sharing operation instruction.
The terminal can store page data from different sources, wherein the page data comprise sharing data aiming at a platform and page data obtained by analyzing a page to be shared, and the sources refer to sources for generating the page data, and the sources can be page data from different platforms or page data obtained in different modes. The sharing data for the platform includes sharing data for the platform where the page to be shared is located, but is not limited thereto, and sharing data for other common platforms may be obtained. The page data for analyzing the page to be shared comprises page data obtained by processing at least one of static analysis and background analysis of the page to be shared. The sharing data for the platform and the page data obtained by analyzing the page to be shared may include page elements of the page to be shared, such as titles, thumbnails, links, description information, and the like. These page data of different origin are stored locally at the terminal for the terminal to look up. The page data with different sources are preset to have different searching priorities. For example, the shared data for the platform is often more complete than the page data obtained by analyzing the page to be shared, and the page elements can be preferentially searched from the shared data for the platform.
And step 506, generating page sharing information according to the searched page elements.
Page sharing information is typically displayed in the form of a shared information structure. As shown in fig. 3, the shared information structure includes page elements such as a title, a thumbnail, a link, and description information. For each page element forming the shared information structure body, the page elements can be obtained by searching page data from different sources stored in the terminal according to the preset priority. When a page element is found from a certain source, no more search is performed from the next source until all page elements constituting the shared information structure are obtained. And finally, generating page sharing information according to the obtained page elements.
In this embodiment, since the page elements for generating the page sharing information may be obtained from the page data from a plurality of different sources, the possibility of obtaining the page elements is increased, so that the page sharing information generated according to the searched page elements can effectively avoid information loss.
Further, in one embodiment, after generating the page sharing information, the terminal may share the page sharing information. Specifically, the terminal may send the generated page sharing information to the server, and when other terminals display the page sharing information through the platform, the terminal may acquire and display the page sharing information from the server.
In one embodiment, the page data from different sources includes sharing data of the page to be shared for the first platform, page data obtained by performing static analysis on the page to be shared, and page data obtained by performing analysis on source codes of the page to be shared. The first platform is a platform where the page to be shared is located. Further, in one embodiment, searching page elements for generating page sharing information from stored page data from different sources according to a sharing operation instruction includes: searching page elements used for generating page sharing information from stored page data from different sources according to a preset priority according to the sharing operation instruction; the preset priority may be: the method comprises the steps that a page to be shared aims at shared data of a first platform, page data obtained by carrying out static analysis on the page to be shared, and page data obtained by analyzing source codes of the page to be shared.
Fig. 6 shows a flowchart of a method for generating page sharing information in one embodiment, where the method is applied to the terminal shown in fig. 2 and fig. 4 for illustration, and includes:
step 602, obtaining a sharing operation instruction of a page to be shared.
As shown above, the page to be shared may be a page in various platforms, and when the page to be shared is displayed in the platform, a sharing operation instruction generated by triggering a corresponding control on the page may be obtained. In this embodiment, before step 602, the terminal displays a page to be shared, where the page to be shared generally triggers a call to the shared data interface of the first platform, and the shared data for the first platform is transferred to the client of the first platform through the shared data interface of the first platform, so as to be stored locally in the terminal. The first platform refers to a platform where a page to be shared is located. Specifically, when the page to be shared is displayed on the terminal, the call to the Jsbridge interface of the first platform is triggered, and the sharing data for the first platform is transferred to the platform client through the Jsbridge interface, so that the sharing data can be stored in a corresponding database local to the terminal. The Jsbridge interface refers to a pipeline through which H5 communicates with Native, and through which data can be transferred between H5 and the underlying layer.
Step 604, injecting a preset script into the page to be shared, and statically analyzing the page to be shared through the preset script to obtain page data.
The page data can be obtained by injecting a preset script into the page to be shared and analyzing the page to be shared through the preset script. Specifically, a specific tag or preset content in a page to be shared is read through a preset script, and corresponding page elements are obtained. For example, reading a < title/> tag may obtain a title, reading a < description/> tag may obtain description information, and so on. For a thumbnail, a first picture of a set size range in a page, etc. may be picked up. After the page to be shared is analyzed through the injected script to obtain page data, the page can also transmit the obtained page data to a platform client through a JSbridge interface and store the page data in a local corresponding database of the terminal.
Step 606, the source code of the page to be shared is sent to the server for analysis, and the page data obtained by analyzing the source code returned by the server is received.
When the page is written out of specification, the content of the corresponding tag cannot be captured through the injection script, so that the source code of the page to be shared needs to be sent to a server for analysis, and page data obtained by analyzing the source code of the page by the server are more complete. It should be noted that, step 604 and step 606 are not performed sequentially, but may be performed simultaneously. In other embodiments, only step 604 or step 606 may also be performed. And after receiving page data which is returned by the server and is obtained by analyzing the source code, the terminal stores the page data in a local corresponding database of the terminal.
In step 608, the page elements used to generate the page sharing information are searched from the stored page data from different sources according to the sharing operation instruction.
The page data from different sources are respectively stored in corresponding databases locally at the terminal, and the databases can be databases corresponding to the platforms where the pages to be shared are located, that is to say, the page data from the pages of different platforms are respectively stored in corresponding databases locally. In this embodiment, the page data includes sharing data of the page to be shared for the first platform, page data obtained by performing static analysis on the page to be shared, and page data obtained by analyzing a source code of the page to be shared.
Specifically, the page elements can be searched according to the following priority: the method comprises the steps that a page to be shared aims at shared data of a first platform, page data obtained by carrying out static analysis on the page to be shared, and page data obtained by analyzing source codes of the page to be shared. For a certain page element, searching from the shared data of the page to be shared aiming at the first platform, searching from the page data obtained by carrying out static analysis on the page to be shared if the page element cannot be searched, and searching from the page data obtained by analyzing the source code of the page to be shared if the page element cannot be searched. If a page element is found from page data of a certain source, the search for the page element is stopped. Other page elements are also searched according to the priority.
And step 610, generating page sharing information according to the searched page elements.
After each page element is searched, for example, title, thumbnail, link, description information and the like are searched, page sharing information can be generated according to the searched page elements, and the page sharing information can be displayed in the form of a sharing information structure body. Because the page elements for generating the page sharing information can be acquired from the page data of a plurality of different sources, the possibility of acquiring the page elements is increased, and the page sharing information generated according to the searched page elements can effectively avoid information deletion.
Fig. 7 shows a schematic diagram of a method for generating page sharing information in an application scenario, and the first platform is taken as a QQ space for illustration. The terminal can open a page to be shared through the QQ space client, the page triggers the call of a JSbridge interface of the QQ space, and the sharing data aiming at the QQ space is transmitted to the QQ space client through the JSbridge interface and is stored in a local corresponding database of the terminal. When a sharing operation is triggered on a page to be shared, a preset script is injected into the page to be shared, static analysis is carried out on the page through the preset script by the page to obtain static analysis data, and then the static analysis data is transmitted to a QQ space client through a JSbridge interface of the QQ space and is stored in a corresponding database locally at the terminal. And the source codes of the pages to be shared can be sent to a server for background analysis to obtain background analysis data, and the background analysis data are stored in a local corresponding database of the terminal. After the sharing operation of the page to be shared is triggered, for each page element, searching from three databases one by one according to the preset priority, and searching all page elements to generate a sharing information structure body of the page sharing information, wherein the page sharing information can be finally displayed completely, as shown in fig. 3.
In another embodiment, the page data from different sources includes sharing data of the page to be shared for the first platform and sharing data of the page to be shared for at least one second platform; the first platform is a platform where the page to be shared is located, and the second platform is a preset platform outside the platform where the page to be shared is located. Searching page elements for generating page sharing information from stored page data from different sources according to a sharing operation instruction, wherein the page elements comprise: searching page elements used for generating page sharing information from stored page data from different sources according to a preset priority according to the sharing operation instruction; the preset priority is as follows: the sharing data of the page to be shared for the first platform is higher than the sharing data of the page to be shared for at least one second platform.
Fig. 8 shows a flowchart of a method for generating page sharing information in one embodiment, where the method is applied to the terminal shown in fig. 2 and fig. 4 for illustration, and includes:
step 802, displaying a page to be shared, acquiring sharing data of the page to be shared for a first platform and sharing data of at least one second platform, and storing the sharing data of the page to be shared for the first platform and the sharing data of the page to be shared for the at least one second platform.
Specifically, the terminal displays a page to be shared, the page to be shared triggers the call of the shared data interface of the first platform, and the shared data for the first platform is transmitted to the client of the first platform through the shared data interface of the first platform so as to be stored locally in the terminal. The first platform refers to a platform where a page to be shared is located. Specifically, since the page to be shared displayed on the platform will always actively trigger the call to the Jsbridge interface of the platform, the sharing data for the first platform can be transferred to the platform client through the Jsbridge interface page, so that the sharing data can be stored in the local corresponding database of the terminal.
Further, when the terminal displays the page to be shared, if the page generates a request for calling the interface of at least one second platform, the page to be shared can actively intercept the request, and the call of the sharing interface of the second platform is actively triggered through the preset script, so that the sharing data can be obtained from the second platform. The second platform refers to a preset platform outside the first platform, and may be some sharing platforms that are most commonly used. The page to be shared acquires the shared data from the second platform, and then triggers the call of the JSbridge interface of the first platform, and the shared data aiming at the second platform is transmitted to the client of the first platform through the JSbridge interface, so that the shared data can be stored in a corresponding database locally of the terminal.
Step 804, obtaining a sharing operation instruction of the page to be shared.
As shown above, the page to be shared may be a page in various platforms, and when the page to be shared is displayed in the platform, a sharing operation instruction generated by triggering a corresponding control on the page may be obtained.
Step 806, searching page elements for generating page sharing information from stored page data from different sources according to the sharing operation instruction.
The page data from different sources are respectively stored in a corresponding database in the local terminal, and the database is a database corresponding to the platform where the page to be shared is located. In this embodiment, the stored page data includes sharing data of a page to be shared for a first platform and sharing data of a page to be shared for at least one second platform. Specifically, page elements may be searched according to a priority of the page to be shared for the first platform higher than a priority of the page to be shared for the shared data of at least one second platform. For a certain page element, searching from the sharing data of the page to be shared aiming at the first platform, and searching from the sharing data aiming at least one second platform if the page to be shared cannot be found. If a page element is found from page data of a certain source, the search is stopped. Other page elements are also searched according to the priority.
Step 808, generating page sharing information according to the searched page elements.
After each page element is found, for example, a title, a thumbnail, a link, description information and the like, page sharing information can be generated according to the found page element, and the page sharing information can be displayed in the form of a sharing information structure. In general, the sharing data of the page to be shared aiming at the first platform is most likely to be complete, and the page elements are preferentially searched from the sharing data aiming at the first platform, so that the page elements are easier to acquire. Moreover, if the corresponding page element cannot be found from the shared data for the first platform, the page element can be found from the shared data for at least the second platform, so that the possibility of obtaining the page element is improved, and the generated page sharing information can effectively avoid information loss, as shown in fig. 3.
Fig. 9 shows a schematic diagram of a page sharing information generating method in an application scenario, where a first platform is a QQ space, and a second platform is a QQ platform and a WeChat platform for illustration. The terminal can open a page to be shared through the QQ space client, and when the page triggers the call of a JSbridge interface of the QQ space, the page can transmit sharing data aiming at the QQ space to the QQ space client through the JSbridge interface and store the sharing data in a corresponding database locally of the terminal. When the page generates a request for calling the QQ interface or the WeChat interface, the page can actively intercept the request, actively trigger the call of the Jsbridge interface of the QQ platform or the WeChat platform through a preset script, and acquire shared data from the QQ platform or the WeChat platform. And then triggering the call of the JSbridge interface of the QQ space by the page, transmitting the sharing data aiming at the QQ platform or the WeChat platform to the QQ space client through the JSbridge interface, and respectively storing the sharing data in the local corresponding database of the terminal. After the sharing operation of the page to be shared is triggered in the QQ space, page elements can be searched from three databases one by one according to the preset priority. For example, for a title, the title may be preferentially searched from the QQ space sharing data, and if not, the title may be searched from the WeChat sharing data, and if not, the title may be searched from the QQ sharing data. And searching other page elements according to the preset priority, and finally generating page sharing information according to the searched page elements and displaying the page sharing information on a platform, as shown in fig. 3.
In one embodiment, the page data includes sharing data of a page to be shared for a first platform, sharing data of the page to be shared for at least one second platform, page data obtained by performing static analysis on the page to be shared, and page data obtained by analyzing source codes of the page to be shared. Further, in one embodiment, searching page elements for generating page sharing information from stored page data from different sources according to a sharing operation instruction includes: searching page elements used for generating page sharing information from stored page data from different sources according to a preset priority according to the sharing operation instruction; the preset priority is as follows: the method comprises the steps of sharing data of a page to be shared aiming at a first platform, sharing data of the page to be shared aiming at least one second platform, carrying out static analysis on the page to be shared to obtain page data, and analyzing source codes of the page to be shared to obtain page data.
Fig. 10 shows a flowchart of a method for generating page sharing information in one embodiment, where the method is applied to the terminal shown in fig. 2 and fig. 4 for illustration, and includes:
Step 1002, displaying a page to be shared, acquiring sharing data of the page to be shared for a first platform and sharing data of at least one second platform, and storing the sharing data of the page to be shared for the first platform and the sharing data of the page to be shared for the at least one second platform.
Specifically, the terminal displays a page to be shared, the page to be shared triggers the call of the shared data interface of the first platform, the shared data aiming at the first platform is transmitted to the first platform through the shared data interface of the first platform, and the shared data is stored in a local corresponding database of the terminal. The first platform refers to a platform where a page to be shared is located. Specifically, since the page to be shared displayed on the platform generally triggers a call to the Jsbridge interface of the first platform, the page may transmit the sharing data for the first platform to the client of the first platform through the Jsbridge interface, so as to store the sharing data in a corresponding database local to the terminal.
Further, when the terminal displays the page to be shared, when the page generates a request for calling at least one interface of the second platform, the request is actively intercepted, and the call of the Jsbridge interface of the second platform is actively triggered through a preset script, so that shared data can be obtained from the second platform. The second platform refers to a preset platform outside the first platform, and may be some sharing platforms that are most commonly used. And the page to be shared acquires the shared data from the second platform, and then triggers the call of the JSbridge interface of the first platform, and the page can transmit the shared data aiming at the second platform to the client of the first platform through the JSbridge interface of the first platform so as to be stored in a corresponding database locally of the terminal.
Step 1004, obtaining a sharing operation instruction of the page to be shared.
As shown above, the page to be shared may be a page in various platforms, and when the page to be shared is displayed in the platform, a sharing operation instruction generated by triggering a corresponding control on the page may be obtained.
Step 1006, injecting a preset script into the page to be shared, and statically analyzing the page to be shared through the preset script to obtain page data.
The page data can be obtained by injecting a preset script into the page to be shared and analyzing the page to be shared through the injected preset script. Specifically, a specific tag or preset content in a page to be shared is read through a preset script, and corresponding page elements are obtained. After the page to be shared is analyzed to obtain page data, the page can transmit the page data to a client of the first platform through the JSbridge interface so as to be stored in a corresponding database of the terminal.
And step 1008, sending the source code of the page to be shared to a server for analysis, and receiving page data returned by the server and obtained by analyzing the source code.
When the page writing is irregular, the content of the corresponding tag cannot be captured through the preset script, so that the source code of the page to be shared needs to be sent to a server for analysis, and page data obtained by analyzing the page source code by the server are more complete. It should be noted that, step 1006 and step 1008 are not performed sequentially, but may be performed simultaneously. In other embodiments, only step 1006 or step 1008 may be performed. And after receiving page data which is returned by the server and is obtained by analyzing the source code, the terminal stores the page data in a local corresponding database of the terminal.
In step 1010, the page elements used to generate the page sharing information are searched from the stored page data from different sources according to the sharing operation instruction.
Page data from different sources are each stored in a corresponding database local to the terminal. In this embodiment, the page data includes sharing data of a page to be shared for a first platform, sharing data of a page to be shared for at least one second platform, page data obtained by performing static analysis on the page to be shared, and page data obtained by analyzing source codes of the page to be shared.
Specifically, the page elements can be searched according to the following priority: the method comprises the steps of sharing data of a page to be shared aiming at a first platform, sharing data of the page to be shared aiming at least one second platform, carrying out static analysis on the page to be shared to obtain page data, and analyzing source codes of the page to be shared to obtain page data. For a certain page element, searching from the sharing data of the page to be shared aiming at the first platform, searching from the sharing data aiming at least one second platform if the page to be shared cannot be searched, and presetting priorities of the second platforms if the page to be shared has the second platforms. If the shared data of the second platform cannot be found, the shared data is found from the page data obtained through static analysis. If the page to be shared is not found, the page data obtained by analyzing the source code of the page to be shared is found. If a page element is found from page data of a certain source, the search is stopped. Other page elements are also searched according to the priority.
Step 1012, generating page sharing information according to the searched page elements.
After each page element is found, for example, a title, a thumbnail, a link, description information and the like, page sharing information can be generated according to the found page element, and the page sharing information can be displayed in the form of a sharing information structure. In general, the sharing data of the page to be shared aiming at the first platform is most likely to be complete, and the page elements are preferentially searched from the sharing data aiming at the first platform, so that the page elements are easier to acquire. And if the corresponding page element cannot be found from the shared data for the first platform, the corresponding page element can be found from the shared data for at least one second platform. If the sharing data of the second platform cannot be found, the sharing data of the second platform can be found from the page data obtained by analyzing the page source code and the page data which are analyzed, so that the possibility of obtaining the page elements is improved, and the generated page sharing information can effectively avoid information loss, as shown in fig. 3.
In one embodiment, before obtaining the sharing operation instruction of the page to be shared, the method further includes: displaying a page to be shared on a first platform; intercepting a request for calling an interface of a second platform, which is generated by a page to be shared; and obtaining sharing data of the page to be shared aiming at the second platform through a preset script.
Further, in an embodiment, obtaining, by a preset script, sharing data of a page to be shared for a second platform includes: replacing a script file generated by the request with a preset script; triggering the calling of an interface of a second platform through the preset script, and acquiring shared data from the second platform; triggering the call to the interface of the first platform, and transmitting the sharing data acquired from the second platform to the first platform through the interface of the first platform so as to store the sharing data locally.
FIG. 11 is a flowchart illustrating acquiring shared data of a page to be shared for a second platform in one embodiment. Referring to fig. 11, comprising:
in step 1102, a page to be shared is displayed on a first platform.
The first platform is a platform where the page to be shared is located. When a page to be shared is displayed on the first platform, the page generally triggers the call of the sharing data interface of the first platform, and the sharing data for the first platform is transmitted to the client of the first platform through the sharing data interface (Jsbridge interface) of the first platform so as to be stored in the corresponding local database of the terminal.
In step 1104, a request generated by the page to be shared to call an interface of the second platform is intercepted.
The second platform refers to a preset platform outside the first platform, and is usually some of the most common sharing platforms, such as a WeChat platform, a QQ platform, and the like. Displaying a page to be shared on the first platform, wherein the page may generate a request for calling an interface of the second platform. For example, opening a web page in the QQ space, the page may generate a request to invoke an interface of the WeChat platform or QQ platform. And intercepting a request for calling an interface of the second platform when the page detects the request, and acquiring a script file generated by the request.
And 1106, replacing the script file generated by the request with a preset script.
A script file is preset, and relevant active calling logic is added in the script file. When a request for calling the interface of the second platform is intercepted, the script file generated by the request is replaced by the preset script file. For example, for a WeChat platform, the pre-set script file is replaced by the intercepted WXAPi. Js file.
Step 1108, triggering the call of the interface of the second platform through the preset script, and obtaining the sharing data from the second platform.
Because related active call logic is added in the preset script, the call of the sharing interface of the second platform can be actively triggered through the preset script, the sharing data can be acquired from the second platform through the sharing interface of the second platform, and particularly, the call of the JSbridge interface of the second platform can be actively triggered, and various related parameter values including the content, the thumbnail and the size, the description information, the link information and the like of the title can be acquired through the JSbridge interface of the second platform.
Step 1110, triggering a call to the interface of the first platform, and transferring the sharing data acquired from the second platform to the first platform through the interface of the first platform to save the sharing data locally.
After the sharing data is acquired from the second platform through the preset script, the page needs to transmit the sharing data acquired from the second platform to the client of the first platform again so as to be stored in the local terminal. Specifically, after the related parameter values are obtained, the call to the Jsbridge interface of the first platform can be triggered, and the sharing data obtained from the second platform is transmitted to the client of the first platform through the Jsbridge interface of the first platform so as to be stored in the local corresponding database of the terminal.
Since the Jsbridge protocols agreed upon by different platforms are not identical, if a direct call is recognized as a malicious request on other platforms to give up processing, the workload is very high if modifications are made to the Jsbridge protocol for each platform. In this embodiment, the call of the Jsbridge interface of the second platform is actively triggered by the page at the upper layer and then converted into the call of the Jsbridge interface of the first platform, so that the workload is very small, and the shared data of the second platform can be finally saved in the corresponding database at the terminal.
Fig. 12 shows a schematic diagram of a page sharing information generating method in an application scenario, where a first platform is a QQ space, and a second platform is a QQ platform and a WeChat platform for illustration. The terminal can open a page to be shared through the QQ space client, and if the page to be shared has a JSbridge interface for calling the QQ space, the page transmits sharing data aiming at the QQ space to the QQ space client through the JSbridge interface of the QQ space so as to be stored in a corresponding database locally of the terminal. When a page generates a request for calling a QQ interface or a WeChat interface, the page actively intercepts the request for the QQApi.js or WXAPi.js file, replaces a preset script (JS file) with the QQApi.js file or the WXAPi.js file, actively triggers the call for the QQ sharing interface or the WeChat sharing interface through the preset script, and acquires the sharing data aiming at the QQ platform through a JSbridge interface of the QQ platform or acquires the sharing data aiming at the WeChat platform through a JSbridge interface of the WeChat platform. And then, triggering the call of the JSbridge interface of the QQ space by the page, and transmitting the shared data acquired from the QQ platform or the shared data acquired from the WeChat platform to the QQ space client through the JSbridge interface of the QQ space so as to be respectively stored in a corresponding database of the terminal.
After the sharing operation of the page to be shared is triggered in the QQ space, a preset script can be injected into the page to be shared, and static analysis is carried out on the page to be shared through the injected preset script, so that static analysis data are obtained. After the page obtains static analysis data, the static analysis data can be transmitted to the QQ client through a JSbridge interface of the QQ space so as to be stored in a corresponding database of the terminal. And the source codes of the pages to be shared can be sent to a server for background analysis to obtain background analysis data, and the background analysis data are also stored in a corresponding database of the terminal. Before generating the page sharing information, the page elements in the page sharing information can be searched from the five databases one by one according to the pre-priority. For example, for a title, the title may be preferentially searched from the QQ space sharing data, if not, then the title may be searched from the WeChat sharing data and/or the QQ sharing data, and if not, then the title may be further searched from the static analysis data and the background analysis data. And searching other page elements according to the priority, and generating page sharing information by searching all page elements, wherein each page element is completely displayed on a platform in the form of a sharing information structure body, as shown in fig. 3.
As shown in fig. 13, in one embodiment, there is further provided a page sharing information generating apparatus, including:
the operation instruction obtaining module 1302 is configured to obtain a sharing operation instruction of a page to be shared.
The page element searching module 1304 is configured to search, according to the sharing operation instruction, page elements for generating page sharing information from stored page data from different sources.
The sharing information generating module 1306 is configured to generate page sharing information according to the searched page element.
In one embodiment, the page data includes sharing data of a page to be shared for the first platform, page data obtained by performing static analysis on the page to be shared, and page data obtained by analyzing a source code of the page to be shared; the first platform is a platform where the page to be shared is located. Further, in one embodiment, searching page elements for generating page sharing information from stored page data from different sources according to a sharing operation instruction includes: searching page elements used for generating page sharing information from stored page data from different sources according to a preset priority according to the sharing operation instruction; the preset priority is as follows: the method comprises the steps that a page to be shared aims at shared data of a first platform, page data obtained by carrying out static analysis on the page to be shared, and page data obtained by analyzing source codes of the page to be shared.
In one embodiment, searching page elements for generating page sharing information from stored page data from different sources according to a sharing operation instruction includes: searching page elements used for generating page sharing information from stored page data from different sources according to a preset priority according to the sharing operation instruction; the page data comprises sharing data of the page to be shared aiming at the first platform and sharing data of the page to be shared aiming at least one second platform; the preset priority is as follows: the sharing data of the page to be shared aiming at the first platform is higher than the sharing data of the page to be shared aiming at least one second platform; the first platform is a platform where the page to be shared is located, and the second platform is a preset platform outside the platform where the page to be shared is located.
Further, in an embodiment, the page data further includes page data obtained by performing static analysis on the page to be shared and page data obtained by analyzing the source code of the page to be shared. In this embodiment, the preset priority is: the method comprises the steps of sharing data of a page to be shared aiming at a first platform, sharing data of the page to be shared aiming at least one second platform, carrying out static analysis on the page to be shared to obtain page data, and analyzing source codes of the page to be shared to obtain page data.
As shown in fig. 14, in an embodiment, the page sharing information generating apparatus may further include a sharing data obtaining module 1308 configured to obtain the sharing data of the page to be shared for the second platform before the operation instruction obtaining module 1302 obtains the sharing operation instruction of the page to be shared. Specifically, the shared data obtaining module 1308 is configured to intercept, when a page to be shared is displayed on the first platform, a request for calling an interface of the second platform, which is generated by the page to be shared, and obtain, through a preset script, shared data of the page to be shared for the second platform.
In one embodiment, as shown in FIG. 15, the shared data acquisition module 1308 includes:
script replacement module 1318 is configured to replace a script file generated by the intercepted request with a preset script.
The first invoking module 1328 is configured to trigger invoking of the interface of the second platform through a preset script, and obtain the shared data from the second platform.
The second invoking module 1338 is configured to trigger invoking the interface of the first platform, and transmit, through the interface of the first platform, the sharing data obtained from the second platform to the first platform to be stored locally.
As shown in fig. 16, in one embodiment, the page sharing information generating apparatus may further include a static parsing module 1310 and a background analyzing module 1312, where:
The static analysis module 1310 is configured to inject a preset script into the page to be shared, and obtain page data by statically analyzing the page to be shared through the preset script.
The background analysis module 1312 is configured to send a source code of a page to be shared to a server for analysis, and receive page data returned by the server and obtained by analyzing the source code.
In other embodiments, the page sharing information generating apparatus may include a shared data obtaining module 1308, a static parsing module 1310, and a background parsing module 1312.
In one embodiment, there is also provided a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of: acquiring a sharing operation instruction of a page to be shared; searching page elements for generating page sharing information from stored page data from different sources according to preset priority; and generating page sharing information according to the searched page elements.
In one embodiment, the page data includes sharing data of a page to be shared for the first platform, page data obtained by performing static analysis on the page to be shared, and page data obtained by analyzing a source code of the page to be shared; the first platform is a platform where the page to be shared is located. Further, searching page elements for generating page sharing information from stored page data from different sources according to the sharing operation instruction includes: searching page elements used for generating page sharing information from stored page data from different sources according to a preset priority according to the sharing operation instruction; the preset priority may be: the method comprises the steps that a page to be shared aims at shared data of a first platform, page data obtained by carrying out static analysis on the page to be shared, and page data obtained by analyzing source codes of the page to be shared.
In one embodiment, searching page elements for generating page sharing information from stored page data from different sources according to a sharing operation instruction includes: searching page elements used for generating page sharing information from stored page data from different sources according to a preset priority according to the sharing operation instruction; the page data comprises sharing data of the page to be shared aiming at the first platform and sharing data of the page to be shared aiming at least one second platform; the preset priority is as follows: the sharing data of the page to be shared aiming at the first platform is higher than the sharing data of the page to be shared aiming at least one second platform; the first platform is a platform where the page to be shared is located, and the second platform is a preset platform outside the platform where the page to be shared is located.
In one embodiment, the page data may further include page data obtained by performing static analysis on the page to be shared and page data obtained by performing analysis on the source code of the page to be shared.
Further, searching page elements for generating page sharing information from stored page data from different sources according to the sharing operation instruction includes: searching page elements used for generating page sharing information from stored page data from different sources according to a preset priority according to the sharing operation instruction; the preset priority may be: the method comprises the steps of sharing data of a page to be shared aiming at a first platform, sharing data of the page to be shared aiming at least one second platform, carrying out static analysis on the page to be shared to obtain page data, and analyzing source codes of the page to be shared to obtain page data.
In one embodiment, before obtaining the sharing operation instruction of the page to be shared, the method further includes: displaying a page to be shared on a first platform; intercepting a request for calling an interface of a second platform, which is generated by a page to be shared; and obtaining the sharing data of the page to be shared aiming at the second platform through a preset script.
In one embodiment, obtaining, by a preset script, sharing data of a page to be shared for the second platform includes: replacing a script file generated by the request with a preset script; triggering the calling of an interface of a second platform through a preset script, and acquiring shared data from the second platform; triggering the call to the interface of the first platform, and transmitting the sharing data acquired from the second platform to the first platform through the interface of the first platform so as to store the sharing data locally.
In one embodiment, after the step of obtaining the sharing operation instruction of the page to be shared, the method further includes: injecting a preset script into the page to be shared, and statically analyzing the page to be shared through the preset script to obtain page data; and sending the source codes of the pages to be shared to a server for analysis, and receiving page data returned by the server and obtained by analyzing the source codes.
Those skilled in the art will appreciate that implementing all or part of the processes of the methods of the embodiments described above may be accomplished by way of a computer program stored in a non-volatile computer-readable storage medium, e.g., a non-volatile storage medium of a computer system, for execution by at least one processor of the computer system to implement a process comprising 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 (Random Access Memory, RAM), or the like.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the invention, which are described in detail and are not to be construed as limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.

Claims (10)

1. A method for generating page sharing information, the method comprising:
displaying a page to be shared on a first platform, and automatically triggering the call of a shared data interface of the first platform;
transmitting the sharing data aiming at the first platform to the first platform through a sharing data interface of the first platform so as to be stored locally;
when the page to be shared generates a request for calling the interface of at least one second platform, intercepting the request for calling the interface of the second platform generated by the page to be shared; the second platform is a platform outside the platform where the page to be shared is located;
replacing a script file generated by the request with a preset script, wherein the preset script comprises active calling logic for an interface of the second platform;
actively triggering the calling of the interface of the second platform through the preset script, and acquiring shared data from the second platform;
triggering the call of the sharing data interface of the first platform, and transmitting the sharing data acquired from the second platform to the first platform through the sharing data interface of the first platform so as to be stored locally;
acquiring a sharing operation instruction of the page to be shared;
According to the sharing operation instruction, searching page elements from the sharing data of the page to be shared aiming at the first platform;
when the page element is not found in the shared data of the first platform, the page element is found from the shared data aiming at least one second platform;
and generating a sharing information structure body of the page sharing information according to the searched page elements, and displaying the page sharing information in the form of the sharing information structure body.
2. The method according to claim 1, wherein the method further comprises:
and searching the page elements from page data obtained by carrying out static analysis on the page to be shared and page data obtained by analyzing the source code of the page to be shared.
3. The method of claim 2, wherein the order of the preset priorities is: the method comprises the steps of enabling a page to be shared to share data of a first platform, enabling the page to be shared to share data of at least one second platform, enabling the page to be shared to conduct static analysis to obtain page data, and enabling source codes of the page to be shared to conduct analysis to obtain page data.
4. The method of claim 1, further comprising, after the step of obtaining the sharing operation instruction of the page to be shared:
injecting a preset script into the page to be shared, and statically analyzing the page to be shared through the preset script to obtain page data;
and sending the source code of the page to be shared to a server for analysis, and receiving page data returned by the server and obtained by analyzing the source code.
5. A page sharing information generating apparatus, the apparatus comprising:
the sharing data acquisition module is used for displaying a page to be shared on a first platform and automatically triggering the call of a sharing data interface of the first platform; transmitting the sharing data aiming at the first platform to the first platform through a sharing data interface of the first platform so as to be stored locally; when the page to be shared generates a request for calling the interface of at least one second platform, intercepting the request for calling the interface of the second platform generated by the page to be shared; the second platform is a platform outside the platform where the page to be shared is located;
the script replacement module is used for replacing a script file generated by the request with a preset script, wherein the preset script comprises active calling logic for an interface of the second platform;
The first calling module is used for actively triggering the calling of the interface of the second platform through the preset script and acquiring shared data from the second platform;
the second calling module is used for triggering the calling of the sharing data interface of the first platform, and transmitting the sharing data acquired from the second platform to the first platform through the sharing data interface of the first platform so as to be stored locally;
the operation instruction acquisition module is used for acquiring the sharing operation instruction of the page to be shared;
the page element searching module is used for searching page elements from the sharing data of the page to be shared aiming at the first platform according to the sharing operation instruction; when the page element is not found in the shared data of the first platform, the page element is found from the shared data aiming at least one second platform;
and the sharing information generating module is used for generating a sharing information structure body of the page sharing information according to the searched page elements, and displaying the page sharing information in the form of the sharing information structure body.
6. The apparatus of claim 5, wherein the apparatus is further configured to: and searching the page elements from page data obtained by carrying out static analysis on the page to be shared and page data obtained by analyzing the source code of the page to be shared.
7. The apparatus of claim 6, wherein the order of the preset priorities is: the method comprises the steps of enabling a page to be shared to share data of a first platform, enabling the page to be shared to share data of at least one second platform, enabling the page to be shared to conduct static analysis to obtain page data, and enabling source codes of the page to be shared to conduct analysis to obtain page data.
8. The apparatus of claim 5, wherein the apparatus further comprises:
the static analysis module is used for injecting a preset script into the page to be shared, and statically analyzing the page to be shared through the preset script to obtain page data;
the background analysis module is used for sending the source code of the page to be shared to a server for analysis and receiving page data returned by the server and obtained by analyzing the source code.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any one of claims 1 to 4 when the program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method according to any one of claims 1 to 4.
CN201711163884.2A 2017-11-21 2017-11-21 Page sharing information generation method and device, computer equipment and storage medium Active CN107943921B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711163884.2A CN107943921B (en) 2017-11-21 2017-11-21 Page sharing information generation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711163884.2A CN107943921B (en) 2017-11-21 2017-11-21 Page sharing information generation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN107943921A CN107943921A (en) 2018-04-20
CN107943921B true CN107943921B (en) 2024-01-05

Family

ID=61929481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711163884.2A Active CN107943921B (en) 2017-11-21 2017-11-21 Page sharing information generation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN107943921B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109597947A (en) * 2018-10-09 2019-04-09 中国平安人寿保险股份有限公司 Interface sharing method, device, electronic equipment and storage medium based on big data
CN109684567A (en) * 2018-11-15 2019-04-26 贵阳语玩科技有限公司 Active page statistical analysis technique and device in a kind of App
CN110134900A (en) * 2019-04-18 2019-08-16 深圳壹账通智能科技有限公司 Page data sharing method, device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7028032B1 (en) * 1999-09-28 2006-04-11 International Business Machines Corporation Method of updating network information addresses
CN103678321A (en) * 2012-09-03 2014-03-26 阿里巴巴集团控股有限公司 Webpage element determination method and device and user behavior route determination method and device
CN104426925A (en) * 2013-08-21 2015-03-18 腾讯科技(深圳)有限公司 Webpage resource obtaining method and apparatus
CN104461634A (en) * 2014-12-10 2015-03-25 北京国双科技有限公司 Device and method for loading share module on webpage
CN104991930A (en) * 2015-07-01 2015-10-21 安一恒通(北京)科技有限公司 Webpage information sharing method and apparatus
CN107122402A (en) * 2017-03-22 2017-09-01 广东神马搜索科技有限公司 Extracting method, device, client terminal device and the electronic equipment of Web page picture

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2348706A1 (en) * 2001-05-25 2002-11-25 Ibm Canada Limited-Ibm Canada Limitee Converting user interface source code of a legacy application to web pages

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7028032B1 (en) * 1999-09-28 2006-04-11 International Business Machines Corporation Method of updating network information addresses
CN103678321A (en) * 2012-09-03 2014-03-26 阿里巴巴集团控股有限公司 Webpage element determination method and device and user behavior route determination method and device
CN104426925A (en) * 2013-08-21 2015-03-18 腾讯科技(深圳)有限公司 Webpage resource obtaining method and apparatus
CN104461634A (en) * 2014-12-10 2015-03-25 北京国双科技有限公司 Device and method for loading share module on webpage
CN104991930A (en) * 2015-07-01 2015-10-21 安一恒通(北京)科技有限公司 Webpage information sharing method and apparatus
CN107122402A (en) * 2017-03-22 2017-09-01 广东神马搜索科技有限公司 Extracting method, device, client terminal device and the electronic equipment of Web page picture

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王玲宁 ; 禹卫华 ; .全文本视野下政务新媒体的内容生产和传播特征――以"上海发布"为例.新闻界.2017,(第09期),全文. *

Also Published As

Publication number Publication date
CN107943921A (en) 2018-04-20

Similar Documents

Publication Publication Date Title
US11868785B2 (en) Application program page processing method and device
US11907642B2 (en) Enhanced links in curation and collaboration applications
US20190251188A1 (en) Method and apparatus for opening file, and electronic device
CN110414249B (en) Information processing method, information processing apparatus, storage medium, and electronic device
US20140208326A1 (en) File presenting method and apparatus for a smart terminal
CN106528587B (en) Page display method and device in composite webpage system
CN107943921B (en) Page sharing information generation method and device, computer equipment and storage medium
CN104346075A (en) Method for processing screenshots and client
US11659076B2 (en) Initiating application execution with trigger characters
US20190073428A1 (en) Method, system and terminal for performing search in a browser
CN107526623B (en) Data processing method and device
CN112764857A (en) Information processing method and device and electronic equipment
CN105487640A (en) Image pre-loading and caching method of Android watch
CN112671635A (en) Sending method, sending device and electronic equipment
CN111817944A (en) Picture sharing method and device and electronic equipment
US20160301736A1 (en) Systems and methods for providing remote access to an application
US11785039B2 (en) Scanning web applications for security vulnerabilities
CN113656737B (en) Webpage content display method and device, electronic equipment and storage medium
CN106383705B (en) Method and device for setting mouse display state in application thin client
CN114398128A (en) Information display method and device
CN114461909A (en) Information processing method, information processing apparatus, electronic device, and storage medium
US20120054313A1 (en) Interpreting web application content
US11902340B2 (en) Data processing method, apparatus, electronic device and storage medium
CN117648510B (en) Information display method, information display device, computer equipment and storage medium
CN110059281B (en) Picture display method, device, terminal and computer readable storage medium

Legal Events

Date Code Title Description
PB01 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