CN109033466B - Page sharing method calculates equipment and computer storage medium - Google Patents

Page sharing method calculates equipment and computer storage medium Download PDF

Info

Publication number
CN109033466B
CN109033466B CN201811014340.4A CN201811014340A CN109033466B CN 109033466 B CN109033466 B CN 109033466B CN 201811014340 A CN201811014340 A CN 201811014340A CN 109033466 B CN109033466 B CN 109033466B
Authority
CN
China
Prior art keywords
page
sharing
parent
screenshot
identification information
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
CN201811014340.4A
Other languages
Chinese (zh)
Other versions
CN109033466A (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.)
Zhangyue Technology Co Ltd
Original Assignee
Zhangyue 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 Zhangyue Technology Co Ltd filed Critical Zhangyue Technology Co Ltd
Priority to CN201811014340.4A priority Critical patent/CN109033466B/en
Publication of CN109033466A publication Critical patent/CN109033466A/en
Application granted granted Critical
Publication of CN109033466B publication Critical patent/CN109033466B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of page sharing method, calculate equipment and computer storage medium.Wherein, method comprises determining that the sharing identification information for sharing the page corresponding with the parent page currently shown;The corresponding sharing page resource of the sharing page is obtained according to the sharing identification information for sharing the page, the sharing page is loaded according to the sharing page resource got;Screenshot processing is carried out to the sharing page loaded, obtains the screenshot page, sharing operation is carried out according to the screenshot page.The present invention program, it can be retrieved as sharing the sharing page resource of page configuration according to the sharing identification information for sharing the page and load the sharing page, and fixed content not only is shown in sharing the page, so that the content shared in the page is more flexible changeable, and then be conducive to adapt to changeable displaying demand.

Description

