CN114723400A - Business authorization management method, device, equipment and storage medium - Google Patents
Business authorization management method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN114723400A CN114723400A CN202210356025.XA CN202210356025A CN114723400A CN 114723400 A CN114723400 A CN 114723400A CN 202210356025 A CN202210356025 A CN 202210356025A CN 114723400 A CN114723400 A CN 114723400A
- Authority
- CN
- China
- Prior art keywords
- authorization
- authorized
- information
- field
- request
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000013475 authorization Methods 0.000 title claims abstract description 469
- 238000007726 management method Methods 0.000 title claims abstract description 37
- 238000000034 method Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 11
- 230000011218 segmentation Effects 0.000 claims description 8
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000007405 data analysis Methods 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/21—Design, administration or maintenance of databases
- G06F16/219—Managing data history or versioning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/22—Indexing; Data structures therefor; Storage structures
- G06F16/2282—Tablespace storage structures; Management thereof
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Business, Economics & Management (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- Human Resources & Organizations (AREA)
- Strategic Management (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Entrepreneurship & Innovation (AREA)
- General Business, Economics & Management (AREA)
- Tourism & Hospitality (AREA)
- Quality & Reliability (AREA)
- Operations Research (AREA)
- Marketing (AREA)
- Economics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Storage Device Security (AREA)
Abstract
The invention relates to a data analysis technology, and discloses a service authorization management method, which comprises the following steps: receiving an authorization request of a user, and extracting historical authorization information of the authorization request to the user when the authorization request exists in an authorization record table; when the authorization request does not exist in an authorization record table, extracting the to-be-authorized configuration information of the authorization request; splitting the configuration information to be authorized into a scene field to be authorized, an information field to be authorized and an authorization mode field; calling an authorization server according to the authorization scene in the scene field to be authorized; extracting the information to be authorized of the information field to be authorized; and inquiring the authorization mode in the authorization mode field, and issuing the information to be authorized to the user by using the authorization server according to the authorization mode. The invention also provides a business authorization management method, a device and a storage medium. The invention can improve the service request authorization efficiency.
Description
Technical Field
The present invention relates to the field of data analysis technologies, and in particular, to a method, an apparatus, a device, and a storage medium for managing service authorization.
Background
In enterprise management, service authorization management is a management scheme for authorizing service requests in a service unit layer, and conventional service authorization management generally adopts different authorization modes for authorization according to different service authorization platforms, and can only support service authorization under a single platform and a single scene.
Disclosure of Invention
The invention provides a service authorization management method, a device, equipment and a storage medium, and mainly aims to solve the problem of low service request authorization efficiency.
In order to achieve the above object, a service authorization management method provided by the present invention includes:
acquiring an authorization request of a user, and inquiring whether the authorization request exists in a preset authorization record table or not;
when the authorization request exists in a preset authorization record table, extracting historical authorization information of the authorization request from the preset authorization record table to the user;
when the authorization request does not exist in a preset authorization record table, extracting the configuration information to be authorized corresponding to the authorization request;
performing configuration field splitting on the configuration information to be authorized to obtain field information to be authorized, wherein the field information to be authorized comprises a scene field to be authorized, an information field to be authorized and an authorization mode field;
identifying an authorization scene under the scene field to be authorized, and calling an authorization server corresponding to the authorization scene;
extracting information to be authorized corresponding to the information field to be authorized from a preset authorization information system;
and inquiring the authorization mode in the authorization mode field, and sending the information to be authorized to the user by using the authorization server according to the authorization mode.
Optionally, the querying whether the authorization request exists in a preset authorization record table includes:
performing field splitting on the authorization request to obtain a plurality of authorization attributes;
extracting authorizer information, authorized party information, an authorization channel and an authorization scene in the authorization attributes;
matching authorization attributes of each authorized request in a preset authorization record table by using the authorizer information, the authorized party information, the authorization channel and the authorization scene;
if the matching is successful, the authorization request exists in a preset authorization record table, and the authorization request is judged to be an authorized request;
and if the matching is not successful, the authorization request does not exist in a preset authorization record table, and the authorization request is judged to be a request to be authorized.
Optionally, the extracting, from the preset authorization record table, historical authorization information of the authorization request to the user includes:
obtaining an authorization field of the authorization request;
extracting authorization information which is identical to the authorization field in the successfully matched authorized request to obtain historical authorization information;
and issuing the historical authorization information to the user to complete the processing of the authorization request.
Optionally, the extracting the to-be-authorized configuration information corresponding to the authorization request includes:
extracting authorization complete information of the authorization request;
performing field identification on the authorization complete information, and identifying configuration information which needs to perform authorization operation in the authorization complete information;
and summarizing the configuration information to obtain the configuration information to be authorized.
Optionally, the identifying an authorization scenario in the field of the scenario to be authorized and invoking an authorization server corresponding to the authorization scenario include:
recognizing the character information in the authorized scene field by using a pre-constructed character recognition model to obtain scene character information;
compiling the scene character information into a scene calling instruction;
and calling the authorization server by utilizing a pre-constructed scene server calling model according to the scene calling instruction.
Optionally, the extracting, from a preset authorization information system, information to be authorized corresponding to the information to be authorized field includes:
acquiring a storage path of the information field to be authorized in the preset authorization information system, and compiling the storage path into a path hyper-parameter;
and assigning a preset data interface by using the path parameter, and calling the information to be authorized corresponding to the information field to be authorized by using the assigned data interface.
Optionally, the performing configuration field splitting on the configuration information to be authorized to obtain the field information to be authorized includes:
inquiring the character segmentation character of the configuration information to be authorized;
and splitting the configuration information to be authorized into field information to be authorized according to the character segmentation character.
In order to solve the above problem, the present invention further provides a device for managing service authorization, where the device includes:
the service request acquisition module is used for acquiring an authorization request of a user and inquiring whether the authorization request exists in a preset authorization record table;
a service request judging module, configured to extract historical authorization information of the authorization request from a preset authorization record table to the user when it is judged that the authorization request exists in the preset authorization record table; when the authorization request does not exist in a preset authorization record table, extracting the configuration information to be authorized corresponding to the authorization request;
the service request authorization module is used for executing configuration field splitting on the configuration information to be authorized to obtain field information to be authorized, wherein the field information to be authorized comprises a scene field to be authorized, an information field to be authorized and an authorization mode field; identifying an authorization scene under the scene field to be authorized, and calling an authorization server corresponding to the authorization scene; extracting information to be authorized corresponding to the information field to be authorized from a preset authorization information system; and inquiring the authorization mode in the authorization mode field, and sending the information to be authorized to the user by using the authorization server according to the authorization mode.
In order to solve the above problem, the present invention also provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the service authorization management method described above.
In order to solve the above problem, the present invention further provides a computer-readable storage medium, in which at least one computer program is stored, and the at least one computer program is executed by a processor in an electronic device to implement the service authorization management method described above.
The embodiment of the invention can effectively filter the interference of the unauthorized request by judging whether the authorization request is the authorization request or not, secondly, when the authorization request exists in a preset authorization record table, the authorization request is judged to be the authorized authorization request, the historical authorization information can be issued to the user, the authorization flow time of the authorization request is reduced, the authorization efficiency of the authorization request is improved, and moreover, the authorization information corresponding to the information field to be authorized can be accurately issued to the user by executing the configuration field splitting on the configuration information to be authorized and identifying the information field to be authorized obtained by splitting. Therefore, the service authorization management method, the device, the equipment and the storage medium provided by the invention can solve the problem of low service request authorization efficiency.
Drawings
Fig. 1 is a schematic flow chart of a service authorization management method according to an embodiment of the present invention;
fig. 2 is a functional block diagram of a service authorization management method and apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device for implementing the service authorization management method according to an embodiment of the present invention.
The implementation, functional features and advantages of the present invention will be further described with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides a service authorization management method. The execution subject of the service authorization management method includes, but is not limited to, at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the service authorization management method may be performed by software or hardware installed in the terminal device or the server device, and the software may be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like. The server may be an independent server, or may be a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a Content Delivery Network (CDN), a big data and artificial intelligence platform, and the like.
Fig. 1 is a schematic flow chart of a service authorization management method according to an embodiment of the present invention. In this embodiment, the service authorization management method includes:
s1, obtaining the authorization request of the user, and inquiring whether the authorization request exists in a preset authorization record table.
In the embodiment of the invention, the authorization request refers to a service request which can obtain private data information only after identity authorization is required. For example, in the mobile phone application, the authorization request may be a request for obtaining real geographic information, obtaining an address list, and obtaining network access, which is pulled by using the mobile phone application.
In the embodiment of the invention, the pre-constructed authorization record table refers to an authorization request query table created by utilizing an authorization request of an authorized user and acquired authorization information.
The embodiment of the invention can realize the quick response of the historical authorized request and improve the processing efficiency of the authorized request by inquiring whether the authorized request exists in a preset authorization record table, wherein the authorized request comprises authorization attributes such as information of an authorizing party, information of an authorized party, an authorization scene, an authorization channel and the like.
As an embodiment of the present invention, the querying whether the authorization request exists in a preset authorization record table includes: performing field splitting on the authorization request to obtain a plurality of authorization attributes; extracting authorizer information, authorized party information, an authorization channel and an authorization scene in the authorization attributes; matching authorization attributes of each authorized request in a preset authorization record table by using the authorizer information, the authorized party information, the authorization channel and the authorization scene; if the matching is successful, the authorization request exists in a preset authorization record table, and the authorization request is judged to be an authorized request; and if the matching is not successful, the authorization request does not exist in a preset authorization record table, and the authorization request is judged to be a request to be authorized.
And S2, when the authorization request exists in a preset authorization record table, extracting historical authorization information of the authorization request from the preset authorization record table to the user.
In the embodiment of the present invention, when the authorization request exists in a preset authorization record table, it may be determined that the authorization request is an authorized request.
Further, the extracting the historical authorization information of the authorization request from the preset authorization record table to the user includes: obtaining an authorization field of the authorization request; extracting authorization information which is identical to the authorization field in the successfully matched authorized request to obtain historical authorization information; and issuing the historical authorization information to the user to complete the processing of the authorization request.
And S3, when the authorization request does not exist in a preset authorization record table, extracting the configuration information to be authorized corresponding to the authorization request.
In the embodiment of the present invention, when the authorization request does not exist in the preset authorization record table, it may be determined that the authorization request is a request to be authorized. Further, in the embodiment of the present invention, the to-be-authorized configuration information refers to authorization information that requires to perform an authorization operation in the to-be-authorized request.
In detail, the extracting of the to-be-authorized configuration information corresponding to the authorization request includes: extracting authorization complete information of the authorization request; performing field identification on the authorization complete information, and identifying configuration information which needs to perform authorization operation in the authorization complete information; and summarizing the configuration information to obtain the configuration information to be authorized.
S4, performing configuration field splitting on the to-be-authorized configuration information to obtain to-be-authorized field information, wherein the to-be-authorized field information comprises a to-be-authorized scene field, a to-be-authorized information field and an authorization mode field.
According to the embodiment of the invention, the configuration field splitting is carried out on the configuration information to be authorized to obtain the field information to be authorized, so that the authorization request can be refined, and the authorization information corresponding to the authorization request can be more accurately obtained.
As an embodiment of the present invention, the performing configuration field splitting on the configuration information to be authorized to obtain the field information to be authorized includes: inquiring the character segmentation character of the configuration information to be authorized; and splitting the configuration information to be authorized into field information to be authorized according to the character segmentation character.
And S5, identifying the authorization scene under the scene field to be authorized, and calling the authorization server corresponding to the authorization scene.
In the embodiment of the invention, the authorization server refers to a server for processing an authorization request, and the authorization server can process multi-scenario authorization requests according to different authorization scenarios.
In the embodiment of the present invention, the authorization scenario refers to different platforms that generate authorization requests. For example, the authorization scenario may be any door, light application, applet, or other platform.
The method comprises the steps that character information in an authorized scene field is identified by utilizing a pre-constructed character identification model, and scene character information is obtained; compiling the scene character information into a scene calling instruction; and calling the authorization server by utilizing a pre-constructed scene server calling model according to the scene calling instruction.
In the embodiment of the invention, the pre-constructed character recognition model can be constructed based on an OCR recognition technology.
In the embodiment of the invention, the pre-constructed scene calling model refers to a model for calling the authorization platform according to a calling instruction generated by scene characters.
And S6, extracting the information to be authorized corresponding to the information field to be authorized from a preset authorization information system.
In detail, the extracting the to-be-authorized information corresponding to the to-be-authorized information field from a preset authorization information system includes: acquiring a storage path of the information field to be authorized in the preset authorization information system, and compiling the storage path into a path hyper-parameter; and assigning a preset data interface by using the path parameter, and calling the information to be authorized corresponding to the information field to be authorized by using the assigned data interface.
S7, inquiring the authorization mode in the authorization mode field, and sending the information to be authorized to the user by using the authorization server according to the authorization mode.
In the embodiment of the invention, the authorization mode refers to the authorization corresponding relation between an authorizing party and an authorized party. For example, the authorization mode may be: OTO (single-pair single), OTA (single-pair multiple), ATO (multiple-pair single), wherein the OTO (single-pair single) gives a single authorized party authorization operation for a single authorized party.
The embodiment of the invention can effectively filter the interference of the unauthorized request by judging whether the authorization request is the authorization request or not, secondly, when the authorization request exists in a preset authorization record table, the authorization request is judged to be the authorized authorization request, the historical authorization information can be issued to the user, the authorization flow time of the authorization request is reduced, the authorization efficiency of the authorization request is improved, and moreover, the authorization information corresponding to the information field to be authorized can be accurately issued to the user by executing the configuration field splitting on the configuration information to be authorized and identifying the information field to be authorized obtained by splitting.
Fig. 2 is a functional block diagram of a service authorization management method and apparatus according to an embodiment of the present invention.
The device 100 for managing service authorization according to the present invention can be installed in an electronic device. According to the implemented functions, the service authorization management method apparatus 100 may include a service request obtaining module 101, a service request distinguishing module 102, and a service request authorization module 103. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and can perform a fixed function, and are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the service request obtaining module 101 is configured to obtain an authorization request of a user, and query whether the authorization request exists in a preset authorization record table;
in the embodiment of the invention, the authorization request refers to a service request which can obtain private data information after identity authorization is required. For example, in the mobile phone application, the authorization request may be a request for obtaining real geographic information, obtaining an address list, and obtaining network access, which is pulled by using the mobile phone application.
In the embodiment of the invention, the pre-constructed authorization record table refers to an authorization request query table created by utilizing an authorization request of an authorized user and acquired authorization information.
The embodiment of the invention can realize the quick response of the historical authorized request and improve the processing efficiency of the authorized request by inquiring whether the authorized request exists in a preset authorization record table, wherein the authorized request comprises authorization attributes such as information of an authorizing party, information of an authorized party, an authorization scene, an authorization channel and the like.
As an embodiment of the present invention, the querying whether the authorization request exists in a preset authorization record table includes: performing field splitting on the authorization request to obtain a plurality of authorization attributes; extracting authorizer information, authorized party information, an authorization channel and an authorization scene in the authorization attributes; matching authorization attributes of each authorized request in a preset authorization record table by using the authorizer information, the authorized party information, the authorization channel and the authorization scene; if the matching is successful, the authorization request exists in a preset authorization record table, and the authorization request is judged to be an authorized request; and if the matching is not successful, the authorization request does not exist in a preset authorization record table, and the authorization request is judged to be a request to be authorized.
The service request judging module 102 is configured to, when it is judged that the authorization request exists in a preset authorization record table, extract historical authorization information of the authorization request from the preset authorization record table to the user; when the authorization request does not exist in a preset authorization record table, extracting the configuration information to be authorized corresponding to the authorization request;
in the embodiment of the present invention, when the authorization request exists in a preset authorization record table, it may be determined that the authorization request is an authorized request.
Further, the extracting the historical authorization information of the authorization request from the preset authorization record table to the user includes: obtaining an authorization field of the authorization request; extracting authorization information which is identical to the authorization field in the successfully matched authorized request to obtain historical authorization information; and issuing the historical authorization information to the user to complete the processing of the authorization request.
In the embodiment of the present invention, when the authorization request does not exist in the preset authorization record table, it may be determined that the authorization request is a request to be authorized. Further, in the embodiment of the present invention, the to-be-authorized configuration information refers to authorization information that requires to perform an authorization operation in the to-be-authorized request.
In detail, the extracting of the to-be-authorized configuration information corresponding to the authorization request includes: extracting authorization complete information of the authorization request; performing field identification on the authorization complete information, and identifying configuration information which needs to perform authorization operation in the authorization complete information; and summarizing the configuration information to obtain the configuration information to be authorized.
The service request authorization module 103 is configured to perform configuration field splitting on the configuration information to be authorized to obtain field information to be authorized, where the field information to be authorized includes a scene field to be authorized, an information field to be authorized, and an authorization mode field; identifying an authorization scene under the field of the scene to be authorized, and calling an authorization server corresponding to the authorization scene; extracting information to be authorized corresponding to the information field to be authorized from a preset authorization information system; and inquiring the authorization mode in the authorization mode field, and sending the information to be authorized to the user by using the authorization server according to the authorization mode.
According to the embodiment of the invention, the configuration field splitting is carried out on the configuration information to be authorized to obtain the field information to be authorized, so that the authorization request can be refined, and the authorization information corresponding to the authorization request can be more accurately obtained.
As an embodiment of the present invention, the performing configuration field splitting on the configuration information to be authorized to obtain the field information to be authorized includes: inquiring the character segmentation character of the configuration information to be authorized; and splitting the configuration information to be authorized into field information to be authorized according to the character segmentation character.
In the embodiment of the invention, the authorization server refers to a server for processing an authorization request, and the authorization server can process multi-scenario authorization requests according to different authorization scenarios.
In the embodiment of the present invention, the authorization scenario refers to different platforms that generate authorization requests. For example, the authorization scenario may be any door, light application, applet, etc. platform.
The method comprises the steps that character information in an authorized scene field is identified by utilizing a pre-constructed character identification model, and scene character information is obtained; compiling the scene character information into a scene calling instruction; and calling the authorization server by utilizing a pre-constructed scene server calling model according to the scene calling instruction.
In the embodiment of the invention, the pre-constructed character recognition model can be constructed based on an OCR recognition technology.
In the embodiment of the invention, the pre-constructed scene calling model refers to a model for calling the authorization platform according to a calling instruction generated by scene characters.
In detail, the extracting the to-be-authorized information corresponding to the to-be-authorized information field from a preset authorization information system includes: acquiring a storage path of the information field to be authorized in the preset authorization information system, and compiling the storage path into a path hyper-parameter; and assigning a preset data interface by using the path parameters, and calling the information to be authorized corresponding to the information field to be authorized by using the assigned data interface.
In the embodiment of the invention, the authorization mode refers to the authorization corresponding relation between an authorizing party and an authorized party. For example, the authorization mode may be: OTO (single-pair single), OTA (single-pair multiple), ATO (multiple-pair single), wherein the OTO (single-pair single) gives a single authorized party authorization operation for a single authorized party.
Fig. 3 is a schematic structural diagram of an electronic device for implementing a service authorization management method according to an embodiment of the present invention.
The electronic device 1 may comprise a processor 10, a memory 11, a communication bus 12 and a communication interface 13, and may further comprise a computer program, such as a service authorization management method program, stored in the memory 11 and executable on the processor 10.
In some embodiments, the processor 10 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same function or different functions, and includes one or more Central Processing Units (CPUs), a microprocessor, a digital Processing chip, a graphics processor, a combination of various control chips, and the like. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device by running or executing programs or modules (e.g., executing a service authorization management method program, etc.) stored in the memory 11 and calling data stored in the memory 11.
The memory 11 includes at least one type of readable storage medium including flash memory, removable hard disks, multimedia cards, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disks, optical disks, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device, for example a removable hard disk of the electronic device. The memory 11 may also be an external storage device of the electronic device in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device. The memory 11 may be used not only to store application software installed in the electronic device and various types of data, such as codes of a service authorization management method program, but also to temporarily store data that has been output or will be output.
The communication bus 12 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
The communication interface 13 is used for communication between the electronic device and other devices, and includes a network interface and a user interface. Optionally, the network interface may include a wired interface and/or a wireless interface (e.g., WI-FI interface, bluetooth interface, etc.), which are typically used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a Display (Display), an input unit such as a Keyboard (Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable, among other things, for displaying information processed in the electronic device and for displaying a visualized user interface.
Fig. 3 shows only an electronic device with components, and it will be understood by those skilled in the art that the structure shown in fig. 3 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than those shown, or some components may be combined, or a different arrangement of components.
For example, although not shown, the electronic device may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so that functions such as charge management, discharge management, and power consumption management are implemented through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The service authorization management method program stored in the memory 11 of the electronic device 1 is a combination of a plurality of instructions, and when running in the processor 10, can realize:
acquiring an authorization request of a user, and inquiring whether the authorization request exists in a preset authorization record table or not;
when the authorization request exists in a preset authorization record table, extracting historical authorization information of the authorization request from the preset authorization record table to the user;
when the authorization request does not exist in a preset authorization record table, extracting the configuration information to be authorized corresponding to the authorization request;
performing configuration field splitting on the configuration information to be authorized to obtain field information to be authorized, wherein the field information to be authorized comprises a scene field to be authorized, an information field to be authorized and an authorization mode field;
identifying an authorization scene under the scene field to be authorized, and calling an authorization server corresponding to the authorization scene;
extracting information to be authorized corresponding to the information field to be authorized from a preset authorization information system;
and inquiring the authorization mode in the authorization mode field, and sending the information to be authorized to the user by using the authorization server according to the authorization mode.
Specifically, the specific implementation method of the instruction by the processor 10 may refer to the description of the relevant steps in the embodiment corresponding to the drawings, which is not described herein again.
Further, the integrated modules/units of the electronic device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
acquiring an authorization request of a user, and inquiring whether the authorization request exists in a preset authorization record table or not;
when the authorization request exists in a preset authorization record table, extracting historical authorization information of the authorization request from the preset authorization record table to the user;
when the authorization request does not exist in a preset authorization record table, extracting the configuration information to be authorized corresponding to the authorization request;
performing configuration field splitting on the configuration information to be authorized to obtain field information to be authorized, wherein the field information to be authorized comprises a scene field to be authorized, an information field to be authorized and an authorization mode field;
identifying an authorization scene under the scene field to be authorized, and calling an authorization server corresponding to the authorization scene;
extracting information to be authorized corresponding to the information field to be authorized from a preset authorization information system;
and inquiring the authorization mode in the authorization mode field, and sending the information to be authorized to the user by using the authorization server according to the authorization mode.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
The embodiment of the application can acquire and process related data based on an artificial intelligence technology. Among them, Artificial Intelligence (AI) is a theory, method, technique and application system that simulates, extends and expands human Intelligence using a digital computer or a machine controlled by a digital computer, senses the environment, acquires knowledge and uses the knowledge to obtain the best result.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.
Claims (10)
1. A service authorization management method is characterized in that the method comprises the following steps:
acquiring an authorization request of a user, and inquiring whether the authorization request exists in a preset authorization record table or not;
when the authorization request exists in a preset authorization record table, extracting historical authorization information of the authorization request from the preset authorization record table to the user;
when the authorization request does not exist in a preset authorization record table, extracting the configuration information to be authorized corresponding to the authorization request;
performing configuration field splitting on the configuration information to be authorized to obtain field information to be authorized, wherein the field information to be authorized comprises a scene field to be authorized, an information field to be authorized and an authorization mode field;
identifying an authorization scene under the scene field to be authorized, and calling an authorization server corresponding to the authorization scene;
extracting information to be authorized corresponding to the information field to be authorized from a preset authorization information system;
and inquiring the authorization mode in the authorization mode field, and sending the information to be authorized to the user by using the authorization server according to the authorization mode.
2. The service authorization management method according to claim 1, wherein the querying whether the authorization request exists in a preset authorization record table includes:
performing field splitting on the authorization request to obtain a plurality of authorization attributes;
extracting authorizer information, authorized party information, an authorization channel and an authorization scene in the authorization attributes;
matching authorization attributes of each authorized request in a preset authorization record table by using the authorizer information, the authorized party information, the authorization channel and the authorization scene;
if the matching is successful, the authorization request exists in a preset authorization record table, and the authorization request is judged to be an authorized request;
and if the matching is not successful, the authorization request does not exist in a preset authorization record table, and the authorization request is judged to be a request to be authorized.
3. The method for managing service authorization according to claim 1, wherein the extracting the historical authorization information of the authorization request from the preset authorization record table to the user includes:
obtaining an authorization field of the authorization request;
extracting authorization information which is identical to the authorization field in the successfully matched authorized request to obtain historical authorization information;
and issuing the historical authorization information to the user to complete the processing of the authorization request.
4. The service authorization management method according to claim 1, wherein the extracting the configuration information to be authorized corresponding to the authorization request includes:
extracting authorization complete information of the authorization request;
performing field identification on the authorization complete information, and identifying configuration information which needs to perform authorization operation in the authorization complete information;
and summarizing the configuration information to obtain the configuration information to be authorized.
5. The service authorization management method according to claim 1, wherein the identifying an authorization scenario in the to-be-authorized scenario field and calling an authorization server corresponding to the authorization scenario includes:
recognizing the character information in the authorized scene field by using a pre-constructed character recognition model to obtain scene character information;
compiling the scene character information into a scene calling instruction;
and calling the authorization server by utilizing a pre-constructed scene server calling model according to the scene calling instruction.
6. The method for managing service authorization according to claim 1, wherein the extracting the information to be authorized corresponding to the information to be authorized field from a preset authorization information system includes:
acquiring a storage path of the information field to be authorized in the preset authorization information system, and compiling the storage path into a path hyper-parameter;
and assigning a preset data interface by using the path parameter, and calling the information to be authorized corresponding to the information field to be authorized by using the assigned data interface.
7. The service authorization management method according to claim 1, wherein the performing configuration field splitting on the configuration information to be authorized to obtain field information to be authorized includes:
inquiring the character segmentation character of the configuration information to be authorized;
and splitting the configuration information to be authorized into field information to be authorized according to the character segmentation character.
8. A service authorization management method device is characterized in that the device comprises:
the service request acquisition module is used for acquiring an authorization request of a user and inquiring whether the authorization request exists in a preset authorization record table;
a service request judging module, configured to extract historical authorization information of the authorization request from a preset authorization record table to the user when it is judged that the authorization request exists in the preset authorization record table; when the authorization request does not exist in a preset authorization record table, extracting the configuration information to be authorized corresponding to the authorization request;
the service request authorization module is used for executing configuration field splitting on the configuration information to be authorized to obtain field information to be authorized, wherein the field information to be authorized comprises a scene field to be authorized, an information field to be authorized and an authorization mode field; identifying an authorization scene under the scene field to be authorized, and calling an authorization server corresponding to the authorization scene; extracting information to be authorized corresponding to the information field to be authorized from a preset authorization information system; and inquiring the authorization mode in the authorization mode field, and sending the information to be authorized to the user by using the authorization server according to the authorization mode.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of service authorisation management of any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the service authorization management method according to any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210356025.XA CN114723400B (en) | 2022-04-06 | 2022-04-06 | Service authorization management method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210356025.XA CN114723400B (en) | 2022-04-06 | 2022-04-06 | Service authorization management method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114723400A true CN114723400A (en) | 2022-07-08 |
CN114723400B CN114723400B (en) | 2024-04-12 |
Family
ID=82242181
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210356025.XA Active CN114723400B (en) | 2022-04-06 | 2022-04-06 | Service authorization management method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114723400B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150365397A1 (en) * | 2014-06-13 | 2015-12-17 | Vivotek Inc. | Web authentication method and system |
US20180159865A1 (en) * | 2016-12-01 | 2018-06-07 | Royal Bank Of Canada | System and method for message recipient verification |
CN109101840A (en) * | 2018-08-17 | 2018-12-28 | 中国建设银行股份有限公司 | A kind of authorization business rule structuring conversion method and device |
CN112308533A (en) * | 2020-11-19 | 2021-02-02 | 中国民航信息网络股份有限公司 | Business authorization method and device, electronic equipment and computer storage medium |
US20210192532A1 (en) * | 2019-12-18 | 2021-06-24 | Mastercard International Incorporated | Systems and methods for optimizing transaction authoirzaton request message to reduce false declines |
-
2022
- 2022-04-06 CN CN202210356025.XA patent/CN114723400B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150365397A1 (en) * | 2014-06-13 | 2015-12-17 | Vivotek Inc. | Web authentication method and system |
US20180159865A1 (en) * | 2016-12-01 | 2018-06-07 | Royal Bank Of Canada | System and method for message recipient verification |
CN109101840A (en) * | 2018-08-17 | 2018-12-28 | 中国建设银行股份有限公司 | A kind of authorization business rule structuring conversion method and device |
US20210192532A1 (en) * | 2019-12-18 | 2021-06-24 | Mastercard International Incorporated | Systems and methods for optimizing transaction authoirzaton request message to reduce false declines |
CN112308533A (en) * | 2020-11-19 | 2021-02-02 | 中国民航信息网络股份有限公司 | Business authorization method and device, electronic equipment and computer storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN114723400B (en) | 2024-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112418798A (en) | Information auditing method and device, electronic equipment and storage medium | |
CN114979120A (en) | Data uploading method, device, equipment and storage medium | |
CN113806434A (en) | Big data processing method, device, equipment and medium | |
CN114185776A (en) | Big data point burying method, device, equipment and medium for application program | |
CN114386509A (en) | Data fusion method and device, electronic equipment and storage medium | |
CN112580079A (en) | Authority configuration method and device, electronic equipment and readable storage medium | |
CN114547696A (en) | File desensitization method and device, electronic equipment and storage medium | |
CN114491646A (en) | Data desensitization method and device, electronic equipment and storage medium | |
CN114827354A (en) | Identity authentication information display method and device, electronic equipment and readable storage medium | |
CN113434542A (en) | Data relation identification method and device, electronic equipment and storage medium | |
CN114157634A (en) | Unique account identification method, device, equipment and storage medium | |
CN114840388A (en) | Data monitoring method and device, electronic equipment and storage medium | |
CN114996386A (en) | Business role identification method, device, equipment and storage medium | |
CN114897624A (en) | Policy data merging method, device, equipment and storage medium | |
CN114723400A (en) | Business authorization management method, device, equipment and storage medium | |
CN114911479A (en) | Interface generation method, device, equipment and storage medium based on configuration | |
CN114461531A (en) | Platform adaptability test method, device, equipment and storage medium of test case | |
CN114625700A (en) | Authority-based file display method, device, equipment and storage medium | |
CN115357666A (en) | Abnormal business behavior identification method and device, electronic equipment and storage medium | |
CN113343103A (en) | Report form pushing method and device, electronic equipment and storage medium | |
CN112669029A (en) | Bank card adding method, device, equipment and computer readable storage medium | |
CN112446781A (en) | Wind control data generation method, device, equipment and computer readable storage medium | |
CN113626533B (en) | Ultraviolet power detection method and device and electronic equipment | |
CN114564483A (en) | Data structure-based data checking method and device, electronic equipment and medium | |
CN114614993A (en) | System interaction method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |