CN112954075A - Business function implementation method, system, corresponding device and storage medium - Google Patents

Business function implementation method, system, corresponding device and storage medium Download PDF

Info

Publication number
CN112954075A
CN112954075A CN202110336635.9A CN202110336635A CN112954075A CN 112954075 A CN112954075 A CN 112954075A CN 202110336635 A CN202110336635 A CN 202110336635A CN 112954075 A CN112954075 A CN 112954075A
Authority
CN
China
Prior art keywords
service
script
module
function component
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110336635.9A
Other languages
Chinese (zh)
Other versions
CN112954075B (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 Citic Bank Corp Ltd
Original Assignee
China Citic Bank Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Citic Bank Corp Ltd filed Critical China Citic Bank Corp Ltd
Priority to CN202110336635.9A priority Critical patent/CN112954075B/en
Publication of CN112954075A publication Critical patent/CN112954075A/en
Application granted granted Critical
Publication of CN112954075B publication Critical patent/CN112954075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present disclosure provides a method and a system for implementing a business function, a browser client, a bank server and a storage medium, wherein the browser client comprises: the first service script compiling module is used for compiling the first service function component in the source code form into the second service function component in the object code form; the first service script running module is used for running the second service functional component so as to execute service processing; and the first rendering and displaying module is used for displaying the service information. The method and the system are based on the virtual machine technology of the rich client, can shield the correlation between the business function component and the operating system version, and can complete the iterative change of the function without the operation confirmation of a client when the user function in the browser client is subjected to the iterative change.

Description

Business function implementation method, system, corresponding device and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a method, a system, a corresponding apparatus, and a storage medium for implementing a service function.
Background
With the progress of communication and internet technologies, in order to facilitate business handling of customers, many banks use smart phones as carriers to provide bank financial service clients for users, so that the customers can handle financial businesses on personal smart phones through the bank financial service clients. However, with the continuous update and improvement of the business functions, the frequency of use of the client is continuously increased, and the application scenes and range are continuously expanded, so that the following problems still exist in the way of providing the banking services for the user through the client APP:
1. platform correlation: the existing bank financial service client runs on various operating systems, and different versions need to be researched, developed and maintained based on a specific operating system, such as common IOS, Android, Windows and homemade operating systems;
2. complexity of iteration: the iterative change of functions in the existing bank financial service client can be confirmed by a user operation client to finish the version upgrading and updating;
3. functional homogeneity: the existing bank financial service client provides a uniform business function module for all users, and cannot perform personalized and differentiated business function display according to user characteristics.
Disclosure of Invention
To at least partially solve the problems in the background art, embodiments of the present disclosure provide a service function implementation method, system, corresponding device, and storage medium. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a browser client, including: the system comprises a first service script compiling module, a first service script running module and a first rendering and displaying module; wherein the content of the first and second substances,
the first business script compiling module is used for receiving a first business function component in a source code form from a bank server and compiling the first business function component into a second business function component in an object code form;
the service script running module is used for running a second service function component coded by the first service script compiling module so as to execute service processing;
the first rendering and displaying module is used for displaying the service information generated by the first service script running module when the service processing is executed.
Further, the first rendering and displaying module is further configured to receive a service request sent by a user, and send the received service request to the first service script running module;
the first service script running module is used for initiating a first service function component request to a bank server before the first service script compiling module receives a first service function component in a source code form from the bank server.
Further, the first service script execution module is configured to execute service processing in the following manner:
the first service script operation module receives a service request sent by the first rendering and displaying module and judges whether the service request is a service function component request or a service data request; if the request is a service function component request, calling a corresponding second service function component from local to execute the service request; or, requesting a new first business function component from a bank server, and executing the business request by operating the new second business function component after the first business script compiling module compiles the new first business function component into a new second business function component; and if the request is the business data request, the corresponding business data is requested from the bank server.
According to a second aspect of the embodiments of the present disclosure, there is provided a banking server, including: the system comprises a first service function script library and a first service logic processing module; wherein the content of the first and second substances,
the first business function script library is used for storing a first business function component in a source code form and providing the first business function component requested by the browser client to the browser client when the business function component of the browser client requests;
the first service logic processing module is used for executing service logic processing according to a service data request of the browser client, so as to return service data to the browser client.
According to a third aspect of the embodiments of the present disclosure, a system for implementing a business function is provided, where the system includes the browser client described in any one of the first aspect and the bank server described in the second aspect.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a browser client, including: the script scheduler, a second service script compiling module, a second service script running module and a second rendering and displaying module; wherein the content of the first and second substances,
the script scheduler is used for calling a second service script compiling module to compile a first service function component into a second service function component in an object code form when the first service function component in the source code form is received from a bank server; the second service script running module is used for sending a service function component request to the first service script running module;
the second service script compiling module is used for compiling the first service function component into a second service function component;
the second service script running module is used for running a second service function component returned by the script scheduler so as to execute service processing;
and the second rendering and displaying module is used for displaying the service information generated during the execution of the service processing.
Further, the second rendering and displaying module is further configured to receive a service request sent by a user, and send the received service request to the second service script running module;
and the second service script running module is used for initiating a first service function component request to the bank server before the script scheduler receives the first service function component in the source code form from the bank server.
Further, the second service script execution module is configured to execute service processing in the following manner:
the second service script running module receives the service request sent by the second rendering and displaying module and judges whether the service request is a service functional component request or a service data request; if the request is a service function component request, the service function component request is sent to a script scheduler; if the request is a business data request, the corresponding business data is requested from the bank server;
the script scheduler is further configured to search a corresponding second service function component from a local second service function component when receiving a service function component request sent by the second service script running module, and return the searched second service function component to the second service script running module; or, requesting a new first service function component from a bank server, compiling the new first service function component into a new second service function component by the second service script compiling module, and returning the new second service function component to the second service script running module.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a banking server, including: the response scheduler, a second service function script library and a second service logic processing module; wherein the content of the first and second substances,
the response scheduler is used for calling a second service function script library or a second service logic processing module according to the service request of the browser client;
the second business function script library is used for storing the first business function component in the form of an object code and providing the corresponding first business function component for the browser client when being called by the second response dispatcher;
and the second service logic processing module is used for executing service logic processing when being called by the response scheduler.
Further, the response scheduler is specifically configured to receive a service data request sent by a browser client, and send the received service data request to a second service logic processing module;
and the second service logic processing module is used for executing service logic processing to generate service data and returning the generated service data to the browser client when receiving a service data request.
Further, the response scheduler is specifically configured to call a service function script library to return a corresponding first service function component to the browser client when receiving a service function component request sent by the browser client.
According to a sixth aspect of the present disclosure, a business function implementation system is provided, where the system includes the browser client described in the fourth aspect and the banking server described in the fifth aspect.
According to a seventh aspect of the embodiments of the present disclosure, a method for implementing a service function is provided, where the method is applied to a browser client, and the browser client includes: the method comprises a first service script compiling module, a first service script running module and a first rendering and displaying module, and comprises the following steps:
the first business script compiling module receives a first business function component in a source code form from a bank server and compiles the first business function component into a second business function component in an object code form;
the first service script running module runs the second service function component coded by the service script compiling module so as to execute service processing;
and the first rendering and displaying module is used for displaying the service information generated by the service script running module during service processing.
According to an eighth aspect of the embodiments of the present disclosure, there is provided a method for implementing a business function, where the method is applied to a bank server, and the bank server includes: a first service function script library and a first service logic processing module, the method comprising:
the method comprises the steps that a first service function script library provides a first service function component requested by a browser client to the browser client in response to a service function component request of the browser client;
the first business logic processing module executes business logic processing according to a business data request of the browser client, so that business data are returned to the browser client.
According to a ninth aspect of the present disclosure, a method for implementing a service function is provided, where the method is applied to a browser client, and the browser client includes: the script scheduler, a second service script compiling module, a second service script running module and a second rendering and displaying module, wherein the method comprises the following steps:
when a script scheduler receives a first service function component in a source code form from a bank server, a second service script compiling module is called to compile the first service function component into a second service function component in an object code form; meanwhile, when a service function component request sent by the second service script running module is received, returning a corresponding second service function component to the second service script running module;
the second service script running module runs a second service function component returned by the script scheduler so as to execute service processing;
and the second rendering and displaying module is used for displaying the service information generated during the execution of the service processing.
According to a tenth aspect of the embodiments of the present disclosure, a method for implementing a business function is provided, where the method is applied to a bank server, and the bank server includes: responding to a dispatcher, a second service function script library and a second service logic processing module, wherein the method comprises the following steps:
the response dispatcher calls a second service function script library or a second service logic processing module according to the service request of the browser client;
when the second service function script library is called by the response scheduler, the corresponding first service function component is provided for the browser client;
and the second service logic processing module executes service logic processing when being called by the response scheduler.
According to an eleventh aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, in which at least one computer instruction is stored, where the instruction is loaded and executed by a processor to implement the steps performed in the business function implementing method according to any one of the seventh to tenth aspects of the embodiments of the present disclosure.
The embodiment of the present disclosure provides a browser client, including: the first service script compiling module is used for compiling the first service function component in the source code form into the second service function component in the object code form; the first service script running module is used for running the second service functional component so as to execute service processing; and the first rendering and displaying module is used for displaying the service information. The method and the system are based on the virtual machine technology of the rich client, can shield the correlation between the business function component and the operating system version, and can complete the iterative change of the function without the operation confirmation of a client when the user function in the browser client is subjected to the iterative change. Based on the browser client, the following beneficial effects can be achieved at least:
1) the method comprises the steps of using a virtual machine technology based on a Rich Client (RCP) to shield the correlation between a business function component and an operating system version, so that the compiled business function component only needs to generate an object code which can run on a corresponding virtual machine, and can run on various operating system platforms without modification.
2) When the user function in the browser client side is subjected to iterative change, the iterative change of the function can be completed without operation confirmation of a client, and the client side is upgraded and updated.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic structural diagram of a browser client according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a banking server provided in an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a service function implementing system according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of another browser client provided in the embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of another banking server provided in the embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of another service function implementing system provided in the embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of systems and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Example one
An embodiment of the present disclosure provides a browser client, and with reference to fig. 1, the browser client includes: a first service script compiling module 11, a first service script running module 12 and a first rendering and displaying module 13; wherein the content of the first and second substances,
the first business script compiling module 11 is configured to receive a first business function component in a source code form from a bank server, and compile the first business function component into a second business function component in an object code form;
the first service script running module 12 is configured to run a second service function component coded by the first service script compiling module, so as to execute service processing;
the first rendering and displaying module is configured to display service information generated when the first service script execution module 12 executes service processing.
Further, the first rendering and displaying module 13 is further configured to receive a service request sent by a user, and send the received service request to the first service script running module 12;
the first service script running module 12 is configured to initiate a first service function component request to a banking server before the first service script compiling module 11 receives a first service function component in a source code form from the banking server.
Further, the first service script execution module 12 is configured to execute service processing by:
the first service script running module 12 receives a service request sent by the first rendering and displaying module 13, and determines whether the service request is a service function component request or a service data request; if the request is a service function component request, calling a corresponding second service function component from local to execute the service request; or, requesting a new first service function component from a bank server, and executing the service request by running the new second service function component after the first service script compiling module 11 compiles the new first service function component into a new second service function component; and if the request is the business data request, the corresponding business data is requested from the bank server.
Example two
The second embodiment of the present disclosure provides a banking server, and with reference to fig. 2, the banking server includes: a first service function script library 21 and a first service logic processing module 22; wherein the content of the first and second substances,
the first service function script library 21 is configured to store a first service function component in a source code form, and to provide the first service function component requested by the browser client to the browser client in response to a service function component request of the browser client;
the first service logic processing module 22 is configured to execute service logic processing according to a service data request of the browser client, so as to return service data to the browser client.
Preferably, when the first service function script library 21 stores the first service function component, the first service function component with the same function may provide various versions, and the different versions have differences in the display style and the display content of the content, so that when the first service function script library 21 provides the first service function component requested by the first service function script library to the browser client, the first service function component matched with the current user may be locally screened out according to the information (such as age, gender, industry, position, and the like) of the user who currently initiates the request, thereby implementing personalized display of the service function of the user.
EXAMPLE III
The third embodiment of the present disclosure provides a system for implementing a business function, where the system includes the browser client described in the first embodiment and the bank server described in the second embodiment.
The service function implementation system provided by the third embodiment of the present disclosure can at least achieve the following beneficial effects:
1) the correlation between the business function component and the operating system version is shielded by using a Rich Client (RCP) based virtual machine technology, so that the compiled business function component can be operated on various operating system platforms without modification only by generating object codes which can be operated on the corresponding virtual machine.
2) When the user function in the browser client side is subjected to iterative change, the iterative change of the function can be completed without operation confirmation of a client, and the client side is upgraded and updated.
3) The personalized customization of thousands of people and thousands of faces of service scenes can be realized by dynamically acquiring the service function module and pushing the service function module based on the user information in a personalized manner.
Example 1
The following detailed description of the first embodiment to the third embodiment of the present invention is provided by way of a specific example.
Fig. 3 is an exemplary basic structure diagram of a service implementation system provided in the present invention, and referring to fig. 3, the system includes: the system comprises a browser client and a bank server; wherein the content of the first and second substances,
the browser client includes: the system comprises a first service script compiling module, a first service running module and a first rendering and displaying module; wherein the content of the first and second substances,
the first service script compiling module translates source code (assembly or high level language source program) into object code (machine language) using compiler technology, for example, converts a script instruction set into binary code recognizable by a CPU, for example, Java source code into Java source code using JDK of Sun corporation, Java compiler.
The first service script running module uses a virtual machine technology to shield information related to a specific operating system platform, so that the compiled program only needs to generate an object code running on a virtual machine, for example, namely, the compiled program can run on various platforms without modification. For example, a JVM (Java virtual machine) is a virtual machine technology based on Java language, and various computer functions are simulated on an actual computer through software, so that the virtual machine has a complete architecture, such as a processor, a stack, a register, and the like, and also has a corresponding instruction system.
The first rendering display module realizes the display and presentation of information resources, the interaction of users and the information interaction of the background server side by depending on the existing browser technology. For example, the Google browser includes a presentation UI framework, a responsible browser engine, a JS engine responsible for interpreting rendered pages, a responsible JS engine for implementing dynamic effects on pages, and an information delivery protocol.
The bank server side includes: the system comprises a first service function script library and a first service logic processing module; wherein the content of the first and second substances,
the first business function script library is used for storing different business function components, and the office responsible business function is modularized; different service function components are used for providing different functions for users in different service scenes (such as login, balance inquiry, account transfer and the like), and all the service function components are stored in a modularized mode;
the first service logic processing module is used for processing the existing service, performing logic operation and processing on information data of a user, and returning a result to the browser client.
Referring to fig. 3, the service implementation flow in this example is as follows:
s11, after the browser client is started, a user interacts with the browser client through the first rendering display module, and the specific interaction is that the user sends a service request to the first rendering display module;
s12, the first rendering display module sends the received service request to the first service script running module;
s13, the first service script running module judges whether the received service request is a service function component request or a service data request; if the business data request is the business data request, corresponding business data is directly requested to a first business logic processing module in the bank server according to the business data request, then the business data returned by the first business logic processing module is received, and the received business data is displayed through a first rendering display module; if the request is a service function component request, judging whether a service function component requested by a user exists locally, if so, directly calling the corresponding service function component locally to execute the service function component request of the user; if the service function component does not exist, a request for the corresponding service function component is initiated to a first service function script library in the bank server, after the first service function script library receives the service function component request, the corresponding service function component (in a source code form) is returned to a first service script compiling module in the browser client, the first service script compiling module receives a source code of the service function component sent by the first service function script library, compiles the source code to obtain an object code, and delivers the compiled object code to a first service script running module, and the first service script running module runs the object code to execute the service request of the user.
Example four
A fourth embodiment of the present disclosure provides a browser client, and with reference to fig. 4, the browser client includes: a script scheduler 41, a second service script compiling module 42, a second service script running module 43 and a second rendering and displaying module 44; wherein the content of the first and second substances,
the script scheduler 41 is configured to, when receiving a first service function component in a source code form from a bank service end, invoke a second service script compiling module 42 to compile the first service function component into a second service function component in an object code form; the second service script execution module 43 is further configured to, when receiving a service function component request sent by the second service script execution module 43, return a corresponding second service function component to the second service script execution module 43;
the second service script compiling module 42 is configured to compile the first service functional component into a second service functional component;
the second service script running module 43, configured to run a second service function component returned by the script scheduler 41, so as to execute service processing;
the second rendering and displaying module 44 is configured to display the service information generated when the service processing is executed.
Further, the second rendering and displaying module 44 is further configured to receive a service request sent by a user, and send the received service request to the second service script running module 43;
the second service script running module 43 is configured to initiate a first service function component request to the banking server before the script scheduler 41 receives the first service function component in the form of source code from the banking server.
Further, the second service script execution module 43 is configured to execute service processing by:
the second service script running module 43 receives the service request sent by the second rendering and displaying module 44, and determines whether the service request is a service function component request or a service data request; if the request is a service function component request, the service function component request is sent to a script scheduler; if the request is a business data request, the corresponding business data is requested from the bank server;
the script scheduler 41 is further configured to, when receiving a service function component request sent by the second service script running module 43, find a corresponding second service function component from the local second service function component, and return the found second service function component to the second service script running module 43; or, request a new first service function component from the banking server, and after the second service script compiling module 42 compiles the new first service function component into a new second service function component, return the new second service function component to the second service script running module 43.
In the embodiment, a script scheduler is introduced into the browser client through an internal bus technology, and the script scheduler serves as a master control module and is responsible for distributing and dispatching the service function components.
EXAMPLE five
The fifth embodiment of the present disclosure provides a bank server, where the bank server includes: a response scheduler 51, a second service function script library 52 and a second service logic processing module 53; wherein the content of the first and second substances,
the response scheduler 51 is configured to invoke a second service function script library 52 or a second service logic processing module 53 according to a service request of the browser client;
the second business function script library 52 is used for storing the first business function components in the form of object codes and providing the corresponding first business function components to the browser client when being called by the second response scheduler 51;
the second service logic processing module 53 is configured to execute service logic processing when called by the response scheduler 51.
Further, the response scheduler 51 is specifically configured to receive a service data request sent by a browser client, and send the received service data request to the second service logic processing module 53;
the second service logic processing module 53 is configured to, when receiving a service data request, execute service logic processing, generate service data, and return the generated service data to the browser client.
Further, the response scheduler 51 is specifically configured to, when receiving a service function component request sent by a browser client, call a service function script library to return a corresponding first service function component to the browser client.
In this embodiment, a response scheduler is introduced in the bank server through an internal bus technology, and is used as a master control module to take charge of distributing and dispatching tasks, so that the bank server can be accessed quickly when the module structure changes (such as a calling mode of a script library, function adjustment of a service logic component and transverse expansion). The bus technology refers to a communication module based on message call service, and realizes plugging and calling of different modules through a standard adapter and an interface such as XML.
Preferably, when the second service function script library 52 stores the first service function component, the first service function component with the same function may provide various versions, and the different versions are different in the display style and the display content of the content, so that when the second service function script library 52 provides the first service function component requested by the second service function script library to the browser client, the first service function component matched with the current user may be locally screened out according to the information (such as age, gender, industry, position, and the like) of the user who currently initiates the request, thereby implementing personalized display of the service function of the user.
EXAMPLE six
The sixth embodiment of the present disclosure provides a system for implementing a business function, where the system includes the browser client described in the fourth embodiment and the bank server described in the fifth embodiment.
In the system, because the script scheduler and the response scheduler are accessed through a bus technology, when the internal structure of the bank server or the browser client is adjusted, for example, the business logic is transversely expanded, only the internal component interface is required to be adjusted, and the browser client and the bank server do not need to be reformed.
The service function implementation system provided by the sixth embodiment of the present disclosure can at least achieve the following beneficial effects:
1) the correlation between the business function component and the operating system version is shielded by using a Rich Client (RCP) based virtual machine technology, so that the compiled business function component can be operated on various operating system platforms without modification only by generating object codes which can be operated on the corresponding virtual machine.
2) When the user function in the browser client side is subjected to iterative change, the iterative change of the function can be completed without operation confirmation of a client, and the client side is upgraded and updated.
3) The personalized customization of thousands of people and thousands of faces of service scenes can be realized by dynamically acquiring the service function module and pushing the service function module based on the user information in a personalized manner.
Example two
The following detailed description of the embodiments of the present invention will be made by taking a specific example.
Fig. 6 is an exemplary basic structure diagram of a service implementation system provided in the present invention, and referring to fig. 6, the system includes: the system comprises a browser client and a bank server; wherein the content of the first and second substances,
the browser client includes: the system comprises a script scheduler, a first service script compiling module, a first service running module and a first rendering and displaying module; wherein the content of the first and second substances,
the script scheduler is used for receiving the service function script source code sent by the second service function script library, sending the received service function script source code to the second script compiling module for compiling, and then delivering the compiled object code to the second script running module for running; and the second script running module is also used for providing corresponding object codes for the corresponding business function component when the second script running module requests the corresponding object codes.
The second service script compiling module translates the source code (assembly or high level language source program) into object code (machine language) using compiler technology, for example, converts a script instruction set into binary code recognizable by the CPU, for example, Java source code into Java source code using JDK by the Java compiler Sun company.
The second service script running module uses a virtual machine technology to shield information related to a specific operating system platform, so that the compiled program only needs to generate an object code running on a virtual machine, for example, namely, the compiled program can run on various platforms without modification. For example, a JVM (Java virtual machine) is a virtual machine technology based on Java language, and various computer functions are simulated on an actual computer through software, so that the virtual machine has a complete architecture, such as a processor, a stack, a register, and the like, and also has a corresponding instruction system.
And the second rendering and displaying module realizes the display and presentation of information resources, the interaction of users and the information interaction of the background server side by depending on the existing browser technology. For example, the Google browser includes a presentation UI framework, a responsible browser engine, a JS engine responsible for interpreting rendered pages, a responsible JS engine for implementing dynamic effects on pages, and an information delivery protocol.
The bank server side includes: the response scheduler, the second service function script library module and the second service logic processing module; wherein the content of the first and second substances,
the second service function script library module is used for storing different service function components and is responsible for service function modularization; different service function components are used for providing different functions for users in different service scenes (such as login, balance inquiry, account transfer and the like), and all the service function components are stored in a modularized mode;
the second service logic processing module is used for realizing the existing service processing, performing logic operation and processing on the information data of the user through interaction with the back-end database, and returning the result to the browser client.
Referring to fig. 6, the service implementation flow in this example is as follows:
s11, after the browser client is started, the user interacts with the browser client through the first rendering and displaying module, specifically, for example, the user sends a service request to the first rendering and displaying module;
s12, the first rendering display module sends the received service request to the first service script running module;
s13, the first service script running module judges whether the received service request is a service function component request or a service data request; if the request is a business data request, the business data request is directly sent to a response scheduler in a bank server; if the request is a service function component request, judging whether a service function component requested by a user exists locally, if so, directly calling the corresponding service function component locally to execute the service function component request of the user; if the request does not exist, the business function request is sent to a response dispatcher in a bank server;
s14, when the response dispatcher in the bank server receives a service request sent by the browser client, determine whether the service request is a service data request or a service function component request?
If the service data request is the service data request, calling a second service logic processing module to process the service data request, and directly returning the processed service data to a second script running module or returning the processed service data to the second script running module through a response scheduler by the second service logic processing module; after the second script operation module processes the service data, the final service information content is delivered to a second rendering and displaying module for rendering and displaying;
if the request is a service function component request, calling a second service function script library to return a corresponding service function component source code to the browser client; specifically, the second service function script library returns a corresponding service function component (in a source code form) to a script scheduler in the browser client, the script scheduler hands the source code to the first service script compiling module, the first service script compiling module compiles the source code to obtain an object code after receiving the source code of the service function component sent by the first service function script library, and hands the object code obtained by compiling to the first service script running module, and the first service script running module runs the object code to execute the service request of the user.
EXAMPLE seven
The seventh embodiment of the present disclosure provides a computer-readable storage medium, for example, the non-transitory computer-readable storage medium may be a Read Only Memory (ROM), a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like. The storage medium stores at least one computer instruction, and the instruction is executed by the processor to implement the service function implementation method described in the seventh to tenth embodiments of the present invention, which is not described herein again.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (17)

