CN111666166B - Service providing method, device, equipment and storage medium - Google Patents

Service providing method, device, equipment and storage medium Download PDF

Info

Publication number
CN111666166B
CN111666166B CN202010494572.5A CN202010494572A CN111666166B CN 111666166 B CN111666166 B CN 111666166B CN 202010494572 A CN202010494572 A CN 202010494572A CN 111666166 B CN111666166 B CN 111666166B
Authority
CN
China
Prior art keywords
service
target user
interface
version
information
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
CN202010494572.5A
Other languages
Chinese (zh)
Other versions
CN111666166A (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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202010494572.5A priority Critical patent/CN111666166B/en
Publication of CN111666166A publication Critical patent/CN111666166A/en
Application granted granted Critical
Publication of CN111666166B publication Critical patent/CN111666166B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/541Client-server
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/549Remote execution

Abstract

The embodiment of the invention discloses a service providing method, a device, equipment and a storage medium. The method comprises the following steps: acquiring version information of a service interface corresponding to a target user; calling corresponding service strategy data according to the version information of the service interface; and providing corresponding service for the target user according to the service policy data. By the technical scheme, the interface development, maintenance and management cost can be reduced.

Description

Service providing method, device, equipment and storage medium
Technical Field
The present invention relates to computer technologies, and in particular, to a service providing method, apparatus, device, and storage medium.
Background
The professional market settlement platform is a system for providing fund management and clearing service for clients, the clients are from various industries and have respective operation systems, and the clients have simple and complex structures, and the focuses of different clients on the direct connection ports are different, for example: some customers wish to reduce docking, and tend to place the billing rule information and payment order information in one interface, call once; some customers want flexibility in billing, tend to separate the order payment from the billing rules information, and so on. At the same time, the changes of the demands are generated continuously along with the continuous joining of customers, so that the changes of the demands of different customers require the same straight connection port to present some differences for different customers.
In the prior art, each time a customer requirement is newly added, a version of direct connection port needs to be newly developed to meet different service requirements of new and old customers, so that the interface version is in a state of continuous upgrading and changing. Because of the fact that in the prior art, a set of service codes needs to be rewritten every time a version of direct connection port is newly developed, namely, different versions of direct connection ports are respectively corresponding to different service codes, when different versions of interfaces are upgraded each time, multiple sets of service codes corresponding to the existing multiple versions of direct connection ports are required to be simultaneously modified, the workload of development, maintenance and management is huge, the cost is high, and a series of problems that products are difficult to popularize, clients are difficult to dock, versions are difficult to maintain, products are difficult to upgrade, products are difficult to test and the like occur.
Disclosure of Invention
The embodiment of the invention provides a service providing method, a device, equipment and a storage medium, which are used for realizing the reduction of the cost of interface development, maintenance and management.
In a first aspect, an embodiment of the present invention provides a service providing method, including:
acquiring version information of a service interface corresponding to a target user;
calling corresponding service strategy data according to the version information of the service interface;
and providing corresponding service for the target user according to the service policy data.
Further, before the version information of the service interface corresponding to the target user is obtained, the method further includes:
acquiring interface demand information corresponding to the target user;
recommending at least one matched service interface version to the target user according to the interface demand information so as to be selected and confirmed by the target user;
and selecting an interface corresponding to the confirmed service interface version by the target user as a service interface corresponding to the target user.
Further, obtaining interface requirement information corresponding to the target user includes:
providing interface requirement information selectable items for the target user;
and determining interface demand information corresponding to the target user according to the selection operation of the target user based on the interface demand information selectable items.
Further, obtaining version information of the service interface corresponding to the target user includes:
and receiving a service request sent by a target user, wherein the service request comprises version information of a service interface corresponding to the target user.
Further, providing corresponding services for the target user according to the service policy data, including:
generating a standard request message according to the service policy data;
and providing corresponding service for the target user based on the standard request message.
Further, obtaining version information of the service interface corresponding to the target user includes:
acquiring an identity of a target user;
and inquiring and acquiring version information of a service interface corresponding to the target user according to the identity of the target user.
Further, the service policy data includes rule data and/or field data.
In a second aspect, an embodiment of the present invention further provides a service providing apparatus, including:
the version acquisition module is used for acquiring version information of a service interface corresponding to the target user;
the strategy calling module is used for calling corresponding service strategy data according to the version information of the service interface;
and the user service module is used for providing corresponding service for the target user according to the service policy data.
Further, the device further comprises:
the system comprises a demand acquisition module, a service interface generation module and a service interface generation module, wherein the demand acquisition module is used for acquiring interface demand information corresponding to a target user before acquiring version information of a service interface corresponding to the target user;
the version recommending module is used for recommending at least one matched service interface version to the target user according to the interface demand information so as to enable the target user to select and confirm;
and the version confirmation module is used for selecting the interface corresponding to the confirmed service interface version by the target user as the service interface corresponding to the target user.
Further, the requirement acquisition module is specifically configured to:
providing interface requirement information selectable items for the target user;
and determining interface demand information corresponding to the target user according to the selection operation of the target user based on the interface demand information selectable items.
Further, the version acquisition module is specifically configured to:
and receiving a service request sent by a target user, wherein the service request comprises version information of a service interface corresponding to the target user.
Further, the user service module is specifically configured to:
generating a standard request message according to the service policy data;
and providing corresponding service for the target user based on the standard request message.
Further, the version acquisition module is specifically further configured to:
acquiring an identity of a target user;
and inquiring and acquiring version information of a service interface corresponding to the target user according to the identity of the target user.
Further, the service policy data includes rule data and/or field data.
In a third aspect, an embodiment of the present invention further provides a computer apparatus, including:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the service providing method according to any of the embodiments of the present invention.
In a fourth aspect, embodiments of the present invention further provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a service providing method according to any of the embodiments of the present invention.
According to the embodiment of the invention, the version information of the service interface corresponding to the target user is obtained, the corresponding service strategy data is called according to the version information of the service interface, and corresponding service is provided for the target user according to the service strategy data, so that the advantage of using different service strategy data for different versions of service interfaces is utilized, the problem of high cost of development, maintenance and management of the interfaces caused by the fact that the direct connection ports of each version respectively correspond to one set of service codes in the prior art is solved, and the effect of reducing the cost of development, maintenance and management of the interfaces is realized.
Drawings
Fig. 1 is a flowchart of a service providing method according to a first embodiment of the present invention;
fig. 2 is a flow chart of a service providing method according to a second embodiment of the present invention;
fig. 3 is a flow chart of a service providing method according to a third embodiment of the present invention;
fig. 4 is a flow chart of a service providing method according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a service providing device according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to a sixth embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present invention are shown in the drawings.
Example 1
Fig. 1 is a flowchart of a service providing method according to a first embodiment of the present invention. The method is applicable to the case of providing services to users using interfaces of different versions, and the method can be performed by a service providing apparatus, which may be composed of hardware and/or software, and may be generally integrated in a computer device such as a server. The method specifically comprises the following steps:
s110, obtaining version information of a service interface corresponding to the target user.
In this embodiment, the service interface corresponding to the target user may be a service interface currently used by the target user, where the service interface may be, for example, a direct connection port for interfacing with a professional market settlement platform. Because different users may have different requirements for the same service type, different versions of service interfaces may be provided for different user requirements to meet the different requirements of different users. In particular, the version information may be information such as a version number capable of identifying the version of the interface. Exemplary ways of obtaining version information include, but are not limited to, the target user actively reporting, or the target user presetting a desired version number on the platform and storing in a platform server database, querying the database and calling the version number of the target user when needed, and the like.
In the prior art, because service interfaces of different versions correspond to different service codes, and service codes corresponding to service interfaces in the same service type are mostly the same, when the interfaces are updated, if updated contents are codes of the same part, multiple sets of service codes corresponding to the existing direct connection ports of multiple versions need to be modified, so that development, maintenance and management workload is huge, and cost is high.
In order to solve the above-mentioned problem, in this embodiment, different service policy data are set for different versions of service interfaces, and stored in a preset table, when a service needs to be provided for a target user, the corresponding service policy data are only required to be called from the preset table according to version information of the service interface used by the target user, so that the corresponding service can be provided for the target user by using the different service policy data and the same service code. Therefore, a large number of whitelists and branches are omitted for developers, repeated development workload is reduced, a code structure is simpler, maintenance and management are easier, rejection of the developers to variable demands is relieved, and cost required for developing, maintaining and managing the multi-version interface is reduced.
S120, corresponding service strategy data is called according to the version information of the service interface.
In this embodiment, the service policy data may be rule data and/or field data that are used when providing services for the target user according to the service requirements of the target user. For example, if the user a wants to query the consumption record in half a year through the direct connection port, the service policy data correspondingly invoked may be a field with half a year time, and the corresponding consumption record data may be obtained from the corresponding table by using the field; for another example, if the user B wants to query the consumption record in half a year through the direct connection port and display the total consumption, the service policy data correspondingly invoked may be a field with half a year time and a total consumption calculation rule, and the total consumption calculation rule is utilized to sum and calculate the consumption in half a year while the field is utilized to obtain the corresponding consumption record data in the corresponding table.
For example, the modification of the rule and/or field corresponding to the direct connection port is associated with the version number of the direct connection port, and the server can determine which rule and/or field is currently enabled or disabled through the version number of the corresponding record in the version number field. Specifically, for example, an interface data table may be set in the database, and the interface data table is used for recording rules and/or fields associated with different version interfaces, and after version information of a service interface used by a target user is obtained, the corresponding rules and/or fields may be queried and called in the interface data table according to the version information, so as to provide corresponding services for the target user according to the rules and/or fields.
That is, for a new user, only the new version number corresponding to the new user is acquired, and the new rule and/or field will be validated; for the old user, as the old version interface is used, the old version number corresponding to the old user is not influenced by new fields or new rules in the new version interface as long as the old version number is acquired, so that the problem that the use of the historical version interface is influenced in the process of continuously upgrading and changing the same direct connection port and a set of service codes is required to be redeveloped is solved, a plurality of version numbers can share a set of service codes, repeated development workload is reduced, and the code structure is simpler and is easier to maintain and upgrade.
S130, providing corresponding service for the target user according to the service policy data.
In this embodiment, after determining the version information of the service interface used by the target user and the corresponding service policy data, the server may provide personalized services for the target user by using the service policy data, so that a set of service codes may be used to provide personalized services for users with different requirements under the same service type.
According to the technical scheme, the version information of the service interface corresponding to the target user is obtained, the corresponding service strategy data is called according to the version information of the service interface, corresponding service is provided for the target user according to the service strategy data, the advantage that different service strategy data are used for different versions of service interfaces is utilized, the problem that in the prior art, because the direct connection ports of each version can be respectively corresponding to one set of service codes, the cost of development, maintenance and management of the interfaces is high is solved, and the effect of reducing the cost of development, maintenance and management of the interfaces is achieved.
Example two
Fig. 2 is a flowchart of a service providing method according to a second embodiment of the present invention. The present embodiment optimizes based on the above embodiments to provide a preferred service providing method, specifically, before obtaining version information of a service interface corresponding to a target user, the method further includes: acquiring interface demand information corresponding to the target user; recommending at least one matched service interface version to the target user according to the interface demand information so as to be selected and confirmed by the target user; and selecting an interface corresponding to the confirmed service interface version by the target user as a service interface corresponding to the target user.
The service providing method in this embodiment specifically may include the following steps:
s210, acquiring interface requirement information corresponding to a target user.
Based on the above embodiments, the server may recommend at least one matched service interface version to the user according to the personalized requirement of the target user, so as to allow the target user to select, and use the interface of the service interface version that is finally selected and confirmed by the target user as the service interface corresponding to the target user. The service interface has the beneficial effects that the trouble of manually abutting the user off line can be saved, the user can select the service interface of the corresponding version on line according to the personalized requirement of the user, the service interface is used as the currently used service interface, the manpower and material resources are saved, and the service cost is reduced.
The interface requirement information may be text or voice information about the personalized requirement input by the user, or may be information selected by the user from at least one requirement information selectable option provided by the server. Specific acquisition modes include, but are not limited to, a user being sent to a server through a client.
Optionally, obtaining interface requirement information corresponding to the target user includes: providing interface requirement information selectable items for a target user; and determining the interface demand information corresponding to the target user according to the selection operation of the target user based on the interface demand information selectable items.
The interface requirement information selectable items can comprise one or more selectable items, wherein each selectable item corresponds to one interface requirement. The selectable ways of providing the interface requirement information to the target user include, but are not limited to, providing the interface requirement information to the target user in a questionnaire manner, wherein the target user can select from corresponding requirement options in a single-choice and/or multi-choice manner, of course, the interface requirement information can also be recommended to the target user in a form of labels to be selected, and the target user can select from a plurality of provided labels to be selected in a click selection manner, which is not limited herein.
The target user may determine, for example, information corresponding to the interface requirement information selectable item selected by the target user after performing the corresponding selection operation based on the interface requirement information selectable item, as interface requirement information corresponding to the target user, and upload the information to the server.
S220, recommending at least one matched service interface version to the target user according to the interface demand information so as to be selected and confirmed by the target user.
The server may recommend one service interface version that is completely matched with the interface requirement information for the target user after acquiring the interface requirement information of the target user, or recommend multiple service interface versions that are most matched with the interface requirement information for the target user to select.
Specifically, the server may send the version number of the recommended at least one matched service interface version and the version function description information corresponding to the version number to the target user, so that the target user may make a selection from the at least one service interface version recommended by the server according to the version function description information. The version function description information may be information describing functions of the service interface versions.
S230, selecting the interface corresponding to the confirmed service interface version by the target user as the service interface corresponding to the target user.
In an exemplary embodiment, after the target user makes a selection from at least one service interface version recommended by the server, the server may use an interface corresponding to the service interface version selected and confirmed by the target user as a service interface corresponding to the target user. The target user can use the service interface to initiate a service request to the server, and the server can push a message to the target user through the service interface to provide personalized service for the target user.
S240, obtaining version information of the service interface corresponding to the target user.
S250, corresponding service strategy data is called according to the version information of the service interface.
And S260, providing corresponding services for the target user according to the service policy data.
According to the technical scheme of the embodiment, at least one matched service interface version is recommended to the target user according to the interface demand information corresponding to the target user, and the interface corresponding to the confirmed service interface version is selected by the target user to serve as the service interface corresponding to the target user. And after the version information of the service interface corresponding to the target user is acquired, the corresponding service policy data is called according to the version information of the service interface, and corresponding service is provided for the target user according to the service policy data, so that the personalized demand information of the user is automatically acquired on line, the service interface of the corresponding version is selected and used as the currently used service interface, the trouble of manually butt-jointing the user off line is avoided, the manpower and material resources are saved, and the service cost is reduced.
Example III
Fig. 3 is a flowchart of a service providing method according to a third embodiment of the present invention. The present embodiment is optimized based on the foregoing embodiments, and provides a preferred service providing method, specifically, the method further optimizes to obtain version information of a service interface corresponding to a target user, including: and receiving a service request sent by a target user, wherein the service request comprises version information of a service interface corresponding to the target user.
The service providing method in this embodiment specifically may include the following steps:
s310, receiving a service request sent by a target user, wherein the service request comprises version information of a service interface corresponding to the target user.
Based on the above embodiments, one possible implementation manner is that the user initiates the service request actively, in which case the service requester may provide version information of its own service interface, that is, the version information is sent to the server by the target user who sends the service request.
For example, a "version number" field may be added to each direct connection port for providing services, and the direct connection port may be sent by the caller of the direct connection port, that is, when the target user sends a service request to the server, the service request may carry the version number of the service interface corresponding to the target user, so that the server determines, according to the version information in the field, which rules and/or fields are correspondingly enabled or disabled to provide services.
S320, corresponding service strategy data is called according to the version information of the service interface.
S330, providing corresponding service for the target user according to the service policy data.
Optionally, providing the corresponding service for the target user according to the service policy data includes: generating a standard request message according to the service policy data; and providing corresponding service for the target user based on the standard request message.
In the prior art, for different interface versions, different services are presented to the outside, when a plurality of rules need to be added uniformly, and the rules do not need to modify interfaces, the rules need to be added repeatedly in a plurality of sets of service codes corresponding to different interface versions, so that the complexity is increased for uniform maintenance and test of the service codes.
In order to solve the problem, the embodiment divides the direct connection transaction service into two parts of a request access layer and a background service layer, an adaptation layer is arranged between the two parts, the same set of codes is maintained in the background service layer for the same service type through the adaptation layer, when different users initiate requests aiming at the same service type through direct connection ports of different versions, the access layer sends request information to the adaptation layer after verifying the received requests according to established rules, the adaptation layer can form unified standard request messages to be sent to the service layer, so that the field or rule difference brought by different interface versions is eliminated outside the real service logic, and the same set of service codes can be used by different interface versions, thereby not affecting unified management of the service codes and ensuring unified and tidy structure of the background service codes.
For a specific example, if some specific fields are not included in the service policy data corresponding to some interface versions, when the user sends a service request, and when the service policy data is uploaded to the adaptation layer, the fields may be complemented in the adaptation layer, and the values of the fields are set as default values, so as to generate a standard request message with unified fields. While for the service layer, the fields corresponding to the interfaces of the different versions and their processing logic are exactly the same.
According to the technical scheme, the service request sent by the target user is received, wherein the service request comprises the version information of the service interface corresponding to the target user, the corresponding service strategy data is called according to the version information of the service interface, corresponding service is provided for the target user according to the service strategy data, the version information is sent by the user, personalized service is provided for the service interfaces of different versions by using the different service strategy data, and development, maintenance and management costs of the service interfaces of different versions are reduced.
Example IV
Fig. 4 is a flowchart of a service providing method according to a fourth embodiment of the present invention. The present embodiment is optimized based on the foregoing embodiments, and provides a preferred service providing method, specifically, the method further optimizes to obtain version information of a service interface corresponding to a target user, including: acquiring an identity of a target user; and inquiring and acquiring version information of a service interface corresponding to the target user according to the identity of the target user.
The service providing method in this embodiment specifically may include the following steps:
s410, acquiring the identity of the target user.
On the basis of the above embodiment, another situation is that, in a platform, not all service providing modes are passively triggered, and some services are not actively initiated by a user, but need to be actively initiated by the platform, such as pushing a bill, notifying a message, etc., so that the mode of sending a version number by the user mentioned in the above embodiment cannot be performed.
In view of the above, in this embodiment, version information of a service interface corresponding to a target user is obtained by storing version information of a service interface corresponding to each user in a database. Specifically, the identity of the target user may be obtained first, where the identity may be information on the platform that uniquely identifies the user identity, such as a user ID. The method for obtaining the identity of the target user includes, but is not limited to, when the server triggers the active push message, the obtained identity of the object to be pushed, of course, the identity of the object to be pushed may also be the identity of the object to be pushed, which is sent when the target user initiates the service request, and the like, which is not limited herein.
S420, inquiring and acquiring version information of a service interface corresponding to the target user according to the identity of the target user.
For example, after the identity of the target user is obtained, version information of the service interface used by the target user may be queried from a database, where the identity of each user in the database and the version information of the service interface corresponding to the identity of each user are stored in association. After the version information of the service interface corresponding to the target user is queried, the version information can be taken out from the database, so that corresponding service strategy data can be called according to the version information in the subsequent step, and personalized service can be provided for the target user.
S430, calling corresponding service strategy data according to the version information of the service interface.
S440, providing corresponding service for the target user according to the service policy data.
According to the technical scheme, the identity of the target user is obtained, the version information of the service interface corresponding to the target user is inquired and obtained according to the identity of the target user, the corresponding service strategy data is called according to the version information of the service interface, corresponding service is provided for the target user according to the service strategy data, the service interfaces of different versions are realized by utilizing the inquired version information corresponding to the identity of the user, personalized service is provided by using different service strategy data, and development, maintenance and management costs of the service interfaces of different versions are reduced.
Based on the above embodiments, optionally, the background records version information for each service version with different adaptations, and displays the version information on the employee channel and the background management end, so as to perform visual version monitoring, reduce the burden of manual recording, and improve the docking efficiency.
By the technical scheme of each embodiment, the manual maintenance burden of the interface version is reduced, and the docking efficiency is improved; a large number of version compatible configurations and branches are reduced, the logic definition of codes is ensured, and the maintenance cost is reduced; the popularization concern is reduced, and the application of the general clients is not affected by the change of the small application range requirement; the background interface is separated from the client interface, so that background service is not affected by interface variation any more, the design of a background service interface can be considered from the technical aspect, the background service is more flexible, and the development efficiency is improved; has potential of popularization and application.
Example five
Fig. 5 is a schematic structural diagram of a service providing device according to a fifth embodiment of the present invention. Referring to fig. 5, the service providing apparatus includes: version acquisition module 510, policy invocation module 520, and user service module 530, each of which is described in detail below.
The version obtaining module 510 is configured to obtain version information of a service interface corresponding to a target user;
a policy invoking module 520, configured to invoke corresponding service policy data according to version information of the service interface;
and a user service module 530, configured to provide corresponding services for the target user according to the service policy data.
According to the service providing device provided by the embodiment, the version information of the service interface corresponding to the target user is obtained, the corresponding service strategy data is called according to the version information of the service interface, and corresponding service is provided for the target user according to the service strategy data.
Optionally, the apparatus may further include:
the system comprises a demand acquisition module, a service interface generation module and a service interface generation module, wherein the demand acquisition module is used for acquiring interface demand information corresponding to a target user before acquiring version information of a service interface corresponding to the target user;
the version recommending module is used for recommending at least one matched service interface version to the target user according to the interface demand information so as to enable the target user to select and confirm;
and the version confirmation module is used for selecting the interface corresponding to the confirmed service interface version by the target user as the service interface corresponding to the target user.
Optionally, the requirement acquisition module may specifically be configured to:
providing interface requirement information selectable items for the target user;
and determining interface demand information corresponding to the target user according to the selection operation of the target user based on the interface demand information selectable items.
Alternatively, the version acquisition module 510 may specifically be configured to:
and receiving a service request sent by a target user, wherein the service request comprises version information of a service interface corresponding to the target user.
Optionally, the user service module 530 may specifically be configured to:
generating a standard request message according to the service policy data;
and providing corresponding service for the target user based on the standard request message.
Optionally, the version acquisition module 510 may be further specifically configured to:
acquiring an identity of a target user;
and inquiring and acquiring version information of a service interface corresponding to the target user according to the identity of the target user.
Optionally, the service policy data may specifically include rule data and/or field data.
The product can execute the method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example six
Fig. 6 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention. FIG. 6 illustrates a block diagram of an exemplary computer device 12 suitable for use in implementing embodiments of the present invention. The computer device 12 shown in fig. 6 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in FIG. 6, the computer device 12 is in the form of a general purpose computing device. Components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, a bus 18 that connects the various system components, including the system memory 28 and the processing units 16.
Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, and a local bus using any of a variety of bus architectures. By way of example, and not limitation, such architectures include Industry Standard Architecture (ISA) bus, micro channel architecture (MAC) bus, enhanced ISA bus, video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Computer device 12 typically includes a variety of computer system readable media. Such media can be any available media that is accessible by computer device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM) 30 and/or cache memory 32. The computer device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from or write to non-removable, nonvolatile magnetic media (not shown in FIG. 6, commonly referred to as a "hard disk drive"). Although not shown in fig. 6, a magnetic disk drive for reading from and writing to a removable non-volatile magnetic disk (e.g., a "floppy disk"), and an optical disk drive for reading from or writing to a removable non-volatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In such cases, each drive may be coupled to bus 18 through one or more data medium interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored in, for example, memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment. Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
The computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), one or more devices that enable a user to interact with the computer device 12, and/or any devices (e.g., network card, modem, etc.) that enable the computer device 12 to communicate with one or more other computing devices. Such communication may occur through an input/output (I/O) interface 22. Moreover, computer device 12 may also communicate with one or more networks such as a Local Area Network (LAN), a Wide Area Network (WAN) and/or a public network, such as the Internet, through network adapter 20. As shown, network adapter 20 communicates with other modules of computer device 12 via bus 18. It should be appreciated that although not shown, other hardware and/or software modules may be used in connection with computer device 12, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing a service providing method provided by an embodiment of the present invention: acquiring version information of a service interface corresponding to a target user; calling corresponding service strategy data according to the version information of the service interface; and providing corresponding service for the target user according to the service policy data.
Example seven
The seventh embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a service providing apparatus, implements a service providing method as provided in the first embodiment of the present invention, the method comprising: acquiring version information of a service interface corresponding to a target user; calling corresponding service strategy data according to the version information of the service interface; and providing corresponding service for the target user according to the service policy data.
Any combination of one or more computer readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the computer-readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (8)

1. A service providing method, comprising:
acquiring interface demand information corresponding to a target user;
recommending at least one matched service interface version to the target user according to the interface demand information so as to be selected and confirmed by the target user;
selecting an interface corresponding to the confirmed service interface version by the target user as a service interface corresponding to the target user; different service interfaces set different service strategy data and stored in a preset table;
acquiring version information of a service interface corresponding to the target user;
according to the version information of the service interface, corresponding service strategy data is called from the preset table;
providing corresponding service for the target user according to the service policy data;
the obtaining the interface requirement information corresponding to the target user includes:
providing interface requirement information selectable items for the target user;
according to the selection operation of the target user based on the interface demand information selectable items, interface demand information corresponding to the target user is determined;
wherein the recommending at least one matched service interface version to the target user according to the interface requirement information for the target user to select and confirm comprises:
transmitting the version number of the recommended at least one matched service interface version and the corresponding version function description information thereof to a target user; and enabling the target user to select confirmation from at least one recommended service interface version according to the version function description information.
2. The method of claim 1, wherein obtaining version information of a service interface corresponding to the target user comprises:
and receiving a service request sent by a target user, wherein the service request comprises version information of a service interface corresponding to the target user.
3. The method of claim 1, wherein providing the corresponding service to the target user according to the service policy data comprises:
generating a standard request message according to the service policy data;
and providing corresponding service for the target user based on the standard request message.
4. The method of claim 1, wherein obtaining version information of a service interface corresponding to the target user comprises:
acquiring an identity of a target user;
and inquiring and acquiring version information of a service interface corresponding to the target user according to the identity of the target user.
5. The method according to any of claims 1-4, wherein the service policy data comprises rule data and/or field data.
6. A service providing apparatus, comprising:
the demand acquisition module is used for acquiring interface demand information corresponding to the target user;
the version recommending module is used for recommending at least one matched service interface version to the target user according to the interface demand information so as to enable the target user to select and confirm;
the version confirmation module is used for selecting an interface corresponding to the confirmed service interface version by the target user as a service interface corresponding to the target user; different service interfaces set different service strategy data and stored in a preset table;
the version acquisition module is used for acquiring version information of the service interface corresponding to the target user;
the strategy calling module is used for calling corresponding service strategy data from the preset table according to the version information of the service interface;
the user service module is used for providing corresponding service for the target user according to the service policy data;
the demand acquisition module is specifically configured to:
providing interface requirement information selectable items for the target user;
according to the selection operation of the target user based on the interface demand information selectable items, interface demand information corresponding to the target user is determined;
the version recommendation module is specifically configured to:
transmitting the version number of the recommended at least one matched service interface version and the corresponding version function description information thereof to a target user; and enabling the target user to select confirmation from at least one recommended service interface version according to the version function description information.
7. A computer device, the device comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the service providing method of any of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the service providing method according to any one of claims 1-5.
CN202010494572.5A 2020-06-03 2020-06-03 Service providing method, device, equipment and storage medium Active CN111666166B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010494572.5A CN111666166B (en) 2020-06-03 2020-06-03 Service providing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010494572.5A CN111666166B (en) 2020-06-03 2020-06-03 Service providing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111666166A CN111666166A (en) 2020-09-15
CN111666166B true CN111666166B (en) 2023-10-31

