Business Processing Method, Device and Electronic Equipment Based on Image Client

By receiving and responding to page combination requests on the image client, combining image trading business pages, and calling peripheral devices to execute business transaction instructions, the problem that traditional image clients are difficult to take into account peripheral interaction and flexible configuration is solved, and a rich and flexible image client service is achieved.

CN116204179BActive Publication Date: 2025-06-27INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211686154.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-27
Publication Date
2025-06-27
Estimated Expiration
2042-12-27

AI Technical Summary

Technical Problem

When traditional imaging clients perform business processing, they find it difficult to take into account the underlying peripheral interaction and cannot flexibly configure it, and cannot meet the rapid deployment needs of new technologies and new needs.

Method used

Using a business processing method based on an image client, by receiving a page combination request transmitted by the target application, responding to the page combination request, combining the page to be combined into an image trading business page, and calling the target peripheral device through the image trading business page to execute business transaction instructions.

Benefits of technology

It realizes a lightweight architecture that takes into account the underlying peripheral interaction and supports flexible deployment and configuration, and provides imaging client services with rich functions, adapt to diverse environments and strong expansion capabilities, solving the problem that traditional imaging clients are difficult to take into account both peripheral interaction and flexible configuration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116204179B_ABST
    Figure CN116204179B_ABST
Patent Text Reader

Abstract

The present invention discloses a service processing method, device, and electronic device based on an imaging client, which relate to the field of fintech. Among them, the method includes: receiving a page combination request transmitted by a target application, where the target application is pre-displayed on the browser of the imaging client, and the application user customizes the pages to be combined on the browser through a user interface (UI) control, and the UI control is pre-deployed in a static page library, and the page combination request includes N pages to be combined; responding to the page combination request, combining the N pages to be combined to obtain an imaging transaction service page; receiving a service transaction instruction initiated through the imaging transaction service page, and invoking a target peripheral device based on the service transaction instruction; controlling the target peripheral device to execute the service transaction instruction to obtain a transaction execution result. The present invention solves the technical problem in the related art that in the traditional imaging client during service processing, it is difficult to balance the interaction with the underlying peripherals and cannot be flexibly configured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of fintech or other related technical fields. Specifically, it relates to a business processing method, an apparatus, and an electronic device based on an imaging client. Background Art

[0002] With the rapid development of information technology, the requirements for the client system architecture in various business scenarios are getting higher and higher. Most traditional PC clients adopt the C / S (Client / Server) architecture. Although it has the advantages of strong underlying interaction ability and fast response speed, it also has many disadvantages. For example, adopting the C / S architecture makes the technology ecosystem relatively closed, with poor compatibility, weak distributed functions, and inability to support rapid deployment. Especially for imaging clients, it is difficult to balance underlying peripheral device interaction and flexible configuration using the C / S architecture. The traditional client architecture can no longer meet the current situation where new technologies emerge continuously, new demands emerge in an endless stream, and new businesses are urgently launched. In this case, traditional C / S architecture clients are difficult to keep up with the mainstream technology system and are gradually abandoned.

[0003] For the above problems, no effective solution has been proposed yet. Summary of the Invention

[0004] Embodiments of the present invention provide a business processing method, an apparatus, and an electronic device based on an imaging client, so as to at least solve the technical problem in the related art that it is difficult to balance underlying peripheral device interaction and flexible configuration when a traditional imaging client performs business processing.

[0005] According to one aspect of the embodiments of the present invention, a business processing method based on an imaging client is provided, which is applied to a business processing system. The business processing system at least includes: an imaging client and a server. The business processing method includes: receiving a page combination request transmitted by a target application, where the target application is pre-displayed on the browser of the imaging client, and an application user customizes the pages to be combined on the browser through a UI (User Interface) control. The UI control is pre-deployed in a static page library, and the page combination request includes N pages to be combined, where N is a positive integer greater than or equal to 1; responding to the page combination request, combining the N pages to be combined to obtain an imaging transaction business page, where after the imaging transaction business page is transmitted to the browser, it is displayed on the terminal interface of the imaging client; receiving a business transaction instruction initiated through the imaging transaction business page, and invoking a target peripheral device based on the business transaction instruction; controlling the target peripheral device to execute the business transaction instruction to obtain a transaction execution result.

[0006] Optionally, the step of receiving a service transaction instruction initiated through the image transaction service page includes: receiving a standardized image service transaction instruction initiated by a preset transaction page, where the preset transaction page includes at least one of the following: an image editing page, an image display page, a preview page, an optical character recognition (OCR) page, a watermark addition page, an access page; and / or, receiving a customized image transaction service instruction set by the user characteristics of the application user.

[0007] Optionally, before receiving a page combination request transmitted by a target application, it further includes: installing the target application on the image client and displaying the image transaction service page; deploying the static page library on the server side, where the static page library provides the page functions of the image transaction service page.

[0008] Optionally, the business processing method based on the image client further includes: controlling the image client to display service interfaces of multiple peripheral driver services, where the multiple peripheral driver services include: optical character recognition (OCR), scanner service, document camera service, file cache.

[0009] Optionally, the business processing method based on the image client further includes: controlling the image client to display the underlying base page of the business processing system, where the underlying base page includes: a local operating system page, a file system page, and M underlying function pages, where M is a positive integer greater than or equal to 1.

[0010] Optionally, at least one of the M underlying function pages includes: a log record page, a file access and cache page, a local service page, a monitoring daemon page, where the page functions of the local service page include: image processing and editing, optical character recognition (OCR).

[0011] Optionally, the business processing method based on the image client further includes: controlling the image client to display a service layer page corresponding to the peripheral service layer of the business processing system, where the peripheral service layer includes: a message sending and receiving layer, a logical device layer, a driver layer, and a port reading and writing layer.

[0012] According to another aspect of the embodiments of the present invention, there is also provided a service processing device based on an imaging client, which is applied to a service processing system. The service processing system at least includes: an imaging client and a server. The service processing device includes: a receiving unit, configured to receive a page combination request transmitted by a target application. Among them, the target application is pre-displayed on the browser of the imaging client, and the application user customizes the pages to be combined on the browser through a user interface design (UI) control. The UI control is pre-deployed in a static page library. The page combination request includes N pages to be combined, and N is a positive integer greater than or equal to 1; a response unit, configured to respond to the page combination request, combine the N pages to be combined to obtain an imaging transaction service page. After the imaging transaction service page is transmitted to the browser, it is displayed on the terminal interface of the imaging client; a calling unit, configured to receive a service transaction instruction initiated through the imaging transaction service page, and call a target peripheral device based on the service transaction instruction; a control unit, configured to control the target peripheral device to execute the service transaction instruction to obtain a transaction execution result.

[0013] Optionally, the receiving unit includes: a first receiving module, configured to receive a standardized imaging service transaction instruction initiated by a preset transaction page. Among them, the preset transaction page includes at least one of the following: an image editing page, an imaging display page, a preview page, an optical character recognition (OCR) page, a watermark addition page, an access page; and / or, a second receiving module, configured to receive a customized imaging service transaction instruction set by the user characteristics of the application user.

[0014] Optionally, the service processing device based on the imaging client further includes: a first installation unit, configured to install the target application on the imaging client and display the imaging transaction service page before receiving the page combination request transmitted by the target application; a first deployment unit, configured to deploy the static page library on the server, where the static page library provides the page functions of the imaging transaction service page.

[0015] Optionally, the service processing device based on the imaging client further includes: a first control unit, configured to control the imaging client to display service interfaces of multiple peripheral device drivers. Among them, the multiple peripheral device drivers include: optical character recognition (OCR), scanner service, high-speed camera service, file cache.

[0016] Optionally, the service processing device based on the imaging client further includes: a second control unit, configured to control the imaging client to display the underlying base page of the service processing system. Among them, the underlying base page includes: a local operating system page, a file system page, and M underlying function pages, where M is a positive integer greater than or equal to 1.

[0017] Optionally, the M underlying function pages include at least one of the following: a logging page, a file access and cache page, a local service page, and a monitoring and guarding page, wherein the page functions of the local service page include: image processing and editing, and text recognition OCR.

[0018] Optionally, the business processing device based on the image client also includes: a third control unit, used to control the image client to display a service layer page corresponding to the peripheral service layer of the business processing system, wherein the peripheral service layer includes: a message transceiver layer, a logical device layer, a driver layer and a port read and write layer.

[0019] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is also provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned image client-based business processing methods.

[0020] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, comprising: one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement any one of the above-mentioned business processing methods based on the image client.

[0021] In the present disclosure, the following steps are adopted: receiving a page combination request transmitted by a target application, wherein the target application is pre-displayed on a browser of an image client, an application user customizes a page to be combined on the browser through an interface design UI control, the UI control is pre-deployed in a static page library, the page combination request includes N pages to be combined, N is a positive integer greater than or equal to 1, responding to the page combination request, combining the N pages to be combined to obtain an image transaction business page; receiving a business transaction instruction initiated through the image transaction business page, and calling a target peripheral device based on the business transaction instruction; controlling the target peripheral device to execute the business transaction instruction to obtain a transaction execution result.

[0022] In the present disclosure, based on the image client application scenario, static page library technology is used at the upper layer to construct a lightweight architecture that takes into account the interaction with underlying peripherals and supports flexible deployment and configuration, providing image client services that are rich in functions, adaptable to diverse environments, and have strong expansibility, thereby solving the technical problem in related technologies that traditional image clients are difficult to take into account the interaction with underlying peripherals and cannot be flexibly configured when performing business processing.

[0023] In the present disclosure, upgrade and maintenance are simple, and business functions can be updated and upgraded on the server side without frequent client updates. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The accompanying drawings described herein are used to provide a further understanding of the present invention and form a part of this application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation to the present invention. In the drawings:

[0025] Figure 1 is a flowchart of an optional service processing method based on an image client according to an embodiment of the present invention;

[0026] Figure 2 is an architecture diagram of an optional service processing system based on an image client according to an embodiment of the present invention;

[0027] Figure 3 is a schematic diagram of the service functions of an optional image server according to an embodiment of the present invention;

[0028] Figure 4 is a schematic diagram of an optional deployment of an image client and a service application according to an embodiment of the present invention;

[0029] Figure 5 is a schematic diagram of an optional service processing system for providing a standardized image service according to an embodiment of the present invention;

[0030] Figure 6 is a schematic diagram of a service processing system for providing a customized image trading service according to an embodiment of the present invention;

[0031] Figure 7 is a schematic diagram of an optional service processing device based on an image client according to an embodiment of the present invention;

[0032] Figure 8 is a hardware structure block diagram of an electronic device (or mobile device) for a service processing method based on an image client according to an embodiment of the present invention. Detailed Embodiments

[0033] In order to enable those skilled in the art of this technology to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0034] It should be noted that the terms "first", "second", etc. in the description, claims and above-mentioned drawings of the present invention are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0035] It should be noted that the business processing method and device based on the imaging client in the present disclosure can be used in the financial technology field when processing imaging transaction services, and can also be used in any field other than the financial technology field when processing transaction services. The application field of the business processing method and device based on the imaging client in the present disclosure is not limited.

[0036] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in the present disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between the present system and relevant users or institutions. Before obtaining relevant information, a request for obtaining needs to be sent to the aforementioned users or institutions through the interface, and after receiving the consent information feedback from the aforementioned users or institutions, the relevant information is obtained.

[0037] The present invention can be applied to various business processing systems / devices / products (for example, various mobile terminals, PC terminals), use a unified underlying base, and utilize microservice and static page library technologies at the upper layer to build a lightweight architecture that takes into account underlying peripheral interaction and supports flexible deployment and configuration, providing imaging client services with rich functions, adaptable to diverse environments, and strong expansion capabilities; and the client architecture in the present invention is simple to upgrade and maintain, and the business functions can be updated and upgraded on the server side without frequent client updates.

[0038] The present invention will be described in detail below in conjunction with various embodiments.

[0039] Embodiment 1

[0040] According to an embodiment of the present invention, an embodiment of a service processing method based on an image client is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0041] The present invention will be described below in conjunction with the preferred implementation steps. Figure 1 It is a flowchart of an optional service processing method based on an image client according to an embodiment of the present invention. As Figure 1 shown, the method includes the following steps:

[0042] Step S101, receiving a page combination request transmitted by a target application, where the target application is pre-displayed on the browser of the image client, and the application user customizes the pages to be combined on the browser through a UI control for interface design. The UI control is pre-deployed in a static page library. The page combination request includes N pages to be combined, and N is a positive integer greater than or equal to 1;

[0043] Step S102, in response to the page combination request, combining the N pages to be combined to obtain an image transaction service page. After the image transaction service page is transmitted to the browser, it is displayed on the terminal interface of the image client;

[0044] Step S103, receiving a service transaction instruction initiated through the image transaction service page, and invoking a target peripheral device based on the service transaction instruction;

[0045] Step S104, controlling the target peripheral device to execute the service transaction instruction to obtain a transaction execution result.

[0046] Through the above steps, first receive the page combination request transmitted by the target application. The target application is pre-displayed on the browser of the imaging client. The application user customizes the pages to be combined on the browser through the UI (User Interface) controls. The UI controls are pre-deployed in the static page library. The page combination request includes N pages to be combined. In response to the page combination request, combine the N pages to be combined to obtain the imaging transaction service page. After the imaging transaction service page is transmitted to the browser, it is displayed on the terminal interface of the imaging client. Then, receive the service transaction instruction initiated through the imaging transaction service page, and call the target peripheral device based on the service transaction instruction. Finally, control the target peripheral device to execute the service transaction instruction to obtain the transaction execution result. In this embodiment, based on the imaging client application scenario, utilize the static page library technology at the upper layer to construct a lightweight architecture that takes into account the interaction with the underlying peripherals and supports flexible deployment and configuration, providing imaging client services with rich functions, adaptable to diverse environments, and strong expansion capabilities, thereby solving the technical problems in the related art that traditional imaging clients are difficult to take into account the interaction with the underlying peripherals and cannot be flexibly configured during business processing.

[0047] The following will be described in detail in combination with the above implementation steps.

[0048] It should be noted that the embodiment of the present invention is based on the idea of "layered design", adopts the B (Browser) + C / S basic architecture, places the functions closely related to the underlying system and with high performance requirements on the client base, concentrates the client functions on providing imaging services, such as basic capabilities of high-performance editing, recognition, display, interaction, etc., and places the parts related to business logic and front-end display on the browser side; provides standardized imaging transactions and a combinable imaging control page library on the server side, reduces redundant client functions, achieves the purpose of client lightweighting, and improves the stability and cross-platform compatibility of the client.

[0049] In the embodiment of the present invention, the business processing method based on the imaging client is applied to a business processing system. The business processing system at least includes: an imaging client and a server. Optionally, before receiving the page combination request transmitted by the target application, it further includes: installing the target application on the imaging client and displaying the imaging transaction service page; deploying a static page library on the server, where the page functions of the imaging transaction service page are provided by the static page library. The imaging client runs the target application and displays the transaction page corresponding to the imaging service transaction. At the same time, a static page library is deployed on the server to provide the transaction page function through the static page library.

[0050] It should be noted that the image client included in the business processing system hosts / runs a browser. The user interacts with the client through the browser, and the transaction pages corresponding to the image business transactions are displayed through the browser, including the image display page, the editing page, the recognition page, the access page, etc., so as to be universal across platforms.

[0051] In the embodiment of the present invention, the business processing method based on the image client further includes: controlling the image client to display the service interfaces of multiple peripheral device driver services, where the multiple peripheral device driver services include: optical character recognition (OCR, which refers to the process in which an electronic device (such as a scanner or a digital camera) checks characters and then translates the shape into computer text using character recognition methods), local editing service (which refers to providing local text, images, etc. services), scanner service (the type and model of the scanner are not limited in this embodiment), high-speed camera service (the type and model of the high-speed camera are not limited in this embodiment), background transaction service, file cache, and the image client provides multiple peripheral device driver services through the unified access layer.

[0052] In the embodiment of the present invention, the business processing method based on the image client further includes: controlling the image client to display the underlying base page of the business processing system, where the underlying base page includes: the local operating system page, the file system page, and M underlying function pages, where M is a positive integer greater than or equal to 1. A underlying base is also provided in the business processing system, and the underlying base includes: the local operating system, the file system, and M underlying function modules. When displaying the underlying base for the user, the interface display system page of the image client and the function pages of each function module are displayed.

[0053] In the embodiment of the present invention, the M underlying function pages include at least one of the following: the log record page, the file access and cache page, the local service page, the automatic update page, the monitoring daemon page, the peripheral device driver page, where the page function of the local service page includes: image processing and editing, optical character recognition (OCR).

[0054] In the present disclosure, a unified underlying base is used to achieve front-end and back-end separation, decoupling, business layering, with strong scalability. The client itself focuses on the core image function modules and service capabilities.

[0055] Optionally, the business processing method based on the image client further includes: controlling the image client to display the service layer page corresponding to the peripheral service layer of the business processing system. It should be noted that the business processing system in this embodiment further includes: a peripheral service layer, which is built under the M underlying function modules and is connected to each underlying function module through a specified communication policy, where the specified communication policy includes at least: remote procedure call (RPC) or hypertext transfer protocol (Http).

[0056] In the embodiment of the present invention, the peripheral service layer includes: a message sending and receiving layer, a logical device layer, a driver layer, and a port reading and writing layer.

[0057] Step S101, receive a page combination request transmitted by a target application.

[0058] Among them, the target application is pre-displayed on the browser of the imaging client. The application user customizes the pages to be combined on the browser through the UI control in the interface design. The UI control is pre-deployed in the static page library, and the page combination request contains N pages to be combined.

[0059] It should be noted that the above-mentioned static page library is built in advance on the imaging server side, and the imaging UI control is pre-deployed in the static page library. When the application user has a usage requirement, the client can call the imaging UI control to customize and combine pages.

[0060] Step S102, in response to the page combination request, combine the N pages to be combined to obtain an imaging transaction service page.

[0061] Among them, after the imaging transaction service page is transmitted to the browser, it is displayed on the terminal interface of the imaging client.

[0062] Step S103, receive a service transaction instruction initiated through the imaging transaction service page, and call a target peripheral device based on the service transaction instruction.

[0063] In the embodiment of the present invention, the step of receiving a service transaction instruction initiated through the imaging transaction service page includes: receiving a standardized imaging service transaction instruction initiated by a preset transaction page, where the preset transaction page includes at least one of the following: an image editing page, an imaging display page, a preview page, an optical character recognition (OCR) page, a watermark adding page, an access page; and / or, receiving a customized imaging service transaction instruction set by the user characteristics of the application user.

[0064] It should be noted that the server provides two types of imaging service functions: standardized and customized. The server builds a static resource library in advance and deploys the imaging UI control in the static resource library, enabling business application users to customize the page combination function by referring to the UI control. The customized imaging service transaction page is set according to user characteristics, where user characteristics include, but are not limited to: differentiating characteristics such as user age, user occupation, and user habits.

[0065] In this disclosure, two service modes of standard and customization are supported, and a unified technology stack and mainstream technologies are used. At the same time, microservice technology is adopted at the upper layer, enabling full-link transaction monitoring and cloud-native monitoring capabilities.

[0066] Step S104: Control the target peripheral device to execute the service transaction instruction and obtain the transaction execution result.

[0067] In this embodiment, based on the imaging client application scenario, a unified underlying base is used, and the static page library technology is utilized at the upper layer to construct a lightweight architecture that takes into account underlying peripheral interaction and supports flexible deployment and configuration, providing an imaging client service with rich functions, diverse environment adaptation, and strong expansion capabilities, thereby solving the technical problems in the related art that traditional imaging clients are difficult to balance underlying peripheral interaction and cannot be flexibly configured during business processing.

[0068] The following describes the present invention in conjunction with a more specific embodiment.

[0069] Figure 2 is an optional architecture diagram of a service processing system based on an imaging client according to an embodiment of the present invention. As Figure 2 shown, the service processing system based on the imaging client at least includes: a base and a cross-platform WEBVIEW (browser) component. Among them, the base includes: a log recording module, a local file access module, a local service module, a base automatic update module, a monitoring daemon module, and a peripheral driver module, thereby implementing functional modules related to the local operating system, file system, and underlying layer, and providing a cross-platform WEBVIEW (browser) component to display specific service functions.

[0070] Optionally, in this embodiment, a cross-platform QT framework (a cross-platform C++ graphical user interface application development framework) can be used to build the underlying base, and the AJAX (fully known as Asynchronous JavaScript And XML) + HTTP (Hyper Text Transfer Protocol) service technology is used to construct a communication framework between the foreground and the underlying base, which has no strong dependence on the operating system and browser, and is fully compatible with multiple systems such as windows, linux, ios, and android. It is a plugin-free, cross-platform, and cross-browser solution.

[0071] A unified peripheral service layer is constructed under the functional modules in the above base, and communicates with each functional module in the form of RPC or http service (as Figure 2 shown in the schematic illustration of the http interface layer to implement the http service), as Figure 2 shown, the peripheral service layer includes: a message sending and receiving layer, a logical device layer, a driver layer, and a port reading and writing layer, shielding the influence of different operating systems on the main program.

[0072] Taking a scanner as an example, the TWAIN driver protocol (a communication standard between software and image input devices such as digital cameras and scanners) is commonly used on the Window system (a cross-platform operating system), while the SANE driver protocol (a communication standard between software and image input devices) is generally used on the Linux system (an operating system). In this embodiment, the RPC technology is used to build a unified driver interface layer on the upper layer, shielding the differences of different protocols and various brand manufacturers' models to meet the cross-platform requirements.

[0073] As Figure 2 shown, the devices included in the logical device layer at least include: scanners, printers, fax machines, high-speed document scanners, etc.; the drivers that can be implemented in the driver layer at least include: window drivers, linux drivers, ios drivers, and android drivers; the port types implemented in the port read-write layer at least include: USB ports, serial ports, parallel ports, and interfaces corresponding to Bluetooth.

[0074] Figure 3 is a schematic diagram of the business functions of an optional image server according to an embodiment of the present invention. As Figure 3 shown, the server provides image business functions for two service modes of standardization and customization ( Figure 3 illustrates the standardized image function and the customized business function, which respectively operate on the servers belonging to the static resource library and the business application. Of course, the control reference can be realized between the static resource library and the server belonging to the business application in this embodiment).

[0075] As Figure 3 shown, the types of clients that the provided standardized image function and customized business function can serve include but are not limited to: image clients, smart phones, and other smart devices (such as TVs).

[0076] Figure 4 is a schematic diagram of an optional deployment of an image client and a business application according to an embodiment of the present invention. As Figure 4 shown, the C-side logic of the image client is split into UI controls through the implemented module functions and deployed to the static page library, and typical scenario functions are provided. The static page library is referenced by the business application or called by the image client. The image client can call the business application through a unified interface. An application page is deployed in the business application, and module editing functions, peripheral drivers, and optical character recognition (OCR) can be realized through the image client.

[0077] The standardized image service and the customized image service provided by the server are described separately below.

[0078] Figure 5 is a schematic diagram of an optional business processing system for providing a standardized image service according to an embodiment of the present invention. As Figure 5As shown in the figure, the business processing system includes: a server and a client. Among them, the servers of each access application and the imaging server are deployed on the server. Among them, the applications deployed in each access application server correspond to application pages, while in the imaging server, there is an imaging service page library server. This imaging service page library server provides a static page library, and the static page library can call the imaging transaction service. And the client contains a B layer and a C layer. Among them, the B layer refers to the browser layer, such as Figure 5 shown, the browsers that can be provided include: IE11, Chrome, and Edge. And the C layer refers to the server side, which can provide OCR local services, editing local services, scanner services, high-speed camera services, background transaction services, etc. through the unified access layer. These provided services are connected to a unified peripheral driver layer. At the same time, the C layer also provides functions such as automatic update, environment maintenance, and temporary file storage.

[0079] such as Figure 5 shown, the client can call each application, display the application page, and realize business processing by calling local services.

[0080] The server provides a standardized imaging service through the static resource library, and provides customized business services through control references in the business application module. Among them, a static page library is built in the imaging server, and HTML, JSL, QUERYL, and CSS technologies are used to implement imaging UI controls, enabling business application users to customize and combine page functions by referencing UI controls. Canvas is used to implement images, animations, or interactions, supporting cross-browser requirements, and enabling adaptive display for different device terminals.

[0081] Through the static page library, a front-end transaction page is built. The back-end is based on the service framework to implement typical transaction page functions (including image editing, display, preview, OCR recognition, watermark addition, storage, etc.). Among them, those with high performance requirements or relying on the underlying layer can be implemented through the base function module, and the rest are implemented through services.

[0082] Figure 6 is a schematic diagram of a business processing system for providing customized imaging transaction services according to an embodiment of the present invention. As Figure 6 shown, the business processing system includes: a server and a client. Among them, the servers of each access application and the imaging server are deployed on the server. Among them, the applications deployed in each access application server can embed pages, while in the imaging server, there is an imaging static page library server. This imaging service page library server provides a static page library, which can introduce controls for the application side to implement the transaction display page by itself; at the same time, application users can call the imaging transaction service and local services through the embedded page. And the client contains a B layer and a C layer. Among them, the B layer refers to the browser layer, such as Figure 6As shown, the browsers that can be provided include: IE11, Chrome, and Edge. The C layer refers to the server side, which can provide OCR local services, editing local services, scanner services, high-speed camera services, background transaction services, etc. through the unified access layer. These provided services are docked with a unified peripheral driver layer. At the same time, the C layer also provides functions such as automatic update, environment maintenance, and temporary file storage.

[0083] Customized image transactions involve coupling more business application's own logics and are not applicable to scenarios with typical interfaces. The business application constructs its own image transaction business page, and the browser jumps to the relevant page. The business page can use the image controls in the static page library to form its own transaction page.

[0084] Then, through the browser, an image transaction interface is displayed, including: image display, editing, recognition, access, etc., to achieve platform generality. Optionally, as the front-end display methods such as H5+JS become increasingly mature, the display method provided in this embodiment can use H5, JS, and Css, etc. to construct a unified-style UI control library and deploy it in the static page library to provide a standard image service page and customized UI components. Optionally, in this embodiment, a canvas can be used to implement images, animations, or interactions, supporting cross-browser requirements, and can achieve adaptive display for different device terminals.

[0085] Optionally, the third-party plugin communication module installed between the server side and the client side in this embodiment can adopt JNI (Java Native Interface) technology to support the call and communication of third-party plugins written in Java, etc., and is convenient for transplantation on different platforms, and can completely replace the limitations on the operating system under the ActiveX call to the COM component dynamic link library.

[0086] The embodiment of the present invention provides a client service system that is cross-platform technically, cross-process in business, consistent in style experience, can adapt to different underlying architecture differences and achieve adaptive display through basic technical capabilities, business service capabilities, and display interaction capabilities. It supports multi-platform use and display. The business functions can be updated and upgraded on the server side without frequent client updates. Moreover, the system has separated front and back ends, decoupled, business layered, and strong scalability. The client itself focuses on the core image function modules and service capabilities.

[0087] At the same time, the embodiment of the present invention is simple to upgrade and maintain. The business functions can be updated and upgraded on the server side without frequent client updates.

[0088] Furthermore, the page display provided by the embodiment of the present invention is beautiful, has strong interaction ability with application users, and has a good experience.

[0089] Embodiments of the present invention use a unified technology stack and mainstream technologies, adopt microservices, and can perform full-link transaction monitoring and cloud-native monitoring capabilities.

[0090] The present invention will be described below in conjunction with another optional embodiment.

[0091] Embodiment 2

[0092] This embodiment provides a service processing device based on an image client. Each implementation unit included in the service processing device based on the image client corresponds to each implementation step in Embodiment 1.

[0093] Figure 7 is a schematic diagram of an optional service processing device based on an image client according to an embodiment of the present invention, as Figure 7 shown. The device includes: a receiving unit 71, a response unit 72, a calling unit 73, and a control unit 74. Among them,

[0094] The receiving unit 71 is configured to receive a page combination request transmitted by a target application. The target application is pre-displayed on the browser of the image client. The application user customizes the pages to be combined on the browser through a user interface (UI) control. The UI control is pre-deployed in a static page library. The page combination request includes N pages to be combined, where N is a positive integer greater than or equal to 1.

[0095] The response unit 72 is configured to respond to the page combination request, combine the N pages to be combined, and obtain an image transaction service page. After the image transaction service page is transmitted to the browser, it is displayed on the terminal interface of the image client.

[0096] The calling unit 73 is configured to receive a service transaction instruction initiated through the image transaction service page and call a target peripheral device based on the service transaction instruction.

[0097] The control unit 74 is configured to control the target peripheral device to execute the service transaction instruction and obtain a transaction execution result.

[0098] The above-mentioned service processing device based on an image client receives a page combination request transmitted by a target application through a receiving unit 71. Among them, the target application is pre-displayed on the browser of the image client, and the application user customizes the pages to be combined on the browser through a UI control for interface design. The UI control is pre-deployed in a static page library, and the page combination request includes N pages to be combined, where N is a positive integer greater than or equal to 1. The response unit 72 responds to the page combination request, combines the N pages to be combined to obtain an image transaction service page. After the image transaction service page is transmitted to the browser, it is displayed on the terminal interface of the image client. The calling unit 73 receives a service transaction instruction initiated through the image transaction service page and calls a target peripheral device based on the service transaction instruction. The control unit 74 controls the target peripheral device to execute the service transaction instruction to obtain a transaction execution result. In the embodiment of the present invention, based on the application scenario of the image client, a lightweight architecture that takes into account the interaction with underlying peripherals and supports flexible deployment and configuration is constructed by using the static page library technology at the upper layer, providing an image client service with rich functions, adaptable to various environments, and strong expansion capabilities, thereby solving the technical problems in the related art that traditional image clients are difficult to take into account the interaction with underlying peripherals and cannot be flexibly configured during service processing.

[0099] In the embodiment of the present invention, the service processing method based on the image client is applied to a service processing system. The service processing system at least includes: an image client and a server. The target application is installed on the image client, and the image transaction service page is displayed. The static page library is deployed on the server, and the page functions of the image transaction service page are provided by the static page library.

[0100] It should be noted that the image client included in the service processing system bears / runs a browser. The user interacts with the client through the browser, and the image transaction interface is displayed through the client browser, including image display, editing, recognition, storage, etc., to achieve universality across platforms.

[0101] In the embodiment of the present invention, the service processing method based on the image client further includes: controlling the image client to display service interfaces of multiple peripheral device drivers. Among them, the multiple peripheral device drivers include: optical character recognition (OCR, which refers to the process in which an electronic device (such as a scanner or a digital camera) checks characters and then translates the shape into computer text using character recognition methods), local editing service (which refers to providing local text, images, etc. services), scanner service (the type and model of the scanner are not limited in this embodiment), high-speed camera service (the type and model of the high-speed camera are not limited in this embodiment), background transaction service, file caching. The image client provides multiple peripheral device drivers through a unified access layer.

[0102] Optionally, the receiving unit includes: a first receiving module, configured to receive a standardized imaging service transaction instruction initiated by a preset transaction page, where the preset transaction page includes at least one of the following: an image editing page, an imaging display page, a preview page, an optical character recognition (OCR) page, a watermark addition page, an access page; and / or, a second receiving module, configured to receive a customized imaging transaction service instruction set by a user feature of an application user.

[0103] Optionally, the service processing device based on the imaging client further includes: a first installation unit, configured to install a target application on the imaging client and display an imaging transaction service page before receiving a page combination request transmitted by the target application; a first deployment unit, configured to deploy a static page library on a server, where the static page library provides page functions of the imaging transaction service page.

[0104] Optionally, the service processing device based on the imaging client further includes: a first control unit, configured to control the imaging client to display service interfaces of multiple peripheral device drivers, where the multiple peripheral device drivers include: optical character recognition (OCR), a scanner service, a document camera service, a file cache.

[0105] Optionally, the service processing device based on the imaging client further includes: a second control unit, configured to control the imaging client to display a bottom base page of a service processing system, where the bottom base page includes: a local operating system page, a file system page, and M bottom function pages, where M is a positive integer greater than or equal to 1.

[0106] Optionally, the M bottom function pages include at least one of the following: a log record page, a file access and cache page, a local service page, a monitoring daemon page, where the page functions of the local service page include: image processing and editing, optical character recognition (OCR).

[0107] Optionally, the service processing device based on the imaging client further includes: a third control unit, configured to control the imaging client to display a service layer page corresponding to a peripheral service layer of a service processing system, where the peripheral service layer includes: a message sending and receiving layer, a logical device layer, a driver layer, and a port reading and writing layer.

[0108] The above service processing device based on the imaging client may further include a processor and a memory. The above receiving unit 71, response unit 72, calling unit 73, control unit 74, etc. are all stored in the memory as program units, and the processor executes the above program units stored in the memory to implement corresponding functions.

[0109] The above processor includes a kernel, and the kernel retrieves corresponding program units from the memory. One or more kernels may be set, and the imaging transaction service is processed by adjusting kernel parameters.

[0110] The above-mentioned memory may include non-permanent memory in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0111] According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, which includes a stored computer program, wherein when the computer program runs, it controls the device where the computer-readable storage medium is located to execute any one of the above-mentioned business processing methods based on an image client.

[0112] According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including: one or more processors and a memory, where the memory is used to store one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement any one of the above-mentioned business processing methods based on an image client.

[0113] This application also provides a computer program product, which, when executed on a data processing device, is adapted to execute a program initialized with the following method steps: receiving a page combination request transmitted by a target application, where the target application is pre-displayed on the browser of the image client, and the application user customizes the pages to be combined on the browser through a user interface design (UI) control, the UI control is pre-deployed in a static page library, the page combination request includes N pages to be combined, responding to the page combination request, combining the N pages to be combined to obtain an image transaction service page; receiving a business transaction instruction initiated through the image transaction service page, and calling a target peripheral device based on the business transaction instruction; controlling the target peripheral device to execute the business transaction instruction to obtain a transaction execution result.

[0114] Figure 8 is a hardware structure block diagram of an electronic device (or mobile device) for a business processing method based on an image client according to an embodiment of the present invention. As Figure 8 shown, the electronic device may include one or more processors 802 (the processors 802 may include, but are not limited to, processing devices such as a microprocessor MCU or a field programmable gate array FPGA) shown as 802a, 802b,..., 802n in the figure, and a memory 804 for storing data. In addition, it may further include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface, a keyboard, a power supply, and / or a camera. Those of ordinary skill in the art can understand that Figure 8 the structure shown is only schematic and does not limit the structure of the above-mentioned electronic device. For example, the electronic device may further include more thanFigure 8 more or fewer components as shown, or having a configuration different from that Figure 8 shown.

[0115] The serial numbers of the embodiments of the present invention above are only for description and do not represent the superiority or inferiority of the embodiments.

[0116] In the above embodiments of the present invention, the descriptions of the respective embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0117] In the several embodiments provided in the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only illustrative. For example, the division of units can be a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the couplings or direct couplings or communication connections shown or discussed with each other can be through some interfaces. The indirect couplings or communication connections of units or modules can be in electrical or other forms.

[0118] The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0119] In addition, the functional units in the respective embodiments of the present invention can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.

[0120] When 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 the present invention, in essence, 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. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The foregoing storage medium includes: various media that can store program codes, such as USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical discs.

[0121] The foregoing are only the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present invention.

Claims

1. A service processing method based on an imaging client, characterized in that Applied to a business processing system, the business processing system at least includes: an image client and a server, and the business processing method includes: Receiving a page combination request transmitted by a target application, wherein the target application is pre-displayed on the browser of the image client, and the application user customizes the pages to be combined on the browser through a user interface design (UI) control, the UI control is pre-deployed in a static page library, and the page combination request contains N pages to be combined, where N is a positive integer greater than or equal to 1; Responding to the page combination request, combining the N pages to be combined to obtain an image transaction business page, wherein after the image transaction business page is transmitted to the browser, it is displayed on the terminal interface of the image client; Receiving a business transaction instruction initiated through the image transaction business page, and invoking a target peripheral device based on the business transaction instruction; Controlling the target peripheral device to execute the business transaction instruction to obtain a transaction execution result.

2. The service processing method according to claim 1, wherein The step of receiving a business transaction instruction initiated through the image transaction business page includes: Receiving a standardized image business transaction instruction initiated by a preset transaction page, wherein the preset transaction page includes at least one of the following: an image editing page, an image display page, a preview page, an optical character recognition (OCR) page, a watermark adding page, an access page; and / or, Receiving a customized image transaction business instruction set by the user characteristics of the application user.

3. The service processing method according to claim 1, characterized in that, Before receiving the page combination request transmitted by the target application, it further includes: Installing the target application on the image client and displaying the image transaction business page; Deploying the static page library on the server, wherein the static page library provides the page functions of the image transaction business page.

4. The service processing method according to claim 3, characterized in that, It further includes: Controlling the image client to display service interfaces of multiple peripheral device drivers, wherein the multiple peripheral device drivers include: optical character recognition (OCR), scanner service, high-speed camera service, file cache.

5. The service processing method according to claim 3, characterized in that It further includes: Controlling the image client to display the underlying base page of the business processing system, wherein the underlying base page includes: a local operating system page, a file system page, and M underlying function pages, where M is a positive integer greater than or equal to 1.

6. The service processing method according to claim 5, wherein The M underlying function pages include at least one of the following: A log record page, a file access and cache page, a local service page, a monitoring daemon page, wherein the page function of the local service page includes: image processing and editing, optical character recognition (OCR).

7. The service processing method according to claim 6, wherein, It further includes: Controlling the image client to display a service layer page corresponding to the peripheral service layer of the business processing system, wherein the peripheral service layer includes: a message sending and receiving layer, a logical device layer, a driver layer, and a port reading and writing layer.

8. A service processing device based on an image client, characterized in that, Applied to a business processing system, the business processing system at least includes: an image client and a server, and the business processing device includes: A receiving unit, configured to receive a page combination request transmitted by a target application, where the target application is pre-displayed on a browser of an imaging client, and an application user customizes pages to be combined on the browser through a user interface (UI) design control, the UI control is pre-deployed in a static page library, and the page combination request includes N pages to be combined, where N is a positive integer greater than or equal to 1; A response unit, configured to respond to the page combination request, combine the N pages to be combined, and obtain an imaging transaction service page, where after the imaging transaction service page is transmitted to the browser, it is displayed on a terminal interface of the imaging client; An invocation unit, configured to receive a service transaction instruction initiated through the imaging transaction service page, and invoke a target peripheral device based on the service transaction instruction; A control unit, configured to control the target peripheral device to execute the service transaction instruction to obtain a transaction execution result.

9. A computer-readable storage medium, characterized in that, A computer-readable storage medium includes a stored computer program, where when the computer program runs, it controls the device where the computer-readable storage medium is located to execute the service processing method based on an imaging client according to any one of claims 1 to 7.

10. An electronic device, characterized in that, Comprising one or more processors and a memory, the memory is configured to store one or more programs, where when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the service processing method based on an imaging client according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method and apparatus for accessing service system through user equipment

    CN109428877A

  • Request processing method and device, electronic equipment and storage medium

    CN115277855A