1. A browser client, characterized in that the browser client comprises: the system comprises a first service script compiling module, a first service script running module and a first rendering and displaying module; wherein the content of the first and second substances,
the first business script compiling module is used for receiving a first business function component in a source code form from a bank server and compiling the first business function component into a second business function component in an object code form;
the first service script running module is used for running a second service function component coded by the first service script compiling module so as to execute service processing;
the first rendering and displaying module is used for displaying the service information generated by the first service script running module when the service processing is executed.
2. The browser client of claim 1, wherein the first rendering and displaying module is further configured to receive a service request sent by a user, and send the received service request to the first service script running module;
the first service script running module is used for initiating a first service function component request to a bank server before the first service script compiling module receives a first service function component in a source code form from the bank server.
3. The browser client of claim 2, wherein the first service script execution module is configured to execute a service process by:
the first service script operation module receives a service request sent by the first rendering and displaying module and judges whether the service request is a service function component request or a service data request; if the request is a service function component request, calling a corresponding second service function component from local to execute the service request; or, requesting a new first business function component from a bank server, and executing the business request by operating the new second business function component after the first business script compiling module compiles the new first business function component into a new second business function component; and if the request is the business data request, the corresponding business data is requested from the bank server.
4. A banking server, comprising: the system comprises a first service function script library and a first service logic processing module; wherein the content of the first and second substances,
the first business function script library is used for storing a first business function component in a source code form and providing the first business function component requested by the browser client to the browser client when the business function component of the browser client requests;
the first service logic processing module is used for executing service logic processing according to a service data request of the browser client, so as to return service data to the browser client.
5. A business function implementation system, characterized in that the system comprises a browser client according to any one of claims 1 to 3 and a banking server according to claim 4.
6. A browser client, characterized in that the browser client comprises: the script scheduler, a second service script compiling module, a second service script running module and a second rendering and displaying module; wherein the content of the first and second substances,
the script scheduler is used for calling a second service script compiling module to compile a first service function component into a second service function component in an object code form when the first service function component in the source code form is received from a bank server; the second service script running module is used for sending a service function component request to the first service script running module;
the second service script compiling module is used for compiling the first service function component into a second service function component;
the second service script running module is used for running a second service function component returned by the script scheduler so as to execute service processing;
and the second rendering and displaying module is used for displaying the service information generated during the execution of the service processing.
7. The browser client of claim 6, wherein the second rendering and displaying module is further configured to receive a service request sent by a user, and send the received service request to the second service script running module;
and the second service script running module is used for initiating a first service function component request to the bank server before the script scheduler receives the first service function component in the source code form from the bank server.
8. The browser client of claim 7, wherein the second service script execution module is configured to execute service processing by:
the second service script running module receives the service request sent by the second rendering and displaying module and judges whether the service request is a service functional component request or a service data request; if the request is a service function component request, the service function component request is sent to a script scheduler; if the request is a business data request, the corresponding business data is requested from the bank server;
the script scheduler is further configured to search a corresponding second service function component from a local second service function component when receiving a service function component request sent by the second service script running module, and return the searched second service function component to the second service script running module; or, requesting a new first service function component from a bank server, compiling the new first service function component into a new second service function component by the second service script compiling module, and returning the new second service function component to the second service script running module.
9. A banking server, comprising: the response scheduler, a second service function script library and a second service logic processing module; wherein the content of the first and second substances,
the response scheduler is used for calling a second service function script library or a second service logic processing module according to the service request of the browser client;
the second business function script library is used for storing the first business function component in the form of an object code and providing the corresponding first business function component for the browser client when being called by the second response dispatcher;
and the second service logic processing module is used for executing service logic processing when being called by the response scheduler.
10. The banking server according to claim 9, wherein the response dispatcher is specifically configured to receive a service data request sent by a browser client, and send the received service data request to the second service logic processing module;
and the second service logic processing module is used for executing service logic processing to generate service data and returning the generated service data to the browser client when receiving a service data request.
11. The banking server according to claim 10, wherein the response dispatcher is specifically configured to call a service function script library to return a corresponding first service function component to the browser client when receiving a service function component request sent by the browser client.
12. A system for implementing a business function, the system comprising a browser client according to any one of claims 6 to 8 and a banking server according to any one of claims 9 to 11.
13. A method for realizing service function is applied to a browser client, and the browser client comprises the following steps: the method comprises a first service script compiling module, a first service script running module and a first rendering and displaying module, and comprises the following steps:
the method comprises the following steps that a first business script compiling module receives a first business function component in a source code form from a bank server and compiles the first business function component into a second business function component in an object code form;
the first service script running module runs the second service function component coded by the service script compiling module so as to execute service processing;
and the first rendering and displaying module is used for displaying the service information generated by the first service script running module when the service processing is executed.
14. A method for realizing business function is characterized in that the method is applied to a bank server, and the bank server comprises the following steps: a first service function script library and a first service logic processing module, the method comprising:
the method comprises the steps that a first service function script library provides a first service function component requested by a browser client to the browser client in response to a service function component request of the browser client;
the first business logic processing module executes business logic processing according to a business data request of the browser client, so that business data are returned to the browser client.
15. A method for realizing service function is applied to a browser client, and the browser client comprises the following steps: the script scheduler, a second service script compiling module, a second service script running module and a second rendering and displaying module, wherein the method comprises the following steps:
when a script scheduler receives a first service function component in a source code form from a bank server, a second service script compiling module is called to compile the first service function component into a second service function component in an object code form; meanwhile, when a service function component request sent by the second service script running module is received, returning a corresponding second service function component to the second service script running module;
the second service script running module runs a second service function component returned by the script scheduler so as to execute service processing;
and the second rendering and displaying module is used for displaying the service information generated during the execution of the service processing.
16. A method for realizing business function is characterized in that the method is applied to a bank server, and the bank server comprises the following steps: responding to a dispatcher, a second service function script library and a second service logic processing module, wherein the method comprises the following steps:
the response dispatcher calls a second service function script library or a second service logic processing module according to the service request of the browser client;
when the second service function script library is called by the response scheduler, the corresponding first service function component is provided for the browser client;
and the second service logic processing module executes service logic processing when being called by the response scheduler.
17. A computer-readable storage medium having stored thereon at least one computer instruction which is loaded and executed by a processor to perform the steps performed in the service function implementation method of any one of claims 13 to 15.
CN202110336635.9A 2021-03-29 2021-03-29 Business function implementation method, system, corresponding device and storage medium Active CN112954075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110336635.9A CN112954075B (en) 2021-03-29 2021-03-29 Business function implementation method, system, corresponding device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110336635.9A CN112954075B (en) 2021-03-29 2021-03-29 Business function implementation method, system, corresponding device and storage medium

Publications (2)

Publication Number Publication Date
CN112954075A true CN112954075A (en) 2021-06-11
CN112954075B CN112954075B (en) 2023-04-07

Family

ID=76227829

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110336635.9A Active CN112954075B (en) 2021-03-29 2021-03-29 Business function implementation method, system, corresponding device and storage medium

Country Status (1)

Country Link
CN (1) CN112954075B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750281A (en) * 2011-04-19 2012-10-24 腾讯科技(深圳)有限公司 Script processing method and system of browser
CN103544276A (en) * 2013-10-22 2014-01-29 北京京东尚科信息技术有限公司 Method and device for displaying script files by virtual machine
CN106293863A (en) * 2016-07-26 2017-01-04 北京北森云计算股份有限公司 The compiling of multilingual cloud realizes the method and system that systemic-function dynamic expansion is replaced
CN106406828A (en) * 2015-07-28 2017-02-15 阿里巴巴集团控股有限公司 Method and apparatus for modifying business tool function of JAVA system
CN106775900A (en) * 2017-01-20 2017-05-31 陈刚 The call method and system of application-browsing device
US20170168783A1 (en) * 2015-12-10 2017-06-15 Sap Se Generating logic with scripting language in software as a service enterprise resource planning
CN109325195A (en) * 2018-07-23 2019-02-12 招银云创(深圳)信息技术有限公司 Rendering method and system, computer equipment, the computer storage medium of browser

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102750281A (en) * 2011-04-19 2012-10-24 腾讯科技(深圳)有限公司 Script processing method and system of browser
CN103544276A (en) * 2013-10-22 2014-01-29 北京京东尚科信息技术有限公司 Method and device for displaying script files by virtual machine
CN106406828A (en) * 2015-07-28 2017-02-15 阿里巴巴集团控股有限公司 Method and apparatus for modifying business tool function of JAVA system
US20170168783A1 (en) * 2015-12-10 2017-06-15 Sap Se Generating logic with scripting language in software as a service enterprise resource planning
CN106293863A (en) * 2016-07-26 2017-01-04 北京北森云计算股份有限公司 The compiling of multilingual cloud realizes the method and system that systemic-function dynamic expansion is replaced
CN106775900A (en) * 2017-01-20 2017-05-31 陈刚 The call method and system of application-browsing device
CN109325195A (en) * 2018-07-23 2019-02-12 招银云创(深圳)信息技术有限公司 Rendering method and system, computer equipment, the computer storage medium of browser

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
唐宁: "网上银行***的软件开发", 《中国金融电脑》 *

