A method, device, and storage medium for generating a pole
By creating and deploying benchmarks through the management console, the problems of high network dependency and inconvenient upgrades in traditional architectures are solved, enabling rapid and dynamic upgrades of client versions, improving operational efficiency and reducing operating costs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI PUDONG DEVELOPMENT BANK
- Filing Date
- 2022-10-24
- Publication Date
- 2026-04-24
AI Technical Summary
Traditional B/S architecture relies on high network stability, while C/S architecture is inconvenient to upgrade and maintain, and cannot achieve rapid distribution and dynamic real-time effect of client versions, resulting in high operation and maintenance complexity and increased costs.
By creating benchmarks through the management console, deploying application version information, and generating target benchmarks that are uploaded to the server, clients can upgrade their applications by querying the server, enabling canary releases and rapid updates.
It has improved the intelligence and automation of operation and maintenance, reduced operational complexity and costs, and enabled rapid and dynamic upgrades of client versions.
Smart Images

Figure CN115543423B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a benchmark generation method, apparatus, device and storage medium. Background Technology
[0002] With the transformation of self-operated branches towards a lighter and more intelligent model, more and more traditional financial services are gradually being offered through intelligent self-service devices. Clients within these branches provide 24 / 7 self-service financial transactions. Currently, these clients include ATMs / CRS devices offering cash deposit and withdrawal services, and intelligent self-service devices such as VTMs / CTMs offering non-cash financial services. The software architecture of these clients primarily adopts traditional client / server (C / S) or browser / server (B / S) architectures; for example, VTMs use a B / S architecture, while ATMs use a C / S architecture.
[0003] Traditional B / S architectures, because resources are deployed at the head office, are highly dependent on network stability and bandwidth during operation, thus affecting user experience.
[0004] Traditional C / S architecture is inconvenient to upgrade and maintain, requiring engineers to complete the upgrade on-site. It cannot achieve one-click quick deployment of client versions and dynamic real-time effect during operation. In addition, the large upgrade package leads to excessive network consumption and long transmission time. Summary of the Invention
[0005] This invention provides a benchmark generation method, apparatus, device, and storage medium that can solve the architectural defects of traditional upgrades, improve the intelligence and automation of operation and maintenance, reduce complexity, and reduce operating costs.
[0006] According to one aspect of the present invention, a benchmarking method is provided, applied to a management system, the management system comprising: a client deployed in branch outlets, a management terminal connected to the client, and a server deployed in the head office business network, the benchmarking method comprising:
[0007] The management system creates the first benchmark based on the benchmark name, benchmark type, and affiliated organization entered by the user.
[0008] The management system deploys the application version information to the first benchmark based on the application version information input by the user.
[0009] The management system generates a target benchmark based on the first benchmark after deploying the application version information and the client set corresponding to the organization to which the first benchmark belongs. The target benchmark is then uploaded to the server so that the client can upgrade the application by querying the target benchmark stored in the server.
[0010] According to another aspect of the present invention, a benchmark generation device is provided, configured in a management terminal, the benchmark generation device comprising:
[0011] The module creates a first benchmark based on the benchmark name, benchmark type, and affiliated organization entered by the user.
[0012] The deployment module is used to deploy the application version information to the first benchmark based on the application version information input by the user.
[0013] The generation module is used to generate target benchmarks based on the first benchmark after the application version information is deployed and the client set corresponding to the institution to which the first benchmark belongs, and upload the target benchmarks to the server so that the client can upgrade the application by querying the target benchmarks stored in the server.
[0014] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0015] At least one processor; and
[0016] A memory communicatively connected to the at least one processor; wherein,
[0017] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the benchmark generation method according to any embodiment of the present invention.
[0018] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions for causing a processor to execute and implement the benchmark generation method according to any embodiment of the present invention.
[0019] This invention creates a first benchmark based on the benchmark name, benchmark type, and affiliated organization input by the user; deploys the application version information into the first benchmark based on the application version information input by the user; generates a target benchmark based on the first benchmark after deploying the application version information and the client set corresponding to the institution to which the first benchmark belongs, and uploads the target benchmark to the server, so that the client can upgrade the application by querying the target benchmark stored in the server. This can solve the architectural defects of traditional upgrades, improve the intelligence and automation of operation and maintenance, reduce complexity, and reduce operating costs.
[0020] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0021] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a schematic diagram of the architecture of a management system according to an embodiment of the present invention;
[0023] Figure 2 This is a flowchart of a benchmark generation method according to an embodiment of the present invention;
[0024] Figure 3 This is a flowchart illustrating a benchmark generation process in an embodiment of the present invention;
[0025] Figure 4 This is a flowchart of a release and update process in an embodiment of the present invention;
[0026] Figure 5 This is a schematic diagram of the structure of a benchmark generation device according to an embodiment of the present invention;
[0027] Figure 6 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. Detailed Implementation
[0028] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0029] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0030] Example 1
[0031] Figure 1 A schematic diagram of the architecture of a management system provided in an embodiment of the present invention, such as... Figure 1 As shown, the management system includes: client (C), server (P), and management terminal (V).
[0032] The client (C) is deployed within the branch network and provides a cross-platform runtime environment, including: a secure browser based on a customized version of Google CEF, a high-performance JavaScript V8 execution engine, a Node JS cross-platform runtime environment, a runtime management system (C), a lightweight Node JS Express web server, a communication module, a security module, and related plugins for interacting with external hardware. The client can be a self-service terminal or other self-service equipment, such as at least one of ATMs, CRS devices, VTMs, and CTMs.
[0033] The server (P), deployed within the head office network, supports both the device and application ends, providing interface and version services for client (C) related functions. Clients (C) access server-side services through a self-service access gateway.
[0034] The management terminal (V) interacts with the client (C) system to achieve benchmark management, version management, terminal transaction data collection, remote equipment maintenance, and operation status monitoring, and interacts with the server (P) system to achieve transaction data query and business function configuration.
[0035] Figure 2 This is a flowchart illustrating a benchmark generation method provided in an embodiment of the present invention. This embodiment is applicable to benchmark generation scenarios. The method can be executed by the benchmark generation device in this embodiment, which can be implemented in software and / or hardware, such as... Figure 2 As shown, the benchmark generation method specifically includes the following steps:
[0036] S110, the management terminal creates the first benchmark based on the benchmark name, benchmark type and affiliated organization entered by the user.
[0037] Among them, the benchmark refers to the standard version library of self-service terminal applications, which serves as the basis for all version updates of self-service terminal applications and is identified by version numbers with fixed rules.
[0038] The system categorizes benchmarks into two types: basic benchmarks and special benchmarks. Basic benchmarks are the set of application functions supported by the client in the official version. Special benchmarks are the set of application function versions or special requirements specific to a branch. After deploying basic benchmarks, all equipment under the corresponding head office and branch offices can take effect simultaneously. After deploying special benchmarks, they can be assigned to a specific set of clients for limited-scale implementation.
[0039] The basic benchmark is the head office-level basic benchmark, which is used for unified version control across the entire bank. After the benchmark is established, a specified version set can be selected for deployment, and the machine version synchronization can be configured. All clients across the bank are benchmarked against this benchmark version set to achieve version synchronization updates. Featured benchmarks are mainly designed to adapt to the unique application scenarios at the branch level. Each branch can establish multiple featured benchmarks.
[0040] The affiliated institution can be either the head office or a branch; this embodiment of the invention does not impose any restrictions on this.
[0041] The benchmark type can be a basic benchmark or a special benchmark, such as a grayscale benchmark.
[0042] The first benchmark can be either a VTM benchmark or an ATM benchmark.
[0043] Specifically, the management system can create the first benchmark based on the user-inputted benchmark name, type, and affiliated organization in two ways: First, it retrieves the benchmark name, type, and affiliated organization entered by the user on the benchmark creation interface. After the user clicks the completion button, it creates the first benchmark based on these parameters and displays the corresponding icon on the benchmark management interface. Alternatively, the management system can create the first benchmark based on the user-inputted benchmark name, type, and affiliated organization in another way: It retrieves the benchmark name, type, affiliated organization, and benchmark description entered by the user on the benchmark creation interface. After the user clicks the completion button, it creates the first benchmark based on these parameters and displays the corresponding icon on the benchmark management interface.
[0044] S120, the management terminal deploys the application version information to the first benchmark based on the application version information input by the user.
[0045] The methods for obtaining application version information input by the user can be as follows: in response to detecting a user's selection operation on the target benchmark on the version management interface, the management terminal displays the target benchmark editing interface; in response to detecting a user's selection operation on the deployment control on the target benchmark editing interface, the management terminal displays the deployment interface; in response to detecting a user's selection operation on the add application control on the deployment interface, the management terminal displays the add application interface; in response to detecting a user's selection operation on the target application, the management terminal obtains the application version information corresponding to the target application.
[0046] S130, the management terminal generates a target benchmark based on the first benchmark after deploying the application version information and the client set corresponding to the organization to which the first benchmark belongs, and uploads the target benchmark to the server so that the client can upgrade the application by querying the target benchmark stored in the server.
[0047] The method for generating target benchmarks based on the first benchmark after deploying application version information and the client set corresponding to the organization to which the first benchmark belongs can be as follows: If the first benchmark is a basic benchmark, the management end generates target benchmarks based on the first benchmark after deploying application version information and the client set corresponding to the organization to which the first benchmark belongs, and uploads the target benchmarks to the server; if the first benchmark is a featured benchmark, the management end obtains the target device selected by the user; the management end determines a target device list based on the device information corresponding to the target device selected by the user and the client set corresponding to the organization to which the first benchmark belongs; the management end generates target benchmarks based on the target device list and the first benchmark after deploying application version information, and uploads the target benchmarks to the server.
[0048] Optionally, the management terminal generates a target benchmark based on the first benchmark after deploying the application version information and the client set corresponding to the organization to which the first benchmark belongs, and uploads the target benchmark to the server, including:
[0049] If the benchmark type of the first benchmark is the first type, the management terminal generates a target benchmark based on the first benchmark after deploying the application version information and the client set corresponding to the organization to which the first benchmark belongs, and uploads the target benchmark to the server.
[0050] Among them, the first type is the basic type, and the benchmark type of the first benchmark is the basic type. That is, the first benchmark is the basic benchmark. The basic benchmark is the head office level basic benchmark, which is used for unified version control across the entire bank. After the benchmark is established, a specified version set can be selected for deployment, and the machine version synchronization can be configured. All clients across the bank are benchmarked against this benchmark version set to achieve version synchronization updates.
[0051] Optionally, the management terminal generates a target benchmark based on the first benchmark after deploying the application version information and the client set corresponding to the organization to which the first benchmark belongs, and uploads the target benchmark to the server, including:
[0052] If the benchmark type of the first benchmark is the second type, then the management terminal obtains the target device selected by the user;
[0053] The management system determines the target device list based on the device information corresponding to the target device selected by the user and the client set corresponding to the organization to which the first benchmark belongs.
[0054] The management system generates target benchmarks based on the target device list and the first benchmark after deploying application version information, and uploads the target benchmarks to the server.
[0055] The second type is a special type, meaning the first benchmark is a special benchmark, primarily designed to adapt to branch-level special application scenarios. Each branch can establish multiple special benchmarks. It should be noted that the grayscale benchmark, as a type of special benchmark, allows for real-time grayscale deployment and rapid updates on the client side through configuration.
[0056] In a specific example, add a grayscale benchmark (the benchmark name can be customized), deploy the version to be tested to the benchmark, and assign the devices to be tested to the grayscale benchmark. (A self-service machine can only belong to one benchmark. If you cannot add a specific machine to a special benchmark, you need to check if the machine is already in another benchmark and delete it from the other benchmark.)
[0057] Optionally, the management terminal deploys the application version information to the first benchmark based on the application version information input by the user, including:
[0058] In response to the detection of a user's selection of a target benchmark on the version management interface, the management terminal displays the target benchmark editing interface;
[0059] In response to detecting a user's selection of deployment controls on the target benchmark editing interface, the management terminal displays the deployment interface;
[0060] In response to detecting a user's selection of an application control on the deployment interface, the management terminal displays the application addition interface;
[0061] In response to the detection of a user's selection of a target application, the management system obtains the application version information corresponding to the target application and adds the target application to the list of deployed applications in the deployment interface.
[0062] The deployment interface includes: deployed applications (application identifier, application name, application version, activation method, activation time), a delete control, and an add application control. Users can delete deployed applications using the delete control, add deployed applications using the add application control, and modify the activation method and activation time.
[0063] The application addition interface includes an application name search area and an application list. Users can select a target application from the application list by clicking on it, or search for a target application by entering its name in the application name search area. After finding the target application, users can then click on it. This embodiment of the invention does not impose any limitations on this.
[0064] Optionally, the management terminal obtains the target device selected by the user, including:
[0065] In response to the detection of a user's selection of a target benchmark on the version management interface, the management terminal displays the target benchmark editing interface;
[0066] In response to detecting a user's selection operation on the allocation control in the target benchmark editing interface, the management terminal displays the allocation interface;
[0067] In response to detecting a user's selection operation of the add device control on the allocation interface, the management terminal displays the add device interface;
[0068] In response to the detection of a user's selection of a target device, the management system retrieves the target device and adds it to the list of assigned devices in the allocation interface.
[0069] The allocation interface includes: a list of allocated devices (device number, affiliated organization, device type, device brand, and device model), an add device control, and a delete control. Users can delete selected devices using the delete control or add devices using the add device control.
[0070] It should be noted that after the management terminal detects the user's selection of the target device, it obtains the device information corresponding to the target device. The device information includes: device number, affiliated organization, device type, device brand, and device model. Based on the device information of the target device, the management terminal adds the target device to the list of assigned devices in the allocation interface.
[0071] In a specific example, such as Figure 3As shown, creating benchmarks allows for adding, modifying, and deleting benchmarks. It's important to note that when modifying a benchmark, only the benchmark name and description can be changed; the benchmark type and affiliated organization cannot be modified. (Adding a benchmark involves clicking the "Add Control" button in the benchmark management interface, which displays the add benchmark interface. This interface includes editing areas for the benchmark name, benchmark type, affiliated organization, and benchmark description. After entering the benchmark name, type, affiliated organization, and description in the corresponding areas, clicking the "Add Control" button will...) Benchmarks are created based on their name, type, affiliated organization, and description. The newly created benchmark's icon is displayed in the benchmark management interface. Modifying a benchmark involves clicking the icon of the benchmark to be modified in the benchmark management interface. This displays the benchmark editing interface, where the benchmark is updated based on the user's changes to the name and / or description. Deleting a benchmark involves clicking the icon of the benchmark to be deleted in the benchmark management interface and then clicking the delete control. This deletes the benchmark icon in the benchmark management interface. For the created benchmark deployment applications, operations such as adding, deleting, modifying versions, and setting effective times can be performed on the deployed applications. (Adding an application can be done as follows: in response to a user's selection of a target benchmark on the version management interface, the management terminal displays the target benchmark editing interface; in response to a user's selection of a deployment control on the target benchmark editing interface, the management terminal displays the deployment interface; in response to a user's selection of an application control on the deployment interface, the management terminal displays the add application interface; in response to a user's selection of a target application, the management terminal obtains the application version information corresponding to the target application and adds the target application to the deployed application list in the deployment interface. Deleting an application can be done as follows: in response to a user's selection of a target application on the version management interface...) Upon detecting a user's selection of a target benchmark on the target benchmark editing interface, the management terminal displays the target benchmark editing interface. In response to detecting a user's selection of a deployment control on the target benchmark editing interface, the management terminal displays the deployment interface. Upon detecting a user's selection of an application on the deployment interface, clicking the delete control deletes the selected application. The application can be modified as follows: Upon detecting a user's selection of a target benchmark on the version management interface, the management terminal displays the target benchmark editing interface; upon detecting a user's selection of a deployment control on the target benchmark editing interface, the management terminal displays the deployment interface; upon detecting a user's selection of an application on the deployment interface, the application editing interface is displayed, updating the user-selected application based on the modified application version and effective time.If it's a basic benchmark, the client set corresponding to the organization to which the benchmark belongs is obtained. A basic benchmark is generated based on the client set corresponding to the organization and the benchmarks of the deployed applications. If it's a special benchmark, the allocated devices also need to be obtained. It should be noted that devices can be added and deleted (adding allocated devices can be done as follows: in response to detecting a user's selection of a target benchmark on the version management interface, the management terminal displays the target benchmark editing interface; in response to detecting a user's selection of the allocation control on the target benchmark editing interface, the management terminal displays the allocation interface; in response to detecting a user's selection of the add device control on the allocation interface, the management terminal displays the add device interface; in response to detecting a user's selection of a target device, the management terminal obtains the target device and adds it to the allocated device list in the allocation interface. Deleting allocated devices can be done as follows: in response to detecting a user's selection of a target benchmark on the version management interface, the management terminal displays the target benchmark editing interface; in response to detecting a user's selection of the allocation control on the target benchmark editing interface, the management terminal displays the allocation interface; in response to detecting a user's selection of a device on the allocation interface, clicking the delete control deletes the selected device).
[0072] Optionally, after generating a target benchmark on the management side based on the first benchmark after deploying the application version information, and uploading the target benchmark to the server, the method further includes:
[0073] The client sends a command to the server to retrieve the version of the target application;
[0074] The server queries the target benchmark based on the version acquisition command for the target application to obtain the target version number for the target application;
[0075] The client receives the target version number for the target application sent by the server;
[0076] If the target application is determined to be in a state of pending update based on the target version number, the client sends a target version file retrieval command to the server.
[0077] The client receives the target version file sent by the server and updates the target application according to the target version file.
[0078] Specifically, the server can query the target benchmark based on the version acquisition instruction for the target application to obtain the target version number of the target application in the following way: the server queries the target benchmark based on the application identifier and client identifier carried in the received version acquisition instruction to obtain the target version number corresponding to the application identifier and client identifier.
[0079] The target version file is the file corresponding to the target version number.
[0080] Specifically, if the target application is determined to be in a state of pending update based on the target version number, the client can send a target version file retrieval instruction to the server in the following way: if the target version number is determined to be the latest version based on the current version number of the target application and the target version number, that is, if the target application is in a state of pending update, the client requests the target version file from the server.
[0081] Optionally, the second type includes grayscale;
[0082] Accordingly, after the management side generates a target benchmark based on the first benchmark after the user-input device information and deployed application version information, and uploads the target benchmark to the server, the process also includes:
[0083] The client sends a command to the server to obtain a grayscale version of the target application;
[0084] The server queries the target benchmark based on the grayscale version acquisition instruction for the target application to obtain the target grayscale version number for the target application;
[0085] The client receives the target grayscale version number sent by the server.
[0086] If the target application is determined to be in a state of pending update based on the target grayscale version number, the client sends a command to the server to obtain the target grayscale version file.
[0087] The client receives the target grayscale version file sent by the server and updates the target application according to the target grayscale version file.
[0088] In a specific example, after configuring a canary version on the management terminal (V), deploying it, and clicking the "Sync Now" button, the client application polls for the version and updates the version based on the polling results. For example... Figure 4 As shown, Figure 4This is a flowchart of the update release process. The canary release update process is as follows: The administrator performs benchmark deployment on the management terminal (V) and clicks "synchronize"; the operation and maintenance service of the management terminal (V) records the canary benchmark information in the V database, with the status field set to "notified"; the version management service of the management terminal (V) periodically queries the V database for all unnotified canary version information; the version management service of the management terminal (V) packages the canary version information and sends it to the version service of the server (P); the version service of the server (P) parses the canary version information into the P database; and returns information to the management terminal (V) indicating receipt of the update. The notification was successful; after receiving the information, the management service of the management terminal (V) modifies the information status field to "notified"; the client checks the grayscale version on the server (P) version service at startup or on a scheduled basis; after the terminal application successfully downloads the grayscale version, it applies it locally; after the terminal application applies it successfully, it sends the grayscale version information to the operation management terminal (C) in the form of a message; the operation management terminal (C) sends the information that the grayscale version has been successfully updated to the version management service of the management terminal (V); the version management service of the management terminal (V) records the version information that the client has successfully downloaded and applied.
[0089] This invention uses a benchmarking approach to uniformly manage the version upgrades and downgrades of self-service machines under the head office and branches. There is no need for manual selection and distribution; the head office and branches only need to deploy the functions they need to add to the benchmark.
[0090] This invention provides a canary release scheme based on benchmark management on the client side, automatically updating the terminal application function version according to the benchmark. This enables real-time canary releases and rapid updates, improving automation efficiency, enhancing the transmission mechanism and efficiency of canary application deployment, and increasing the convenience of remote device maintenance.
[0091] Example 2
[0092] Figure 5 This is a schematic diagram of a benchmark generation device provided in an embodiment of the present invention. This embodiment is applicable to benchmark generation scenarios. The device can be implemented using software and / or hardware, and can be integrated into any device that provides benchmark generation functionality, such as… Figure 5 As shown, the benchmark generation device specifically includes: a creation module 210, a deployment module 220, and a generation module 230.
[0093] The creation module is used to create the first benchmark based on the benchmark name, benchmark type, and affiliated organization entered by the user.
[0094] The deployment module is used to deploy the application version information to the first benchmark based on the application version information input by the user.
[0095] The generation module is used to generate target benchmarks based on the first benchmark after the application version information is deployed and the client set corresponding to the institution to which the first benchmark belongs, and upload the target benchmarks to the server so that the client can upgrade the application by querying the target benchmarks stored in the server.
[0096] The above-described products can perform the methods provided in any embodiment of the present invention, and have the corresponding functional modules and beneficial effects for performing the methods.
[0097] Example 3
[0098] Figure 6 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0099] like Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0100] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0101] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the benchmarking method.
[0102] In some embodiments, the benchmarking method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the benchmarking method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the benchmarking method by any other suitable means (e.g., by means of firmware).
[0103] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0104] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0105] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0106] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0107] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0108] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0109] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0110] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A benchmark generation method, characterized in that, The benchmarking method is applied to a management system, which includes: a client deployed in branch outlets, a management terminal connected to the client, and a server deployed in the head office business network. The management system creates the first benchmark based on the benchmark name, benchmark type, and affiliated organization entered by the user. The management system deploys the application version information to the first benchmark based on the application version information input by the user. If the benchmark type of the first benchmark is the first type, the management terminal generates a target benchmark based on the first benchmark after deploying the application version information and the client set corresponding to the institution to which the first benchmark belongs, and uploads the target benchmark to the server; wherein, the first type is the basic benchmark type, which is used to realize the version synchronization update control of clients in each line; If the benchmark type of the first benchmark is the second type, then the management terminal obtains the target device selected by the user; The management system determines the target device list based on the device information corresponding to the target device selected by the user and the client set corresponding to the organization to which the first benchmark belongs. The management system generates target benchmarks based on the target device list and the first benchmark after deploying application version information, and uploads the target benchmarks to the server. This allows clients to upgrade their applications by querying target benchmarks stored on the server.
2. The method according to claim 1, characterized in that, The management system deploys the application version information to the first benchmark based on the application version information input by the user, including: In response to the detection of a user's selection of a target benchmark on the version management interface, the management terminal displays the target benchmark editing interface; In response to detecting a user's selection of deployment controls on the target benchmark editing interface, the management terminal displays the deployment interface; In response to detecting a user's selection of an application control on the deployment interface, the management terminal displays the application addition interface; In response to the detection of a user's selection of a target application, the management system obtains the application version information corresponding to the target application and adds the target application to the list of deployed applications in the deployment interface.
3. The method according to claim 1, characterized in that, The management system obtains the target device selected by the user, including: In response to the detection of a user's selection of a target benchmark on the version management interface, the management terminal displays the target benchmark editing interface; In response to detecting a user's selection operation on the allocation control in the target benchmark editing interface, the management terminal displays the allocation interface; In response to detecting a user's selection operation on the add device control on the allocation interface, the management terminal displays the add device interface; In response to the detection of a user's selection of a target device, the management system retrieves the target device and adds it to the list of assigned devices in the allocation interface.
4. The method according to claim 1, characterized in that, After generating a target benchmark on the management side based on the first benchmark after deploying the application version information, and uploading the target benchmark to the server, the process also includes: The client sends a command to the server to retrieve the version of the target application; The server queries the target benchmark based on the version acquisition command for the target application to obtain the target version number for the target application; The client receives the target version number for the target application sent by the server; If the target application is determined to be in a state of pending update based on the target version number, the client sends a target version file retrieval command to the server. The client receives the target version file sent by the server and updates the target application according to the target version file.
5. The method according to claim 1, characterized in that, The second type includes grayscale; Accordingly, after the management side generates a target benchmark based on the first benchmark after the user-input device information and deployed application version information, and uploads the target benchmark to the server, the process also includes: The client sends a command to the server to obtain a grayscale version of the target application; The server queries the target benchmark based on the grayscale version acquisition instruction for the target application to obtain the target grayscale version number for the target application; The client receives the target grayscale version number sent by the server. If the target application is determined to be in a state of pending update based on the target grayscale version number, the client sends a command to the server to obtain the target grayscale version file. The client receives the target grayscale version file sent by the server and updates the target application according to the target grayscale version file.
6. A benchmark generation device, characterized in that, Configured in the management terminal, the benchmark generation device includes: The module creates a first benchmark based on the benchmark name, benchmark type, and affiliated organization entered by the user. The deployment module is used to deploy the application version information to the first benchmark based on the application version information input by the user. The generation module is used to generate a target benchmark based on the first benchmark after the application version information is deployed and the client set corresponding to the organization to which the first benchmark belongs, and upload the target benchmark to the server so that the client can upgrade the application by querying the target benchmark stored in the server; The generation module is further configured to, if the benchmark type of the first benchmark is a first type, generate a target benchmark by the management terminal based on the first benchmark after the deployment application version information and the client set corresponding to the institution to which the first benchmark belongs, and upload the target benchmark to the server; wherein, the first type is a basic benchmark type, used to realize version synchronization update control of clients in each line; If the benchmark type of the first benchmark is the second type, then the management terminal obtains the target device selected by the user; The management system determines the target device list based on the device information corresponding to the target device selected by the user and the client set corresponding to the organization to which the first benchmark belongs. The management system generates target benchmarks based on the target device list and the first benchmark after deploying application version information, and uploads the target benchmarks to the server.
7. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the benchmark generation method according to any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the benchmark generation method according to any one of claims 1-5.
Citation Information
Patent Citations
Application upgrading method and device, computer equipment and storage medium
CN113553080A