CN114138367A - Service implementation method, device, equipment and storage medium on self-service equipment - Google Patents

Service implementation method, device, equipment and storage medium on self-service equipment Download PDF

Info

Publication number
CN114138367A
CN114138367A CN202111445561.9A CN202111445561A CN114138367A CN 114138367 A CN114138367 A CN 114138367A CN 202111445561 A CN202111445561 A CN 202111445561A CN 114138367 A CN114138367 A CN 114138367A
Authority
CN
China
Prior art keywords
service
application program
business
interface
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111445561.9A
Other languages
Chinese (zh)
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 CN202111445561.9A priority Critical patent/CN114138367A/en
Publication of CN114138367A publication Critical patent/CN114138367A/en
Pending legal-status Critical Current

Links

Images

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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming
    • 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/44568Immediately runnable code

Abstract

The invention discloses a method, a device, equipment and a storage medium for realizing services on self-service equipment, and relates to the technical field of artificial intelligent services. The method comprises the following steps: when a selection instruction of a target service is received, reading service application program configuration information corresponding to the target service from a configuration file of a current main application program based on a service identifier of the target service, wherein the service application program configuration information comprises an application program package name; searching a program package corresponding to the application program package name in a local storage unit; loading the service application program in the searched program package; and executing a code instruction in the business application program, wherein the code instruction is used for realizing the business process of the target business. By using the scheme, the coupling degree of each service on the self-service equipment is reduced, parallel research and development can be carried out on each service, the research, development and maintenance cost is reduced, and the research and development efficiency is improved.

Description

