WO2019019650A1 - 网站数据处理方法、装置、网站数据处理平台及存储介质 - Google Patents
网站数据处理方法、装置、网站数据处理平台及存储介质 Download PDFInfo
- Publication number
- WO2019019650A1 WO2019019650A1 PCT/CN2018/078324 CN2018078324W WO2019019650A1 WO 2019019650 A1 WO2019019650 A1 WO 2019019650A1 CN 2018078324 W CN2018078324 W CN 2018078324W WO 2019019650 A1 WO2019019650 A1 WO 2019019650A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- website
- identifier
- field
- target
- current
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/258—Data format conversion from or to a database
Definitions
- the present application relates to the field of computer technologies, and in particular, to a website data processing method and apparatus, a website data processing platform, and a storage medium.
- Each type of data on the website has corresponding fields in the database.
- Different websites have corresponding field formats and types.
- the website receives the data contained in this field transmitted by other websites, it needs to convert the field to the field format and type required by the website before being stored in the database or before being displayed on the website.
- a method for processing a website data comprising: receiving data of a current website, a website identifier of a current website, and a website identifier of the target website; selecting a field to be converted from data of the current website; selecting from the conversion logic library Corresponding conversion logic corresponding to the website identifier of the current website; selecting, from the conversion logic corresponding to the website identifier of the current website, conversion logic corresponding to the website identifier of the target website; when not from the target website When the conversion logic corresponding to the to-be-converted field is selected in the conversion logic corresponding to the website identifier, the field to be converted is split to obtain the split field; and the conversion corresponding to the website identifier of the target website is converted.
- the conversion logic corresponding to the split field is selected as the conversion logic of the current website to be converted, and the to-be-converted field of the current website is converted; the website data after the conversion field is sent A target website corresponding to the website identifier of the target website.
- a website data processing apparatus comprising: a receiving module, configured to receive data of a current website, a website identifier of a current website, and a website identifier of a target website; a field selection module to be converted, for data from the current website Selecting a field to be converted; a first selecting module, configured to select, from the conversion logic library, conversion logic corresponding to the website identifier of the current website; and a second selecting module, configured to use a website identifier corresponding to the current website
- the conversion logic corresponding to the website identifier of the target website is selected;
- the splitting module is configured to: when the conversion logic corresponding to the website identifier of the target website is not selected, corresponding to the to-be-converted field When the logic is converted, the field to be converted is split to obtain a split field; and a conversion module is configured to select, from the conversion logic corresponding to the website identifier of the target website, the field after the split Corresponding conversion logic, as a conversion logic of the current
- a website data processing platform includes a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the program to implement the following steps: receiving data of a current website, current website a website identifier and a website identifier of the target website; selecting a field to be converted from the data of the current website; selecting, from the conversion logic library, a conversion logic corresponding to the website identifier of the current website; and identifying the website from the current website Corresponding conversion logic, the conversion logic corresponding to the website identifier of the target website is selected; when the conversion logic corresponding to the to-be-converted field is not selected from the conversion logic corresponding to the website identifier of the target website, And then splitting the to-be-converted field to obtain a split field; and selecting, from the conversion logic corresponding to the website identifier of the target website, a conversion logic corresponding to the split field, as the current Conversion logic of the field to be converted of the website, converting the field to be converted of the current website
- the above website data processing method, device, website data processing platform and storage medium store the conversion logic of different fields in the conversion logic library, and do not need to rewrite the overall code according to the change of the field to be converted of different websites, thereby reducing The amount of development, enhance the applicability.
- FIG. 1 is an application scenario diagram of a website data processing method in an embodiment
- FIG. 2 is a flow chart of a method for processing website data in an embodiment
- 3 is a flow chart showing the steps of adding conversion logic in an embodiment
- FIG. 5 is a flow chart of step S202 in the embodiment shown in Figure 2;
- FIG. 6 is a flow chart of step S214 in the embodiment shown in Figure 2;
- Figure 7 is a flow chart of the associated steps in an implementation
- FIG. 8 is a schematic structural diagram of a website data processing apparatus according to an embodiment
- FIG. 9 is a schematic structural diagram of a website data processing platform in an embodiment.
- FIG. 1 is an application scenario diagram of a website data processing method according to an embodiment, which includes a website data processing platform, a website server and a user terminal of a current website, and the user terminal may be a laptop, a desktop computer, a mobile phone or a tablet.
- the computer, etc. the user can open the target website on the user terminal.
- the website data processing platform obtains the website data from the server of the current website, and then the website data of the current website.
- the fields contained in the website are converted into fields contained in the website data that the target website can display, and finally, the website data of the current website after the conversion field is sent to the target website for display.
- the website data processing platform can receive the website data of the current website from the website server of the current website, decrypt the website data of the current website, and then convert the to-be-converted field included in the website data of the current website according to the conversion logic, and convert the website.
- the website data of the current website after the field is encrypted and sent to the target website, and the target website is displayed to the user.
- a flowchart of a website data processing method is provided.
- the method is applied to the website data processing platform in FIG. 1 to illustrate that the platform runs.
- S202 Receive data of the current website, a website identifier of the current website, and a website identifier of the target website.
- the data of the current website refers to content stored on the current website server and can be displayed on the current website
- the data of the current website may be text data, picture data, or digital data, for example, a website server of the current website.
- the credit card billing data of the user who stores the current website can be displayed on the current website, and the credit card billing data is the data of the current website;
- the website logo refers to the identifier that can distinguish the website from other websites.
- the website identifier may be a website URL (Uniform Resoure Locator) address, or a website name, etc.
- the target website refers to a website that interacts with the current website.
- the website data processing platform receives the data of the current website, and receives the website identifier of the current website and the website identifier of the target website.
- the field may contain the same type of information in the current website data, the field is stored in the data of the current website, and the field may represent a common attribute of the same type of information contained in the field, for example, the field may be a “bill account”, corresponding
- the information contained in the "Billing Account” field is a different account name, such as the billing account names "User 1", "User 2", and "User 3".
- a certain field is stored in the website number data of the current website.
- the corresponding field name, type or format of the target website needs to be stored, and the current website is The data to be converted is selected in the data.
- the data of the current website includes a “billing account” field, and the field name stored in the target webpage is “user name”, and the “billing account” is selected from the data of the current website.
- Field the data of the current website includes a “billing account” field, and the field name stored in the target webpage is “user name”, and the “billing account” is selected from
- the conversion logic library is a database storing corresponding conversion logic
- the conversion logic refers to a conversion logic corresponding to each website, according to which the fields can be converted, and the conversion logic is uniformly stored in the conversion logic library.
- Each different website has a corresponding conversion logic of the website, and the conversion logic corresponding to the website identifier of the current website can be selected from the conversion logic library.
- the website data processing platform may select a conversion logic corresponding to the current website from the conversion logic according to the URL address of the current website, for example, the current website is a “China Merchants Bank” related website “China Merchants Credit Card Service”, according to “Investment The URL address of the credit card service, and the conversion logic corresponding to the "China Merchants Credit Card Service” website is selected from the conversion logic library.
- S208 Select, from the conversion logic corresponding to the website identifier of the current website, a conversion logic corresponding to the website identifier of the target website.
- the conversion logic corresponding to the current website stores conversion logic corresponding to different target websites that can perform data interaction with the website, and the website data processing platform selects a target website that performs data interaction with the current web page from the conversion logic corresponding to the current website.
- the website logo corresponds to the conversion logic.
- the target website is “Credit Card Management” related to “Ping An Bank”
- the current website is “China Merchants Bank” related website “China Merchants Credit Card Service”.
- the conversion logic corresponding to "credit card management” is selected in the conversion logic.
- the conversion logic corresponding to the website identifier of the target website stores conversion logic that can convert the field to be converted of the current website to a field required by the target website, when the conversion logic corresponding to the website identifier of the target website is not used.
- the conversion logic corresponding to the field to be converted is selected, the field to be converted is split to obtain the split field. For example, it is necessary to display the credit card bill of the user in the "China Merchants Bank” related website "China Merchants Credit Card Service” on the website related to "Credit Card Management" related to "Ping An Bank”.
- the website data of the current website "CMB Credit Card Service” is Billing data, there is a field "Billing Account” in the billing data.
- the field to be converted is “Billing Account”.
- the conversion logic corresponding to “Bill Account” is not selected from the conversion logic corresponding to the target website, the field to be converted is split to obtain “Bill” and “Account”.
- the split field It should be noted that when the conversion field is to be split, the preset split logic may be obtained, and the converted field is split according to the preset split logic.
- the splitting logic may be splitting the field to be converted into a plurality of standard terms, which are terms having independent semantics, which are not affected by the text after or before, and only by the text of the term content. Determine the complete computer professional concept, such as the "web page password" to be converted, so that each split field has independent semantics, and each split data is split into the shortest field to get "web page” "password” Two split fields.
- S212 Select, from the conversion logic corresponding to the website identifier of the target website, the conversion logic corresponding to the split field, as the conversion logic of the field to be converted of the current website, and convert the field to be converted of the current website.
- the conversion logic corresponding to the split field is selected from the conversion logic corresponding to the website identifier of the target website, and the conversion logic is used as a conversion logic of the field to be converted of the current website, according to the Conversion logic that converts the current site's fields to be converted into the fields needed by the target site.
- the field to be converted of the current website "billing account”
- the split fields are "bill” and "account”, according to the split field, select the conversion logic corresponding to the split field "account”, For example, if the conversion logic converts the “Account” field into a “User Name” field, the conversion logic is used as a conversion logic of the current page's to-be-converted field “Bill Account”, and the to-be-converted field “Bill Account” is converted into The Username field required for the target site.
- S214 Send the website data after the conversion field to the target website corresponding to the website identifier of the target website.
- the website data processing platform sends the converted website including the required fields of the target website to the corresponding target website, for example, the website identifier of the target website is a URL address, according to the target website
- the URL address is sent to the target website for the converted target website. If the converted field is the “user name” field, the URL address of the website “Credit Card Management” related to the target website “Ping An Bank” will be included.
- the webpage data with the converted "username" field is sent to the target webpage.
- the conversion logic of different fields is stored in the conversion logic library, and when the website data that needs to interact with the target website and the field to be converted included in the website data are obtained from the current website, only the current The website identifier of the website and the website identifier of the target website obtain the conversion logic of the field to be converted. If the field to be converted of the website data of the current website changes, the conversion logic of the field to be converted cannot be directly obtained, and the field to be converted is removed. According to the split field, the correct conversion logic is obtained, and the overall code is not changed according to the change of the field to be converted of different websites, thereby reducing the development amount and enhancing the applicability.
- a flowchart of the steps of adding conversion logic may be provided, which may be performed after step S212 in the embodiment shown in FIG. 2, ie, from the website with the target website.
- the conversion logic corresponding to the identifier the conversion logic corresponding to the split field is selected as the conversion logic of the field to be converted of the current website, and the field to be converted of the current website is performed after the conversion step, and the step of adding the conversion logic may include :
- the conversion logic corresponding to the URL address of the related website "Credit Card Management" of the target website "Ping An Bank” is selected according to the conversion logic corresponding to the URL address of the current website "CMB Credit Card Service”
- the conversion logic corresponding to the target website is selected.
- the conversion logic corresponding to the "bill account” of the field to be converted is selected.
- the field to be converted is split into a “bill” field and an "account”.
- the split field two conversion logics in the conversion logic corresponding to the website identifier of the target website, one conversion logic is to convert "account” into “user name”, and another conversion logic is to convert "account” In the case of “name”, the user's intervention is introduced at this time.
- the user terminal receives the selection instruction of the conversion rule corresponding to the “account” to be converted by the user.
- S304 Select, according to the selection instruction, one of the at least two conversion logics and the conversion logic corresponding to the split field to be converted as the conversion logic corresponding to the field to be converted.
- the website file processing platform selects the conversion logic corresponding to the split fields "Bill” and "Account” from the website identifier of the target website, one conversion logic converts “Account” into “User Name”, and the other The conversion logic converts the "account” into “name”, and the interface associated with the website data processing platform displays the prompt information, and the user can select the conversion logic to convert the "account” into the "user name” according to the prompt information, and after the user selects, the user performs the selection.
- the website data processing platform generates a selection instruction according to the user's submit operation, and according to the selection instruction, the website data platform selects the conversion logic of converting the “account” into the “user name” as the conversion logic of the “bill account”.
- the conversion logic corresponding to the "Billing Account” field is selected to convert the "Bill Account” to "User Name"
- the conversion logic is added to the conversion logic library.
- the splitting field is selected as the conversion logic of the field to be converted according to the selection instruction, and the conversion rule is added to the logical conversion library, and the corresponding conversion rule can be selected as the waiting without changing the entire code.
- Converting field conversion rules is simple and easy, and improves work efficiency.
- step S202 is to receive the current website.
- the data, the website logo of the current website, and the website logo of the target website may include:
- S502 Receive website data of a current website forwarded by a public network corresponding to an external network address successfully verified by the public network.
- S504 Obtain decryption logic corresponding to the website identifier of the current website according to the website identifier of the current website.
- the public network directly communicates with the external network and implements verification on the external network.
- the website data processing platform in the internal network environment implements data processing to ensure information and network security; and decryption logic corresponding to different websites.
- Pre-stored in the corresponding data processing configuration library when it is necessary to decrypt the website data on a website, the decryption logic of the website data is directly obtained according to the website logo of the current website, thereby reducing the development amount of the code, thereby enhancing the application. Sex.
- Step S214 is a step of sending webpage data after the conversion field to the target website corresponding to the website identifier of the target website.
- S602 Acquire encryption logic corresponding to the website identifier of the target website according to the target website identifier.
- S604 Encrypt the current website data after converting the field according to the encryption logic.
- S606 Forward the encrypted current website data to the target website corresponding to the target website identifier through the public network.
- the encryption logic is directly obtained according to the target website identifier, and the website data is encrypted before the website data is sent to the target website.
- the website data processing platform sends the current website data of the converted field to the target website through the public network, and the data transmission is performed by the public website and the external target website to ensure the security of the network.
- a flowchart of an association step may be performed.
- the association step may be performed after step S604 in the embodiment shown in FIG. 6.
- Step S604 is to encrypt the current after the conversion field according to the encryption logic.
- the association step may include:
- S702 Acquire a communication manner of the target website according to the target website identifier.
- S704 Obtain a communication protocol of the target website from the communication configuration repository according to the communication manner of the target website.
- the communication protocol corresponding to different websites is pre-stored in the corresponding communication configuration database.
- the communication protocol of the target website may be obtained directly according to the communication method of the target website. Reduce the development of code, improve development efficiency, save manpower, enhance applicability, and interact with the target website by the public network to ensure network security.
- the website data processing apparatus 800 includes: a receiving module 810, configured to receive data of a current website, a website identifier and a target of a current website.
- the field to be converted module 820 is configured to select a field to be converted from data of the current website.
- the first selecting module 830 is configured to select, from the conversion logic library, conversion logic corresponding to the website identifier of the current website.
- the second selecting module 840 is configured to select, from the conversion logic corresponding to the website identifier of the current website, a conversion logic corresponding to the website identifier of the target website.
- the splitting module 850 is configured to split the to-be-converted field to obtain the split field when the conversion logic corresponding to the to-be-converted field is not selected from the conversion logic corresponding to the website identifier of the target website.
- the conversion module 860 is configured to: in the conversion logic corresponding to the website identifier of the target website, select a conversion logic corresponding to the split field, as a conversion logic of the current website to be converted, and perform a field to be converted of the current website. Conversion.
- the sending module 870 is configured to send the website data after the conversion field to the target website corresponding to the website identifier of the target website.
- the website data processing apparatus 800 may further include: a selection instruction receiving module, configured to select at least two conversion logics and the to-be-converted to be converted from the conversion logic corresponding to the website identifier of the target website When the field corresponds, the selection instruction of the conversion logic of the field to be converted is received.
- the conversion logic selection module is configured to select, according to the selection instruction, one of the at least two conversion logics and the conversion logic corresponding to the split field to be converted as the conversion logic corresponding to the field to be converted. Add a module to add the selected conversion logic corresponding to the field to be converted to the conversion logic library.
- the receiving module 810 may further include: a receiving unit, configured to receive website data of the current website forwarded by the public network corresponding to the external network address successfully verified by the public network.
- the obtaining unit is configured to obtain decryption logic corresponding to the website identifier of the current website according to the website identifier of the current website.
- the sending module 870 may further include: an encryption rule obtaining unit, configured to acquire, according to the target website identifier, encryption logic corresponding to the website identifier of the target website.
- the sending unit is configured to forward the encrypted current website data to the target website corresponding to the target website identifier through the public network.
- the sending module 870 may further include: a communication mode acquiring unit, configured to acquire a communication manner of the target website according to the target website identifier.
- the communication protocol obtaining unit is configured to obtain a communication protocol of the target website from the communication configuration library according to the communication manner of the target website.
- the sending unit may further include: a sending component, configured to send the current website data after the conversion field to the target website corresponding to the target website identifier according to the communication protocol of the target website through the public network.
- FIG. 9 is a schematic structural diagram of a website data processing platform for performing website data processing.
- the website data processing platform may be a conventional terminal or any other suitable computer device, including a memory, a processor, and An operating system, a database, and a website data processing program stored on the memory and operable on the processor, wherein the memory may include an internal memory, and the processor performs the following steps when executing the website data processing program: receiving data of the current website, the current website The website identifier and the website identifier of the target website. Select the field to be converted from the data of the current website. Select the conversion logic corresponding to the website ID of the current website from the conversion logic library.
- the conversion logic corresponding to the website identifier of the target website is selected.
- the field to be converted is split to obtain the split field.
- the conversion logic corresponding to the split field is selected as the conversion logic of the field to be converted of the current website, and the field to be converted of the current website is converted.
- the website data after the conversion field is sent to the target website corresponding to the website identifier of the target website.
- the processor executes the program, the following steps are further implemented: when at least two conversion logics are selected from the conversion logic corresponding to the website identifier of the target website, and the corresponding converted field is corresponding to the converted field, then the receiving is performed.
- the selection instruction of the conversion logic of the field to be converted According to the selection instruction, one of the at least two conversion logics is selected as the conversion logic corresponding to the field to be converted.
- the selected conversion logic corresponding to the field to be converted is added to the conversion logic library.
- the processor further implements the following steps: receiving data of the current website, a website identifier of the current website, and a website identification step of the target website, including: receiving an external network address that is successfully verified by the public network.
- Website data of the current website forwarded by the public network.
- the decryption logic corresponding to the website identifier of the current website is obtained.
- the processor further implements the step of: obtaining encryption logic corresponding to the website identifier of the target website according to the target website identifier.
- the current website data after the conversion field is encrypted according to the encryption logic.
- the encrypted current website data is forwarded through the public network to the target website corresponding to the target website identifier.
- the processor further implements the following steps: obtaining a communication method of the target website according to the target website identifier.
- the communication protocol of the target website is obtained from the communication configuration library.
- the step of forwarding the encrypted current website data to the target website corresponding to the target website identifier through the public network includes: transmitting the current website data after the conversion field to the target website identifier according to the communication protocol of the target website through the public network The target site.
- a storage medium on which a computer program is stored, and when executed by the processor, the following steps are implemented: receiving data of the current website, website identifier of the current website, and target The website logo of the website. Select the field to be converted from the data of the current website. Select the conversion logic corresponding to the website ID of the current website from the conversion logic library. From the conversion logic corresponding to the website identifier of the current website, the conversion logic corresponding to the website identifier of the target website is selected. When the conversion logic corresponding to the field to be converted is not selected from the conversion logic corresponding to the website identifier of the target website, the field to be converted is split to obtain the split field.
- the conversion logic corresponding to the split field is selected as the conversion logic of the field to be converted of the current website, and the field to be converted of the current website is converted.
- the website data after the conversion field is sent to the target website corresponding to the website identifier of the target website.
- the following steps may be further implemented: when at least two conversion logics are selected from the conversion logic corresponding to the website identifier of the target website, and the corresponding fields to be converted are corresponding to each other. And receiving a selection instruction of the conversion logic of the field to be converted. According to the selection instruction, one of the at least two conversion logics is selected as the conversion logic corresponding to the field to be converted. The selected conversion logic corresponding to the field to be converted is added to the conversion logic library.
- the following steps may be implemented: receiving website data of the current website forwarded by the public network corresponding to the external network address successfully verified by the public network. According to the website identifier of the current website, the decryption logic corresponding to the website identifier of the current website is obtained, and the current website address corresponding to the identifier of the current website is the external network address.
- the following steps may be implemented: obtaining encryption logic corresponding to the website identifier of the target website according to the target website identifier.
- the current website data after the conversion field is encrypted according to the encryption logic.
- the encrypted current website data is forwarded through the public network to the target website corresponding to the target website identifier.
- the following steps may be further implemented: obtaining a communication manner of the target website according to the target website identifier.
- the communication protocol of the target website is obtained from the communication configuration library.
- the step of forwarding the encrypted current website data to the target website corresponding to the target website identifier through the public network includes: transmitting the current website data after the conversion field to the target website identifier according to the communication protocol of the target website through the public network The target site.
- the program when executed, may include the flow of an embodiment of the methods as described above.
- the computer readable storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
一种网站数据处理方法、装置、网站数据处理平台及存储介质,该方法包括:接收当前网站的数据、当前网站的网站标识与目标网站的网站标识(S202);从当前网站的数据中选取待转换字段(S204);从转换逻辑库中选取与当前网站的网站标识对应的转换逻辑(S206);从与当前网站的网站标识对应的转换逻辑中,选取与目标网站的网站标识对应的转换逻辑(S208);当未从与目标网站的网站标识对应的转换逻辑中选取到与待转换字段对应的转换逻辑时,则将待转换字段进行拆分得到拆分后的字段(S210);从与目标网站的网站标识对应的转换逻辑中,选取与拆分后的字段对应的转换逻辑,作为当前网站的待转换字段的转换逻辑,将当前网站的待转换字段进行转换(S212);将转换字段后的网站数据发送给与目标网站的网站标识对应的目标网站(S214)。上述方法无需根据不同的网站的待转换字段的更改重新编写整体的代码,从而减少了开发量,增强适用性。
Description
本申请申明享有2017年7月27日递交的申请号为201710626316.5、名称为“网站数据处理方法、装置、网站数据处理平台及存储介质”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。
本申请涉及计算机技术领域,特别是涉及一种网站数据处理方法、装置、网站数据处理平台及存储介质。
随着互联网的不断发展与推进,某些网站需要与其他网站进行数据的交互,网站上的每类数据在数据库中都有相应的字段,不同网站设置有对应的字段格式与类型,当某个网站接收到其他网站传输的包含在该字段下的数据时,在存储在数据库前或在本网站显示前,需要将字段转换成本网站所需的字段格式与类型。
传统地,某些网站对字段处理时,针对不同的网站,对字段进行转换时都有特定的转换逻辑,若一些网页中出现存储网页数据的相应的字段的更改,无法直接获取该字段的转换逻辑,则针对不同的网站以及不同网站上存储网页数据的相应的字段的更改,都需要开发整体的代码,再进行测试运维等一整套流程,导致开发量大,适用性不强。
发明内容
基于此,有必要针对在对不同网站的网站数据进行处理时,对网站数据中待转换字段转换时代码开发量大,适用性不强的问题,提供一种网站数据 处理方法、装置、网站数据处理平台及存储介质。
一种网站数据处理方法,所述方法包括:接收当前网站的数据、当前网站的网站标识与目标网站的网站标识;从所述当前网站的数据中选取待转换字段;从转换逻辑库中选取与所述当前网站的网站标识对应的转换逻辑;从与所述当前网站的网站标识对应的转换逻辑中,选取与所述目标网站的网站标识对应的转换逻辑;当未从与所述目标网站的网站标识对应的转换逻辑中选取到与所述待转换字段对应的转换逻辑时,则将所述待转换字段进行拆分得到拆分后的字段;从与所述目标网站的网站标识对应的转换逻辑中,选取与所述拆分后的字段对应的转换逻辑,作为所述当前网站的待转换字段的转换逻辑,将所述当前网站的待转换字段进行转换;将转换字段后的网站数据发送给与所述目标网站的网站标识对应的目标网站。
一种网站数据处理装置,所述装置包括:接收模块,用于接收当前网站的数据、当前网站的网站标识与目标网站的网站标识;待转换字段选取模块,用于从所述当前网站的数据中选取待转换字段;第一选取模块,用于从转换逻辑库中选取与所述当前网站的网站标识对应的转换逻辑;第二选取模块,用于从与所述当前网站的网站标识对应的转换逻辑中,选取与所述目标网站的网站标识对应的转换逻辑;拆分模块,用于当未从与所述目标网站的网站标识对应的转换逻辑中选取到与所述待转换字段对应的转换逻辑时,则将所述待转换字段进行拆分得到拆分后的字段;转换模块,用于从与所述目标网站的网站标识对应的转换逻辑中,选取与所述拆分后的字段对应的转换逻辑,作为所述当前网站的待转换字段的转换逻辑,将所述当前网站的待转换字段进行转换;发送模块,用于将转换字段后的网站数据发送给与所述目标网站的网站标识对应的目标网站。
一种网站数据处理平台,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:接收当前网站的数据、当前网站的网站标识与目标网站的网站标识;从所述 当前网站的数据中选取待转换字段;从转换逻辑库中选取与所述当前网站的网站标识对应的转换逻辑;从与所述当前网站的网站标识对应的转换逻辑中,选取与所述目标网站的网站标识对应的转换逻辑;当未从与所述目标网站的网站标识对应的转换逻辑中选取到与所述待转换字段对应的转换逻辑时,则将所述待转换字段进行拆分得到拆分后的字段;从与所述目标网站的网站标识对应的转换逻辑中,选取与所述拆分后的字段对应的转换逻辑,作为所述当前网站的待转换字段的转换逻辑,将所述当前网站的待转换字段进行转换;将转换字段后的网站数据发送给与所述目标网站的网站标识对应的目标网站。
一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:接收当前网站的数据、当前网站的网站标识与目标网站的网站标识;从所述当前网站的数据中选取待转换字段;从转换逻辑库中选取与所述当前网站的网站标识对应的转换逻辑;从与所述当前网站的网站标识对应的转换逻辑中,选取与所述目标网站的网站标识对应的转换逻辑;当未从与所述目标网站的网站标识对应的转换逻辑中选取到与所述待转换字段对应的转换逻辑时,则将所述待转换字段进行拆分得到拆分后的字段;从与所述目标网站的网站标识对应的转换逻辑中,选取与所述拆分后的字段对应的转换逻辑,作为所述当前网站的待转换字段的转换逻辑,将所述当前网站的待转换字段进行转换;将转换字段后的网站数据发送给与所述目标网站的网站标识对应的目标网站。
上述网站数据处理方法、装置、网站数据处理平台及存储介质,将不同字段的转换逻辑存储在转换逻辑库中,不需要根据不同的网站的待转换字段的更改重新编写整体的代码,,从而减少了开发量,增强适用性。
图1为一实施例中网站数据处理方法的应用场景图;
图2为一实施例中网站数据处理方法流程图;
图3为一实施例中增加转换逻辑的步骤的流程图;
图4为一实施例中选取转换逻辑的界面图;
图5为图2所示实施例中步骤S202的流程图;
图6为图2所示实施例中步骤S214的流程图;
图7为一实施中关联步骤的流程图;
图8为一实施例中网站数据处理装置的结构示意图;
图9为一实施例中网站数据处理平台的结构示意图。
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用于解释本申请,并不用于限定本申请。
在详细说明根据本申请的实施例前,应该注意到的是,所述的实施例主要在于与网站数据处理方法、装置、网站数据处理平台和存储介质相关的步骤和装置组件的组合。因此,所属装置组件和方法步骤已经在附图中通过常规符号在适当的位置表示出来了,并且只示出了与理解本申请的实施例有关的细节,以免因对于得益于本申请的本领域普通技术人员而言显而易见的那些细节模糊了本申请的公开内容。
在本文中,诸如左和右,上和下,前和后,第一和第二之类的关系术语仅仅用来区分一个实体或动作与另一个实体或动作,而不一定要求或暗示这种实体或动作之间的任何实际的这种关系或顺序。术语“包括”、“包含”或任何其他变体旨在涵盖非排他性的包含,由此使得包括一系列要素的过程、方法、物品或者设备不仅包含这些要素,而且还包含没有明确列出的其他要素,或者为这种过程、方法、物品或者设备所固有的要素。
请参照图1,图1为一实施例中网站数据处理方法的应用场景图,其中 包括网站数据处理平台、当前网站的网站服务器和用户终端,用户终端可以是手提电脑、台式电脑、手机或平板电脑等,用户可以在用户终端上打开目标网站,当当前网站数据需要在目标网站上进行显示时,则首先,网站数据处理平台从当前网站的服务器获取到网站数据,然后将当前网站的网站数据中包含的字段转换为目标网站可以显示的网站数据包含的字段,最后,将转换字段后的当前网站的网站数据发送至目标网站进行显示。网站数据处理平台可以从当前网站的网站服务器接收到当前网站的网站数据,对当前网站的网站数据进行解密,再将包含在当前网站的网站数据中的待转换字段按照转换逻辑进行转换,对转换字段后的当前网站的网站数据进行加密,发送到目标网站,目标网站显示给用户。
请参照图2,在其中一个实施例中,提供一种网站数据处理方法的流程图,本实施例中以该方法应用到上述图1中的网站数据处理平台中来举例说明,该平台上运行有网站数据处理程序,通过该网站数据处理程序来实施网站数据处理。该方法包括如下步骤:
S202:接收当前网站的数据、当前网站的网站标识与目标网站的网站标识。
具体地,当前网站的数据是指存储在当前网站服务器上,且可以在当前网站上显示的内容等,当前网站的数据可以是文字数据、图片数据或数字数据等,例如,当前网站的网站服务器存储有当前网站的用户的***账单数据,进而可以在当前网站显示给用户***账单数据,该***账单数据即为当前网站的数据;网站标识是指可以将本网站与其他网站进行区分的标识,网站标识可以是网站的URL(Uniform Resoure Locator,统一资源***)地址,也可以是网站的名称等;目标网站是指与当前网站实现数据交互的网站。网站数据处理平台接收到当前网站的数据,并接收当前网站的网站标识,以及目标网站的网站标识。
S204:从当前网站的数据中选取待转换字段。
具体地,字段可以包含当前网站数据中同一类信息,字段存储在当前网站的数据中,字段可以表示包含在该字段下同一类信息的共有的属性,例如,字段可以是“账单账户”,相应包含在该“账单账户”字段下的信息为不同的账户名,如账单账户名为“用户1”、“用户2”和“用户3”等。当前网站的网站数数据中存储有某一字段,当该字段及包含该字段的数据与目标网站进行交互时,则需要按照目标网站相应的字段名称、类型或格式进行存储,则从当前网站的数据中选取待转换字段,例如,当前网站的数据中包含“账单账户”字段,该字段在目标网页上存储的字段名称为“用户名”,则从当前网站的数据中选取该“账单账户”字段。
S206:从转换逻辑库中选取与当前网站的网站标识对应的转换逻辑。
具体地,转换逻辑库是存储有相应的转换逻辑的数据库,转换逻辑是指每个网站对应的转换逻辑,根据该转换逻辑可以将字段进行转换,转换逻辑统一存储在转换逻辑库中。每个不同的网站都有对应的本网站的转换逻辑,可以从转换逻辑库中选取出与当前网站的网站标识对应的转换逻辑。可选地,网站数据处理平台可以根据当前网站的URL地址,从转换逻辑中选取与当前网站对应的转换逻辑,例如,当前网站为“招商银行”相关的网站“招商***服务”,根据“招商***服务”的URL地址,从转换逻辑库中选取与“招商***服务”网站对应的转换逻辑。
S208:从与当前网站的网站标识对应的转换逻辑中,选取与目标网站的网站标识对应的转换逻辑。
具体地,当前网站对应的转换逻辑中存储有可以与其进行数据交互的不同的目标网站对应的转换逻辑,网站数据处理平台从当前网站对应的转换逻辑中选取与该当前网页进行数据交互的目标网站的网站标识对应的转换逻辑。例如,目标网站为“平安银行”的相关网站“***管理”,当前网站为“招商银行”的相关网站“招商***服务”,根据“***管理”的网站URL,从“招商***服务”对应的转换逻辑中选取与“***管理”对 应的转换逻辑。
S210:当未从与目标网站的网站标识对应的转换逻辑中选取到与待转换字段对应的转换逻辑时,则将待转换字段进行拆分得到拆分后的字段。
具体地,与目标网站的网站标识对应的转换逻辑中存储有可以转换当前网站的待转换字段为该目标网站所需的字段的转换逻辑,当未从与目标网站的网站标识对应的转换逻辑中选取到与待转换字段对应内的转换逻辑时,则将待转换字段进行拆分,得到拆分后的字段。例如,需要在“平安银行”相关的网站“***管理”相关的网站上显示“招商银行”相关的网站“招商***服务”中的用户的***账单,当前网站“招行***服务”的网站数据为账单数据,该账单数据中存在有字段“账单账户”,在目标网站“平安银行”相关网站“***管理”中显示账单数据时,相应的字段“账单账户”需要显示为“用户名”,则待转换字段为“账单账户”,当未从目标网站对应的转换逻辑中选取到“账单账户”对应的转换逻辑,则将该待转换字段进行拆分,得到“账单”和“账户”两个拆分后的字段。需要说明的是,对待转换字段进行拆分时,可以获取预先设置的拆分逻辑,根据该预先设置的拆分逻辑对待转换字段进行拆分。其中,拆分逻辑可以是将待转换字段拆分成数个标准术语,该标准术语是指具有独立语义的术语,其不受其之后或之前的文字的影响,仅通过术语内容的文字即可以确定完整的计算机专业概念,如对待转换字段“网页密码”按照使每个拆分后的字段具有独立的语义,且每个拆分数据为最短的字段进行拆分,得到“网页”“密码”两个拆分后的字段。
S212:从与目标网站的网站标识对应的转换逻辑中,选取与拆分后的字段对应的转换逻辑,作为当前网站的待转换字段的转换逻辑,将当前网站的待转换字段进行转换。
具体地,根据拆分后的字段,从与目标网站的网站标识对应的转换逻辑中选取与拆分后的字段对应的转换逻辑,该转换逻辑作为当前网站的待转换 字段的转换逻辑,根据该转换逻辑,将该当前网站的待转换字段转换为目标网站需要的字段。例如,当前网站的待转换字段“账单账户”,拆分后的字段为“账单”和“账户”,根据拆分后的字段,选取到与拆分后的字段“账户”对应的转换逻辑,例如,该转换逻辑为将“账户”字段转换为“用户名”字段,则将该转换逻辑作为当前网页的待转换字段“账单账户”的转换逻辑,将该待转换字段“账单账户”转换为目标网站需要的“用户名”字段。
S214:将转换字段后的网站数据发送给与目标网站的网站标识对应的目标网站。
具体地,根据目标网站的网站标识,网站数据处理平台将经过转换后的包含目标网站需要的字段的网站发送给相应的目标网站,例如,目标网站的网站标识为URL地址,根据该目标网站的URL地址,将转换后的目标网站需要的字段发送给该目标网站,如转换后的字段为“用户名”字段,根据目标网站“平安银行”相关的网站“***管理”的URL地址,将包含有该转换后的“用户名”字段的网页数据发送给目标网页。
上述实施例中,将不同字段的转换逻辑存储在转换逻辑库中,从当前网站上获取到需要与目标网站进行交互的网站数据及包含在网站数据中的待转换字段时,则只需要根据当前网站的网站标识与目标网站的网站标识获取待转换字段的转换逻辑,若当前网站的网站数据包含的待转换字段出现更改,导致无法直接获取到待转换字段的转换逻辑,则对待转换字段进行拆分,从而根据拆分后的字段,获取正确的转换逻辑,无需根据不同的网站的待转换字段的更改重新更改整体的代码,从而减小了开发量,增强了适用性。
在其中一个实施例中,可参见图3,提供一增加转换逻辑的步骤的流程图,该增加转换逻辑步骤可以在图2所示实施例中步骤S212之后执行,即在从与目标网站的网站标识对应的转换逻辑中,选取与拆分后的字段对应的转换逻辑,作为当前网站的待转换字段的转换逻辑,将当前网站的待转换字段进行转换步骤之后执行,增加转换逻辑的步骤可以包括:
S302:当从与目标网站的网站标识对应的转换逻辑中选取到至少两个转换逻辑与拆分后的待转换字段对应时,则接收待转换字段的转换逻辑的选取指令。
例如,当根据当前网站“招行***服务”的URL地址对应的转换逻辑中选取与目标网站“平安银行”的相关网站“***管理”的URL地址对应的转换逻辑,从该目标网站对应的转换逻辑中,选取与待转换字段“账单账户”对应的转换逻辑,当未选取到与待转换字段“账单账户”对应的转换逻辑时,则将待转换字段拆分为“账单”字段和“账户”字段,根据拆分后的字段,从目标网站的网站标识对应的转换逻辑中两个转换逻辑,一个转换逻辑是将“账户”转换为“用户名”,另一个转换逻辑是将“账户”转换为“姓名”,此时则引入用户的干预,例如,用户终端接收用户输入的与待转换字段“账户”对应的转换规则的选取指令。
S304:根据选取指令,选取至少两个转换逻辑中一个与拆分后的待转换字段对应的转换逻辑作为待转换字段对应的转换逻辑。
例如,当网站文件处理平台从目标网站的网站标识选取到与拆分后的字段“账单”和“账户”对应的转换逻辑,一个转换逻辑是将“账户”转换为“用户名”,另一个转换逻辑是将“账户”转换为“姓名”,则网站数据处理平台关联的界面显示提示信息,用户可以根据提示信息选取转换逻辑为“账户”转换为“用户名”,用户选取完成后,进行提交,网站数据处理平台根据用户的提交操作生成选取指令,根据该选取指令,网站数据平台将“账户”转换为“用户名”的转换逻辑选取出来,作为“账单账户”的转换逻辑。
S306:将选取的与待转换字段对应的转换逻辑添加至转换逻辑库中。
例如,当选取到“账单账户”字段对应的转换逻辑为将“账单账户”转换为“用户名”,则将该转换逻辑添加到转换逻辑库中。
上述实施例中,只需根据选取指令选取拆分后的字段作为待转换字段的转换逻辑,并将该转换规则添加至逻辑转换库中,无需更改整个代码即可选 取到对应的转换规则作为待转换字段的转换规则,简单易行,提高工作效率。
在其中一个实施例中,可参见图5,提供图2所示实施例中步骤S202的流程图,其中,当前网站的标识所对应的当前网站地址为外网地址,步骤202,即接收当前网站的数据、当前网站的网站标识与目标网站的网站标识的步骤可以包括:
S502:接收与经过公网验证成功的外网地址对应的、公网所转发的当前网站的网站数据。
S504:根据当前网站的网站标识,获取与当前网站的网站标识对应的解密逻辑。
上述实施例中,公网直接与外网进行通信且实现对外网进行验证,内网环境下的网站数据处理平台实现对数据的处理,保证信息和网络的安全;且将不同网站对应的解密逻辑预先存储在相应的数据处理配置库中,当需要解密某个网站上的网站数据时,只需直接根据当前网站的网站标识获取网站数据的解密逻辑,减少了代码的开发量,从而增强了适用性。
在其中一个实施例中,可参见图6,提供图2所示实施例中步骤S214的流程图,步骤S214,即将转换字段后的网页数据发送给与目标网站的网站标识对应的目标网站的步骤,可以包括:
S602:根据目标网站标识获取与目标网站的网站标识对应的加密逻辑。
S604:按照加密逻辑加密转换字段后的当前网站数据。
S606:将加密后的当前网站数据通过公网转发至与目标网站标识对应的目标网站中。
上述实施例中,当需要经过转换字段后的当前网站的网站数据发送给目标网站时,只需直接根据目标网站标识获取加密逻辑,且在将网站数据发送给目标网站之前,将网站数据进行加密,保证网站数据传输的安全性;网站数据处理平台通过公网将经过转换字段的当前网站数据发送给目标网站,由公网与外部的目标网站进行数据传输,保证网络的安全性。
在其中一个实施例中,可参见图7,提供一关联步骤的流程图,该关联步骤可在图6所示实施例中步骤S604之后执行,步骤S604,即按照加密逻辑加密转换字段后的当前网站数据的步骤之后执行,该关联步骤可以包括:
S702:根据目标网站标识,获取目标网站的通信方式。
S704:根据目标网站的通信方式,从通信配置库中获取目标网站的通信协议。
上述实施例中,将不同网站对应的通信协议预先存储在相应的通信配置库中,当需要向目标网站发送当前网站数据时,则只需直接根据目标网站的通信方式获取目标网站的通信协议,减少代码的开发量,提高开发效率,节省人力,增强适用性,且由公网与目标网站进行交互,保证网络安全。
在其中一个实施例中,请参见图8,提供一网站数据处理装置的结构示意图,所述网站数据处理装置800包括:接收模块810,用于接收当前网站的数据、当前网站的网站标识与目标网站的网站标识。待转换字段选取模块820,用于从当前网站的数据中选取待转换字段。第一选取模块830,用于从转换逻辑库中选取与当前网站的网站标识对应的转换逻辑。第二选取模块840,用于从与当前网站的网站标识对应的转换逻辑中,选取与目标网站的网站标识对应的转换逻辑。拆分模块850,用于当未从与目标网站的网站标识对应的转换逻辑中选取到与待转换字段对应的转换逻辑时,则将待转换字段进行拆分得到拆分后的字段。转换模块860,用于从与目标网站的网站标识对应的转换逻辑中,选取与拆分后的字段对应的转换逻辑,作为当前网站的待转换字段的转换逻辑,将当前网站的待转换字段进行转换。发送模块870,用于将转换字段后的网站数据发送给与目标网站的网站标识对应的目标网站。
在其中一个实施例中,网站数据处理装置800还可以包括:选取指令接收模块,用于当从与目标网站的网站标识对应的转换逻辑中选取到至少两个转换逻辑与拆分后的待转换字段对应时,则接收待转换字段的转换逻辑的选 取指令。转换逻辑选取模块,用于根据选取指令,选取至少两个转换逻辑中一个与拆分后的待转换字段对应的转换逻辑作为待转换字段对应的转换逻辑。添加模块,用于将选取的与待转换字段对应的转换逻辑添加至转换逻辑库中。
在其中一个实施例中,接收模块810还可以包括:接收单元,用于接收与经过公网验证成功的外网地址对应的、公网所转发的当前网站的网站数据。获取单元,用于根据当前网站的网站标识,获取与当前网站的网站标识对应的解密逻辑。
在其中一个实施例中,发送模块870还可以包括:加密规则获取单元,用于根据目标网站标识获取与所目标网站的网站标识对应的加密逻辑。加密单元,用于按照加密逻辑加密转换字段后的当前网站数据。发送单元,用于将加密后的当前网站数据通过公网转发至与目标网站标识对应的目标网站中。
在其中一个实施例中,发送模块870还可以包括:通信方式获取单元,用于根据目标网站标识,获取目标网站的通信方式。通信协议获取单元,用于根据目标网站的通信方式,从通信配置库中获取目标网站的通信协议。发送单元还可以包括:发送组件,用于将转换字段后的当前网站数据通过公网按照目标网站的通信协议发送至与目标网站标识对应的目标网站中。
上述关于网站数据处理装置的具体限定可以参见上文中关于网站数据处理方法的限定,在此不再赘述。
在其中一个实施例中,请参照图9,提供一执行网站数据处理的网站数据处理平台的结构示意图,该网站数据处理平台可以是常规终端或其他任何合适的计算机设备,包括存储器、处理器、操作***、数据库以及存储在存储器上并可在处理器上运行的网站数据处理程序,其中存储器可以包括内存储器,处理器执行网站数据处理程序时实现以下步骤:接收当前网站的数据、当前网站的网站标识与目标网站的网站标识。从当前网站的数据中选取待转 换字段。从转换逻辑库中选取与当前网站的网站标识对应的转换逻辑。从与当前网站的网站标识对应的转换逻辑中,选取与目标网站的网站标识对应的转换逻辑。当未从与目标网站的网站标识对应的转换逻辑中选取到与待转换字段对应的转换逻辑时,则将待转换字段进行拆分得到拆分后的字段。从与目标网站的网站标识对应的转换逻辑中,选取与拆分后的字段对应的转换逻辑,作为当前网站的待转换字段的转换逻辑,将当前网站的待转换字段进行转换。将转换字段后的网站数据发送给与目标网站的网站标识对应的目标网站。
在其中一个实施例中,处理器执行程序时还实现以下步骤:当从与目标网站的网站标识对应的转换逻辑中选取到至少两个转换逻辑与拆分后的待转换字段对应时,则接收待转换字段的转换逻辑的选取指令。根据选取指令,选取至少两个转换逻辑中一个与拆分后的待转换字段对应的转换逻辑作为待转换字段对应的转换逻辑。将选取的与待转换字段对应的转换逻辑添加至转换逻辑库中。
在其中一个实施例中,处理器执行程序时还实现以下步骤:接收当前网站的数据、当前网站的网站标识与目标网站的网站标识步骤,包括:接收与经过公网验证成功的外网地址对应的、公网所转发的当前网站的网站数据。根据当前网站的网站标识,获取与当前网站的网站标识对应的解密逻辑。
在其中一个实施例中,处理器执行程序时还实现以下步骤:根据目标网站标识获取与所目标网站的网站标识对应的加密逻辑。按照加密逻辑加密转换字段后的当前网站数据。将加密后的当前网站数据通过公网转发至与目标网站标识对应的目标网站中。
在其中一个实施例中,处理器执行程序时还实现以下步骤:根据目标网站标识,获取目标网站的通信方式。根据目标网站的通信方式,从通信配置库中获取目标网站的通信协议。将加密后的当前网站数据通过公网转发至与目标网站标识对应的目标网站中的步骤,包括:将转换字段后的当前网站数 据通过公网按照目标网站的通信协议发送至与目标网站标识对应的目标网站中。
上述关于网站数据处理平台的具体限定可以参见上文中关于网站数据处理方法的限定,在此不再赘述。
在其中一个实施例中,请继续参见图9,提供一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现以下步骤:接收当前网站的数据、当前网站的网站标识与目标网站的网站标识。从当前网站的数据中选取待转换字段。从转换逻辑库中选取与当前网站的网站标识对应的转换逻辑。从与当前网站的网站标识对应的转换逻辑中,选取与目标网站的网站标识对应的转换逻辑。当未从与目标网站的网站标识对应的转换逻辑中选取到与待转换字段对应的转换逻辑时,则将待转换字段进行拆分得到拆分后的字段。从与目标网站的网站标识对应的转换逻辑中,选取与拆分后的字段对应的转换逻辑,作为当前网站的待转换字段的转换逻辑,将当前网站的待转换字段进行转换。将转换字段后的网站数据发送给与目标网站的网站标识对应的目标网站。
在其中一个实施例中,该程序被处理器执行时还可以实现以下步骤:当从与目标网站的网站标识对应的转换逻辑中选取到至少两个转换逻辑与拆分后的待转换字段对应时,则接收待转换字段的转换逻辑的选取指令。根据选取指令,选取至少两个转换逻辑中一个与拆分后的待转换字段对应的转换逻辑作为待转换字段对应的转换逻辑。将选取的与待转换字段对应的转换逻辑添加至转换逻辑库中。
在其中一个实施例中,该程序被处理器执行时还可以实现以下步骤:接收与经过公网验证成功的外网地址对应的、公网所转发的当前网站的网站数据。根据当前网站的网站标识,获取与当前网站的网站标识对应的解密逻辑,当前网站的标识所对应的当前网站地址为外网地址。
在其中一个实施例中,该程序被处理器执行时还可以实现以下步骤:根 据目标网站标识获取与所目标网站的网站标识对应的加密逻辑。按照加密逻辑加密转换字段后的当前网站数据。将加密后的当前网站数据通过公网转发至与目标网站标识对应的目标网站中。
在其中一个实施例中,该程序被处理器执行时还可以实现以下步骤:根据目标网站标识,获取目标网站的通信方式。根据目标网站的通信方式,从通信配置库中获取目标网站的通信协议。将加密后的当前网站数据通过公网转发至与目标网站标识对应的目标网站中的步骤,包括:将转换字段后的当前网站数据通过公网按照目标网站的通信协议发送至与目标网站标识对应的目标网站中。
上述关于存储介质的具体限定可以参见上文中关于网站数据处理方法的限定,在此不再赘述。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,计算机可读取的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。
Claims (20)
- 一种网站数据处理方法,其特征在于,所述方法包括:接收当前网站的数据、当前网站的网站标识与目标网站的网站标识;从所述当前网站的数据中选取待转换字段;从转换逻辑库中选取与所述当前网站的网站标识对应的转换逻辑;从与所述当前网站的网站标识对应的转换逻辑中,选取与所述目标网站的网站标识对应的转换逻辑;当未从与所述目标网站的网站标识对应的转换逻辑中选取到与所述待转换字段对应的转换逻辑时,则将所述待转换字段进行拆分得到拆分后的字段;从与所述目标网站的网站标识对应的转换逻辑中,选取与所述拆分后的字段对应的转换逻辑,作为所述当前网站的待转换字段的转换逻辑,将所述当前网站的待转换字段进行转换;将转换字段后的网站数据发送给与所述目标网站的网站标识对应的目标网站。
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:当从与所述目标网站的网站标识对应的转换逻辑中选取到至少两个转换逻辑与所述拆分后的待转换字段对应时,则接收所述待转换字段的转换逻辑的选取指令;根据所述选取指令,选取所述至少两个转换逻辑中一个与所述拆分后的待转换字段对应的转换逻辑作为所述待转换字段对应的转换逻辑;将选取的与所述待转换字段对应的转换逻辑添加至所述转换逻辑库中。
- 根据权利要求1所述的方法,其特征在于,所述当前网站的标识所对应的当前网站地址为外网地址;所述接收当前网站的数据、当前网站的网站标识与目标网站的网站标识步骤,包括:接收与经过公网验证成功的外网地址对应的、公网所转发的当前网站的网站数据;根据所述当前网站的网站标识,获取与所述当前网站的网站标识对应的解密逻辑。
- 根据权利要求1所述的方法,其特征在于,所述将转换字段后的网页数据发送给与所述目标网站的网站标识对应的目标网站的步骤,包括:根据所述目标网站标识获取与所述所目标网站的网站标识对应的加密逻辑;按 照所述加密逻辑加密转换字段后的当前网站数据;将加密后的当前网站数据通过公网转发至与所述目标网站标识对应的目标网站中。
- 根据权利要求4所述的方法,其特征在于,所述方法还包括:根据所述目标网站标识,获取所述目标网站的通信方式;根据所述目标网站的通信方式,从所述通信配置库中获取所述目标网站的通信协议;所述将加密后的当前网站数据通过公网转发至与所述目标网站标识对应的目标网站中的步骤,包括:将转换字段后的当前网站数据通过公网按照所述目标网站的通信协议发送至与所述目标网站标识对应的目标网站中。
- 一种网站数据处理装置,其特征在于,所述装置包括:接收模块,用于接收当前网站的数据、当前网站的网站标识与目标网站的网站标识;待转换字段选取模块,用于从所述当前网站的数据中选取待转换字段;第一选取模块,用于从转换逻辑库中选取与所述当前网站的网站标识对应的转换逻辑;第二选取模块,用于从与所述当前网站的网站标识对应的转换逻辑中,选取与所述目标网站的网站标识对应的转换逻辑;拆分模块,用于当未从与所述目标网站的网站标识对应的转换逻辑中选取到与所述待转换字段对应的转换逻辑时,则将所述待转换字段进行拆分得到拆分后的字段;转换模块,用于从与所述目标网站的网站标识对应的转换逻辑中,选取与所述拆分后的字段对应的转换逻辑,作为所述当前网站的待转换字段的转换逻辑,将所述当前网站的待转换字段进行转换;发送模块,用于将转换字段后的网站数据发送给与所述目标网站的网站标识对应的目标网站。
- 根据权利要求6所述的装置,其特征在于,所述装置还包括:选取指令接收模块,用于当从与所述目标网站的网站标识对应的转换逻辑中选取到至少两个转换逻辑与所述拆分后的待转换字段对应时,则接收所述待转换字段的转换逻辑的选取指令;转换逻辑选取模块,用于根据所述选取指令,选取所述至少两个转换逻辑中一个与所述拆分后的待转换字段对应的转换逻辑作为所述待转换字段对应的转换逻辑;添加模块,用于将选取的与所述 待转换字段对应的转换逻辑添加至所述转换逻辑库中。
- 根据权利要求6所述的装置,其特征在于,所述接收模块还包括:接收单元,用于接收与经过公网验证成功的外网地址对应的、公网所转发的当前网站的网站数据;获取单元,用于根据所述当前网站的网站标识,获取与所述当前网站的网站标识对应的解密逻辑。
- 根据权利要求6所述的装置,其特征在于,所述发送模块还包括:加密规则获取单元,用于根据目标网站标识获取与所目标网站的网站标识对应的加密逻辑;加密单元,用于按照加密逻辑加密转换字段后的当前网站数据;发送单元,用于将加密后的当前网站数据通过公网转发至与目标网站标识对应的目标网站中。
- 根据权利要求9所述的装置,其特征在于,所述发送模块还包括:通信方式获取单元,用于根据目标网站标识,获取目标网站的通信方式;通信协议获取单元,用于根据目标网站的通信方式,从通信配置库中获取目标网站的通信协议;发送单元还可以包括:发送组件,用于将转换字段后的当前网站数据通过公网按照目标网站的通信协议发送至与目标网站标识对应的目标网站中。
- 一种网站数据处理平台,包括存储器、处理器以及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现以下步骤:接收当前网站的数据、当前网站的网站标识与目标网站的网站标识;从所述当前网站的数据中选取待转换字段;从转换逻辑库中选取与所述当前网站的网站标识对应的转换逻辑;从与所述当前网站的网站标识对应的转换逻辑中,选取与所述目标网站的网站标识对应的转换逻辑;当未从与所述目标网站的网站标识对应的转换逻辑中选取到与所述待转换字段对应的转换逻辑时,则将所述待转换字段进行拆分得到拆分后的字段;从与所述目标网站的网站标识对应的转换逻辑中,选取与所述拆分后的字段对应的转换逻辑,作为所述当前网站的待转换字段的转换逻辑,将所述当前网站 的待转换字段进行转换;将转换字段后的网站数据发送给与所述目标网站的网站标识对应的目标网站。
- 根据权利要求11所述的网站数据处理平台,其特征在于,所述处理器执行所述程序时还实现以下步骤:当从与所述目标网站的网站标识对应的转换逻辑中选取到至少两个转换逻辑与所述拆分后的待转换字段对应时,则接收所述待转换字段的转换逻辑的选取指令;根据所述选取指令,选取所述至少两个转换逻辑中一个与所述拆分后的待转换字段对应的转换逻辑作为所述待转换字段对应的转换逻辑;将选取的与所述待转换字段对应的转换逻辑添加至所述转换逻辑库中。
- 根据权利要求11所述的网站数据处理平台,其特征在于,所述当前网站的标识所对应的当前网站地址为外网地址;所述接收当前网站的数据、当前网站的网站标识与目标网站的网站标识步骤,包括:接收与经过公网验证成功的外网地址对应的、公网所转发的当前网站的网站数据;根据所述当前网站的网站标识,获取与所述当前网站的网站标识对应的解密逻辑。
- 根据权利要求11所述的网站数据处理平台,其特征在于,所述将转换字段后的网页数据发送给与所述目标网站的网站标识对应的目标网站的步骤,包括:根据所述目标网站标识获取与所述所目标网站的网站标识对应的加密逻辑;按照所述加密逻辑加密转换字段后的当前网站数据;将加密后的当前网站数据通过公网转发至与所述目标网站标识对应的目标网站中。
- 根据权利要求14所述的网站数据处理平台,其特征在于,所述处理器执行所述程序时还实现以下步骤:根据所述目标网站标识,获取所述目标网站的通信方式;根据所述目标网站的通信方式,从所述通信配置库中获取所述目标网站的通信协议;所述将加密后的当前网站数据通过公网转发至与所述目标网站标识对应的目标网站中的步骤,包括:将转换字段后的当前网站数据通过公网按照所述目标网站的通信协议发送至与所述目标网站标识对应的目标网站中。
- 一种存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现以下步骤:接收当前网站的数据、当前网站的网站标识与目标网站的网站标识;从所述当前网站的数据中选取待转换字段;从转换逻辑库中选取与所述当前网站的网站标识对应的转换逻辑;从与所述当前网站的网站标识对应的转换逻辑中,选取与所述目标网站的网站标识对应的转换逻辑;当未从与所述目标网站的网站标识对应的转换逻辑中选取到与所述待转换字段对应的转换逻辑时,则将所述待转换字段进行拆分得到拆分后的字段;从与所述目标网站的网站标识对应的转换逻辑中,选取与所述拆分后的字段对应的转换逻辑,作为所述当前网站的待转换字段的转换逻辑,将所述当前网站的待转换字段进行转换;将转换字段后的网站数据发送给与所述目标网站的网站标识对应的目标网站。
- 根据权利要求16所述的存储介质,其特征在于,该程序被处理器执行时还实现以下步骤:当从与所述目标网站的网站标识对应的转换逻辑中选取到至少两个转换逻辑与所述拆分后的待转换字段对应时,则接收所述待转换字段的转换逻辑的选取指令;根据所述选取指令,选取所述至少两个转换逻辑中一个与所述拆分后的待转换字段对应的转换逻辑作为所述待转换字段对应的转换逻辑;将选取的与所述待转换字段对应的转换逻辑添加至所述转换逻辑库中。
- 根据权利要求16所述的存储介质,其特征在于,所述当前网站的标识所对应的当前网站地址为外网地址;所述接收当前网站的数据、当前网站的网站标识与目标网站的网站标识步骤,包括:接收与经过公网验证成功的外网地址对应的、公网所转发的当前网站的网站数据;根据所述当前网站的网站标识,获取与所述当前网站的网站标识对应的解密逻辑。
- 根据权利要求16所述的存储介质,其特征在于,所述将转换字段后的网页数据发送给与所述目标网站的网站标识对应的目标网站的步骤,包括:根据所述目标网站标识获取与所述所目标网站的网站标识对应的加密逻 辑;按照所述加密逻辑加密转换字段后的当前网站数据;将加密后的当前网站数据通过公网转发至与所述目标网站标识对应的目标网站中。
- 根据权利要求19所述的存储介质,其特征在于,该程序被处理器执行时实现以下步骤:根据所述目标网站标识,获取所述目标网站的通信方式;根据所述目标网站的通信方式,从所述通信配置库中获取所述目标网站的通信协议;所述将加密后的当前网站数据通过公网转发至与所述目标网站标识对应的目标网站中的步骤,包括:将转换字段后的当前网站数据通过公网按照所述目标网站的通信协议发送至与所述目标网站标识对应的目标网站中。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710626316.5A CN107729345B (zh) | 2017-07-27 | 2017-07-27 | 网站数据处理方法、装置、网站数据处理平台及存储介质 |
CN201710626316.5 | 2017-07-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019019650A1 true WO2019019650A1 (zh) | 2019-01-31 |
Family
ID=61201125
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/078324 WO2019019650A1 (zh) | 2017-07-27 | 2018-03-07 | 网站数据处理方法、装置、网站数据处理平台及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107729345B (zh) |
WO (1) | WO2019019650A1 (zh) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107729345B (zh) * | 2017-07-27 | 2020-08-18 | 深圳壹账通智能科技有限公司 | 网站数据处理方法、装置、网站数据处理平台及存储介质 |
CN108647279A (zh) * | 2018-05-03 | 2018-10-12 | 山东浪潮通软信息科技有限公司 | 基于字段复用的表单处理方法、装置、介质及存储控制器 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722589A (zh) * | 2012-06-15 | 2012-10-10 | 青岛海信传媒网络技术有限公司 | 基于三网融合的数据查询方法及*** |
CN104717178A (zh) * | 2013-12-13 | 2015-06-17 | ***通信集团河南有限公司 | 一种信源数据的调用方法及装置 |
CN105471968A (zh) * | 2015-11-17 | 2016-04-06 | 北京皮尔布莱尼软件有限公司 | 一种数据交换方法、***以及数据平台服务器 |
CN105989179A (zh) * | 2015-03-06 | 2016-10-05 | 北京邮电大学 | 金融数据处理方法及*** |
CN107729345A (zh) * | 2017-07-27 | 2018-02-23 | 上海壹账通金融科技有限公司 | 网站数据处理方法、装置、网站数据处理平台及存储介质 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100403306C (zh) * | 2005-03-11 | 2008-07-16 | 谢永强 | 实现不同平台间信息网站移植的方法 |
CN104079572B (zh) * | 2014-06-27 | 2017-07-11 | 南京铱迅信息技术股份有限公司 | 一种基于从客户端到服务器端字符转换的网站防护方法 |
-
2017
- 2017-07-27 CN CN201710626316.5A patent/CN107729345B/zh active Active
-
2018
- 2018-03-07 WO PCT/CN2018/078324 patent/WO2019019650A1/zh active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102722589A (zh) * | 2012-06-15 | 2012-10-10 | 青岛海信传媒网络技术有限公司 | 基于三网融合的数据查询方法及*** |
CN104717178A (zh) * | 2013-12-13 | 2015-06-17 | ***通信集团河南有限公司 | 一种信源数据的调用方法及装置 |
CN105989179A (zh) * | 2015-03-06 | 2016-10-05 | 北京邮电大学 | 金融数据处理方法及*** |
CN105471968A (zh) * | 2015-11-17 | 2016-04-06 | 北京皮尔布莱尼软件有限公司 | 一种数据交换方法、***以及数据平台服务器 |
CN107729345A (zh) * | 2017-07-27 | 2018-02-23 | 上海壹账通金融科技有限公司 | 网站数据处理方法、装置、网站数据处理平台及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN107729345A (zh) | 2018-02-23 |
CN107729345B (zh) | 2020-08-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11665147B2 (en) | Blockchain systems and methods for user authentication | |
US11477180B2 (en) | Differential client-side encryption of information originating from a client | |
US20210232974A1 (en) | Federated-learning based method of acquiring model parameters, system and readable storage medium | |
WO2019085449A1 (zh) | 业务短信推送方法、装置、计算机设备和存储介质 | |
CN107908632B (zh) | 网站文件处理方法、装置、网站文件处理平台及存储介质 | |
WO2018177206A1 (zh) | 信息加密方法和装置 | |
US11924270B2 (en) | Method and system for transferring data | |
US10733178B2 (en) | Electronic document workflow | |
CN114500093B (zh) | 报文信息的安全交互方法及*** | |
WO2023071133A1 (zh) | 标签化网络信息服务生成及应用方法、装置、设备、介质 | |
WO2019019650A1 (zh) | 网站数据处理方法、装置、网站数据处理平台及存储介质 | |
EP3009978A1 (en) | An aggregator system having a platform for engaging mobile device users | |
US8769290B1 (en) | Providing confidential structured data | |
WO2021031429A1 (zh) | 一种区块链的账户地址生成方法、***、装置及计算机可读存储介质 | |
CN115599959A (zh) | 数据共享方法、装置、设备及存储介质 | |
US20170373842A1 (en) | System and Method for Authenticating Public Artworks and Providing Associated Information | |
US20240089105A1 (en) | Systems and methods for user control and exclusion of cryptographic tokenized data | |
US20240086549A1 (en) | Systems and methods for user characteristic determination through cryptographic tokenized data | |
CN115222525A (zh) | 一种数字货币的导出方法、装置及*** | |
WO2016025222A1 (en) | An aggregator system having a platform for engaging mobile device users |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29/05/2020) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18839168 Country of ref document: EP Kind code of ref document: A1 |