Globalized user compliance access method, apparatus and electronic device based on routing policy
By adopting a global user compliance access method based on routing strategies, the compliance issues of user centers in cross-border e-commerce and cross-border payment are solved, and unified login and authorization of user data can be achieved on any site in the world, adapting to the legal and regulatory requirements of different geographical centers.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HANGZHOU PINGPONG INTELLIGENT TECH CO LTD
- Filing Date
- 2023-01-17
- Publication Date
- 2026-07-24
AI Technical Summary
In global cross-border e-commerce and cross-border payment, conventional user centers cannot meet the legal and regulatory requirements of different countries and regions, leading to compliance issues, especially in terms of differences in data storage and access strategies.
A global user compliance access method based on routing policies is adopted. Through a unified user gateway, authentication unit, application programming interface, and global and local user centers, unified storage of user data and global routing policies are achieved to ensure unified login and authorization of user data under compliant conditions.
It enables unified login and authorization at any site globally, ensuring user data compliance and adapting to the needs of users in different geographical centers.
Smart Images

Figure CN116055198B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer technology, and specifically relates to a method, apparatus, and electronic device for compliant global user access based on routing policies. Background Technology
[0002] With the increasing frequency of global cross-border e-commerce and cross-border payment, conventional centralized user centers are no longer suitable for applications governed by local laws and regulations. As globalization strategies are deployed, the number of countries and regions involved will increase, leading to more stringent compliance requirements. A common approach is to optimize access based on the user's geographical location, minimizing access links and prioritizing performance and access efficiency as key technical indicators. While there are no special requirements for the storage and access of sensitive and private information, it is crucial to minimize regulatory and operational differences in the cross-border payment industry. Therefore, the compliance of data storage and access strategies across different countries and regions is particularly important. Summary of the Invention
[0003] In view of the above-mentioned problems, the present invention provides a method, apparatus, and electronic device for compliant global user access based on routing policies. It is used to ensure that local user data is compliant while enabling unified login and authorization on any site globally through user data synchronization and routing via a global user center.
[0004] To solve the above-mentioned technical problems, the present invention adopts the following technical solution:
[0005] In a first aspect, the present invention provides a method for compliant access to globalized users based on routing policies, comprising the following steps:
[0006] If it is a user login action, the user initiates a login request to the unified user gateway; the unified user gateway routes the login request to the authentication unit; the authentication unit sends the authenticated user request to the local user center for processing; if it is a non-local user, it sends it to the global user center for global query; if the global query fails, it directly returns a failure result; otherwise, it returns the routing information of the user according to the global routing policy and redirects the request to the remote user center to which the user belongs for processing.
[0007] If it is a user business operation, the user initiates a business request to the unified user gateway; the unified user gateway routes the business request to the authentication unit; after the authentication unit passes the authentication, the request is routed to the application programming interface (API); the API sends the business request to the local user center for business processing; if it is a non-local user, it is sent to the global user center for routing policy query and redirected to the remote user center to which the user belongs for request processing.
[0008] In one possible implementation, the global query is performed based on a global routing strategy.
[0009] In one possible implementation, the business operation includes at least one of global data deduplication, basic information modification, and basic information query.
[0010] In one possible implementation, the global routing policy generates a unique routing key value by digesting and encrypting a unique user code generated from the email address or contact number provided by the user during registration, while simultaneously marking the data's origin and synchronizing it to the global user center for storage.
[0011] Secondly, the present invention provides a global user compliance access device based on routing policies, including a unified user gateway, an authentication unit, an application programming interface (API), a local user center, a global user center, and a remote user center.
[0012] When a user initiates a login action, the user sends a login request to the unified user gateway; the unified user gateway routes the login request to the authentication unit; the authentication unit sends the authenticated user request to the local user center for processing, and if the user is not a local user, it sends it to the global user center for global query; if the global query fails, it directly returns a failure result; otherwise, it returns the routing information of the user according to the global routing policy and redirects the request to the remote user center to which the user belongs for processing.
[0013] When a user initiates a business operation, the user sends a business request to the unified user gateway; the unified user gateway routes the business request to the authentication unit; after the authentication unit passes the authentication, the request is routed to the application programming interface (API); the API sends the business request to the local user center for business processing, and if the user is not local, it sends it to the global user center for routing policy query and redirects it to the remote user center to which the user belongs for request processing.
[0014] In one possible implementation, the global query is performed based on a global routing strategy.
[0015] In one possible implementation, the business operation includes at least one of global data deduplication, basic information modification, and basic information query.
[0016] In one possible implementation, the global routing strategy generates a unique routing key value by digesting and encrypting a unique user code generated from the email address or contact number provided by the user during registration, while simultaneously marking the data's origin and synchronizing it to the global user center for storage.
[0017] Thirdly, the present invention provides an electronic device, the electronic device including a processor and a memory storing computer-executable instructions, wherein the executable instructions, when executed, cause the processor to perform the global user compliance access method based on routing policy described above.
[0018] Fourthly, the present invention provides a computer-readable storage medium storing one or more programs, which, when executed by a processor, implement the global user compliance access method based on routing policy as described above.
[0019] The present invention has the following advantages: by implementing a unified storage and global routing strategy for user data information belonging to different geographical centers through a global user center, users in different geographical centers can achieve unified login and authorization on any site in the world while ensuring that user data is compliant. Attached Figure Description
[0020] Figure 1 This is a flowchart illustrating the steps of a global user compliance access method based on routing policies according to an embodiment of the present invention.
[0021] Figure 2 This is a schematic diagram of a global user compliance access device based on routing policy according to an embodiment of the present invention.
[0022] Figure 3 This is a schematic block diagram of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0023] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0024] See Figure 1 The diagram shows a flowchart of a global user compliance access method based on routing policy according to an embodiment of the present invention, including the following steps:
[0025] S10, If it is a user login behavior, the user initiates a login request to the unified user gateway; the unified user gateway routes the login request to the authentication; the authentication sends the user request that has been authenticated to the local user center for processing; if it is a non-local user, it sends it to the global user center for global query; if the global query fails, it directly returns a failure result; otherwise, it returns the routing information of the user according to the global routing policy and redirects it to the remote user center to which the user belongs for request processing.
[0026] S20, if it is a user business operation, the user initiates a business request to the unified user gateway; the unified user gateway routes the business request to the authentication unit; after the authentication unit passes, the request is routed to the application programming interface; the application programming interface sends the business request to the local user center for business processing, and if it is a non-local user, it is sent to the global user center for routing policy query and redirected to the remote user center to which the user belongs for request processing.
[0027] Through the above-described global user compliance access method based on routing policies, both user login behavior and business operation behavior can be uniformly stored and globally routed through the global user center for user data information belonging to different geographical centers. This allows users in different geographical centers to achieve unified login and authorization on any site in the world while ensuring that user data is compliant.
[0028] In one embodiment of the present invention, the business operation includes at least one of global data deduplication, basic information modification, and basic information query. Global data deduplication, for example, checks whether a contact number (which can be a mobile phone number) or email address already exists. Basic information may include mobile phone number, email address, contact person, security questions, contact address, and password, etc.
[0029] In one embodiment of the present invention, global queries are performed based on a global routing strategy. The global routing strategy involves generating a unique user key value by digesting and encrypting a unique user code generated from the email address or contact number provided during user registration, while simultaneously marking the data's origin and storing it in a global user center.
[0030] Corresponding to the method embodiment, participants Figure 2The diagram shows a schematic of a global user compliance access device 200 based on routing policy, according to an example of the present invention. It includes a unified user gateway 201, an authentication unit 202, an application programming interface 203, a local user center 204, a global user center 205, and a remote user center 206. When a user initiates a login action, the user sends a login request to the unified user gateway 201. The unified user gateway 201 routes the login request to the authentication unit 202. The authentication unit 202 sends the authenticated user request to the local user center 204 for processing. If the user is not a local user, the request is sent to the global user center 205 for a global query. If the global query fails... If the user fails to complete the transaction, a failure result is returned directly. Otherwise, the user's routing information is returned according to the global routing policy, and the request is redirected to the remote user center 206 to which the user belongs for processing. When a user initiates a business operation, the user sends a business request to the unified user gateway 201. The unified user gateway 201 routes the business request to the authentication unit 202. After the authentication unit 202 passes the authentication, the request is routed to the application programming interface 203. The application programming interface 203 sends the business request to the local user center 204 for business processing. If the user is not a local user, the request is sent to the global user center 205 for routing policy query and redirected to the remote user center 206 to which the user belongs for processing.
[0031] Through the global user compliance access device based on routing policies set up above, both user login behavior and business operation behavior can be uniformly stored and globally routed through the global user center for user data information belonging to different geographical centers. This allows users in different geographical centers to achieve unified login and authorization on any site in the world while ensuring that user data is compliant.
[0032] In one embodiment of the present invention, the business operation includes at least one of global data deduplication, basic information modification, and basic information query. Global data deduplication, for example, checks whether a contact number (which can be a mobile phone number) or email address already exists. Basic information may include mobile phone number, email address, contact person, security questions, contact address, and password, etc.
[0033] In one embodiment of the present invention, global queries are performed based on a global routing strategy. The global routing strategy involves generating a unique user key value by digesting and encrypting a unique user code generated from the email address or contact number provided during user registration, while simultaneously marking the data's origin and storing it in a global user center.
[0034] Reference Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Figure 3The electronic device 300 shown is merely an example and should not be construed as limiting the functionality or scope of the embodiments of the present invention. The electronic device 300 is manifested as a general-purpose computing device. Components of the electronic device 300 may include, but are not limited to: at least one processing unit 310, a bus connecting different device components (including a storage unit 320 and the processing unit 310), an I / O interface 330, a display unit 340, etc. The storage unit stores program code, which can be executed by the processing unit 310 to perform the steps described in the section on the global user compliance access method based on routing policies, according to various exemplary embodiments of the present invention. For example, the processing unit 310 may perform the following steps:
[0035] S10, If it is a user login behavior, the user initiates a login request to the unified user gateway; the unified user gateway routes the login request to the authentication; the authentication sends the user request that has been authenticated to the local user center for processing; if it is a non-local user, it sends it to the global user center for global query; if the global query fails, it directly returns a failure result; otherwise, it returns the routing information of the user according to the global routing policy and redirects it to the remote user center to which the user belongs for request processing.
[0036] S20, if it is a user business operation, the user initiates a business request to the unified user gateway; the unified user gateway routes the business request to the authentication unit; after the authentication unit passes, the request is routed to the application programming interface; the application programming interface sends the business request to the local user center for business processing, and if it is a non-local user, it is sent to the global user center for routing policy query and redirected to the remote user center to which the user belongs for request processing.
[0037] The storage unit 320 may include a readable medium in the form of a volatile storage unit, such as a random access memory (RAM) unit 3201 and / or a cache memory unit 3202, and may further include a read-only memory unit (ROM) unit 3203. The storage unit 320 may also include a program / utility having a set (at least one) of program modules, including but not limited to: operating devices, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0038] A bus can represent one or more of several types of bus structures, including a memory cell bus or memory cell controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local bus that uses any of the various bus structures.
[0039] Electronic device 300 can also communicate with one or more external devices 400 (e.g., keyboard, pointing device, Bluetooth device, etc.), and with one or more devices that enable a user to interact with electronic device 300, and / or with any device that enables electronic device 300 to communicate with one or more other computing devices (e.g., router, modem, etc.). This communication can be performed via an input / output (I / O) interface. Furthermore, electronic device 300 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public network (Internet)) via network adapter 350. Network adapter 350 can communicate with other modules of electronic device 300 via a bus. Electronic device 300 displays the required information via display unit 340. It should be understood that, although... Figure 3 As not shown, other hardware and / or software modules may be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID devices, tape drives, and data backup storage devices.
[0040] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described in this invention can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this invention can be embodied in the form of a software product, which can be stored in a computer-readable storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing device (such as a personal computer, server, or network device, etc.) to execute the global user compliance access method based on routing policy according to this invention. When the computer program is executed by a data processing device, it enables the computer-readable storage medium to implement the above-described method of this invention, namely, including the following steps:
[0041] S10, If it is a user login behavior, the user initiates a login request to the unified user gateway; the unified user gateway routes the login request to the authentication; the authentication sends the user request that has been authenticated to the local user center for processing; if it is a non-local user, it sends it to the global user center for global query; if the global query fails, it directly returns a failure result; otherwise, it returns the routing information of the user according to the global routing policy and redirects it to the remote user center to which the user belongs for request processing.
[0042] S20, if it is a user business operation, the user initiates a business request to the unified user gateway; the unified user gateway routes the business request to the authentication unit; after the authentication unit passes, the request is routed to the application programming interface; the application programming interface sends the business request to the local user center for business processing, and if it is a non-local user, it is sent to the global user center for routing policy query and redirected to the remote user center to which the user belongs for request processing.
[0043] Computer programs can be stored on one or more computer-readable media. Computer-readable media can be readable signal media or readable storage media. Readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor devices, apparatuses, or any combination thereof. More specific examples (a non-exhaustive list) of readable storage media include: electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0044] Computer-readable storage media may include data signals propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable storage medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in connection with an instruction execution device, apparatus, or apparatus. The program code contained on the readable storage medium may be transmitted using any suitable medium, including but not limited to wireless, wired, optical fiber, RF, etc., or any suitable combination thereof.
[0045] Program code for performing the operations of embodiments of the present invention can be written in any combination of one or more programming languages. The program code can execute entirely on the user's computing device, partially on the user's computing device, as a standalone software package, partially on the user's computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., via the Internet using an Internet service provider).
[0046] In summary, this invention can be implemented in hardware, or as software modules running on one or more processors, or a combination thereof. Those skilled in the art will understand that in practice, general-purpose data processing devices such as microprocessors or digital signal processors (DSPs) can be used to implement some or all of the functions of some or all of the components according to the embodiments of the invention. The invention can also be implemented as a device or apparatus program (e.g., a computer program and computer program product) for performing part or all of the methods described herein. Such programs implementing the invention can be stored on a computer-readable medium or can take the form of one or more signals. Such signals can be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
[0047] It should be understood that the exemplary embodiments described herein are illustrative and not restrictive. Although one or more embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art will understand that various changes in form and detail may be made without departing from the spirit and scope of the invention as defined by the appended claims.
Claims
1. A method for compliant global user access based on routing policies, characterized in that, Includes the following steps: If it is a user login action, the user initiates a login request to the unified user gateway; The unified user gateway routes login requests to the authentication unit; the authentication unit sends authenticated user requests to the local user center for processing, and if the user is not a local user, it sends the request to the global user center for global query. If the global query fails, the failure result will be returned directly; otherwise, the user's routing information will be returned according to the global routing policy, and the user will be redirected to the remote user center to process the request. If it is a user business operation, the user initiates a business request to the unified user gateway; the unified user gateway routes the business request to the authentication unit; after the authentication unit passes the authentication, the request is routed to the application interface. The application programming interface (API) sends business requests to the local user center for processing. If the user is not local, the request is sent to the global user center for routing policy lookup and redirected to the remote user center to which the user belongs for processing.
2. The global user compliance access method based on routing policy as described in claim 1, characterized in that, The global query is performed based on a global routing strategy.
3. The global user compliance access method based on routing policy as described in claim 1, characterized in that, The business operations include at least one of the following: global data deduplication, basic information modification, and basic information query.
4. The global user compliance access method based on routing policy as described in any one of claims 1 to 3, characterized in that, The global routing strategy generates a unique routing key value by digesting and encrypting a unique user code generated from the email address or contact number provided during user registration. At the same time, the data location is marked and synchronized to the global user center for storage.
5. A global user compliance access device based on routing policy, characterized in that, This includes a unified user gateway, authentication unit, application programming interface (API), local user center, global user center, and remote user center. When a user initiates a login action, the user sends a login request to the unified user gateway; the unified user gateway routes the login request to the authentication unit; the authentication unit sends the authenticated user request to the local user center for processing, and if it is a non-local user, it sends it to the global user center for global query; If the global query fails, the failure result will be returned directly; otherwise, the user's routing information will be returned according to the global routing policy, and the user will be redirected to the remote user center to process the request. When a user initiates a business operation, the user sends a business request to the unified user gateway. The unified user gateway routes business requests to the authentication unit; once the authentication unit is successful, the request is routed to the application interface. The application programming interface (API) sends business requests to the local user center for processing. If the user is not local, the request is sent to the global user center for routing policy lookup and redirected to the remote user center to which the user belongs for processing.
6. The global user compliance access device based on routing policy as described in claim 5, characterized in that, The global query is performed based on a global routing strategy.
7. The global user compliance access device based on routing policy as described in claim 5, characterized in that, The business operations include at least one of the following: global data deduplication, basic information modification, and basic information query.
8. The global user compliance access device based on routing policy as described in any one of claims 5 to 7, characterized in that, The global routing strategy generates a unique routing key value by digesting and encrypting a unique user code generated from the email address or contact number provided during user registration. At the same time, the data location is marked and synchronized to the global user center for storage.
9. An electronic device, characterized in that, The electronic device includes a processor and a memory storing computer-executable instructions, which, when executed, cause the processor to perform the global user compliance access method based on routing policy as described in any one of claims 1-4.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores one or more programs, which, when executed by a processor, implement the global user compliance access method based on routing policy as described in any one of claims 1-4.