Family

ID=72385672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010494572.5A Active CN111666166B (en) 2020-06-03 2020-06-03 Service providing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111666166B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112887389B (en) * 2021-01-20 2022-12-23 上海商米科技集团股份有限公司 Version-based equipment interoperation method, system, device and storage medium
CN115361436A (en) * 2022-08-18 2022-11-18 中国工商银行股份有限公司 Starting method and device of personalized service instance and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279987A (en) * 2018-01-19 2018-07-13 口碑(上海)信息技术有限公司 The method for edition management and device of application program
CN109471851A (en) * 2018-10-17 2019-03-15 上海达梦数据库有限公司 Data processing method, device, server and storage medium
CN110333875A (en) * 2019-07-02 2019-10-15 上海企创信息科技有限公司 A kind of service routine update method, device, server and storage medium
CN110490747A (en) * 2019-08-26 2019-11-22 深圳市盟天科技有限公司 A kind of trust interconnection method, device, server and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108279987A (en) * 2018-01-19 2018-07-13 口碑(上海)信息技术有限公司 The method for edition management and device of application program
CN109471851A (en) * 2018-10-17 2019-03-15 上海达梦数据库有限公司 Data processing method, device, server and storage medium
CN110333875A (en) * 2019-07-02 2019-10-15 上海企创信息科技有限公司 A kind of service routine update method, device, server and storage medium
CN110490747A (en) * 2019-08-26 2019-11-22 深圳市盟天科技有限公司 A kind of trust interconnection method, device, server and storage medium

