CN107454147B - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN107454147B
CN107454147B CN201710547775.4A CN201710547775A CN107454147B CN 107454147 B CN107454147 B CN 107454147B CN 201710547775 A CN201710547775 A CN 201710547775A CN 107454147 B CN107454147 B CN 107454147B
Authority
CN
China
Prior art keywords
webpage
sharing
user
browser
sharing instruction
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
CN201710547775.4A
Other languages
Chinese (zh)
Other versions
CN107454147A (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.)
Beijing longzhixin Technology Co.,Ltd.
Original Assignee
Beijing Longzhixin Technology 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 Beijing Longzhixin Technology Co ltd filed Critical Beijing Longzhixin Technology Co ltd
Priority to CN201710547775.4A priority Critical patent/CN107454147B/en
Publication of CN107454147A publication Critical patent/CN107454147A/en
Application granted granted Critical
Publication of CN107454147B publication Critical patent/CN107454147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • 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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The invention discloses an information processing method and a device, wherein the method comprises the following steps: sending an HTML file to a browser so that the browser can convert the HTML file into a webpage and display the webpage; responding to a sharing instruction aiming at the webpage, and converting the HTML file into the webpage; converting the webpage into a picture; and sending the picture to a client corresponding to the sharing user. The embodiment of the invention improves the information sharing efficiency.

Description

Information processing method and device
Technical Field
The invention belongs to the technical field of computers, and particularly relates to an information processing method and device.
Background
With the rapid development of computer technology, web pages of any website can be viewed, and in practical applications, particularly social or competition websites, for web pages containing specific content, a browsing user or a maintainer has a sharing demand and needs to send the web content to a sharing user.
In an information sharing manner in the prior art, a browser may convert a current webpage into pictures according to a page sharing request, and then send the pictures to clients corresponding to sharing users respectively by a server of a website corresponding to the website.
As can be seen from the above description, in the existing information sharing method, a web page needs to be converted into a picture by a browser, and the picture is uploaded to a server of a corresponding website and then forwarded by the server, so that many operation steps need to be executed, the operation is frequent, and the information sharing efficiency is reduced.
Disclosure of Invention
In view of this, the invention provides an information processing method, which directly converts a webpage file into a picture file for sharing in a server, thereby improving the information sharing efficiency.
In order to solve the above technical problem, the present invention provides an information processing method, including:
sending an HTML file to a browser so that the browser can convert the HTML file into a webpage and display the webpage;
responding to a sharing instruction aiming at the webpage, and converting the HTML file into the webpage;
converting the webpage into a picture;
and sending the picture to a client corresponding to the sharing user.
Preferably, before the HTML file is converted into the web page in response to the sharing instruction for the web page, the method further includes:
receiving a sharing instruction aiming at the webpage sent by the browser;
the sharing instruction is generated by the browser based on a user request.
Preferably, the converting the HTML file into the web page in response to the sharing instruction for the web page includes:
and responding to the sharing instruction aiming at the webpage, and calling a browser plug-in to convert the HTML file into the webpage.
Preferably, the converting the webpage page into the picture includes:
screenshot is carried out on the webpage to obtain a corresponding picture;
preferably, the sharing instruction includes user identification information, and the sending the picture to the client corresponding to the sharing user includes:
and sending the picture to a client corresponding to the sharing user identified by the user identification information.
The present invention also provides an information processing apparatus including:
the system comprises a first sending module, a second sending module and a display module, wherein the first sending module is used for sending an HTML file to a browser so that the browser can convert the HTML file into a webpage and display the webpage;
the response module is used for responding to a sharing instruction aiming at the webpage and converting the HTML file into the webpage;
the conversion module is used for converting the webpage into a picture;
and the second sending module is used for sending the picture to a client corresponding to the sharing user.
Preferably, the sharing instruction is generated by the browser based on a user request, and the apparatus further includes:
and the receiving module is used for receiving a sharing instruction aiming at the webpage sent by the browser.
Preferably, the response module comprises:
and the response unit is used for responding to the sharing instruction aiming at the webpage, and calling a browser plug-in to convert the HTML file into the webpage.
Preferably, the conversion module comprises:
the conversion unit is used for carrying out screenshot on the webpage to obtain a corresponding picture;
preferably, the sharing instruction includes user identification information, and the second sending module includes:
and the sending unit is used for sending the picture to a client corresponding to the sharing user identified by the user identification information.
Compared with the prior art, in the embodiment of the invention, after the server sends the HTML file to the browser, the browser can convert the HTML file into the webpage and display the webpage so as to display the webpage for the user. The server can receive a webpage page sharing instruction sent by the browser, respond to the sharing instruction, convert the HTML file into a corresponding webpage page, further convert the webpage page into a picture, and then send the picture to a client corresponding to a sharing user. The server converts the webpage into the picture and directly sends the picture to the client corresponding to the sharing user, so that operation steps can be saved, and the information sharing efficiency is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of one embodiment of a method of information processing of an embodiment of the present invention;
FIG. 2 is a flow chart of yet another embodiment of an information processing method of an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an embodiment of an information processing apparatus according to an embodiment of the present invention.
Detailed Description
The following detailed description of the embodiments of the present invention will be provided with reference to the accompanying drawings and examples, so that how to implement the embodiments of the present invention by using technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.
The embodiment of the invention is mainly applied to a server for providing the webpage for the browser, in particular to a social or competition server website.
With the rapid development of computer technology, a user can view a webpage in a browser and share specific content when viewing the webpage of the specific content. In an existing information sharing mode, a webpage is generally required to be converted into a picture, and then the picture is sent to a server and shared to a client corresponding to a sharing user through the server.
In the existing information sharing mode, a user needs to manually convert a webpage into a picture, and then the picture converted from the webpage is sent to a server by the user, and the server forwards the picture. In the process, users are required to participate, and multiple operations are performed, so that the information sharing efficiency is low. The inventor finds that a webpage displayed by a browser is converted from an HTML document sent by a server, and the conversion is realized by the browser, so that the inventor thinks whether the HTML document can be displayed on the server and converted into a picture, the conversion process of the picture is realized in the server, and then the server can directly share the picture to a client corresponding to a sharing user, so that the problem that information sharing can be realized only by executing multiple operations is solved.
Therefore, the inventor provides a technical scheme of the invention, in the embodiment of the invention, the server sends the HTML file to the browser, so that the browser can convert the HTML file into a webpage and display the webpage; therefore, the server can receive the sharing instruction aiming at the webpage, convert the HTML document into the webpage, convert the webpage into the picture, realize the picture in the browser, and timely send the picture to the client corresponding to the sharing user, so that the one-key forwarding of the picture is realized without executing multiple operations, and the information sharing efficiency is improved.
In conjunction with the flow chart of an embodiment of an information processing method provided by the embodiment of the present invention, the method may include the following steps:
101: and sending an HTML file to a browser so that the browser can convert the HTML file into a webpage and display the webpage.
When the browser receives a webpage viewing request triggered by a user, the viewing request is sent to a server, and an HTML file corresponding to the viewing request is sent to the browser by the server so that the HTML file is converted into a webpage by the browser and displayed.
The browser can display a control or a button in the process of displaying the webpage, and when a user triggers the control or the button, a sharing instruction of the webpage can be generated. The control or button may be provided in a web page or in a browser.
102: and responding to a sharing instruction aiming at the webpage, and converting the HTML file into the webpage.
Converting the HTML file into the web page may be parsing the HTML file and converting the HTML file into a corresponding web page.
103: and converting the webpage into a picture.
And converting the webpage into a picture, wherein the webpage can be stored in the form of the picture.
104: and sending the picture to a client corresponding to the sharing user.
The sharing user refers to a user who has the function of browsing the pictures, and the sharing user can be specified by the user.
In the embodiment of the invention, after the HTML file is sent to the browser and is converted and displayed by the browser, the server can respond to the sharing instruction aiming at the webpage, the HTML file is converted into the webpage, the webpage can be directly converted into the picture by the server, the converted picture is directly sent to the client corresponding to the sharing user by the server, the browser can realize information sharing only by sending the sharing instruction to the server, the picture does not need to be uploaded, the operation steps are reduced, and the information processing efficiency is improved.
In some embodiments, before the converting the HTML file into the web page in response to the sharing instruction for the web page, the method may further include:
and receiving a sharing instruction aiming at the webpage sent by the browser.
The sharing instruction can be generated by the browser based on a user request.
The browser can generate a sharing instruction and send the sharing instruction to the server when receiving a sharing request of a user, and the server can receive the sharing instruction sent by the browser. The sharing instruction may be that a sharing control is set on the browser or a displayed webpage, and when the user triggers the sharing control, the sharing instruction may be generated.
In the embodiment of the invention, the effect of sharing the webpage information is achieved by receiving the sharing instruction aiming at the webpage sent by the browser and responding to the sharing instruction.
In some embodiments, the sharing instruction may be generated by a server, and the method may further include, before converting the HTML file into the web page in response to the sharing instruction for the web page:
generating a sharing instruction;
as a possible implementation manner, the sharing instruction may be generated by the server according to a preset sharing rule.
The server can detect a client corresponding to a user meeting a preset sharing rule, and generates a sharing instruction according to the corresponding client. The preset sharing rule may be that a shared user is determined by a user requesting to share, the shared user may be a user having a designated relationship with the user requesting to share, and the relationship between the shared user and the user requesting to share may be determined by setting a flag, for example, a flag may be set, where the flag is 0 and not a sharable user, and the flag is 1 and belongs to the sharable user.
As another possible implementation manner, the sharing instruction may be determined by the server whether to generate the sharing instruction according to whether the HTML file carries the sharing identifier or whether the file content is the specific content, for example, for an overall score result page appearing on a screen during a game, when the server determines that the page is the overall score result, the server may determine to generate the sharing instruction. That is, the sharing instruction is generated by the server, and after the sharing instruction is generated, the sharing instruction is responded, so that the webpage content corresponding to the HTML file can be shared to the client corresponding to the sharing user.
According to the embodiment of the invention, the acquisition mode of the webpage sharing instruction is determined, wherein the acquisition mode comprises different webpage sharing instruction acquisition modes, the sharing instruction can be acquired in various modes, and then the sharing instruction can be rapidly determined and the information to be shared is sent to the corresponding sharing client.
As can be seen from the description of the above embodiment, the sharing instruction may be generated by the browser based on a user request, or may be generated by the server itself, in practical applications, a certain generation manner may be adopted, or the two may be combined, and a sharing instruction generation manner in which the two cooperate with each other is used, so that the sharing instruction may be determined through multiple channels, the sharing range is increased, and the sharing effect is improved.
As an embodiment, the converting the HTML file into the web page in response to the sharing instruction for the web page may include:
and responding to the sharing instruction aiming at the webpage, and calling a browser plug-in to convert the HTML file into the webpage.
The browser plug-in may be a functional module deployed in the server, and the functional module may be capable of simulating a web page parsing function of a browser. The browser plug-in can obtain the HTML file, obtain a corresponding HTML document according to the HTML file, analyze the HTML document and render the HTML document into a webpage. The process of converting the browser plug-in HTML file into the webpage page, namely, one functional module in the server simulates a virtual browser, and the virtual browser can realize the function of analyzing the HTML file. However, the "virtual browser" may not display the web page, i.e., the web page is not displayed in the browser plug-in.
In the embodiment of the invention, the conversion work of the HTML file is realized through the browser plug-in, so that the HTML file can be converted into the webpage in the server under the condition of not needing additional operation of a user, the reduction of operation steps is realized, and the effect of improving the information processing efficiency is achieved.
As another embodiment, the converting the web page into the picture may include:
and carrying out screenshot on the webpage to obtain a corresponding picture.
As a possible implementation manner, the screenshot of the webpage may be performed by using a screenshot function provided by a browser plug-in.
In the above embodiment, the web page is obtained by analyzing the HTML file by a browser plug-in, that is, a virtual browser, and then screenshot is performed on the web page to obtain a corresponding picture.
In the embodiment of the invention, the webpage is subjected to screenshot, so that the picture of the webpage content to be shared can be rapidly acquired, and the generation efficiency of the picture can be improved.
In some embodiments, the sharing instruction may include user identification information, and the sending the picture to a client corresponding to the sharing user may include:
and sending the picture to a client corresponding to the sharing user identified by the user identification information.
The user identification information is information which can be used for identifying the identity of the sharable user, the client of the user needing to send the sharing can be determined through the user identification information, and the picture is sent to the corresponding client. The user identification information can be an effect generated according to the technical effect of the user when the user triggers a sharing request and prompts the user to select the identification information
In the embodiment of the invention, when the user sends the sharing instruction, the identification information of the sharing user can be sent at the same time, and the sharing user is appointed by the user, so that the requirement of the user is better met.
Fig. 2 is a flowchart of another embodiment of an information processing method according to an embodiment of the present invention, where the method may include the following steps:
201: and sending an HTML file to a browser so that the browser can convert the HTML file into a webpage and display the webpage.
202: receiving a sharing instruction aiming at the webpage sent by the browser; the sharing instruction may include user identification information.
203: and responding to a sharing instruction aiming at the webpage, and calling a virtual browser to convert the HTML file into the webpage.
204: and capturing the webpage by using the screenshot function of the browser plug-in to obtain a corresponding picture.
205: and sending the picture to a client corresponding to the sharing user identified by the user identification information.
In the embodiment of the invention, after the HTML file is converted into the corresponding file, the sharing instruction aiming at the webpage can be received, the sharing instruction can comprise the user identification information, and then the webpage can be directly shared to the client of the sharing user after being converted into the picture, so that the client does not need to capture the picture, and the picture is uploaded to the server and then forwarded by the server, thereby reducing the operation steps and improving the sharing efficiency.
In practical applications, the HTML file may be an HTML file corresponding to an overall score result of a game, in addition, the overall score result has no other influence on a result of the embodiment of the present invention, and further, other features are not adjusted correspondingly, a technical solution of the embodiment of the present invention will be described in detail below, and the method may include the following steps:
and sending the HTML file corresponding to the overall score result to a browser, so that the browser converts the HTML file containing the overall score result into a webpage and displays the webpage.
And receiving a sharing instruction aiming at the webpage sent by the browser.
And responding to a sharing instruction aiming at the webpage, and calling a virtual browser to convert the HTML file containing the overall score result into the webpage.
And capturing the webpage by utilizing a screenshot function of the browser plug-in to obtain a picture containing the total score result.
And sending the picture containing the overall score result to a client corresponding to the sharing user.
In the embodiment of the invention, the picture containing the overall score result is sent to the client corresponding to the sharing user. The sharing user can be a user watching the match, and the user can browse the match result directly through the client of the user after receiving the picture, so that the user can conveniently check the match result at any time.
Fig. 3 is a schematic structural diagram of an embodiment of an information processing apparatus according to an embodiment of the present invention, where the apparatus may include the following modules:
the first sending module 301 is configured to send an HTML file to a browser, so that the browser converts the HTML file into a web page and displays the web page.
When the browser receives a webpage viewing request triggered by a user, the viewing request is sent to a server, and an HTML file corresponding to the viewing request is sent to the browser by the server so that the HTML file is converted into a webpage by the browser and displayed.
The browser can display a control or a button in the process of displaying the webpage, and when a user triggers the control or the button, a sharing instruction of the webpage can be generated. The control or button may be provided in a web page or in a browser.
A response module 302, configured to respond to the sharing instruction for the web page, and convert the HTML file into the web page.
Converting the HTML file into the web page may be parsing the HTML file and converting the HTML file into a corresponding web page.
A conversion module 303, configured to convert the webpage into a picture.
And converting the webpage into a picture, wherein the webpage can be stored in the form of the picture.
A second sending module 304, configured to send the picture to a client corresponding to the sharing user.
The sharing user refers to a user who has the function of browsing the pictures, and the sharing user can be specified by the user.
In the embodiment of the invention, after the HTML file is sent to the browser and is converted and displayed by the browser, the server can respond to the sharing instruction aiming at the webpage, the HTML file is converted into the webpage, the webpage can be directly converted into the picture by the server, the converted picture is directly sent to the client corresponding to the sharing user by the server, the browser can realize information sharing only by sending the sharing instruction to the server, the picture does not need to be uploaded, the operation steps are reduced, and the information processing efficiency is improved.
In certain embodiments, the apparatus further comprises:
and the receiving module is used for receiving a sharing instruction aiming at the webpage sent by the browser.
The sharing instruction is generated by the browser based on a user request.
The browser can generate a sharing instruction and send the sharing instruction to the server when receiving a sharing request of a user, and the server can receive the sharing instruction sent by the browser. The sharing instruction may be that a sharing control is set on the browser or a displayed webpage, and when the user triggers the sharing control, the sharing instruction may be generated.
In the embodiment of the invention, the effect of sharing the webpage information is achieved by receiving the sharing instruction aiming at the webpage sent by the browser and responding to the sharing instruction.
In some embodiments, the apparatus may further comprise:
the generating module is used for generating a sharing instruction;
as a possible implementation manner, the sharing instruction may be generated by the server according to a preset sharing rule.
The server can detect a client corresponding to a user meeting a preset sharing rule, and generates a sharing instruction according to the corresponding client. The preset sharing rule may be that a shared user is determined by a user requesting to share, the shared user may be a user having a designated relationship with the user requesting to share, and the relationship between the shared user and the user requesting to share may be determined by setting a flag, for example, a flag may be set, where the flag is 0 and not a sharable user, and the flag is 1 and belongs to the sharable user.
As another possible implementation manner, the sharing instruction may be determined by the server whether to generate the sharing instruction according to whether the HTML file carries the sharing identifier or whether the file content is the specific content, for example, for an overall score result page appearing on a screen during a game, when the server determines that the page is the overall score result, the server may determine to generate the sharing instruction. That is, the sharing instruction is generated by the server, and after the sharing instruction is generated, the sharing instruction is responded, so that the webpage content corresponding to the HTML file can be shared to the client corresponding to the sharing user.
According to the embodiment of the invention, the acquisition mode of the webpage sharing instruction is determined, wherein the acquisition mode comprises different webpage sharing instruction acquisition modes, the sharing instruction can be acquired in various modes, and then the sharing instruction can be rapidly determined and the information to be shared is sent to the corresponding sharing client.
As an embodiment, the response module may include:
and the response unit is used for responding to the sharing instruction aiming at the webpage, and calling a browser plug-in to convert the HTML file into the webpage.
The browser plug-in may be a functional module deployed in the server, and the functional module may be capable of simulating a web page parsing function of a browser. The browser plug-in can obtain the HTML file, obtain a corresponding HTML document according to the HTML file, analyze the HTML document and render the HTML document into a webpage. The process of converting the browser plug-in HTML file into the webpage page, namely, one functional module in the server simulates a virtual browser, and the virtual browser can realize the function of analyzing the HTML file. However, the "virtual browser" may not display the web page, i.e., the web page is not displayed in the browser plug-in.
In the embodiment of the invention, the conversion work of the HTML file is realized through the browser plug-in, so that the HTML file can be converted into the webpage in the server under the condition of not needing additional operation of a user, the reduction of operation steps is realized, and the effect of improving the information processing efficiency is achieved.
As still another embodiment, the conversion module may include:
and the conversion unit is used for carrying out screenshot on the webpage to obtain a corresponding picture.
As a possible implementation manner, the screenshot of the webpage may be performed by using a screenshot function provided by a browser plug-in.
In the above embodiment, the web page is obtained by analyzing the HTML file by a browser plug-in, that is, a virtual browser, and then screenshot is performed on the web page to obtain a corresponding picture.
In the embodiment of the invention, the webpage is subjected to screenshot, so that the picture of the webpage content to be shared can be rapidly acquired, and the generation efficiency of the picture can be improved.
In some embodiments, the sharing instruction includes user identification information, and the second sending module includes:
and the sending unit is used for sending the picture to a client corresponding to the sharing user identified by the user identification information.
The user identification information is information which can be used for identifying the identity of the sharable user, the client of the user needing to send the sharing can be determined through the user identification information, and the picture is sent to the corresponding client. The user identification information can be an effect generated according to the technical effect of the user when the user triggers a sharing request and prompts the user to select the identification information
In the embodiment of the invention, when the user sends the sharing instruction, the identification information of the sharing user can be sent at the same time, and the sharing user is appointed by the user, so that the requirement of the user is better met.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As used in the specification and in the claims, certain terms are used to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This specification and claims do not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms "include" and "comprise" are used in an open-ended fashion, and thus should be interpreted to mean "include, but not limited to. "substantially" means within an acceptable error range, and a person skilled in the art can solve the technical problem within a certain error range to substantially achieve the technical effect. Furthermore, the term "coupled" is intended to encompass any direct or indirect electrical coupling. Thus, if a first device couples to a second device, that connection may be through a direct electrical coupling or through an indirect electrical coupling via other devices and couplings. The following description is of the preferred embodiment for carrying out the invention, and is made for the purpose of illustrating the general principles of the invention and not for the purpose of limiting the scope of the invention. The scope of the present invention is defined by the appended claims.
It is also noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a good or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such good or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a commodity or system that includes the element
The foregoing description shows and describes several preferred embodiments of the invention, but as aforementioned, it is to be understood that the invention is not limited to the forms disclosed herein, but is not to be construed as excluding other embodiments and is capable of use in various other combinations, modifications, and environments and is capable of changes within the scope of the inventive concept as expressed herein, commensurate with the above teachings, or the skill or knowledge of the relevant art. And that modifications and variations may be effected by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. An information processing method characterized by comprising:
sending an HTML file to a browser so that the browser can convert the HTML file into a webpage and display the webpage;
responding to a sharing instruction aiming at the webpage, and calling a browser plug-in to convert the HTML file into the webpage;
converting the webpage into a picture;
sending the picture to a client corresponding to a sharing user; wherein the content of the first and second substances,
when a browser receives a webpage viewing request triggered by a user, the viewing request is sent to a server, and an HTML file corresponding to the viewing request is sent to the browser by the server so that the HTML file is converted into a webpage by the browser and displayed;
the method comprises the steps that a browser displays a control or a button in the process of displaying a webpage, and when a user triggers the control or the button, a sharing instruction of the webpage is generated; the control or the button is arranged in a webpage and is also arranged in the browser;
before converting the HTML file into the web page, the method further includes: receiving a sharing instruction aiming at the webpage sent by the browser, wherein the sharing instruction is generated by the browser based on a user request, the browser generates the sharing instruction when receiving the sharing request of the user and sends the sharing instruction to a server, the server receives the sharing instruction sent by the browser, the sharing instruction is that a sharing control is arranged on the browser or the displayed webpage, and when the user triggers the sharing control, the sharing instruction is generated;
before converting the HTML file into the web page, the method further includes: generating a sharing instruction, wherein the sharing instruction is generated by the server according to a preset sharing rule, the server detects a client corresponding to a user meeting the preset sharing rule, and generates the sharing instruction according to the corresponding client, the preset sharing rule is that a shared user is determined by a user requesting to share, the shared user is a user having a specified relationship with the user requesting to share, the relationship between the shared user and the user requesting to share is determined by setting a flag, the flag does not belong to a sharable user when the flag is 0, and the flag belongs to the sharable user when the flag is 1;
the sharing instruction is also judged by the server whether to generate the sharing instruction or not according to the modes of whether the HTML file carries a sharing identifier or whether the file content is specific content or not, and the server determines to generate the sharing instruction when determining that the page is a total score result, namely the sharing instruction is generated by the server, and after generating the sharing instruction, the server responds to the sharing instruction so as to share the webpage content corresponding to the HTML file to the client corresponding to the sharing user;
and calling a browser plug-in to convert the HTML file into the webpage, wherein the browser plug-in is a functional module deployed in the server and can simulate the webpage analysis function of a browser, and the browser plug-in acquires the HTML file, acquires a corresponding HTML document according to the HTML file, analyzes the HTML document and renders the HTML document into the webpage.
2. The method of claim 1, wherein before converting the HTML document to the web page in response to the sharing instruction for the web page, the method further comprises:
receiving a sharing instruction aiming at the webpage sent by the browser;
the sharing instruction is generated by the browser based on a user request.
3. The method of claim 1, wherein converting the web page into a picture comprises:
and carrying out screenshot on the webpage to obtain a corresponding picture.
4. The method according to claim 1, wherein the sharing instruction includes user identification information, and the sending the picture to a client corresponding to a sharing user includes:
and sending the picture to a client corresponding to the sharing user identified by the user identification information.
5. An information processing apparatus characterized by comprising:
the system comprises a first sending module, a second sending module and a display module, wherein the first sending module is used for sending an HTML file to a browser so that the browser can convert the HTML file into a webpage and display the webpage;
the response module comprises a response unit; the response unit is used for responding to a sharing instruction aiming at the webpage, and calling a browser plug-in to convert the HTML file into the webpage;
the conversion module is used for converting the webpage into a picture;
the second sending module is used for sending the picture to a client corresponding to the sharing user; wherein the content of the first and second substances,
when a browser receives a webpage viewing request triggered by a user, the viewing request is sent to a server, and an HTML file corresponding to the viewing request is sent to the browser by the server so that the HTML file is converted into a webpage by the browser and displayed;
the method comprises the steps that a browser displays a control or a button in the process of displaying a webpage, and when a user triggers the control or the button, a sharing instruction of the webpage is generated; the control or the button is arranged in a webpage and is also arranged in the browser;
before converting the HTML file into the web page, the method further includes: receiving a sharing instruction aiming at the webpage sent by the browser, wherein the sharing instruction is generated by the browser based on a user request, the browser generates the sharing instruction when receiving the sharing request of the user and sends the sharing instruction to a server, the server receives the sharing instruction sent by the browser, the sharing instruction is that a sharing control is arranged on the browser or the displayed webpage, and when the user triggers the sharing control, the sharing instruction is generated;
before converting the HTML file into the webpage page, the method further comprises the following steps: generating a sharing instruction, wherein the sharing instruction is generated by the server according to a preset sharing rule, the server detects a client corresponding to a user meeting the preset sharing rule, and generates the sharing instruction according to the corresponding client, the preset sharing rule is that a shared user is determined by a user requesting to share, the shared user is a user having a specified relationship with the user requesting to share, the relationship between the shared user and the user requesting to share is determined by setting a flag, the flag does not belong to a sharable user when the flag is 0, and the flag belongs to the sharable user when the flag is 1;
the sharing instruction is also judged by the server whether to generate the sharing instruction or not according to the modes of whether the HTML file carries a sharing identifier or whether the file content is specific content or not, and the server determines to generate the sharing instruction when determining that the page is a total score result, namely the sharing instruction is generated by the server, and after generating the sharing instruction, the server responds to the sharing instruction so as to share the webpage content corresponding to the HTML file to the client corresponding to the sharing user;
and calling a browser plug-in to convert the HTML file into the webpage, wherein the browser plug-in is a functional module deployed in the server and can simulate the webpage analysis function of a browser, and the browser plug-in acquires the HTML file, acquires a corresponding HTML document according to the HTML file, analyzes the HTML document and renders the HTML document into the webpage.
6. The apparatus of claim 5, wherein the sharing instruction is generated by the browser based on a user request, the apparatus further comprising:
and the receiving module is used for receiving a sharing instruction aiming at the webpage sent by the browser.
7. The apparatus of claim 5, wherein the conversion module comprises:
and the conversion unit is used for carrying out screenshot on the webpage to obtain a corresponding picture.
8. The apparatus according to claim 5, wherein the sharing instruction includes user identification information, and the second sending module includes:
and the sending unit is used for sending the picture to a client corresponding to the sharing user identified by the user identification information.
CN201710547775.4A 2017-07-06 2017-07-06 Information processing method and device Active CN107454147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710547775.4A CN107454147B (en) 2017-07-06 2017-07-06 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710547775.4A CN107454147B (en) 2017-07-06 2017-07-06 Information processing method and device

Publications (2)

Publication Number Publication Date
CN107454147A CN107454147A (en) 2017-12-08
CN107454147B true CN107454147B (en) 2021-04-23

Family

ID=60488321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710547775.4A Active CN107454147B (en) 2017-07-06 2017-07-06 Information processing method and device

Country Status (1)

Country Link
CN (1) CN107454147B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108363734A (en) * 2018-01-17 2018-08-03 链家网(北京)科技有限公司 The page generates the method and device of picture
CN108959393B (en) * 2018-05-31 2021-04-13 北京五八信息技术有限公司 Dynamic picture processing method, device and storage medium
CN109165357A (en) * 2018-09-07 2019-01-08 北京三快在线科技有限公司 Picture Generation Method, server, electronic equipment and readable storage medium storing program for executing
CN112052377B (en) * 2019-06-06 2023-09-15 百度在线网络技术(北京)有限公司 Resource recommendation method, device, server and storage medium
CN112052376A (en) * 2019-06-06 2020-12-08 百度在线网络技术(北京)有限公司 Resource recommendation method, device, server, equipment and medium
CN110516191A (en) * 2019-08-30 2019-11-29 深圳点猫科技有限公司 Webpage data is converted into the method and apparatus of picture file
CN113591436A (en) * 2020-04-30 2021-11-02 西安诺瓦星云科技股份有限公司 Program text processing method and device
CN111641701B (en) * 2020-05-25 2023-07-14 深信服科技股份有限公司 Data protection method and device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853753A (en) * 2012-12-03 2014-06-11 腾讯科技(深圳)有限公司 Method and system for sharing webpage contents
CN104035929A (en) * 2013-03-04 2014-09-10 腾讯科技(深圳)有限公司 Webpage screenshot method and device
CN104991911A (en) * 2015-06-19 2015-10-21 广州视睿电子科技有限公司 File sharing method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101405990B1 (en) * 2008-12-22 2014-06-11 삼성전자주식회사 Image forming apparatus and service producing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103853753A (en) * 2012-12-03 2014-06-11 腾讯科技(深圳)有限公司 Method and system for sharing webpage contents
CN104035929A (en) * 2013-03-04 2014-09-10 腾讯科技(深圳)有限公司 Webpage screenshot method and device
CN104991911A (en) * 2015-06-19 2015-10-21 广州视睿电子科技有限公司 File sharing method and system

