CN111176678B - Software controlled automatic updating method and device - Google Patents

Software controlled automatic updating method and device Download PDF

Info

Publication number
CN111176678B
CN111176678B CN201911317228.2A CN201911317228A CN111176678B CN 111176678 B CN111176678 B CN 111176678B CN 201911317228 A CN201911317228 A CN 201911317228A CN 111176678 B CN111176678 B CN 111176678B
Authority
CN
China
Prior art keywords
information
software
file server
registration
acquiring
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.)
Active
Application number
CN201911317228.2A
Other languages
Chinese (zh)
Other versions
CN111176678A (en
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 TECHRISE ELECTRONICS CO Ltd
Original Assignee
SHENZHEN TECHRISE ELECTRONICS CO Ltd
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 TECHRISE ELECTRONICS CO Ltd filed Critical SHENZHEN TECHRISE ELECTRONICS CO Ltd
Priority to CN201911317228.2A priority Critical patent/CN111176678B/en
Publication of CN111176678A publication Critical patent/CN111176678A/en
Application granted granted Critical
Publication of CN111176678B publication Critical patent/CN111176678B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention belongs to the technical field of software control, and particularly relates to a software controlled automatic updating method and device. The method comprises the steps of obtaining a starting instruction, starting, verifying identity registration information, detecting the connection relation with a file server after the identity registration information passes verification, obtaining starting entry information from the file server if the connection with the file server is successful, storing the starting entry information to the local, obtaining starting entry information of required software from the starting entry information, and obtaining component information of the required software from the file server according to the starting entry information to automatically update when preset conditions are met. The process avoids repeated labor and improves production efficiency.

Description

Software controlled automatic updating method and device
Technical Field
The invention belongs to the technical field of software control, and particularly relates to a software controlled automatic updating method and device.
Background
With the continuous improvement of the technological development level, software is more and more common in the life of people, developers can update software programs irregularly based on various reasons such as errors, function optimization, collaborative development and the like of the software programs, and when the types of the software are more and users are complicated, each software program is managed independently, the situations such as version confusion, software conflict and inconvenient control are easily caused, and the whole production efficiency is not high.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for automatically updating software under control, so as to solve the problem of low overall production efficiency when the existing software is operated.
The first aspect of the embodiment of the invention provides a software controlled automatic updating method, which comprises the following steps:
acquiring a starting instruction, starting and verifying identity registration information;
after the identity registration information passes verification, detecting the connection relation with a file server;
if the connection with the file server is successful, acquiring starting entry information from the file server and storing the starting entry information to the local;
and acquiring the starting entry information of the required software from the starting entry information, and acquiring the component information of the required software from the file server according to the starting entry information for automatic updating when the starting entry information meets the preset condition.
Optionally, the verifying the identity registration information includes:
verifying the identity information in the identity registration information, and if the identity information is not verified, acquiring a registration code for registration to generate a registration file;
after generating a registration file, verifying the registration information in the identity registration information;
if the registration information is not verified, connecting with a database server;
if the connection with the database server is successful, generating a registration file, and verifying the registration information;
and if the registration information passes the verification, the identity registration information is proved to pass the verification.
Optionally, the software controlled automatic updating method further includes:
when new software is sent out, acquiring the latest version record and component information of the new software;
and storing the latest version record to a database, and storing the component information to a file server.
Optionally, when the preset condition is met, acquiring component information of the required software from the file server according to the start entry information to perform automatic update, where the method includes:
detecting the connection relation with the database, and if the connection relation with the database is successful, acquiring the latest version record of the required software from the database;
acquiring a local version record of the required software, and if the latest version record does not accord with the local version record, connecting the local version record with the file server;
and if the connection with the file server is successful, acquiring the component information of the required software in the file server for automatic updating.
A second aspect of an embodiment of the present invention provides a software controlled automatic update apparatus, including:
the first acquisition module is used for acquiring a starting instruction, starting and verifying identity registration information;
the detection module is used for detecting the connection relation with the file server after the identity registration information passes the verification;
the first storage module is used for acquiring the starting entrance information from the file server and storing the starting entrance information to the local area if the connection with the file server is successful;
and the automatic updating module is used for acquiring the starting entry information of the required software from the starting entry information, and acquiring the component information of the required software from the file server according to the starting entry information for automatic updating when the starting entry information meets the preset condition.
Optionally, the software controlled automatic updating apparatus includes:
the first verification module is used for verifying the identity information in the identity registration information, and if the identity information is not verified, a registration code is acquired for registration to generate a registration file;
the generating module is used for verifying the registration information in the identity registration information after generating a registration file;
the connection module is used for connecting with a database server if the registration information is not verified;
the second verification module is used for generating a registration file and verifying the registration information if the connection with the database server is successful;
and the verification passing module is used for proving that the identity registration information passes the verification if the registration information passes the verification.
Optionally, the software controlled automatic updating apparatus includes:
the second acquisition module is used for acquiring the latest version record and the component information of the new version software after the new version software is sent out;
and the second storage module is used for storing the latest version record to a database and storing the component information to a file server.
Optionally, the software controlled automatic updating apparatus includes:
the connection success module is used for detecting the connection relation with the database, and if the connection relation with the database is successful, the latest version record of the required software is obtained from the database;
the third acquisition module is used for acquiring a local version record of the required software, and if the latest version record is inconsistent with the local version record, the third acquisition module is connected with the file server;
and the automatic updating module is used for acquiring the component information of the required software in the file server to automatically update if the connection with the file server is successful.
A third aspect of the embodiments of the present invention provides a terminal device, including a processor, a memory connected to the processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the software controlled automatic update method when executing the computer program.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the above-mentioned software-controlled automatic updating method.
The method comprises the steps of obtaining a starting instruction, starting, verifying identity registration information, detecting the connection relation with a file server after the identity registration information passes verification, obtaining starting entry information from the file server if the connection with the file server is successful, storing the starting entry information to the local, obtaining starting entry information of required software from the starting entry information, and obtaining component information of the required software from the file server according to the starting entry information to automatically update when preset conditions are met. The embodiment of the invention carries out unified control by starting the client, simplifies the operation flow, is convenient to manage, verifies the identity registration information, detects the connection relation with the file server when the verification is passed, ensures the overall safety by the identity verification, enables the software to be in a controlled state, acquires the starting entry information of all the software from the file server, stores the starting entry information to the local, selects the starting entry information of the required software for starting, selects the component information of the required software from the file server for automatic updating when the preset conditions are met, only updates the updated component information of the required software in the step, can avoid repeated labor, reduce storage, starts the updated software, judges the software when the whole process is started, updates the updated component information of the required software when the conditions are met, can avoid repeated labor and improve production efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
FIG. 1 is a first flowchart of a software controlled automatic update method according to an embodiment of the present invention;
FIG. 2 is a second flowchart of a software controlled automatic update method according to an embodiment of the present invention;
FIG. 3 is a third flowchart of a software controlled automatic update method according to an embodiment of the present invention;
FIG. 4 is a fourth flowchart illustrating a software controlled automatic update method according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a software controlled automatic update apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood by those skilled in the art, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention and the above-described drawings are intended to cover non-exclusive inclusions. For example, a process, method, or system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. Furthermore, the terms "first," "second," and "third," etc. are used to distinguish between different objects and are not used to describe a particular order.
As shown in fig. 1, which is a first flowchart of a software controlled automatic updating method provided in an embodiment of the present invention, the software controlled automatic updating method may include:
and S101, acquiring a starting instruction, starting and verifying identity registration information.
In specific application, a client acquires a starting instruction, starts the starting instruction, and then verifies identity registration information to check whether the client has a use permission. It can be understood that, in the step, the client is used for controlling by starting the client, all software is automatically downloaded, upgraded and started by the same client, a user does not need to register each newly released software, and when identity registration information passes verification, the user can access any software to be released by starting the client, so that the operation difficulty and risk are reduced, and the production efficiency is improved.
And S102, detecting the connection relation with the file server after the identity registration information passes the verification.
In the specific application, after the identity registration information passes the verification, the current operating environment is proved to be safe and controllable, and then the connection relation with the file server is detected, so that the relevant content can be downloaded from the file server, and the preparation for subsequent operation is completed, wherein the file server can be positioned in a local area network or a wide area network.
And S103, if the connection with the file server is successful, acquiring the starting entry information from the file server and storing the starting entry information to the local.
In the specific application, after the connection with the file is successful, the start-up entry information of all software in the file server and the start-up entry information of all local software are judged, if the local start-up entry information is not available, the current operation is proved to be the first operation, and the start-up entry information of all the software in the file server needs to be downloaded to the local; if the starting entry information of all local software is different from the starting entry information of all the software in the file server, or the starting entry information of part of the software is added, it is proved that the current operation is not the first operation, the added starting entry information of part of the software and the part of the updated software with different starting entry information are required to be updated, and finally the starting entry information of all released software can be obtained from the file server and stored to the local, wherein the starting entry information is the interface information for releasing the software starting, and the client needs to identify the starting entry of the software according to the starting entry information.
And step S104, acquiring the starting entry information of the required software from the starting entry information, and acquiring the component information of the required software from the file server according to the starting entry information for automatic updating when the starting entry information meets the preset condition.
In specific application, the start-up entry information of all the software stored locally is loaded, the start-up entry information of the required software is acquired from the start-up entry information of all the software according to selection, and when the preset condition is met, the component information of the required software is acquired from the file server according to the acquired start-up entry information of the required software for automatic updating, wherein the component information is the component information of the updated part of the required software. And after the component information is automatically updated, storing the updated information into a local composition program file, and locally loading the program file to start the required software.
Optionally, as shown in fig. 2, the second flowchart of the software controlled automatic updating method provided by the embodiment of the present invention is shown, where the verifying the identity registration information includes:
step S201, verifying the identity information in the identity registration information, and if the identity information is not verified, acquiring a registration code for registration to generate a registration file.
In the specific application, the authentication identity registration information mainly comprises two parts, firstly, whether the identity information in the identity registration information passes or not is verified, the software can be in a controlled state by verifying the identity information of a user and the current use environment, if the authentication passes, the current operation is proved to be in a local area network, the user can directly use the software for a worker in the local area network, and therefore if the authentication passes, a registration file is directly generated; if the verification fails, it is proved that the current operation is outside the local area network, the user is a person outside the local area network, and may be a person on business trip of the local company or a person who is issued to another company, and the like, in this case, an allowed party needs to be obtained for use, and the authority information of the issuing program is recorded to ensure that the issuing and use of all software are under control, so when the identity information is not verified, the registration code is obtained according to the registration prompted by a popup window to register, and a registration file is generated, and the process is recorded in a database, wherein the registration file can be obtained according to the local physical address, the service life and a specific secret key through encryption calculation.
Optionally, identity information is identified by examining the IP and MAC address of the client after communicating with the server, so that a user can be prevented from logging in, steps are saved, and efficiency is improved.
Step S202, after the registration file is generated, the registration information in the identity registration information is verified.
In a specific application, after the registration file is generated, the registration information in the identity registration information is verified, that is, the registration file is verified, in order to prevent the software product from running out of control, because some parts of the process of generating the registration file need to depend on the network, various accidents such as sudden network interruption and server crash may occur in the process of generating the registration file, and the accidents may be caused by improper network configuration or network failure. Therefore, after the production file is generated, the registration information in the identity registration information needs to be verified, so that the accuracy of the registration file is ensured, and the situation that no registration file exists or the registration file is not matched is prevented.
And step S203, if the registration information is not verified, connecting with a database server.
In a specific application, when the registration information is not verified, whether the registration information is connected with the database server is detected, the current operating environment can be identified through the connection relation with the database server, and corresponding measures for generating a registration file are taken according to different connection relations, wherein the database server is located in a local area network, and the identity can be automatically verified when the database server is connected every time.
And step S204, if the connection with the database server is successful, generating a registration file, and verifying the registration information.
In specific application, after the database server is successfully connected, the current operating environment can be proved to be in a local area network, a registration file can be directly generated, and then the registration information is verified again.
Optionally, if the connection with the database server is not successful, it is verified that the current operating environment is outside the local area network, and the registration code related to the current operating environment is obtained through registration prompted by a popup window to register, so as to generate a registration file, and the process is recorded in the database, so that the registration information is verified again.
Step S205, if the registration information is verified, the identity registration information is proved to be verified.
In a specific application, when the registration information passes the verification, the identity registration information is proved to pass the verification, because the identity registration information verification is divided into two steps to be verified in a sequential order, only when the registration information of the last step passes the verification, the identity registration information can be proved to pass the verification.
Optionally, after the new software is sent out, obtaining the latest version record and the component information of the new software; and storing the latest version record to a database, and storing the component information to a file server.
In a specific application, after new software is sent out, wherein the new software includes but is not limited to updating partial components and adding new software to previous software versions, the latest version records and updated component information of the new software are obtained, the latest version records are stored in a database, and the updated component information is stored in a file server, so that a uniform publishing platform is provided for developers to publish respective programs, each software product only has a unique version in the file server, common files are unique, and software conflict is coordinated; records are reserved in the database every time of upgrading, version updating traceability can be guaranteed by recording version records, and a user can use all software according to a client area; the starting entry information of the software is added when a new software product is released every time, wherein the component information is composed of independent program modules, each program module realizes partial functions, each software product is composed of a plurality of different program modules, and when the component information is stored in a file server, the program modules contained in the software products are synchronously recorded in a database; the updated component information refers to the edited and modified component information.
Optionally, each piece of software is divided into program modules by a package for management, one program module may be commonly used by multiple pieces of software, the relationship between the software and the program modules is uniformly managed by a database, when a developer updates and releases a piece of software, only the program module of the developer needs to be uploaded to a release platform and registered, and then the software starts an entry information set, so that it can be ensured that all verified users start a client program, new software can be automatically added to an executable software entry, and when the user needs to use the software, new software can be automatically downloaded and started up if conditions are met. Because each program module only has one version on the release platform, the versions of the program modules of all the release software can be controlled to be uniform among all client users, the storage space can be saved, and the management is more convenient.
Optionally, as shown in fig. 3, the third flowchart of the software controlled automatic updating method provided in the embodiment of the present invention is schematically shown, where when a preset condition is met, obtaining component information of a required software from the file server according to the start entry information to perform automatic updating includes:
step S301, detecting the connection relation with the database, and if the connection relation with the database is successful, acquiring the latest version record of the required software from the database.
In a specific application, the connection relation with the database is detected, if the connection with the database is successful, the latest version record of the required software can be acquired from the database, and whether the relevant content needs to be downloaded or updated from the file server can be judged according to the latest version record.
Optionally, if the connection with the database is unsuccessful, the developer may be contacted to add in a backup manner and compare the addition with the comparison, where the reason for the unsuccessful connection with the database is many, for example, the current network condition is poor.
Step S302, a local version record of the required software is obtained, and if the latest version record is not consistent with the local version record, the file server is connected.
In specific application, a local version record of required software is obtained for judgment, if the latest version record is not consistent with the local version record, part of component information of the required software is proved to be required to be updated, and then the required software is connected with a file server; if the latest version record matches the local version record, it is proved that the required software does not need to be updated, i.e. component information does not need to be downloaded or updated from the file server.
Optionally, if the required software does not have a local version record, the current operating environment is proved to be used for the first time, the connection is made with the file server, and all component information of the required software can be downloaded from the file server.
Step S303, if the connection with the file server is successful, acquiring the component information of the required software in the file server for automatic updating.
In a specific application, when the connection with the file server is successful, the component information of the updating part of the required software in the file server is acquired, automatically updated and stored locally. It is understood that after the updated part of the component information is saved locally, the latest version of the required software can be started by loading all the component information of the required software locally.
Optionally, if the connection with the file server is unsuccessful, the local file may be directly loaded, and if the connection with the file server is unsuccessful, a failure reason may be prompted, or a backup manner may be adopted, to contact a developer to add component information of an updated portion of the required software, and to store the added updated version record and the component information of the updated portion to the local, where there are many reasons for the unsuccessful connection with the file server, for example, the current network condition is poor.
Optionally, as shown in fig. 4, the fourth flowchart of the software controlled automatic updating method provided in the embodiment of the present invention is shown, where a plurality of pieces of software may be started by using a client, the client may automatically memorize last-started software, may uniformly manage software releases and uses of a plurality of different types and functions, and when a user needs to use a plurality of pieces of software at the same time, the user may start the required software by selecting start entry information of the required software again and confirming the start entry information.
The method comprises the steps of obtaining a starting instruction, starting, verifying identity registration information, detecting the connection relation with a file server after the identity registration information passes verification, obtaining starting entry information from the file server if the connection with the file server is successful, storing the starting entry information to the local, obtaining starting entry information of required software from the starting entry information, and obtaining component information of the required software from the file server according to the starting entry information to automatically update when preset conditions are met. The embodiment of the invention carries out unified control by starting the client, simplifies the operation flow, is convenient to manage, verifies the identity registration information, detects the connection relation with the file server when the verification is passed, ensures the overall safety by the identity verification, enables the software to be in a controlled state, acquires the starting entry information of all the software from the file server, stores the starting entry information to the local, selects the starting entry information of the required software for starting, selects the component information of the required software from the file server for automatic updating when the preset conditions are met, only updates the updated component information of the required software in the step, can avoid repeated labor, reduce storage, starts the updated software, judges the software when the whole process is started, updates the updated component information of the required software when the conditions are met, can avoid repeated labor and improve production efficiency.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
As shown in fig. 5, a software controlled automatic updating apparatus 5 provided in an embodiment of the present invention is configured to execute the method steps in the foregoing software controlled automatic updating method embodiment, where the software controlled automatic updating apparatus may include:
the first obtaining module 501 is configured to obtain a start instruction, start the terminal, and verify the identity registration information.
The detecting module 502 is configured to detect a connection relationship with the file server after the identity registration information passes the verification.
And the first saving module 503 is configured to, if the connection with the file server is successful, obtain the start entry information from the file server, and save the start entry information to the local.
And an automatic updating module 504, configured to obtain the start entry information of the required software from the start entry information, and when a preset condition is met, obtain component information of the required software from the file server according to the start entry information to perform automatic updating.
Optionally, the software controlled automatic updating apparatus further includes:
and the first verification module is used for verifying the identity information in the identity registration information, and if the identity information is not verified, acquiring a registration code for registration to generate a registration file.
And the generating module is used for verifying the registration information in the identity registration information after the registration file is generated.
And the connection module is used for connecting with the database server if the registration information is not verified.
And the second verification module is used for generating a registration file and verifying the registration information if the connection with the database server is successful.
And the verification passing module is used for proving that the identity registration information passes the verification if the registration information passes the verification.
Optionally, the software controlled automatic updating apparatus further includes:
and the second acquisition module is used for acquiring the latest version record and the component information of the new version software after the new version software is sent out.
And the second storage module is used for storing the latest version record to a database and storing the component information to a file server.
Optionally, the software controlled automatic updating apparatus further includes:
and the connection success module is used for detecting the connection relation with the database, and acquiring the latest version record of the required software from the database if the connection with the database is successful.
And the third acquisition module is used for acquiring a local version record of the required software, and if the latest version record does not accord with the local version record, connecting the local version record with the file server.
And the automatic updating module is used for acquiring the component information of the required software in the file server to automatically update if the connection with the file server is successful.
The method comprises the steps of obtaining a starting instruction, starting, verifying identity registration information, detecting the connection relation with a file server after the identity registration information passes verification, obtaining starting entry information from the file server if the connection with the file server is successful, storing the starting entry information to the local, obtaining starting entry information of required software from the starting entry information, and obtaining component information of the required software from the file server according to the starting entry information to automatically update when preset conditions are met. The embodiment of the invention carries out unified control by starting the client, simplifies the operation flow, is convenient to manage, verifies the identity registration information, detects the connection relation with the file server when the verification is passed, ensures the overall safety by the identity verification, enables the software to be in a controlled state, acquires the starting entry information of all the software from the file server, stores the starting entry information to the local, selects the starting entry information of the required software for starting, selects the component information of the required software from the file server for automatic updating when the preset conditions are met, only updates the updated component information of the required software in the step, can avoid repeated labor, reduce storage, starts the updated software, judges the software when the whole process is started, updates the updated component information of the required software when the conditions are met, can avoid repeated labor and improve production efficiency.
As shown in fig. 6, an embodiment of the present invention further provides a terminal device 6 including: a processor 600, a memory 601 connected to said processor 600, and a computer program 602, such as a software controlled automatic update program, stored in said memory 601 and executable on said processor 600. The processor 600 executes the computer program 602 to implement the steps in the above-mentioned embodiments of the software controlled automatic update method, such as the steps S101 to S104 shown in fig. 1. Alternatively, the processor 600 executes the computer program 602 to implement the functions of the modules in the device embodiments, such as the functions of the modules 501 to 504 shown in fig. 5.
Illustratively, the computer program 602 may be partitioned into one or more modules that are stored in the memory 601 and executed by the processor 600 to implement the present invention. The one or more modules may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 602 in the terminal device 6. For example, the computer program 602 may be divided into a first obtaining module 501, a detecting module 502, a first saving module 503, and an automatic updating module 504, and the specific functions of each module are as follows:
a first obtaining module 501, configured to obtain a start instruction, start the system, and verify identity registration information;
a detecting module 502, configured to detect a connection relationship with a file server after the identity registration information passes verification;
a first saving module 503, configured to, if the connection with the file server is successful, obtain start entry information from the file server, and save the start entry information to the local;
and an automatic updating module 504, configured to obtain the start entry information of the required software from the start entry information, and when a preset condition is met, obtain component information of the required software from the file server according to the start entry information to perform automatic updating.
The terminal device 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device 6 may include, but is not limited to, a processor 600, a memory 601. Those skilled in the art will appreciate that fig. 6 is merely an example of a terminal device 6 and does not constitute a limitation of terminal device 6 and may include more or less components than those shown, or some components in combination, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor 600 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 601 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 601 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 6. Further, the memory 601 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 601 is used for storing the computer programs and other programs and data required by the terminal device. The memory 601 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated module, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (8)

1. A method for controlled automatic update of software, comprising:
acquiring a starting instruction, starting and verifying identity registration information;
after the identity registration information passes verification, detecting the connection relation with a file server;
if the connection with the file server is successful, acquiring starting entry information from the file server and storing the starting entry information to the local;
acquiring starting entry information of the required software from the starting entry information, and acquiring component information of the required software from the file server according to the starting entry information for automatic updating when the starting entry information meets a preset condition;
the verifying the identity registration information comprises:
verifying the identity information in the identity registration information, and if the identity information is not verified, acquiring a registration code for registration to generate a registration file;
after generating a registration file, verifying the registration information in the identity registration information;
if the registration information is not verified, connecting with a database server;
if the connection with the database server is successful, generating a registration file, and verifying the registration information;
and if the registration information passes the verification, the identity registration information is proved to pass the verification.
2. The software controlled automatic update method of claim 1, further comprising:
when new software is sent out, acquiring the latest version record and component information of the new software;
and storing the latest version record to a database, and storing the component information to a file server.
3. The method as claimed in claim 2, wherein the step of obtaining component information of the required software from the file server for automatic update according to the start entry information when a preset condition is met comprises:
detecting the connection relation with the database, and if the connection relation with the database is successful, acquiring the latest version record of the required software from the database;
acquiring a local version record of the required software, and if the latest version record does not accord with the local version record, connecting the local version record with the file server;
and if the connection with the file server is successful, acquiring the component information of the required software in the file server for automatic updating.
4. A software controlled automatic update apparatus, comprising:
the first acquisition module is used for acquiring a starting instruction, starting and verifying identity registration information;
the detection module is used for detecting the connection relation with the file server after the identity registration information passes the verification;
the first storage module is used for acquiring the starting entrance information from the file server and storing the starting entrance information to the local area if the connection with the file server is successful;
the automatic updating module is used for acquiring the starting entry information of the required software from the starting entry information, and acquiring the component information of the required software from the file server according to the starting entry information for automatic updating when the starting entry information meets the preset condition;
the first verification module is used for verifying the identity information in the identity registration information, and if the identity information is not verified, a registration code is acquired for registration to generate a registration file;
the generating module is used for verifying the registration information in the identity registration information after generating a registration file;
the connection module is used for connecting with a database server if the registration information is not verified;
the second verification module is used for generating a registration file and verifying the registration information if the connection with the database server is successful;
and the verification passing module is used for proving that the identity registration information passes the verification if the registration information passes the verification.
5. The software controlled automatic updating apparatus as claimed in claim 4, comprising:
the second acquisition module is used for acquiring the latest version record and the component information of the new version software after the new version software is sent out;
and the second storage module is used for storing the latest version record to a database and storing the component information to a file server.
6. The software controlled automatic updating apparatus as claimed in claim 5, comprising:
the connection success module is used for detecting the connection relation with the database, and if the connection relation with the database is successful, the latest version record of the required software is obtained from the database;
the third acquisition module is used for acquiring a local version record of the required software, and if the latest version record is inconsistent with the local version record, the third acquisition module is connected with the file server;
and the automatic updating module is used for acquiring the component information of the required software in the file server to automatically update if the connection with the file server is successful.
7. A terminal device comprising a processor, a memory connected to said processor, and a computer program stored in said memory and executable on said processor, characterized in that said processor, when executing said computer program, implements the steps of a software controlled automatic update method according to any of claims 1 to 3.
8. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of a method for software-controlled automatic updating as claimed in any one of claims 1 to 3.
CN201911317228.2A 2019-12-19 2019-12-19 Software controlled automatic updating method and device Active CN111176678B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911317228.2A CN111176678B (en) 2019-12-19 2019-12-19 Software controlled automatic updating method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911317228.2A CN111176678B (en) 2019-12-19 2019-12-19 Software controlled automatic updating method and device

Publications (2)

Publication Number Publication Date
CN111176678A CN111176678A (en) 2020-05-19
CN111176678B true CN111176678B (en) 2020-10-23

Family

ID=70647298

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911317228.2A Active CN111176678B (en) 2019-12-19 2019-12-19 Software controlled automatic updating method and device

Country Status (1)

Country Link
CN (1) CN111176678B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262751A (en) * 2010-05-31 2011-11-30 中国移动通信集团贵州有限公司 Method and system for acquiring service application based on SOA (service-oriented architecture)
CN104660680A (en) * 2015-01-26 2015-05-27 青岛市环境信息中心 Cloud terminal platform integrating application systems and integrating method
CN109901858A (en) * 2019-01-17 2019-06-18 平安普惠企业管理有限公司 Application software updates detection method, device, computer equipment and storage medium
CN110286922A (en) * 2019-05-22 2019-09-27 深圳壹账通智能科技有限公司 Using downloading updating method, device, computer equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8301593B2 (en) * 2008-06-12 2012-10-30 Gravic, Inc. Mixed mode synchronous and asynchronous replication system
US10108409B2 (en) * 2014-01-03 2018-10-23 Visa International Service Association Systems and methods for updatable applets
CN108259431A (en) * 2016-12-29 2018-07-06 航天信息股份有限公司 The method, apparatus and system of account information are shared between applying more

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102262751A (en) * 2010-05-31 2011-11-30 中国移动通信集团贵州有限公司 Method and system for acquiring service application based on SOA (service-oriented architecture)
CN104660680A (en) * 2015-01-26 2015-05-27 青岛市环境信息中心 Cloud terminal platform integrating application systems and integrating method
CN109901858A (en) * 2019-01-17 2019-06-18 平安普惠企业管理有限公司 Application software updates detection method, device, computer equipment and storage medium
CN110286922A (en) * 2019-05-22 2019-09-27 深圳壹账通智能科技有限公司 Using downloading updating method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN111176678A (en) 2020-05-19

Similar Documents

Publication Publication Date Title
CN109492378B (en) Identity verification method based on equipment identification code, server and medium
EP3509270B1 (en) Data backup method and device, storage medium and electronic apparatus
CN108418787B (en) Method for acquiring enterprise resource planning data, terminal device and medium
CN105138347A (en) Difference upgrade patch generating method, software upgrading method and corresponding apparatus
CN109561085A (en) A kind of auth method based on EIC equipment identification code, server and medium
US10360396B2 (en) Token-based control of software installation and operation
CN110677453A (en) ZooKeeper-based distributed lock service implementation method, device, equipment and storage medium
CN107844306B (en) Application program repairing method and device, storage medium and terminal
CN110895603B (en) Multi-system account information integration method and device
US11792270B2 (en) Offline sideloading for enrollment of devices in a mobile device management system
CN107682376B (en) Wind control data interaction method and device
CN109756527B (en) Data sharing method, device and system
CN110597662B (en) Backup data automatic verification method and device, user equipment and storage medium
CN107526580B (en) Terminal application identification method and device
CN111966422A (en) Localized plug-in service method and device, electronic equipment and storage medium
CN111182527A (en) OTA firmware upgrading method, device, terminal equipment and storage medium thereof
CN111176678B (en) Software controlled automatic updating method and device
CN109348472B (en) OTA (over the air) upgrading method and system based on single-point pushing
CN109684026B (en) APP skin replacement method and device, electronic equipment and storage medium
CN108595924B (en) Business authority management method and device, computer equipment and storage medium
CN114281361A (en) Software processing method and device, electronic equipment and storage medium
CN115567218A (en) Data processing method and device of security certificate based on block chain and server
CN112367339A (en) System security login management method and device
CN111736859A (en) Version updating method of operating system, server and terminal
US20230297724A1 (en) Hardware identity restoration post-device repair

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
GR01 Patent grant
GR01 Patent grant