CN118246078A - Activation upgrading method, device, equipment and storage medium for equipment serial numbers - Google Patents

Activation upgrading method, device, equipment and storage medium for equipment serial numbers Download PDF

Info

Publication number
CN118246078A
CN118246078A CN202410449931.3A CN202410449931A CN118246078A CN 118246078 A CN118246078 A CN 118246078A CN 202410449931 A CN202410449931 A CN 202410449931A CN 118246078 A CN118246078 A CN 118246078A
Authority
CN
China
Prior art keywords
tested
information
equipment
serial number
upgrading
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
CN202410449931.3A
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.)
Wuhan Sipuling Technology Co Ltd
Original Assignee
Wuhan Sipuling Technology 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 Wuhan Sipuling Technology Co Ltd filed Critical Wuhan Sipuling Technology Co Ltd
Priority to CN202410449931.3A priority Critical patent/CN118246078A/en
Publication of CN118246078A publication Critical patent/CN118246078A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information
    • G06F21/73Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information by creating or determining hardware identification, e.g. serial numbers
    • 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
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to an activation upgrading method, device, equipment and storage medium of equipment serial numbers, belonging to the technical field of information security, wherein the method comprises the following steps: acquiring information of equipment to be tested according to a preset period based on a serial port server and performing deduplication processing to obtain an equipment information table to be tested; traversing the information table of the equipment to be tested, and judging whether the current equipment to be tested has serial number information or not; and when the current equipment to be tested has serial number information, determining an upgrading path according to the serial number information, and upgrading the version of the current equipment to be tested based on the upgrading path. According to the invention, whether the serial number information exists in the current equipment to be tested is determined through the serial server, the serial number is not additionally distributed, the situation that the hardware and the version of the same item repeatedly apply a plurality of serial numbers is avoided, resources are saved, the current equipment to be tested can be automatically upgraded based on the serial number information, and the version upgrading process is simplified.

Description

Activation upgrading method, device, equipment and storage medium for equipment serial numbers
Technical Field
The present invention relates to the field of information security technologies, and in particular, to a method, an apparatus, a device, and a storage medium for activating and upgrading a device serial number.
Background
Today computer technology is rapidly developed, various application services are layered endlessly, and a great deal of demands are made on terminal equipment and server equipment. For enterprises having a large number of terminal devices and server devices, the electronic devices used in the various devices are an important component of the company's assets, and are particularly important for their statistics and management, and the important basis for management is the serial number of the activation upgrade device of the device serial number.
When the enterprise product is updated and iterated, internal verification is required, the prior art means generally applies for a temporary serial number according to hardware information and oem version information, and then searches a corresponding version upgrade package for manual upgrade.
However, the existing technical means cannot effectively manage serial numbers, the situation that the same item of hardware and version repeatedly apply for a plurality of serial numbers often occurs, resource waste is caused, the version upgrading process is complicated, corresponding configuration is required to be carried out by using command lines, version updating is carried out through ftp protocol, the safety is low, the reliability is poor, operation and maintenance are difficult, and development resources are easily wasted.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a method, an apparatus, a device, and a storage medium for activating and upgrading a serial number of a device, so as to solve the problems that the serial number cannot be effectively managed in the prior art, a plurality of serial numbers are easily repeatedly applied to the hardware and version of the same project, resources are wasted, the version upgrading process is complicated, the corresponding configuration of a command line is required, and the version can be updated through ftp protocol.
In order to solve the above problems, the present invention provides an activation upgrade method for a device serial number, including:
collecting information of all devices to be tested according to a preset period based on a serial port server, and performing deduplication processing to obtain an information table of the devices to be tested;
Traversing an information table of the equipment to be tested, and judging whether serial number information exists in the current equipment to be tested;
When the serial number information exists in the current equipment to be tested, determining an upgrading path according to the serial number information, and upgrading the version of the current equipment to be tested based on the upgrading path.
In one possible implementation manner, the method for acquiring information of the device to be tested based on the serial port server at a preset period and performing deduplication processing to obtain an information table of the device to be tested includes:
establishing connection between a serial server and equipment to be tested;
collecting information of equipment to be tested according to a preset period and converting the information of the equipment to be tested into a preset format;
and identifying repeated information in the information of the equipment to be tested in the preset format and performing de-duplication processing to obtain an information table of the equipment to be tested.
In one possible implementation manner, identifying repeated information in information of a device to be tested in a preset format and performing deduplication processing to obtain a device to be tested information table, where the method includes:
preprocessing information of equipment to be tested in a preset format, and removing invalid information, abnormal information or repeated information in the information of the equipment to be tested;
identifying repeated information in the preprocessed information of the equipment to be tested according to the preset field information;
and performing de-duplication processing on the repeated information and verifying the integrity of the information to obtain an information table of the equipment to be tested.
In one possible implementation, the information of the device to be tested includes serial number information, device name; traversing an information table of the equipment to be tested, and judging whether the current equipment to be tested has serial number information or not, wherein the method comprises the following steps:
reading the equipment name of the current equipment to be tested through a serial port server;
constructing a query statement to query a matched equipment information record from an equipment information table to be tested;
Judging whether the current equipment to be tested has serial number information or not according to the equipment information record.
In one possible implementation manner, constructing a query statement to query a matching device information record from a device information table to be tested includes:
Determining the characteristics of a field to be queried according to the equipment name to construct a query statement;
And establishing a query environment for the equipment to be queried, and querying the matched equipment information record from the equipment information table to be tested.
In one possible implementation manner, when the serial number information exists in the current device to be tested, determining an upgrade path according to the serial number information, and upgrading the version of the current device to be tested based on the upgrade path, including:
Inquiring according to the serial number information to obtain a version upgrading path of the equipment to be tested and downloading an upgrading file;
performing version upgrading on the equipment to be tested according to the version upgrading path and the upgrading file configuration upgrading environment;
and waiting for the version upgrade to finish verifying the upgrade result of the current device to be tested.
In one possible implementation manner, the step of inquiring the version upgrade path of the device to be tested according to the serial number information and downloading the upgrade file includes:
inputting serial number information in a official network of equipment to be tested, inquiring and downloading a version upgrading path and an upgrading file;
And checking the version upgrading path and the upgrading file to determine the integrity of the version upgrading path and the upgrading file.
The invention also provides an activation upgrading device of the equipment serial number, which comprises:
The information acquisition module is used for acquiring information of the equipment to be tested according to a preset period based on the serial server and performing deduplication processing to obtain an equipment information table to be tested;
The judging module is used for traversing the information table of the equipment to be tested and judging whether the current equipment to be tested has serial number information or not;
And activating an upgrading module, which is used for determining an upgrading path according to the serial number information when the serial number information exists in the current device to be tested, and upgrading the version of the current device to be tested based on the upgrading path.
In a third aspect, the present invention also provides an activation upgrade apparatus for an apparatus serial number, including a memory and a processor, wherein,
A memory for storing a program;
And the processor is coupled with the memory and is used for executing the program stored in the memory so as to realize the steps in the activation upgrading method of the device serial number in any implementation mode.
In a fourth aspect, the present invention further provides a computer readable storage medium, configured to store a computer readable program or instruction, where the program or instruction, when executed by a processor, is capable of implementing the steps in the method for activating and upgrading a device serial number in any implementation manner.
The beneficial effects of the invention are as follows: the invention provides an activation upgrading method, a device, equipment and a storage medium for equipment serial numbers, which belong to the technical field of information safety.
Drawings
FIG. 1 is a flowchart illustrating an embodiment of an activation upgrade method for a device serial number according to the present invention;
FIG. 2 is a flowchart illustrating an embodiment of the step S101 in FIG. 1 according to the present invention;
fig. 3 is a flowchart illustrating an embodiment of step S203 in fig. 2 according to the present invention;
FIG. 4 is a flowchart illustrating an embodiment of the step S102 in FIG. 1 according to the present invention;
FIG. 5 is a flowchart illustrating an embodiment of step S103 in FIG. 1 according to the present invention;
FIG. 6 is a schematic diagram illustrating an embodiment of an apparatus for activating and upgrading a serial number of a device according to the present invention;
fig. 7 is a schematic structural diagram of an activation upgrade device with a device serial number according to an embodiment of the present invention.
Detailed Description
The following detailed description of preferred embodiments of the application is made in connection with the accompanying drawings, which form a part hereof, and together with the description of the embodiments of the application, are used to explain the principles of the application and are not intended to limit the scope of the application.
Referring to fig. 1, fig. 1 is a flow chart of an embodiment of an activation upgrade method for an equipment serial number according to the present invention, and a specific embodiment of the present invention discloses an activation upgrade method for an equipment serial number, which includes:
s101, collecting information of all devices to be tested according to a preset period based on a serial port server and performing deduplication processing to obtain an information table of the devices to be tested;
S102, traversing an information table of the equipment to be tested, and judging whether serial number information exists in the current equipment to be tested;
S103, when the serial number information exists in the current equipment to be tested, determining an upgrading path according to the serial number information, and upgrading the version of the current equipment to be tested based on the upgrading path.
In the above embodiment, the serial port server provides a serial port to network function, and can convert the RS-232/485/422 serial port into a TCP/IP protocol network interface, so as to realize bidirectional transparent transmission of data between the RS-232/485/422 serial port and the TCP/IP protocol network interface, or support bidirectional transmission of MODBUS protocol. The serial server receives serial data from the equipment to be tested, wherein the data may be state information, operation log or other related data of the equipment, and an information table of the equipment to be tested can be obtained after the data information is processed.
As a preferred embodiment, the preset period is one hour, and it is understood that the specific time of the preset period may be set according to actual use needs, which is not limited in the present invention.
The information table of the device to be tested needs to be updated regularly to ensure that the data in the information table is up to date so as to accurately judge whether the device to be tested exists in the table. The current equipment to be tested information can be acquired through the serial server, and similar to the above process, the details are not repeated.
When using serial number information, the validity of the serial number information is first confirmed, which typically involves entering the serial number into a manufacturer-provided verification tool or website to ensure that the serial number corresponds to a truly-existing device and that the device supports version upgrades. The system will identify the device model number, current version, and other relevant information based on the serial number and provide an applicable upgrade path, which may include a link to directly download the upgrade file, or a page pointing to detailed upgrade steps and instructions.
Compared with the prior art, the activation upgrading method for the equipment serial numbers provided by the embodiment of the invention belongs to the technical field of information safety, and the serial server is used for acquiring the information table of the equipment to be tested, so that information comparison is carried out to judge whether the serial number information exists in the current equipment to be tested, the serial numbers are not required to be additionally distributed to the equipment to be tested, the situation that the same item of hardware and version repeatedly apply a plurality of serial numbers is avoided, the aim of saving resources is fulfilled, the upgrading path of the equipment to be tested can be determined based on the serial number information, automatic version upgrading is carried out on the activation of the current equipment to be tested, and the version upgrading process is simplified.
Referring to fig. 2, fig. 2 is a flowchart of an embodiment of step S101 in fig. 1 provided by the present invention, in some embodiments of the present invention, acquiring information of a device to be tested based on a serial server in a preset period and performing a deduplication process to obtain an information table of the device to be tested, including:
S201, establishing connection between a serial server and equipment to be tested;
s202, collecting information of equipment to be tested according to a preset period and converting the information of the equipment to be tested into a preset format;
s203, identifying repeated information in the information of the device to be tested in a preset format and performing deduplication processing to obtain an information table of the device to be tested.
In the above embodiment, the device to be tested is connected to the serial server through the serial port line, so as to ensure that the serial server is configured correctly, including parameters such as baud rate, data bit, stop bit, etc., so as to communicate with the device to be tested normally, and the serial server receives serial data from the device to be tested.
The received serial data is converted into a computer readable format, and as a preferred embodiment, the preset format in the present invention is a text format or a binary file format, and it is understood that the preset format can be adjusted according to actual needs, which is not further limited in the present invention, and is helpful for subsequent data processing and analysis.
Referring to fig. 3, fig. 3 is a flowchart of an embodiment of step S203 in fig. 2 provided by the present invention, in some embodiments of the present invention, the method for identifying repeated information in information of a device to be tested in a preset format and performing a de-duplication process to obtain an information table of the device to be tested includes:
S301, preprocessing information of equipment to be tested in a preset format, and removing invalid information, abnormal information or repeated information in the information of the equipment to be tested;
S302, identifying repeated information in the preprocessed information of the equipment to be tested according to the preset field information;
s303, performing de-duplication processing on repeated information and verifying the integrity of the information to obtain an information table of the equipment to be tested.
In the above embodiment, preprocessing the information of the device to be tested in the preset format is mainly used for cleaning and sorting the collected information, and removing invalid information, abnormal information or repeated information in the information of the device to be tested, so as to avoid interference to the subsequent use of the information.
The repeated data may be identified using existing algorithms or techniques, which may be implemented by comparing specific fields of the data (e.g., device ID, time stamp, etc.), which may require the use of more advanced data alignment techniques for complex data structures, which may be implemented by algorithms or techniques of the prior art, which are not described in detail herein. Based on the identified duplicate data, a deduplication operation is performed, which typically involves deleting the duplicate item or merging the duplicate data, ensuring that the complete and accurate data is preserved during the deduplication process.
When the information deduplication processing is carried out, the privacy and safety of data are required to be protected, and sensitive information is prevented from being revealed. For large-scale data sets, the efficiency and performance of the deduplication process need to be considered, and appropriate algorithms and tools are selected for processing. And verifying the data after the duplication removal to ensure the integrity and the accuracy of the data, wherein the verification can be realized by comparing the original data with the data after the duplication removal.
Referring to fig. 4, fig. 4 is a flowchart of an embodiment of step S102 in fig. 1 provided by the present invention, where in some embodiments of the present invention, information of a device to be tested includes serial number information and a device name; traversing an information table of the equipment to be tested, and judging whether the current equipment to be tested has serial number information or not, wherein the method comprises the following steps:
S401, reading the device name of the current device to be tested through a serial port server;
s402, constructing a query statement to query a matched device information record from a device information table to be tested;
S403, judging whether the current equipment to be tested has serial number information according to the equipment information record.
In the above embodiment, the serial server or other interfaces are connected with the device to be tested, so as to ensure that the related information of the device can be obtained, and an instruction or a request is sent to the device to be tested to obtain the key information such as the serial number, the device name and the like of the device to be tested.
An SQL statement or other query statement for querying the device information table is constructed from the device names. A query statement is executed in a database or table looking up a device record matching the extracted device name.
Judging whether the current equipment to be tested has serial number information according to the query result, and paying attention to data security and data integrity in the whole process to ensure that the query operation cannot cause unnecessary modification or damage to an equipment information table. Meanwhile, the processing of abnormal conditions such as equipment connection failure, query statement errors and the like are considered, so that the robustness and stability of the program are ensured.
In some embodiments of the present invention, constructing a query statement queries a matching device information record from a device information table to be tested, including:
Determining the characteristics of a field to be queried according to the equipment name to construct a query statement;
And establishing a query environment for the equipment to be queried, and querying the matched equipment information record from the equipment information table to be tested.
In the above embodiment, the query requirement is a device information record corresponding to a device name, so that corresponding query sentences are written, and as a preferred embodiment, the excessive query sentences in the present invention are generally written by using SQL (structured query language), it will be understood that the present invention can also be written in other manners according to the actual use requirement, and the present invention is not limited thereto.
The query environment is prepared to ensure that a preset query statement can be smoothly executed, and a matched device information record is retrieved from a device information table to be tested. It is necessary to determine what type of database management system (DBMS), such as MySQL, postgreSQL, oracle, SQL SERVER, etc., is used, and different DBMSs have different characteristics and syntax, so query statements need to be written and adjusted according to the selected DBMS.
Referring to fig. 5, fig. 5 is a flowchart of an embodiment of step S103 in fig. 1 provided by the present invention, in some embodiments of the present invention, when serial number information exists in a current device to be tested, determining an upgrade path according to the serial number information, and upgrading a version of the current device to be tested based on the upgrade path, including:
s501, inquiring to obtain a version upgrading path of equipment to be tested according to serial number information and downloading an upgrading file;
S502, configuring an upgrading environment according to a version upgrading path and an upgrading file to upgrade the version of the equipment to be tested;
S503, waiting for the version upgrade to finish verifying the upgrade result of the current device to be tested.
In the above-described embodiment, before using the serial number information, the validity thereof is first confirmed, which generally involves inputting the serial number information into a verification tool or website provided by the manufacturer to ensure that the serial number information corresponds to a truly existing device, and that the device supports version upgrades. Ensuring that the selected upgrade file matches the model, current version, and any particular zone or operator settings of the device to be tested.
Before starting the upgrade, it is ensured that the device is fully charged or connected to the power supply and all important data is backed up, while at the same time it is ensured that the device is connected to a stable Wi-Fi network in order to download and install the necessary files during the upgrade. The upgrade operations are performed according to manufacturer provided instructions, which may involve downloading an upgrade file, transferring the file to the device, entering a specific upgrade mode, or initiating an upgrade process through a setup menu of the device.
In the upgrading process, the power supply or network connection of the equipment is not disconnected, after the upgrading is completed, the equipment is restarted, whether the system version is updated or not and whether new functions are available or not are checked, success of the upgrading process is ensured, and the performance of the equipment is normal.
In some embodiments of the present invention, obtaining a version upgrade path of a device to be tested according to a serial number information query, and downloading an upgrade file, including:
inputting serial number information in a official network of equipment to be tested, inquiring and downloading a version upgrading path and an upgrading file;
And checking the version upgrading path and the upgrading file to determine the integrity of the version upgrading path and the upgrading file.
In the above-described embodiments, typically, the official website will provide up-to-date information about device support, software updates and upgrades, access the device manufacturer's official website to enter serial number information for the device or select the correct device model, identify the corresponding upgrade path and available upgrade files, which may include the latest version of the software package, firmware or upgrade guide. Downloading the upgrade file corresponding to the device to be tested according to the link provided by the website, and ensuring that the file is downloaded from the official website or a trusted source so as to avoid security risks.
After the download is completed, the integrity of the upgrade file is checked, for example by comparing file sizes, checking and/or digital signatures, etc., which helps ensure that the file is not damaged or tampered with during transmission. It should be noted that the upgrade process may vary from manufacturer to manufacturer and from device to device, and some manufacturers may provide automatic upgrade functionality that allows the device to automatically check and install the latest upgrade files when connected to the internet. In addition, some devices may also require specific upgrade tools or software to perform the upgrade process.
In order to better implement the activation and upgrade method of the equipment serial number in the embodiment of the present invention, referring to fig. 6 correspondingly on the basis of the activation and upgrade method of the equipment serial number, fig. 6 is a schematic structural diagram of an embodiment of an activation and upgrade apparatus of the equipment serial number provided in the present invention, and the embodiment of the present invention provides an activation and upgrade apparatus 600 of the equipment serial number, including:
the information acquisition module 601 is configured to acquire information of a device to be tested at a preset period based on the serial server and perform deduplication processing to obtain an information table of the device to be tested;
a judging module 602, configured to traverse the device to be tested information table and judge whether serial number information exists in the current device to be tested;
And the activation upgrade module 603 is configured to determine an upgrade path according to the serial number information when the serial number information exists in the current device to be tested, and upgrade the version of the current device to be tested based on the upgrade path.
What needs to be explained here is: the apparatus 600 provided in the foregoing embodiments may implement the technical solutions described in the foregoing method embodiments, and the specific implementation principles of the foregoing modules or units may be referred to the corresponding content in the foregoing method embodiments, which is not repeated herein.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an activation upgrade apparatus with an apparatus serial number according to an embodiment of the present invention. Based on the activation upgrading method of the equipment serial number, the invention also correspondingly provides activation upgrading equipment of the equipment serial number, and the activation upgrading equipment of the equipment serial number can be computing equipment such as a mobile terminal, a desktop computer, a notebook computer, a palm computer, a server and the like. The device serial number activation upgrade device 700 includes a processor 701, a memory 702, and a display 703. Fig. 7 shows only a portion of the components of the device serial number activating upgrade device, but it should be understood that not all of the illustrated components are required to be implemented and that more or fewer components may be implemented instead.
The memory 702 may in some embodiments be an internal storage unit of the device serial number activation upgrade device 700, such as a hard disk or memory of the device serial number activation upgrade device 700. The memory 702 may also be an external storage device of the device serial number activation upgrade device 700 in other embodiments, such as a plug-in hard disk, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD) or the like that is provided on the device serial number activation upgrade device 700. Further, the memory 702 may also include both internal and external storage devices of the active upgrade device 700 including the device serial number. The memory 702 is used for storing application software of the activation upgrade apparatus 700 installed on the apparatus serial number and various data, such as program code of the activation upgrade apparatus 700 installed on the apparatus serial number. The memory 702 may also be used to temporarily store data that has been output or is to be output. In one embodiment, the memory 702 stores an activation upgrade program 704 of a device serial number, where the activation upgrade program 704 of the device serial number may be executed by the processor 701, so as to implement the activation upgrade method of the device serial number according to embodiments of the present application.
The processor 701 may be, in some embodiments, a central processing unit (Central Processing Unit, CPU), microprocessor or other data processing chip for running program code or processing data stored in the memory 702, for example performing an active upgrade method of device serial numbers, etc.
The display 703 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch, or the like in some embodiments. The display 703 is used to display information activating the upgrade apparatus 700 at the apparatus serial number and to display a visual user interface. Activation of device serial numbers the components 701-703 of the upgrade device 700 communicate with each other over a system bus.
In one embodiment, the steps in the device serial number activation upgrade method described above are implemented when the processor 701 executes the device serial number activation upgrade program 704 in the memory 702.
The present embodiment also provides a computer-readable storage medium having stored thereon an activation upgrade program for a device serial number, which when executed by a processor, performs the steps of:
acquiring information of equipment to be tested according to a preset period based on a serial port server and performing deduplication processing to obtain an equipment information table to be tested;
Traversing an information table of the equipment to be tested, and judging whether serial number information exists in the current equipment to be tested;
When the serial number information exists in the current equipment to be tested, determining an upgrading path according to the serial number information, and upgrading the version of the current equipment to be tested based on the upgrading path.
In summary, the method, the device, the equipment and the storage medium for activating and upgrading the equipment serial number provided by the embodiment of the invention belong to the technical field of information security, and the serial server is used for acquiring the equipment information table to be tested, so that information comparison is performed to judge whether the serial number information exists in the current equipment to be tested, the serial number is not required to be additionally allocated to the equipment to be tested, the situation that the same item of hardware and version repeatedly apply a plurality of serial numbers is avoided, the aim of saving resources is realized, the upgrading path of the equipment to be tested can be determined based on the serial number information, the automatic version upgrading is performed on the activation of the current equipment to be tested, and the version upgrading process is simplified.
Those skilled in the art will appreciate that all or part of the flow of the methods of the embodiments described above may be accomplished by way of a computer program to instruct associated hardware, where the program may be stored on a computer readable storage medium. Wherein the computer readable storage medium is a magnetic disk, an optical disk, a read-only memory or a random access memory, etc.
The present invention is not limited to the above-mentioned embodiments, and any changes or substitutions that can be easily understood by those skilled in the art within the technical scope of the present invention are intended to be included in the scope of the present invention.

Claims (10)

1. An activation upgrade method for a device serial number, comprising:
collecting information of all devices to be tested according to a preset period based on a serial port server, and performing deduplication processing to obtain an information table of the devices to be tested;
Traversing the information table of the equipment to be tested, and judging whether the current equipment to be tested has serial number information or not;
And when the current equipment to be tested has serial number information, determining an upgrading path according to the serial number information, and upgrading the version of the current equipment to be tested based on the upgrading path.
2. The method for activating and upgrading the serial number of the device according to claim 1, wherein the serial server collects information of the device to be tested at a preset period and performs de-duplication processing to obtain an information table of the device to be tested, and the method comprises the following steps:
establishing connection between the serial server and the equipment to be tested;
Collecting information of the equipment to be tested according to the preset period and converting the information of the equipment to be tested into a preset format;
And identifying repeated information in the information of the equipment to be tested in the preset format and performing deduplication processing to obtain the information table of the equipment to be tested.
3. The method for activating and upgrading a serial number of a device according to claim 2, wherein the steps of identifying repeated information in the information of the device to be tested in the preset format and performing deduplication processing to obtain the device to be tested information table include:
Preprocessing the information of the equipment to be tested in the preset format, and removing invalid information, abnormal information or repeated information in the information of the equipment to be tested;
identifying repeated information in the preprocessed information of the equipment to be tested according to the preset field information;
And performing de-duplication processing on the repeated information and verifying the integrity of the information to obtain the information table of the equipment to be tested.
4. The method for activating and upgrading the serial numbers of the devices according to claim 1, wherein the information of the devices to be tested comprises serial number information and device names; the step of traversing the information table of the equipment to be tested, and judging whether the current equipment to be tested has serial number information or not comprises the following steps:
Reading the equipment name of the current equipment to be tested through the serial port server;
constructing a query statement to query the matched equipment information record from the equipment information table to be tested;
Judging whether the current equipment to be tested has serial number information according to the equipment information record.
5. The method for activating and upgrading a device serial number according to claim 4, wherein the constructing a query statement queries a matching device information record from the device information table to be tested, including:
Determining the characteristics of the field to be queried according to the equipment name to construct a query statement;
And establishing a query environment for the equipment to be queried, and querying a matched equipment information record from the equipment information table to be tested.
6. The method for activating and upgrading a serial number of a device according to claim 1, wherein when serial number information exists in the current device to be tested, determining an upgrade path according to the serial number information, and upgrading a version of the current device to be tested based on the upgrade path, including:
inquiring and obtaining a version upgrading path of the equipment to be tested according to the serial number information and downloading an upgrading file;
carrying out version upgrading on the current equipment to be tested according to the version upgrading path and the upgrading file configuration upgrading environment;
and waiting for the version upgrade to finish verifying the upgrade result of the current equipment to be tested.
7. The method for activating and upgrading a serial number of a device according to claim 6, wherein the querying, according to the serial number information, a version upgrade path of the device to be tested and downloading an upgrade file include:
Inputting the serial number information in the official network of the equipment to be tested, inquiring and downloading the version upgrading path and the upgrading file;
and checking the version upgrading path and the upgrading file to determine the integrity of the version upgrading path and the upgrading file.
8. An apparatus for activating and upgrading a serial number of a device, comprising:
The information acquisition module is used for acquiring information of the equipment to be tested according to a preset period based on the serial server and performing deduplication processing to obtain an equipment information table to be tested;
The judging module is used for traversing the equipment information table to be tested and judging whether the current equipment to be tested has serial number information or not;
And activating an upgrading module, which is used for determining an upgrading path according to the serial number information when the current equipment to be tested has the serial number information, and upgrading the version of the current equipment to be tested based on the upgrading path.
9. An active upgrade apparatus for an apparatus serial number, comprising a memory and a processor, wherein,
The memory is used for storing programs;
the processor, coupled to the memory, is configured to execute the program stored in the memory to implement the steps in the method for activation upgrade of a device serial number according to any one of the preceding claims 1 to 7.
10. A computer readable storage medium storing a computer readable program or instructions which, when executed by a processor, is capable of carrying out the steps of the method for activation upgrade of a device serial number according to any one of the preceding claims 1 to 7.
CN202410449931.3A 2024-04-15 2024-04-15 Activation upgrading method, device, equipment and storage medium for equipment serial numbers Pending CN118246078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410449931.3A CN118246078A (en) 2024-04-15 2024-04-15 Activation upgrading method, device, equipment and storage medium for equipment serial numbers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410449931.3A CN118246078A (en) 2024-04-15 2024-04-15 Activation upgrading method, device, equipment and storage medium for equipment serial numbers