Page sharing method calculates equipment and computer storage medium
Technical field
The present invention relates to field of computer technology, and in particular to a kind of page sharing method calculates equipment and computer is deposited Storage media.
Background technique
With the development of internet, information is obtained by webpage or application software and has become a kind of universal trend.With this Meanwhile in order to facilitate the information sharing between user, alternatively, in order to reinforce the interaction between user, numerous Webpages with And sharing function is provided in the application software page.
However, existing sharing function is typically only capable to share specific content relevant to current page, in other words, The content of the sharing page finally shown is extremely fixed, by taking reading note is shared as an example, then shares the page from top to bottom Content can only be user's pet name, books title and note contents, and cannot carry out flexible configuration to the content for sharing the page.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind It states the page sharing method of problem, calculate equipment and computer storage medium.
According to an aspect of the invention, there is provided a kind of page sharing method, comprising:
Determine the sharing identification information for sharing the page corresponding with the parent page currently shown;
The corresponding sharing page resource of the sharing page is obtained according to the sharing identification information for sharing the page, according to The sharing page resource got loads the sharing page;
Screenshot processing is carried out to the sharing page loaded, the screenshot page is obtained, is shared according to the screenshot page Operation.
According to another aspect of the present invention, provide a kind of calculating equipment, comprising: processor, memory, communication interface and Communication bus, the processor, the memory and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, it is following that the executable instruction executes the processor Operation:
Determine the sharing identification information for sharing the page corresponding with the parent page currently shown;
The corresponding sharing page resource of the sharing page is obtained according to the sharing identification information for sharing the page, according to The sharing page resource got loads the sharing page;
Screenshot processing is carried out to the sharing page loaded, the screenshot page is obtained, is shared according to the screenshot page Operation.
According to another aspect of the invention, provide a kind of computer storage medium, be stored in the storage medium to A few executable instruction, the executable instruction make processor execute following operation:
Determine the sharing identification information for sharing the page corresponding with the parent page currently shown;
The corresponding sharing page resource of the sharing page is obtained according to the sharing identification information for sharing the page, according to The sharing page resource got loads the sharing page;
Screenshot processing is carried out to the sharing page loaded, the screenshot page is obtained, is shared according to the screenshot page Operation.
Page sharing method, calculating equipment and computer storage medium according to the present invention pass through determining and current display Parent page it is corresponding share the page sharing identification information, then according to the sharing identification information obtain share the page money Source simultaneously loads the sharing page, wherein flexible configuration can be carried out by sharing page resource, and be not limited to fixed content;Again to adding The sharing page of load carries out screenshot sharing, then also includes the sharing page resource of flexible configuration in the screenshot page that screenshot obtains, So that the content in the screenshot page can satisfy current displaying demand.This embodiment scheme shares the page by flexible configuration The page share resource so that the content shared in the page is more flexible changeable, and then be conducive to changeable displaying demand.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of page sharing method according to an embodiment of the invention;
Fig. 2 shows the flow charts of page sharing method in accordance with another embodiment of the present invention;
Fig. 3 shows a kind of structural schematic diagram for calculating equipment according to an embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
Fig. 1 shows the flow chart of page sharing method according to an embodiment of the invention.As shown in Figure 1, this method Include:
Step S101 determines the sharing identification information for sharing the page corresponding with the parent page currently shown.
Wherein, share identification information and refer to the unique identification letter for sharing the page corresponding with the parent page currently shown Breath can determine unique sharing page that is, according to the sharing identification information.Optionally, sharing identification information is to share the page URL.
Specifically, the page that user is currently located is the parent page currently shown, and corresponds to the sharing of the parent page Identification information is preset.When determining the demand that there is the load sharing page, preset sharing mark letter is determined Breath.But in the present invention, do not limit the determination share identification information concrete mode, those skilled in the art can according to point The addition form and/or point of addition of identification information are enjoyed, the corresponding determining mode for sharing identification information is selected.
Step S102 is obtained according to the sharing identification information for sharing the page and is shared the corresponding sharing page resource of the page, root Share the page according to the sharing page resource load got.
Wherein, sharing page resource includes sharing the page to need page elements to be loaded, optionally, shares page resource packet At least one of include but be not limited to following page elements: text, picture, video, chained address and two dimensional code.
Specifically, the relevant information for being determined as the sharing page resource of sharing page configuration according to identification information is shared.Example Such as, the page of sharing of configuration needs the component identification to be loaded for sharing element and corresponding acquisition address.Then according to sharing The relevant information of page resource, which obtains, to be shared page resource and loads the sharing page.
In the present invention, the sharing page resource for sharing the page can carry out flexible configuration according to operation demand, so that load The sharing page resource of completion shared in the page including flexible configuration, and then can be in the same of the sharing demand for meeting user When, also meet operation demand.For example, user want share a Duan Biji, then can be only fitted to share the page in by up to The lower displaying user pet name, books title and note contents, and configuration show in the bottom for sharing the page and read application Two dimensional code, to promote the reading application.
Step S103 carries out screenshot processing to the sharing page loaded, obtains the screenshot page, carried out according to the screenshot page Sharing operation.
It wherein, similarly include the sharing page resource of flexible configuration in the screenshot page obtained.
Specifically, one or many shot operations are carried out to the page is shared according to the dimension information of terminal screen, until right Until screenshot is completed in each region of the sharing page;If only having carried out a shot operation, which is obtained Screenshot picture as the screenshot page;If having carried out multiple shot operation, screenshot picture that multiple shot operation is obtained into Row splicing, obtains the screenshot page.
According to page sharing method provided in this embodiment, by determining corresponding with the parent page currently shown point The sharing identification information of the page is enjoyed, sharing page resource is then obtained according to the sharing identification information and loads the sharing page, In, flexible configuration can be carried out by sharing page resource, and be not limited to fixed content;Screenshot is carried out to the sharing page of load again Share, then also includes the sharing page resource of flexible configuration in the screenshot page that screenshot obtains, so that the content in the screenshot page It can satisfy current displaying demand.This embodiment scheme shares resource by the page that flexible configuration shares the page, makes score The content enjoyed in the page is more flexible changeable, and then is conducive to adapt to changeable displaying demand.
Fig. 2 shows the flow charts of page sharing method in accordance with another embodiment of the present invention.As shown in Fig. 2, the party Method includes:
Step S201 configures the corresponding sharing page of parent page according to preset configuration rule, will share point of the page Identification information is enjoyed to be added in the page load information of parent page.
In the present embodiment, will share page setup is web page, flexibly to be configured to the sharing page;And , can be online immediately and after the completion of configuration, without waiting until application updates or upgrading could issue.
Specifically, the page that user is currently located is the parent page currently shown, and corresponds to the sharing of the parent page The page is preconfigured according to preset configuration rule.Wherein, preset configuration rule is determined according to the displaying demand of operation, For example, preset configuration rule includes will chained address relevant to the New activity or two dimensional code configuration if New activity need to be promoted To the specific position for sharing the page.Also, configuring the sharing page according to preset configuration rule includes that the configuration sharing page is corresponding Page layout information, the page layout information of the sharing page is the information for the integral layout form that the page is shared in reflection, optional , the page layout information for sharing the page includes for determining quantity, the type of sharing each page elements for including in the page And/or the information of position.
Optionally, in one particular embodiment of the present invention, preset configuration rule includes: that acquisition parent page is corresponding Page layout information;It is preset from removing preset redundant elements in page layout information, and/or being added into page layout information Personalized element, to obtain the corresponding sharing page of parent page.Wherein, the corresponding page layout information of parent page It is the information for the integral layout form that the page is shared in reflection, wherein the corresponding page layout information of parent page includes for true Determine the quantity, type and/or the information of position of each page elements for including in parent page.Further, parent page pair The page layout information answered can be obtained by analyzing page source code, alternatively, can also be directly using page source code as page layout Information.And, wherein redundant elements refer to the page elements of the parent page without being shown in sharing the page, such as divide Button is enjoyed, rule etc. is shared;Personalized element refers to the element for meeting current displaying demand, such as refers in citing above , the chained address of New activity or two dimensional code, or read the customized informations such as the two dimensional code applied.
It further, can be true for the ease of determining the sharing identification information for sharing the page corresponding with parent page Fixed unique sharing identification information for sharing the page is added in the page load information of parent page.Wherein, parent page Page load information is the information for loading the parent page.Optionally, the page load information of parent page can be original The URL of the beginning page or the page oss message of parent page.
Step S202 determines corresponding with the parent page currently shown point according to the page load information of parent page Enjoy the sharing identification information of the page.
Specifically, when determining the demand that there is the load sharing page, the page load information of parent page is divided Analysis obtains the corresponding sharing identification information for sharing the page.
Further, the case where there is the demand that the page is shared in load has the following two kinds: one is receive user's triggering Sharing request, for example, user by click parent page in share button triggering sharing request.Correspondingly, when receiving To user trigger sharing request when, determine it is corresponding with parent page sharing the page sharing identification information.Another kind is The preloading strategy of the page is shared in write-in in page oss message, when detecting that preloading strategy is triggered, it is determined that deposit In the load demand for sharing the page.A kind of mode that specific triggering preloads strategy is parent page loaded, then pre-add Strategy is carried to be triggered.Correspondingly, determining the sharing page corresponding with parent page when detecting parent page loaded Sharing identification information.
It is below page oss message as example using page load information, illustrates the page load information according to parent page Determine the detailed process of the sharing identification information for sharing the page corresponding with the parent page currently shown: by default sharing foot In this write-in page oss message, when there is the demand for loading the sharing page, starting to preset and sharing script, and passing through page source The default script of sharing for including in code information determines the sharing identification information for sharing the page.Wherein, presetting sharing script includes Nonreciprocal class shares script and/or interactive class shares script.The case where demand of the page is shared in two kinds of loads mentioned above In, the default sharing of the sharing request starting triggered by user is that interactive class shares script, and preloads strategy by triggering The default sharing script of starting is nonreciprocal class script.
Step S203 is obtained according to the sharing identification information for sharing the page and is shared the corresponding sharing page resource of the page.
Specifically, according to the page layout information shared identification information and determine the sharing page for sharing the page;According to sharing The page layout information of the page, which determines, shares the corresponding sharing page resource of the page.Further, include in preset configuration rule Processing to the page layout information of the parent page newly-increased personalized element carried out, and/or removal redundant elements, then original It is that can determine the page layout information for sharing the page in conjunction with preset configuration rule on the basis of the page layout information of the page, In, share in the page layout information of the page in addition to include reflection share the page integral layout form information other than, further include Sharing the page needs the component identification to be loaded for sharing element and corresponding acquisition address, that is, includes the phase for sharing page resource Close information.Then, it according to the relevant information for sharing page resource, and is obtained by server and shares the corresponding sharing page of the page Resource.
Step S204 shares the page according to the sharing page resource load got.
It needs described herein to be in the present embodiment, to load and show the browser of parent page for before client Platform browser, the browser that the page is shared in load is the background browser of client, and the mistake of the page is shared in background browser load Journey is that user is sightless.
Specifically, it according to the sharing page resource got, is loaded on backstage to the page is shared, to obtain sharing page Share for client screenshot in face.Further, judged to share whether page resource adds according to the page layout information for sharing the page It carries completely, if sharing page resource load completely, generates and share the prompt information that page load is completed.Further, root According to the quantity, type and/or position of the page elements in page layout information, setting and each page elements in sharing the page Corresponding anchor point, and initial attribute value (such as initial attribute value is false) is assigned for each anchor point;It was loaded sharing the page Cheng Zhong detects the attribute value of each anchor point, and judges that the corresponding page elements of each anchor point are according to the attribute value of each anchor point It is no to load successfully, and judge whether whole page elements load completely, for example, when the attribute value of whole anchor points is by initial False becomes true, then shows that whole page elements load successfully;Then, raw after whole page elements loads completely At the prompting message that load is completed to prompt client to carry out screenshot processing.It in this way, can be to avoid because of network shakiness Surely cause the sharing page resource obtained imperfect, or share the load of the page and incomplete happen.
In addition, if share page resource load not exclusively, further judge sharing the page load time whether be more than Preset time threshold, when loaded between when being more than preset time threshold, then overtime prompt information is popped up, to prompt user's load super When.When being less than preset time threshold between when loaded, then continue to load, and repeats above-mentioned judgement and share page money Whether source loads completely, and/or, if sharing page resource load not exclusively, further the load time of the page is shared in judgement The step of whether being more than preset time threshold.
Step S205 carries out screenshot processing to the sharing page loaded, obtains the screenshot page, carried out according to the screenshot page Sharing operation.
Specifically, after receiving the prompting message for sharing page load completion, corresponding two different sharing pages add The triggering mode of load demand, screenshot processing is also different.More specifically, correspondence is shared according to the sharing request that user triggers The case where page loads (receives the prompting message sharing page load and completing when sharing page loaded when detecting When), screenshot processing is carried out to the sharing page loaded, obtains the screenshot page, shows the screenshot page.It corresponds to according to the pre- of triggering Load strategy carries out the case where sharing page load, when receiving the sharing request of user's triggering, to the sharing page loaded Face carries out screenshot processing, obtains the screenshot page, shows the screenshot page.
Further, after obtaining the screenshot page, the screenshot page is shown to the visible position of foreground user, specifically may be used It is shown by the forms such as pop-up or preview page, for the content of user's preview screenshot page;Also, in pop-up or preview page It is provided with screenshot page display adjustment entrance, user is zoomed in and out by the adjustment entrance, slides (or dragging) operation, Ke Yicha See the more detailed or more complete screenshot page, especially when the screenshot page is long figure (being obtained by multiple shot operation), The complete screenshot page can be checked by sliding (or dragging) operation.
According to page sharing method provided in this embodiment, according to preset configuration rule, flexible configuration parent page is opposite The sharing page answered;By determining the sharing identification information for sharing the page corresponding with the parent page currently shown, then It is obtained according to the sharing identification information and shares page resource and load the sharing page.And when carrying out sharing the load of the page, Judge to share whether page resource loads completely, carry out screenshot processing after loading completely, avoids influencing to divide because of unstable networks It enjoys the acquisition of the sharing page resource of the page and shares the load of the page, and cause the content in the screenshot page imperfect or aobvious Show unsightly.Also, by the way that default sharing script is written in the page load information of parent page, it can flexibly respond difference Sharing the page load demand, particularly by nonreciprocal class share script response preload request, can be pre-loaded The complete sharing page, and the sharing request of quick response user triggering, the time to be loaded such as reduction, the sharing for promoting user use Experience.This embodiment scheme shares resource by the page that flexible configuration shares the page, so that the content in the sharing page is more It is flexible and changeable, and carry out to web page with postponing, it can be online at any time, without waiting until just using update or upgrading It can issue, and then be conducive to displaying demand changeable at any time.
The embodiment of the present application provides a kind of nonvolatile computer storage media, and the computer storage medium is stored with The page sharing method in above-mentioned any means embodiment can be performed in an at least executable instruction, the computer executable instructions.
Executable instruction specifically can be used for so that processor executes following operation:
Determine the sharing identification information for sharing the page corresponding with the parent page currently shown;
The corresponding sharing page resource of the sharing page is obtained according to the sharing identification information for sharing the page, according to The sharing page resource got loads the sharing page;
Screenshot processing is carried out to the sharing page loaded, the screenshot page is obtained, is shared according to the screenshot page Operation.
In a kind of optional embodiment, the executable instruction further makes processor execute following operation: according to Preset configuration rule configures the corresponding sharing page of the parent page, and the sharing identification information for sharing the page is added It is added in the page load information of the parent page;
Sharing page corresponding with the parent page currently shown is determined according to the page load information of the parent page The sharing identification information in face.
In a kind of optional embodiment, the preset configuration rule includes: to obtain the corresponding page of the parent page Face layout information;From removing preset redundant elements in the page layout information, and/or add into the page layout information Add preset personalized element, to obtain the corresponding sharing page of the parent page.
In a kind of optional embodiment, the executable instruction further makes the processor execute following operation: The sharing identification information for sharing the page is determined by the default sharing script for including in the page oss message.
In a kind of optional embodiment, the executable instruction further makes the processor execute following operation:
The page layout information for sharing the page is determined according to the sharing identification information for sharing the page;
The corresponding sharing page resource of the sharing page is determined according to the page layout information for sharing the page, is passed through Server obtains the corresponding sharing page resource of the sharing page.
In a kind of optional embodiment, the executable instruction further makes the processor execute following operation:
Judge to share whether page resource loads completely according to the page layout information for sharing the page;
Share the prompt information that page load is completed if so, generating.
In a kind of optional embodiment, the executable instruction further makes the processor execute following operation: If it is not, then further judge whether the load time for sharing the page is more than preset time threshold, when the judgment result is yes, Then pop up overtime prompt information.
In a kind of optional embodiment, the executable instruction further makes the processor execute following operation: When receiving the sharing request of user's triggering, determine that the sharing for sharing the page corresponding with the parent page identifies letter Breath;
According to the sharing page resource got, the sharing page is loaded on backstage;
When detecting the sharing page loaded, screenshot processing is carried out to the sharing page loaded, is cut Diagram page shows the screenshot page.
In a kind of optional embodiment, the executable instruction further makes the processor execute following operation: When detecting the parent page loaded, determine that the sharing for sharing the page corresponding with the parent page identifies letter Breath;
According to the sharing page resource got, the sharing page is preloaded on backstage;
When receiving the sharing request of user's triggering, screenshot processing is carried out to the sharing page loaded, obtains screenshot The page shows the screenshot page.
Fig. 3 shows a kind of structural schematic diagram for calculating equipment according to an embodiment of the present invention, the specific embodiment of the invention The specific implementation for calculating equipment is not limited.
As shown in figure 3, the calculating equipment may include: processor (processor) 302, communication interface (Communications Interface) 304, memory (memory) 306 and communication bus 308.
Wherein:
Processor 302, communication interface 304 and memory 306 complete mutual communication by communication bus 308.
Communication interface 304, for being communicated with the network element of other equipment such as client or other servers etc..
Processor 302 can specifically execute the correlation in above-mentioned page sharing method embodiment for executing program 310 Step.
Specifically, program 310 may include program code, which includes computer operation instruction.
Processor 302 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit), or be arranged to implement the integrated electricity of one or more of the embodiment of the present invention Road.The one or more processors that equipment includes are calculated, can be same type of processor, such as one or more CPU;It can also To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 306, for storing program 310.Memory 306 may include high speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 310 specifically can be used for so that processor 302 executes following operation:
Determine the sharing identification information for sharing the page corresponding with the parent page currently shown;
The corresponding sharing page resource of the sharing page is obtained according to the sharing identification information for sharing the page, according to The sharing page resource got loads the sharing page;
Screenshot processing is carried out to the sharing page loaded, the screenshot page is obtained, is shared according to the screenshot page Operation.
In a kind of optional embodiment, program 310 can specifically be further used for so that processor 302 execute it is following Operation: according to preset configuration rule, configuring the corresponding sharing page of the parent page, by the sharing mark for sharing the page Know information to be added in the page load information of the parent page;
Sharing page corresponding with the parent page currently shown is determined according to the page load information of the parent page The sharing identification information in face.
In a kind of optional embodiment, the preset configuration rule includes: to obtain the corresponding page of the parent page Face layout information;From removing preset redundant elements in the page layout information, and/or add into the page layout information Add preset personalized element, to obtain the corresponding sharing page of the parent page.
In a kind of optional embodiment, program 310 can specifically be further used for so that processor 302 execute it is following Operation: the sharing identification information for sharing the page is determined by the default sharing script for including in the page oss message.
In a kind of optional embodiment, program 310 can specifically be further used for so that processor 302 execute it is following Operation:
The page layout information for sharing the page is determined according to the sharing identification information for sharing the page;
The corresponding sharing page resource of the sharing page is determined according to the page layout information for sharing the page, is passed through Server obtains the corresponding sharing page resource of the sharing page.
In a kind of optional embodiment, program 310 can specifically be further used for so that processor 302 execute it is following Operation:
Judge to share whether page resource loads completely according to the page layout information for sharing the page;
Share the prompt information that page load is completed if so, generating.
In a kind of optional embodiment, program 310 can specifically be further used for so that processor 302 execute it is following Operation: if it is not, then further judging whether the load time for sharing the page is more than preset time threshold, when judging result is When being, then overtime prompt information is popped up.
In a kind of optional embodiment, program 310 can specifically be further used for so that processor 302 execute it is following Operation: when receiving the sharing request of user's triggering, the sharing mark for sharing the page corresponding with the parent page is determined Know information;
According to the sharing page resource got, the sharing page is loaded on backstage;
When detecting the sharing page loaded, screenshot processing is carried out to the sharing page loaded, is cut Diagram page shows the screenshot page.
In a kind of optional embodiment, program 310 can specifically be further used for so that processor 302 execute it is following Operation: when detecting the parent page loaded, the sharing for sharing the page corresponding with the parent page is determined Identification information;
According to the sharing page resource got, the sharing page is preloaded on backstage;
When receiving the sharing request of user's triggering, screenshot processing is carried out to the sharing page loaded, obtains screenshot The page shows the screenshot page.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, In Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, such as right As claim reflects, inventive aspect is all features less than single embodiment disclosed above.Therefore, it then follows tool Thus claims of body embodiment are expressly incorporated in the specific embodiment, wherein each claim conduct itself Separate embodiments of the invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any Can in any combination mode come using.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.The use of word first, second, and third does not indicate any sequence.These words can be construed to title.

Claims (24)

1. a kind of page sharing method, comprising:
Determine the sharing identification information for sharing the page corresponding with the parent page currently shown;Wherein, in parent page The preloading strategy of the page is shared in write-in in page oss message, and the pre-add is triggered when detecting parent page loaded Strategy is carried, to determine the sharing identification information for sharing the page corresponding with parent page;Wherein, according to preset configuration rule, The corresponding sharing page of the parent page is configured, the sharing identification information for sharing the page is added to the original page In the page oss message in face;Wherein, which shares the corresponding page layout information of the page, packet for configuring It includes: sharing quantity, type and the location information of each page elements for including in the page;
The corresponding sharing page resource of the sharing page is obtained according to the sharing identification information for sharing the page, according to acquisition The sharing page resource arrived loads the sharing page;Wherein, the page is shared according to the page layout information judgement for sharing the page Whether resource loads completely;Share the prompt information that page load is completed if so, generating;
Screenshot processing is carried out to the sharing page loaded, obtains the screenshot page, sharing operation is carried out according to the screenshot page.
2. according to the method described in claim 1, wherein, determination sharing page corresponding with the parent page currently shown The sharing identification information in face includes: according to the parent page phase page oss message of the parent page determination and currently shown The corresponding sharing identification information for sharing the page.
3. according to the method described in claim 2, wherein, the preset configuration rule includes: to obtain the parent page to correspond to Page layout information;Preset redundant elements are removed from the page layout information, and/or to the page layout information The middle preset personalized element of addition, to obtain the corresponding sharing page of the parent page.
4. according to the method in claim 2 or 3, wherein described to be determined according to the page oss message of the parent page The sharing identification information for sharing the page corresponding with the parent page currently shown includes: by the page oss message The default sharing script for including determines the sharing identification information for sharing the page.
5. method according to claim 1 to 3, wherein described to be obtained according to the sharing identification information for sharing the page The corresponding sharing page resource of the sharing page is taken to include:
The page layout information for sharing the page is determined according to the sharing identification information for sharing the page;
The corresponding sharing page resource of the sharing page is determined according to the page layout information for sharing the page, passes through service Device obtains the corresponding sharing page resource of the sharing page.
6. according to the method described in claim 1, wherein, if it is not, then further judging that the load time for sharing the page is No is more than that preset time threshold then pops up overtime prompt information when the judgment result is yes.
7. method according to claim 1 to 3, wherein the determination is corresponding with the parent page currently shown The sharing identification information for sharing the page includes: determination and the parent page phase when receiving the sharing request of user's triggering The corresponding sharing identification information for sharing the page;
It includes: according to the sharing page money got that the sharing page resource that then basis is got, which loads the sharing page, Source loads the sharing page on backstage;
Also, described to carry out screenshot processing to the sharing page loaded, obtaining the screenshot page includes: to work as to detect the sharing When page loaded, screenshot processing is carried out to the sharing page loaded, the screenshot page is obtained, shows the screenshot page.
8. method according to claim 1 to 3, wherein the determination is corresponding with the parent page currently shown The sharing identification information for sharing the page includes: the determining and parent page when detecting the parent page loaded The corresponding sharing identification information for sharing the page;
It includes: according to the sharing page money got that the sharing page resource that then basis is got, which loads the sharing page, Source preloads the sharing page on backstage;
Also, described to carry out screenshot processing to the sharing page loaded, obtaining the screenshot page includes:
When receiving the sharing request of user's triggering, screenshot processing is carried out to the sharing page loaded, obtains the screenshot page, Show the screenshot page.
9. a kind of calculating equipment, comprising: processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
The memory makes the processor execute following behaviour for storing an at least executable instruction, the executable instruction Make:
Determine the sharing identification information for sharing the page corresponding with the parent page currently shown;Wherein, in parent page The preloading strategy of the page is shared in write-in in page oss message, and the pre-add is triggered when detecting parent page loaded Strategy is carried, to determine the sharing identification information for sharing the page corresponding with parent page;Wherein, according to preset configuration rule, The corresponding sharing page of the parent page is configured, the sharing identification information for sharing the page is added to the original page In the page oss message in face;Wherein, which shares the corresponding page layout information of the page, packet for configuring It includes: sharing quantity, type and the location information of each page elements for including in the page;
The corresponding sharing page resource of the sharing page is obtained according to the sharing identification information for sharing the page, according to acquisition The sharing page resource arrived loads the sharing page;Wherein, the page is shared according to the page layout information judgement for sharing the page Whether resource loads completely;Share the prompt information that page load is completed if so, generating;
Screenshot processing is carried out to the sharing page loaded, obtains the screenshot page, sharing operation is carried out according to the screenshot page.
10. calculating equipment according to claim 9, the executable instruction further makes the processor execute following behaviour Make:
The sharing page corresponding with the parent page currently shown is determined according to the page oss message of the parent page Share identification information.
11. calculating equipment according to claim 10, the preset configuration rule includes: to obtain the parent page to correspond to Page layout information;Preset redundant elements are removed from the page layout information, and/or to the page layout information The middle preset personalized element of addition, to obtain the corresponding sharing page of the parent page.
12. calculating equipment described in 0 or 11 according to claim 1, the executable instruction further executes the processor It operates below: the sharing mark letter for sharing the page is determined by the default sharing script for including in the page oss message Breath.
13. according to any calculating equipment of claim 9-11, the executable instruction further holds the processor The following operation of row:
The page layout information for sharing the page is determined according to the sharing identification information for sharing the page;
The corresponding sharing page resource of the sharing page is determined according to the page layout information for sharing the page, passes through service Device obtains the corresponding sharing page resource of the sharing page.
14. calculating equipment according to claim 9, the executable instruction further makes the processor execute following behaviour Make: if it is not, then further judging whether the load time for sharing the page is more than preset time threshold, when judging result is yes When, then pop up overtime prompt information.
15. according to any calculating equipment of claim 9-11, the executable instruction further holds the processor Operation below going: when receiving the sharing request of user's triggering, the sharing page corresponding with the parent page is determined Share identification information;
According to the sharing page resource got, the sharing page is loaded on backstage;
When detecting the sharing page loaded, screenshot processing is carried out to the sharing page loaded, obtains screenshot page Face shows the screenshot page.
16. according to any calculating equipment of claim 9-11, the executable instruction further holds the processor The following operation of row: when detecting the parent page loaded, the sharing page corresponding with the parent page is determined Sharing identification information;
According to the sharing page resource got, the sharing page is preloaded on backstage;
When receiving the sharing request of user's triggering, screenshot processing is carried out to the sharing page loaded, obtains the screenshot page, Show the screenshot page.
17. a kind of computer storage medium, an at least executable instruction, the executable instruction are stored in the storage medium Processor is set to execute following operation:
Determine the sharing identification information for sharing the page corresponding with the parent page currently shown;Wherein, in parent page The preloading strategy of the page is shared in write-in in page oss message, and the pre-add is triggered when detecting parent page loaded Strategy is carried, to determine the sharing identification information for sharing the page corresponding with parent page;Wherein, according to preset configuration rule, The corresponding sharing page of the parent page is configured, the sharing identification information for sharing the page is added to the original page In the page oss message in face;Wherein, which shares the corresponding page layout information of the page, packet for configuring It includes: sharing quantity, type and the location information of each page elements for including in the page;
The corresponding sharing page resource of the sharing page is obtained according to the sharing identification information for sharing the page, according to acquisition The sharing page resource arrived loads the sharing page;Wherein, the page is shared according to the page layout information judgement for sharing the page Whether resource loads completely;Share the prompt information that page load is completed if so, generating;
Screenshot processing is carried out to the sharing page loaded, obtains the screenshot page, sharing operation is carried out according to the screenshot page.
18. computer storage medium according to claim 17, the executable instruction further execute processor with Lower operation: the sharing page corresponding with the parent page currently shown is determined according to the page oss message of the parent page Sharing identification information.
19. computer storage medium according to claim 18, the preset configuration rule includes: to obtain the original page The corresponding page layout information in face;Preset redundant elements are removed from the page layout information, and/or to the page cloth Preset personalized element is added in office's information, to obtain the corresponding sharing page of the parent page.
20. computer storage medium described in 8 or 19 according to claim 1, the executable instruction further makes the processing Device executes following operation: determining the sharing for sharing the page by the default sharing script for including in the page oss message Identification information.
21. any computer storage medium of 7-19, the executable instruction further make the place according to claim 1 It manages device and executes following operation:
The page layout information for sharing the page is determined according to the sharing identification information for sharing the page;
The corresponding sharing page resource of the sharing page is determined according to the page layout information for sharing the page, passes through service Device obtains the corresponding sharing page resource of the sharing page.
22. computer storage medium according to claim 17, the executable instruction further holds the processor The following operation of row: if it is not, then further judging whether the load time for sharing the page is more than preset time threshold, works as judgement It as a result is when being, then to pop up overtime prompt information.
23. any computer storage medium of 7-19, the executable instruction further make the place according to claim 1 Reason device executes following operation: when receiving the sharing request of user's triggering, determining sharing corresponding with the parent page The sharing identification information of the page;
According to the sharing page resource got, the sharing page is loaded on backstage;
When detecting the sharing page loaded, screenshot processing is carried out to the sharing page loaded, obtains screenshot page Face shows the screenshot page.
24. any computer storage medium of 7-19, the executable instruction further make the place according to claim 1 It manages device and executes following operation: when detecting the parent page loaded, determining corresponding with the parent page point Enjoy the sharing identification information of the page;
According to the sharing page resource got, the sharing page is preloaded on backstage;
When receiving the sharing request of user's triggering, screenshot processing is carried out to the sharing page loaded, obtains the screenshot page, Show the screenshot page.
CN201811014340.4A 2018-08-31 2018-08-31 Page sharing method calculates equipment and computer storage medium Active CN109033466B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811014340.4A CN109033466B (en) 2018-08-31 2018-08-31 Page sharing method calculates equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811014340.4A CN109033466B (en) 2018-08-31 2018-08-31 Page sharing method calculates equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN109033466A CN109033466A (en) 2018-12-18
CN109033466B true CN109033466B (en) 2019-12-03

Family

ID=64622698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811014340.4A Active CN109033466B (en) 2018-08-31 2018-08-31 Page sharing method calculates equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN109033466B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710362B (en) * 2018-12-26 2020-02-07 掌阅科技股份有限公司 Screenshot processing method, computing device and computer storage medium
CN111428162A (en) * 2020-03-20 2020-07-17 支付宝(杭州)信息技术有限公司 Page screenshot method and device
CN115033313A (en) * 2021-02-24 2022-09-09 华为技术有限公司 Terminal application control method, terminal equipment and chip system
CN113568699B (en) * 2021-07-30 2023-12-19 北京达佳互联信息技术有限公司 Content display method, device, equipment and storage medium
CN114546560A (en) * 2022-02-22 2022-05-27 浙江蓝卓工业互联网信息技术有限公司 Data sharing method and device, storage medium and electronic equipment

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760170A (en) * 2012-06-17 2012-10-31 上海琥智数码科技有限公司 Electronic book note-taking method based on screenshot
CN102857885A (en) * 2012-08-17 2013-01-02 东莞宇龙通信科技有限公司 Method and communication terminal for sharing information
CN103049477A (en) * 2012-11-19 2013-04-17 腾讯科技(深圳)有限公司 Method and system for sharing streetscape views to social network site
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
CN104486430A (en) * 2014-12-18 2015-04-01 北京奇虎科技有限公司 Method, device and client for realizing data sharing in mobile browser client
CN105761211A (en) * 2016-03-30 2016-07-13 努比亚技术有限公司 Method and device for splicing frames of mobile terminal
CN106407282A (en) * 2016-08-26 2017-02-15 乐视控股(北京)有限公司 Page sharing method and device
CN106815316A (en) * 2016-12-23 2017-06-09 北京奇虎科技有限公司 Method, device and mobile terminal that content of pages is shared
CN108363734A (en) * 2018-01-17 2018-08-03 链家网(北京)科技有限公司 The page generates the method and device of picture

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8756519B2 (en) * 2008-09-12 2014-06-17 Google Inc. Techniques for sharing content on a web page
US20110258535A1 (en) * 2010-04-20 2011-10-20 Scribd, Inc. Integrated document viewer with automatic sharing of reading-related activities across external social networks
CN102346781B (en) * 2011-10-18 2016-04-20 北龙中网(北京)科技有限责任公司 Webpage access control method and device
WO2014123271A1 (en) * 2013-02-08 2014-08-14 에스케이플래닛 주식회사 Method for controlling service page in messenger program, and apparatus and system for same
CN104077708A (en) * 2013-03-28 2014-10-01 北京齐尔布莱特科技有限公司 Advertisement putting screen capture method
CN104462125B (en) * 2013-09-18 2019-09-17 腾讯科技(深圳)有限公司 Generate the method and device of webpage capture
CN103617222A (en) * 2013-11-22 2014-03-05 北京奇虎科技有限公司 Browser and method for preloading in webpages
CN104361071A (en) * 2014-11-12 2015-02-18 沈文策 Page preloading method and device
CN107566295A (en) * 2017-09-01 2018-01-09 努比亚技术有限公司 A kind of data traffic reminding method, browser and computer-readable recording medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102760170A (en) * 2012-06-17 2012-10-31 上海琥智数码科技有限公司 Electronic book note-taking method based on screenshot
CN102857885A (en) * 2012-08-17 2013-01-02 东莞宇龙通信科技有限公司 Method and communication terminal for sharing information
CN103049477A (en) * 2012-11-19 2013-04-17 腾讯科技(深圳)有限公司 Method and system for sharing streetscape views to social network site
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
CN104486430A (en) * 2014-12-18 2015-04-01 北京奇虎科技有限公司 Method, device and client for realizing data sharing in mobile browser client
CN105761211A (en) * 2016-03-30 2016-07-13 努比亚技术有限公司 Method and device for splicing frames of mobile terminal
CN106407282A (en) * 2016-08-26 2017-02-15 乐视控股(北京)有限公司 Page sharing method and device
CN106815316A (en) * 2016-12-23 2017-06-09 北京奇虎科技有限公司 Method, device and mobile terminal that content of pages is shared
CN108363734A (en) * 2018-01-17 2018-08-03 链家网(北京)科技有限公司 The page generates the method and device of picture