Service implementation method, device, equipment and storage medium on self-service equipment
Technical Field
The embodiment of the invention relates to the technical field of artificial intelligence services, in particular to a method, a device, equipment and a storage medium for realizing services on self-service equipment.
Background
With the continuous development of information technology, it is a development trend to improve the reproducibility and portability of application programs, improve the research and development efficiency, and reduce the maintenance cost.
When the same service is realized on different self-service devices by the current self-service, joint debugging is firstly developed on one self-service device, after the service is completely tested, the code of the service and the required page and other resources are transplanted to an application program of another self-service device, and joint debugging test is carried out again, so that the research, development and maintenance cost is high, the research and development efficiency is low, and in the mode, when the newly developed service has fatal errors, the whole application program is crashed, and the use of customers is seriously influenced.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for implementing a service on a self-service device, so as to optimize the implementation of a service on an existing self-service device, thereby improving the research and development efficiency, reducing the maintenance cost, improving the overall stability of a service system, and reducing the resource consumption caused by system restart.
In a first aspect, an embodiment of the present invention provides a method for implementing a service on a self-service device, including:
when a selection instruction of a target service is received, reading service application program configuration information corresponding to the target service from a configuration file of a current main application program based on a service identifier of the target service, wherein the service application program configuration information comprises an application program package name;
searching a program package corresponding to the application program package name in a local storage unit;
loading the found service application program in the program package;
and executing a code instruction in the business application program, wherein the code instruction is used for realizing the business process of the target business.
In a second aspect, an embodiment of the present invention further provides a service implementation apparatus on a self-service device, where the apparatus includes:
the configuration information acquisition module is used for reading service application program configuration information corresponding to a target service from a configuration file of a current main application program based on a service identifier of the target service when a selection instruction of the target service is received, wherein the service application program configuration information comprises an application program package name;
the program package searching module is used for searching a program package corresponding to the application program package name in a local storage unit;
the application program loading module is used for loading the searched service application program in the program package;
and the code instruction execution module is used for executing the code instruction in the service application program, and the code instruction is used for realizing the service flow of the target service.
In a third aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement a service implementation method on a self-service device according to any one of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a service implementation method on a self-service device according to any one of the embodiments of the present invention.
In a fifth aspect, an embodiment of the present invention further provides a computer program product, including a computer program, where the computer program, when executed by a processor, implements the service implementation method on the self-service device according to any one of the embodiments of the present invention.
According to the service implementation scheme on the self-service equipment provided by the embodiment of the invention, when a selection instruction of a target service is received, service application program configuration information corresponding to the target service is read from a configuration file of a current main application program based on a service identifier of the target service, wherein the service application program configuration information comprises an application program package name; then searching a program package corresponding to the application program package name in a local storage unit; then loading the service application program in the searched program package; and finally executing a code instruction in the business application program, wherein the code instruction is used for realizing the business process of the target business. By using the scheme, the corresponding business application program configuration information is obtained according to the target business selected by the user, and then the business application program of the target business is loaded through the business application program configuration information, so that the coupling degree between the businesses on the self-service equipment is reduced, parallel research and development can be carried out among the businesses, the effects of reducing research and development maintenance cost and improving research and development efficiency are realized, when one business application program is wrong, the whole application program cannot be broken down, the user can still carry out related operations on other businesses, the overall stability of a business system is improved, and the resource consumption caused by system restart is effectively reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of a method for implementing a service on a self-service device according to a first embodiment of the present invention;
fig. 2a is a flowchart of a method for implementing a service on a self-service device according to a second embodiment of the present invention;
fig. 2b is a schematic diagram of a technical solution for automatically loading a service application on a self-service device in the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a service implementation apparatus on a self-service device in a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention.
Detailed Description
The technical scheme of the invention is further explained by the specific implementation mode in combination with the attached drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a service implementation method on a self-service device according to an embodiment of the present invention, where this embodiment is applicable to a situation where a service is handled on a self-service device, and the method may be executed by a service implementation apparatus on a self-service device according to an embodiment of the present invention, where the apparatus may be implemented in a software and/or hardware manner, as shown in fig. 1, the method specifically includes the following steps:
s110, when a selection instruction of the target service is received, reading service application program configuration information corresponding to the target service from a configuration file of the current main application program based on the service identification of the target service.
On the self-service equipment, a user generally performs selection operation of related services according to the requirement of the user so as to complete corresponding service handling. For example, the self-service device may be an automatic deposit and withdrawal device of a bank, a self-service device of a hospital, or the like.
Alternatively, when the self-service device is a self-service deposit-withdrawal device of a bank, the target service may be: deposit service, withdrawal service or inquiry service, and also can be transfer service, password modification service, etc.; when the self-service device is a self-service device of a hospital, the target service may be: registration service, case history inquiry service, report printing service recharging service, payment service and the like; the type of specific self-service device and the content contained in the target service are not limited herein.
When a selection instruction of a user for a target service is received on the self-service equipment, only the configuration information of the service application program corresponding to the target service needs to be acquired, and the configuration information of the service application program corresponding to other services does not need to be acquired.
It is easy to understand that in the method for implementing services on a self-service device provided in the embodiment of the present invention, each service corresponds to one service application program, and after a user selects a target service according to a requirement, the service application program configuration information corresponding to the target service is obtained, and if the configuration information can be obtained, it indicates that the information corresponding to the target service is stored, subsequent operations can be performed. The method has the advantages that only the configuration information of the service application program corresponding to the target service is acquired, the related information of other services of the self-service equipment is not required to be acquired, the load of the self-service equipment can be reduced, and the running speed can be increased when the service application program of the target service is only operated subsequently.
And when the configuration information of the service application program corresponding to the target service is obtained, the other services of the self-service equipment do not need to be operated, and the services do not need to be associated, so that the coupling degree of the services in the implementation process is reduced, developers can conveniently develop the services in parallel in the development stage, and the research and development speed is improved. When one service program has an error, if the rest services are normal, the configuration information of the service application program corresponding to the rest services can be normally acquired, the subsequent operation process is carried out, and the user experience is improved. In the maintenance stage, a technician can only perform related maintenance operation aiming at the wrong service, so that the maintenance cost is reduced.
The main application program can be understood as a framework program installed on the self-service equipment, the main application program starts to run after the self-service equipment is started, the main application program does not contain configuration information and code instructions for realizing each service, and configuration files of the main application program contain service application program configuration information corresponding to each service.
Therefore, when a selection instruction of the target service is received, the service application program configuration information corresponding to the target service can be read from the configuration file of the main application program based on the service identifier of the target service.
Illustratively, when the target service is a deposit service, reading service application program configuration information corresponding to the deposit service from a configuration file of a main application program based on a service identifier of the deposit service; and when the target service is the query service, reading service application program configuration information corresponding to the query service from the configuration file of the main application program based on the service identification of the query service.
The service identifier of the target service may be composed of upper case letters, lower case letters, numbers or symbols. And reading the service application program configuration information corresponding to the target service in the configuration file of the main application program through the service identification. The service application configuration information may include service identification, service version identification, service name, interface display language, application package name, and other related information.
And further loading a service application program corresponding to the target service according to the received target service selection instruction, and realizing the corresponding function of the target service by operating the service application program.
Illustratively, if the received target service instruction is the "deposit service", only the service application configuration information of the "deposit service" needs to be acquired, so as to implement the relevant operation of the "deposit service" by loading the service application of the "deposit service".
Wherein the service application configuration information includes an application package name. When the service application configuration information includes: and when the name of the application program package is used, searching the program package corresponding to the name of the application program package in the local storage unit.
And S120, searching a program package corresponding to the application program package name in the local storage unit.
The local storage unit can be understood as a unit for storing information on the self-service device, and a program package corresponding to the application program package name is searched in the local storage unit to perform a subsequent operation of loading the service application program corresponding to the target service. Optionally, the same target service package may have multiple versions, illustratively, the package includes a history version, a current version, and a version to be updated, and then the service application configuration information may further include a service version identifier.
The process of searching the package corresponding to the application package name in the local storage unit may be: and searching the program package corresponding to the application program package name and the service version identification in the local storage unit, and performing subsequent service application program action corresponding to the target service by searching the program package corresponding to the application program package name and the service version identification.
And S130, loading the service application program in the searched program package.
And searching a program package corresponding to the application program package name in the local storage unit, or after searching a program package corresponding to the application program package name and the service version identification in the local storage unit, loading the service application program in the searched program package to realize the subsequent operation of the service application program.
And S140, executing a code instruction in the business application program, wherein the code instruction is used for realizing the business process of the target business.
After the service application corresponding to the target service is found in step S130, the code instruction in the service application is executed, and the relevant operation flow of the target service is realized through the code instruction.
In the service implementation method on the self-service device provided by the embodiment of the invention, when a selection instruction of a target service is received, service application program configuration information corresponding to the target service is read from a configuration file of a current main application program based on a service identifier of the target service, wherein the service application program configuration information comprises an application program package name; then searching a program package corresponding to the application program package name in a local storage unit; then loading the service application program in the searched program package; and finally executing a code instruction in the business application program, wherein the code instruction is used for realizing the business process of the target business. By using the scheme, the corresponding business application program configuration information is obtained according to the target business selected by the user, and then the business application program of the target business is loaded through the business application program configuration information, so that the coupling degree between the businesses on the self-service equipment is reduced, parallel research and development can be carried out among the businesses, the technical effects of reducing research and development maintenance cost and improving research and development efficiency are realized, when one business application program has an error, the whole application program cannot be crashed, the user can still carry out related operations on other businesses, the overall stability of a business system is improved, and the resource consumption caused by system restart is effectively reduced.
Example two
Fig. 2a is a flowchart of a service implementation method on a self-service device in a second embodiment of the present invention, where the embodiment is optimized based on the foregoing embodiment, and the optimized configuration information of the service application further includes a service version identifier; the step of searching the program package corresponding to the application program package name in the local storage unit comprises the following steps: and finding the program package corresponding to the application program package name and the service version identification in a local storage unit.
The configuration information of the business application program is optimized, and interface display parameters are also included; the step of executing the code instructions in the service application program comprises: and generating and displaying a business interface based on the interface display parameters when executing the interface display instruction in the business application program.
The step of executing code instructions in the business application is also optimized, including: and acquiring user information of the user from the current main application program, and executing a code instruction in the service application program based on the user information.
As shown in fig. 2a, the method of this embodiment specifically includes the following steps:
s210, when a selection instruction of the target service is received, reading service application program configuration information corresponding to the target service from a configuration file of the current main application program based on the service identification of the target service.
S220, searching a program package corresponding to the application program package name in the local storage unit.
And S230, loading the service application program in the searched program package.
S240, obtaining user information of the user from the current main application program, and executing a code instruction in the service application program based on the user information.
Specifically, after the business application program is loaded, a code instruction in an entry function of the business application program is started to be executed, user information of a user can be acquired from the current main application program by executing the code instruction, and the user information is input to other method functions needing to use the user information as an input parameter, so that the other method functions execute relevant business operations based on the input user information. For example, the current target service is a deposit service, the user information includes a card number, the user information is input to an account updating method function as an input parameter, the account updating method function sends an account updating request including the card number and a deposit amount to the server based on the input card number, and the server updates the account amount corresponding to the card number based on the received account updating request, so that the accuracy of the account amount data is ensured.
Optionally, the user information includes: at least one of a card number, a username, and a card type.
The present application further provides an optional embodiment, wherein the service application configuration information further includes an interface display parameter. The interface display parameters represent parameters required to be possessed by a display related interface in a visual interface of the self-service equipment.
When the configuration information of the business application program further comprises an interface display parameter, correspondingly, the program instruction in the business application program comprises: and generating and displaying a business interface based on the interface display parameters when executing an interface display instruction in the business application program.
And executing an interface display instruction in the service application program by loading the interface display parameters contained in the configuration information of the service application program, so that a corresponding service interface can be generated in the visual interface of the self-service equipment.
It can be understood that the interface display parameters contained in the service application configuration information are different according to different target services selected by the user. For example, when the target service is a "withdrawal service", the interface presentation parameters should be relevant parameters that can form a withdrawal service interface, including but not limited to: withdrawal amount control parameters, withdrawal amount input parameters and the like; when the target transaction is "transfer transaction," the interface presentation parameters include, but are not limited to: transfer card number input parameters, transfer party bank selection parameters, etc.
Further optionally, the interface display parameter includes a service name of the target service, and this is done to form an interface including the service name, so that the user can specify the target service currently handled and specify the current service handling node. And when the business interface is generated and displayed based on the interface display parameters, displaying the business interface containing the business name in a screen of the current self-service equipment. For example, the interface display parameter includes a service name of the target service, which may be "withdrawal service", "deposit service", "transfer service", or "query service", etc.
Optionally, the interface display parameter may further include an interface display language adopted by the target service.
The interface display language is a language corresponding to corresponding characters formed in the service display interface, the current language may be chinese, english or other languages, and the selection is specifically performed according to the actual needs of the user, which is not limited herein.
Correspondingly, when the interface display parameters include an interface display language adopted by the target service, generating and displaying a service interface based on the interface display parameters, including: generating a business interface containing at least one character based on the interface display parameters, wherein each character adopts an interface display language; and displaying the business interface in a screen of the current self-service equipment. By loading the interface display language adopted by the target service, when the service interface displays the interface corresponding to the target service, the literal language of the current interface is the specified corresponding language, so that users of different languages can use the self-service equipment.
In yet another alternative embodiment, the interface display parameter includes hardware information on which each sub-process included in the target service depends.
Each sub-process included in the target service represents an operation process included in the target service. For example, when the target service is "deposit service", the sub-processes may be: a 'put in paper money' sub-process and a 'take out unqualified paper money' sub-process and the like; if the target service is "transfer service", the sub-process may be: the sub-processes of "inputting card number", "inputting transfer amount", and "transferring to bank" are not examples.
When the current interface display parameter can include hardware information that each sub-process contained in the target service depends on, generating and displaying a service interface based on the interface display parameter, including:
checking the usability of hardware on which each sub-process on the current self-service equipment depends respectively based on the interface display parameters; generating a business interface containing at least one control according to the checking result, wherein each control corresponds to one sub-process, and the hardware on which the sub-process corresponding to each control depends has availability; and displaying the business interface in a screen of the current self-service equipment.
The purpose of checking the availability of the hardware on which each sub-process depends is to determine whether the sub-process corresponding to the target service can be normally performed, and if the hardware on which each sub-process depends is available, the user can normally perform subsequent operations; if the hardware depended by each sub-process is unavailable, the subsequent operation steps are not displayed, or a word of 'current operation cannot be executed' is displayed on a business interface so as to prompt a user to replace other equipment and the like.
If the hardware on which each sub-process depends is available, a business interface comprising at least one control can be generated, each control corresponds to a corresponding sub-process according to the difference of the selected target business, and the business interface corresponding to the executed sub-process can be displayed in the screen of the current self-service equipment.
And S250, when the service flow of the target service is determined to be terminated, sending a service end notification message to the current main application program, so that the current main application program unloads the service application program according to the service end notification message.
Optionally, the manner of determining that the service flow executing the target service needs to be terminated may be: and when the service triggering operation of the user is detected to be ended, determining that the service flow of executing the target service needs to be terminated.
Namely, related controls related to ending the business, such as "end transaction", "quit", or "get card", may be set in the visual interface of the self-service device, and when the user triggers the related controls related to ending the business, it indicates that the business process of executing the target business needs to be terminated.
Optionally, the method for determining that the service flow executing the target service needs to be terminated may further include: and when the condition that the user does not respond within the preset time is detected, determining that the service flow of executing the target service needs to be terminated.
If the user does not operate the self-service equipment within the preset time length, in order to ensure the safety of user data, the current service can be considered to be finished, and the service process of executing the target service is terminated. The preset time period may be one minute, three minutes, five minutes, or the like, and is not limited herein.
When the user finishes processing the target service, the service flow terminating operation of the target service can be triggered, and when the current main application program receives the service end notification message, the service application program can be unloaded according to the current notification message. The purpose of unloading the application program is to empty the service application program, the code instruction, the application program package name, the service version identifier and the interface display parameter loaded in the main application program, so that the user can recall the corresponding application program according to the next service selected by the user. The method has the advantages that the coupling degree between the application programs of the services is reduced, and when one service has an error, the use of the other services is not influenced.
Referring to fig. 2b, fig. 2b is a schematic diagram illustrating a technical solution of automatically loading a service application on a self-service device according to a second embodiment of the present invention. The self-service equipment provided by the embodiment of the invention provides a unified platform, wherein the platform is provided with a main application program, and stores a configuration file of the main application program and a program package of each service application program, and the configuration file of the main application program contains service application program configuration information of each service.
After the self-service equipment is started, the main application program is loaded and operated, after the main application program receives a selection instruction of a user for a target service, the main application program firstly reads service application program configuration information of the target service from a configuration file of the main application program according to a service identifier of the target service, searches a program package corresponding to an application program package name in the service application program configuration information in a local storage unit, and loads a service application program in the program package; after the business application program is loaded, the code instruction is executed from the entry function of the business application program, and the user information of the user can be acquired from the current main application program by executing the code instruction, so that the user information is input to other method functions needing to use the user information as input parameters, and the other method functions execute related business operations based on the input user information. After the user completes the service flow of the target service, the service application program may send a service end notification message to the main application program, and the main application program unloads the service application program corresponding to the target service. The target service can be a deposit service, a withdrawal service, an inquiry service and the like, a transfer service, a password modification service and the like.
By using the scheme provided by the embodiment, multiple services such as 'inquiry', 'transfer', 'deposit', 'withdrawal' or 'secret change' for realizing corresponding services of the self-service equipment are taken as an independent service application program from the perspective of developers, and all the application programs can be carried out in parallel in the development stage, so that the development efficiency of the developers is improved. The method has the advantages that resource files such as code logic, configuration files, display pages, pictures and the like of a single service application program can be integrally packaged into the application program compression package, the service application program compression package is loaded by the unified platform, the service application program compression package can be copied to unified platforms of other self-service equipment without being developed again, and the reproducibility and the mobility of the service application program are reflected.
According to the business implementation scheme on the self-service equipment, each business of the self-service equipment is used as an independent application program to run on the main application program, and the execution operation of the corresponding business application program is loaded in the main application program provided by the platform according to the target business instruction selected by the user, so that the function of the corresponding business application program is realized.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a service implementation apparatus on a self-service device according to a third embodiment of the present invention. The present embodiment may be applicable to a case where a corresponding service function is implemented on a self-service device, where the apparatus may be implemented in a software and/or hardware manner, and the apparatus may be integrated in any device that provides a function implemented by a service on the self-service device, as shown in fig. 3, where the apparatus for implementing a service on the self-service device specifically includes: a configuration information obtaining module 310, a package searching module 320, an application loading module 330, and a code instruction executing module 340, wherein:
the configuration information obtaining module 310 is configured to, when receiving a selection instruction for a target service, read service application configuration information corresponding to the target service from a configuration file of a current main application based on a service identifier of the target service, where the service application configuration information includes an application package name;
a package searching module 320, configured to search a package corresponding to the application package name in a local storage unit;
an application loading module 330, configured to load the found service application in the program package;
a code instruction executing module 340, configured to execute a code instruction in the service application, where the code instruction is used to implement a service flow of the target service.
When a selection instruction of a target service is received, reading service application program configuration information corresponding to the target service from a configuration file of a current main application program based on a service identifier of the target service, wherein the service application program configuration information comprises an application program package name; then searching a program package corresponding to the application program package name in a local storage unit; then loading the service application program in the searched program package; and finally executing a code instruction in the business application program, wherein the code instruction is used for realizing the business process of the target business. By using the scheme, the corresponding business application program configuration information is obtained according to the target business selected by the user, and then the business application program of the target business is loaded through the business application program configuration information, so that the coupling degree between the businesses on the self-service equipment is reduced, parallel research and development can be carried out among the businesses, the research and development maintenance cost is reduced, the research and development efficiency is improved, when one business application program cannot run, the whole application program cannot be crashed, the user can still carry out related operations on the other businesses, the overall stability of a business system is improved, and the resource consumption caused by system restart is effectively reduced.
Optionally, the service application configuration information further includes a service version identifier;
the package searching module 320 is specifically configured to search, in a local storage unit, a package corresponding to the application package name and the service version identifier.
Optionally, the service application configuration information further includes an interface display parameter;
the code instruction execution module 340 is specifically configured to generate and display a service interface based on the interface display parameter when executing the interface display instruction in the service application.
Optionally, the interface display parameter includes a service name of the target service;
the code instruction execution module 340 includes: the system comprises a first service interface generating unit and a first service interface display unit, wherein:
the first business interface generating unit is used for generating a business interface containing the business name based on the interface display parameters and displaying the business interface in a screen of the current self-service equipment;
and the first business interface display unit is used for displaying the business interface in a screen of the current self-service equipment.
Optionally, the interface display parameter includes an interface display language adopted by the target service;
the code instruction execution module 340 includes: the second service interface generating unit and the second service interface display unit;
the second service interface generating unit is configured to generate a service interface including at least one character based on the interface display parameter, where each character is in the interface display language;
and the second business interface display unit is used for displaying the business interface in a screen of the current self-service equipment.
Optionally, the interface display parameter includes hardware information on which each sub-process included in the target service depends respectively;
the code instruction execution module 340 includes: the hardware checking unit, the third service interface generating unit and the third service interface display unit, wherein:
the hardware detection unit is used for checking the availability of hardware on the current self-service equipment, on which each sub-process depends respectively, based on the interface display parameters;
the third business interface generating unit is configured to generate a business interface including at least one control according to the check result, where each control corresponds to one sub-process, and the hardware on which the sub-process corresponding to each control depends has availability;
and the third business interface display unit is used for displaying the business interface in a screen of the current self-service equipment.
Optionally, the code instruction executing module 340 is specifically configured to obtain user information of the user from a current main application program, and execute a code instruction in the service application program based on the user information;
wherein the user information includes: at least one of a card number, a username, and a card type.
Optionally, the apparatus further comprises: a service flow termination module;
and the service flow termination module is used for sending a service termination notification message to the current main application program when the service flow of executing the target service is determined to be terminated, so that the current main application program unloads the service application program according to the service termination notification message.
Optionally, the service flow terminating module is specifically configured to determine that a service flow for executing the target service needs to be terminated when a service triggering operation for terminating the service of the user is detected; or when detecting that the user does not respond within the preset time, determining that the service flow for executing the target service needs to be terminated.
Optionally, the target service is: deposit transaction, withdrawal transaction or inquiry transaction.
The service implementation device on the self-service equipment provided by the embodiment of the invention can execute the service implementation method on the self-service equipment provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a computer device in the fourth embodiment of the present invention. FIG. 4 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. 4 is only one example and should not bring any limitations to the functionality or scope of use of embodiments of the present invention.
As shown in FIG. 4, computer device 12 is in the form of a general purpose computing device. The components of computer device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, 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 may 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. 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 and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are 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, for example, in 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 of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
Computer device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with computer device 12, and/or with any devices (e.g., network card, modem, etc.) that enable computer device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. In the computer device 12 of the present embodiment, the display 24 is not provided as a separate body but is embedded in the mirror surface, and when the display surface of the display 24 is not displayed, the display surface of the display 24 and the mirror surface are visually integrated. Also, computer device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via network adapter 20. As shown, network adapter 20 communicates with the other modules of computer device 12 via bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with computer device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, for example, implementing a business implementation method on a self-service device provided by an embodiment of the present invention.
EXAMPLE five
An embodiment five of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a service implementation method on a self-service device, the method including:
when a selection instruction of a target service is received, reading service application program configuration information corresponding to the target service from a configuration file of a current main application program based on a service identifier of the target service, wherein the service application program configuration information comprises an application program package name;
searching a program package corresponding to the application program package name in a local storage unit;
loading the found service application program in the program package;
and executing a code instruction in the business application program, wherein the code instruction is used for realizing the business process of the target business.
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. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination 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 the context of 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.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. 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.
EXAMPLE six
An embodiment of the present invention further provides a computer program product, including a computer program, where the computer program, when executed by a processor, implements a service implementation method on a self-service device as provided in any embodiment of the present application.
Computer program product in implementing the computer program code for carrying out operations for aspects 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. 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, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (21)

1. A service implementation method on self-service equipment is characterized by comprising the following steps:
when a selection instruction of a target service is received, reading service application program configuration information corresponding to the target service from a configuration file of a current main application program based on a service identifier of the target service, wherein the service application program configuration information comprises an application program package name;
searching a program package corresponding to the application program package name in a local storage unit;
loading the found service application program in the program package;
and executing a code instruction in the business application program, wherein the code instruction is used for realizing the business process of the target business.
2. The method of claim 1, wherein the business application configuration information further comprises a business version identification;
the searching for the program package corresponding to the application program package name in the local storage unit includes:
and finding the program package corresponding to the application program package name and the service version identification in a local storage unit.
3. The method of claim 1, wherein the business application configuration information further comprises interface presentation parameters;
the executing the code instructions in the business application program comprises:
and generating and displaying a business interface based on the interface display parameters when executing the interface display instruction in the business application program.
4. The method of claim 3, wherein the interface exposure parameter comprises a service name of the target service;
the generating and displaying a business interface based on the interface display parameters comprises the following steps:
and generating a business interface containing the business name based on the interface display parameters, and displaying the business interface in a screen of the current self-service equipment.
5. The method of claim 3, wherein the interface presentation parameters include an interface presentation language employed by the target service;
the generating and displaying a business interface based on the interface display parameters comprises the following steps:
generating a business interface containing at least one character based on the interface display parameters, wherein each character adopts the interface display language;
and displaying the business interface in a screen of the current self-service equipment.
6. The method according to claim 3, wherein the interface display parameters include hardware information on which each sub-process included in the target service depends;
the generating and displaying a business interface based on the interface display parameters comprises the following steps:
checking the availability of hardware on which each sub-process on the current self-service equipment depends respectively based on the interface display parameters;
generating a business interface containing at least one control according to the checking result, wherein each control corresponds to one sub-process, and the hardware on which the sub-process corresponding to each control depends has availability;
and displaying the business interface in a screen of the current self-service equipment.
7. The method of claim 1, wherein executing code instructions in the business application comprises:
acquiring user information of the user from a current main application program, and executing a code instruction in the service application program based on the user information;
wherein the user information includes: at least one of a card number, a username, and a card type.
8. The method of claim 1, further comprising:
and when determining that the service flow of executing the target service needs to be terminated, sending a service termination notification message to the current main application program, so that the current main application program unloads the service application program according to the service termination notification message.
9. The method of claim 8, wherein the determining that the service flow for executing the target service needs to be terminated comprises:
when detecting the end service triggering operation of a user, determining a service flow needing to terminate the execution of the target service; alternatively, the first and second electrodes may be,
and when detecting that the user does not respond within the preset time, determining that the service flow for executing the target service needs to be terminated.
10. The method according to any of claims 1-9, wherein the target service is: deposit transaction, withdrawal transaction, inquiry transaction, transfer transaction, or password modification transaction.
11. A service implementation device on a self-service device is characterized by comprising:
the configuration information acquisition module is used for reading service application program configuration information corresponding to a target service from a configuration file of a current main application program based on a service identifier of the target service when a selection instruction of the target service is received, wherein the service application program configuration information comprises an application program package name;
the program package searching module is used for searching a program package corresponding to the application program package name in a local storage unit;
the application program loading module is used for loading the searched service application program in the program package;
and the code instruction execution module is used for executing the code instruction in the service application program, and the code instruction is used for realizing the service flow of the target service.
12. The apparatus of claim 11, wherein the business application configuration information further comprises a business version identification;
the program package searching module is specifically configured to search, in a local storage unit, a program package corresponding to the application program package name and the service version identifier.
13. The apparatus of claim 11, wherein the business application configuration information further comprises an interface exposure parameter;
the code instruction execution module is specifically configured to generate and display a business interface based on the interface display parameter when executing an interface display instruction in the business application.
14. The apparatus of claim 13, wherein the interface exposure parameter comprises a service name of the target service;
the code instruction execution module comprises: the system comprises a first service interface generating unit and a first service interface display unit;
the first service interface generating unit is used for generating a service interface containing the service name based on the interface display parameter;
and the first business interface display unit is used for displaying the business interface in a screen of the current self-service equipment.
15. The apparatus of claim 13, wherein the interface display parameters comprise an interface display language adopted by the target service;
the code instruction execution module comprises: the second service interface generating unit and the second service interface display unit;
the second service interface generating unit is configured to generate a service interface including at least one character based on the interface display parameter, where each character is in the interface display language;
and the second business interface display unit is used for displaying the business interface in a screen of the current self-service equipment.
16. The apparatus according to claim 13, wherein the interface display parameter includes hardware information on which each sub-process included in the target service depends;
the code instruction execution module comprises: the hardware checking unit, the third service interface generating unit and the third service interface display unit;
the hardware checking unit is used for checking the availability of hardware on which each sub-process on the current self-service equipment depends on based on the interface display parameters;
the third business interface generating unit is configured to generate a business interface including at least one control according to the check result, where each control corresponds to one sub-process, and the hardware on which the sub-process corresponding to each control depends has availability;
and the third business interface display unit is used for displaying the business interface in a screen of the current self-service equipment.
17. The apparatus according to claim 11, wherein the code instruction execution module is specifically configured to obtain user information of the user from a current host application, and execute the code instruction in the service application based on the user information;
wherein the user information includes: at least one of a card number, a username, and a card type.
18. The apparatus of claim 11, further comprising:
and the service flow termination module is used for sending a service termination notification message to the current main application program when the service flow of executing the target service is determined to be terminated, so that the current main application program unloads the service application program according to the service termination notification message.
19. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements a method of business implementation on a self-service device according to any one of claims 1-10 when executing the computer program.
20. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out a method of carrying out a service on a self-service device according to any one of claims 1 to 10.
21. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements a method of service implementation on a self-service device according to any of claims 1-10.
CN202111445561.9A 2021-11-30 2021-11-30 Service implementation method, device, equipment and storage medium on self-service equipment Pending CN114138367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111445561.9A CN114138367A (en) 2021-11-30 2021-11-30 Service implementation method, device, equipment and storage medium on self-service equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111445561.9A CN114138367A (en) 2021-11-30 2021-11-30 Service implementation method, device, equipment and storage medium on self-service equipment

