CN111383003B - Method, device, computer equipment and storage medium for fast platform access - Google Patents

Method, device, computer equipment and storage medium for fast platform access Download PDF

Info

Publication number
CN111383003B
CN111383003B CN201811638536.0A CN201811638536A CN111383003B CN 111383003 B CN111383003 B CN 111383003B CN 201811638536 A CN201811638536 A CN 201811638536A CN 111383003 B CN111383003 B CN 111383003B
Authority
CN
China
Prior art keywords
interface
service
information
platform
sub
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.)
Active
Application number
CN201811638536.0A
Other languages
Chinese (zh)
Other versions
CN111383003A (en
Inventor
徐子为
侯俊丞
蔡天任
张夏华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Baiguoyuan Information Technology Co Ltd
Original Assignee
Guangzhou Baiguoyuan Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN201811638536.0A priority Critical patent/CN111383003B/en
Publication of CN111383003A publication Critical patent/CN111383003A/en
Application granted granted Critical
Publication of CN111383003B publication Critical patent/CN111383003B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • G06Q20/065Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme using e-cash
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • G06Q20/123Shopping for digital content
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions

Abstract

The invention discloses a method, a device, computer equipment and a storage medium for accessing a rapid platform, which comprise the steps of obtaining access information of a service processing end to a virtual currency platform, wherein the access information comprises identity information of the service processing end; selecting a driving engine accessed to the virtual currency platform according to the identity information to connect a rear end driving interface of the virtual currency platform, wherein the rear end driving interface is communicated with a front end interface of the virtual currency platform to acquire a service request of a client; and creating an ID number for the service processing end according to the identity information, associating the ID number with a driving engine and a back-end driving interface, and writing the association information into an information list. According to the method and the system, the virtual currency platform is arranged, the business processing ends of business processing of various virtual currency bodies are assembled, so that the client can quickly acquire business processing services of various virtual currencies, the operation is simple and convenient, and the mode of the virtual currency platform accessed by the business processing ends is simple, quick and convenient.

Description

Method, device, computer equipment and storage medium for fast platform access
Technical Field
The present invention relates to the field of computer application technologies, and in particular, to a method and apparatus for fast platform access, a computer device, and a storage medium.
Background
With the development of the internet, many businesses and services are performed through the internet, and payment is involved in the business and service process, and virtual currency can be adopted for payment besides payment among banks. The virtual currency refers to non-real currency, and can be virtual currency designed by each company for popularizing own products and can be used only in a certain product field of the company, such as Q currency, Q point, micro currency and the like.
With the development of the mobile internet, related operations of the virtual currencies are operated by the APP, and the current general solution for implementing the virtual currency service of the APP backend server includes: 1. the client directly operates the currency table; the scheme has the advantages that the client logic redundancy is realized, the same logic is realized for each service, the development cost is high, and the code quality and logic correctness are difficult to ensure. 2. Each APP encapsulates a monetary interface; this approach avoids the client operating the money table directly. When multiple APPs all need to access the virtual currency service, the same set of interfaces still need to be deployed for each APP, and still higher deployment, development and maintenance costs are required.
Disclosure of Invention
The invention aims to at least solve one of the technical defects, and discloses a method, a device, computer equipment and a storage medium for quick platform access, which can simultaneously integrate a plurality of different virtual currency business processing terminals on a platform, enable the business processing terminals to be quickly accessed to the platform, share front-end access and have low development cost.
In order to achieve the above object, the present invention discloses a method for fast platform access, comprising:
acquiring access information of a service processing end to a virtual currency platform, wherein the access information comprises identity information of the service processing end;
selecting a driving engine accessed to the virtual currency platform according to the identity information to connect a rear end driving interface of the virtual currency platform, wherein the rear end driving interface is communicated with a front end interface of the virtual currency platform to acquire a service request of a client;
and creating an ID number for the service processing end according to the identity information, associating the ID number with the driving engine and the back-end driving interface, and writing the association information into an information list.
Optionally, the back-end driving interface is provided with a plurality of back-end driving interfaces, and after writing the associated information into the information list, the back-end driving interface further includes:
And synchronizing the associated information written into the information list to all back-end drive interfaces.
Optionally, each back end driving interface in the virtual currency platform is arranged in different areas in a distributed deployment mode, each back end driving interface only receives the service request in the area where the back end driving interface is located, each back end driving interface is connected with the front end interface, and the service request received by the front end interface through the hash layer is routed to the corresponding back end driving interface.
Optionally, the back-end driving interface includes a plurality of first sub-interfaces, each of the first sub-interfaces has an exclusive service processing type, the front-end interface includes a plurality of second sub-interfaces, each of the second sub-interfaces has an exclusive service receiving type, and the service processing types of the first sub-interfaces and the service receiving types of the second sub-interfaces form a one-to-one mapping relationship.
Optionally, the information list further includes an identity authentication rule, and after creating an ID number for the service processing end according to the identity information, associating the ID number with the driving engine and the back-end driving interface, and writing the associated information into the information list, the method further includes:
The front-end interface receives a service request from a client, wherein the service request comprises identity information of the client and request parameters;
matching the identity information and the request parameters in an information list to judge whether the client side has access rights for acquiring the request parameters;
and when the client side has the access right for acquiring the request parameters, sending the service request to the service processing side.
Optionally, before the identity information and the request parameter are matched in the information list to determine whether the access right is provided, the method further includes:
checking the service request according to a preset validity check rule to identify whether the service request is legal or not, wherein the validity check rule comprises the step of judging whether the service request is modified in the transmission process or not;
and when the service request is illegal, sending an abnormal notification to the client to remind.
Optionally, the service request includes location information of the client, and when the client has access rights for obtaining the request parameters, the method for sending the service request to the service processing end includes:
Acquiring a service processing type requested by a client according to the request parameter, and acquiring a second sub-interface corresponding to a service receiving type with a mapping relation with the service processing type in a front-end interface according to the service processing type;
matching a back-end driving interface through a hash layer according to the position information in the service request;
matching a first sub-interface with a mapping relation with the second sub-interface in the back-end driving interface according to the second sub-interface information;
and acquiring a driving engine of the service processing end from the information list through the first sub-interface, and connecting the first sub-interface with the driving engine so as to send the service request to the service processing end.
In another aspect, the present application discloses a device for fast platform access, comprising:
the acquisition module is used for: the method comprises the steps of executing access information for obtaining access of a service processing end to a virtual currency platform, wherein the access information comprises identity information of the service processing end;
the processing module is used for: a drive engine configured to perform selection of access to the virtual currency platform according to the identity information to connect a back end drive interface of the virtual currency platform, the back end drive interface being in connection communication with a front end interface of the virtual currency platform to obtain a service request of a client;
The execution module: and the system is configured to create an ID number for the service processing end according to the identity information, associate the ID number with the drive engine and the back-end drive interface, and write the associated information into an information list.
Optionally, the back-end driving interface is provided with a plurality of interfaces, and further includes:
and a synchronization module: is configured to synchronize the associated information written in the information list into all back-end drive interfaces.
Optionally, each back end driving interface in the virtual currency platform is arranged in different areas in a distributed deployment mode, each back end driving interface only receives the service request in the area where the back end driving interface is located, each back end driving interface is connected with the front end interface, and the service request received by the front end interface through the hash layer is routed to the corresponding back end driving interface.
Optionally, the back-end driving interface includes a plurality of first sub-interfaces, each of the first sub-interfaces has an exclusive service processing type, the front-end interface includes a plurality of second sub-interfaces, each of the second sub-interfaces has an exclusive service receiving type, and the service processing types of the first sub-interfaces and the service receiving types of the second sub-interfaces form a one-to-one mapping relationship.
Optionally, the information list further includes an identity authentication rule, and further includes:
the front-end receiving module: the method comprises the steps that an executive control front-end interface receives a service request from a client, wherein the service request comprises identity information of the client and request parameters;
and the permission matching module is used for: the client is configured to perform matching of the identity information and the request parameters in an information list to judge whether the client has access rights for acquiring the request parameters;
and a sending module: is configured to send the service request to the service processing end when the client has access rights to obtain the request parameters.
Optionally, the method further comprises:
and a verification module: is configured to perform a check on the service request according to a preset validity check rule to identify whether the service request is valid, the validity check rule including determining whether the service request has been modified during transmission;
the abnormality reminding module is used for: is configured to send an exception notification to the client for alerting when the service request is not legitimate.
Optionally, the service request includes location information of the client, and the sending module further includes:
The second sub-interface acquisition module: the system comprises a front-end interface, a request parameter acquisition module, a service receiving module and a sub-interface, wherein the front-end interface is configured to acquire a service processing type requested by a client according to the request parameter, and acquire a second sub-interface corresponding to a service receiving type with a mapping relation with the service processing type in the front-end interface according to the service processing type;
the back end driving interface matching module: configured to perform matching of a back-end driver interface through a hash layer in accordance with location information in the service request;
the first sub-interface acquisition module: configured to perform matching of a first sub-interface having a mapping relation with the second sub-interface in the back-end driving interface according to the second sub-interface information;
the drive engine connection module: and the driving engine is configured to acquire the service processing end from the information list through the first sub-interface, and the first sub-interface is connected with the driving engine so as to send the service request to the service processing end.
In another aspect, the application discloses a computer device comprising a memory and a processor, the memory having stored therein computer readable instructions which, when executed by the processor, cause the processor to perform the steps of the method of fast platform access disclosed above.
In another aspect, the present application discloses a storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the method of fast platform access disclosed above.
The beneficial effects of the invention are as follows: the application discloses a method, a device, computer equipment and a storage medium for accessing a rapid platform, wherein a virtual currency platform is arranged to collect business processing ends of business processing of various virtual currency main bodies, and a client can process related businesses of different virtual currencies through the platform only by accessing the virtual currency platform. Specifically, a unified front end interface is arranged in the virtual currency platform, the client end is connected with the front end interface to carry out service request, the front end interface is connected with a rear end driving interface, the rear end driving interface selects a corresponding driving engine according to the main body of the virtual currency of the requested service, so that the client end is connected with a corresponding service processing end to carry out service processing.
Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a flow chart of a method for rapid platform access according to the present invention;
FIG. 2 is a block diagram of a fast platform access according to the present invention;
FIG. 3 is a flowchart of a method for a client to access a service processing end according to the present invention;
FIG. 4 is a flow chart of a method for sending a service request to a service processing end according to the present invention;
FIG. 5 is a flow chart of a method for verifying according to a service request according to the present invention;
FIG. 6 is a block diagram of a device for fast platform access according to the present invention;
fig. 7 is a basic structural block diagram of the computer device of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
Specifically, referring to fig. 1-2, the present invention discloses a method for accessing a fast platform, which includes:
s1000, obtaining access information of a service processing end to a virtual currency platform, wherein the access information comprises identity information of the service processing end;
the virtual currency platform is a platform which is specially used for providing unified access for various virtual currencies and carrying out relevant virtual currency business processing, adopts a unified access interface, integrates a connection interface of various virtual currency business processing ends in the platform, and a client can be distributed to a corresponding back-end driving interface according to the currency type requested by the client by only accessing the unified access interface, and is connected with a business processing end corresponding to the currency type for processing.
The service processing end is a terminal with a certain virtual currency service processing capability, and the service processing can be performed on the virtual currency by accessing the service processing end, such as inquiring, data updating, data clearing, virtual currency freezing, transferring and the like.
The access information is the request of the business processing end of the business processing of the virtual currency for accessing the unified virtual currency platform, because the number of the business processing ends of the virtual currency is large, users need to log in the business processing end corresponding to the currency one by one when processing different related businesses of the virtual currency, the operation is troublesome, the business processing ends of the business processing of a plurality of virtual currencies are unified on one virtual currency platform, the client side accesses the virtual currency platform through a unified interface, and the business processing ends of the corresponding virtual currency business processing can be automatically matched for business processing, so that the business processing is performed without logging in a plurality of different business processing ends, and the operation is simpler and more convenient.
Because the above-mentioned can connect a plurality of different business processing terminals in the virtual currency platform, the driving engines of different business processing terminals are different, in order to distinguish, so it is necessary to obtain the identity information of the business processing terminal, when the business processing terminal requests to access the virtual currency platform, the access information should include the identity information of the business processing terminal.
S2000, selecting a driving engine accessed to the virtual currency platform according to the identity information to connect a rear end driving interface of the virtual currency platform, wherein the rear end driving interface is communicated with a front end interface of the virtual currency platform to acquire a service request of a client;
when the identity information of the service processing end is obtained, the type of the virtual currency processed by the service processing end and the driving engine used by the service processing end are identified according to the identity information of the service processing end, the driving engine which can be matched with the service processing end is selected from the virtual currency platform, and a rear end driving interface of the virtual currency is accessed through the driving engine.
In the application, a driving engine library is integrated on the virtual currency platform, a plurality of different driving engines are deployed in the driving engine library for the service processing end to select and access, wherein the driving engine library also comprises a standard driving engine, and the service processing end can also select the standard driving engine when accessing to the rear-end driving interface. In one embodiment, the back-end driver interface is a standard interface, and the back-end driver interface and the service processing end are connected together for data communication through the driver engine.
In an embodiment, the back-end driving interface is divided into a plurality of first sub-interfaces according to the processing type, where each first sub-interface is a standard interface, where the processing type includes inquiry, update, clearing, freezing, transferring, and the like, each processing type is controlled by a standard first sub-interface, and each first sub-interface can be connected to the service processing end through the above-disclosed driving engine library to perform corresponding currency service processing, for example, when the first sub-interface with the processing type being the inquiry is connected to the service processing end a through the driving engine, the inquiry service of the virtual currency processed by the service processing end is performed in the service processing end a. The first sub-interface is connected with different driving engines to be connected with different service processing ends for service processing.
In the application, the front-end interface is an interface of the virtual currency platform facing all clients, and the clients are data output interfaces for requesting to execute corresponding virtual currency business on the business processing end. In the virtual currency platform, a unified front-end interface is adopted, namely, different clients can transmit own virtual currency service requests to corresponding service processing ends through the front-end interface.
Because the back-end driving interface divides the first sub-interface according to different service types, in an embodiment, the front-end interface also divides the back-end driving interface into a plurality of second sub-interfaces according to the service types, the service types corresponding to the second sub-interfaces also comprise inquiry, update, zero clearing, freezing, transfer and the like, and the first sub-interfaces and the second sub-interfaces of the same service types are mapped with each other, namely when a service request instruction of a client is a second sub-interface for transferring, when data is transmitted to the back-end driving interface, the first sub-interface for transferring is also called, and the first sub-interface calls a driving engine corresponding to a service processing end of the request to execute the transfer service.
In another embodiment, the front-end interface may not be divided into a plurality of second sub-interfaces, and the first sub-interface of the type is called in the back-end driving interface to complete the service processing of the type by identifying the category of the client request. It should be noted that the front-end interface and the back-end drive interface are both interfaces with expandable functions, and when a new function exists, only the front-end interface and the back-end drive interface need to be expanded.
S3000, creating an ID number for the service processing end according to the identity information, associating the ID number with the driving engine and the back-end driving interface, and writing the association information into an information list.
After the connection relation between the back end driving interface and the service processing end is established, in order to distinguish different service processing ends, an ID number is created for each newly accessed service processing end, the ID numbers are mapped with the corresponding driving engine and the connection information of the back end driving connection, and the information is written into an information list together for storage.
In the application, the information list is a set of connection information of all service processing terminals to the virtual currency platform, the service processing terminals written in the information list are legal service processing terminals capable of executing operation tasks, and the service processing terminal information which is not written in the information list cannot be accessed.
Further, in order to ensure the security of the access of the service processing end and control the flow of the access of the service processing end, the access authority of the service processing end may be written in the information list, for example, the type of the client accessing the service processing end, the area position of the client, and the like are specified.
According to the method and the system, the virtual currency platform is arranged, the business processing ends of business processing of various different virtual currency bodies are assembled, and the business processing ends only need to be connected to the virtual currency platform, so that the client can process related businesses of different virtual currencies through the platform. Specifically, a unified front end interface is arranged in the virtual currency platform, the client end is connected with the front end interface to carry out service request, the front end interface is connected with a rear end driving interface, the rear end driving interface selects a corresponding driving engine according to the main body of the virtual currency of the requested service, so that the client end is connected with a corresponding service processing end to carry out service processing.
The back-end driving interfaces are provided with a plurality of back-end driving interfaces, and the back-end driving interfaces are distributed according to the area. After one of the back-end driving interfaces is connected with a new service processing end, the associated information written in the information list by the new service processing end is synchronized to all the back-end driving interfaces, so that other back-end driving interfaces can also simultaneously correspond to the associated service of the corresponding type of virtual currency.
In an embodiment, each back-end driving interface in the virtual currency platform is disposed in a different area in a distributed deployment manner, each back-end driving interface only receives a service request in the area where the back-end driving interface is located, and each back-end driving interface is connected with a front-end interface, and the service request received by the front-end interface through the hash layer is routed to the corresponding back-end driving interface:
the division of the regional positions can be formulated according to the service scale of the virtual currency platform, when the service scale of the virtual currency platform relates to the world, servers corresponding to the back-end driving interfaces can be deployed at all the positions of the world, for example, the regional positions are divided, the specific positions and the number of the back-end driving interfaces can be set according to the current flow, so that the flow is split and controlled, and the processing speed of the request instruction is accelerated.
When a plurality of back-end driving interfaces are provided, each back-end driving interface is divided into a jurisdiction area for better management, and when a client in the jurisdiction area sends a service request, the service request is distributed to the back-end driving interfaces in the corresponding jurisdiction area for processing.
In an embodiment, the jurisdiction range of the back-end driving interface disclosed above is not an absolute range, and when a client requests to access a certain back-end driving interface, the client also obtains the in-use state of the back-end driving interface, when the back-end driving interface is in an available state, the client directly accesses the back-end driving interface, and when the in-use state is unavailable, the client requests are distributed to other back-end driving interfaces.
When the use state is unavailable, the method for distributing the back-end driving interface can be that the available back-end driving interface closest to the current position information of the client is searched and connected by acquiring the current position information of the client. Or adopting a standby interface mode, setting a standby back-end driving interface for each back-end driving interface, and automatically connecting data with the standby back-end driving interface when the back-end driving interface is not currently available, wherein the standby back-end driving interface receives data in the jurisdiction area of the user and also preferentially receives the received data processing task serving as the standby back-end driving interface. In an embodiment, the back-end driving interfaces are standby back-end driving interfaces for each other, so as to improve the risk resistance of the access platform.
Because the back end driving interfaces are provided with a plurality of back end driving interfaces and are deployed according to the area, the back end driving interfaces are connected with the front end interfaces, when the front end interfaces receive service requests about the client, the service requests received by the front end interfaces are routed into the adaptive back end driving interfaces through the hash layer, the hash layer acquires position information representing the position of the client in the service requests, and the service processing end is adapted into the back end driving interface in the position information jurisdiction according to the position information.
Specifically, referring to fig. 3, the information list further includes an identity authentication rule, and after creating an ID number for the service processing end according to the identity information, associating the ID number with the driving engine and the back-end driving interface, and writing the associated information into the information list, the method further includes:
s3100, the front-end interface receives a service request from a client, wherein the service request comprises identity information of the client and request parameters;
the front-end interface is a unified standard interface, and can receive the service request of any client, in order to distinguish the service request, the sent service request should generally include the identity information of the client and the request parameter, where the identity information includes the name or ID number of the service processing end, and the request parameter includes the ID information of the service processing end requesting access, the service type requesting processing, and the requested service content.
S3200, matching the identity information and the request parameters in an information list to judge whether the client side has access rights for acquiring the request parameters;
after identifying that the service request is legal security information, the service request can be analyzed to obtain the identity information and the request parameters of the client in the service request, and the information list is matched according to the obtained identity information and the request parameters to judge whether the service request has access rights. The access right of the service processing end is written in the information list, and only the client side with the access right of the service processing end can perform subsequent processing.
The access authority of the service processing end comprises the access authority aiming at the client, namely judging whether the client can request the data processing of the service processing end, and the other is limiting the service type of the request processing of the service processing end, namely the service processing end can process the request of a certain service type or a certain service type sent by the client, and the rest is not authorized. The authority settings are written into an information list, and after the virtual currency platform receives a service request from the front end, the identity information of the analyzed client and the request parameters are matched in the information list one by one so as to judge whether the virtual currency platform has the access authority.
S3300, when the client side has access right for obtaining the request parameters, the service request is sent to the service processing side.
And when the service request accords with the access right, sending the service request to a service processing end for processing. Further, in this application, referring to fig. 4, the service request includes location information of the client, and when the client has access rights for obtaining the request parameters, the method for sending the service request to the service processing end includes:
s3310, acquiring a service processing type requested by a client according to the request parameter, and acquiring a second sub-interface corresponding to a service receiving type with a mapping relation with the service processing type in a front-end interface according to the service processing type;
in this embodiment, a plurality of second sub-interfaces are deployed on the front-end interface according to the function type, and in the parsed request parameter, the processing type of the client request is obtained, and through the processing type, the second sub-interface corresponding to the processing type in the front-end interface can be called.
S3320, matching a rear end driving interface through a hash layer according to the position information in the service request;
The client side position information is obtained by analyzing the service request, and the middle hash layer matches the position information with the rear end drive interface with jurisdiction authority for the position information.
S3330, matching a first sub-interface with a mapping relation with the second sub-interface in the back-end driving interface according to the second sub-interface information;
in step S3310, the information of the second sub-interface is obtained by identifying the processing type of the service request, and the second sub-interface of the front-end interface and the first sub-interface of the back-end driving interface are mapped one by one according to the function type, so that the corresponding first sub-interface can be matched in the back-end driving interface through the second sub-interface.
S3340, obtaining a driving engine of the service processing end from the information list through the first sub-interface, and connecting the first sub-interface with the driving engine so as to send the service request to the service processing end.
The first sub-interface acquires a driving engine of a service processing end for processing the virtual currency type from an information list through the acquired identity information of the client and the type of the requested virtual currency, and is in data connection with the driving engine, the rear-end driving interface sends the acquired service request to the service processing end, and the service processing end performs data processing on the service request according to the type of the first sub-interface in the rear-end driving interface.
Further, in an embodiment, referring to fig. 5, before the matching between the identity information and the request parameter in the information list to determine whether the access right is provided, the method further includes:
s3400, checking the service request according to a preset validity check rule to identify whether the service request is legal or not, wherein the validity check rule comprises the step of judging whether the service request is modified in the transmission process;
the service request disclosed above is a packaged data packet, where the identity information of the client and the request parameters included in the service request are available after the service request is parsed by the front-end interface, but since the service request is intercepted and modified by a third party, it is generally required to check the service request when parsing is performed to identify whether the service request is legal or not. The validity check rule comprises a plurality of methods for judging whether the service request is modified in the transmission process, wherein one method is to preset a client virtual currency platform accessed to a front-end interface to carry out safe encryption in a public key and private key encryption mode in the data transmission process, and when the service request can be normally decrypted, the current service request is legal, the service request which is not tampered by a third party is a safe service request, and subsequent connection and content reading can be carried out.
S3500, when the service request is illegal, sending an abnormal notification to the client for reminding.
However, when decryption fails or an abnormality is identified in the service request, the current service request is possibly tampered, so that the current service request is not processed, or an abnormality notification is sent to the client to remind.
On the other hand, referring to fig. 6, the present application discloses a device for fast platform access, including:
acquisition module 1000: the method comprises the steps of executing access information for obtaining access of a service processing end to a virtual currency platform, wherein the access information comprises identity information of the service processing end; processing module 2000: a drive engine configured to perform selection of access to the virtual currency platform according to the identity information to connect a back end drive interface of the virtual currency platform, the back end drive interface being in connection communication with a front end interface of the virtual currency platform to obtain a service request of a client; execution module 3000: and the system is configured to create an ID number for the service processing end according to the identity information, associate the ID number with the drive engine and the back-end drive interface, and write the associated information into an information list.
Optionally, the back-end driving interface is provided with a plurality of interfaces, and further includes: and a synchronization module: is configured to synchronize the associated information written in the information list into all back-end drive interfaces.
Optionally, each back end driving interface in the virtual currency platform is arranged in different areas in a distributed deployment mode, each back end driving interface only receives the service request in the area where the back end driving interface is located, each back end driving interface is connected with the front end interface, and the service request received by the front end interface through the hash layer is routed to the corresponding back end driving interface.
Optionally, the back-end driving interface includes a plurality of first sub-interfaces, each of the first sub-interfaces has an exclusive service processing type, the front-end interface includes a plurality of second sub-interfaces, each of the second sub-interfaces has an exclusive service receiving type, and the service processing types of the first sub-interfaces and the service receiving types of the second sub-interfaces form a one-to-one mapping relationship.
Optionally, the information list further includes an identity authentication rule, and further includes: the front-end receiving module: the method comprises the steps that an executive control front-end interface receives a service request from a client, wherein the service request comprises identity information of the client and request parameters; and the permission matching module is used for: the client is configured to perform matching of the identity information and the request parameters in an information list to judge whether the client has access rights for acquiring the request parameters; and a sending module: is configured to send the service request to the service processing end when the client has access rights to obtain the request parameters.
Optionally, the method further comprises: and a verification module: is configured to perform a check on the service request according to a preset validity check rule to identify whether the service request is valid, the validity check rule including determining whether the service request has been modified during transmission; the abnormality reminding module is used for: is configured to send an exception notification to the client for alerting when the service request is not legitimate.
Optionally, the service request includes location information of the client, and the sending module further includes: the second sub-interface acquisition module: the system comprises a front-end interface, a request parameter acquisition module, a service receiving module and a sub-interface, wherein the front-end interface is configured to acquire a service processing type requested by a client according to the request parameter, and acquire a second sub-interface corresponding to a service receiving type with a mapping relation with the service processing type in the front-end interface according to the service processing type; the back end driving interface matching module: configured to perform matching of a back-end driver interface through a hash layer in accordance with location information in the service request; the first sub-interface acquisition module: configured to perform matching of a first sub-interface having a mapping relation with the second sub-interface in the back-end driving interface according to the second sub-interface information; the drive engine connection module: and the driving engine is configured to acquire the service processing end from the information list through the first sub-interface, and the first sub-interface is connected with the driving engine so as to send the service request to the service processing end.
Since the above disclosed application software update detection device is an introduction of products corresponding to the application software update detection methods one by one, the functions are the same, and the description thereof is omitted herein.
The embodiment of the invention provides a basic structure block diagram of computer equipment and please refer to fig. 7.
The computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected by a system bus. The nonvolatile storage medium of the computer device stores an operating system, a database and computer readable instructions, the database can store a control information sequence, and the computer readable instructions can enable the processor to realize a method for accessing a rapid platform when the computer readable instructions are executed by the processor. The processor of the computer device is used to provide computing and control capabilities, supporting the operation of the entire computer device. The memory of the computer device may have stored therein computer readable instructions that, when executed by the processor, cause the processor to perform a method of fast platform access. The network interface of the computer device is for communicating with a terminal connection. It will be appreciated by those skilled in the art that the structure shown in fig. 7 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
The computer equipment receives the state information of the prompt behavior sent by the associated service processing end, namely whether the associated terminal starts the prompt or not and whether the user closes the prompt task or not. By verifying whether the task conditions are met or not, a corresponding preset instruction is further sent to the associated terminal, so that the associated terminal can execute corresponding operation according to the preset instruction, and effective supervision of the associated terminal is achieved. Meanwhile, when the prompt information state is different from a preset state instruction, the server side controls the associated terminal to continuously ring so as to prevent the problem that the prompt task of the associated terminal is automatically terminated after being executed for a period of time.
The invention also provides a storage medium storing computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the method of fast platform access according to any of the embodiments described above.
Those skilled in the art will appreciate that implementing all or part of the above-described methods in accordance with the embodiments may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. The storage medium may be a nonvolatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a random access Memory (Random Access Memory, RAM).
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present invention, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (10)

1. A method for fast platform access, comprising:
acquiring access information of a service processing end to a virtual currency platform, wherein the access information comprises identity information of the service processing end;
The method comprises the steps that a driving engine accessed to a virtual currency platform is selected according to the identity information to be connected with a rear end driving interface of the virtual currency platform, the rear end driving interface is communicated with a front end interface of the virtual currency platform in a connection mode to obtain service requests of clients, and a plurality of rear end driving interfaces are arranged;
and creating an ID number for the service processing end according to the identity information, associating the ID number with the driving engine and the back-end driving interface, and writing the association information into an information list.
2. The method for rapid platform access according to claim 1, wherein after writing the association information into the information list, further comprising:
and synchronizing the associated information written into the information list to all back-end drive interfaces.
3. The method for accessing a rapid platform according to claim 2, wherein each back-end driving interface in the virtual currency platform is disposed in a different area in a distributed deployment manner, each back-end driving interface only receives service requests in the area where the back-end driving interface is located, each back-end driving interface is connected with a front-end interface, and the service requests received by the front-end interface through the hash layer are routed to the corresponding back-end driving interface.
4. A method for accessing a rapid platform according to claim 3, wherein the back-end driver interface comprises a plurality of first sub-interfaces, each of the first sub-interfaces has a dedicated service processing type, the front-end interface comprises a plurality of second sub-interfaces, each of the second sub-interfaces has a dedicated service receiving type, and the service processing types of each of the first sub-interfaces and the service receiving types of each of the second sub-interfaces form a one-to-one mapping relationship.
5. The method for accessing a rapid platform according to claim 3, wherein the information list further comprises an identity authentication rule, and the method further comprises, after creating an ID number for the service processing end according to the identity information, associating the ID number with the driving engine and the back-end driving interface, and writing the associated information into the information list:
the front-end interface receives a service request from a client, wherein the service request comprises identity information of the client and request parameters;
matching the identity information and the request parameters in an information list to judge whether the client side has access rights for acquiring the request parameters;
And when the client side has the access right for acquiring the request parameters, sending the service request to the service processing side.
6. The method of claim 5, further comprising, prior to matching the identity information and the request parameters in an information list to determine whether access rights are available:
checking the service request according to a preset validity check rule to identify whether the service request is legal or not, wherein the validity check rule comprises the step of judging whether the service request is modified in the transmission process or not;
and when the service request is illegal, sending an abnormal notification to the client to remind.
7. The method for accessing a rapid platform according to claim 5, wherein the service request includes location information of the client, and the method for sending the service request to the service processing end when the client has access rights for obtaining the request parameters comprises:
acquiring a service processing type requested by a client according to the request parameter, and acquiring a second sub-interface corresponding to a service receiving type with a mapping relation with the service processing type in a front-end interface according to the service processing type;
Matching a back-end driving interface through a hash layer according to the position information in the service request;
matching a first sub-interface with a mapping relation with the second sub-interface in the back-end driving interface according to the second sub-interface information;
and acquiring a driving engine of the service processing end from the information list through the first sub-interface, and connecting the first sub-interface with the driving engine so as to send the service request to the service processing end.
8. An apparatus for fast platform access, comprising:
the acquisition module is used for: the method comprises the steps of executing access information for obtaining access of a service processing end to a virtual currency platform, wherein the access information comprises identity information of the service processing end;
the processing module is used for: a drive engine which is configured to be used for executing the selection of accessing the virtual currency platform according to the identity information so as to be connected with a rear end drive interface of the virtual currency platform, wherein the rear end drive interface is communicated with a front end interface of the virtual currency platform in a connection way so as to acquire service requests of clients, and a plurality of rear end drive interfaces are arranged;
the execution module: and the system is configured to create an ID number for the service processing end according to the identity information, associate the ID number with the drive engine and the back-end drive interface, and write the associated information into an information list.
9. A computer device comprising a memory and a processor, the memory having stored therein computer readable instructions that, when executed by the processor, cause the processor to perform the steps of the method of fast platform access according to any one of claims 1 to 7.
10. A storage medium storing computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the method of fast platform access according to any one of claims 1 to 7.
CN201811638536.0A 2018-12-29 2018-12-29 Method, device, computer equipment and storage medium for fast platform access Active CN111383003B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811638536.0A CN111383003B (en) 2018-12-29 2018-12-29 Method, device, computer equipment and storage medium for fast platform access

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811638536.0A CN111383003B (en) 2018-12-29 2018-12-29 Method, device, computer equipment and storage medium for fast platform access

Publications (2)

Publication Number Publication Date
CN111383003A CN111383003A (en) 2020-07-07
CN111383003B true CN111383003B (en) 2024-02-23

Family

ID=71216665

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811638536.0A Active CN111383003B (en) 2018-12-29 2018-12-29 Method, device, computer equipment and storage medium for fast platform access

Country Status (1)

Country Link
CN (1) CN111383003B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101097622A (en) * 2006-06-29 2008-01-02 中国银联股份有限公司 Data processing method and system applied to ideal money field
CN107787502A (en) * 2015-05-13 2018-03-09 索尼公司 Method and system for the certification of ideal money instrument

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7540408B2 (en) * 2006-06-22 2009-06-02 Hip Consult Inc. Apparatus and method for facilitating money or value transfer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101097622A (en) * 2006-06-29 2008-01-02 中国银联股份有限公司 Data processing method and system applied to ideal money field
CN107787502A (en) * 2015-05-13 2018-03-09 索尼公司 Method and system for the certification of ideal money instrument

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
2018 年11 月 市场与调研 加油站传统支付方式分析及统一支付平台的构建;王焕会;化工管理;20181111(第32期);23-24 *

Also Published As

Publication number Publication date
CN111383003A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
JP7144117B2 (en) Model training system and method and storage medium
US20190139047A1 (en) Block chain based resource management
WO2020050943A4 (en) Methods for requesting and authenticating photographic image data
CN105592011B (en) Account login method and device
WO2016118621A1 (en) Methods, apparatus, and systems for resource access permission management
CN110365711B (en) Multi-platform user identity association method and device, computer equipment and computer readable storage medium
US10904243B2 (en) Authenticate a first device based on a push message to a second device
CN106936907B (en) File processing method, logic server, access server and system
CN107645474B (en) Method and device for logging in open platform
KR20150131318A (en) A method and system for transferring data
CN111383003B (en) Method, device, computer equipment and storage medium for fast platform access
US10542569B2 (en) Community-based communication network services
WO2017096886A1 (en) Content pushing method, apparatus and system
US9723436B2 (en) Mobile device location
CN115242433B (en) Data processing method, system, electronic device and computer readable storage medium
CN113784354B (en) Request conversion method and device based on gateway
CN108989418A (en) A kind of resource amount method of mixed cloud object storage common authentication
CN112367302B (en) Identity authentication method and system suitable for chrome browser
KR102116659B1 (en) Method for providing data with enhanced security
CN107517177B (en) Interface authorization method and device
CN112311716A (en) Data access control method and device based on openstack and server
CN114302349B (en) Method and system for extracting number by client
CN113516787B (en) Automatic ticket checking method, device, computer equipment and storage medium
CN112637316B (en) Communication method and device
CN107766093A (en) The sharing method and client of a kind of functional module

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