CN112486946A - Version confirmation method, version confirmation system, electronic equipment and storage medium - Google Patents

Version confirmation method, version confirmation system, electronic equipment and storage medium Download PDF

Info

Publication number
CN112486946A
CN112486946A CN202011284985.7A CN202011284985A CN112486946A CN 112486946 A CN112486946 A CN 112486946A CN 202011284985 A CN202011284985 A CN 202011284985A CN 112486946 A CN112486946 A CN 112486946A
Authority
CN
China
Prior art keywords
version
serial number
target application
configuration file
database
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
CN202011284985.7A
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.)
China Life Insurance Co Ltd China
Original Assignee
China Life Insurance Co Ltd China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Life Insurance Co Ltd China filed Critical China Life Insurance Co Ltd China
Priority to CN202011284985.7A priority Critical patent/CN112486946A/en
Publication of CN112486946A publication Critical patent/CN112486946A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/219Managing data history or versioning

Abstract

One or more embodiments of the present specification provide a version confirmation method, system, electronic device, and storage medium, including: acquiring a target application sent by a server side, and determining a version number recorded in a configuration file of the target application; responding to a starting instruction of a user to the target application, and acquiring a proofreading serial number sent by the server; judging whether the version serial number is consistent with the check serial number; and generating and outputting a version confirmation result according to the judgment result. In one or more embodiments of the present disclosure, by recording a version number in a configuration file of a target application in advance, a user may obtain a version number in advance when starting the system, and may perform quick proofreading with a proofreading number sent by a server. Therefore, the consistency of the version is avoided being determined through manual version checking, the checking efficiency is improved, the condition of missing checking or error checking is prevented, and the checking accuracy is improved.

Description