Publications (1)

Publication Number Publication Date
CN114138367A true CN114138367A (en) 2022-03-04

Family

ID=80386033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111445561.9A Pending CN114138367A (en) 2021-11-30 2021-11-30 Service implementation method, device, equipment and storage medium on self-service equipment

Country Status (1)

Country Link
CN (1) CN114138367A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584605A (en) * 2022-03-21 2022-06-03 平安壹钱包电子商务有限公司 Service distribution method, device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239063A (en) * 2014-09-23 2014-12-24 福建星网视易信息系统有限公司 Web browser and method for calling local application program through web browser
CN105009078A (en) * 2013-02-12 2015-10-28 起元科技有限公司 Building applications for configuring processes
CN107908411A (en) * 2017-11-17 2018-04-13 广东小天才科技有限公司 A kind of application management method and service equipment
CN111143869A (en) * 2019-12-30 2020-05-12 Oppo广东移动通信有限公司 Application package processing method and device, electronic equipment and storage medium
CN111260465A (en) * 2020-01-20 2020-06-09 深圳乐信软件技术有限公司 Business processing method, device, server and storage medium
US20200327201A1 (en) * 2019-04-15 2020-10-15 International Business Machines Corporation Provision of natural language response to business process query
CN113110851A (en) * 2021-06-15 2021-07-13 北京易真学思教育科技有限公司 Resource loading method and device, electronic equipment and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105009078A (en) * 2013-02-12 2015-10-28 起元科技有限公司 Building applications for configuring processes
CN104239063A (en) * 2014-09-23 2014-12-24 福建星网视易信息系统有限公司 Web browser and method for calling local application program through web browser
CN107908411A (en) * 2017-11-17 2018-04-13 广东小天才科技有限公司 A kind of application management method and service equipment
US20200327201A1 (en) * 2019-04-15 2020-10-15 International Business Machines Corporation Provision of natural language response to business process query
CN111143869A (en) * 2019-12-30 2020-05-12 Oppo广东移动通信有限公司 Application package processing method and device, electronic equipment and storage medium
CN111260465A (en) * 2020-01-20 2020-06-09 深圳乐信软件技术有限公司 Business processing method, device, server and storage medium
CN113110851A (en) * 2021-06-15 2021-07-13 北京易真学思教育科技有限公司 Resource loading method and device, electronic equipment and medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114584605A (en) * 2022-03-21 2022-06-03 平安壹钱包电子商务有限公司 Service distribution method, device, electronic equipment and storage medium
CN114584605B (en) * 2022-03-21 2024-04-05 平安壹钱包电子商务有限公司 Service distribution method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
US7363546B2 (en) Latent fault detector
CN109951553B (en) Data processing method, system, electronic device and computer readable storage medium
CN110287146B (en) Method, device and computer storage medium for downloading application
CN108874441B (en) Board card configuration method, device, server and storage medium
CN111330280A (en) Data processing method and device in game, storage medium and electronic equipment
CN111324441A (en) Operating environment switching method and device, computer equipment and storage medium
CN112579307A (en) Physical lock resource allocation detection method and device and electronic equipment
US11144437B2 (en) Pre-populating continuous delivery test cases
CN114138367A (en) Service implementation method, device, equipment and storage medium on self-service equipment
CN111694684A (en) Abnormal construction method and device of storage equipment, electronic equipment and storage medium
CN111367813B (en) Automatic testing method and device for decision engine, server and storage medium
CN113392002B (en) Test system construction method, device, equipment and storage medium
US7296193B2 (en) Technique for processing an error using write-to-operator-with-reply in a ported application
CN112416394B (en) Service upgrading method and device, storage medium and electronic equipment
CN111741046B (en) Data reporting method, data acquisition method, device, equipment and medium
CN112925796A (en) Write consistency control method, device, equipment and storage medium
CN112988192A (en) Version updating method and device, electronic equipment and storage medium
CN110727945B (en) Virus scanning method, device and computer readable medium
CN113485927A (en) Test data generation method, device, equipment and storage medium
CN111124627B (en) Method and device for determining call initiator of application program, terminal and storage medium
CN113656301A (en) Interface testing method, device, equipment and storage medium
CN113760631A (en) Page loading duration determination method, device, equipment and storage medium
CN112416422A (en) Development version file submitting method, device, equipment and storage medium
CN112148450A (en) Data processing method, device, equipment and storage medium
CN111369238A (en) Payment channel selection method, system, payment equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination