[go: up one dir, main page]

CN118349962A - Method and system for automatically activating board card - Google Patents

Method and system for automatically activating board card Download PDF

Info

Publication number
CN118349962A
CN118349962A CN202410478287.2A CN202410478287A CN118349962A CN 118349962 A CN118349962 A CN 118349962A CN 202410478287 A CN202410478287 A CN 202410478287A CN 118349962 A CN118349962 A CN 118349962A
Authority
CN
China
Prior art keywords
board card
activation
serial port
automatic
software
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
CN202410478287.2A
Other languages
Chinese (zh)
Inventor
杨乾钧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Tongchuang Audio Technology Co ltd
Original Assignee
Shenzhen Tongchuang Audio 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 Shenzhen Tongchuang Audio Technology Co ltd filed Critical Shenzhen Tongchuang Audio Technology Co ltd
Priority to CN202410478287.2A priority Critical patent/CN118349962A/en
Publication of CN118349962A publication Critical patent/CN118349962A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/108Transfer of content, software, digital rights or licenses
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/107License processing; Key processing
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Technology Law (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the technical field of board card activation and discloses a method for automatically activating a board card, which comprises the steps of establishing communication between automatic board card activation software and a board card serial port, generating an MAC address, storing the MAC address in a local file, sending an instruction to the board card by the automatic board card activation software, and waiting for the response of the board card; the automatic board card activation software starts the TFTP service and sends an instruction to require the board card to acquire a local file recorded with the MAC address; after receiving the instruction, the board card acquires a designated file from the TFTP service and transmits the designated file to the board card; continuing to send the instruction until the unique identification information of the board returned by the board is received, and communicating the automatic board activation software with the serial port of the activator to acquire further activation information; the activator provides corresponding activation information for the automatic board card activation software; and the automatic board card activation software transmits the activation information back to the board card serial port, and the activation operation is continuously executed.

Description

Method and system for automatically activating board card
Technical Field
The invention relates to the technical field of board card activation, in particular to a method and a system for automatically activating a board card.
Background
The existing board card activation mainly depends on automatic board card software for activation, and the automatic board card software relates to serial port communication, automatic operation and software integration. The main structure and principle are as follows: the software interacts with the board card by utilizing serial communication, and sends corresponding instructions to the board card according to the pre-configured instructions so as to realize activation. In addition, the software completes execution of the special instructions by invoking local software, such as clicking a button or the like. Finally, downloading and storing license files required for activation from the board card through the TFTP service started internally. The existing board card activation mode has the following defects:
Lack of flexibility: the current software needs to be pre-configured with instructions, and cannot be dynamically adjusted in real time according to the response of the board card, so that the board card may not be correctly activated under some special conditions.
More dependent on local software: some operations require invocation of local software, which increases the complexity of the software and the dependence on the particular environment, possibly leading to compatibility problems in different environments.
Manual intervention: although the software realizes the process of automatic activation, manual intervention is still needed to monitor and handle abnormal conditions, and full-automatic operation cannot be realized completely.
Restriction of board response: due to the design of the existing software, the response of the board cannot be flexibly and dynamically adjusted, which may result in that the activation process cannot be effectively completed in some complex scenes.
The hard coding of instructions in the software limits flexibility, and cannot be adjusted according to the real-time situation, so that the instructions cannot be processed correctly in some situations. Part of the operations need to be completed by calling external software, which increases the complexity of the software, increases the dependency on the environment, and limits the portability and compatibility of the software. Since software cannot fully cover all abnormal situations, manual intervention supervision and handling is required, which increases the uncertainty and time costs of the activation process. The existing software is static in processing mode of board response, and cannot be dynamically adjusted according to real-time conditions, so that the board response cannot be effectively processed in some complex scenes.
Disclosure of Invention
The invention aims to provide a method and a system for automatically activating a trap card, which aim to solve the problems in the prior art.
In a first aspect, the present application provides a method for automatically activating a board card, which uses an automatic board card activation software to activate, wherein two different serial ports are required to communicate with two different serial ports in the whole operation process of the automatic board card activation software, the two different serial ports are a board card serial port and an activator serial port, the board card serial port is inserted on the board card, the board card serial port is responsible for the operation of the board card automation, the activator serial port is inserted on a USB port, and the operation of the automatic board card activation software and the activator serial port is performed to obtain licnese information; the method comprises the following steps:
The automatic board card activation software is started to establish communication with the board card serial port, generates an MAC address, stores the MAC address in a local file, sends an instruction to the board card, and waits for the board card to respond;
The automatic board card activation software starts the TFTP service and sends an instruction to require the board card to acquire a local file recorded with the MAC address; after receiving the instruction, the board card acquires a designated file from the TFTP service and transmits the designated file to the board card;
After the automatic board card activation software acquires the MAC address, continuing to send instructions until the board card unique identification information replied by the board card is received, and communicating the automatic board card activation software with the serial port of the activator to acquire further activation information;
the activator provides corresponding activation information for the automatic board card activation software according to the received board card unique identification information;
After the automatic board card activation software acquires the activation information, the activation information is transmitted back to the board card serial port, and the activation operation is continuously executed.
Further, after the activation information is acquired by the automated board card activation software, the activation information is transmitted back to the board card serial port, and after the activation operation is continuously executed, the method further includes:
When the activation is successful, the software downloads and stores the license file generated by the board card under the designated folder through the TFTP service started internally for later use.
In a second aspect, the present application provides a system for automatically activating a board card, the system comprising automated board card activation software, a board card serial port, and an activator serial port; the system is capable of performing the following operations:
The method comprises the steps that automatic board card activation software is adopted for activation, communication is needed to be carried out between the automatic board card activation software and two different serial ports, namely a board card serial port and an activator serial port, the board card serial port is inserted on a board card and is responsible for the automatic operation of the board card, the activator serial port is inserted on a USB port, and the automatic board card activation software and the activator serial port are operated to acquire licnese information; the method comprises the following steps:
The automatic board card activation software is started to establish communication with the board card serial port, generates an MAC address, stores the MAC address in a local file, sends an instruction to the board card, and waits for the board card to respond;
The automatic board card activation software starts the TFTP service and sends an instruction to require the board card to acquire a local file recorded with the MAC address; after receiving the instruction, the board card acquires a designated file from the TFTP service and transmits the designated file to the board card;
After the automatic board card activation software acquires the MAC address, continuing to send instructions until the board card unique identification information replied by the board card is received, and communicating the automatic board card activation software with the serial port of the activator to acquire further activation information;
the activator provides corresponding activation information for the automatic board card activation software according to the received board card unique identification information;
After the automatic board card activation software acquires the activation information, the activation information is transmitted back to the board card serial port, and the activation operation is continuously executed.
Further, the system is also capable of performing the following operations: when the activation is successful, the software downloads and stores the license file generated by the board card under the designated folder through the TFTP service started internally for later use.
Compared with the prior art, the application has the following beneficial effects:
1. automated activation flow: by the technology, the whole process of activating the board card is automated, manual intervention is not needed, and the efficiency and consistency of the activating process are greatly improved.
2. Accuracy and reliability: the technology realizes dynamic instruction generation and adjustment, can flexibly adjust the operation flow according to real-time conditions, ensures the accuracy and reliability of operation, and greatly reduces the risk of activation failure.
3. Integrity of the operational flow: the technology improves the integrity of automatic operation to a new level, not only can complete the activation process, but also can acquire license information required by activation, and backs up license files after the activation is successful, so that the whole operation flow is more complete and convenient.
4. And (3) improving communication efficiency: through the communication with two different serial ports, communicate with integrated circuit board serial ports and activator serial ports respectively, can accomplish the activation process more high-efficiently, improved communication efficiency and operating speed.
Drawings
FIG. 1 is an operational interface diagram of automated board activation software provided by an embodiment of the present invention;
FIG. 2 is an operational interface diagram of another automated board card activation software provided by an embodiment of the present invention;
fig. 3 is an operation interface diagram of still another automatic board card activation software according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings are merely for convenience in describing the present invention and simplifying the description, and do not indicate or imply that the device or element being referred to must have a specific orientation, be configured and operated in a specific orientation, and therefore should not be construed as limiting the present invention.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the present invention, unless explicitly specified and limited otherwise, the terms "mounted," "connected," "secured," and the like are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the above terms in the present invention can be understood by those of ordinary skill in the art according to the specific circumstances.
In the present invention, unless expressly stated or limited otherwise, a first feature "up" or "down" a second feature may be the first and second features in direct contact, or the first and second features in indirect contact via an intervening medium. Moreover, a first feature being "above," "over" and "on" a second feature may be a first feature being directly above or obliquely above the second feature, or simply indicating that the first feature is level higher than the second feature. The first feature being "under", "below" and "beneath" the second feature may be the first feature being directly under or obliquely below the second feature, or simply indicating that the first feature is less level than the second feature.
The implementation of the present invention will be described in detail below with reference to specific embodiments.
Referring to fig. 1-3, a preferred embodiment of the present invention is provided.
In a first aspect, the present application provides a method for automatically activating a board card, which uses an automatic board card activation software to activate, wherein two different serial ports are required to communicate with two different serial ports in the whole operation process of the automatic board card activation software, the two different serial ports are a board card serial port and an activator serial port, the board card serial port is inserted on the board card, the board card serial port is responsible for the operation of the board card automation, the activator serial port is inserted on a USB port, and the operation of the automatic board card activation software and the activator serial port is performed to obtain licnese information; the method comprises the following steps:
The automatic board card activation software is started to establish communication with the board card serial port, generates an MAC address, stores the MAC address in a local file, sends an instruction to the board card, and waits for the board card to respond;
The automatic board card activation software starts the TFTP service and sends an instruction to require the board card to acquire a local file recorded with the MAC address; after receiving the instruction, the board card acquires a designated file from the TFTP service and transmits the designated file to the board card;
after the automatic board card activation software acquires the MAC address, continuing to send instructions until the board card unique identification information replied by the board card is received, and communicating with the serial port of the activator by the automatic board card activation software to acquire further activation information, such as specific instructions or configuration;
the activator provides corresponding activation information for the automatic board card activation software according to the received board card unique identification information;
After the automatic board card activation software acquires the activation information, the activation information is transmitted back to the board card serial port, and the activation operation is continuously executed.
Further, after the activation information is acquired by the automated board card activation software, the activation information is transmitted back to the board card serial port, and after the activation operation is continuously executed, the method further includes:
When the activation is successful, the software downloads and stores the license file generated by the board card under the designated folder through the TFTP service started internally for later use.
In a second aspect, the present application provides a system for automatically activating a board card, the system comprising automated board card activation software, a board card serial port, and an activator serial port; the system is capable of performing the following operations:
The method comprises the steps that automatic board card activation software is adopted for activation, communication is needed to be carried out between the automatic board card activation software and two different serial ports, namely a board card serial port and an activator serial port, the board card serial port is inserted on a board card and is responsible for the automatic operation of the board card, the activator serial port is inserted on a USB port, and the automatic board card activation software and the activator serial port are operated to acquire licnese information; the method comprises the following steps:
The automatic board card activation software is started to establish communication with the board card serial port, generates an MAC address, stores the MAC address in a local file, sends an instruction to the board card, and waits for the board card to respond;
The automatic board card activation software starts the TFTP service and sends an instruction to require the board card to acquire a local file recorded with the MAC address; after receiving the instruction, the board card acquires a designated file from the TFTP service and transmits the designated file to the board card;
After the automatic board card activation software acquires the MAC address, continuing to send instructions until the board card unique identification information replied by the board card is received, and communicating the automatic board card activation software with the serial port of the activator to acquire further activation information;
the activator provides corresponding activation information for the automatic board card activation software according to the received board card unique identification information;
After the automatic board card activation software acquires the activation information, the activation information is transmitted back to the board card serial port, and the activation operation is continuously executed.
Further, the system is also capable of performing the following operations: when the activation is successful, the software downloads and stores the license file generated by the board card under the designated folder through the TFTP service started internally for later use.
Fig. 1 is an operation interface diagram of the automatic board card activation software, and the meaning represented by the operation bits corresponding to the numbers in the diagram is as follows:
1: and opening the selected serial port.
2: An automatic burn activation process is started.
3: And acquiring the unique identification information of the board card.
4: And re-reading the serial ports available on the computer.
5: And (5) emptying the display frame.
6: Replacement/upload cap1.Bin.
7: And carrying out backup operation on the activated board card.
The specific steps are as follows: opening the serial port, and then powering on (connecting the power supply to the board card), wherein the serial port displays data (as shown in figure 2);
At this time, clicking Auto can start the automatic operation (as shown in fig. 3);
When starting after this step of operation, the activator is inserted into the computer. And then begins to operate the activator serial port.
Through the technical scheme of the application, the application has the following beneficial effects:
1. automated activation flow: by the technology, the whole process of activating the board card is automated, manual intervention is not needed, and the efficiency and consistency of the activating process are greatly improved.
2. Accuracy and reliability: the technology realizes dynamic instruction generation and adjustment, can flexibly adjust the operation flow according to real-time conditions, ensures the accuracy and reliability of operation, and greatly reduces the risk of activation failure.
3. Integrity of the operational flow: the technology improves the integrity of automatic operation to a new level, not only can complete the activation process, but also can acquire license information required by activation, and backs up license files after the activation is successful, so that the whole operation flow is more complete and convenient.
4. And (3) improving communication efficiency: through the communication with two different serial ports, communicate with integrated circuit board serial ports and activator serial ports respectively, can accomplish the activation process more high-efficiently, improved communication efficiency and operating speed.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (4)

1. The method for automatically activating the board card is characterized in that automatic board card activation software is adopted for activation, the whole operation process of the automatic board card activation software needs to be communicated with two different serial ports, namely a board card serial port and an activator serial port, the board card serial port is inserted on a board card, the board card serial port is responsible for the automatic operation of the board card, the activator serial port is inserted on a USB port, and the automatic board card activation software and the activator serial port are operated to acquire licnese information; the method comprises the following steps:
The automatic board card activation software is started to establish communication with the board card serial port, generates an MAC address, stores the MAC address in a local file, sends an instruction to the board card, and waits for the board card to respond;
The automatic board card activation software starts the TFTP service and sends an instruction to require the board card to acquire a local file recorded with the MAC address; after receiving the instruction, the board card acquires a designated file from the TFTP service and transmits the designated file to the board card;
After the automatic board card activation software acquires the MAC address, continuing to send instructions until the board card unique identification information replied by the board card is received, and communicating the automatic board card activation software with the serial port of the activator to acquire further activation information;
the activator provides corresponding activation information for the automatic board card activation software according to the received board card unique identification information;
After the automatic board card activation software acquires the activation information, the activation information is transmitted back to the board card serial port, and the activation operation is continuously executed.
2. The method for automatically activating a board card according to claim 1, wherein after the activation information is acquired by the automated board card activation software, the activation information is transmitted back to the board card serial port, and after the activation operation is continuously performed, the method further comprises:
When the activation is successful, the software downloads and stores the license file generated by the board card under the designated folder through the TFTP service started internally for later use.
3. The system for automatically activating the board card is characterized by comprising automatic board card activation software, a board card serial port and an activator serial port; the system is capable of performing the following operations:
The method comprises the steps that automatic board card activation software is adopted for activation, communication is needed to be carried out between the automatic board card activation software and two different serial ports, namely a board card serial port and an activator serial port, the board card serial port is inserted on a board card and is responsible for the automatic operation of the board card, the activator serial port is inserted on a USB port, and the automatic board card activation software and the activator serial port are operated to acquire licnese information; the method comprises the following steps:
The automatic board card activation software is started to establish communication with the board card serial port, generates an MAC address, stores the MAC address in a local file, sends an instruction to the board card, and waits for the board card to respond;
The automatic board card activation software starts the TFTP service and sends an instruction to require the board card to acquire a local file recorded with the MAC address; after receiving the instruction, the board card acquires a designated file from the TFTP service and transmits the designated file to the board card;
After the automatic board card activation software acquires the MAC address, continuing to send instructions until the board card unique identification information replied by the board card is received, and communicating the automatic board card activation software with the serial port of the activator to acquire further activation information;
the activator provides corresponding activation information for the automatic board card activation software according to the received board card unique identification information;
After the automatic board card activation software acquires the activation information, the activation information is transmitted back to the board card serial port, and the activation operation is continuously executed.
4. A system for automated activation of a board card, the system further capable of performing the operations of: when the activation is successful, the software downloads and stores the license file generated by the board card under the designated folder through the TFTP service started internally for later use.
CN202410478287.2A 2024-04-19 2024-04-19 Method and system for automatically activating board card Pending CN118349962A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410478287.2A CN118349962A (en) 2024-04-19 2024-04-19 Method and system for automatically activating board card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410478287.2A CN118349962A (en) 2024-04-19 2024-04-19 Method and system for automatically activating board card

Publications (1)

Publication Number Publication Date
CN118349962A true CN118349962A (en) 2024-07-16

Family

ID=91816462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410478287.2A Pending CN118349962A (en) 2024-04-19 2024-04-19 Method and system for automatically activating board card

Country Status (1)

Country Link
CN (1) CN118349962A (en)

Similar Documents

Publication Publication Date Title
CN109901848B (en) Equipment parameter burning method and device
EP1092311A1 (en) Telephone directory management system having wireless telephone interface capability
US6539473B1 (en) Remotely controlled boot manager
US10049066B2 (en) Universal peripheral connector
CN100428816C (en) Over-the-air mobile station management method
US20100317401A1 (en) Method, apparatus, and system for transferring data between mobile telephones and other digital devices
JP5395108B2 (en) Apparatus and method for upgrading firmware in embedded systems
CN112114746A (en) Automatic deployment method of distributed storage cluster
CN111061448A (en) Log information display method and device, electronic equipment and storage medium
CN104967646B (en) Document down loading method and device
US20030140129A1 (en) Installing communication protocol in a handheld device
JPH0215753A (en) Evaluation method and evaluation system of data transmission
CN118349962A (en) Method and system for automatically activating board card
CN113612561B (en) Method and system for starting baseband board of comprehensive tester based on ZYNQ architecture
CN114327503B (en) An automatic filling method, system and device for an operating system of a confidential computer
JP2004151888A (en) Terminal device control method
CN108803582B (en) Automatic bus switching system and method suitable for remote fault diagnosis
CN116432574B (en) Method and device for automatically reading back FLASH data by FPGA configuration controller
CN113760577B (en) Dynamic connection answering device, processing method, control device and storage medium
CN117193809B (en) Chip burning method and device and computer readable storage medium
JPH11296375A (en) How to automatically select a device driver program
CN116032815B (en) Method, system and device for testing switch, electronic equipment and storage medium
CN117528493B (en) A virtual communication method and system based on user identification module
CN111866436B (en) Method and device for upgrading accessories of video conference system
CN107256172A (en) A kind of method and device of configurating terminal

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