Invention content
This specification embodiment is intended to provide a kind of more effective page processing method and device, to solve in the prior art
Deficiency.
To achieve the above object, this specification provides a kind of page processing method on one side, including:It is grasped in response to user
Make, identifies the structured message for belonging to presupposed information type in the page;The information type for showing the structured message, for
User selects;The first input of user is received, which selects pending information type from the information type of displaying;
Displaying corresponds to the default transition form of the pending information type, for selection by the user;The second input of user is received,
Second input selects desired transition form from the default transition form;And described wait for will be corresponded in the page
The structured message of the information type of processing is converted to the desired transition form.
In one embodiment, in above-mentioned page processing method, the presupposed information type includes the amount of money, number, people
At least one of name, the pet name, picture, link, account and password type.
In one embodiment, in above-mentioned page processing method, the default transition form includes the default of class that desensitize
Transition form and/or the default transition form for highlighting class.
In one embodiment, in above-mentioned page processing method, in the case of pending information type is the amount of money,
Default transition form corresponding to the desensitization class of the amount of money includes:Asterisk, percentage and dollar.
In one embodiment, in above-mentioned page processing method, in the case of pending information type is the amount of money,
The default transition form for highlighting class corresponding to the amount of money includes:Increase overstriking, new font and new color.
In one embodiment, in above-mentioned page processing method, the user's operation is to share the operation of the page.
In one embodiment, above-mentioned page processing method further includes, described pending that will correspond in the page
Information type structured message be converted to the desired transition form after, preserve the page, generate the page
Share link, and share link by described and share specified target.
In one embodiment, above-mentioned page processing method further includes, described pending that will correspond in the page
Information type structured message be converted to the desired transition form after, generate and share figure corresponding to the page
Piece shares picture described in preservation, and the picture of sharing is shared specified target.
In one embodiment, in above-mentioned page processing method, the user's operation is the operation of edit page.
In one embodiment, above-mentioned page processing method further includes, described pending that will correspond in the page
Information type structured message be converted to the desired transition form after, preserve the page.
The another aspect of this specification provides a kind of Page handling device, including:Recognition unit is configured to, in response to
Family operates, and identifies the structured message for belonging to presupposed information type in the page;First display unit, is configured to, described in displaying
The information type of structured message, for selection by the user;First receiving unit, is configured to, and receives the first input of user, this
One input selects pending information type from the information type of displaying;Second display unit, is configured to, and displaying corresponds to institute
The default transition form of pending information type is stated, for selection by the user;Second receiving unit, is configured to, and receives user's
Second input, second input select desired transition form and converting unit, configuration from the default transition form
For the structured message for corresponding to the pending information type in the page is converted to the desired conversion shape
Formula.
In one embodiment, in above-mentioned Page handling device, the presupposed information type includes the amount of money, number, people
At least one of name, the pet name, picture, link, account and password type.
In one embodiment, in above-mentioned Page handling device, the default transition form includes the conversion of desensitization class
Form and/or the transition form for highlighting class.
In one embodiment, in above-mentioned Page handling device, in the case of pending information type is the amount of money,
Default transition form corresponding to the desensitization class of the amount of money includes:Asterisk, percentage and dollar.
In one embodiment, in above-mentioned Page handling device, in the case of pending information type is the amount of money,
The default transition form for highlighting class corresponding to the amount of money includes:Increase overstriking, new font and new color.
In one embodiment, in above-mentioned Page handling device, the user's operation is to share the operation of the page.
In one embodiment, above-mentioned Page handling device further includes link shares unit, is configured to, by the page
In correspond to the pending information type structured message be converted to the desired transition form after, described in preservation
The page, generates the link of sharing of the page, and shares link by described and share specified target.
In one embodiment, above-mentioned Page handling device further includes picture shares unit, is configured to, by the page
In correspond to the pending information type structured message be converted to the desired transition form after, generate and correspond to
In the picture of sharing of the page, share picture described in preservation, and the picture of sharing is shared into specified target.
In one embodiment, in above-mentioned Page handling device, the user's operation is the operation of edit page.
In one embodiment, above-mentioned Page handling device further includes, described pending that will correspond in the page
Information type structured message be converted to the desired transition form after, preserve the page.
On the other hand this specification provides a kind of computer-readable storage medium, be stored thereon with instruction code, described
When instruction code executes in a computer, computer is enabled to execute above-mentioned page processing method.
This specification embodiment is by providing bigger independence to the user so that user can actively select content and content
The form of conversion can both desensitize, and can also protrude displaying, can both solve the problems, such as desensitization, can also realize prominent content etc.
Demand.
Specific implementation mode
The specific embodiment of this specification is described below in conjunction with the accompanying drawings.
First, the general plotting of the page processing method and device of explained in general this specification embodiment.When user exists
When sharing the page, for example, when the income for sharing Alipay pays record, there may be some user's desired modifications on the page
Place, for example, being desensitized to the amount of money, being highlighted etc. to name.In such scene, in this specification embodiment
Scheme identify in the page and belong to the structured message of presupposed information type, and provide to the user corresponding to the structure
Change the option of the information type and default transition form corresponding with the information type of information, user is by selecting information type
(having selected the structured message for wishing to convert), and the hope transition form of the information type is further selected, so as to
Handle the page self-definedly before sharing so that the page converted by system meets the various requirement of user.
The method for specifically describing this specification embodiment below with reference to Fig. 1.Fig. 1 is shown according to this specification embodiment
Page processing method.The page in this specification embodiment can be the page in APP or website.As shown in Figure 1, in step
S11 identifies the structured message for belonging to presupposed information type in the page in response to user's operation.
User's operation can share the operation of the page.For example, the page of Alipay is shared into life range, microblogging, or
Person is shared with Alipay good friend, wechat good friend etc..The user's operation can also be the operation of edit page.
Presupposed information type is system according to the pre-set common knot of the common structure information in content sources
The information type of structure information.The identifiable information of structured message, that is, system.For example, in Alipay APP, the default letter
It may include at least one of the amount of money, number, name, the pet name, picture, link, account and password type to cease type.Work as system
After having preset information type, when handling content of pages in response to user's operation, system, which may recognize that, belongs to presupposed information class
The structured message of type.
Fig. 2 a- Fig. 2 d are shown at page processing method of the user when sharing the page by this specification embodiment
The instantiation procedure of reason.Fig. 2 a show the page that user will share.In fig. 2 a, user clicks the upper right corner for current page
" sharing ", and the selected specified target that will share.The page, that is, user in Fig. 2 a wishes the page shared, in the page
Structured message includes:It is U.S. it is green,
[email protected], 4000.00,2000.00,2017, April, picture, these are all
System can directly know the information of its type.Its type is respectively:The pet name, account, the amount of money, the amount of money, time, month, picture.System
Specific information type can be pre-added in presupposed information type by system according to the common contents of its page to be shared.For example,
Set presupposed information type to the pet name, account, the amount of money, picture, in this case, system will identify that it is U.S. it is green,
gyx1111@ 111.com, 4000.00,2000.00, picture be the structured message for belonging to presupposed information type.
In step S12, the information type of the structured message is shown, for selection by the user.Below with reference to Fig. 2 b and figure
2c illustrates the step.Fig. 2 b examples show that user shares the interface occurred after target selected, and Fig. 2 c examples are shown
The displaying of the information type to the structured message is gone out.In figure 2b, user, which specifies, shares target:Alipay good friend,
Sina weibo, life range, wechat good friend, and shown below target sharing:Conversion (content to be converted of selection).Work as user
When clicking this row of conversion of lower section, the knot for belonging to presupposed information type that system identification goes out can be shown as shown in Figure 2 c, on interface
The information type of structure information, i.e. account, the pet name, the amount of money, picture, for selection by the user.
In step S13, the first input of user is received, which selects pending from the information type of displaying
Information type.The step is described with reference to figure 2c, in figure 2 c, when displaying described information type (i.e. account, the pet name, gold on interface
Volume, picture) when, user clicks " amount of money ", that is, carries out the first input, and first input is (account, close from the information type of displaying
Title, the amount of money, picture) the pending information type (amount of money) of middle selection.User is after click " amount of money ", the conversion in Fig. 2 c
(content to be converted of selection) this row becomes converting (amount of money), that is, expression system has received the first input (amount of money) of user.
In step S14, displaying corresponds to the default transition form of the pending information type, for selection by the user.
Each information type that system can be directed in presupposed information type pre-sets the default transition form that can be converted.It is default to turn
The form of changing can be desensitization class, be used to carry out desensitization process to raw information, or can highlight class, for making
It is more prominent to obtain raw information.
For example, may include corresponding to the default transition form of the desensitization class of the amount of money:Asterisk, percentage and dollar etc..With
Family can select suitable desensitization mode according to the demand of oneself.When selecting asterisk, system indicates the complete of the amount of money with asterisk replacement
Portion's number.When selecting percentage, each amount of money numerical value of system-computed accounts for the percentage of total value, and is replaced with calculated percentage
Change amount of money numerical value.When selecting dollar, the amount of money is substituted for equivalent U.S. dollar amount by system by the exchange rate.
For example, the default transition form for highlighting class corresponding to the amount of money may include:Increase overstriking, new font, new
Color etc..User can like the desired highlighted mode of selection according to oneself.Wherein new font can be specific
Fontname, such as the Song typeface, Batang etc., new color can be specific color, such as red, blue etc..Also, system can be with
Multiple fonts and multiple color are provided, for selection by the user.
For example, including corresponding to the default transition form of the desensitization class of name:Asterisk, the pet name, generation title etc..When selection asterisk
When, system substitutes name with asterisk.When selecting the pet name, system replaces name with the pet name.When claiming in selection generation, system is to give tacit consent to
In generation, claims to replace name.The default transition form for highlighting class corresponding to name can also include similarly:Increase overstriking, new
Font, new color etc..
For example, including corresponding to the default transition form of the desensitization class of picture:Mosaic, explanatory note etc. correspond to figure
The default transition form for highlighting class of piece includes increasing lace, increasing color contrast etc..
The step is illustrated below with reference to Fig. 2 d, Fig. 2 d examples are shown corresponds to the default of " amount of money " shown in system
Transition form.After selection information type " amount of money " as shown in Figure 2 c, occur in the lower section of " conversion (amount of money) " in interface
" being converted to (the desired transition form of selection) " a line (not shown)." be converted to (the desired conversion shape of selection when the user clicks
Formula) " after a line, it will show below interface and be preset corresponding to the selectable of described information type (i.e. the amount of money) as shown in Figure 2 d
Transition form, such as dollar, percentage, super large font size, for selection by the user.
In step S15, the second input of user is received, second input is from the default transition form desired by selection
Transition form.Similarly with reference to figure 2d, when showing that alternative default transition form is (such as dollar, percentage, super in interface
Big font size etc.) after, user clicks desired transition form, for example, user clicks " percentage ", that is, select " percentage " as
The desired transition form of " amount of money ".User click " percentage " after, " be converted to and (select suitable transition form) " such as
Become shown in Fig. 2 d " being converted to (percentage) ", expression system has received the second input of user.Obviously, user is uncommon here
Prestige carries out desensitization conversion by " amount of money " is converted to " percentage " to " amount of money ".
In step S16, the structured message that the pending information type is corresponded in the page is converted into institute
State desired transition form.For example, in example described in above-mentioned reference chart 2a-2d, transition form is wished when user has input
After " percentage ", according to the input of user, system is by the content corresponding to " amount of money " (information type) in the page to be shared
Corresponding desired transition form (percentage) is converted to, i.e., is converted to " 4000.00 " and " 2000.00 " in the page
" 66.7% " and " 33.3% ".Fig. 3 is shown by crossing the page that the page obtains shown in the present embodiment method migration Fig. 2 a.From
As it can be seen that " 4000.00 " and " 2000.00 " in the former page are converted to " 66.7% " and " 33.3% " by system shows in Fig. 3
Show, in this way, was not only desensitized to the specific amount of money " 4000.00 " and " 2000.00 ", but also with the conversion shape of percentage
Formula illustrates income and expenditure ratio.
In one embodiment, correspond in converting the page by the desired conversion regime described pending
Information type structured message after, preserve the page, generate the link of sharing of the page, and share chain by described
It connects and shares specified target.In example described in above-mentioned reference chart 2a- Fig. 2 d, the amount of money in the page is being converted into percentage
Later, system preserves the transformed page (page i.e. shown in Fig. 3), and generates to share to link and share the mesh that user specifies
Mark, i.e. Alipay good friend, Sina weibo, life range, wechat good friend.
In another embodiment, the structured message of the pending information type will be being corresponded in the page
After being converted to the desired transition form, generates and share picture corresponding to the page, picture is shared described in preservation, and
The picture of sharing is shared into specified target.In example described in above-mentioned reference chart 2a- Fig. 2 d, by the amount of money in the page
After being converted to percentage, system is generated shares picture corresponding to the transformed page (i.e. the page shown in Fig. 3), preserves the figure
Piece, and the picture is shared into the target that user specifies, i.e. Alipay good friend, Sina weibo, life range, wechat good friend.
Above by Fig. 2 a-2d and the example for sharing the page in Fig. 3 to the specific steps of embodiment shown in FIG. 1 into
Explanation is gone.Below with reference to the page processing method in Fig. 4 a-4d and Fig. 5 further illustration this specification embodiments.
Fig. 4 a-4d show the example mistake that user is handled in edit page by the page processing method of this specification embodiment
Journey.Fig. 4 a show that the page that user will edit, user click " editor " in the upper right corner for current page.Shown in Fig. 4 a
The page, that is, user wishes that the page of editor, the structured message in the page include:It is U.S. it is green,
[email protected]、
4000.00,2000.00,2017, April, picture, these are all the information that system can directly know its type.Its type point
It is not:The pet name, account, the amount of money, the amount of money, time, month, picture.System, can be by specific letter according to the common contents of its page
Breath type is pre-added in presupposed information type.For example, set presupposed information type to account, the pet name, the amount of money, picture,
In this case, system will identify that it is U.S. it is green,
[email protected], 4000.00,2000.00, picture be to belong to default letter
Cease the structured message of type.
Fig. 4 b examples show that the interface that user occurs after click " editor ", Fig. 4 c examples are shown to belonging to default
The displaying of the information type of the structured message of information type.As shown in Figure 4 b, user shows after click " editor " in interface
Show:Conversion (content to be converted of selection) a line.When converting this row when the user clicks, it can show as illustrated in fig. 4 c, on interface and be
The information type for the structured message for belonging to presupposed information type that system identifies, i.e. account, the pet name, the amount of money, picture.
Again as illustrated in fig. 4 c, for example, user clicks " pet name ", that is, the first input is carried out, letter of first input from displaying
Cease the information type (pet name) that selection is pending in type (account, the pet name, the amount of money, picture).When the user clicks after " pet name ",
Conversion shown in Fig. 4 b (content to be converted of selection) becomes converting (pet name) shown in Fig. 4 c, and expression system has received use
First input at family.
Fig. 4 d show the default transition form corresponding to pending information type.As shown in figure 4d, it is shown in interface
Correspond to the default transition form of " pet name ", including generation claims, increases overstriking, red etc., for selection by the user.
After the default transition form that showing interface corresponds to " pet name ", user clicks desired transition form, example
Such as, user clicks " increasing overstriking ", that is, selects the hope transition form of " increasing overstriking " as " pet name ".Obviously, user here
It is desirable to highlight the pet name.
After user has input desired transition form " increasing overstriking ", according to the input of user, system will be in the page
Content Transformation corresponding to " pet name " (information type) is desired transition form, that is, is converted to " U.S. green " in the page and adds
The form of big overstriking, to be highlighted to it.Fig. 5 is shown shown in page processing method transition diagram 4a through this embodiment
The page that the page obtains.From figure 5 it can be seen that system requires " U.S. green " being converted to the form for increasing overstriking according to user.
In one embodiment, turn by the structured message for corresponding to the pending information type in the page
It is changed to after the desired transition form, preserves the page.For example, when being edited as shown in figures 4a-4d in Alipay APP
When the page, the structured message that the pending information type is corresponded in the page is being converted to described desired turn
It changes after form, which can be saved under " I " catalogue, to which user can find when for example sharing the page at this
The page after reason is simultaneously shared.
Fig. 6 shows the Page handling device 600 according to this specification embodiment, including:Recognition unit 61, is configured to,
In response to user's operation, the structured message for belonging to presupposed information type in the page is identified;First display unit 62, configuration
To show the information type of the structured message, for selection by the user;First receiving unit 63, is configured to, receives user's
First input, first input select pending information type from the information type of displaying;Second display unit 64, configuration
For displaying corresponds to the default transition form of the pending information type, for selection by the user;Second receiving unit 65,
It is configured to, receives the second input of user, which selects desired transition form from the default transition form, with
And converting unit 66, it is configured to, the structured message that the pending information type is corresponded in the page is converted to
The desired transition form.
In one embodiment, the user's operation is to share the operation of the page.In this case, above-mentioned page processing dress
It further includes link shares unit to set, and is configured to, and the structuring of the pending information type will be being corresponded in the page
After information is converted to the desired transition form, the page is preserved, generates the link of sharing of the page, and will be described
Share link and shares specified target.
In one embodiment, above-mentioned Page handling device further includes picture shares unit, is configured to, by the page
In correspond to the pending information type structured message be converted to the desired transition form after, generate and correspond to
In the picture of sharing of the page, share picture described in preservation, and the picture of sharing is shared into specified target.
In one embodiment, the user's operation is the operation of edit page.In this case, above-mentioned page processing dress
It sets and further includes, it is described desired being converted to the structured message for corresponding to the pending information type in the page
After transition form, the page is preserved.
This specification embodiment further includes a kind of computer-readable storage medium, is stored thereon with instruction code, described
When instruction code executes in a computer, computer is enabled to execute the page processing method according to this specification embodiment.
This specification embodiment is by providing bigger independence to the user so that user can actively select content and content
The form of conversion can both desensitize, and can also protrude displaying, can both solve the problems, such as desensitization, can also realize prominent content etc.
Demand.
Those of ordinary skill in the art should further appreciate that, be described in conjunction with the embodiments described herein
Each exemplary unit and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clear
Illustrate to Chu the interchangeability of hardware and software, generally describes each exemplary group according to function in the above description
At and step.These functions hold track with hardware or software mode actually, depending on technical solution specific application and set
Count constraints.Those of ordinary skill in the art can be described to be realized using distinct methods to each specific application
Function, but this realization is it is not considered that exceed scope of the present application.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can hold track with hardware, processor
Software module or the combination of the two implement.Software module can be placed in random access memory (RAM), memory, read-only storage
Device (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology neck
In any other form of storage medium well known in domain.
Above-described specific implementation mode has carried out further the purpose of the present invention, technical solution and advantageous effect
It is described in detail, it should be understood that the foregoing is merely the specific implementation mode of the present invention, is not intended to limit the present invention
Protection domain, all within the spirits and principles of the present invention, any modification, equivalent substitution, improvement and etc. done should all include
Within protection scope of the present invention.