Also Published As

Publication number Publication date
CN107454147A (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN107454147B (en) Information processing method and device
US9984408B1 (en) Method, medium, and system for live video cooperative shopping
JP6239715B2 (en) System and method for transmitting information using image code
US20140325323A1 (en) Online video playing method and apparatus and computer readable medium
US9923977B2 (en) Transferring cookie data to another domain
CN106844705B (en) Method and apparatus for displaying multimedia content
JP2015532473A (en) Information processing method, apparatus, terminal, and server
WO2021082299A1 (en) Video playback method and device
WO2014176906A1 (en) Online video playing method and apparatus and computer readable medium
CN111666518B (en) DOI display method and device
US9323412B2 (en) Briefing tool having self-guided discovery and suggestion box features
CN110968314B (en) Page generation method and device
RU2555224C2 (en) Method and device for content conversion
CN112256990A (en) Image processing method and device and computer readable storage medium
JP2016540333A (en) Terminal marking method, terminal marking device, program, and recording medium
JP7399999B2 (en) Information display method and device
US20180192121A1 (en) System and methods thereof for displaying video content
CN103902635A (en) Method, browser, multimedia equipment and mobile terminal for obtaining real-time data
JP2017527872A (en) Cloud streaming service providing method, apparatus and system therefor, and computer-readable recording medium on which cloud streaming script code is recorded
CN110765084A (en) Picture uploading method and system, electronic equipment and storage medium
CN106547792B (en) Picture sharing method and device
CN114268803A (en) Live video display method, device, equipment and storage medium
CN111314462A (en) Resource processing method, device and storage medium
CN104243455A (en) Method and system for processing image
CN108595640A (en) Computer based picture display method and picture display device

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
TA01 Transfer of patent application right

Effective date of registration: 20210318

Address after: 101300 309, 3rd floor, 60 Fuqian 1st Street, Tianzhu District, Shunyi District, Beijing

Applicant after: Beijing longzhixin Technology Co.,Ltd.

Address before: 100041 room 120, 4th floor, building 17, yard 30, Shixing street, Shijingshan District, Beijing

Applicant before: BEIJING PANDA MUTUAL ENTERTAINMENT TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant