The content of the invention
Based on this, it is necessary to for when the website data to different web sites is handled, to be converted in website data
The problem of code development quantity is big when field is changed, and applicability is not strong, there is provided a kind of website data processing method, device, website number
According to processing platform and storage medium.
A kind of website data processing method, methods described include:
Receive data, the website logo of current site and the website logo of targeted website of current site;
Field to be converted is chosen from the data of the current site;
Conversion logic corresponding with the website logo of the current site is chosen from conversion logic storehouse;
From conversion logic corresponding with the website logo of the current site, choose and marked with the website of the targeted website
Conversion logic corresponding to knowledge;
When not from conversion logic corresponding with the website logo of the targeted website choose to the field to be converted
During corresponding conversion logic, then the field after the field to be converted is split;
From conversion logic corresponding with the website logo of the targeted website, choose corresponding with the field after the fractionation
Conversion logic, as the conversion logic of the field to be converted of the current site, by the field to be converted of the current site
Changed;
Website data after conversion field is sent to targeted website corresponding with the website logo of the targeted website.
In one of the embodiments, methods described also includes:
When from conversion logic corresponding with the website logo of the targeted website choose at least two conversion logics with
Field to be converted after the fractionation instructs to the selection that the conversion logic of the field to be converted is then received during correspondence;
Instructed according to described choose, choose at least two conversion logic one and the word to be converted after the fractionation
Conversion logic is as conversion logic corresponding to the field to be converted corresponding to section;
Selection conversion logic corresponding with the field to be converted is added in the conversion logic storehouse.
In one of the embodiments, the current site address corresponding to the mark of the current site is outer net address;
Data, the website logo of current site and the website logo step of targeted website for receiving current site, bag
Include:
Receive the website number for the current site that, public network corresponding with the outer net address being proved to be successful by public network is forwarded
According to;
According to the website logo of the current site, obtain decryption corresponding with the website logo of the current site and patrol
Volume.
In one of the embodiments, the web data after the field by conversion is sent to the net with the targeted website
Corresponding to station identifications the step of targeted website, including:
Encryption logic corresponding with the website logo of the institute targeted website is obtained according to targeted website mark;
The current site data after conversion field are encrypted according to the encryption logic;
Current site data after encryption are forwarded to and the targeted website corresponding targeted website of mark by public network
In.
One embodiment collects wherein, and methods described also includes:
Identified according to the targeted website, obtain the communication mode of the targeted website;
According to the communication mode of the targeted website, the communication protocols of the targeted website are obtained from the communication repository
View;
The current site data by after encryption are forwarded to and the corresponding target of targeted website mark by public network
Step in website, including:
By change field after current site data by public network according to the communication protocol of the targeted website send to
In targeted website corresponding to the targeted website mark.
A kind of website data processing unit, described device include:
Receiving module, the website for receiving the data of current site, the website logo of current site and targeted website are marked
Know;
Field to be converted chooses module, for choosing field to be converted from the data of the current site;
First chooses module, for choosing conversion corresponding with the website logo of the current site from conversion logic storehouse
Logic;
Second chooses module, for from conversion logic corresponding with the website logo of the current site, chooses and institute
State conversion logic corresponding to the website logo of targeted website;
Split module, for ought be chosen not from conversion logic corresponding with the website logo of the targeted website to institute
When stating conversion logic corresponding to field to be converted, then the field after the field to be converted is split;
Modular converter, for from conversion logic corresponding with the website logo of the targeted website, selection to be torn open with described
Conversion logic corresponding to field after point, as the conversion logic of the field to be converted of the current site, by the current net
The field to be converted stood is changed;
Sending module, it is corresponding with the website logo of the targeted website for the website data after conversion field to be sent to
Targeted website.
In one of the embodiments, described device also includes:
Command reception module is chosen, is chosen for working as from conversion logic corresponding with the website logo of the targeted website
To at least two conversion logics and the field to be converted after the fractionation to it is corresponding when then receive the conversion of the field to be converted and patrol
The selection instruction collected;
Conversion logic chooses module, for being instructed according to described choose, chooses at least two conversion logic one
Conversion logic corresponding with the field to be converted after the fractionation is as conversion logic corresponding to the field to be converted;
Add module, for selection conversion logic corresponding with the field to be converted to be added into the conversion logic
In storehouse.
In being embodiment at wherein one, the receiving module also includes:
Receiving unit, outer net address for receiving with being proved to be successful by public network is corresponding, public network forwarded it is current
The website data of website;
Acquiring unit, for the website logo according to the current site, obtain the website logo with the current site
Corresponding decryption logic.
A kind of website data processing platform, including memory, processor and storage are on a memory and can be in processor
The computer program of upper operation, the step in the above method is realized during the computing device described program.
A kind of storage medium, is stored thereon with computer program, and the program is realized in the above method when being executed by processor
The step of.
Above-mentioned website data processing method, device, website data processing platform and storage medium, by the conversion of different field
Logic is stored in conversion logic storehouse, and website data and the field to be converted included in website data are being obtained from some websites
When, then only need directly to obtain the logic of conversion field according to the website logo of current site mark and targeted website, so as to word
Duan Jinhang is changed, if the field to be converted that the website data of current site includes change occurs and leads to not directly obtain correctly
During conversion logic, treat conversion field and split, so that according to the field after fractionation, obtain correct conversion logic, without
Need to write overall code again according to the change of the field to be converted of different websites, so as to reduce exploitation amount, enhancing
Applicability.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is used only for explaining the present invention, and
It is not used in the restriction present invention.
Describe in detail according to an embodiment of the invention before, it should be noted that, described embodiment essentially consist in
The combination of website data processing method, device, website data processing platform step and the device assembly related to storage medium.Cause
This, corresponding device component and method and step are showed in position by ordinary symbol in the accompanying drawings, and
The details relevant with understanding embodiments of the invention is merely illustrated, in order to avoid because of the ordinary skill for having benefited from the present invention
Those obvious details have obscured the disclosure for personnel.
Herein, such as left and right, upper and lower, front and rear, first and second etc relational terms are used merely to area
Divide an entity or action and another entity or action, and not necessarily require or imply and be between this entity or action any
Actual this relation or order.Term " comprising ", "comprising" or any other variant are intended to including for nonexcludability, by
This make it that including the process of a series of elements, method, article or equipment not only includes these key elements, but also comprising not bright
The key element that the other element really listed is either this process, method, article or equipment are intrinsic.
Fig. 1 is refer to, Fig. 1 is the application scenario diagram of website data processing method in an embodiment, including website number
According to processing platform, the Website server and user terminal of current site, user terminal can be laptop computer, desktop computer, hand
Machine or tablet personal computer etc., user can open targeted website on the subscriber terminal, when current site data are needed in targeted website
On when being shown, then first, website data processing platform gets website data from the server of current site, then ought
The field that the website data that the field included in the website data of preceding website is converted to targeted website and can shown includes, finally,
The website data of current site after conversion field is sent to targeted website and shown.Website data processing platform can be from
The Website server of current site receives the website data of current site, and the website data of current site is decrypted, then
The field to be converted that will be contained in the website data of current site is changed according to conversion logic, to working as after conversion field
The website data of preceding website is encrypted, and is sent to targeted website, and targeted website is shown to user.
Fig. 2 is refer to, in one of the embodiments, there is provided a kind of flow chart of website data processing method, this implementation
Come in the website data processing platform being applied in this way in above-mentioned Fig. 1 in example for example, operation has website on the platform
Data processor, website data processing is implemented by the website data processing routine.This method comprises the following steps:
S202:Receive data, the website logo of current site and the website logo of targeted website of current site.
Specifically, the data of current site refer to be stored on current site server, and can show in current site
Content shown etc., the data of current site can be lteral data, image data or numerical data etc., for example, current site
Website server is stored with the Credit Statement data of the user of current site, and then can be shown to user's letter in current site
With card billing data, the Credit Statement data are the data of current site;Website logo refers to can be by this website and its
The mark that his website makes a distinction, website logo can be URL (Uniform Resoure Locator, the unified resource of website
Locator) address or website title etc.;Targeted website refers to the website that data interaction is realized with current site.Net
Data processing platform (DPP) of standing receives the data of current site, and receives the website logo of current site, and the net of targeted website
Station identifications.
S204:Field to be converted is chosen from the data of current site.
Specifically, field can include same category information in current site data, and field is stored in the data of current site
In, field can represent to be included in the shared attribute of same class information under the field, for example, field can be " bill account
Family ", it is corresponding be included in should be under " bill account " field information be different account names, as bill account it is entitled " user 1 ",
" user 2 " and " user 3 " etc..A certain field is stored with the website number data of current site, when the field and includes the field
Data and targeted website when interacting, then need to be deposited according to the corresponding field name in targeted website, type or form
Storage, then choose field to be converted, for example, including " bill account " word in the data of current site from the data of current site
Section, the field name that the field stores on target web is " user name ", then being chosen from the data of current site should " bill
Account " field.
S206:Conversion logic corresponding with the website logo of current site is chosen from conversion logic storehouse.
Specifically, conversion logic storehouse is the database for being stored with corresponding conversion logic, and conversion logic refers to each website
Corresponding conversion logic, field can be changed according to the conversion logic, conversion logic is uniformly stored in conversion logic storehouse
In.There is the conversion logic of this corresponding website each different website, can be selected from conversion logic storehouse and current net
Conversion logic corresponding to the website logo stood.Alternatively, website data processing platform can according to the URL addresses of current site,
Conversion logic corresponding with current site is chosen from conversion logic, for example, current site is " China Merchants Bank " related website
" trade and investment promotion credit service ", according to the URL addresses of " trade and investment promotion credit service ", chosen and " trade and investment promotion credit from conversion logic storehouse
Card service " conversion logic corresponding to website.
S208:From conversion logic corresponding with the website logo of current site, the website logo with targeted website is chosen
Corresponding conversion logic.
Specifically, the different targets of data interaction can be carried out from it by being stored with conversion logic corresponding to current site
Conversion logic corresponding to website, website data processing platform are chosen and the current web page from conversion logic corresponding to current site
Carry out conversion logic corresponding to the website logo of the targeted website of data interaction.For example, targeted website is the phase of " safety bank "
Close website " credit card management ", current site is the related web site " trade and investment promotion credit service " of " China Merchants Bank ", according to " credit card
The website URL of management ", conversion corresponding with " credit card management " is chosen from conversion logic corresponding to " trade and investment promotion credit service "
Logic.
S210:When being chosen not from conversion logic corresponding to the website logo with targeted website to corresponding with field to be converted
Conversion logic when, then the field after field to be converted is split.
Specifically, treating for current site can be changed by being stored with conversion logic corresponding with the website logo of targeted website
The conversion logic that field is the field needed for the targeted website is changed, when not from conversion corresponding with the website logo of targeted website
When the conversion logic in corresponding with field to be converted is chosen in logic, then field to be converted is split, after obtaining fractionation
Field.For example, it is desired to show " China Merchants Bank " on the related website in " safety bank " related website " credit card management "
The Credit Statement of user in related website " trade and investment promotion credit service ", the website of current site " China Merchants Bank's credit service "
Data are billing data, and field " bill account " is there are in the billing data, in targeted website " safety bank " related web site
In " credit card management " during display billing data, corresponding field " bill account " needs to be shown as " user name ", then to be converted
Field is " bill account ", is patrolled when being chosen not from conversion logic corresponding to targeted website to conversion corresponding to " bill account "
Volume, then the field to be converted is split, obtain the field after " bill " and " account " two fractionations.It should be noted that
Conversion field is treated when being split, the Splitting Logic pre-set can be obtained, the Splitting Logic pair pre-set according to this
Field to be converted is split.Wherein, Splitting Logic can be that field to be converted is split into several standard terminologys, the standard art
Language refers to that it is not influenceed by the word after or before it, only passes through the word of term content with independent semantic term
Complete computer major concept can be determined, such as treats conversion field " webpage password " according to the field after making each fractionation
With independent semanteme, and each data that split are that most short field is split, after obtaining " webpage " " password " two fractionations
Field.
S212:From conversion logic corresponding with the website logo of targeted website, choose corresponding with the field after splitting
Conversion logic, as the conversion logic of the field to be converted of current site, the field to be converted of current site is changed.
Specifically, according to the field after fractionation, chosen from conversion logic corresponding with the website logo of targeted website with
Conversion logic corresponding to field after fractionation, conversion logic of the conversion logic as the field to be converted of current site, according to
The conversion logic, the field to be converted of the current site is converted to the field of targeted website needs.For example, current site is treated
Field " bill account " is changed, the field after fractionation is " bill " and " account ", according to the field after fractionation, chooses and arrives and fractionation
Conversion logic corresponding to field " account " afterwards, for example, the conversion logic is that " account " field is converted into " user name " field,
The then conversion logic using the conversion logic as the field to be converted " bill account " of current web page, by the field " account to be converted
Single account " is converted to " user name " field of targeted website needs.
S214:Website data after conversion field is sent to targeted website corresponding with the website logo of targeted website.
Specifically, target will be included after conversion according to the website logo of targeted website, website data processing platform
The website for the field that website needs is sent to corresponding targeted website, for example, the website logo of targeted website is URL addresses, root
According to the URL addresses of the targeted website, the field that the targeted website after conversion needs is sent to the targeted website, after conversion
Field is " user name " field, according to the URL addresses of targeted website " safety bank " related website " credit card management ", will be wrapped
Web data containing " user name " field after the conversion is sent to target web.
In above-described embodiment, the conversion logic of different field is stored in conversion logic storehouse, obtained from current site
During field to be converted to the website data for needing to interact with targeted website and included in website data, then root is only needed
The conversion logic of field to be converted is obtained according to the website logo of current site and the website logo of targeted website, if current site
The field to be converted that website data includes is changed, and leads to not the conversion logic for being directly obtained field to be converted, then right
Field to be converted is split, so that according to the field after fractionation, correct conversion logic is obtained, without according to different websites
The change of field to be converted change overall code again, so as to reduce exploitation amount, enhance applicability.
In one of the embodiments, reference can be made to Fig. 3, there is provided one increase conversion logic the step of flow chart, the increase
Conversion logic step can be performed after step S212 in the embodiment depicted in figure 2, i.e., from the website logo with targeted website
In corresponding conversion logic, choose with the corresponding conversion logic of field after fractionation, the field to be converted as current site
Conversion logic, the field to be converted of current site is carried out into switch process can wrap the step of performing afterwards, increase conversion logic
Include:
S302:When from conversion logic corresponding with the website logo of targeted website choose at least two conversion logics with
Field to be converted after fractionation instructs to the selection that the conversion logic of field to be converted is then received during correspondence.
Specifically, website data processing platform is chosen and the website of targeted website from conversion logic corresponding to current site
Conversion logic corresponding to mark, the conversion that field to be converted is chosen in conversion logic corresponding to the website logo from targeted website are patrolled
Volume, during the conversion logic for getting field to be converted when unselected, the field after field to be converted is split, according to
Field after fractionation, choose at least two conversion logics with splitting in conversion logic corresponding to the website logo from targeted website
The selection that the corresponding conversion logic of field to be converted is then received when field to be converted afterwards is to corresponding to instructs.For example, when basis is worked as
Chosen in conversion logic corresponding to the URL addresses of preceding website " China Merchants Bank's credit service " related to targeted website " safety bank "
Conversion logic corresponding to the URL addresses of website " credit card management ", from conversion logic corresponding to the targeted website, chooses and treats
Conversion logic corresponding to field " bill account " is changed, change corresponding with field to be converted " bill account " is got when unselected and patrols
When collecting, then field to be converted is split as " bill " field and " account " field, according to the field after fractionation, from targeted website
Two conversion logics in conversion logic corresponding to website logo, a conversion logic are that " account " is converted into " user name ", separately
One conversion logic is that " account " is converted into " name ", now then introduces the intervention of user, for example, user terminal receives user
The selection instruction of the transformation rule corresponding with field to be converted " account " of input.
S304:According to choose instruct, choose at least two conversion logics in one with fractionation after field to be converted it is corresponding
Conversion logic as conversion logic corresponding to field to be converted.
Specifically, reference can be made to Fig. 4, there is provided one chooses the surface chart of conversion logic, and website data processing platform is according to generation
Selection instruction, will be chosen from least two conversion logics with the corresponding conversion logic of field to be converted after fractionation, by this
Conversion logic of the conversion logic as field to be converted.Can be, when site file processing platform is marked from the website of targeted website
Chosen in conversion logic corresponding to knowledge at least two conversion logics and the field to be converted after fractionation to it is corresponding when then website data
The interface display prompt message of processing platform association, user can choose and the field pair to be converted after fractionation according to prompt message
The conversion logic answered, submitted after the completion of user chooses, website data processing platform is operated according to the submission of user and generated
Instruction is chosen, is instructed according to the selection, website data processing platform will be waited to turn from least two logics to be converted after fractionation
Change conversion logic corresponding to field and select, the transformation rule as field to be converted;For example, work as site file processing platform
Chosen from the website logo of targeted website to conversion logic corresponding with the field " bill " after fractionation and " account ", a conversion
Logic is that " account " is converted into " user name ", and another conversion logic is that " account " is converted into " name ", then website data
The interface display prompt message of processing platform association, it is that " account " is converted to that user can choose conversion logic according to prompt message
" user name ", after the completion of user chooses, submitted, website data processing platform operates generation selection according to the submission of user and referred to
Order, being instructed according to the selection, the conversion logic that website data platform is converted to " account " " user name " selects, as
The conversion logic of " bill account ".
S306:Selection conversion logic corresponding with field to be converted is added in conversion logic storehouse.
Specifically, it is elected to after getting conversion logic corresponding to field to be converted, the conversion logic of the field to be converted is added
Add in conversion logic storehouse.For example, elected " bill account " conversion logic corresponding to field of getting is to change " bill account "
For " user name ", then the conversion logic is added in conversion logic storehouse.
In above-described embodiment, field after choosing at least two and splitting from conversion logic corresponding to targeted website
During corresponding conversion logic, then the selection instruction of the conversion logic of field to be converted can be received, after at least two and fractionation
Field corresponding to choose conversion logic of the corresponding conversion logic as field to be converted in conversion logic, and will select
The conversion logic of field to be converted is added in logical transition storehouse, only need to choose the field after splitting as treating according to choosing to instruct
The conversion logic of field is changed, and the transformation rule is added in logical transition storehouse, can be chosen without changing whole code
Transformation rule to corresponding transformation rule as field to be converted, it is simple and easy, improve operating efficiency.
In one of the embodiments, reference can be made to Fig. 5, there is provided step S202 flow chart in embodiment illustrated in fig. 2, its
In, the current site address corresponding to the mark of current site is outer net address, step 202, that is, receive current site data,
The step of website logo of current site and the website logo of targeted website, can include:
S502:Receive the net for the current site that, public network corresponding with the outer net address being proved to be successful by public network is forwarded
Stand data.
Specifically, the address of current site is outer net address corresponding to current site mark, and outer net can be for different
The external public network that user uses, current site is can be for the external public network that different user uses, such as current site
It can be external public network of " Tengxun " related web site, " Netease " related web site or " Taobao " related web site etc.;Public network refers to
The network environment of data interaction, while the intranet environment that public network can be disposed with website data processing platform can be carried out with outer net
Data interaction is carried out, so as to which the data received from outer net are sent into website data processing platform after checking.Alternatively,
According to current site identity verification, whether the current site is credible outer net to public network, can be identified according to current site, in public network
Current site address corresponding to current site mark is searched in the website white list of storage, if current site address is correspondingly stored in
In white list, then current site is considered as credible outer net, then public network is proved to be successful to current site, you can obtains current site
Website data, the website data of the current site of acquisition adds internal network address by public network, and the internal network address can be with
Public network and Intranet is carried out data interaction, the website data for the current site that with the addition of internal network address is sent to positioned at interior
Website data processing platform under net environment.For example, public network searches current site " China Merchants Bank's credit in the website white list of storage
URL addresses corresponding to card service ", when the URL addresses of current site " China Merchants Bank's credit service " are stored in white list, then currently
Website " China Merchants Bank's credit service " is considered credible outer net, namely public network current site " China Merchants Bank's credit service " is verified into
Work(, when getting website data " billing data " of current site " China Merchants Bank's credit service ", then public network is current by what is got
Website data " billing data " the addition internal network address of website " China Merchants Bank's credit service ", will with the addition of internal network address
Current site " trade and investment promotion credit service " website data " billing data " be sent to positioned at Intranet change part under website data
Processing platform.
S504:According to the website logo of current site, decryption logic corresponding with the website logo of current site is obtained.
Specifically, decryption logic refers to after website data processing platform gets the website data of current site, currently
The data of website pass through encryption, then website data processing platform needs to adopt when the website data of current site is decrypted
Uniform logical corresponding with the website logo of current site, decryption logic are uniformly stored in data processing repository, solution
Close logic can store private key, can also store corresponding decryption character string, and the website data of current site is decrypted according to private key,
Or matched according to the decryption character string of storage, so as to parse the website data of current site, and then get current site
Website data in the field to be converted that includes.Each different website have corresponding to this website decryption logic, according to working as
The website logo of preceding website, the website logo that website data processing platform obtains current site from data processing repository are corresponding
Decryption logic.For example, can be according to the URL addresses of current site, website data processing platform is from data processing repository
Obtain decryption logic corresponding to current site.
Data processing repository refers to be stored with the decryption rule and the database of encryption rule of each website, when needing to decrypt
From current site obtain website data when, decryption logic corresponding to current site can be obtained from data processing repository,
And then the field to be converted included in the website data of current site is got, website data after needing to conversion field
When being encrypted, and then being sent to targeted website, it can obtain to encrypt corresponding to targeted website from data processing repository and patrol
Volume.
In above-described embodiment, communicated using public network with outer net, and then will be being proved to be successful with outer entoilage by public network
The recognizable network address of website data addition Intranet of current site corresponding to location, the network address recognizable by Intranet is added
Website data be sent to the website data processing platform under intranet environment, public network is directly communicated with outer net and realized pair
Outer net is verified that the website data processing platform under intranet environment realizes the processing to data, ensures information and the peace of network
Entirely;And decryption logic corresponding to different web sites is stored in advance in corresponding data processing repository, when needing to decrypt some
During website data on website, then only need directly to obtain the decryption logic of website data, nothing according to the website logo of current site
Whole code need to be write according to different websites, reduce the exploitation amount of code, so as to enhance applicability.
In one of the embodiments, reference can be made to Fig. 6, there is provided step S214 flow chart, step in embodiment illustrated in fig. 2
S214, the step of web data after field is sent to the corresponding targeted website with the website logo of targeted website will be changed,
It can include:
S602:Encryption logic corresponding with the website logo of targeted website is obtained according to targeted website mark.
Specifically, encryption logic refers to after treating conversion field and being changed, and the net that will include field after the conversion
Data of standing are sent to before targeted website, the uniform logical that can encrypt website data corresponding with targeted website, encryption logic
Uniformly it is stored in data processing repository, encryption logic can also store corresponding encrypted characters string, root with storage of public keys
Website data is encrypted according to public key, needs to be decrypted with corresponding private key when decrypting website data, can also be according to adding
Website data is encrypted close character string.There are the encryption logic of this corresponding website, website data in each different website
Processing platform is according to the website logo of targeted website, the encryption logic corresponding to acquisition targeted website from data processing repository,
Targeted website mark can be URL addresses or the title etc. of targeted website of targeted website, for example, targeted website is
" safety bank " related website " credit card management ", then according to the URL addresses of targeted website " credit card management ", at data
Manage and encryption logic corresponding to " credit card management " is obtained in repository.
S604:The current site data after conversion field are encrypted according to encryption logic.
Specifically, website data processing platform will get encryption logic corresponding with targeted website to that will change field
Current site data afterwards are encrypted.For example, can be according to the public key stored in encryption logic to current after conversion field
Website data is encrypted, and the current site data after parsing conversion field need to be decrypted with corresponding private key, can also basis
Current site data after conversion field are encrypted encrypted characters string.Needed during decryption using decryption character string and encrypted word
Symbol string is matched so as to realize decryption.
S606:Current site data after encryption are forwarded to and the targeted website corresponding targeted website of mark by public network
In.
Specifically, the current site data after encrypting and changing field are sent to public affairs by website data processing platform
Net, this is added with internal network address in current site data after changing field, when public network is received by encryption
During the data of current site, then internal network address corresponding to deletion, and then according to mark the working as the encryption of targeted website
Preceding website data is sent to targeted website.For example, " bill account " field is converted to " user name " field by website processing platform
The website data " billing data " of current site " China Merchants Bank's credit service " afterwards is sent to public network, and this is after changing field
It is public added with the internal network address that Intranet residing on website data processing platform is recognizable on website data " billing data "
It is " safety bank " related " credit card management " website according to targeted website after net is deleted the internal network address
URL addresses, the website data that the process is changed to the current site " China Merchants Bank's credit service " of field are sent to targeted website " letter
Managed with card ".
In above-described embodiment, encryption logic corresponding to different web sites is stored in advance in data processing repository, when need
When the website data of current site that will be after changing field is sent to targeted website, then only need directly to be marked according to targeted website
Know and obtain encryption logic, it is not necessary to whole code is write according to different targeted websites, reduces the exploitation amount of code, enhancing is applicable
Property, and before website data is sent into targeted website, website data is encrypted, ensure the safety of website data transmission
Property;Website data processing platform is only changed encrypted or decryption work, website to the field to be converted of current site
Data processing platform (DPP) will be sent to targeted website by public network by changing the current site data of field, by public network and outside
Targeted website carries out data transmission, and ensures the security of network.
In one of the embodiments, reference can be made to Fig. 7, there is provided the flow chart of an associated steps, the associated steps can be in Fig. 6
Performed in illustrated embodiment after step S604, step S604, i.e., the current site after conversion field is encrypted according to encryption logic
Performed after the step of data, the associated steps can include:
S702:Identified according to targeted website, obtain the communication mode of targeted website.
Specifically, communication mode refers between the terminal of website communicated using certain rule during data interaction, example
Such as, communication mode has the communication party using http protocol (Hypertext transfer protocol, HTTP)
Formula, using the communication mode of File Transfer Protocol (File Transfer Protocol, FTP) or using Secure File Transfer Protocol
The customized communication of communication mode or website of (Secure File Transfer Protocol, secure file transportation protocol)
Mode, website data processing platform can obtain the communication mode that targeted website uses according to the website logo of targeted website.Example
Such as, targeted website is " credit card management ", and communication mode corresponding to the targeted website " credit card management " is using http protocol
Communication mode, then website data processing platform is according to the URL address acquisitions of the targeted website " credit card management " to communication party
Formula is the communication mode using http protocol.
S704:According to the communication mode of targeted website, the communication protocol of acquisition targeted website from communication repository.
Specifically, communication protocol refers to that the corresponding rule of communication observed when website terminal is being communicated or communication are patrolled
Volume, communication protocol is stored in communication repository, and corresponding communication protocol can be stored in the repository that communicates, when needs will include
When the current site data of field after conversion are sent to targeted website, then targeted website can be chosen from communication repository
The communication protocol that communication mode uses, website data processing platform is according to the communication mode of targeted website, in the repository that communicates
Obtain targeted website communication protocol.For example, targeted website is " credit card management ", corresponding to the targeted website " credit card management "
Communication mode is the communication mode using http protocol, and according to the communication mode, website data processing platform is according to the communication party
Formula, the http communication agreement for being somebody's turn to do " safety bank financing " is obtained from communication repository.
Alternatively, website data processing platform is chosen corresponding with the communication mode of targeted website logical from communication repository
Believe agreement, according to the communication protocol, website data processing platform sends out the website data of the current site after changing field
Public network is given, public network is sent in corresponding targeted website according to communication protocol corresponding to targeted website.For example, at website data
Platform chooses http communication agreement corresponding with targeted website " credit card management " from communication repository, leads to according to the HTTP
Believe agreement, website data processing platform will pass through the current site that " user name " field is converted to comprising " bill account " field
The website data " billing data " of " China Merchants Bank's credit service " is sent to public network, and public network is by the website data according to targeted website
The website data is sent to targeted website by the http communication agreement of " credit card management ".
In above-described embodiment, communication protocol corresponding to different web sites is stored in advance in corresponding communication repository, when
When needing to targeted website transmission current site data, then only need directly to obtain targeted website according to the communication mode of targeted website
Communication protocol, without writing overall code according to different targeted websites, reduce the exploitation amount of code, improve development efficiency,
Manpower is saved, strengthens applicability, and is interacted by public network and targeted website, ensures network security.
In one of the embodiments, there is provided another website data processing method, the present embodiment are applied to net in this way
Data processing platform (DPP) stand to illustrate.
Specifically, website data processing platform receives the data of current site, the website logo of current site and target
The website logo of website, the address of current site is outer net address corresponding to current site mark, and public network is according to current site
Whether identity verification current site is credible outer net, and when current site is verified as credible outer net by public network, the public network obtains
The website data of the current site of acquisition is added internal network address by the website logo of current site, public network, at website data
Platform receives the website data for the current site that with the addition of internal network address;Website data processing platform is according to current site
Website logo, from data processing repository obtain current site website logo corresponding to decryption logic;From current site
Website data in choose field to be converted;And then according to the website logo of current site, obtained from conversion logic storehouse current
Conversion logic in website is corresponding;And then website data processing platform is according to the website logo of targeted website, from current site
Website logo corresponding in conversion logic, choose conversion logic corresponding with targeted website;When not according to the net of targeted website
, then will be to be converted when station identifications selection is chosen into conversion logic corresponding with targeted website to the conversion logic of field to be converted
Field is split, the field after being split;According to the field after fractionation, conversion logic corresponding to the website logo from targeted website
In, corresponding with the field after fractionation conversion logic is chosen, using conversion logic corresponding with the field after the fractionation as ought
The conversion logic of the field to be converted of preceding website, the field to be converted of current site is changed.
If after field to be converted is split, according to the field after fractionation, changed corresponding to the website logo from targeted website
In logic choose at least two conversion logics with split after band conversion field it is corresponding when, then website data processing platform association
Interface display prompt message, user can according to prompt message choose with split after field to be converted it is corresponding change patrol
Volume, submitted after the completion of user chooses, website data processing platform operates generation according to the submission of user and chooses instruction, root
Instructed according to the selection, website data processing platform is from least two logics to be converted by corresponding to the field to be converted after fractionation
Conversion logic, which selects, to be come, the transformation rule as field to be converted;It is elected to after getting conversion logic corresponding to field to be converted,
The conversion logic of the field to be converted is added in conversion logic storehouse.
After the field to be converted included in the website data of current site is changed, field after the conversion will be included
Website data is sent to before targeted website, and website data processing platform is according to the website logo of targeted website, from data processing
Encryption logic corresponding to targeted website is obtained in repository;Website data processing platform will get corresponding with targeted website
Encryption logic is to the current site data after conversion field are encrypted;And then website data processing platform is according to target network
The website logo stood, the communication mode of targeted website use can be obtained, according to the communication mode of targeted website, be configured in communication
Targeted website communication protocol is obtained in storehouse;Website data processing platform is by the current site data after encrypting and changing field
It is sent to public network, and sends communication protocol corresponding to targeted website, this is added in current site data after changing field
Have internal network address, when public network receives the data by the current site of encryption, then delete corresponding to internal network
Location, and then the current site data of the encryption are sent to by targeted website according to the communication protocol according to the mark of targeted website.
In above-described embodiment, website data processing platform receives the website data of current site by public network, and receives and work as
The website logo of preceding website and the website logo of targeted website, choose to be converted in the website data of the current site received
Field, the website data for needing to interact with targeted website is got from current site and is treated included in website data
When changing field, then only need to obtain field to be converted according to the website logo of current site and the website logo of targeted website
Conversion logic, if the field to be converted that the website data of current site includes is changed, lead to not be directly obtained and wait to turn
The conversion logic of field is changed, then treats conversion field and is split, so as to according to the field after fractionation, obtain correctly conversion and patrol
Volume, overall code is changed in the change without the field to be converted according to different websites again, so as to reduce exploitation amount, is increased
Strong applicability;When from conversion logic corresponding to targeted website choose at least two with split after field it is corresponding change
During logic, only conversion logic of the field as field to be converted after choosing fractionation need to be instructed according to choosing, and the conversion is advised
Then it is added in logical transition storehouse, corresponding transformation rule can be chosen as field to be converted without changing whole code
Transformation rule, it is simple and easy, improve operating efficiency;And then the current site data of the field after by conversion are sent to target network
Before standing, encryption logic corresponding to different web sites is stored in advance in data processing repository, field is changed when needing to pass through
When the website data of current site afterwards is sent to targeted website, then only need directly to be patrolled according to targeted website mark acquisition encryption
Volume, it is not necessary to whole code is write according to different targeted websites, reduces the exploitation amount of code, strengthens applicability, and by net
Data of standing are sent to before targeted website, and website data is encrypted, and ensure the security of website data transmission, and direct root
The communication protocol of targeted website is obtained according to the communication mode of targeted website, without writing overall generation according to different targeted websites
Code, the exploitation amount of code is reduced, improve development efficiency, save manpower, strengthen applicability;Website data processing platform passes through public network
Receive data or send data, ensure the security of network.
In one of the embodiments, Fig. 8 is referred to, there is provided the structural representation of a website data processing unit, it is described
Website data processing unit 800 includes:
Receiving module 810, for receiving the website of the data of current site, the website logo of current site and targeted website
Mark.
Field to be converted chooses module 820, for choosing field to be converted from the data of current site.
First chooses module 830, for choosing conversion corresponding with the website logo of current site from conversion logic storehouse
Logic.
Second chooses module 840, for from conversion logic corresponding with the website logo of current site, chooses and target
Conversion logic corresponding to the website logo of website.
Module 850 is split, for ought be chosen not from conversion logic corresponding with the website logo of targeted website to treating
When changing conversion logic corresponding to field, then the field after field to be converted is split.
Modular converter 860, after from conversion logic corresponding with the website logo of targeted website, choosing and splitting
Conversion logic corresponding to field, as the conversion logic of the field to be converted of current site, by the field to be converted of current site
Changed.
Sending module 870, it is corresponding with the website logo of targeted website for the website data after conversion field to be sent to
Targeted website.
In one of the embodiments, website data processing unit 800 can also include:
Choose command reception module, for when from conversion logic corresponding with the website logo of targeted website choose to
Few two conversion logics and the field to be converted after fractionation to it is corresponding when then receive field to be converted the selection of conversion logic refer to
Order.
Conversion logic choose module, for according to choose instruct, choose at least two conversion logics in one with split after
Field to be converted corresponding to conversion logic as conversion logic corresponding to field to be converted.
Add module, for selection conversion logic corresponding with field to be converted to be added in conversion logic storehouse.
In one of the embodiments, receiving module 810 can also include:
Receiving unit, outer net address for receiving with being proved to be successful by public network is corresponding, public network forwarded it is current
The website data of website.
Acquiring unit, for the website logo according to current site, obtain solution corresponding with the website logo of current site
Close logic.
In one of the embodiments, sending module 870 can also include:
Encryption rule acquiring unit, for identified according to targeted website obtain it is corresponding with the website logo of institute targeted website
Encryption logic.
Ciphering unit, for encrypting the current site data after changing field according to encryption logic.
Transmitting element, it is corresponding with targeted website mark for the current site data after encryption to be forwarded to by public network
In targeted website.
In one of the embodiments, sending module 870 can also include:
Communication mode acquiring unit, for being identified according to targeted website, obtain the communication mode of targeted website.
Communication protocol acquiring unit, for the communication mode according to targeted website, target network is obtained from communication repository
The communication protocol stood.
Transmitting element can also include:Sending assembly, for the current site data after conversion field to be pressed by public network
Send to targeted website and identify in corresponding targeted website according to the communication protocol of targeted website.
The above-mentioned specific restriction on website data processing unit may refer to above in connection with website data processing method
Restriction, will not be repeated here
In one of the embodiments, it refer to Fig. 9, there is provided one performs the website data processing platform of website data processing
Structural representation, the website data processing platform can be conventional terminal or other any suitable computer equipments, including
Memory, processor, operating system, database and storage are on a memory and at the website data that can run on a processor
Program is managed, wherein memory can include built-in storage, realize following steps during computing device website data processing routine:Connect
Receive data, the website logo of current site and the website logo of targeted website of current site.Selected from the data of current site
Take field to be converted.Conversion logic corresponding with the website logo of current site is chosen from conversion logic storehouse.From with current net
In conversion logic corresponding to the website logo stood, conversion logic corresponding with the website logo of targeted website is chosen.When not from
When conversion logic corresponding with field to be converted is arrived in selection in conversion logic corresponding to the website logo of targeted website, then it will wait to turn
Change the field after field is split.From conversion logic corresponding with the website logo of targeted website, choose with
Conversion logic corresponding to field after fractionation, as the conversion logic of the field to be converted of current site, by treating for current site
Conversion field is changed.Website data after conversion field is sent to target network corresponding with the website logo of targeted website
Stand.
In one of the embodiments, following steps are also realized during computing device program:When from the net with targeted website
In conversion logic corresponding to station identifications choose at least two conversion logics with fractionation after field to be converted to it is corresponding when then receive
The selection instruction of the conversion logic of field to be converted.Instructed according to choosing, choose one and fractionation at least two conversion logics
Conversion logic is as conversion logic corresponding to field to be converted corresponding to field to be converted afterwards.By selection and field to be converted
Corresponding conversion logic is added in conversion logic storehouse.
In one of the embodiments, following steps are also realized during computing device program:The data of reception current site,
The website logo of current site and the website logo step of targeted website, including:Receive the outer net with being proved to be successful by public network
The website data for the current site that address is corresponding, public network is forwarded.According to the website logo of current site, obtain and current net
Decryption logic corresponding to the website logo stood.
In one of the embodiments, following steps are also realized during computing device program:Obtained according to targeted website mark
Take encryption logic corresponding with the website logo of institute targeted website.The current site number after conversion field is encrypted according to encryption logic
According to.By the current site data after encryption by public network be forwarded to in the corresponding targeted website of mark of targeted website.
In one of the embodiments, following steps are also realized during computing device program:Identified, obtained according to targeted website
Take the communication mode of targeted website.According to the communication mode of targeted website, the communication of targeted website is obtained from communication repository
Agreement.Current site data after encryption are forwarded to and the step in the corresponding targeted website of mark of targeted website by public network
Suddenly, including:By change field after current site data by public network according to the communication protocol of targeted website send to target
In targeted website corresponding to website logo.
The above-mentioned specific restriction on website data processing platform may refer to above in connection with website data processing method
Restriction, will not be repeated here
In one of the embodiments, continuing with referring to Fig. 9, there is provided a kind of storage medium, be stored thereon with computer journey
Sequence, the program realize following steps when being executed by processor:Receive data, the website logo and mesh of current site of current site
Mark the website logo of website.Field to be converted is chosen from the data of current site.Chosen and current net from conversion logic storehouse
Conversion logic corresponding to the website logo stood.From conversion logic corresponding with the website logo of current site, selection and target
Conversion logic corresponding to the website logo of website.When not from conversion logic corresponding with the website logo of targeted website choose to
During conversion logic corresponding with field to be converted, then the field after field to be converted is split.From with target
In conversion logic corresponding to the website logo of website, conversion logic corresponding with the field after fractionation is chosen, as current site
Field to be converted conversion logic, the field to be converted of current site is changed.By the website data after conversion field
It is sent to targeted website corresponding with the website logo of targeted website.
In one of the embodiments, following steps can also be realized when the program is executed by processor:When from target
Chosen in conversion logic corresponding to the website logo of website corresponding with the field to be converted after splitting at least two conversion logics
When, then receive the selection instruction of the conversion logic of field to be converted.Instruct, chosen one at least two conversion logics according to choosing
Individual conversion logic corresponding with field to be converted after fractionation is as conversion logic corresponding to field to be converted.By selection with treating
Conversion logic corresponding to field is changed to be added in conversion logic storehouse.
In one of the embodiments, following steps can also be realized when the program is executed by processor:Receive and pass through
Corresponding to outer net address that public network is proved to be successful, the website data for the current site that public network is forwarded.According to the net of current site
Station identifications, obtain decryption logic corresponding with the website logo of current site, the current site corresponding to the mark of current site
Address is outer net address.
In one of the embodiments, following steps can also be realized when the program is executed by processor:According to target network
Station identifications obtain encryption logic corresponding with the website logo of institute targeted website.Working as after changing field is encrypted according to encryption logic
Preceding website data.Current site data after encryption are forwarded to and the targeted website corresponding targeted website of mark by public network
In.
In one of the embodiments, following steps can also be realized when the program is executed by processor:According to target network
Station identifications, obtain the communication mode of targeted website.According to the communication mode of targeted website, target network is obtained from communication repository
The communication protocol stood.Current site data after encryption are forwarded to and the targeted website corresponding targeted website of mark by public network
In step, including:By change field after current site data by public network according to the communication protocol of targeted website send to
With in the corresponding targeted website of mark of targeted website.
The above-mentioned specific restriction on storage medium may refer to the restriction above in connection with website data processing method,
This is repeated no more.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with
Storage can be read to instruct the hardware of correlation to be stored in a non-volatile computer the program completed by computer program
In medium, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, it is computer-readable to deposit
Storage media can be magnetic disc, CD, read-only memory (Read-Only Memory, ROM) etc..
Each technical characteristic of above example can be combined arbitrarily, to make description succinct, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, lance is not present in the combination of these technical characteristics
Shield, all it is considered to be the scope of this specification record.
Above example only expresses the several embodiments of the present invention, and its description is more specific and detailed, but can not
Therefore it is construed as limiting the scope of the patent.It should be pointed out that for the person of ordinary skill of the art,
On the premise of not departing from present inventive concept, various modifications and improvements can be made, these belong to protection scope of the present invention.
Therefore, the protection domain of patent of the present invention should be determined by the appended claims.