CN112199113A - Software service access control method and device - Google Patents
Software service access control method and device Download PDFInfo
- Publication number
- CN112199113A CN112199113A CN202011172482.0A CN202011172482A CN112199113A CN 112199113 A CN112199113 A CN 112199113A CN 202011172482 A CN202011172482 A CN 202011172482A CN 112199113 A CN112199113 A CN 112199113A
- Authority
- CN
- China
- Prior art keywords
- service
- module
- customized
- standard
- processing result
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 18
- 238000012545 processing Methods 0.000 claims description 92
- 238000013507 mapping Methods 0.000 claims description 15
- 238000012423 maintenance Methods 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 2
- 230000002688 persistence Effects 0.000 description 2
- 238000004080 punching Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/604—Tools and structures for managing or administering access control systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a software service access control method and a device, which are used for solving the problems that the current client cannot be kept under the same software version when customizing logic, different software versions need to be deployed independently, and the unified maintenance and management of software are not facilitated; the software module is divided into a standard service module and a customized service module, the standard service module is used for realizing a general service function, and the customized service module is used for realizing a customized service function; aiming at different users, when a user initiates a service access request, different service inlets are distributed based on a route, the user generally enters a standard service module, the customized user enters a customized service module to complete a corresponding service function, the client standardization or customized service is realized, independent software versions do not need to be formed aiming at customized service clients respectively, and the unified maintenance and management of the versions are facilitated.
Description
Technical Field
The invention relates to the technical field of software, in particular to a software service access control method and device.
Background
Currently, Software customization services or functions of SAAS (Software-as-a-Service) can only be deployed independently. When a plurality of clients have different service flows or function requirements, different software versions need to be deployed for each client independently, the customization requirements cannot be completed under the condition of keeping the versions consistent, the unified management and maintenance of the software versions are inconvenient, and the version maintenance difficulty is increased.
Disclosure of Invention
The invention provides a software service access control method and a device, which mainly solve the technical problems that: and the customized requirements of different customers are realized under the condition of keeping the same software.
In order to solve the above technical problem, the present invention provides a software service access control method, including:
receiving a service access request, and generating a service entrance acquisition request based on the service access request, wherein the service entrance acquisition request carries identification information of a user requesting access;
based on the identification information of the user requesting to access, searching and obtaining corresponding target service entrance information from the association mapping relation; the incidence mapping relation comprises a corresponding relation between the user identification information and the service entrance;
sending the service access request to a target service module corresponding to the target service entrance; the target service module comprises a standard service module or a customized service module; the standard service module is used for realizing a general service function, and the customized service module is used for realizing a customized service function;
when the target service module is the customized service module, completing customized service logic processing by using the customized service module to generate a customized service processing result; and then, carrying out unified logic processing by using the standard service module to generate a final processing result, and sending the final processing result to the client for the user to check.
Optionally, when the target service module is the standard service module, the standard service module is used to complete standard service logic processing, generate a standard service processing result, and send the standard service processing result to the client for the user to view.
The present invention also provides a software service access control device, including:
the client management module is used for receiving a service access request, generating a service entrance acquisition request based on the service access request, wherein the service entrance acquisition request carries identification information of a user requesting access, and sending the identification information to the routing control module; the system comprises a routing control module, a target service module and a service access request module, wherein the routing control module is used for receiving target service entrance information sent by the routing control module and sending the service access request to the target service module corresponding to the target service entrance; the target service module comprises a standard service module or a customized service module; the standard service module is used for realizing a general service function, and the customized service module is used for realizing a customized service function;
the routing control module stores an association mapping relation between user identification information and a service entrance, is used for receiving the service entrance acquisition request, searches and obtains corresponding target service entrance information from the association mapping relation based on the identification information of the user accessing the request, and sends the target service entrance information to the client management module;
when the target service module is the customized service module, the customized service module is used for receiving the service access request, completing customized service logic processing, generating a customized service processing result and sending the customized service processing result to the standard service module; the standard service module is used for receiving the customized service processing result, performing unified logic processing to generate a final processing result and sending the final processing result to the customized service module; the customized service module receives the final processing result and sends the final processing result to the customer management module; and the client management module is used for sending the final processing result to a client for a user to check.
Optionally, the standard service module is further configured to, when the target service module is the standard service module, receive the service access request, complete standard service logic processing, generate a standard service processing result, and send the standard service processing result to the customer management module; and the client management module is also used for sending the standard processing result to the client for the user to check.
The invention has the beneficial effects that:
according to the software service access control method and device provided by the invention, the problems that the current client cannot be kept under the same software version when customizing logic, different software versions need to be deployed independently, and unified maintenance and management of software are not facilitated are solved; the software module is divided into a standard service module and a customized service module, the standard service module is used for realizing a general service function, and the customized service module is used for realizing a customized service function; aiming at different users, when a user initiates a service access request, different service inlets are distributed based on a route, the user generally enters a standard service module, the customized user enters a customized service module to complete a corresponding service function, the client standardization or customized service is realized, independent software versions do not need to be formed aiming at customized service clients respectively, and the unified maintenance and management of the versions are facilitated.
Drawings
Fig. 1 is a schematic structural diagram of a software service access control apparatus according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a software service access control method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a software service access control device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following detailed description and accompanying drawings. 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 first embodiment is as follows:
when the customized service or function of a customer is finished in the prior art, a whole set of software needs to be customized independently or fixed to a single version, which causes that the software version of the customized service or function cannot be kept consistent with the standard function software version, thereby further causing the problems of untimely software updating, high difficulty in later maintenance, low resource utilization rate, high software failure rate and the like. In order to solve the above problems and achieve the customized requirements of customers under the same software warranty, the present embodiment provides a software service access control device, please refer to fig. 1, which mainly includes a customer management module 10, a routing control module 20, a customized service module 30 and a standard service module 40, wherein:
the client management module 10 is configured to receive a service access request, generate a service entry obtaining request based on the service access request, where the service entry obtaining request carries identification information of a user requesting access, and send the service entry obtaining request to the routing control module 20. The identification information of the user is used for uniquely representing the user, and includes but is not limited to information such as user account information, a user mobile phone number, an identity card number and the like.
The routing control module 20 stores an association mapping relationship between the user identification information and the service entry, and is configured to receive a service entry acquisition request sent by the client management module 10, access the identification information of the user based on the request, find corresponding target service entry information from the association mapping relationship, and send the target service entry information to the client management module 10. The function of dynamically allocating the entry address of the software function is realized.
For example, when the user requesting access is a customized user and the service access request initiated this time is a customized service, the routing control module 20 feeds back the service entry of the user as the access entry of the customized service module 30 to the customer management module 10 based on the pre-stored association mapping relationship between the user identification information and the service entry, so as to implement the customized function through the customized service module 30.
The customer management module 10 may also receive the target service entry information sent by the routing control module 20, and send the service access request to a target service module corresponding to the target service entry; the target service module includes either a standard service module 40 or a customized service module 30.
The standard service module 40 is used for implementing a general service function, is a module of a software non-customized function, and provides a standardized function entrance common to all customers. After the routing control module 20 dynamically obtains the function entry, standardized functions or processes may be executed within the module.
The customized services module 30 is used to implement customized services functionality. Providing access to the customized services or functions for all customized customers. After the routing control module 20 dynamically obtains the function entry, the customized services or functions may be executed within the module.
When the target service module is the customized service module 30, the customized service module 30 is configured to receive a service access request, complete customized service logic processing, generate a customized service processing result, and send the customized service processing result to the standard service module 40; the standard service module 40 is used for receiving the customized service processing result, performing unified logic processing, generating a final processing result, and sending the final processing result to the customized service module 30; the customized service module 30 receives the final processing result and sends the final processing result to the customer management module 10; the customer management module 10 is further configured to send the final processing result to the client for the user to view.
The standard service module 40 is further configured to, when the target service module is the standard service module, receive a service access request, complete standard service logic processing, generate a standard service processing result, and send the standard service processing result to the customer management module 10; the customer management module 10 is further configured to send the standard processing result to the client for the user to view.
In an optional embodiment of the present invention, the software module further includes a data control module, and the data control module implements software bottom layer data logic control, and provides general data logic control functions of data addition, deletion, update, query, and the like of all functions. After the logic processing of the service data is completed by the customized service module and the standard service module, the service data enters the data control module to perform data persistence operation.
The invention can efficiently and simply realize the program unified version management of the customized service or function and the standard service or function of the client, and solve the problems of disordered program structure and incapability of unified maintenance caused by the customized service or function of the client.
Example two:
in this embodiment, on the basis of the first embodiment, a software service access control method corresponding to a software service access control device is provided, please refer to fig. 2, and the method includes:
and S21, receiving the service access request.
And S22, generating a service entrance acquisition request based on the service access request, wherein the service entrance acquisition request carries the identification information of the user requesting to access.
S23, based on the identification information of the user requesting access, searching and obtaining corresponding target service entrance information from the association mapping relation; the association mapping relation comprises a corresponding relation between the user identification information and the service entrance.
S24, sending the service access request to a target service module corresponding to the target service entrance; the target service module comprises a standard service module or a customized service module; the standard service module is used for realizing a general service function, and the customized service module is used for realizing a customized service function.
S25, when the target service module is the customized service module, the customized service module is used for finishing the customized service logic processing and generating a customized service processing result;
and S26, performing unified logic processing by using the standard service module to generate a final processing result, and sending the final processing result to the client for the user to check.
And S27, when the target service module is the standard service module, the standard service module is used for finishing the standard service logic processing, generating a standard service processing result and sending the standard service processing result to the client for the user to check.
Example three:
the present embodiment provides a software service access control device based on the first embodiment, which is different from the first embodiment in that the software service access control device provided in the present embodiment combines with a client to describe a service access control flow in more detail, please refer to fig. 3, and includes:
s301, adding new customer information at a system management end. The customer information should include identification information of the customer and customized service content, where the identification information includes a login account, identity information, a contact method, and the like. And the management terminal sends the client complete information to the client management module so as to carry out subsequent processing.
S302, after receiving the client information sent by the management terminal, the client management module stores the client information in a database or other data persistence layers. And meanwhile, sending the customized service information of the client to the routing control module so as to record the mapping relation between the client information and the service entrance information.
S303, after receiving the customized service information sent by the customer management module, the routing control module generates customer customized service entrance information and stores the incidence relation information of the customer and the service entrance. And meanwhile, the routing processing result information is returned to the client management module.
The routing control module is a core module of the device. And the customized service of multiple clients is realized under the same version by recording the association relationship between the clients and the customized service entrance. The customized service realizes the distinctive requirements according to the requirements of the clients, and the service entrance is not exposed to other clients. When the client uses the service function, the client enters the customized function module through the service entrance bound with the client. Therefore, the consistency of the product versions is maintained, the customization requirements of customers are met, and the problem of inconsistent versions in the traditional software customization is solved.
And S304, after receiving the processing result returned by the routing control module, the client management module returns the whole processing result of the client information to the system management terminal. The overall processing result comprises: and storing the result of the client information and generating the result of the client routing information.
S305, after the user takes the software access entry and the account information, the user can access services provided by the software, including standard services and customized services of the user. The user sends the required service information to the client management module of the software at the client. And accessing the software by using a computer browser, or using a mobile phone WeChat applet, or using a corresponding application program.
S306, after receiving the service access request of the user, the customer management module sends the request to the routing control module according to the customer information corresponding to the user account so as to obtain the service entrance corresponding to the customer.
The access address of the routing control module is unique, namely the addresses of all clients accessing the routing control module are the same, in the routing control module, according to the client information of the user accessing the system at present, the user enters different service inlets, the customized user enters the customized service module, and the common user enters the standard service module. The service logic is divided into standard service and customized service, and the method ensures that the client side of the product is unique, namely the client sides used by all clients are the same, so that the problem that the client sides need to be customized does not exist, and the consistency of client side versions is ensured.
S307, after receiving the service entrance request sent by the customer management module, the routing control module finds corresponding service entrance information according to the customer information and the mapping association relationship between the customer and the service entrance stored in the step 3, and returns the service entrance information as target service entrance information to the customer management module.
The routing control module can be realized by a set of independent software components, and can also realize the analysis function by adopting customized special equipment. The core function of the method is to distinguish different clients and solve the problem of processing logic inconsistency under the same function. For example, both the client A and the client B have the function of checking attendance, but the client A needs to send a message prompt immediately after the user punches the card, and the client B needs to send a summary message after all the users punch the card. At the moment, the product only needs to provide two different service inlets according to the requirements of customers, a user calls the same routing control module address after punching a card, the routing control module returns to different service inlets for a customer A and a customer B, and different processing logics are entered to realize customized services of the customers.
S308, after receiving the target service entrance information returned by the routing control module, the customer management module sends the user service request information to the service module corresponding to the target service entrance.
S309, after receiving the user service request information, the customized service module completes customized service logic processing and generates a customized service processing result. The customized service result information is then transmitted to the standard service module.
The customized service module is used for realizing customized requirements of customers. The entrance of each service is private and is only opened to the corresponding client, and the client cannot access the service entrances of other clients. In the customized service module, only differentiated logic processing is carried out, and a universal data structure is not changed. For example, different clients perform attendance message notification in the module. The customized service portal can be simultaneously associated with a plurality of clients, namely a plurality of clients with the same processing logic, and the same portal can be used to ensure the continuous iterability of the product.
And S310, after receiving the processing result sent by the customized service module, the standard service module performs unified logic processing, for example, operations such as recording a service request log. And then returning the final processing result information to the given service module.
The standard service module is the same for all customers and the same standard service must be invoked after all the customized service processes have been completed. The standard service module only processes basic logic, such as recording a log of a user's card punching, and does not perform complex logic processing.
And S311, after receiving the final processing result returned by the standard service module, the customized service module returns the final service processing result information to the customer management module.
And S312, after receiving the final service processing result returned by the customized service module, the customer management module returns the final service processing result to the client.
And after receiving the service processing result, the client displays the service processing result to the user for viewing in various forms such as characters, pictures, sound, videos and the like.
S313, after receiving the user service request information, the standard service module completes standard service logic processing to generate a standard service processing result, and then sends the standard service result information to the client.
And after receiving the service processing result, the client displays the service processing result to the user for viewing in various forms such as characters, pictures, sound, videos and the like.
The routing control module establishes an incidence relation between the client and the service entrance, and when the client accesses the application or uses the related service or function, the client enters the corresponding service entrance by indication, including the standard service entrance and the customized service entrance, thereby realizing the client standardization or customized service, and being in favor of the uniform maintenance and management of the version without forming a separate software version aiming at the customized service client.
It will be apparent to those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be centralized on a single computing device or distributed across a network of computing devices, and optionally they may be implemented in program code executable by a computing device, such that they may be stored on a computer storage medium (ROM/RAM, magnetic disks, optical disks) and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a more detailed description of the present invention that is presented in conjunction with specific embodiments, and the practice of the invention is not to be considered limited to those descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.
Claims (4)
1. A software service access control method, comprising:
receiving a service access request, and generating a service entrance acquisition request based on the service access request, wherein the service entrance acquisition request carries identification information of a user requesting access;
based on the identification information of the user requesting to access, searching and obtaining corresponding target service entrance information from the association mapping relation; the incidence mapping relation comprises a corresponding relation between the user identification information and the service entrance;
sending the service access request to a target service module corresponding to the target service entrance; the target service module comprises a standard service module or a customized service module; the standard service module is used for realizing a general service function, and the customized service module is used for realizing a customized service function;
when the target service module is the customized service module, completing customized service logic processing by using the customized service module to generate a customized service processing result; and then, carrying out unified logic processing by using the standard service module to generate a final processing result, and sending the final processing result to the client for the user to check.
2. The software service access control method of claim 1, further comprising:
and when the target service module is the standard service module, completing standard service logic processing by using the standard service module, generating a standard service processing result and sending the standard service processing result to the client for a user to check.
3. A software service access control apparatus, comprising:
the client management module is used for receiving a service access request, generating a service entrance acquisition request based on the service access request, wherein the service entrance acquisition request carries identification information of a user requesting access, and sending the identification information to the routing control module; the system comprises a routing control module, a target service module and a service access request module, wherein the routing control module is used for receiving target service entrance information sent by the routing control module and sending the service access request to the target service module corresponding to the target service entrance; the target service module comprises a standard service module or a customized service module; the standard service module is used for realizing a general service function, and the customized service module is used for realizing a customized service function;
the routing control module stores an association mapping relation between user identification information and a service entrance, is used for receiving the service entrance acquisition request, searches and obtains corresponding target service entrance information from the association mapping relation based on the identification information of the user accessing the request, and sends the target service entrance information to the client management module;
when the target service module is the customized service module, the customized service module is used for receiving the service access request, completing customized service logic processing, generating a customized service processing result and sending the customized service processing result to the standard service module; the standard service module is used for receiving the customized service processing result, performing unified logic processing to generate a final processing result and sending the final processing result to the customized service module; the customized service module receives the final processing result and sends the final processing result to the customer management module; and the client management module is used for sending the final processing result to a client for a user to check.
4. The software service access control device of claim 3, wherein the standard service module is further configured to, when the target service module is the standard service module, receive the service access request, complete standard service logic processing, generate a standard service processing result, and send the standard service processing result to the customer management module; and the client management module is also used for sending the standard processing result to the client for the user to check.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011172482.0A CN112199113A (en) | 2020-10-28 | 2020-10-28 | Software service access control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011172482.0A CN112199113A (en) | 2020-10-28 | 2020-10-28 | Software service access control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112199113A true CN112199113A (en) | 2021-01-08 |
Family
ID=74011982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011172482.0A Pending CN112199113A (en) | 2020-10-28 | 2020-10-28 | Software service access control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112199113A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114119127A (en) * | 2021-09-24 | 2022-03-01 | 绍兴市博亚服饰有限公司 | MES + informationized integrated system for garment customization |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010193192A (en) * | 2009-02-18 | 2010-09-02 | Nippon Telegr & Teleph Corp <Ntt> | Apparatus, method and program of access control, and service provision system |
CN101980475A (en) * | 2010-10-18 | 2011-02-23 | 北京星网锐捷网络技术有限公司 | Web service configuration management method and device |
CN108279987A (en) * | 2018-01-19 | 2018-07-13 | 口碑(上海)信息技术有限公司 | The method for edition management and device of application program |
CN111641675A (en) * | 2020-04-28 | 2020-09-08 | 深圳壹账通智能科技有限公司 | Multi-tenant access service implementation method, device, equipment and storage medium |
-
2020
- 2020-10-28 CN CN202011172482.0A patent/CN112199113A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2010193192A (en) * | 2009-02-18 | 2010-09-02 | Nippon Telegr & Teleph Corp <Ntt> | Apparatus, method and program of access control, and service provision system |
CN101980475A (en) * | 2010-10-18 | 2011-02-23 | 北京星网锐捷网络技术有限公司 | Web service configuration management method and device |
CN108279987A (en) * | 2018-01-19 | 2018-07-13 | 口碑(上海)信息技术有限公司 | The method for edition management and device of application program |
CN111641675A (en) * | 2020-04-28 | 2020-09-08 | 深圳壹账通智能科技有限公司 | Multi-tenant access service implementation method, device, equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114119127A (en) * | 2021-09-24 | 2022-03-01 | 绍兴市博亚服饰有限公司 | MES + informationized integrated system for garment customization |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10492039B1 (en) | State-based electronic message management systems and controllers | |
CN107800896B (en) | Telephone service interaction method and device | |
US10691715B2 (en) | Dynamically integrated disparate computer-aided dispatch systems | |
US20080040417A1 (en) | System and method for allocating workflow operations to a computing device | |
CN107645562A (en) | Data transmission processing method, device, equipment and system | |
CN113268336B (en) | Service acquisition method, device, equipment and readable medium | |
AU2022215318B2 (en) | Intermediated access to entity information profiles | |
CN113392158A (en) | Service data processing method and device and data center | |
US20080313090A1 (en) | Interaction-management methods and platform for client-agent interaction-related environments | |
CN111010527A (en) | Method and related device for establishing video call through short message link | |
CN112330291A (en) | Remote service auditing method and device, computer equipment and storage medium | |
CN108550057A (en) | Agent answering request processing method, electronic device and computer readable storage medium | |
US11093309B1 (en) | Communication hub for information technology (IT) services | |
CN116991929A (en) | Micro-service system based on big hospital data | |
CN112233265A (en) | Electronic sign-in method and related device | |
CN112199113A (en) | Software service access control method and device | |
CN104160675A (en) | Method of filtering applications | |
EP4241437B1 (en) | Systems for providing personalized context | |
CN116226499A (en) | Information query method and device and electronic equipment | |
CN112561593B (en) | Points issuance control method and its device, equipment and medium | |
CN112799929B (en) | Root cause analysis method and system of alarm log | |
US20200322293A1 (en) | Information processing system and method | |
CN107819634A (en) | Resource collaboration method, apparatus, server and system based on ERP system | |
CN111163237B (en) | Call service flow control method and related device | |
WO2016145807A1 (en) | Telephone number processing method and device |
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 |