Also Published As

Publication number Publication date
CN109033466A (en) 2018-12-18

Similar Documents

Publication Publication Date Title
CN109033466B (en) Page sharing method calculates equipment and computer storage medium
CN107391114B (en) Page visual rendering method and device
US20230247090A1 (en) Dynamic execution resource selection for customized workflow tasks
US20070245339A1 (en) Creating documentation screenshots on demand
CN106484383A (en) page rendering method, device and equipment
WO2013033910A1 (en) User interface for translation webpage
CN105183760B (en) Webpage component loading method and device
CN108776587B (en) Data acquisition method and device, computer equipment and storage medium
CN110941779B (en) Page loading method and device, storage medium and electronic equipment
CN111459376B (en) Product guiding method, device and equipment
CN101512523A (en) System and method for dynamic context-sensitive integration of content into a web portal application
CN109286517B (en) Method, device and storage medium for creating service and electronic equipment
CN112434330A (en) Method, system and device for displaying front-end page and readable storage medium
CN109857537B (en) Background service starting method, device, medium and electronic equipment
CN112015651B (en) Data processing method and device
CN110955449B (en) Gray scale release method and device for client
CN112685040A (en) Method, device, equipment and storage medium for generating interface file in android system
CN111367519B (en) Page part using method and device, computing equipment and computer storage medium
CN115268841B (en) Data management method, device, electronic equipment and storage medium
CN110889073A (en) Page request response method, server and computer storage medium
EP3425510B1 (en) Automated testing method for application program user interface, electronic device, system, and storage medium
CN110807652A (en) Marketing information management method and system based on gift
CN109558182A (en) Information popularization method, electronic equipment and computer storage medium based on plug-in unit
CN112579077B (en) Page processing method and device in application, application service platform and equipment
CN104463661A (en) Method and system for processing transaction data

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