Government affair middleware service method, system and equipment for credential terminal and medium
By implementing the government middleware service method on Xinchuang self-service terminal equipment, using multi-instance methods and financial expansion service specifications, the in-depth linkage between government affairs and financial services is achieved, which solves the problem of improving the convenience and efficiency of government services on the device, and expands The scope and depth of financial services.
Patent Information
- Application Number
- CN202410622538.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-09-10
AI Technical Summary
How to expand government convenience services through Xinchuang self-service terminal equipment, enhance the in-depth linkage between government affairs and financial services, and provide a more convenient and efficient government service experience.
Provide a government middleware service method, start new device services through middleware calls and multi-instance methods, use JSON format interface data monitoring, support cross-platform development, use financial extension service specifications such as WOSA protocol, set government and bank application interfaces, It also supports functional modules such as certificate verification module and ID card reader.
It has realized the expansion of government affairs convenience services on Xinchuang self-service terminal equipment, improved the efficiency of the government affairs plus financial service platform, expanded the depth and breadth of financial services, and improved the applicability and comprehensiveness of the equipment.
Smart Images

Figure CN118626174A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of ICT terminal technology, and in particular to a government affairs middleware service method, system, equipment and medium for ICT terminals. Background Art
[0002] With the rapid development of science and technology, digitalization and technology have become important means for banking institutions to improve service quality and efficiency. By introducing advanced digital technologies, banking institutions can not only optimize and automate business processes and improve service efficiency, but also provide customers with more personalized and precise financial services. At the same time, as competition in the financial market intensifies, banking institutions need to continuously innovate service models and improve service quality in order to attract and retain customers.
[0003] In this process, government services, as an important service area, have received extensive attention from banking institutions. Through cooperation with government departments, banking institutions can obtain more government data resources and provide customers with more comprehensive and accurate financial services. At the same time, government services are also an important way for banking institutions to expand their service scope and enhance their brand influence.
[0004] Therefore, as a new type of financial service channel, the Xinchuang self-service terminal equipment has the characteristics of convenience, efficiency, and intelligence, and has become an important tool for banking institutions to expand government services for the convenience of the people. How to expand government services for the convenience of the people on Xinchuang self-service terminal devices, upgrade financial services and deeply integrate government affairs, and provide customers with a more convenient and efficient government service experience is a problem that needs to be solved at present. Summary of the invention
[0005] The purpose of the present invention is to provide a government affairs middleware service method, system, equipment and medium for a trusted terminal, thereby solving all or one of the above-mentioned problems existing in the prior art.
[0006] In order to solve the above technical problems, the specific technical solutions of the present invention are as follows: On the one hand, the present invention provides a government affairs middleware service method for a trusted terminal, comprising the following steps: Middleware calling steps: Start the middleware service; In response to the middleware service being started, calling a new device service based on a multi-instance approach; Interface data monitoring steps: Government application connection and interface data monitoring are performed based on the new device service.
[0007] As an improved solution, the interface data adopts JSON format; The interface data format includes: interface service address, device interface name and method name.
[0008] As an improved solution, the middleware calling step further includes: In response to the middleware service being started, the new device service is started in the multi-instance manner through a financial extension service specification.
[0009] As an improved solution, the financial extension service specification adopts the WOSA protocol.
[0010] As an improved solution, the middleware calling step further includes: Set up government-bank application interface; In response to the new device service being started, the government-bank application interface is called.
[0011] As an improved solution, before the middleware calling step, the following steps are included: Design middleware based on cross-platform development strategy; The systems supported by the cross-platform development strategy include: Linux and Windows; The protocols supported by the cross-platform development strategy include: LFS, PISA, and CEN / XFS.
[0012] As an improved solution, the interface data monitoring step further includes: Connect the government application according to the corresponding interface service address and start monitoring the interface data; select the corresponding function module according to the device interface name; transmit the method name and parameter list to the corresponding function module service; perform data analysis, data reception and return within the function module service; The functional modules include: a certificate verification module, an ID card reader, a fingerprint reader, a laser printer, a bank card reader, a password keyboard, a signature screen, a receipt printer, a QR code device, a binocular camera, an indicator light, a voice prompt and an input method.
[0013] On the other hand, the present invention also provides a government affairs middleware service system for a trustworthy terminal, comprising: The middleware calling module is used to: start the middleware service; in response to the start of the middleware service, call the new device service based on the multi-instance mode; The interface data monitoring module is used to: connect government affairs applications and monitor interface data based on the new device service.
[0014] On the other hand, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the government affairs middleware service method for the trusted terminal are implemented.
[0015] On the other hand, the present invention further provides a computer device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: The memory is used to store computer programs; The processor is used to execute the steps of the government affairs middleware service method for the trusted terminal by running the program stored in the memory.
[0016] The beneficial effects of the technical solution of the present invention are: The government affairs middleware service method for trusted and innovative terminals described in the present invention can realize the expansion of government affairs services for the convenience of the people on trusted and innovative self-service terminal devices, extend the cooperation between government and banks, open up a new service model that is convenient for the people and beneficial to enterprises, improve the efficiency of the government affairs plus financial service platform, comprehensively expand the depth and breadth of financial services, and improve the applicability and comprehensiveness of trusted and innovative self-service terminal devices.
[0017] The government affairs middleware service system for the trusted and innovative terminal described in the present invention can realize the government affairs middleware service method for the trusted and innovative terminal described in the present invention through the mutual cooperation of system modules.
[0018] The computer-readable storage medium described in the present invention can realize the cooperation of the guiding system module, and then realize the government affairs middleware service method for the trusted terminal described in the present invention, and the computer-readable storage medium described in the present invention also effectively improves the operability of the government affairs middleware service method for the trusted terminal.
[0019] The computer device described in the present invention can store and execute the computer-readable storage medium, and then realize the government affairs middleware service method for the trusted terminal described in the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0021] Figure 1It is a flowchart of the government affairs middleware service method for the trusted terminal described in Example 1 of the present invention; Figure 2 It is a schematic diagram of the middleware software design architecture of the government affairs middleware service method for the trusted terminal described in Example 1 of the present invention; Figure 3 It is a schematic diagram of the architecture of the government affairs middleware service system for the trusted terminal described in Example 2 of the present invention; Figure 4 is a schematic diagram of the structure of the computer device described in Example 4 of the present invention; The symbols in the accompanying drawings are explained as follows: 1501, processor; 1502, communication interface; 1503, memory; 1504, communication bus. DETAILED DESCRIPTION
[0022] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0023] In the description of the present invention, it should be noted that the embodiments described in the present invention are only part of the embodiments of the present invention, rather than all of the embodiments; based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.
[0024] The terms "first", "second", etc. in the specification and claims of this article and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of this article described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment. Example 1
[0025] This embodiment provides a government affairs middleware service method for a trusted terminal, such as Figure 1 and Figure 2 As shown, the following steps are included: S100, middleware calling steps: In this step, the middleware service is started, and in response to the middleware service being started, a new device service is called based on a multi-instance manner; In one implementation, the middleware provides a unified WebSocket service for each module of the self-service terminal device and provides a unified data service for the applications running on the device. The interface data is represented in JSON format. An example of the middleware interface data is: {interface service address} / {device interface name} / {method name}. It should be noted that the examples here are only for explaining the present invention and cannot limit the protection scope of the present invention. In one implementation, after the middleware service (InspurDeviceService) is started, the financial service is still in operation. At this time, a new device service is started in a multi-instance manner through the financial extension service specification. It should be noted that the examples here are only for explaining the present invention and cannot limit the protection scope of the present invention. Specifically, the financial extension service specification adopts the WOSA protocol; the WOSA protocol contains a series of stable, open interface interfaces, while hiding the system complexity from users and developers; the financial services WOSA extension (WOSA / XFS) is suitable for special services and equipment needs of financial applications, and maintains the highest level of compatibility in API and SPI definitions to adapt to the expansion capabilities of new and enhanced functions. WOSA allows users and developers to have the ability to seamlessly integrate Windows applications for various services and enterprises. By providing standard interfaces for the same device layer, such as the card reader class, an application is independent of a specific card reader, and can be switched from a card reader of one supplier A to a card reader of another supplier B without changing any application program; it should be noted that the examples here are only for explaining the present invention and cannot limit the scope of protection of the present invention; Specifically, a government-bank application interface is set; when a new device service is started, the government-bank application interface is called; the role of the government-bank application interface is to use the common interface of the same type of equipment under the government application as a party of the device service program in the financial service, and to establish a new application terminal within the scope allowed by multiple instances of the financial service, taking the financial service open interface as the benchmark, while ensuring that the device interface remains unchanged, the government application is connected upward and the device interface is called downward; it should be noted that the examples here are only for explaining the present invention and cannot limit the scope of protection of the present invention; Specifically, cross-platform development is carried out when designing the middleware; among them, based on the financial industry standard "Financial Equipment Access Architecture and Driver Interface Requirements" (JR / T0283-2023), cross-platform development of device managers, device service middleware, terminal support product libraries, test tools and simulation drivers is carried out; the same set of source code is used to support multiple operating systems; cross-platform development has good scalability, reduces the adaptation work caused by differences in technical bases, and helps to improve development efficiency; the layered technical architecture system characterized by standardization, low coupling, and componentization has a high degree of technical reuse, which can effectively improve system stability, scalability and maintainability; it should be noted that the examples here are only for the purpose of explaining the present invention and cannot limit the scope of protection of the present invention; Specifically, the supported systems include but are not limited to: Linux and Windows operating systems; it should be noted that the examples here are only for explaining the present invention and cannot limit the protection scope of the present invention; Specifically, the supported protocols include but are not limited to: LFS, PISA, CEN / XFS and other protocols; it should be noted that the examples here are only for explaining the present invention and cannot limit the protection scope of the present invention.
[0026] S200, interface data monitoring steps: In this step, the connection of the government application and the monitoring of the interface data are performed based on the device service started above; Specifically, the government application is connected according to the corresponding interface service address, and the interface data is started to be monitored; specifically, the corresponding functional module is selected according to the device interface name; it should be noted that the examples here are only for explaining the present invention, and the protection scope of the present invention cannot be limited thereby; Specifically, the method name and parameter list are transmitted to the specified function module service; data is parsed, received and returned within the function module service to implement module calling; it should be noted that the examples here are only for explaining the present invention and cannot limit the protection scope of the present invention; Specifically, the supported functional modules include but are not limited to: certificate module, ID card reader, fingerprint device, laser printer, bank card reader, password keyboard, signature screen, receipt printer, QR code device, binocular camera, indicator light, voice prompt, input method, etc.; it should be noted that the examples given here are only for explaining the present invention and cannot limit the scope of protection of the present invention. Example 2
[0027] This embodiment is based on the same inventive concept as the government affairs middleware service method for a trustworthy terminal described in Embodiment 1, and provides a government affairs middleware service system for a trustworthy terminal, such as Figure 3As shown, including: The middleware calling module is used to: start the middleware service, and after the middleware service is started, call the new device service based on the multi-instance mode; In one implementation, the middleware provides a unified WebSocket service for each module of the self-service terminal device and a unified data service for the applications running on the device. The interface data is represented in JSON format. An example of the middleware interface data is: {interface service address} / {device interface name} / {method name}; In one implementation, after the middleware service (InspurDeviceService) is started, the financial service is still in operation, and at this time the middleware calling module starts a new device service in a multi-instance manner through the financial extension service specification; Specifically, the financial extension service specification adopts the WOSA protocol; the WOSA protocol contains a series of stable, open interface interfaces, while hiding the system complexity from users and developers; the financial services WOSA extension (WOSA / XFS) is suitable for the special services and equipment needs of financial applications, and maintains the highest level of compatibility in API and SPI definitions to adapt to the expansion capabilities of new and enhanced functions. WOSA allows users and developers to have the ability to seamlessly integrate Windows applications for various services and enterprises. By providing standard interfaces for the same device layer, such as the card reader class, an application is independent of a specific card reader. When switching from a card reader from supplier A to a card reader from supplier B, there is no need to change any application program. Specifically, a government-bank application interface is set; when a new device service is started, the government-bank application interface is called; the role of the government-bank application interface is to act as a party to the device service program in the financial service, use the common interface of the same type of equipment under the government application, and establish a new application terminal within the scope of multiple instances of the financial service, using the financial service open interface as a benchmark, and under the condition of ensuring that the device interface remains unchanged, connect to the government application upward and call the device interface downward; Specifically, cross-platform development is carried out when designing middleware; among them, based on the financial industry standard "Financial Equipment Access Architecture and Driver Interface Requirements" (JR / T0283-2023), cross-platform development of device managers, device service middleware, terminal support product libraries, test tools and simulation drivers is carried out; the same set of source code is used to support multiple operating systems; cross-platform development has good scalability, reduces the adaptation work caused by differences in technical bases, and helps to improve development efficiency; the layered technical architecture system characterized by standardization, low coupling, and componentization has a high degree of technical reuse and can effectively improve system stability, scalability and maintainability; Specifically, the supported systems include but are not limited to: Linux and Windows operating systems; Specifically, the supported protocols include but are not limited to: LFS, PISA, CEN / XFS and other protocols; The interface data monitoring module is used to: connect the government application and monitor the interface data based on the device service started above; Specifically, the interface data monitoring module connects to the government application according to the corresponding interface service address and starts to monitor the interface data; specifically, the corresponding function module is selected according to the device interface name; the interface data monitoring module transmits the method name and parameter list to the specified function module service; the data is parsed, received and returned within the function module service to implement module calling; Specifically, the supported functional modules include but are not limited to: certificate preparation module, ID card reader, fingerprint reader, laser printer, bank card reader, password keyboard, signature screen, receipt printer, QR code device, binocular camera, indicator light, voice prompt, input method, etc. Example 3
[0028] This embodiment provides a computer-readable storage medium, including: The storage medium is used to store computer software instructions used to implement the government affairs middleware service method for the trusted terminal described in the above-mentioned embodiment 1, which includes a program for executing the above-mentioned program set for the government affairs middleware service method for the trusted terminal; specifically, the executable program can be built into the government affairs middleware service system for the trusted terminal described in embodiment 2, so that the government affairs middleware service system for the trusted terminal can implement the government affairs middleware service method for the trusted terminal described in embodiment 1 by executing the built-in executable program.
[0029] In addition, the computer-readable storage medium of this embodiment may adopt any combination of one or more computer-readable storage media, wherein the computer-readable storage medium includes electrical, optical, electromagnetic, infrared or semiconductor systems, devices or components, or any combination thereof. Example 4
[0030] This embodiment provides an electronic device, such as Figure 4 As shown, the electronic device may include: a processor 1501 , a communication interface 1502 , a memory 1503 and a communication bus 1504 , wherein the processor 1501 , the communication interface 1502 , and the memory 1503 communicate with each other via the communication bus 1504 .
[0031] Memory 1503, used for storing computer programs; Processor 1501 is used to implement the steps of the government affairs middleware service method for the trusted terminal described in the above-mentioned embodiment 1 when executing the computer program stored in the memory 1503.
[0032] As an embodiment of the present invention, the communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 4 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0033] As an implementation mode of the present invention, the communication interface is used for communication between the above-mentioned terminal and other devices.
[0034] As an embodiment of the present invention, the memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0035] As an embodiment of the present invention, the above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0036] Different from the existing technology, the present application adopts a government affairs middleware service method, system, equipment and medium for trusted computing terminals.
[0037] It should be understood that in the various embodiments of this document, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this document.
[0038] It should also be understood that in the embodiments of this article, the term "and / or" is only a description of the association relationship of the associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0039] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this article.
[0040] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0041] In the several embodiments provided herein, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or can be electrical, mechanical or other forms of connection.
[0042] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiments of this article.
[0043] In addition, each functional unit in each embodiment of this invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
[0044] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this article is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of this article. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0045] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A government affairs middleware service method for a trusted terminal, characterized in that: The following steps are involved: Middleware calling steps: Start the middleware service; In response to the middleware service being started, calling a new device service based on a multi-instance approach; Interface data monitoring steps: Government application connection and interface data monitoring are performed based on the new device service.
2. The government affairs middleware service method for the trusted terminal according to claim 1 is characterized in that: The interface data adopts JSON format; The interface data format includes: interface service address, device interface name and method name.
3. The government affairs middleware service method for the trusted terminal according to claim 1 is characterized in that: The middleware calling step further includes: In response to the middleware service being started, the new device service is started in the multi-instance manner through a financial extension service specification.
4. The government affairs middleware service method for the trusted terminal according to claim 3 is characterized in that: The financial extension service specification adopts the WOSA protocol.
5. The government affairs middleware service method for the trusted terminal according to claim 1 is characterized in that: The middleware calling step further includes: Set up government-bank application interface; In response to the new device service being started, the government-bank application interface is called.
6. The government affairs middleware service method for a trusted terminal according to claim 1 is characterized in that: Before the middleware calling step, it includes: Design middleware based on cross-platform development strategy; The systems supported by the cross-platform development strategy include: Linux and Windows; The protocols supported by the cross-platform development strategy include: LFS, PISA, and CEN / XFS.
7. The government affairs middleware service method for a trusted terminal according to claim 1 is characterized in that: The interface data monitoring step further comprises: Connect the government application according to the corresponding interface service address and start monitoring the interface data; select the corresponding function module according to the device interface name; transmit the method name and parameter list to the corresponding function module service; perform data analysis, data reception and return within the function module service; The functional modules include: a certificate verification module, an ID card reader, a fingerprint reader, a laser printer, a bank card reader, a password keyboard, a signature screen, a receipt printer, a QR code device, a binocular camera, an indicator light, a voice prompt and an input method.
8. A government affairs middleware service system for a trusted terminal, characterized in that: include: The middleware calling module is used to: start the middleware service; In response to the middleware service being started, calling a new device service based on a multi-instance approach; The interface data monitoring module is used to: connect government affairs applications and monitor interface data based on the new device service.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, the steps of the government affairs middleware service method for the trusted terminal described in any one of claims 1 to 7 are implemented.
10. A computer device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein: The memory is used to store computer programs; The processor is used to execute the steps of the government affairs middleware service method for the trusted terminal as described in any one of claims 1 to 7 by running the program stored in the memory.
