CN110597540A - Version updating method and device of financial terminal, server and storage medium - Google Patents

Version updating method and device of financial terminal, server and storage medium Download PDF

Info

Publication number
CN110597540A
CN110597540A CN201910870836.XA CN201910870836A CN110597540A CN 110597540 A CN110597540 A CN 110597540A CN 201910870836 A CN201910870836 A CN 201910870836A CN 110597540 A CN110597540 A CN 110597540A
Authority
CN
China
Prior art keywords
terminal
updating
version
terminals
list
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910870836.XA
Other languages
Chinese (zh)
Inventor
肖艳华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Original Assignee
Shenzhen Yihua Computer Co Ltd
Shenzhen Yihua Time Technology Co Ltd
Shenzhen Yihua Financial Intelligent Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yihua Computer Co Ltd, Shenzhen Yihua Time Technology Co Ltd, Shenzhen Yihua Financial Intelligent Research Institute filed Critical Shenzhen Yihua Computer Co Ltd
Priority to CN201910870836.XA priority Critical patent/CN110597540A/en
Publication of CN110597540A publication Critical patent/CN110597540A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a device, a server and a storage medium for updating the version of a financial terminal, comprising the following steps: a first terminal acquires an access address of a specific terminal providing version updating information from a server, wherein the first terminal is a terminal which is not updated to the latest version; the first terminal sends an acquisition request of a terminal updating list to the specific terminal based on the access address, wherein the terminal updating list stores the access addresses of a plurality of second terminals, and the second terminals are updated to the latest version; the first terminal acquires a terminal update list returned by the specific terminal; the first terminal selects to send an updating request to one or more second terminals based on the terminal updating list; and the first terminal is connected with the second terminal responding to the updating request and acquires the version updating file for updating. The invention enables the terminals to transmit and update the new edition file mutually by grouping the terminals into a distributed network, thereby reducing the pressure of the server and improving the updating efficiency.

Description

Version updating method and device of financial terminal, server and storage medium
Technical Field
The embodiment of the invention relates to the technical field of application of financial terminals, in particular to a method, a device, a server and a storage medium for updating versions of financial terminals.
Background
In order to meet the requirement for improving the financial business handling capacity, financial institutions are invested in using a huge number of self-service devices to meet the ever-increasing business requirements. The financial self-service terminals are used, so that the service efficiency of the financial institution is improved, and the demand pressure of the financial institution on human resources is reduced. In the using process of the financial terminal application system, frequent upgrading of the application is required due to the development and change of the business environment.
The existing terminal upgrading mainly adopts the forms of ftp, http, data packets and the like to download new version files, and for servers, the existing terminal upgrading belongs to a centralized downloading mode, and a central server or a central server cluster for providing downloading services is needed to respond to downloading requests of all terminals to provide the downloading services.
When the number of terminals is large, all terminals perform version updating at the same time, and great pressure is exerted on the server.
Disclosure of Invention
The invention provides a version updating method of a financial terminal, which aims to realize that the terminals can transmit and update new version files mutually by constituting a distributed network through a terminal group, thereby reducing the pressure of a server and improving the updating efficiency.
In a first aspect, the present invention provides a version updating method for a financial terminal, including the following steps:
a first terminal acquires an access address of a specific terminal providing version updating information from a server, wherein the first terminal is a terminal which is not updated to the latest version;
the first terminal sends an acquisition request of a terminal updating list to the specific terminal based on the access address, wherein the terminal updating list stores the access addresses of a plurality of second terminals, and the second terminals are updated to the latest version;
the first terminal acquires a terminal update list returned by the specific terminal;
the first terminal selects to send an updating request to one or more second terminals based on the terminal updating list;
and the first terminal is connected with the second terminal responding to the updating request and acquires the version updating file for updating.
Further, the connecting of the first terminal to the second terminal responding to the update request and the obtaining of the version update file for updating includes:
and if the connection process is interrupted, writing the second terminal and the access address of the second terminal into a fault terminal list of the first terminal.
Further, before the first terminal selects to send an update request to one or more second terminals based on the terminal update list, the method further includes:
sending an updating request to the second terminal based on the access address of the second terminal in the fault terminal list;
if the second terminal returns a response, deleting the second terminal from the fault terminal list;
and if the second terminal does not return a response, deleting the second terminal from the terminal update list.
Further, after the first terminal connects to a second terminal responding to the update request and obtains the version update file for updating, the method further includes:
and if the first terminal updated to the latest version receives the update requests sent by other first terminals, returning the version update files to other first terminals.
Further, after the first terminal connects to a second terminal responding to the update request and obtains the version update file for updating, the method further includes:
and sending the access address of the first terminal updated to the latest version to the specific terminal so that the specific terminal updates the terminal update list.
Further, the first terminal selects to send an update request to one or more second terminals based on the terminal update list, including:
the first terminal selects one or more second terminals which are ranked in the front from a terminal updating list, wherein the terminal updating list ranks the second terminals from high to low in advance according to preset performance parameter parameters;
and sending an updating request to one or more second terminals which are ranked in the front.
Further, the sending an update request to the one or more second terminals ranked in the top includes:
obtaining feedback information of the one or more second terminals, wherein the feedback information comprises whether the request received by the second terminal exceeds a request time threshold;
and selecting a second terminal which does not exceed the threshold of the request times, and acquiring the version update file for updating.
And selecting the second terminal which does not reach the request frequency threshold value based on the feedback information to send an updating request.
In a second aspect, the present invention also provides a version updating apparatus for a financial terminal, including:
the system comprises a connection module, a service end and a service end, wherein the connection module is used for enabling a first terminal to acquire an access address of a specific terminal providing version updating information from the service end, and the first terminal is a terminal which is not updated to the latest version;
a list obtaining module, configured to enable a first terminal to send a request for obtaining a terminal update list to the specific terminal based on the access address, where the terminal update list stores access addresses of a plurality of second terminals, and the second terminals are updated to a latest version; the first terminal acquires a terminal update list returned by the specific terminal;
the first terminal selects to send an updating request to one or more second terminals based on the terminal updating list; and the first terminal is connected with the second terminal responding to the updating request and acquires the version updating file for updating.
In a third aspect, the present invention further provides a server, including a memory, a processor and a program stored in the memory and executable on the processor, wherein the processor implements the version updating method of the financial terminal as described in any one of the above when executing the program;
in a fourth aspect, the present invention also provides a terminal readable storage medium, on which a program is stored, wherein the program, when executed by a processor, is capable of implementing a version update method for a financial terminal as described in any one of the above.
According to the invention, the terminals form the distributed network through the terminal group, so that the terminals can directly transmit and update the new edition file through the terminals with a short distance, the pressure of the server is reduced, and the updating efficiency is improved.
Drawings
Fig. 1 is a flowchart of a version updating method of a financial terminal according to a first embodiment of the present invention.
Fig. 2 is a flowchart of a version updating method of a financial terminal according to a second embodiment of the present invention.
Fig. 3 is a flowchart of a version updating method of a financial terminal in a second alternative embodiment of the present invention.
Fig. 4 is a flowchart of a version updating method of a financial terminal according to a third embodiment of the present invention.
Fig. 5 is a flowchart of a version updating method of a financial terminal in a third alternative embodiment of the present invention.
Fig. 6 is a block diagram of a version updating apparatus of a financial terminal according to a fourth embodiment of the present invention.
Fig. 7 is a block diagram of a version updating apparatus of a financial terminal in a fourth alternative embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a server according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. A process may be terminated when its operations are completed, but may have additional steps not included in the figure. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
Furthermore, the terms "first," "second," and the like may be used herein to describe various orientations, actions, steps, elements, or the like, but the orientations, actions, steps, or elements are not limited by these terms. These terms are only used to distinguish one direction, action, step or element from another direction, action, step or element. For example, the first terminal may be the second terminal, and similarly, the second terminal may be the first terminal, without departing from the scope of the present application. The first terminal and the second terminal are both terminals, but they are not the same terminal. The terms "first", "second", etc. are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "plurality", "batch" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
The abbreviations used in the following examples have the following meanings:
P2P: Peer-to-Peer a distributed network.
Example one
Fig. 1 is a flowchart of a version updating method of a financial terminal according to an embodiment of the present invention, where the embodiment is applicable to a situation where an existing financial terminal device is updated to a latest version, and specifically includes the following steps:
s101, a first terminal acquires an access address of a specific terminal providing version updating information from a server, wherein the first terminal is a terminal which is not updated to the latest version.
In this step, the first terminal refers to a terminal device that is not updated to the latest version, and the second terminal described below refers to a terminal device that is updated to the latest version.
Each specific terminal and a plurality of common terminal devices already form a distributed local area network of P2P, and the specific terminal serves as a central node of the local area. The specific terminals are directly connected with a root server, the root server is a provider of the latest version file, and each specific terminal is firstly connected with the root server to obtain the update file when starting downloading. The P2P network is characterized in that each node in the network shares a part of owned resources, such as processing capability, storage capability and/or network connection capability, which need to be provided with services and contents by the network, and can be directly accessed by other peer nodes without going through intermediate entities, and the node in P2P can be used as a provider of the services and contents and a resource acquirer.
Specifically, in the embodiment of the present invention, each common terminal may serve as a client to obtain a new version file from another terminal, and may also serve as a server to provide the new version file to another terminal.
In this embodiment, the first terminal is a normal terminal accessing a local area network formed by a specific terminal, and the version file of the first terminal is not updated. The first terminal firstly acquires the access address of the specific terminal from the server side, and discovers other terminal equipment capable of providing the download service in the network through the specific terminal.
And S102, the first terminal sends an acquisition request of a terminal update list to the specific terminal based on the access address, wherein the terminal update list stores the access addresses of a plurality of second terminals, and the second terminals are updated to the latest version.
When a first terminal accesses a network, an access address of a specific terminal is firstly acquired from a server and connected with the specific terminal. When forming the local area network, one or more common terminals are connected with a specific terminal and version update is carried out, and the common terminal with the latest version file is called a second terminal. The second terminal reports the access address to the specific terminal in the process of connecting with the specific terminal, and the specific terminal records the access addresses of one or more second terminals as a terminal updating list.
And S103, the first terminal acquires a terminal update list returned by the specific terminal.
S104, the first terminal selects to send an updating request to one or more second terminals based on the terminal updating list.
Sending an update request to one or more second terminals according to the access address of the terminal update list, wherein in the step, the first terminal may be a terminal device newly added to the P2P network, and no other file provides terminal information, at this time, node recommendation needs to be performed through a specific terminal, that is, connection is established between the access address recorded by the terminal update list and the one or more second terminals, and then update service is acquired; the first terminal may also be a terminal device already connected in the P2P network, and at this time, a terminal closest to or having the best transmission rate may be selected from the one or more second terminals based on the terminal update list to send the update request.
And S105, the first terminal is connected with a second terminal responding to the updating request and acquires the version updating file for updating.
In this step, the first terminal updates based on the acquired data of the version update file.
In the embodiment, the P2P distributed network is formed by a plurality of common terminals and taking specific terminals as core nodes, so that each common terminal can serve as a server to provide a new version file and also serve as a client to download the new version file, the data burden of the core server is reduced, the downtime caused by excessive requests is avoided, each updated common terminal can provide data to other terminals, the terminal equipment is completely updated successfully, and the updating efficiency of the terminal equipment is greatly improved.
Example two
As shown in fig. 2, the present embodiment provides a version updating method for a financial terminal, which is suitable for a case where a second terminal fails to cause interruption of a connection updating process, and includes the following steps:
s201, a first terminal acquires an access address of a specific terminal providing version updating information from a server, wherein the first terminal is a terminal which is not updated to the latest version.
S202, the first terminal sends an acquisition request of a terminal update list to the specific terminal based on the access address, wherein the terminal update list stores the access addresses of a plurality of second terminals, and the second terminals are updated to be the latest version.
And S203, the first terminal acquires a terminal update list returned by the specific terminal.
In this embodiment, the specific terminal may return an update list of access addresses of all terminals that have completed updating by itself to the requesting first terminal, or may return an update list of access addresses of only a part of terminals that are closer to the first terminal and have completed updating.
And S204, sending an updating request to the second terminal based on the access address of the second terminal in the fault terminal list.
In this step, the list of failed terminals is stored in the first terminal, and information of the second terminal in which the first terminal has a connection failure in the previous node connection process is recorded. For the second terminal with the fault, the first terminal records the second terminal into a fault terminal list, when the second terminal is started each time, the first terminal firstly tries to connect the second terminal in the fault terminal list, if the connection is successful, the fault of the second terminal is indicated to be a temporary fault last time, and the second terminal is deleted from the fault terminal list; if the connection fails for many times, the failure of the second terminal is not a temporary failure, and the failure is deleted from the terminal updating list, so that the situation that the updating efficiency of the version file of the whole system is influenced by the invalid connection of the failed second terminal for many times is prevented.
S205, if the second terminal returns a response, deleting the second terminal from the fault terminal list.
S206, if the second terminal does not return a response, deleting the second terminal from the terminal update list.
And S207, the first terminal selects to send an updating request to one or more second terminals based on the terminal updating list.
And S208, the first terminal is connected with a second terminal responding to the updating request and acquires the version updating file for updating.
S209, if the connection process is interrupted, writing the second terminal and the access address of the second terminal into a fault terminal list of the first terminal.
In this step, the connection process interruption includes, but is not limited to, the following: the returned data cannot be acquired, or the data transmission process is interrupted. The above situation may be due to a failure of the second terminal, or a failure of the communication line. The second terminal with the fault is written into the fault terminal list, and when the first terminal executes the next update request operation, the process is executed as described in step S204.
As in fig. 3, in an alternative embodiment, step s208 is followed by:
and S210, if the first terminal updated to the latest version receives the update requests sent by other first terminals, returning the version update files to other first terminals.
In this step, the access address updated to the latest version of the first terminal is illustratively sent to the specific terminal, so that the specific terminal updates the terminal update list and records the first terminal a1 updated to the latest version as the new second terminal a 2. The access address of the second terminal a2 is recorded in the updated terminal update list of the specific terminal. When the first terminal B needs to update the version file, it first obtains a terminal update list from the specific terminal, selects an access address of the second terminal a2 from the terminal update list, and sends an update request. When the second terminal a2 acquires the update request, the version update file is returned to the first terminal B.
According to the embodiment, the problem that the connection efficiency is low due to the fact that the terminal to be updated repeatedly initiates the request to the fault terminal is avoided by adding the fault terminal list. Meanwhile, the specific terminal updates the terminal updating list in time, so that the terminal to be updated can obtain more terminals capable of providing the downloading service in time, and the updating efficiency of the terminal equipment is improved.
EXAMPLE III
The third embodiment of the present invention provides a version updating method for a financial terminal, which is used for enabling a first terminal to select an optimal second terminal for updating according to information such as data transmission speed, time delay, relative distance, and the like, and as shown in fig. 4, the method specifically includes the following steps:
s301, a first terminal acquires an access address of a specific terminal providing version updating information from a server, wherein the first terminal is a terminal which is not updated to the latest version.
S302, the first terminal sends an acquisition request of a terminal update list to the specific terminal based on the access address, wherein the terminal update list stores the access addresses of a plurality of second terminals, and the second terminals are updated to be the latest version.
And S303, the first terminal acquires a terminal update list returned by the specific terminal.
S304, the first terminal selects one or more second terminals with the top sequence from a terminal updating list, wherein the terminal updating list sequences the second terminals from high to low in advance according to preset performance parameters.
In this step, the preset performance parameters include, but are not limited to: node data transmission speed, data transmission delay, node relative distance and the like. When the preset performance parameter is the node data transmission speed, arranging second terminals in the terminal updating list from high to low in the transmission speed; when the preset performance parameter is data transmission delay, the terminal updates the list to arrange the transmission delay from low to high; and when the preset performance parameter is the relative distance of the nodes, the terminal update list is arranged from near to far according to the relative distance of the nodes. Meanwhile, the preset performance parameter may also be a combination of one or more of the above performance parameters, and the sorting operation of the terminal update list is performed by a specific terminal. The first terminal is connected with the second terminal with the best transmission effect, and the effect of improving the connection power is achieved.
Meanwhile, in this step, in order to avoid a situation that only one second terminal is selected and a terminal failure may occur, the first terminal may select one or more terminals ranked in the front to increase the connection power.
S305, sending an updating request to one or more second terminals which are sequenced at the front.
As in fig. 5, in an alternative embodiment, S305 further includes the steps of:
s306, obtaining feedback information of the one or more second terminals, wherein the feedback information comprises whether the request received by the second terminal exceeds a request time threshold.
In this step, in order to maintain the capability of the terminal to handle financial services normally, a request number threshold needs to be set for each second terminal, and the number of times of receiving update requests is limited. And when the times of receiving the updating request by the second terminal within a certain preset time interval exceed a preset threshold value, intercepting the updating request. Illustratively, each second terminal acquires the update request at most 3 times in each preset time interval, when the update request within 3 times is received, the feedback information is to allow the terminal to be used for updating, and when the update request with the number of times of 4 and above is received, the feedback information is prompt information exceeding a request time threshold.
And S307, selecting a second terminal which does not exceed the threshold of the request times, and acquiring a version update file for updating.
The first terminal selects the feedback information as the second terminal allowed to be updated by using one or more second terminals according to the feedback information of the second terminals, and step S308 is executed.
And S308, selecting the second terminal which does not reach the threshold of the request times to send an updating request based on the feedback information.
In the embodiment, the data transmission speed of the second terminal is sequenced, so that the first terminal can be connected to the terminal with the best transmission performance for updating more quickly, and the data transmission efficiency is improved; meanwhile, a fixed request frequency threshold value is set for each second terminal, so that the common terminal is not influenced by excessive updating requests, and the normal financial service handling capacity of the equipment is maintained.
Example four
Fig. 6 is a version updating apparatus 4 of a financial terminal according to a fourth embodiment of the present invention, which includes the following modules:
a connection module 401, configured to enable a first terminal to obtain, from a server, an access address of a specific terminal that provides version update information, where the first terminal is a terminal that is not updated to a latest version.
A list obtaining module 402, configured to enable a first terminal to send a request for obtaining a terminal update list to the specific terminal based on the access address, where the terminal update list stores access addresses of a plurality of second terminals, and the second terminals are updated to a latest version; and the first terminal acquires a terminal update list returned by the specific terminal.
An updating module 403, configured to enable the first terminal to select to send an update request to one or more second terminals based on the terminal update list; and the first terminal is connected with the second terminal responding to the updating request and acquires the version updating file for updating.
As shown in fig. 7, in an alternative embodiment, the method further includes:
a writing module 404, configured to write the second terminal and the access address of the second terminal into a faulty terminal list of the first terminal if the connection process is interrupted.
A detecting module 405, configured to send an update request to the second terminal based on the access address of the second terminal in the faulty terminal list.
And if the second terminal returns a response, deleting the second terminal from the fault terminal list.
And if the second terminal does not return a response, deleting the second terminal from the terminal update list.
The updating module 403 is further configured to, if the first terminal updated to the latest version receives an update request sent by another first terminal, return a version update file to the other first terminal.
A list updating module 406, configured to send the access address of the first terminal updated to the latest version to the specific terminal, so that the specific terminal updates the terminal update list.
A selecting module 407, configured to enable the first terminal to select one or more second terminals ranked earlier from a terminal update list, where the terminal update list ranks the second terminals from high to low in advance according to a preset performance parameter.
The updating module 403 is configured to send an update request to one or more second terminals that are ranked in the top.
The selecting module 407 is further configured to obtain feedback information of the one or more second terminals, where the feedback information includes whether the request received by the second terminal exceeds a request number threshold.
And selecting a second terminal which does not exceed the threshold of the request times, and acquiring the version update file for updating.
And selecting the second terminal which does not reach the request frequency threshold value based on the feedback information to send an updating request.
The version updating device of the financial terminal in the embodiment enables the terminals to transmit and update new version files to each other through the distributed network formed by the terminals, reduces the pressure of a server, improves the updating efficiency, can execute the version updating method of the financial terminal provided by any embodiment of the invention, and has the corresponding functional modules and the beneficial effects of the execution method.
EXAMPLE five
Fig. 8 is a schematic structural diagram of a server according to a fifth embodiment of the present invention, as shown in the figure, the server includes a processor 501, a memory 502, an input device 503, and an output device 504; the number of the processors 501 in the server may be one or more, and one processor 501 is taken as an example in the figure; the processor 501, the memory 502, the input device 503 and the output device 504 in the device/terminal/server may be connected by a bus or other means, and fig. 8 illustrates the connection by a bus as an example.
The memory 502, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the theme update method in the embodiment of the present invention (for example, the connection module 401, the list acquisition module 402, and the like of the version update apparatus of the financial terminal). The processor 501 executes various functional applications of the device/terminal/server and data processing by running software programs, instructions and modules stored in the memory 502, that is, implements the version update method of the financial terminal described above.
The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 502 may further include memory located remotely from processor 501, which may be connected to devices/terminals/servers through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 503 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the device/terminal/server. The output device 504 may include a display device such as a display screen.
The server in the fifth embodiment of the invention forms a distributed network through the terminal group, so that the terminals can transmit and update the new edition file, the pressure of the server is reduced, and the updating efficiency is improved.
EXAMPLE six
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a version update method of a financial terminal according to any embodiment of the present invention, and the method may include:
a first terminal acquires an access address of a specific terminal providing version updating information from a server, wherein the first terminal is a terminal which is not updated to the latest version;
the first terminal sends an acquisition request of a terminal updating list to the specific terminal based on the access address, wherein the terminal updating list stores the access addresses of a plurality of second terminals, and the second terminals are updated to the latest version;
the first terminal acquires a terminal update list returned by the specific terminal;
the first terminal selects to send an updating request to one or more second terminals based on the terminal updating list;
and the first terminal is connected with the second terminal responding to the updating request and acquires the version updating file for updating.
The computer-readable storage media of embodiments of the invention may take any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, or the like, as well as conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or terminal. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A version updating method of a financial terminal, comprising:
a first terminal acquires an access address of a specific terminal providing version updating information from a server, wherein the first terminal is a terminal which is not updated to the latest version;
the first terminal sends an acquisition request of a terminal updating list to the specific terminal based on the access address, wherein the terminal updating list stores the access addresses of a plurality of second terminals, and the second terminals are updated to the latest version;
the first terminal acquires a terminal update list returned by the specific terminal;
the first terminal selects to send an updating request to one or more second terminals based on the terminal updating list;
and the first terminal is connected with the second terminal responding to the updating request and acquires the version updating file for updating.
2. The version updating method of a financial terminal as claimed in claim 1, wherein the first terminal connecting to a second terminal responding to the update request and acquiring the version update file for updating comprises:
and if the connection process is interrupted, writing the second terminal and the access address of the second terminal into a fault terminal list of the first terminal.
3. The version updating method of a financial terminal as claimed in claim 2, further comprising, before the first terminal selects to send an update request to one or more second terminals based on the terminal update list:
sending an updating request to the second terminal based on the access address of the second terminal in the fault terminal list;
if the second terminal returns a response, deleting the second terminal from the fault terminal list;
and if the second terminal does not return a response, deleting the second terminal from the terminal update list.
4. The version updating method of a financial terminal as claimed in claim 1, further comprising, after the first terminal connects to a second terminal responding to the update request and acquires the version update file for updating:
and if the first terminal updated to the latest version receives the update requests sent by other first terminals, returning the version update files to other first terminals.
5. The version updating method of a financial terminal as claimed in claim 1, further comprising, after the first terminal connects to a second terminal responding to the update request and acquires the version update file for updating:
and sending the access address of the first terminal updated to the latest version to the specific terminal so that the specific terminal updates the terminal update list.
6. The version updating method of a financial terminal as claimed in claim 1, wherein the first terminal selects to transmit an update request to one or more second terminals based on the terminal update list, comprising:
the first terminal selects one or more second terminals which are ranked in the front from a terminal updating list, wherein the terminal updating list ranks the second terminals from high to low in advance according to preset performance parameters;
and sending an updating request to one or more second terminals which are ranked in the front.
7. The version updating method for financial terminal according to claim 6, wherein said sending an update request to said one or more second terminals ranked in top, further comprises:
obtaining feedback information of the one or more second terminals, wherein the feedback information comprises whether the request received by the second terminal exceeds a request time threshold;
and selecting a second terminal which does not exceed the threshold of the request times, and acquiring the version update file for updating.
And selecting the second terminal which does not reach the request frequency threshold value based on the feedback information to send an updating request.
8. A version-updating apparatus of a financial terminal, comprising:
the system comprises a connection module, a service end and a service end, wherein the connection module is used for enabling a first terminal to acquire an access address of a specific terminal providing version updating information from the service end, and the first terminal is a terminal which is not updated to the latest version;
a list obtaining module, configured to enable a first terminal to send a request for obtaining a terminal update list to the specific terminal based on the access address, where the terminal update list stores access addresses of a plurality of second terminals, and the second terminals are updated to a latest version; the first terminal acquires a terminal update list returned by the specific terminal;
the first terminal selects to send an updating request to one or more second terminals based on the terminal updating list; and the first terminal is connected with the second terminal responding to the updating request and acquires the version updating file for updating.
9. A server comprising a memory, a processor and a program stored on the memory and executable on the processor, wherein the processor implements the version updating method of a financial terminal as claimed in any one of claims 1 to 7 when executing the program.
10. A terminal-readable storage medium on which a program is stored, the program being capable of implementing the version updating method of a financial terminal according to any one of claims 1 to 7 when executed by a processor.
CN201910870836.XA 2019-09-16 2019-09-16 Version updating method and device of financial terminal, server and storage medium Pending CN110597540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910870836.XA CN110597540A (en) 2019-09-16 2019-09-16 Version updating method and device of financial terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910870836.XA CN110597540A (en) 2019-09-16 2019-09-16 Version updating method and device of financial terminal, server and storage medium

Publications (1)

Publication Number Publication Date
CN110597540A true CN110597540A (en) 2019-12-20

Family

ID=68859624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910870836.XA Pending CN110597540A (en) 2019-09-16 2019-09-16 Version updating method and device of financial terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN110597540A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035129A (en) * 2020-07-27 2020-12-04 成都安易迅科技有限公司 Method and device for driver installation and upgrade and computer equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964429A (en) * 2006-11-17 2007-05-16 华为技术有限公司 A management method, system and device to update distributed set top box
CN101795295A (en) * 2010-03-11 2010-08-04 北京安天电子设备有限公司 Local area network virus library upgrading system and method based on P2P technology
CN102065110A (en) * 2009-11-12 2011-05-18 钟惠波 On-line updating method and system for client side software on basis of P2SP (Peer to Server and to Peer)
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment
CN103685469A (en) * 2011-06-15 2014-03-26 北京奇虎科技有限公司 P2P-based file download method and system, and client terminal
CN103888539A (en) * 2014-03-28 2014-06-25 网宿科技股份有限公司 P2P cache guiding method and device and P2P cache system
CN108173774A (en) * 2018-02-27 2018-06-15 北京明朝万达科技股份有限公司 The upgrade method and system of a kind of client

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1964429A (en) * 2006-11-17 2007-05-16 华为技术有限公司 A management method, system and device to update distributed set top box
CN102065110A (en) * 2009-11-12 2011-05-18 钟惠波 On-line updating method and system for client side software on basis of P2SP (Peer to Server and to Peer)
CN101795295A (en) * 2010-03-11 2010-08-04 北京安天电子设备有限公司 Local area network virus library upgrading system and method based on P2P technology
CN103685469A (en) * 2011-06-15 2014-03-26 北京奇虎科技有限公司 P2P-based file download method and system, and client terminal
CN102945175A (en) * 2012-11-09 2013-02-27 杭州易和网络有限公司 Terminal software online upgrading system and method based on cloud computing environment
CN103888539A (en) * 2014-03-28 2014-06-25 网宿科技股份有限公司 P2P cache guiding method and device and P2P cache system
CN108173774A (en) * 2018-02-27 2018-06-15 北京明朝万达科技股份有限公司 The upgrade method and system of a kind of client

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112035129A (en) * 2020-07-27 2020-12-04 成都安易迅科技有限公司 Method and device for driver installation and upgrade and computer equipment

Similar Documents

Publication Publication Date Title
US10476736B2 (en) Daisy chain distribution in data centers
US10257115B2 (en) Cloud-based service resource provisioning based on network characteristics
US11296940B2 (en) Centralized configuration data in a distributed file system
CN111200657B (en) Method for managing resource state information and resource downloading system
CN111277639B (en) Method and device for maintaining data consistency
CN104219316A (en) Method and device for processing call request in distributed system
CN108833251B (en) Method and apparatus for controlling network interconnection
CN109886693B (en) Consensus realization method, device, equipment and medium for block chain system
CN109547524B (en) User behavior storage method, device, equipment and storage medium based on Internet of things
CN111124299A (en) Data storage management method, device, equipment, system and storage medium
CN113961510B (en) File processing method, device, equipment and storage medium
CN114090388A (en) Information acquisition method, server cluster, server and equipment
CN108595574B (en) Database cluster connection method, device, equipment and storage medium
CN108600378B (en) File downloading method, device, terminal and storage medium
CN110324384B (en) Data pushing method and device
CN107818027B (en) Method and device for switching main name node and standby name node and distributed system
CN110597540A (en) Version updating method and device of financial terminal, server and storage medium
CN112468317A (en) Cluster topology updating method, system, equipment and computer storage medium
CN113553206B (en) Data event execution method and device, electronic equipment and computer readable medium
CN113886353B (en) Data configuration recommendation method and device for hierarchical storage management software and storage medium
CN108733805B (en) File interaction method, system, computer equipment and storage medium
KR20150008541A (en) Method and server for controlling data transmition
CN114116655A (en) Parallel file storage method, device, equipment and storage medium based on virtual machine
CN108520025B (en) Service node determination method, device, equipment and medium
CN111314457B (en) Method and device for setting virtual private cloud

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20191220