Also Published As

Publication number Publication date
CN112954075B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
US7065756B2 (en) Optimization of portable operations in a client-server environment
US20100306738A1 (en) Templating system and method for updating content in real time
CN109885355A (en) A kind of application starting method and relevant apparatus
CN112445550B (en) Server-free computing method and system for preprocessing function
CN111881392A (en) Page display method and device
EP1949228B1 (en) Asynchronous just-in-time compilation
EP1445694A2 (en) Modularization for J2ME platform implementation
CN112954075B (en) Business function implementation method, system, corresponding device and storage medium
CN103917951B (en) Application invocation method, operating system and browser
CN112491940B (en) Request forwarding method and device of proxy server, storage medium and electronic equipment
CN114301970B (en) Service calling method, device, electronic equipment and storage medium
CN112346608A (en) Page display method and device based on business activity result display and electronic equipment
CN111488286A (en) Method and device for independently developing Android module
CN113220374A (en) Software processing method and device
CN113778564B (en) Method, equipment and storage medium for efficiently executing EVM intelligent contract
CN111400623B (en) Method and device for searching information
CN113094429B (en) Data processing method, data query method, computer device and storage medium
CN115061678A (en) Code compiling method and client based on browser proxy service
CN114579334A (en) Communication method, communication device, electronic equipment and storage medium
CN115552369A (en) Compiling method, compiling device, compiling system, storage medium and electronic device
CN113704418A (en) Customer service robot system, related method, device and equipment
CN114579167A (en) Method, device and storage medium for downloading application upgrade file
CN113961279A (en) Page rendering method, device, server and storage medium
CN111597189B (en) Method, device, equipment and storage medium for acquiring data
CN108845803B (en) Method, device and equipment for updating list view and storage medium

Legal Events

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