Version confirmation method, version confirmation system, electronic equipment and storage medium
Technical Field
One or more embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a version confirmation method, a version confirmation system, an electronic device, and a storage medium.
Background
In the auditing process of a modern internet enterprise, the platform version and the database version between a server and each terminal need to be ensured to be consistent, then an application version number and a database version number need to be distinguished according to the requirements of configuration management, and meanwhile, the version numbers of the server and the terminal need to be checked and updated simultaneously when the application is upgraded.
In the prior art, when the versions are checked to be the same between a terminal and a server, the versions of applications or databases are usually checked manually, and the manual checking is low in efficiency, and meanwhile, the possibility of missing detection or error detection exists, so that the accuracy cannot be guaranteed.
Disclosure of Invention
In view of the above, one or more embodiments of the present disclosure are directed to a version verification method, a version verification system, an electronic device, and a storage medium, so as to solve the problems of low efficiency and low accuracy of the current verification method.
In view of the above, one or more embodiments of the present specification provide a version confirmation method, applied to a terminal, including:
acquiring a target application sent by a server side, and determining a version number recorded in a configuration file of the target application;
Responding to a starting instruction of a user to the target application, and acquiring a proofreading serial number sent by the server;
judging whether the version serial number is consistent with the check serial number;
and generating and outputting a version confirmation result according to the judgment result.
In some embodiments, the version number includes:
an application version number of the target application;
and/or
A database version number of a database used by the target application.
In some embodiments, the determining the version number recorded in the configuration file of the target application includes:
and when the version serial number is the database version serial number, retrieving the version serial number table of the database, and determining the latest inserted serial number in the version serial number table as the database version serial number.
In some embodiments, the generating and outputting a version confirmation result according to the determination result includes:
and if the version serial number is inconsistent with the proofreading serial number, terminating the starting of the target application and generating the version confirmation result containing reminding information and operation prompt.
In some embodiments, after the generating the version confirmation result including the reminder information and the operation prompt, the method further includes:
And acquiring an adjustment parameter input by the user based on the version confirmation result, performing parameter adjustment on the configuration file based on the adjustment parameter, enabling the adjusted configuration file to correspond to the upgrade parameter condition corresponding to the proofreading sequence number, and updating the target application.
Based on the same concept, one or more embodiments of the present specification further provide a version confirmation method, applied to a server, including:
determining a version serial number corresponding to a target application, setting the version serial number in a configuration file of the target application, and recording the version serial number to generate a proofreading serial number;
responding to an acquisition request of a terminal, and sending the target application and the configuration file to the terminal;
and responding to a starting request of the terminal, sending the checking sequence number to the terminal, and enabling the terminal to execute the method applied to the terminal.
In some embodiments, the version number includes: an application version number of the target application, and/or a database version number of a database used by the target application;
the setting the version number in the configuration file of the target application includes:
And when the version serial number is the database version serial number, generating a script of the database version serial number, and setting the script in a configuration file of the target application.
Based on the same concept, one or more embodiments of the present specification further provide a version confirmation system, including: a terminal and a server; wherein
The terminal configured to perform the method applied to the terminal as described in any one of the above;
the server side is configured to execute the method applied to the server side.
Based on the same concept, one or more embodiments of the present specification further provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the program, the method applied to a terminal as described in any one of the above is implemented, or the method applied to a server as described in any one of the above is implemented.
Based on the same concept, one or more embodiments of the present specification also provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to implement the method applied to a terminal as described in any one of the above, or implement the method applied to a server as described in any one of the above.
As can be seen from the foregoing, one or more embodiments of the present specification provide a version confirmation method, system, electronic device, and storage medium, including: acquiring a target application sent by a server side, and determining a version number recorded in a configuration file of the target application; responding to a starting instruction of a user to the target application, and acquiring a proofreading serial number sent by the server; judging whether the version serial number is consistent with the check serial number; and generating and outputting a version confirmation result according to the judgment result. In one or more embodiments of the present disclosure, by recording a version number in a configuration file of a target application in advance, a user may obtain a version number in advance when starting the system, and may perform quick proofreading with a proofreading number sent by a server. Therefore, the consistency of the version is avoided being determined through manual version checking, the checking efficiency is improved, the condition of missing checking or error checking is prevented, and the checking accuracy is improved.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, the drawings that are needed in the description of the embodiments or prior art will be briefly described below, and it is obvious that the drawings in the following description are only one or more embodiments of the present specification, and that other drawings may be obtained by those skilled in the art without inventive effort from these drawings.
Fig. 1 is a flowchart illustrating a version confirmation method applied to a terminal according to one or more embodiments of the present disclosure;
fig. 2 is a flowchart illustrating a version verification method applied to a server according to one or more embodiments of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to one or more embodiments of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present specification more apparent, the present specification is further described in detail below with reference to the accompanying drawings in combination with specific embodiments.
It should be noted that technical terms or scientific terms used in the embodiments of the present specification should have a general meaning as understood by those having ordinary skill in the art to which the present disclosure belongs, unless otherwise defined. The use of "first," "second," and similar terms in this disclosure is not intended to indicate any order, quantity, or importance, but rather is used to distinguish one element from another. The word "comprising" or "comprises", and the like, means that a element, article, or method step that precedes the word, and includes the element, article, or method step that follows the word, and equivalents thereof, does not exclude other elements, articles, or method steps. The terms "connected" or "coupled" and the like are not restricted to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "upper", "lower", "left", "right", and the like are used merely to indicate relative positional relationships, and when the absolute position of the object being described is changed, the relative positional relationships may also be changed accordingly.
As described in the background section, auditing involves gathering and analyzing evidence for data to assess the financial status of a business, and then concluding and reporting the degree of correlation between the data and generally accepted guidelines. In modern internet enterprises, data security in the whole auditing process needs to be guaranteed because most of the data involved in the auditing process are internal data of the company, and part of the data may relate to business secrets of the company and the like. And during auditing, the version consistency of the application version and the used database version needs to be ensured firstly. However, the existing method for checking version consistency generally decompresses the application installation package manually to check whether the version number in the application is correct; the database is manually inquired, whether the version number in the database is correct or not is checked, problems such as missing detection or error detection can occur through manual verification, and the manual mode does not meet the requirement of audit.
In combination with the above actual situation, one or more embodiments of the present specification provide a version confirmation scheme, where a version number is recorded in a configuration file of a target application in advance, and when a user starts the system, the user may obtain the version number in advance and may perform quick proofreading with a proofreading number sent by a server. Therefore, the consistency of the version is avoided being determined through manual version checking, the checking efficiency is improved, the condition of missing checking or error checking is prevented, and the checking accuracy is improved.
Referring to fig. 1, a flowchart of a version confirmation method applied to a terminal according to an embodiment of the present disclosure is shown, and specifically includes the following steps:
step 101, acquiring a target application sent by a server, and determining a version number recorded in a configuration file of the target application.
This step is intended to obtain the target application and find the version number in the configuration file. The target application is a mobile phone application or a computer application, and the application is an application program, which refers to a computer program that completes one or more specific tasks, operates in a user mode, can interact with a user, and has a visual user interface. The version number is an identification number that the version number (version number) is a version. Each operating system (or software in a broad sense) has a version number. The version number enables the user to know whether the operating system or software being used is the latest version and the functionality and facilities it provides. A configuration file is a computer file that may configure parameters and initial settings for some computer programs. A configuration file is essentially a file that contains the information needed to successfully operate a program, which is structured in a specific way. They are not hard coded in the program, but rather user configurable, viewable, typically stored in a plain text file.
In some application scenarios, the version number recorded in the configuration file may be an application version number of the application itself, or a database version number of a database to be used by the application, or the like. When the server side packages the application, the version number of the application is packaged into the configuration file, and meanwhile, a database version number script can be recorded in the configuration file. Various version numbers of the current application are recorded in a configuration file before the application is installed, so that query is convenient to call later.
And 102, responding to a starting instruction of the user to the target application, and acquiring a proofreading serial number sent by the server.
The step aims at acquiring a proofreading sequence number for proofreading the version sequence number of the current application from the server side when the user wants to start the target application. The check sequence number is a server-side version number of an application that a server-side records and a user wants to open currently, and may be a latest version number of the application, and since the terminal does not necessarily update the target application in time after acquiring the target application, a situation that the version sequence number in the configuration file acquired by the terminal is inconsistent with the check sequence number may exist. Therefore, the checking serial number for checking needs to be acquired from the server side to match and judge the consistency of the currently applied or recorded database serial numbers.
In some application scenarios, the server may be a configuration service center for auditing, which records the current usage version numbers of all applications and databases, to which all terminals need to be consistent.
Step 103, determining whether the version number is consistent with the check number.
This step aims at performing consistency judgment on the two serial numbers. The judging method can be as follows: carrying out consistency judgment on all contents of the two serial numbers; or the substantial parts of the two sequence numbers are judged to be consistent, for example, the version sequence number recorded in the configuration file and the proofreading sequence number recorded at the server end have difference due to different functions, and the detection only needs to detect the middle substantial part; or only the consistency of the large version number of the two serial numbers is needed, for example, the version number is 100.2047, the check serial number is 100.2066, and only the large version number, that is, 100 parts are consistent during comparison.
And 104, generating and outputting a version confirmation result according to the judgment result.
This step aims to determine the judgment result and generate a version confirmation result. The determination result may be a success result or a failure result. If the identification is consistent, the application can run smoothly and is connected with the server side; if the identification is inconsistent, the application can be directly interrupted, and a prompt box can be generated additionally to prompt the specific reason for interrupting the operation, for example: prompting that the application version number is not up-to-date and version updating is needed, wherein prompting information such as adjustment on certain data is needed; or automatic updating of applications according to a defined manner, etc.
And finally, outputting the version confirmation result for storing, displaying or reprocessing the version confirmation result. According to different application scenarios and implementation requirements, the specific output mode of the version confirmation result can be flexibly selected.
For example, for an application scenario in which the method of the present embodiment is executed on a single device, the version confirmation result may be directly output in a display manner on a display section (display, projector, etc.) of the current device, so that the operator of the current device can directly see the content of the version confirmation result from the display section.
For another example, for an application scenario executed on a system composed of multiple devices by the method of this embodiment, the version confirmation result may be sent to other preset devices serving as receivers in the system through any data communication manner (e.g., wired connection, NFC, bluetooth, wifi, cellular mobile network, etc.), so that the preset devices receiving the version confirmation result may perform subsequent processing on the preset devices. Optionally, the preset device may be a preset server, the server is generally arranged at a cloud end, and is used as a data processing and storage center, and the server can store and distribute the version confirmation result; the receiver of the distribution is terminal equipment, and the holders or operators of the terminal equipment can be current users, monitoring personnel related to an auditing department, departments for recording data in enterprises, individuals and the like.
For another example, for an application scenario executed on a system composed of multiple devices, the method of this embodiment may directly send the version confirmation result to a preset terminal device through any data communication manner, where the terminal device may be one or more of the foregoing paragraphs.
In a specific application scene, for the version checking method of an application program, firstly, a server side packs an application version sequence number into a configuration file when the application is packed; then, recording the current version number of the corresponding application in a configuration center (server end); and finally, when the application is started, the single terminal acquires the current version number of the application and the version number in the version packet from the configuration center for checking, and if the current version number of the application and the version number are inconsistent, the system is failed to start. For the database version checking method, firstly, determining a version serial number corresponding to a database in a configuration center; then, when the version packet is issued, issuing a version sequence number script, and storing and applying the current database version sequence number in a database; and finally, when the terminal starts the application, acquiring the current database version serial number corresponding to the application from the configuration center, inquiring the stored current database version serial number from the database, checking the current database version serial number and the current database version serial number, and if the current database version serial number and the current database version serial number are inconsistent, failing to start the application.
A version confirmation method provided by applying one or more embodiments of the present specification includes: acquiring a target application sent by a server side, and determining a version number recorded in a configuration file of the target application; responding to a starting instruction of a user to the target application, and acquiring a proofreading serial number sent by the server; judging whether the version serial number is consistent with the check serial number; and generating and outputting a version confirmation result according to the judgment result. In one or more embodiments of the present disclosure, by recording a version number in a configuration file of a target application in advance, a user may obtain a version number in advance when starting the system, and may perform quick proofreading with a proofreading number sent by a server. Therefore, the consistency of the version is avoided being determined through manual version checking, the checking efficiency is improved, the condition of missing checking or error checking is prevented, and the checking accuracy is improved.
It should be noted that the method of one or more embodiments of the present disclosure may be performed by a single device, such as a computer or server. The method of the embodiment can also be applied to a distributed scene and completed by the mutual cooperation of a plurality of devices. In such a distributed scenario, one of the devices may perform only one or more steps of the method of one or more embodiments of the present disclosure, and the devices may interact with each other to complete the method.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In an alternative embodiment of the present description, the version number of the database is recorded at the same time as the application version number is recorded. The version number includes:
an application version number of the target application;
and/or
A database version number of a database used by the target application.
In an alternative embodiment of the present description, the version number of the database type is determined for better. The determining the version number recorded in the configuration file of the target application includes:
and when the version serial number is the database version serial number, retrieving the version serial number table of the database, and determining the latest inserted serial number in the version serial number table as the database version serial number.
The version number table is a lookup table for recording all version numbers of the database, and in the database, all version numbers experienced by the database are recorded, so that the latest version number needs to be determined in the database, and the version number is the version number used by the current database.
In an optional embodiment of the present specification, in order to further generate a prompt upgrade information when the serial numbers are inconsistent, a user is facilitated to perform an upgrade operation. The generating and outputting a version confirmation result according to the judgment result comprises:
and if the version serial number is inconsistent with the proofreading serial number, terminating the starting of the target application and generating the version confirmation result containing reminding information and operation prompt.
In an optional embodiment of this specification, after generating the version confirmation result including the reminder information and the operation prompt, the method further includes:
and acquiring an adjustment parameter input by the user based on the version confirmation result, performing parameter adjustment on the configuration file based on the adjustment parameter, enabling the adjusted configuration file to correspond to the upgrade parameter condition corresponding to the proofreading sequence number, and updating the target application.
In a specific application scenario, during auditing, each application version needs to be adapted to some parameters before the application can be normally run, so that when the version is upgraded, the application can be better upgraded after the parameters are adjusted.
Based on the same inventive concept, one or more embodiments of the present specification further provide a version confirmation method applied to a server side, which is shown in fig. 2 and specifically includes the following steps:
step 201, determining a version number corresponding to a target application, setting the version number in a configuration file of the target application, and recording the version number to generate a proofreading number.
This step is intended to write the version number into the configuration file and update the collation number at the server side. When each application is packed, the corresponding version serial number is written into the configuration file, and the version serial number of the corresponding application is updated in a self record table or a database to serve as the current check serial number.
Step 202, in response to the terminal's acquisition request, sending the target application and the configuration file to the terminal.
This step is intended to send the target application and the corresponding configuration file according to the request of the terminal.
Step 203, responding to the start request of the terminal, sending the check sequence number to the terminal, and enabling the terminal to execute the version confirmation method applied to the terminal as described in any one of the above embodiments.
This step is intended to send the check sequence number to the terminal when the terminal needs to start the target application, and to enable the terminal to execute the scheme as presented in the foregoing embodiments.
In the version confirmation method applied to the server side in the embodiment, the version number is set in the configuration file, and the target application, the configuration file and the check number are respectively sent to the terminal, so that the terminal can obtain the target application sent by the server side and determine the version number recorded in the configuration file of the target application; responding to a starting instruction of a user to the target application, and acquiring a proofreading serial number sent by the server; judging whether the version serial number is consistent with the check serial number; and generating and outputting a version confirmation result according to the judgment result. In one or more embodiments of the present disclosure, by recording a version number in a configuration file of a target application in advance, a user may obtain a version number in advance when starting the system, and may perform quick proofreading with a proofreading number sent by a server. Therefore, the consistency of the version is avoided being determined through manual version checking, the checking efficiency is improved, the condition of missing checking or error checking is prevented, and the checking accuracy is improved.
In an alternative embodiment of the present description, the database version number of the database is accurately recorded in the configuration file. The version number includes: an application version number of the target application, and/or a database version number of a database used by the target application;
the setting the version number in the configuration file of the target application includes:
and when the version serial number is the database version serial number, generating a script of the database version serial number, and setting the script in a configuration file of the target application.
Based on the same inventive concept, one or more embodiments of the present specification further provide a version confirmation system, including: a terminal and a server; wherein
The terminal is configured to execute the version confirmation method applied to the terminal as described in any one of the above embodiments.
The server is configured to execute the version confirmation method applied to the server according to any of the above embodiments.
The system of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
One or more embodiments of the present specification further provide an electronic device based on the same inventive concept. The electronic device comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to execute a version confirmation method applied to the terminal according to any one of the embodiments or execute a version confirmation method applied to the server according to any one of the embodiments.
Fig. 3 is a schematic diagram illustrating a more specific hardware structure of an electronic device according to this embodiment, where the electronic device may include: a processor 310, a memory 320, an input/output interface 330, a communication interface 340, and a bus 350. Wherein the processor 310, memory 320, input/output interface 330, and communication interface 340 are communicatively coupled to each other within the device via bus 350.
The processor 310 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification.
The Memory 320 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 320 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 320 and called to be executed by the processor 310.
The input/output interface 330 is used for connecting an input/output module to realize information input and output. The input/output module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 340 is used for connecting a communication module (not shown in the figure) to implement communication interaction between the present device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 350 includes a path that transfers information between the various components of the device, such as processor 310, memory 320, input/output interface 330, and communication interface 340.
It should be noted that although the above-mentioned device only shows the processor 310, the memory 320, the input/output interface 330, the communication interface 340 and the bus 350, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The electronic device of the foregoing embodiment is used to implement the corresponding method in the foregoing embodiment, and has the beneficial effects of the corresponding method embodiment, which are not described herein again.
Based on the same inventive concept, one or more embodiments of the present specification further provide a non-transitory computer-readable storage medium storing computer instructions for causing the computer to implement a version confirmation method applied to a terminal as described in any one of the above embodiments or a version confirmation method applied to a server as described in any one of the above embodiments.
Computer-readable media of the present embodiments, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, is limited to these examples; within the spirit of the present disclosure, features from the above embodiments or from different embodiments may also be combined, steps may be implemented in any order, and there are many other variations of different aspects of one or more embodiments of the present description as described above, which are not provided in detail for the sake of brevity.
In addition, well-known power/ground connections to Integrated Circuit (IC) chips and other components may or may not be shown in the provided figures, for simplicity of illustration and discussion, and so as not to obscure one or more embodiments of the disclosure. Further, devices may be shown in block diagram form in order to avoid obscuring the understanding of one or more embodiments of the present description, and this also takes into account the fact that specifics with respect to implementation of such block diagram devices are highly dependent upon the platform within which the one or more embodiments of the present description are to be implemented (i.e., such specifics should be well within purview of one skilled in the art). Where specific details (e.g., circuits) are set forth in order to describe example embodiments of the disclosure, it should be apparent to one skilled in the art that one or more embodiments of the disclosure can be practiced without, or with variation of, these specific details. Accordingly, the description is to be regarded as illustrative instead of restrictive.
While the present disclosure has been described in conjunction with specific embodiments thereof, many alternatives, modifications, and variations of these embodiments will be apparent to those of ordinary skill in the art in light of the foregoing description. For example, other memory architectures, such as Dynamic RAM (DRAM), may use the discussed embodiments.
It is intended that the one or more embodiments of the present specification embrace all such alternatives, modifications and variations as fall within the broad scope of the appended claims. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of one or more embodiments of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (10)

1. A version confirmation method is applied to a terminal and comprises the following steps:
acquiring a target application sent by a server side, and determining a version number recorded in a configuration file of the target application;
responding to a starting instruction of a user to the target application, and acquiring a proofreading serial number sent by the server;
judging whether the version serial number is consistent with the check serial number;
and generating and outputting a version confirmation result according to the judgment result.
2. The method of claim 1, wherein the version number comprises:
an application version number of the target application;
and/or
A database version number of a database used by the target application.
3. The method of claim 2, wherein determining the version number recorded in the configuration file of the target application comprises:
And when the version serial number is the database version serial number, retrieving the version serial number table of the database, and determining the latest inserted serial number in the version serial number table as the database version serial number.
4. The method according to claim 1, wherein the generating and outputting a version confirmation result according to the determination result comprises:
and if the version serial number is inconsistent with the proofreading serial number, terminating the starting of the target application and generating the version confirmation result containing reminding information and operation prompt.
5. The method of claim 4, wherein after generating the version confirmation result containing the reminder information and the operation prompt, further comprising:
and acquiring an adjustment parameter input by the user based on the version confirmation result, performing parameter adjustment on the configuration file based on the adjustment parameter, enabling the adjusted configuration file to correspond to the upgrade parameter condition corresponding to the proofreading sequence number, and updating the target application.
6. A version confirmation method is applied to a server side and comprises the following steps:
determining a version serial number corresponding to a target application, setting the version serial number in a configuration file of the target application, and recording the version serial number to generate a proofreading serial number;
Responding to an acquisition request of a terminal, and sending the target application and the configuration file to the terminal;
in response to a start request of the terminal, sending the check sequence number to the terminal, and causing the terminal to execute the method according to any one of claims 1 to 5.
7. The method of claim 6, wherein the version number comprises: an application version number of the target application, and/or a database version number of a database used by the target application;
the setting the version number in the configuration file of the target application includes:
and when the version serial number is the database version serial number, generating a script of the database version serial number, and setting the script in a configuration file of the target application.
8. A version validation system, comprising: a terminal and a server; wherein
The terminal configured to perform the method of any one of claims 1 to 5;
the server side configured to perform the method of any one of claims 6 or 7.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any one of claims 1 to 5 or implements the method of any one of claims 6 or 7 when executing the program.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to implement the method of any one of claims 1 to 5, or the method of any one of claims 6 or 7.
CN202011284985.7A 2020-11-17 2020-11-17 Version confirmation method, version confirmation system, electronic equipment and storage medium Pending CN112486946A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011284985.7A CN112486946A (en) 2020-11-17 2020-11-17 Version confirmation method, version confirmation system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011284985.7A CN112486946A (en) 2020-11-17 2020-11-17 Version confirmation method, version confirmation system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112486946A true CN112486946A (en) 2021-03-12

Family

ID=74931610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011284985.7A Pending CN112486946A (en) 2020-11-17 2020-11-17 Version confirmation method, version confirmation system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112486946A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113590223A (en) * 2021-08-02 2021-11-02 上海米哈游璃月科技有限公司 Starting method and device of engine editor, electronic equipment and storage medium
CN113590179A (en) * 2021-08-02 2021-11-02 上海米哈游璃月科技有限公司 Plug-in detection method and device, electronic equipment and storage medium
US20220121524A1 (en) * 2020-10-20 2022-04-21 EMC IP Holding Company LLC Identifying database archive log dependency and backup copy recoverability
CN114461614A (en) * 2022-04-12 2022-05-10 北京安华金和科技有限公司 Sensitive data identification processing method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11212742A (en) * 1998-01-26 1999-08-06 Ricoh Co Ltd Printing system
JP2002158579A (en) * 2000-11-20 2002-05-31 Fujitsu Ltd Managing system for version number of downloaded data
CN104951333A (en) * 2014-03-27 2015-09-30 恩德莱斯和豪瑟尔测量及调节技术分析仪表两合公司 Method for checking for the presence of a current firmware version
CN109491694A (en) * 2019-01-04 2019-03-19 中国银行股份有限公司 Using update method and device, data push method and device
CN110618823A (en) * 2018-06-20 2019-12-27 视联动力信息技术股份有限公司 Version verification method and device for terminal equipment
CN111198706A (en) * 2020-01-08 2020-05-26 北京小米移动软件有限公司 Method for updating system function, apparatus for updating system function and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11212742A (en) * 1998-01-26 1999-08-06 Ricoh Co Ltd Printing system
JP2002158579A (en) * 2000-11-20 2002-05-31 Fujitsu Ltd Managing system for version number of downloaded data
CN104951333A (en) * 2014-03-27 2015-09-30 恩德莱斯和豪瑟尔测量及调节技术分析仪表两合公司 Method for checking for the presence of a current firmware version
CN110618823A (en) * 2018-06-20 2019-12-27 视联动力信息技术股份有限公司 Version verification method and device for terminal equipment
CN109491694A (en) * 2019-01-04 2019-03-19 中国银行股份有限公司 Using update method and device, data push method and device
CN111198706A (en) * 2020-01-08 2020-05-26 北京小米移动软件有限公司 Method for updating system function, apparatus for updating system function and storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220121524A1 (en) * 2020-10-20 2022-04-21 EMC IP Holding Company LLC Identifying database archive log dependency and backup copy recoverability
US11966297B2 (en) * 2020-10-20 2024-04-23 EMC IP Holding Company LLC Identifying database archive log dependency and backup copy recoverability
CN113590223A (en) * 2021-08-02 2021-11-02 上海米哈游璃月科技有限公司 Starting method and device of engine editor, electronic equipment and storage medium
CN113590179A (en) * 2021-08-02 2021-11-02 上海米哈游璃月科技有限公司 Plug-in detection method and device, electronic equipment and storage medium
CN113590179B (en) * 2021-08-02 2024-03-12 上海米哈游璃月科技有限公司 Plug-in detection method and device, electronic equipment and storage medium
CN114461614A (en) * 2022-04-12 2022-05-10 北京安华金和科技有限公司 Sensitive data identification processing method and system

Similar Documents

Publication Publication Date Title
CN112486946A (en) Version confirmation method, version confirmation system, electronic equipment and storage medium
WO2018223717A1 (en) Webpage front-end testing method, device, system, apparatus and readable storage medium
CN111158741A (en) Method and device for monitoring change of dependency relationship of business module on third-party class library
CN113791765A (en) Resource arranging method, device and equipment of cloud service and storage medium
CN114546881B (en) Application software testing method, electronic device and computer readable storage medium
CN114356434B (en) Page loading method, device, apparatus, storage medium and program product
CN111488170A (en) Method, device and equipment for updating business processing model
CN106990974B (en) APP updating method and device and electronic equipment
CN113656107A (en) Mobile application loading method and device and electronic equipment
CN109634836A (en) Test data packaging method, device, equipment and storage medium
CN106341449B (en) Method of data synchronization and device
CN110347678B (en) Financial data storage method, system, device and equipment
CN112650689A (en) Test method, test device, electronic equipment and storage medium
CN112437079B (en) Intranet access method and device
CN115617780A (en) Data import method, device, equipment and storage medium
CN106934021B (en) Processing method and system for modular encapsulation report
CN108563514A (en) Access method, application and the electronic equipment of application configuration service
CN114265737A (en) System migration integrity detection method and device and electronic equipment
CN109324822B (en) PWA (public warning assistant) item detection method, computer-readable storage medium and terminal device
KR101737575B1 (en) Method and device for verifying data based on sql sentences generated automatically
CN111726373B (en) Communication link construction method, device and equipment
JP7344521B1 (en) Program, method, information processing device, and system
CN113111047B (en) Data processing method and device and electronic equipment
CN114968700A (en) Service logic abnormity warning method based on system function log and related equipment
CN116166554A (en) Automated test system, method and storage medium

Legal Events

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