Publications (1)

Publication Number Publication Date
CN118246078A true CN118246078A (en) 2024-06-25

Family

ID=91562293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410449931.3A Pending CN118246078A (en) 2024-04-15 2024-04-15 Activation upgrading method, device, equipment and storage medium for equipment serial numbers

Country Status (1)

Country Link
CN (1) CN118246078A (en)

Similar Documents

Publication Publication Date Title
US20130117232A1 (en) Snapshots of database models
CN103530150A (en) Remote updating method for Linux operating system
CN101556634A (en) Method and system for managing and controlling using authority of external apparatus
EP3812890A1 (en) Software update agent apparatus and patch method using same
CN111737227B (en) Data modification method and system
CN111814203B (en) Method, device and equipment for processing environmental data and storage medium
CN110063042A (en) A kind of response method and its terminal of database failure
CN112035443A (en) Big data execution method, system, equipment and storage medium based on Linux platform
CN110659210A (en) Information acquisition method and device, electronic equipment and storage medium
CN115335821A (en) Offloading statistics collection
EP2797001B1 (en) System and method for creating variants in a test database during various test stages
CN110865829A (en) Database upgrading method, system, device and storage medium
CN114968753A (en) Equipment upgrading test method, medium, electronic equipment and test system
CN118246078A (en) Activation upgrading method, device, equipment and storage medium for equipment serial numbers
CN111400128A (en) Log management method and device, computer equipment and storage medium
CN115086047B (en) Interface authentication method and device, electronic equipment and storage medium
CN108874811B (en) Data recovery and migration method and device
CN116089394A (en) Data rollback method, storage medium and device of database
CN115543377A (en) ERP system upgrading method based on artificial intelligence and ERP system
CN110795259A (en) Method and device for analyzing application collapse
CN115438026A (en) Database scanning method, device, equipment, storage medium and product
CN112686759A (en) Account checking monitoring method, device, equipment and medium
KR101737575B1 (en) Method and device for verifying data based on sql sentences generated automatically
CN103678974A (en) Remote access client terminal of chemico-mechanical polishing control system
CN113434359B (en) Data traceability system construction method and device, electronic device and readable 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