Also Published As

Publication number Publication date
CN111666166A (en) 2020-09-15

Similar Documents

Publication Publication Date Title
US20140114822A1 (en) Method and system for creating tax configuration templates
US8548442B2 (en) Syndication of multiple service instances
US20090144837A1 (en) Systems and methods for software application certification service
US9021064B2 (en) Web service architecture for product configuration
CN111666166B (en) Service providing method, device, equipment and storage medium
CN111813804B (en) Data query method and device, electronic equipment and storage medium
CN112149981A (en) Supply chain logistics management method and system of integrated platform
CN111026367A (en) Micro-service arranging method and device, terminal equipment and storage medium
CN113971037A (en) Application processing method and device, electronic equipment and storage medium
CN111125106B (en) Batch running task execution method, device, server and storage medium
CN111881329A (en) Account balance management method and system
CN114185941A (en) Report data query method and device, electronic equipment and storage medium
US20080244518A1 (en) Telecom Business-Oriented Taxonomy for Reusable Services
CN116594683A (en) Code annotation information generation method, device, equipment and storage medium
CN111127224A (en) Information processing method, information processing device, electronic equipment and storage medium
WO2021238516A1 (en) Method and device for generating resource allocation data
US20220129332A1 (en) Handling of Metadata for Microservices Processing
CN113448960A (en) Method and device for importing form file
US10795694B1 (en) System and method for automating workflow applications utilizing routes
US20230214766A1 (en) Product management method and related device
CN112686729B (en) Product customization method, device, electronic equipment and storage medium
WO2012096681A1 (en) Method and system for providing an sms-based interactive electronic marketing offer search and distribution system
US20220222736A1 (en) Systems and methods for electronic subscription management
CN116089404A (en) Data management method and device and data verification rule configuration method and device
CN114219585A (en) Business processing method, business processing device, electronic equipment, storage medium and program product

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220914

Address after: 25 Financial Street, Xicheng District, Beijing 100033

Applicant after: CHINA CONSTRUCTION BANK Corp.

Address before: 25 Financial Street, Xicheng District, Beijing 100033

Applicant before: CHINA CONSTRUCTION BANK Corp.

Applicant before: Jianxin Financial Science and Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant