Business processing method, business terminal, user terminal and system based on blockchain
By obtaining address mapping information in the blockchain, the problem of accuracy and slow speed in determining user-end location information is solved, and the accuracy and efficiency of business processing are improved.
Patent Information
- Application Number
- CN202211141468.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-20
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, the determination accuracy of the client's location information is low and the speed is slow, which leads to the low accuracy and speed of business processing and affects the business processing efficiency.
By obtaining the address mapping information in the blockchain, and based on the business frame identification and current source address, the real source address and target location information are obtained, so as to conduct accurate business processing.
It improves the accuracy and speed of client location information, improves the accuracy and speed of business processing, and thus improves business processing efficiency.
Smart Images

Figure CN115550307B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of address resolution technology, in particular to the field of blockchain, and more particularly to a business processing method, business terminal, user terminal and system based on blockchain. Background Art
[0002] In banking-related business processing, it is often necessary to use the territorial information of the user terminal of the business processing requester as a basis, and perform corresponding business processing by calling services or applications corresponding to the area where the territorial information is located, so that the business processing process complies with the relevant regulations, processes and customs of the area where the user terminal belongs, thereby improving the efficiency of business processing and satisfying the user experience.
[0003] In the prior art, the method for determining the location information of the user terminal is mainly to directly perform relevant queries or calculations based on the current source address used by the user terminal for access. However, many users, due to their work needs, life needs or academic needs, will process the real address of their user terminal, such as address mapping, and use the mapped address as the access source address for related network or communication activities. The location information corresponding to the mapped address is often different from the location information corresponding to the real address of the user terminal, resulting in the determined location information not being consistent with the actual situation, the accuracy of determining the location information of the user terminal is low, and the query or calculation requires more computing resources, which will also make the speed of determining the location information of the user terminal slow, which will lead to errors or inconveniences in business processing.
[0004] Among them, some business terminals will also judge whether the source address accessed by the user terminal is its real source address when facing this situation. The existing judgment method is mainly to judge by analyzing the address and other relevant information of the network neighbor device in the local area network where the user terminal is located or in the nearby network. However, it is difficult to obtain the relevant information of the network neighbor device and the acquisition speed is slow. Moreover, relative to the user terminal, it may not have a corresponding network neighbor device, which may make the above judgment method impossible. Therefore, even if the above method is used to judge the current source address accessed by the user terminal, it cannot effectively improve the accuracy and speed of determining the user terminal's location information.
[0005] In summary, the prior art has the problem that the accuracy and speed of determining the location information of the user terminal are low, which results in low accuracy and slow speed of business processing, and is not conducive to improving the efficiency of business processing. Summary of the invention
[0006] One object of the present invention is to provide a business processing method based on blockchain to solve the problem that the accuracy and speed of determining the user terminal's territorial information in the prior art are low, which makes the business processing accuracy low and the speed slow, which is not conducive to improving the business processing efficiency. Another object of the present invention is to provide a business terminal. Another object of the present invention is to provide a user terminal. Another object of the present invention is to provide a business processing system based on blockchain. Another object of the present invention is to provide a computer device. Another object of the present invention is to provide a readable medium. Another object of the present invention is to provide a computer program product.
[0007] In order to achieve the above objectives, one aspect of the present invention discloses a business processing method based on blockchain, the method comprising:
[0008] According to the service frame sent by the user end, a service frame identifier and a current source address are obtained, and corresponding address mapping information is obtained from the blockchain based on the service frame identifier and the current source address;
[0009] If the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the target location information of the user end is obtained from the blockchain based on the real source address, and the corresponding service processing is performed according to the target location information and the service frame;
[0010] If the corresponding address mapping information fails to be obtained, the target location information of the user end is obtained from the blockchain based on the current source address, and corresponding business processing is performed according to the target location information and the business frame.
[0011] Optionally, the acquiring corresponding address mapping information from the blockchain based on the service frame identifier and the current source address includes:
[0012] Based on the service frame identifier, obtain one or more corresponding candidate mapping information from the blockchain;
[0013] The candidate mapping information corresponding to the current source address is obtained from all the candidate mapping information as the address mapping information.
[0014] Optionally, further including:
[0015] After successfully obtaining the corresponding address mapping information,
[0016] According to the current source address, determine the corresponding address conversion device information in the blockchain;
[0017] According to the address translation device information, a corresponding address translation device type is obtained;
[0018] It is determined whether the address conversion device type is included in the preset expected conversion device type, and if not, an alarm is issued.
[0019] Optionally, determining the corresponding address conversion device information in the blockchain according to the current source address includes:
[0020] According to the current source address, determine the corresponding conversion end node in the blockchain;
[0021] Based on the conversion end node, the corresponding address conversion device information is obtained.
[0022] Optionally, obtaining the target location information of the user terminal from the blockchain based on the real source address includes:
[0023] Based on the real source address, determine the corresponding user end node in the blockchain;
[0024] Based on the user terminal node, the corresponding target location information is obtained.
[0025] Optionally, obtaining the target location information of the user terminal from the blockchain based on the current source address includes:
[0026] Based on the current source address, determine the corresponding user end node in the blockchain;
[0027] Based on the user terminal node, the corresponding target location information is obtained.
[0028] Optionally, performing corresponding service processing according to the target location information and the service frame includes:
[0029] Determine a plurality of corresponding business processing services to be selected according to the target location information;
[0030] According to the service frame, obtaining service type and service input information;
[0031] A target business processing service corresponding to the business type is determined from a plurality of to-be-selected business processing services, and the business input information is input into the target business processing service for corresponding business processing.
[0032] In order to achieve the above objectives, another aspect of the present invention discloses a business processing method based on blockchain, comprising:
[0033] A service frame is sent to the service end, so that the service end obtains the service frame identifier and the current source address according to the service frame, and obtains the corresponding address mapping information from the blockchain based on the service frame identifier and the current source address; if the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the corresponding target location information is obtained from the blockchain based on the real source address, and the corresponding service processing is performed according to the target location information and the service frame; if the corresponding address mapping information fails to be obtained, the corresponding target location information is obtained from the blockchain based on the current source address, and the corresponding service processing is performed according to the target location information and the service frame.
[0034] Optionally, further including:
[0035] Before sending a service frame to the service end,
[0036] If address mapping is performed, mapping relationship information is formed based on the real source address and the mapped current source address;
[0037] Based on the mapping relationship information and the corresponding service frame identifier, the address mapping information is formed and sent to the blockchain.
[0038] Optionally, further including:
[0039] Before sending a service frame to the service end,
[0040] The real source address and the corresponding target location information are sent to the corresponding user end node in the blockchain, so that the business end can determine the user end node in the blockchain based on the real source address, and obtain the corresponding target location information based on the user end node.
[0041] In order to achieve the above objectives, another aspect of the present invention discloses a service end, comprising:
[0042] A mapping information acquisition module, used to obtain a service frame identifier and a current source address according to a service frame sent by a user terminal, and obtain corresponding address mapping information from the blockchain based on the service frame identifier and the current source address;
[0043] A first processing module is used to obtain the real source address corresponding to the current source address according to the address mapping information if the corresponding address mapping information is successfully obtained, and obtain the target location information of the user end from the blockchain based on the real source address, and perform corresponding business processing according to the target location information and the business frame;
[0044] The second processing module is used to obtain the target location information of the user end from the blockchain based on the current source address if the corresponding address mapping information fails to be obtained, and perform corresponding business processing according to the target location information and the business frame.
[0045] In order to achieve the above objectives, the present invention also discloses a user terminal for:
[0046] A service frame is sent to the service end, so that the service end obtains the service frame identifier and the current source address according to the service frame, and obtains the corresponding address mapping information from the blockchain based on the service frame identifier and the current source address; if the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the corresponding target location information is obtained from the blockchain based on the real source address, and the corresponding service processing is performed according to the target location information and the service frame; if the corresponding address mapping information fails to be obtained, the corresponding target location information is obtained from the blockchain based on the current source address, and the corresponding service processing is performed according to the target location information and the service frame.
[0047] In order to achieve the above objectives, another aspect of the present invention discloses a business processing system based on blockchain, including a business end and a user end;
[0048] Wherein, the user end is used to send a service frame to the service end;
[0049] The service end is used to obtain a service frame identifier and a current source address according to the service frame, and obtain corresponding address mapping information from the blockchain based on the service frame identifier and the current source address; if the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the target location information of the user end is obtained from the blockchain based on the real source address, and corresponding service processing is performed according to the target location information and the service frame; if the corresponding address mapping information is failed to be obtained, the target location information of the user end is obtained from the blockchain based on the current source address, and corresponding service processing is performed according to the target location information and the service frame.
[0050] The present invention also discloses a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the method described above is implemented when the processor executes the program.
[0051] The present invention also discloses a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the method described above is implemented.
[0052] The present invention also discloses a computer program product, which includes a computer program. When the computer program is executed by a processor, the method described above is implemented.
[0053] The blockchain-based business processing method, business terminal, user terminal and system provided by the present invention can obtain the business frame identifier and the current source address according to the business frame sent by the user terminal, and obtain the corresponding address mapping information from the blockchain based on the business frame identifier and the current source address, so that the business frame can be fully parsed to obtain the actual identifier and the current source address included therein, and the address mapping information pre-registered in the blockchain can be comprehensively located based on the two aspects of information, the identifier and the source address, thereby improving the accuracy of locating the address mapping information, and the above steps are relatively simple, which improves the speed of locating the address mapping information, and when performing address mapping, the relevant mapping information can be used to locate the address mapping information. Information registration on the chain can make full use of the advantages of blockchain being suitable for storing relevant information and the stored information being difficult to be tampered with, and provides a feasible, convenient and accurate way to accurately determine whether the source address accessed by the user end is its real source address and to subsequently trace the real source address. Thus, the above steps improve the overall accuracy and speed of determining the user end's location information; if the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the target location information of the user end is obtained from the blockchain based on the real source address, and the corresponding business processing is performed according to the target location information and the business frame. When the pre-registered address mapping information is obtained, it can be quickly and accurately determined that the source address accessed by the user end is not its real source address, and the real source address of the user end can be obtained by simply processing the actually registered address mapping information as input, thereby improving the accuracy and speed of judging whether the source address accessed by the user end is its real source address and obtaining the real source address, and based on the real source address, the corresponding, pre-registered user end location information can be directly obtained from the blockchain without spending a long time on querying or calculating, thereby improving the accuracy and speed of determining the user end location information as a whole; by obtaining the corresponding address mapping information If the information fails, the target location information of the user terminal is obtained from the blockchain based on the current source address, and the corresponding business processing is performed according to the target location information and the business frame. When the pre-registered address mapping information cannot be obtained, the source address accessed by the user terminal can be quickly and accurately determined as its real source address, which improves the accuracy and speed of judging whether the source address accessed by the user terminal is its real source address, and the corresponding, pre-registered location information of the user terminal can be directly obtained from the blockchain based on the source address accessed by the user terminal without consuming a long time for query or calculation, thereby improving the accuracy and speed of determining the overall location information of the user terminal. In summary, the business processing method, business terminal, user terminal and system based on blockchain provided by the present invention can improve the accuracy and speed of determining the location information of the user terminal, thereby improving the accuracy and speed of business processing, and further improving the efficiency of business processing. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0055] Figure 1 A schematic diagram of a blockchain-based business processing system according to an embodiment of the present invention is shown;
[0056] Figure 2 A schematic diagram of a process flow of a blockchain-based business processing method at a business end according to an embodiment of the present invention is shown;
[0057] Figure 3 A schematic diagram showing an optional step of obtaining address mapping information according to an embodiment of the present invention is shown;
[0058] Figure 4 A schematic diagram showing an optional step of obtaining target location information according to an embodiment of the present invention is shown;
[0059] Figure 5 A schematic diagram showing a process flow of a blockchain-based business processing method at a user end according to an embodiment of the present invention is shown;
[0060] Figure 6 A schematic diagram of a module of a service end according to an embodiment of the present invention is shown;
[0061] Figure 7 A schematic diagram of a user terminal according to an embodiment of the present invention is shown;
[0062] Figure 8 A schematic diagram showing the structure of a computer device suitable for implementing an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0063] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0064] The terms “first”, “second”, etc. used in this document do not particularly refer to an order or sequence, nor are they used to limit the present invention. They are only used to distinguish elements or operations described with the same technical terms.
[0065] The words “include,” “including,” “have,” “contain,” etc. used in this document are open-ended terms, meaning including but not limited to.
[0066] As used herein, "and / or" includes any or all combinations of the items described.
[0067] It should be noted that the acquisition, storage, use, and processing of data in the technical solution of the present invention are in compliance with the relevant provisions of national laws and regulations.
[0068] It should be noted that the business processing method, business terminal, user terminal and system based on blockchain disclosed in this application can be used in the field of address resolution technology, and can also be used in any field outside the field of address resolution technology. The application field of the business processing method, business terminal, user terminal and system based on blockchain disclosed in this application is not limited.
[0069] The embodiment of the present invention discloses a business processing system based on blockchain, such as Figure 1 As shown, the system includes a service end 101 and a user end 102;
[0070] Wherein, the user end 102 is used to send a service frame to the service end 101;
[0071] The business terminal 101 is used to obtain a business frame identifier and a current source address according to the business frame, and obtain corresponding address mapping information from the blockchain based on the business frame identifier and the current source address; if the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the target location information of the user terminal 102 is obtained from the blockchain based on the real source address, and corresponding business processing is performed according to the target location information and the business frame; if the corresponding address mapping information fails to be obtained, the target location information of the user terminal 102 is obtained from the blockchain based on the current source address, and corresponding business processing is performed according to the target location information and the business frame.
[0072] Exemplarily, the service end 101 and the user end 102 may be integrated or separately configured. The service end 101 may be, but not limited to, a server or terminal for service processing, and the user end 102 may be, but not limited to, a user terminal. It should be noted that the specific properties and configuration of the service end 101 and the user end 102 may be determined by those skilled in the art according to actual conditions, and the above description is only for example and does not constitute a limitation thereto.
[0073] The blockchain-based business processing method, business terminal, user terminal and system provided by the present invention can obtain the business frame identifier and the current source address according to the business frame sent by the user terminal, and obtain the corresponding address mapping information from the blockchain based on the business frame identifier and the current source address, so that the business frame can be fully parsed to obtain the actual identifier and the current source address included therein, and the address mapping information pre-registered in the blockchain can be comprehensively located based on the two aspects of information, the identifier and the source address, thereby improving the accuracy of locating the address mapping information, and the above steps are relatively simple, which improves the speed of locating the address mapping information, and when performing address mapping, the relevant mapping information can be used to locate the address mapping information. Information registration on the chain can make full use of the advantages of blockchain being suitable for storing relevant information and the stored information being difficult to be tampered with, and provides a feasible, convenient and accurate way to accurately determine whether the source address accessed by the user end is its real source address and to subsequently trace the real source address. Thus, the above steps improve the overall accuracy and speed of determining the user end's location information; if the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the target location information of the user end is obtained from the blockchain based on the real source address, and the corresponding business processing is performed according to the target location information and the business frame. When the pre-registered address mapping information is obtained, it can be quickly and accurately determined that the source address accessed by the user end is not its real source address, and the real source address of the user end can be obtained by simply processing the actually registered address mapping information as input, thereby improving the accuracy and speed of judging whether the source address accessed by the user end is its real source address and obtaining the real source address, and based on the real source address, the corresponding, pre-registered user end location information can be directly obtained from the blockchain without spending a long time on querying or calculating, thereby improving the accuracy and speed of determining the user end location information as a whole; by obtaining the corresponding address mapping information If the information fails, the target location information of the user terminal is obtained from the blockchain based on the current source address, and the corresponding business processing is performed according to the target location information and the business frame. When the pre-registered address mapping information cannot be obtained, the source address accessed by the user terminal can be quickly and accurately determined as its real source address, which improves the accuracy and speed of judging whether the source address accessed by the user terminal is its real source address, and the corresponding, pre-registered location information of the user terminal can be directly obtained from the blockchain based on the source address accessed by the user terminal without consuming a long time for query or calculation, thereby improving the accuracy and speed of determining the overall location information of the user terminal. In summary, the business processing method, business terminal, user terminal and system based on blockchain provided by the present invention can improve the accuracy and speed of determining the location information of the user terminal, thereby improving the accuracy and speed of business processing, and further improving the efficiency of business processing.
[0074] The following takes the service terminal 101 as an example to illustrate the implementation process of the blockchain-based service processing method provided by the embodiment of the present invention. It is understandable that the execution subject of the blockchain-based service processing method provided by the embodiment of the present invention includes but is not limited to the service terminal 101.
[0075] Based on this, the embodiment of the present invention discloses a business processing method based on blockchain, such as Figure 2 As shown, the method specifically comprises the following steps:
[0076] S201: Obtain a service frame identifier and a current source address according to the service frame sent by the user terminal, and obtain corresponding address mapping information from the blockchain based on the service frame identifier and the current source address.
[0077] If the corresponding address mapping information is obtained successfully, execute step S202.
[0078] S202: According to the address mapping information, the real source address corresponding to the current source address is obtained, and based on the real source address, the target location information of the user end is obtained from the blockchain, and corresponding business processing is performed according to the target location information and the business frame.
[0079] If the acquisition of the corresponding address mapping information fails, execute step S203.
[0080] S203: Obtain the target location information of the user terminal from the blockchain based on the current source address, and perform corresponding business processing according to the target location information and the business frame.
[0081] Exemplarily, the address mapping may also be understood as address conversion or address translation, etc.
[0082] For example, the territorial information in the embodiment of the present invention includes but is not limited to the region (the granularity may be but is not limited to the province, city, district, county, town, township or street, etc.), longitude and latitude, and specific geographical location, etc. It should be noted that the specific content of the territorial information can be determined by those skilled in the art according to actual conditions, and the above description is only an example and does not constitute a limitation thereto.
[0083] Illustratively, the address in the embodiment of the present invention includes but is not limited to IP and port, etc.
[0084] Exemplarily, the business frame identifier and the current source address are obtained according to the business frame sent by the user terminal, which may be, but is not limited to, parsing the business frame to obtain the business frame identifier and the current source address included or corresponding to the business frame. The type of the business frame may be, but is not limited to, an IP frame, an Ethernet frame, a TCP frame or a UDP frame, etc., preferably an IP frame. The business frame identifier may be, but is not limited to, a frame identifier, a frame identifier, a checksum or a check sequence, etc., preferably a frame identifier. It should be noted that the specific implementation method for obtaining the business frame identifier and the current source address according to the business frame sent by the user terminal, the type of the business frame and the nature of the business frame identifier can be determined by those skilled in the art according to actual conditions, and the above description is only for example and does not constitute a limitation thereto.
[0085] Exemplarily, obtaining the real source address corresponding to the current source address based on the address mapping information may be, but is not limited to, parsing the address mapping information to obtain the real source address. It should be noted that the specific implementation method for obtaining the real source address corresponding to the current source address based on the address mapping information may be determined by a person skilled in the art based on actual conditions. The above description is for example only and does not constitute a limitation thereto.
[0086] The blockchain-based business processing method, business terminal, user terminal and system provided by the present invention can obtain the business frame identifier and the current source address according to the business frame sent by the user terminal, and obtain the corresponding address mapping information from the blockchain based on the business frame identifier and the current source address, so that the business frame can be fully parsed to obtain the actual identifier and the current source address included therein, and the address mapping information pre-registered in the blockchain can be comprehensively located based on the two aspects of information, the identifier and the source address, thereby improving the accuracy of locating the address mapping information, and the above steps are relatively simple, which improves the speed of locating the address mapping information, and when performing address mapping, the relevant mapping information can be used to locate the address mapping information. Information registration on the chain can make full use of the advantages of blockchain being suitable for storing relevant information and the stored information being difficult to be tampered with, and provides a feasible, convenient and accurate way to accurately determine whether the source address accessed by the user end is its real source address and to subsequently trace the real source address. Thus, the above steps improve the overall accuracy and speed of determining the user end's location information; if the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the target location information of the user end is obtained from the blockchain based on the real source address, and the corresponding business processing is performed according to the target location information and the business frame. When the pre-registered address mapping information is obtained, it can be quickly and accurately determined that the source address accessed by the user end is not its real source address, and the real source address of the user end can be obtained by simply processing the actually registered address mapping information as input, thereby improving the accuracy and speed of judging whether the source address accessed by the user end is its real source address and obtaining the real source address, and based on the real source address, the corresponding, pre-registered user end location information can be directly obtained from the blockchain without spending a long time on querying or calculating, thereby improving the accuracy and speed of determining the user end location information as a whole; by obtaining the corresponding address mapping information If the information fails, the target location information of the user terminal is obtained from the blockchain based on the current source address, and the corresponding business processing is performed according to the target location information and the business frame. When the pre-registered address mapping information cannot be obtained, the source address accessed by the user terminal can be quickly and accurately determined as its real source address, which improves the accuracy and speed of judging whether the source address accessed by the user terminal is its real source address, and the corresponding, pre-registered location information of the user terminal can be directly obtained from the blockchain based on the source address accessed by the user terminal without consuming a long time for query or calculation, thereby improving the accuracy and speed of determining the overall location information of the user terminal. In summary, the business processing method, business terminal, user terminal and system based on blockchain provided by the present invention can improve the accuracy and speed of determining the location information of the user terminal, thereby improving the accuracy and speed of business processing, and further improving the efficiency of business processing.
[0087] In an optional embodiment, if Figure 3 As shown, the corresponding address mapping information is obtained from the blockchain based on the service frame identifier and the current source address, including the following steps:
[0088] S301: Based on the business frame identifier, obtain one or more corresponding candidate mapping information from the blockchain.
[0089] S302: Acquire the candidate mapping information corresponding to the current source address from all the candidate mapping information as the address mapping information.
[0090] Exemplarily, the step S301 may be, but is not limited to, using the business frame identifier to query in the blockchain to obtain one or more corresponding candidate mapping information. Generally, a business frame identifier corresponds to only one mapping information, but in a few cases it may also correspond to multiple mapping information. It should be noted that the specific implementation of step S301 can be determined by those skilled in the art according to actual conditions, and the above description is only for example and does not constitute a limitation thereto.
[0091] Exemplarily, the step S302 may be, but is not limited to, obtaining the candidate mapping information including the current source address as the address mapping information. It should be noted that the specific implementation of step S302 can be determined by those skilled in the art according to actual conditions, and the above description is only for example and does not constitute a limitation thereto.
[0092] Through the above steps, the service frame identifier and the current source address can be used for multiple positioning to improve the accuracy of obtaining address mapping information. In addition, when one service frame identifier corresponds to multiple mapping information, it is also beneficial to make the obtained address mapping information unique, thereby improving the overall accuracy of determining the user-side location information.
[0093] In an optional embodiment, it further comprises:
[0094] After successfully obtaining the corresponding address mapping information,
[0095] According to the current source address, determine the corresponding address conversion device information in the blockchain;
[0096] According to the address translation device information, a corresponding address translation device type is obtained;
[0097] It is determined whether the address conversion device type is included in the preset expected conversion device type, and if not, an alarm is issued.
[0098] Exemplarily, the determination of the corresponding address conversion device information in the blockchain according to the current source address may be, but is not limited to, using the current source address to query in the blockchain to determine the corresponding address conversion device information. The address conversion device information may be, but is not limited to, uploaded to the blockchain by the address conversion device that performs address mapping, specifically including but not limited to device identification, address conversion device type, device address, device node information, and device service provider information. It should be noted that the specific implementation method for determining the corresponding address conversion device information in the blockchain according to the current source address and the specific content of the address conversion device information can be determined by those skilled in the art according to actual conditions, and the above description is only an example and does not constitute a limitation to this.
[0099] Exemplarily, since the address conversion device information includes the address conversion device type, the corresponding address conversion device type can be obtained directly according to the address conversion device information.
[0100] Exemplarily, the expected conversion device type includes but is not limited to routers, switches or terminals, etc., which are the types of devices mainly used when reasonably mapping addresses, but generally do not include servers (because some unexpected manufacturers often use servers for remote address mapping, and these manufacturers are very likely to use the opportunity of address mapping to make unexpected access to some business terminals, which is not conducive to the security of business processing). It should be noted that the expected conversion device type can be determined by those skilled in the art according to actual conditions, and the above description is only an example and does not constitute a limitation to this.
[0101] For example, the alarm may include, but is not limited to, sending an alarm message to the staff such as "unexpected access may cause security issues, please handle it in time". It should be noted that the specific implementation method of the alarm can be determined by those skilled in the art according to actual conditions, and the above description is only an example and does not constitute a limitation thereto.
[0102] Through the above steps, it is possible to fully consider the rule that some unexpected address mapping operations need to be implemented using unexpected types of devices, so that when the current source address is the mapped address, it is possible to accurately judge whether the user-side business access may cause unexpected access, and to issue an alarm in time when unexpected access may occur, so as to facilitate the timely blocking or processing of unexpected access, thereby helping to improve the security of overall business processing.
[0103] In an optional implementation, determining the corresponding address conversion device information in the blockchain according to the current source address includes:
[0104] According to the current source address, determine the corresponding conversion end node in the blockchain;
[0105] Based on the conversion end node, the corresponding address conversion device information is obtained.
[0106] Exemplarily, the determination of the corresponding conversion end node in the blockchain according to the current source address may be, but is not limited to, using the current source address to query in the blockchain to determine the conversion end node including or corresponding to the current source address. It should be noted that the specific implementation of determining the corresponding conversion end node in the blockchain according to the current source address can be determined by those skilled in the art according to actual conditions, and the above description is only for example and does not constitute a limitation thereto.
[0107] Exemplarily, the corresponding address conversion device information is obtained based on the conversion end node, which may be, but is not limited to, parsing the conversion end node to obtain the address conversion device information included therein. It should be noted that the specific implementation method for obtaining the corresponding address conversion device information based on the conversion end node can be determined by those skilled in the art according to actual conditions, and the above description is only for example and does not constitute a limitation thereto.
[0108] Through the above steps, it is possible to fully consider the rule that detailed information of the device or terminal is often recorded in the blockchain node corresponding to the device or terminal, locate and parse the node to obtain the corresponding address conversion device information without traversing and searching all the information in the blockchain, thereby reducing the amount of data required to traverse in the process of obtaining the address conversion device information and thus reducing the time consumption, and improving the speed and accuracy of obtaining the address conversion device information, thereby improving the response speed and accuracy of alarms and interception of unexpected access, which is beneficial to improving the security of overall business processing.
[0109] In an optional embodiment, if Figure 4 As shown, the step of obtaining the target location information of the user terminal from the blockchain based on the real source address includes the following steps:
[0110] S401: Based on the real source address, determine the corresponding user end node in the blockchain.
[0111] S402: Based on the user terminal node, obtain the corresponding target location information.
[0112] Exemplarily, the step S401 may be not limited to using the real source address to query in the blockchain to determine the user end node including or corresponding to the real source address. It should be noted that the specific implementation of step S401 can be determined by those skilled in the art according to actual conditions, and the above description is only an example and does not constitute a limitation thereto.
[0113] Exemplarily, the step S402 may be, but is not limited to, parsing the user terminal node to obtain the target location information included therein. It should be noted that the specific implementation of step S402 can be determined by those skilled in the art according to actual conditions, and the above description is only an example and does not constitute a limitation thereto.
[0114] Through the above steps, it is possible to fully consider the rules that detailed information is often recorded in the blockchain node corresponding to the device or terminal, locate and analyze the node to obtain the corresponding target location information without traversing and searching all the information in the blockchain, thereby reducing the amount of data required to traverse in the process of obtaining the target location information and thus reducing the time consumption, thereby improving the speed and accuracy of obtaining the target location information on the user side.
[0115] In an optional implementation, obtaining the target location information of the user terminal from the blockchain based on the current source address includes:
[0116] Based on the current source address, determine the corresponding user end node in the blockchain;
[0117] Based on the user terminal node, the corresponding target location information is obtained.
[0118] Exemplarily, the principle of determining the corresponding user terminal node in the blockchain based on the current source address can refer to the description of step S401 in the embodiment of the present invention, which will not be repeated here.
[0119] Exemplarily, the specific implementation method of obtaining the corresponding target location information based on the user terminal node can refer to the description of step S402 in the embodiment of the present invention, which will not be repeated here.
[0120] Through the above steps, it is possible to fully consider the rules that detailed information is often recorded in the blockchain node corresponding to the device or terminal, locate and analyze the node to obtain the corresponding target location information without traversing and searching all the information in the blockchain, thereby reducing the amount of data required to traverse in the process of obtaining the target location information and thus reducing the time consumption, thereby improving the speed and accuracy of obtaining the target location information on the user side.
[0121] In an optional implementation, the performing corresponding service processing according to the target location information and the service frame includes:
[0122] Determine a plurality of corresponding business processing services to be selected according to the target location information;
[0123] According to the service frame, obtaining service type and service input information;
[0124] A target business processing service corresponding to the business type is determined from a plurality of to-be-selected business processing services, and the business input information is input into the target business processing service for corresponding business processing.
[0125] Exemplarily, the determination of the corresponding multiple business processing services to be selected based on the target location information may be, but is not limited to, using the target location information to query in the corresponding application, software or system, etc. to determine the multiple business processing services to be selected corresponding to the target location information. It should be noted that the specific implementation method for determining the corresponding multiple business processing services to be selected based on the target location information can be determined by those skilled in the art according to actual conditions, and the above description is only an example and does not constitute a limitation thereto.
[0126] Exemplarily, the business type and business input information are obtained according to the business frame, which may be, but is not limited to, parsing the business frame to obtain the specific data field included therein, and then parsing the data field to obtain the corresponding business type and business input information. It should be noted that the specific implementation method for obtaining the business type and business input information according to the business frame can be determined by those skilled in the art according to actual conditions, and the above description is only an example and does not constitute a limitation thereto.
[0127] Exemplarily, determining a target business processing service corresponding to the business type from a plurality of candidate business processing services and inputting the business input information into the target business processing service for corresponding business processing are conventional technical means in the art and will not be described in detail here.
[0128] Through the above steps, the target location information and business type can be fully analyzed, and the suitability of the service for business processing is closely related to the location and business type. Therefore, the accuracy of determining the target business processing service can be greatly improved, and the input information required for business processing has been analyzed, which is conducive to the smooth and rapid execution of the service, thereby improving the accuracy and speed of business processing.
[0129] The following takes the user terminal 102 as an example to illustrate the implementation process of the blockchain-based business processing method provided by the embodiment of the present invention. It is understandable that the execution subject of the blockchain-based business processing method provided by the embodiment of the present invention includes but is not limited to the user terminal 102.
[0130] Based on this, the embodiment of the present invention discloses a business processing method based on blockchain, such as Figure 5 As shown, the method specifically comprises the following steps:
[0131] S501: Send a service frame to the service end, so that the service end obtains the service frame identifier and the current source address according to the service frame, and obtains the corresponding address mapping information from the blockchain based on the service frame identifier and the current source address; if the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the corresponding target location information is obtained from the blockchain based on the real source address, and the corresponding service processing is performed according to the target location information and the service frame; if the corresponding address mapping information fails to be obtained, the corresponding target location information is obtained from the blockchain based on the current source address, and the corresponding service processing is performed according to the target location information and the service frame.
[0132] The blockchain-based business processing method, business terminal, user terminal and system provided by the present invention can obtain the business frame identifier and the current source address according to the business frame sent by the user terminal, and obtain the corresponding address mapping information from the blockchain based on the business frame identifier and the current source address, so that the business frame can be fully parsed to obtain the actual identifier and the current source address included therein, and the address mapping information pre-registered in the blockchain can be comprehensively located based on the two aspects of information, the identifier and the source address, thereby improving the accuracy of locating the address mapping information, and the above steps are relatively simple, which improves the speed of locating the address mapping information, and when performing address mapping, the relevant mapping information can be used to locate the address mapping information. Information registration on the chain can make full use of the advantages of blockchain being suitable for storing relevant information and the stored information being difficult to be tampered with, and provides a feasible, convenient and accurate way to accurately determine whether the source address accessed by the user end is its real source address and to subsequently trace the real source address. Thus, the above steps improve the overall accuracy and speed of determining the user end's location information; if the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the target location information of the user end is obtained from the blockchain based on the real source address, and the corresponding business processing is performed according to the target location information and the business frame. When the pre-registered address mapping information is obtained, it can be quickly and accurately determined that the source address accessed by the user end is not its real source address, and the real source address of the user end can be obtained by simply processing the actually registered address mapping information as input, thereby improving the accuracy and speed of judging whether the source address accessed by the user end is its real source address and obtaining the real source address, and based on the real source address, the corresponding, pre-registered user end location information can be directly obtained from the blockchain without spending a long time on querying or calculating, thereby improving the accuracy and speed of determining the user end location information as a whole; by obtaining the corresponding address mapping information If the information fails, the target location information of the user terminal is obtained from the blockchain based on the current source address, and the corresponding business processing is performed according to the target location information and the business frame. When the pre-registered address mapping information cannot be obtained, the source address accessed by the user terminal can be quickly and accurately determined as its real source address, which improves the accuracy and speed of judging whether the source address accessed by the user terminal is its real source address, and the corresponding, pre-registered location information of the user terminal can be directly obtained from the blockchain based on the source address accessed by the user terminal without consuming a long time for query or calculation, thereby improving the accuracy and speed of determining the overall location information of the user terminal. In summary, the business processing method, business terminal, user terminal and system based on blockchain provided by the present invention can improve the accuracy and speed of determining the location information of the user terminal, thereby improving the accuracy and speed of business processing, and further improving the efficiency of business processing.
[0133] In an optional embodiment, it further comprises:
[0134] Before sending a service frame to the service end,
[0135] If address mapping is performed, mapping relationship information is formed based on the real source address and the mapped current source address;
[0136] Based on the mapping relationship information and the corresponding service frame identifier, the address mapping information is formed and sent to the blockchain.
[0137] Exemplarily, the mapping relationship information formed based on the real source address and the mapped current source address may be, but is not limited to, correspondingly integrating the real source address and the mapped current source address to form the mapping relationship information. For example, if the real source address is A and the mapped current source address is B, the mapping relationship information may be, but is not limited to, "(A—>B)" or "(A, B)", etc. It should be noted that the specific implementation method for forming the mapping relationship information based on the real source address and the mapped current source address can be determined by those skilled in the art according to actual conditions, and the above description is only for example and does not constitute a limitation thereto.
[0138] Exemplarily, the address mapping information is formed based on the mapping relationship information and the corresponding service frame identifier, which may be, but is not limited to, correspondingly integrating the mapping relationship information and the corresponding service frame identifier to form the address mapping information. For example, if the mapping relationship information is "(A—>B)" and the service frame identifier is xxxxx, the address mapping information may be, but is not limited to, "(A—>B, xxxxx)" or "(A, B, xxxxx)", etc. It should be noted that the specific implementation method for forming the address mapping information based on the mapping relationship information and the corresponding service frame identifier can be determined by those skilled in the art according to actual conditions, and the above description is only an example and does not constitute a limitation thereto.
[0139] Through the above steps, the content of the address mapping information can be made complete enough, with the necessary information involved in the mapping process, and it can be transmitted to the blockchain, which is convenient for subsequent rapid and accurate tracing, positioning and analysis, thereby improving the speed and accuracy of overall determination of target location information.
[0140] In an optional embodiment, it further comprises:
[0141] Before sending a service frame to the service end,
[0142] The real source address and the corresponding target location information are sent to the corresponding user end node in the blockchain, so that the business end can determine the user end node in the blockchain based on the real source address, and obtain the corresponding target location information based on the user end node.
[0143] Exemplarily, the target location information may be provided by the user terminal in advance, or may be queried or calculated based on the real source address in advance. It should be noted that the specific source of the target location information may be determined by those skilled in the art according to actual conditions, and the above description is only for example and does not constitute a limitation thereto.
[0144] Through the above steps, when determining the target location information, there is no need to spend extra time to query or calculate the real source address, but it can be quickly obtained directly from the corresponding node of the blockchain. The blockchain has high security, and the target location information is not prone to information loss or tampering. Therefore, the above steps improve the overall speed and accuracy of determining the target location information.
[0145] Based on the same principle, the embodiment of the present invention discloses a service terminal 600, such as Figure 6 As shown, the service end 600 includes:
[0146] A mapping information acquisition module 601 is used to obtain a service frame identifier and a current source address according to a service frame sent by a user terminal, and obtain corresponding address mapping information from a blockchain based on the service frame identifier and the current source address;
[0147] The first processing module 602 is used to obtain the real source address corresponding to the current source address according to the address mapping information if the corresponding address mapping information is successfully obtained, and obtain the target location information of the user end from the blockchain based on the real source address, and perform corresponding business processing according to the target location information and the business frame;
[0148] The second processing module 603 is used to obtain the target location information of the user end from the blockchain based on the current source address if the corresponding address mapping information fails to be obtained, and perform corresponding business processing according to the target location information and the business frame.
[0149] In an optional implementation, the mapping information acquisition module 601 is used to:
[0150] Based on the service frame identifier, obtain one or more corresponding candidate mapping information from the blockchain;
[0151] The candidate mapping information corresponding to the current source address is obtained from all the candidate mapping information as the address mapping information.
[0152] In an optional embodiment, a safety verification module is further included, which is used to:
[0153] After successfully obtaining the corresponding address mapping information,
[0154] According to the current source address, determine the corresponding address conversion device information in the blockchain;
[0155] According to the address translation device information, a corresponding address translation device type is obtained;
[0156] It is determined whether the address conversion device type is included in the preset expected conversion device type, and if not, an alarm is issued.
[0157] In an optional implementation, the security verification module is used to:
[0158] According to the current source address, determine the corresponding conversion end node in the blockchain;
[0159] Based on the conversion end node, the corresponding address conversion device information is obtained.
[0160] In an optional implementation, the first processing module 602 is used to:
[0161] Based on the real source address, determine the corresponding user end node in the blockchain;
[0162] Based on the user terminal node, the corresponding target location information is obtained.
[0163] In an optional implementation, the second processing module 603 is used to:
[0164] Based on the current source address, determine the corresponding user end node in the blockchain;
[0165] Based on the user terminal node, the corresponding target location information is obtained.
[0166] In an optional implementation, the first processing module 602 and the second processing module 603 are used to:
[0167] Determine a plurality of corresponding business processing services to be selected according to the target location information;
[0168] According to the service frame, obtaining service type and service input information;
[0169] A target business processing service corresponding to the business type is determined from a plurality of to-be-selected business processing services, and the business input information is input into the target business processing service for corresponding business processing.
[0170] Based on the same principle, the embodiment of the present invention discloses a user terminal 700, such as Figure 7 As shown, the user terminal 700 is used for:
[0171] A service frame is sent to the service end, so that the service end obtains the service frame identifier and the current source address according to the service frame, and obtains the corresponding address mapping information from the blockchain based on the service frame identifier and the current source address; if the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the corresponding target location information is obtained from the blockchain based on the real source address, and the corresponding service processing is performed according to the target location information and the service frame; if the corresponding address mapping information fails to be obtained, the corresponding target location information is obtained from the blockchain based on the current source address, and the corresponding service processing is performed according to the target location information and the service frame.
[0172] In an optional embodiment, the method further includes a mapping information forming module, which is used to:
[0173] Before sending a service frame to the service end,
[0174] If address mapping is performed, mapping relationship information is formed based on the real source address and the mapped current source address;
[0175] Based on the mapping relationship information and the corresponding service frame identifier, the address mapping information is formed and sent to the blockchain.
[0176] In an optional embodiment, the system further includes a location information sending module, which is used to:
[0177] Before sending a service frame to the service end,
[0178] The real source address and the corresponding target location information are sent to the corresponding user end node in the blockchain, so that the business end can determine the user end node in the blockchain based on the real source address, and obtain the corresponding target location information based on the user end node.
[0179] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer device, and specifically, the computer device may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
[0180] In a typical example, a computer device specifically includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the method described above is implemented when the processor executes the program.
[0181] Reference below Figure 8, which shows a schematic diagram of the structure of a computer device 800 suitable for implementing an embodiment of the present application.
[0182] like Figure 8 As shown, the computer device 800 includes a central processing unit (CPU) 801, which can perform various appropriate operations and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.
[0183] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal feedback device (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed as needed as the storage section 808.
[0184] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 809, and / or installed from the removable medium 811.
[0185] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0186] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0187] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0188] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0189] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0190] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0191] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0192] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0193] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0194] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A business processing method based on blockchain, It is characterized in that include: According to the service frame sent by the user end, a service frame identifier and a current source address are obtained, and corresponding address mapping information is obtained from the blockchain based on the service frame identifier and the current source address; If the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the target location information of the user end is obtained from the blockchain based on the real source address, and the corresponding service processing is performed according to the target location information and the service frame; If the corresponding address mapping information fails to be obtained, the target location information of the user end is obtained from the blockchain based on the current source address, and the corresponding service processing is performed according to the target location information and the service frame; Among them, after successfully obtaining the corresponding address mapping information, According to the current source address, determine the corresponding address conversion device information in the blockchain; According to the address translation device information, a corresponding address translation device type is obtained; It is determined whether the address translation device type is included in the preset expected translation device type. If not, an alarm is issued, wherein the expected translation device type includes a router, a switch or a terminal, but does not include a server.
2. The method according to claim 1, It is characterized in that The acquiring corresponding address mapping information from the blockchain based on the service frame identifier and the current source address includes: Based on the service frame identifier, obtain one or more corresponding candidate mapping information from the blockchain; The candidate mapping information corresponding to the current source address is obtained from all the candidate mapping information as the address mapping information.
3. The method according to claim 1, It is characterized in that Determining the corresponding address conversion device information in the blockchain according to the current source address includes: According to the current source address, determine the corresponding conversion end node in the blockchain; Based on the conversion end node, the corresponding address conversion device information is obtained.
4. The method according to claim 1, It is characterized in that The obtaining the target location information of the user terminal from the blockchain based on the real source address includes: Based on the real source address, determine the corresponding user end node in the blockchain; Based on the user terminal node, the corresponding target location information is obtained.
5. The method according to claim 1, It is characterized in that The obtaining the target location information of the user terminal from the blockchain based on the current source address includes: Based on the current source address, determine the corresponding user end node in the blockchain; Based on the user terminal node, the corresponding target location information is obtained.
6. The method according to claim 1, It is characterized in that The performing corresponding service processing according to the target location information and the service frame includes: Determine a plurality of corresponding business processing services to be selected according to the target location information; According to the service frame, obtaining service type and service input information; A target business processing service corresponding to the business type is determined from a plurality of to-be-selected business processing services, and the business input information is input into the target business processing service for corresponding business processing.
7. A business processing method based on blockchain, It is characterized in that include: Sending a service frame to the service end, so that the service end obtains a service frame identifier and a current source address according to the service frame, and obtains corresponding address mapping information from the blockchain based on the service frame identifier and the current source address; If the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the corresponding target location information is obtained from the blockchain based on the real source address, and the corresponding business processing is performed according to the target location information and the business frame; if the corresponding address mapping information is failed to be obtained, the corresponding target location information is obtained from the blockchain based on the current source address, and the corresponding business processing is performed according to the target location information and the business frame; Among them, after successfully obtaining the corresponding address mapping information, According to the current source address, determine the corresponding address conversion device information in the blockchain; According to the address translation device information, a corresponding address translation device type is obtained; It is determined whether the address translation device type is included in the preset expected translation device type. If not, an alarm is issued, wherein the expected translation device type includes a router, a switch or a terminal, but does not include a server.
8. The method according to claim 7, It is characterized in that Further including: Before sending a service frame to the service end, If address mapping is performed, mapping relationship information is formed based on the real source address and the mapped current source address; Based on the mapping relationship information and the corresponding service frame identifier, the address mapping information is formed and sent to the blockchain.
9. The method according to claim 7, It is characterized in that Further including: Before sending a service frame to the service end, The real source address and the corresponding target location information are sent to the corresponding user end node in the blockchain, so that the business end can determine the user end node in the blockchain based on the real source address, and obtain the corresponding target location information based on the user end node.
10. A business end, It is characterized in that include: A mapping information acquisition module, used to obtain a service frame identifier and a current source address according to a service frame sent by a user terminal, and obtain corresponding address mapping information from the blockchain based on the service frame identifier and the current source address; A first processing module is used to obtain the real source address corresponding to the current source address according to the address mapping information if the corresponding address mapping information is successfully obtained, and obtain the target location information of the user end from the blockchain based on the real source address, and perform corresponding business processing according to the target location information and the business frame; A second processing module is used to obtain the target location information of the user terminal from the blockchain based on the current source address if the corresponding address mapping information fails to be obtained, and perform corresponding service processing according to the target location information and the service frame; Among them, after successfully obtaining the corresponding address mapping information, According to the current source address, determine the corresponding address conversion device information in the blockchain; According to the address translation device information, a corresponding address translation device type is obtained; It is determined whether the address translation device type is included in the preset expected translation device type. If not, an alarm is issued, wherein the expected translation device type includes a router, a switch or a terminal, but does not include a server.
11. A user terminal, It is characterized in that Used for: Sending a service frame to the service end, so that the service end obtains a service frame identifier and a current source address according to the service frame, and obtains corresponding address mapping information from the blockchain based on the service frame identifier and the current source address; If the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the corresponding target location information is obtained from the blockchain based on the real source address, and the corresponding business processing is performed according to the target location information and the business frame; if the corresponding address mapping information is failed to be obtained, the corresponding target location information is obtained from the blockchain based on the current source address, and the corresponding business processing is performed according to the target location information and the business frame; Among them, after successfully obtaining the corresponding address mapping information, According to the current source address, determine the corresponding address conversion device information in the blockchain; According to the address translation device information, a corresponding address translation device type is obtained; It is determined whether the address translation device type is included in the preset expected translation device type. If not, an alarm is issued, wherein the expected translation device type includes a router, a switch or a terminal, but does not include a server.
12. A business processing system based on blockchain, It is characterized in that Including business side and user side; Wherein, the user end is used to send a service frame to the service end; The service end is used to obtain a service frame identifier and a current source address according to the service frame, and obtain corresponding address mapping information from the blockchain based on the service frame identifier and the current source address; if the corresponding address mapping information is successfully obtained, the real source address corresponding to the current source address is obtained according to the address mapping information, and the target location information of the user end is obtained from the blockchain based on the real source address, and the corresponding service processing is performed according to the target location information and the service frame; if the corresponding address mapping information is failed to be obtained, the target location information of the user end is obtained from the blockchain based on the current source address, and the corresponding service processing is performed according to the target location information and the service frame; Among them, after successfully obtaining the corresponding address mapping information, According to the current source address, determine the corresponding address conversion device information in the blockchain; According to the address translation device information, a corresponding address translation device type is obtained; It is determined whether the address translation device type is included in the preset expected translation device type. If not, an alarm is issued, wherein the expected translation device type includes a router, a switch or a terminal, but does not include a server.
13. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the program, the method according to any one of claims 1 to 10 is implemented.
14. A computer readable medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
15. A computer program product, It is characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Method, device and system for transmitting IP address through virtual terminal server
CN103491200A
Method for configuring cross-network communication in block chain, equipment and computer storage medium
CN107911421A
Block chain node communication method and device, and block chain node
CN108712506A
Cross-network-segment interconnected blockchain network implementation method and system, and storage medium
CN110266763A
Data communication method, device and system, electronic equipment and storage medium
CN113301512A
