Operation information determination method and device, equipment and storage medium
By matching the multi-dimensional authentication information of the target user with the preset decision information, the high cost problem caused by the combination of Cartesian products in the existing technology is solved, and more efficient operation information determination is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2021-01-11
- Publication Date
- 2026-07-24
AI Technical Summary
Existing technologies, which determine operational information through Cartesian product combinations during real-name authentication, result in severe code nesting, excessive system load, high resource consumption, and high costs.
By acquiring multi-dimensional authentication information of the target user and matching it with preset decision information, the target matching result is obtained, and then the target operation information is determined. This avoids directly matching based on preset decision information, reducing code nesting complexity and resource consumption.
It reduces system load and resource consumption, lowers the cost of determining operational information, and improves matching accuracy.
Smart Images

Figure CN114764712B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer technology, and specifically relates to a method, apparatus, device and storage medium for determining operation information. Background Technology
[0002] Before making resource adjustments (such as receiving payments or transferring funds), it is necessary to conduct real-name authentication on the user who triggers the resource adjustment request. This real-name authentication refers to the verification and auditing of the authenticity of the user's information.
[0003] Existing technologies, when performing real-name authentication, first obtain the user's multi-dimensional authentication information, then perform a Cartesian product combination on the various authentication scenarios included in each dimension of authentication information to obtain multiple authentication combination information. For each authentication combination information, specific operation information is returned (for example, if the multi-dimensional authentication information includes A, B, and C, where A and B each include 3 authentication scenarios and C includes 34 authentication scenarios, then performing a Cartesian product combination can yield 3*3*34=306 authentication scenarios), so that the user can complete real-name authentication based on the operation information.
[0004] However, combining them using Cartesian products results in severe code nesting. Furthermore, if the operation information or authentication information of a certain dimension is modified, the Cartesian product needs to be recombined, leading to excessive system load and resource consumption, thus making the determination of the operation information costly. Summary of the Invention
[0005] To address the aforementioned technical problems, the present invention provides a method, apparatus, device, and storage medium for determining operation information.
[0006] On one hand, the present invention proposes a method for determining operation information, the method comprising:
[0007] In response to a resource adjustment request carrying the identification information of the target user, obtain multi-dimensional target authentication information corresponding to the target user;
[0008] The multi-dimensional target authentication information is matched with preset decision information to obtain the target matching result corresponding to the multi-dimensional target authentication information;
[0009] Based on the multi-dimensional target authentication information and the target matching results, target operation information associated with executing the resource adjustment request is determined.
[0010] On the other hand, embodiments of the present invention provide an operation information determining device, the device comprising:
[0011] The response module is used to respond to a resource adjustment request carrying the identification information of the target user and obtain multi-dimensional target authentication information corresponding to the target user;
[0012] The matching module is used to match the multi-dimensional target authentication information with preset decision information to obtain the target matching result corresponding to the multi-dimensional target authentication information.
[0013] The determination module is used to determine the target operation information associated with executing the resource adjustment request based on the multi-dimensional target authentication information and the target matching result.
[0014] On the other hand, the present invention proposes an electronic device including a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or at least one program is loaded and executed by the processor to implement the operation information determination method as described above.
[0015] On the other hand, the present invention proposes a computer-readable storage medium storing at least one instruction or at least one program, wherein the at least one instruction or the at least one program is loaded and executed by a processor to implement the operation information determination method as described above.
[0016] This invention proposes a method, apparatus, device, and storage medium for determining operation information. Upon receiving a resource adjustment request from a target user, the method first acquires multi-dimensional target authentication information corresponding to the target user. Then, it matches this multi-dimensional target authentication information with preset decision information to obtain a target matching result. Finally, based on the multi-dimensional target authentication information and the corresponding target matching result, it determines the target operation information associated with executing the resource adjustment request (e.g., requiring the target user to bind a bank card, requiring the target user to upload a photo of their ID card, requiring the user to verify their mobile phone number, etc.). Because this invention first matches the multi-dimensional target authentication information corresponding to the target user with preset decision information to obtain the target operation information, and then determines the target operation information based on the multi-dimensional target authentication information and the target matching result, it avoids the problem of complex code nesting and low matching accuracy in the preset decision information construction process caused by directly matching the target operation information from the preset decision information. This reduces the system burden and resource consumption, thereby reducing the cost of determining the target operation information. Attached Figure Description
[0017] To more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a schematic diagram of an implementation environment for determining operation information provided in an embodiment of the present invention.
[0019] Figure 2 This is a flowchart illustrating an operation information determination method provided in an embodiment of the present invention.
[0020] Figure 3 This is a schematic diagram of a process for constructing the preset decision information provided by an embodiment of the present invention.
[0021] Figure 4 This is a schematic diagram of a two-dimensional preset decision matrix with intersecting horizontal and vertical axes provided in an embodiment of the present invention.
[0022] Figure 5 This is a flowchart illustrating another method for determining operation information provided in an embodiment of the present invention.
[0023] Figure 6 This is a schematic diagram of a user identity authentication process provided in an embodiment of the present invention.
[0024] Figure 7 This is a schematic diagram of an operation information determination device provided in an embodiment of the present invention.
[0025] Figure 8 This is a hardware structure block diagram of a server provided in an embodiment of the present invention. Detailed Implementation
[0026] Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to achieve data computing, storage, processing, and sharing.
[0027] Cloud technology is a general term encompassing network technology, information technology, integration technology, management platform technology, and application technology based on the cloud computing business model. It can form resource pools, providing flexible and convenient on-demand access. The backend services of cloud computing systems require substantial computing and storage resources, such as those for video websites, image websites, and many portal websites. With the rapid development and application of the internet industry, every item may eventually possess its own identification mark, requiring transmission to backend systems for logical processing. Data at different levels will be processed separately, and various industry data will require robust system support, which can only be achieved through cloud computing. Specifically, cloud technology includes technical fields such as security, big data, databases, industry applications, networking, storage, management tools, and computing.
[0028] Specifically, the embodiments of the present invention relate to cloud security technology in the field of computer technology.
[0029] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or server that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.
[0031] Figure 1 This is a schematic diagram of an implementation environment for determining operation information provided in an embodiment of the present invention. For example... Figure 1 As shown, the implementation environment may include at least a client 01 and a server 02. The client 01 and the server 02 can be directly or indirectly connected via wired or wireless communication, and this embodiment of the invention does not impose any limitations. For example, the client 01 can send a resource adjustment request carrying the identification information of the target user to the server 02 through the above connection. The server 02 responds to the resource adjustment request and sends back to the client 01 target operation information associated with executing the resource adjustment request.
[0032] Specifically, the client 01 can be a smartphone, tablet, laptop, desktop computer, smart TV, smartwatch, etc., but is not limited to these.
[0033] Specifically, server 02 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms.
[0034] It should be noted that, Figure 1 This is just one example.
[0035] The following describes the technical terms used in the embodiments of this invention:
[0036] Real-name authentication channels refer to methods of verifying user identity, including bank card authentication, ID card authentication, mobile phone number authentication, etc.
[0037] Real-name authentication type: refers to the user type. For example, a user with 1-2 real-name authentication channels can be classified as a real-name authentication type 1 user; a user with 3-4 real-name authentication channels can be classified as a real-name authentication type 2 user; a user with 5 or more real-name authentication channels can be classified as a real-name authentication type 3 user, and so on.
[0038] Resource adjustment limit: This refers to the maximum amount of resources a user can control (transfer in or out) within a certain period. For example, a Class 1 verified user has an annual resource adjustment limit of 1,000; a Class 2 verified user has an annual resource adjustment limit of 100,000; and a Class 3 verified user has an annual resource adjustment limit of 200,000.
[0039] Real-name authentication actions refer to operational information associated with resource adjustments. Examples include prohibiting users from using cash for payments; requiring users to link bank cards; requiring users to upload photos of their ID cards; and requiring users to verify their mobile phone numbers. Hereinafter, "real-name authentication actions" will be defined as "operational information."
[0040] Figure 2 This is a flowchart illustrating a method for determining operation information provided in an embodiment of the present invention. This method can be used for... Figure 1 In the implementation environment described herein, the method operation steps are as shown in the embodiments or block diagrams. However, based on conventional or non-inventive labor, more or fewer operation steps may be included. The order of steps listed in the embodiments is merely one possible execution order among many and does not represent the only execution order. In actual system or server product execution, the methods shown in the embodiments or drawings can be executed sequentially or in parallel (e.g., in a parallel processor or multi-threaded processing environment). Specifically, as shown in the embodiments or drawings... Figure 2 As shown, the method may include:
[0041] S101. In response to a resource adjustment request carrying the identification information of the target user, obtain multi-dimensional target authentication information corresponding to the target user.
[0042] In this embodiment of the invention, "resources" include real resources and virtual resources. Real resources may include monetary resources, and virtual resources may include virtual game currency, virtual items, etc.
[0043] In this embodiment of the invention, "resource adjustment" can include resource transfer and resource transfer-in. Resource transfer can refer to deducting resources from a target user's account and transferring them to another user's account. Resource transfer-in can refer to depositing resources into a target user's account.
[0044] In some embodiments, when the resource is a real monetary resource, the resource transfer request can be a payment request (e.g., clicking on a "red envelope" sent by another user in an instant messaging software, thereby triggering the payment request), and the resource transfer request can be a transfer request (e.g., clicking on "transfer" in an instant messaging software, thereby triggering the transfer request).
[0045] In some embodiments, when the resource is a virtual resource, the resource transfer request can be a virtual resource receiving request (for example, clicking on a virtual resource distributed by the system or other users in a game interface, thereby triggering a virtual resource receiving request), and the resource transfer request can be a virtual resource distributing request (for example, clicking on sending virtual resources to other users in a game interface, thereby triggering a resource distributing request).
[0046] In this embodiment of the invention, when a target user wants to adjust resources, they can enter the resource adjustment interface on the corresponding client, thereby triggering the resource adjustment request. This resource adjustment request can carry the target user's identification information. This identification information is used to uniquely identify the target user and includes, but is not limited to, name, Identity Document (ID), etc.
[0047] When the server receives the resource adjustment request, it can extract the identification information from the request and obtain multi-dimensional target authentication information corresponding to the target user based on the identification information.
[0048] In some embodiments, the multi-dimensional target authentication information may include multiple target authentication channel association information and target geographic location information.
[0049] The information associated with these multiple target authentication channels can be understood as information related to real-name channels, which may include, but is not limited to, target real-name type, target resource adjustment limit, etc.
[0050] The target geographic location information is the current geographic location of the target user (i.e., when the resource adjustment request is sent). The target geographic location information can be based on "province" or "city", etc.
[0051] S103. Match the multi-dimensional target authentication information with the preset decision information to obtain the target matching result corresponding to the multi-dimensional target authentication information.
[0052] In this embodiment of the invention, after obtaining the multi-dimensional target authentication information corresponding to the target user, the multi-dimensional target authentication information can be matched with preset decision information to obtain the target matching result corresponding to the multi-dimensional target authentication information.
[0053] The preset decision information can be information used to characterize the mapping relationship between multi-dimensional authentication information and corresponding matching results. This preset decision information can be pre-constructed using preset authentication information and corresponding preset operation information.
[0054] In some embodiments, the preset decision information may be a preset decision matrix. Figure 3 The diagram shown illustrates a process for constructing this preset decision information. Figure 3 As shown, the steps for constructing the preset decision information may include:
[0055] S001. Obtain multi-dimensional preset authentication information and corresponding preset operation information. The multi-dimensional preset authentication information includes preset geographical location information and multiple preset authentication channel association information.
[0056] S003. Use any one of the preset authentication channel association information from the multiple preset authentication channel association information as the horizontal axis coordinate.
[0057] S005. Take any one of the preset authentication channel association information (excluding the horizontal axis) as the vertical axis.
[0058] S007. Use the preset geographical location information and preset operation information as the preset matching result.
[0059] S009. Establish the mapping relationship between the horizontal axis coordinate, the vertical axis coordinate, and the preset matching results.
[0060] S0011. Use this mapping relationship as preset decision information.
[0061] In constructing the preset decision information, this embodiment can first obtain known multi-dimensional preset authentication information and corresponding preset operation information, as described in S001.
[0062] The multi-dimensional preset authentication information in this embodiment may include multiple preset authentication channel association information and preset geographical location information. The preset authentication channel association information can be understood as information associated with real-name channels, which may include, but is not limited to, preset real-name type, preset resource adjustment limit, etc.
[0063] In this embodiment, the preset geographical location information can be the geographical location information of the user of the preset real-name type. The preset geographical location information can be based on "province" or "city", etc.
[0064] In this embodiment, the preset operation information is information associated with the resource adjustment request. Assuming the resource is a real monetary resource, the preset operation information could be the aforementioned "real-name registration actions" (including prohibiting the use of cash for payments, requiring users to bind bank cards, requiring users to upload ID card photos, requiring users to verify their mobile phone numbers, etc.). Assuming the resource is virtual game currency, the preset operation information could include: prohibiting the trading of virtual game currency, requiring users to complete their personal information, requiring users to verify their mobile phone numbers, etc.
[0065] In this embodiment, when obtaining multi-dimensional preset authentication information and corresponding preset operation information, as described in S003, any one of the preset authentication channel association information can be used as the horizontal axis coordinate (e.g., the preset real-name type). And as described in S005, any other preset authentication channel association information besides the horizontal axis coordinate can be used as the vertical axis coordinate (e.g., the preset resource adjustment limit). Next, as described in S007, the preset geographical location information and the preset operation information are bound together as the preset matching result. Finally, as described in S009-S0011, a mapping relationship is established between the horizontal axis coordinate, the vertical axis coordinate, and the preset matching result, and this mapping is used as the preset decision information.
[0066] It should be noted that the horizontal and vertical axes of this preset decision information are not unique; any one of the multiple preset authentication channel association information can be used as either the horizontal or vertical axis. For example, the preset real-name type can be used as the horizontal axis and the preset resource adjustment limit as the vertical axis; alternatively, the preset resource adjustment limit can be used as the horizontal axis and the preset real-name type as the vertical axis.
[0067] In other embodiments, if the number of the multiple preset authentication channel association information is only two, then one of the two preset authentication channel association information can be used as the horizontal axis coordinate and the other as the vertical axis coordinate.
[0068] In other embodiments, if the number of the multiple preset authentication channel association information is greater than two, any one of the multiple preset authentication channel association information can be used as the horizontal axis coordinate (i.e., the X-axis coordinate), any one other than the horizontal axis coordinate can be used as the vertical axis coordinate (i.e., the Y-axis coordinate), and other preset authentication channel association information other than the horizontal and vertical axis coordinates can be used as coordinates of other dimensions (e.g., the Z-axis coordinate, etc.).
[0069] In this embodiment, using the associated information of multiple preset authentication channels as the horizontal and vertical axes, instead of selecting preset geographical location information as the sole horizontal, vertical, or directional axis, and instead binding the preset geographical location information together with preset operation information as the preset matching result, has the following advantages: Since the associated information of preset authentication channels (e.g., preset real-name type, preset resource adjustment limit, etc.) contains relatively few authentication cases, while the preset geographical location information (e.g., province information, city information, etc.) contains many geographical location types, if the preset geographical location information is used alone as the horizontal, vertical, or directional axis to construct the preset decision information, the constructed preset decision information may contain thousands of matching cases. This would greatly increase the difficulty and complexity of the code, thereby increasing the burden and consumption of system resources, and consequently increasing the cost of determining operation information. Using the associated information of multiple preset authentication channels as the horizontal and vertical axes, and binding the province information and preset operation information together as the preset matching result to construct the preset decision information, can greatly reduce the difficulty and complexity of constructing the preset decision information, thereby effectively reducing the burden and consumption of system resources, and consequently reducing the cost of determining operation information.
[0070] The following section, taking the resource as a real monetary resource, and using the preset authentication channel associated information including the preset real-name type and preset resource adjustment limit, and taking the preset geographical location information as an example with "province" as the dimension, details the process of establishing the preset decision information:
[0071] 1) Obtain multi-dimensional preset authentication information and corresponding preset operation information.
[0072] 1-1) Obtain the currently known preset real-name types.
[0073] As mentioned above, the currently known real-name authentication types can include three types: Real-name 1 users (the number of real-name authentication channels can be 1-2), Real-name 2 users (the number of real-name authentication channels can be 3-4), and Real-name 3 users (the number of real-name authentication channels can be 5 or more).
[0074] 1-2) Obtain the preset resource adjustment limit corresponding to the known preset real-name card type.
[0075] As mentioned above, the resource adjustment limit for Class 1 real-name users can be 1,000, the resource adjustment limit for Class 2 real-name users can be 100,000, and the resource adjustment limit for Class 3 real-name users can be 200,000.
[0076] It should be noted that the resource adjustment limit can be set on a daily basis (e.g., the daily resource adjustment limit is xx), a monthly basis (e.g., the monthly resource adjustment limit is xx), or a yearly basis (e.g., the annual resource adjustment limit is xx), etc.
[0077] 1-3) Obtain the corresponding preset geographical location information
[0078] In this embodiment, the province where users of each real-name type are located can be obtained.
[0079] 1-4) Obtain the corresponding known preset operation information
[0080] In this embodiment, known preset operation information corresponding to known preset real-name type, preset resource adjustment limit, and preset geographical location information can be obtained.
[0081] Assuming the known preset real-name type is Real-Name Type 1 User, the corresponding preset resource adjustment limit is 1000, and the geographical location information is Guangdong Province or Hebei Province, then according to the relevant resource adjustment regulations, find the preset operation information corresponding to "Real-Name Type 1 User, Resource Adjustment Limit of 1000, Geographical Location Information of Guangdong Province or Hebei Province" (for example, requiring the user to bind a bank card, etc.).
[0082] 2) Use one of the preset real-name type and preset resource adjustment limit as the horizontal axis and the other as the vertical axis, and bind the preset geographical location information and preset operation information together as the preset matching result. Establish the mapping relationship between the horizontal axis, the vertical axis, and the preset matching result to obtain the following: Figure 4 The aforementioned two-dimensional preset decision matrix with intersecting horizontal and vertical axes. Each "square region" in this matrix (a, b, c, d, e, f, g, h, and i) corresponds to a preset matching result.
[0083] It should be noted that, Figure 4 Just an example
[0084] In some embodiments, after S0011, the method may further include:
[0085] Preset decision information is stored in a configuration file.
[0086] In response to the information update request for the preset decision information, the multi-dimensional preset authentication information and / or preset operation information in the configuration file are modified to obtain the updated preset decision information.
[0087] In this embodiment, after the preset decision information is constructed, it can be stored in a corresponding configuration file. When the multi-dimensional preset authentication information and / or the preset operation information changes, the system operator can send an information update request for the preset decision information to the server. This update request can carry the content that needs to be modified. After receiving the information update request, the server can locate the configuration file and modify the corresponding information according to the content that needs to be modified. This "modification" includes changing, deleting, and adding information.
[0088] For example, when the resource adjustment limit in the multi-dimensional preset authentication information is updated (the resource adjustment limit for real-name Class 1 users is updated to 2000), the system operator can send an information update request for the preset decision information to the server. This update request can include "update the resource adjustment limit for real-name Class 1 users to 2000". After the server receives the information update request, it can find the configuration file and adjust the resource adjustment limit for real-name Class 1 users from 1000 to 2000 in the configuration file, thereby obtaining the updated preset decision information.
[0089] For example, when the number of real-name types in the multi-dimensional preset authentication information is increased (to the four types of real-name users), the system operator can send an information update request for the preset decision information to the server. This update request can include "adding the four types of real-name users and their corresponding resource adjustment limits, geographical location information, and operation information" to the preset decision information. After the server receives the information update request, it can find the configuration file and add the four types of real-name users and their corresponding information to the preset decision information in the configuration file, thereby obtaining the updated preset decision information.
[0090] In this embodiment, preset decision information is stored in a configuration file. If it is necessary to modify multi-dimensional preset authentication information and / or preset operation information, it is only necessary to read the configuration file and modify it accordingly. The code itself does not need to be changed, effectively avoiding the problems of excessive system burden and excessive system resource consumption caused by re-modifying the code. This greatly reduces the maintenance cost of preset decision information, thereby reducing the cost of determining target operation information. In addition, since the information in the configuration file can be changed, deleted, or added, the scalability and maintainability of the preset decision information are improved.
[0091] In some embodiments, the multi-dimensional target authentication information includes multiple target authentication channel association information, such as... Figure 5 As shown, the multi-dimensional target authentication information is matched with preset decision information to obtain the target matching result corresponding to the multi-dimensional target authentication information (i.e., S103), which may include:
[0092] S10301. Determine the first target authentication channel association information corresponding to the horizontal axis coordinate and the second target authentication channel association information corresponding to the vertical axis coordinate from multiple target authentication channel association information.
[0093] S10303. Based on this mapping relationship, determine the matching result corresponding to the first target authentication channel association information and the second target authentication channel association information.
[0094] S10305. Take the matching result corresponding to the first target authentication channel association information and the second target authentication channel association information as the target matching result.
[0095] In this embodiment, after obtaining the multi-dimensional target authentication information (including multiple target authentication channel association information and preset geographical location information) corresponding to the target user, as described in S10301, the first target authentication channel association information corresponding to the horizontal axis coordinate and the second target authentication channel association information corresponding to the vertical axis coordinate can be determined from the multiple target authentication channel association information. Assuming the horizontal axis coordinate is a preset real-name type and the vertical axis coordinate is a preset resource adjustment limit, the target real-name type corresponding to the preset real-name type from the multiple target authentication channel association information is taken as the first target authentication channel association information, and the target resource adjustment limit corresponding to the preset resource adjustment limit from the multiple target authentication channel association information is taken as the second target authentication channel association information.
[0096] Next, as described in S10303-S10305, based on the pre-established mapping relationship, the matching results corresponding to the first target authentication channel association information and the second target authentication channel association information are matched from the preset decision information. The matching results are the target matching results corresponding to the multi-dimensional target authentication information.
[0097] Since the preset matching results in the construction of predictive decision information include preset geographical location information and preset operation information, the target matching results obtained based on this predictive decision information should also include geographical location information and operation information. In this embodiment, the geographical location information in the target matching results is defined as candidate geographical location information, and the operation information in the target matching results is defined as candidate operation information.
[0098] S105. Based on multi-dimensional target authentication information and target matching results, determine the target operation information associated with executing the resource adjustment request.
[0099] In this embodiment of the invention, since the target matching result corresponding to the multi-dimensional target authentication information includes candidate geographic location information and candidate operation information, the multi-dimensional target authentication information can be used to match the target matching result again, and the target operation information associated with executing the resource adjustment request can be determined based on the matching result.
[0100] In some embodiments, the multi-dimensional target authentication information includes target geographic location information, and the target matching result includes candidate geographic location information and candidate operation information. Figure 5 As shown, the determination of target operation information (i.e., S105) based on multi-dimensional target authentication information and target matching results, which is associated with executing the resource adjustment request, may include:
[0101] S10501. Perform matching processing between the target geographic location information and the candidate geographic location information.
[0102] S10503. When the target geographic location information matches the candidate geographic location information, the candidate operation information shall be used as the target operation information.
[0103] In this embodiment, since the target matching result corresponding to the multi-dimensional target authentication information includes candidate geographic location information and candidate operation information, if the candidate operation in the target matching result is directly taken as the target operation information, it may lead to the defect of error in the determination of the target operation information.
[0104] To ensure the accuracy of the target operation information, as described in S10501, the target geographic location information included in the multi-dimensional target authentication information can be matched with the candidate geographic location information. As described in S10503, if the two match successfully, the candidate operation information is used as the target operation information. If the two fail to match, it means that the candidate operation information is not suitable for the target user at the target geographic location, and the candidate operation information is not used as the target operation information. The reason for the matching failure may be due to incorrect acquisition or matching of the target user's multi-dimensional target authentication information, in which case the process can be returned to step S101 or S103 to re-match. Of course, a "Resource adjustment is prohibited" prompt message can also be directly sent to the target user.
[0105] In this embodiment, the target operation information is not directly obtained by matching the preset decision information. Instead, it is first matched with the preset decision information to obtain a target matching result. Then, the target geographical location information in the multi-dimensional target authentication information is matched with the candidate geographical location information in the target matching result to determine the target operation information. The advantage of this method is that:
[0106] On the one hand, if the target operation information is directly matched based on the predicted decision information, it is necessary to pre-establish the relationship between the preset authentication information and the preset operation information in each dimension, thereby obtaining a preset decision matrix that can directly match the target operation information. However, when the preset authentication information in a certain dimension contains many cases (e.g., preset geographical location information), it will greatly increase the nesting difficulty and complexity of the code for constructing the preset decision information, thereby increasing the system burden and resource consumption, and thus increasing the cost of determining the target operation information. Therefore, in the embodiments of the present invention, when constructing the preset decision information, the preset authentication information containing many cases (e.g., preset geographical location information) is bound together with the preset matching result. During matching, it is first matched with the preset decision information to obtain a target matching result. Then, the target geographical location information in the multi-dimensional target authentication information is matched with the candidate geographical location information in the target matching result to determine the target operation information. This avoids the problem of complex code nesting in the construction process of the preset decision information caused by directly matching the target operation information, thereby reducing the system burden and resource consumption, and thus reducing the cost of determining the target operation information.
[0107] On the other hand, the matching process first matches the target with the preset decision information to obtain a target matching result. Then, it matches the target geographic location information in the multi-dimensional target authentication information with the candidate geographic location information in the target matching result to determine the target operation information. This is equivalent to performing two matching processes. The second matching process can be used to verify the first matching process, avoiding the defect of low accuracy in determining the target operation information due to obtaining the target operation information through a single matching, thereby improving the accuracy of the target operation information determination.
[0108] In some embodiments, after determining the target operation information associated with the execution resource adjustment request based on multi-dimensional target authentication information and target matching results, the method may further include a step of authenticating the user's identity. Figure 6 The diagram shown illustrates a user authentication process. Figure 6 As shown, user authentication may include the following steps:
[0109] S107. Send the target operation information to the target user so that the target user can add the corresponding authentication information based on the target operation information.
[0110] S109. In response to an authentication request carrying the authentication information, authenticate the authentication information.
[0111] S1011. Upon successful authentication, obtain the target resource corresponding to the resource adjustment request.
[0112] S1013. Based on the target resource, adjust the resources in the account corresponding to the target user.
[0113] In this embodiment, after determining the target operation information associated with executing the resource adjustment request, the target operation information can be fed back to the target user as described in S107. After receiving the target operation information, the target user can add the corresponding authentication information according to the requirements of the target operation information (for example, if the target operation information is "requires the user to bind a bank card", then the target user adds bank card related information on the resource transfer interface according to the target operation information). Then, as described in S109, an authentication request carrying the authentication information is sent to the server, and the server authenticates the authentication information in the authentication request. As described in S1011, when the authentication is successful, the server obtains the target resource corresponding to the resource adjustment request, and as described in S1013, adjusts the resources in the target user's account using the target resource (for example, deducting the target resource from the target user's account, or transferring the target resource to the target user's account).
[0114] The following explanation uses "resources" as real monetary resources, "resource adjustment request" as "resource transfer" request, and multi-dimensional target authentication information including multiple target authentication channel association information and target geographical location information. The multiple target authentication channel association information includes the target real-name type and the target resource adjustment limit. The application scenario is to use receiving "red envelopes" through instant messaging software as an example to explain the above S101-S1013:
[0115] 1) When a target user wants to receive a red envelope sent by another user through an instant messaging software, he / she can click on the red envelope on the instant messaging interface of the instant messaging software, thereby triggering a resource transfer request, which carries the target user's identification information.
[0116] 2) After receiving the resource transfer request, the server can obtain multi-dimensional target authentication information corresponding to the target user based on the identification information carried in the resource transfer request. The multi-dimensional target authentication information includes multiple target authentication channel association information and target geographical location information. The multiple target authentication channel association information includes the target real-name type (e.g., real-name type 2 user) and the target resource adjustment limit (e.g., the resource adjustment limit is 100,000).
[0117] 3) The server associates the target real-name type as the first target authentication channel information and the target resource adjustment limit as the second target authentication channel information, and uses... Figure 4 The preset decision information is matched with the association information of the first target authentication channel and the association information of the second target authentication channel to obtain the target matching result. For example, the matching result is... Figure 3 The "e" area includes candidate province information (Guangdong Province / Hebei Province) and candidate operation information (requiring users to link their bank cards).
[0118] 4) The server will match the pre-obtained target geographic location information with the candidate province information (Guangdong Province / Hebei Province). If the target geographic location information is Guangdong Province or Hebei Province, it indicates that the target geographic location information and the candidate geographic location information are successfully matched. Then, the candidate operation information (requiring the user to bind a bank card) will be used as the target operation information corresponding to the target user, and the target operation information will be fed back to the target user.
[0119] If the target geographic location information is neither Guangdong Province nor Hebei Province, it indicates that the target geographic location information has failed to match the candidate geographic location information. In this case, a new matching process will be performed, or the target user will be directly prompted with the message "It is forbidden to use this instant messaging software to receive red envelopes".
[0120] 5) When the target user receives the target operation information from the server (e.g., requiring the user to bind a bank card), the target user adds the target user's bank card information to the resource adjustment interface of the instant messaging software to form the authentication information, and sends an authentication request carrying the authentication information to the server. The server authenticates the authentication information in the authentication request, and when it verifies that the bank card is indeed owned by the target user, it obtains the target resource (e.g., 1000 yuan) corresponding to the resource transfer request, and deposits the target resource (e.g., 1000 yuan) into the target user's account.
[0121] like Figure 7 As shown, this embodiment of the invention also provides an operation information determination device, which may include:
[0122] The response module 201 can be used to respond to a resource adjustment request carrying the identification information of the target user and obtain multi-dimensional target authentication information corresponding to the target user.
[0123] The matching module 203 can be used to match the multi-dimensional target authentication information with preset decision information to obtain the target matching result corresponding to the multi-dimensional target authentication information.
[0124] The determination module 205 can be used to determine the target operation information associated with executing the resource adjustment request based on multi-dimensional target authentication information and target matching results.
[0125] The device may also include a building module, which in some embodiments may include:
[0126] The acquisition unit can be used to acquire multi-dimensional preset authentication information and corresponding preset operation information. The multi-dimensional preset authentication information includes preset geographical location information and multiple preset authentication channel association information.
[0127] The horizontal axis coordinate determination unit can be used to take any one of the preset authentication channel association information from multiple preset authentication channel association information as the horizontal axis coordinate.
[0128] The vertical axis coordinate determination unit can be used to take any one of the preset authentication channel association information (excluding the horizontal axis coordinate) from among multiple preset authentication channel association information as the vertical axis coordinate.
[0129] The preset matching result determination unit can be used to use preset geographical location information and preset operation information as preset matching results.
[0130] The cell can be used to establish the mapping relationship between the horizontal axis coordinate, the vertical axis coordinate, and the preset matching results.
[0131] The preset decision information determination unit can be used to use the mapping relationship as preset decision information.
[0132] In some embodiments, the multi-dimensional target authentication information includes multiple target authentication channel association information, then the matching module 203 may include:
[0133] The association information determination unit can be used to determine the first target authentication channel association information corresponding to the horizontal axis coordinate and the second target authentication channel association information corresponding to the vertical axis coordinate from multiple target authentication channel association information.
[0134] The matching result determination unit can be used to determine the matching result corresponding to the first target authentication channel association information and the second target authentication channel association information based on the mapping relationship.
[0135] The target matching result determination unit can be used to take the matching result corresponding to the first target authentication channel association information and the second target authentication channel association information as the target matching result.
[0136] In some embodiments, the multi-dimensional target authentication information includes target geographic location information, and the target matching result includes candidate geographic location information and candidate operation information. Then, the determining module 205 may include:
[0137] The geographic location information matching unit can be used to match target geographic location information with candidate geographic location information.
[0138] The target operation information determination unit can be used to determine the target operation information when the target geographical location information matches the candidate geographical location information.
[0139] In some embodiments, the device may further include:
[0140] The storage module can be used to store preset decision information in a configuration file.
[0141] The modification module can be used to respond to the information update request of the preset decision information, modify the multi-dimensional preset authentication information and / or preset operation information in the configuration file, and obtain the updated preset decision information.
[0142] In some embodiments, the device may further include:
[0143] The sending module can be used to send the target operation information to the target user, so that the target user can add the corresponding authentication information based on the target operation information.
[0144] The authentication module can be used to authenticate the information to be authenticated in response to an authentication request carrying the information to be authenticated.
[0145] The target resource acquisition module can be used to acquire the target resource corresponding to the resource adjustment request when authentication is successful.
[0146] The adjustment module can be used to adjust the resources in the account corresponding to the target user based on the target resource.
[0147] It should be noted that the device embodiments provided in this invention are based on the same inventive concept as the method embodiments described above.
[0148] This invention also provides an electronic device for determining operation information. The electronic device includes a processor and a memory. The memory stores at least one instruction or at least one program. The processor loads and executes the at least one instruction or at least one program to implement the operation information determination method provided in the above method embodiments.
[0149] Embodiments of the present invention also provide a computer-readable storage medium that can be disposed in a terminal to store at least one instruction or at least one program related to implementing an operation information determination method in the method embodiments. The at least one instruction or at least one program is loaded and executed by a processor to implement the operation information determination method provided in the above method embodiments.
[0150] Optionally, in the embodiments of this specification, the storage medium may be located at at least one of the multiple network servers in a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0151] The memory described in this specification can be used to store software programs and modules. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory. The memory may primarily include a program storage area and a data storage area. The program storage area may store the operating system, applications required for functions, etc.; the data storage area may store data created based on the use of the device, etc. Furthermore, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory may also include a memory controller to provide the processor with access to the memory.
[0152] The present invention provides a method, apparatus, device, and storage medium for determining operation information. On the one hand, the code complexity required to construct the preset decision information is low, thereby reducing the system burden, reducing system resource consumption, and thus reducing the cost of determining the target operation information. On the other hand, the present invention does not directly match the target operation information based on the preset decision information to obtain the target operation information. Instead, it first matches the preset decision information to obtain a target matching result, and then matches the target geographical location information in the multi-dimensional target authentication information with the candidate geographical location information in the target matching result to obtain the target operation information. This avoids the problem of complex code nesting in the process of constructing the preset decision information caused by directly matching the result based on the preset decision information, thereby further reducing the system burden and resource consumption, and further reducing the cost of determining the target operation information.
[0153] This invention also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the operation information determination method provided in the above-described method embodiments.
[0154] The operation information determination method provided in this invention can be executed on a terminal, computer terminal, server, or similar computing device. Taking running on a server as an example... Figure 8 This is a hardware structure block diagram of a server for an operation information determination method provided in an embodiment of the present invention. For example... Figure 8 As shown, the server 300 can vary significantly depending on its configuration or performance. It may include one or more Central Processing Units (CPUs) 310 (CPUs 310 may include, but are not limited to, microprocessors (MCUs) or programmable logic devices (FPGAs), a memory 330 for storing data, and one or more storage media 320 (e.g., one or more mass storage devices) for storing application programs 323 or data 322. The memory 330 and storage media 320 may be temporary or persistent storage. The program stored in the storage media 320 may include one or more modules, each module including a series of instruction operations on the server. Furthermore, the CPU 310 may be configured to communicate with the storage media 320 and execute a series of instruction operations stored in the storage media 320 on the server 300. The server 300 may also include one or more power supplies 360, one or more wired or wireless network interfaces 350, one or more input / output interfaces 340, and / or one or more operating systems 321, such as Windows Server. TM Mac OS X TM Unix TM Linux TM FreeBSD TM etc.
[0155] The input / output interface 340 can be used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by the communication provider of server 300. In one example, the input / output interface 340 includes a network interface controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the input / output interface 340 may be a radio frequency (RF) module for wireless communication with the Internet.
[0156] Those skilled in the art will understand that Figure 8 The structure shown is for illustrative purposes only and does not limit the structure of the aforementioned electronic device. For example, server 300 may also include... Figure 8 The more or fewer components shown, or having the same Figure 8 The different configurations shown.
[0157] It should be noted that the order of the above embodiments of the present invention is merely for descriptive purposes and does not represent the superiority or inferiority of the embodiments. Furthermore, specific embodiments have been described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than that shown in the embodiments and still achieve the desired result. Additionally, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0158] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device and server embodiments are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0159] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0160] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for determining operational information, characterized in that, The method includes: In response to a resource adjustment request carrying the identifier information of the target user, multi-dimensional target authentication information corresponding to the target user is obtained; the multi-dimensional target authentication information includes multiple target authentication channel association information and target geographical location information. Obtain preset decision information; in the preset decision information, any one of the preset authentication channel association information from multiple preset authentication channel association information is used as the horizontal axis coordinate, and any other preset authentication channel association information is used as the vertical axis coordinate, and the horizontal axis coordinate and the vertical axis coordinate have a mapping relationship with the preset matching result; the preset matching result includes preset geographical location information and preset operation information; From the plurality of target authentication channel association information, determine the first target authentication channel association information corresponding to the horizontal axis coordinate and the second target authentication channel association information corresponding to the vertical axis coordinate. Based on the mapping relationship, determine the matching result corresponding to the first target authentication channel association information and the second target authentication channel association information, and use it as the target matching result. The target matching result includes candidate geographical location information and candidate operation information. The target geographic location information is matched with the candidate geographic location information; when the target geographic location information matches the candidate geographic location information, the candidate operation information is used as the target operation information associated with executing the resource adjustment request.
2. The method according to claim 1, characterized in that, The method further includes a step of constructing the preset decision information, wherein the step of constructing the preset decision information includes: Obtain multi-dimensional preset authentication information and corresponding preset operation information. The multi-dimensional preset authentication information includes preset geographical location information and multiple preset authentication channel association information. Use any one of the preset authentication channel association information from the plurality of preset authentication channel association information as the horizontal axis coordinate; Take any one of the preset authentication channel association information, other than the horizontal axis coordinate, as the vertical axis coordinate. The preset geographical location information and the preset operation information are used as preset matching results; Establish a mapping relationship between the horizontal axis coordinate, the vertical axis coordinate, and the preset matching result; The mapping relationship is used as the preset decision information.
3. The method according to claim 2, characterized in that, After using the mapping relationship as the preset decision information, the method further includes: The preset decision information is stored in a configuration file; In response to the information update request of the preset decision information, the multi-dimensional preset authentication information and / or the preset operation information in the configuration file are modified to obtain the updated preset decision information.
4. The method according to claim 1, characterized in that, After determining the target operation information associated with executing the resource adjustment request, the method further includes: The target user is sent the target operation information so that the target user can add corresponding authentication information based on the target operation information. In response to an authentication request carrying the authentication information, the authentication information is authenticated. Upon successful authentication, obtain the target resource corresponding to the resource adjustment request; Based on the target resources, the resources in the account corresponding to the target user are adjusted.
5. An operation information determining device, characterized in that, The device includes: The response module is used to respond to a resource adjustment request carrying the identification information of the target user and obtain multi-dimensional target authentication information corresponding to the target user; the multi-dimensional target authentication information includes multiple target authentication channel association information and target geographical location information; A matching module is used to acquire preset decision information. In this preset decision information, any one of the preset authentication channel association information from multiple preset authentication channel association information is used as the horizontal axis coordinate, and any other preset authentication channel association information is used as the vertical axis coordinate. The horizontal axis coordinate, the vertical axis coordinate, and the preset matching result have a mapping relationship. The preset matching result includes preset geographical location information and preset operation information. From the multiple target authentication channel association information, a first target authentication channel association information corresponding to the horizontal axis coordinate and a second target authentication channel association information corresponding to the vertical axis coordinate are determined. Based on the mapping relationship, a matching result corresponding to the first target authentication channel association information and the second target authentication channel association information is determined and used as the target matching result. The target matching result includes candidate geographical location information and candidate operation information. The determination module is used to match the target geographic location information with the candidate geographic location information; when the target geographic location information matches the candidate geographic location information, the candidate operation information is used as the target operation information associated with executing the resource adjustment request.
6. The apparatus according to claim 5, characterized in that, The device further includes a construction module, the construction module comprising: The acquisition unit is used to acquire multi-dimensional preset authentication information and corresponding preset operation information. The multi-dimensional preset authentication information includes preset geographical location information and multiple preset authentication channel association information. The horizontal axis coordinate determination unit is used to take any one of the preset authentication channel association information among the multiple preset authentication channel association information as the horizontal axis coordinate. The vertical axis coordinate determination unit is used to take any one of the preset authentication channel association information other than the horizontal axis coordinate as the vertical axis coordinate among the multiple preset authentication channel association information. A preset matching result determination unit is used to take the preset geographical location information and the preset operation information as preset matching results; A unit is established to establish a mapping relationship between the horizontal axis coordinate, the vertical axis coordinate, and the preset matching result; A preset decision information determination unit is used to use the mapping relationship as the preset decision information.
7. The apparatus according to claim 6, characterized in that, The device further includes: A storage module is used to store the preset decision information in a configuration file; The modification module is used to modify the multi-dimensional preset authentication information and / or the preset operation information in the configuration file in response to the information update request of the preset decision information, so as to obtain the updated preset decision information.
8. The apparatus according to claim 5, characterized in that, The device further includes: The sending module is used to send the target operation information to the target user, so that the target user can add corresponding authentication information based on the target operation information; The authentication module is used to authenticate the authentication information in response to an authentication request carrying the authentication information. The target resource acquisition module is used to acquire the target resource corresponding to the resource adjustment request when authentication is successful; The adjustment module is used to adjust the resources in the account corresponding to the target user based on the target resources.
9. An electronic device for confirming operation information, characterized in that, The electronic device includes a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or at least one program being loaded and executed by the processor to implement the operation information determination method as described in any one of claims 1 to 4.
10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one instruction or at least one program, which is loaded and executed by a processor to implement the operation information determination method as described in any one of claims 1 to 4.