CN116226941A - UUID writing method, system, computer equipment and readable storage medium - Google Patents

UUID writing method, system, computer equipment and readable storage medium Download PDF

Info

Publication number
CN116226941A
CN116226941A CN202310232286.5A CN202310232286A CN116226941A CN 116226941 A CN116226941 A CN 116226941A CN 202310232286 A CN202310232286 A CN 202310232286A CN 116226941 A CN116226941 A CN 116226941A
Authority
CN
China
Prior art keywords
uuid
code
client
writing
server
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
CN202310232286.5A
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 Jingshi Technology Co ltd
Original Assignee
Shenzhen Jingshi 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 Jingshi Technology Co ltd filed Critical Shenzhen Jingshi Technology Co ltd
Priority to CN202310232286.5A priority Critical patent/CN116226941A/en
Publication of CN116226941A publication Critical patent/CN116226941A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • 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
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/06Network architectures or network communication protocols for network security for supporting key management in a packet data network
    • H04L63/062Network architectures or network communication protocols for network security for supporting key management in a packet data network for key distribution, e.g. centrally by trusted party

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the field of data transmission, and discloses a UUID writing method, a UUID writing system, computer equipment and a readable storage medium, which are applied to a client, wherein the UUID writing method comprises the following steps: when a control command for writing UUID is received, monitoring input information of a code scanning device connected with the client, and acquiring an SN code in the input information; the SN code is sent to a server, and UUIDs bound with the SN code are obtained; sending the UUID to target equipment to finish writing of the UUID; the client is respectively connected with the code scanning device, the server and the target equipment in a data mode. The UUID writing method and device have the advantages that manual input is avoided during UUID writing, accuracy is improved, the fact that different devices use the same UUID is avoided, and safety and accuracy during UUID writing are improved.

Description

UUID writing method, system, computer equipment and readable storage medium
Technical Field
The present invention relates to the field of data transmission, and in particular, to a UUID writing method, a UUID writing system, a computer device, and a readable storage medium.
Background
UUIDs (Universally Unique Identifier, universal unique identification codes) are unique parameters obtained through algorithms, and are unique identifiers used for networking hardware devices, and general companies need to purchase from service providers such as ali cloud, tencent cloud and the like, so that each UUID is very precious.
In the development and production process, the company can upload the UUID to the server for storage, and the UUID is written into the equipment in the equipment production process. The server providing UUID is typically issued to the client company in Excel save UUID, and the server uploaded to the own company needs to assist the uploading with additional developed software.
If the equipment fails after writing the UUID, a part is removed for reworking and maintenance, the test flow is carried out once again, the UUID can be obtained from the server again in the process, the UUID is wasted very much, in the process of packaging transactions for locking, the storage process is written on the database, after the project is online, if maintenance and update are needed later, the maintenance is dangerous and inconvenient, because the data and the performance of the database can be influenced once the storage process is written wrong, and the server service can be stopped under the safety condition to modify the storage process.
Disclosure of Invention
In a first aspect, the present application provides a UUID writing method, applied to a client, including:
when a control command for writing UUID is received, monitoring input information of a code scanning device connected with the client, and acquiring an SN code in the input information;
the SN code is sent to a server, and UUIDs bound with the SN code are obtained;
sending the UUID to target equipment to finish writing of the UUID;
the client is respectively connected with the code scanning device, the server and the target equipment in a data mode.
Further, before the SN code is sent to the server, the method further includes:
acquiring a key input by a user, wherein the key is used for binding a group of UUIDs so as to limit the use quantity of the UUIDs;
and after the UUID is written, controlling to stop monitoring the code scanning device.
Further, when receiving the control command for writing the UUID, the method further includes:
determining whether the UUID of the target equipment is empty or not, if not, prompting that the target equipment is not empty, and performing reconfirmation of the UUID writing;
and if the control command written in the UUID is still executed when the control command is confirmed again, continuing the operation of the monitored input information of the code scanning device.
Further, after the obtained UUID is sent to the target device, the method further includes:
and determining whether the target equipment feeds back the writing result within a preset time, if the target equipment does not feed back the writing result within the preset time, prompting that UUIDs cannot be written normally, stopping the sending operation, and sending information of the UUIDs which fail to be written to the server.
In a second aspect, the present application further provides a UUID writing method, applied to a server, including:
when an SN code from a client is received, acquiring a corresponding UUID according to the SN code, sending the UUID to the client, and marking the UUID as used; the client acquires the SN code through a code scanning device;
the server is in data connection with the client, and the client is also in data connection with the code scanning device.
Further, when the server receives the new UUID, the method further includes:
generating an SN code corresponding to the UUID, binding and storing the UUID and the SN code in a one-to-one correspondence manner, and finishing the update of the UUID;
when a bar code generation command is received, the SN codes corresponding to the selected UUIDs are sent to a bar code generator, and after the bar code generator generates the bar code, the bar code is arranged on the corresponding target equipment.
Further, when receiving the new UUID, the method further includes:
determining the group of the UUIDs, and storing the UUIDs and the keys of the corresponding groups in a binding manner;
when receiving the SN code from the client, the method further includes:
receiving a key from the client;
the obtaining the corresponding UUID includes:
and inquiring a corresponding group through the key, and inquiring a corresponding UUID in the group through the SN code.
In a third aspect, the present application further provides a UUID writing system, including: a client and a server;
the client is used for monitoring input information of a code scanning device connected with the client when receiving a control command for writing UUID, and acquiring an SN code in the input information;
the client is also used for sending the SN code to a server and acquiring a UUID bound with the SN code;
the server is used for acquiring a corresponding UUID according to the SN code when the SN code from the client is received, sending the UUID to the client, and marking the UUID as used;
the client is used for sending the UUID to target equipment so as to complete writing of the UUID;
the client is respectively connected with the code scanning device, the server and the target equipment in a data mode.
In a fourth aspect, the present application further provides a computer device, including a processor and a memory, where the memory stores a computer program, and the computer program performs the UUID writing method when running on the processor.
In a fifth aspect, the present application also provides a readable storage medium storing a computer program which, when run on a processor, performs the UUID writing method.
The invention discloses a UUID writing method applied to a client, which comprises the following steps: when a control command for writing UUID is received, monitoring input information of a code scanning device connected with the client, and acquiring an SN code in the input information; the SN code is sent to a server, and UUIDs bound with the SN code are obtained; and sending the UUID to target equipment to finish writing of the UUID. The UUID writing method and device have the advantages that manual input is avoided during UUID writing, accuracy is improved, the fact that different devices use the same UUID is avoided, and safety and accuracy during UUID writing are improved. The error probability of repeatedly burning the same UUID due to different devices is reduced, and the production efficiency and the development efficiency of the development environment are ensured.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are required for the embodiments will be briefly described, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope of the present invention. Like elements are numbered alike in the various figures.
Fig. 1 shows a flow chart of a UUID writing method according to an embodiment of the present application;
fig. 2 shows a UUID writing scenario diagram according to an embodiment of the present application;
FIG. 3 shows a schematic diagram of a bar code generation flow in an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
The terms "comprises," "comprising," "including," or any other variation thereof, are intended to cover a specific feature, number, step, operation, element, component, or combination of the foregoing, which may be used in various embodiments of the present invention, and are not intended to first exclude the presence of or increase the likelihood of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the invention belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having a meaning that is the same as the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in connection with the various embodiments of the invention.
The technical scheme of the method is applied to writing the UUID into the target equipment, the UUID and the SN code are bound and stored, the bar code of the SN code is generated, the SN code is read in a way that the bar code is scanned by the code scanning device, and then the corresponding UUID is obtained in the server according to the SN code, so that the UUID is not manually input by a developer but is directly inquired and input from a database, and the accuracy of UUID input is ensured. Meanwhile, the problem of difficult reworking when the UUID of the equipment fails to burn can be further solved. The maintenance difficulty of the server database is reduced.
The technical scheme of the application is described in the following specific embodiments.
Example 1
As shown in fig. 1, the UUID writing method of the present embodiment includes the steps of:
and step S100, when a control command for writing UUID is received, monitoring input information of a code scanning device connected with the client, and acquiring an SN code in the input information.
The UUID writing scenario of this embodiment is shown in fig. 2, and includes a client 100, a server 200, a code scanning apparatus 300, and a target device 400. The client 100 is connected with the server 200, the code scanning device 300 and the target device 400 respectively, and the connection mode can be wired connection through a data line or wireless network or Bluetooth connection. For example, the client 100 and the server 200 may be connected through a network cable, or may be connected through a wireless network, and the code scanning device 300 may be connected to the client 100 through a data line, or may be connected to the client 100 through wireless bluetooth. The target device 400 may be connected to the client 100 through a serial port.
The client 100 is a computer device used when a developer develops, in this embodiment, the server 200 is a server for storing code and data parameters in a development environment, in this embodiment, the server 200 is used for storing the UUID, and sending the corresponding UUID to the client 100 according to an interaction instruction of the client 100. The code scanning device 300 is a device for scanning and decoding bar codes, such as a code scanning gun, which can be connected to the client 100 and read bar code information. The target device 400 is a device for development in a development environment, and in particular, what device is different according to different development tasks, which can be understood as a simple single-chip microcomputer board, and the network connection and the online can be realized only after a special UUID is written. Each target device 400 has a bar code, where the bar code is SN (Serial Number), and UUID correspond to each other.
All UUIDs are stored in the presence server 200 in a format that one UUID and one SN code are associated and stored in a one-to-one correspondence, and the SN code may be the same as the UUID, or may be a custom rule, and different SN codes are generated. In addition, in an actual development environment, writing of UUIDs to devices of different clients exists, and the device yield of each client is different, so that UUIDs also need to be subjected to corresponding limitation operations, and therefore UUIDs can be divided into different groups according to clients. To limit the number of UUIDs used by different clients. Each group can be distinguished by the group numbers 1, 2, 3 and 4, or can be distinguished by keywords such as group1 and group2, and then the characters used for distinguishing are encrypted to obtain the key. It will be appreciated that one key corresponds to a plurality of UUIDs, thereby grouping UUIDs and limiting the number of uses. For example, if a client needs to produce 1000 devices, only 1000 UUIDs are needed correspondingly, a special group number "group1" is set for the client, and the client is encrypted by encryption methods such as base64 or aes to obtain a key. Then 1000 UUIDs are allocated to bind "group1" with the 1000 UUIDs under the "group1" group. In this way, when distributing UUIDs for the client's devices, it may be restricted to seek UUIDs in the group. When the problems of insufficient UUID allocation quantity and the like occur, the occurrence reason of the problems can be determined by searching in the group, so that the waste of UUIDs is avoided.
Meanwhile, the encrypted secret key is difficult to identify, and the content of the secret key can be known only after decryption, so that UUIDs among different groups can be effectively prevented from being mixed, and the purity of the UUIDs in different client devices is ensured.
The client 100 performs a UUID writing operation only when receiving a control command input by a user and writing a UUID, and when receiving the control command, the client 100 starts to monitor input information of the code scanning device 300, the code scanning device 300 is used for scanning a bar code, and then information obtained by scanning the code, i.e. an SN code, is input into an SN code frame in the client 100.
It will be understood that, in order to write the UUID, a special control interface is set for this operation, and a developer performs various control operations on the control interface, where the control command for writing the UUID is input through the control interface, a special SN code input box is set in the control interface, and when the code scanning device 300 scans the code, the read SN code is input into the box.
In addition, when receiving a control command for writing the UUID, the method further includes:
and determining whether the UUID of the target equipment is empty, if not, prompting the equipment not to be empty, and performing secondary determination of the UUID writing.
When a developer performs a writing operation of the UUID, the client may determine whether the UUID exists in the connected target device, by sending an inquiry packet to the target device, and then, the target device replies to determine whether the UUID of the target device is empty, if so, normal writing is enabled, if not, the device has written the UUID, or, if so, an error occurs in the device, and the empty UUID is determined to be non-empty, so that the developer is required to perform a second determination as to whether to perform a subsequent writing.
And if the control command for writing the UUID is determined to be executed for the second time, continuing the writing operation of the UUID. The subsequent step S200 is performed.
The bar code is generated by special bar code equipment, UUID and SN codes are stored in a server, each time new equipment is produced, a bar code is generated for the equipment pairing, the server sends the corresponding SN code to the bar code equipment to obtain the corresponding SN bar code, and the SN bar code is arranged on the produced target equipment.
Step 200, the SN code is sent to a server, and a UUID bound to the SN code is obtained.
After the client 100 monitors the SN code sent by the code scanning device after scanning the code, it will group the SN code into a data request packet, and send the data request packet to the server 200 to obtain the UUID bound to the SN code.
After the SN code is obtained, the key and the SN code may be input to be packaged together to the server to obtain the corresponding UUID.
Step S300, when an SN code from a client is received, a corresponding UUID is obtained according to the SN code, the UUID is sent to the client, and the UUID is marked as used.
After receiving the SN code sent from the client, the server 200 searches the database with UUID through the SN code to find the corresponding UUID. After finding the UUID, the UUID is sent to the client and is handed to the client to be written into the target device.
The client side can send the secret key besides the SN code, and when the secret key is received, the server decrypts the secret key, because one secret key corresponds to a group of UUIDs, the corresponding UUID group is positioned according to the secret key, the retrieval time can be greatly shortened, and after the group of UUIDs is determined through the secret key, the UUIDs are obtained through the SN code.
After sending the UUID, it indicates that the UUID will be written into the target device, and the UUID is unique to each device, so the server will also mark the sent UUID, which indicates that the UUID has been used, and cannot be read twice.
Step S400, sending the UUID to the target device, so as to complete writing of the UUID.
After receiving the UUID from the server, the client sends the UUID to the device and executes the write command.
After the device receives the UUID to write, the corresponding writing state, for example, writing success and writing failure, is fed back to the client, and if the writing success is fed back, the writing process of the whole UUID is finished, and the client stops monitoring the code scanning device. If the feedback is overtime or the feedback writing fails, the UUID writing device is indicated to have a problem, and the UUID may not be written into the target device, and the client side writes the UUID back into the server.
Because the server marks the UUID as used when sending the UUID, and the UUID is not used when the UUID fails to be written, the client needs to tell the server about the failure of the writing. Therefore, when the writing fails, the client side can transmit the UUID back to the server, the server inquires the UUID stored locally in the server after receiving the UUID transmitted by the client side, and the state of the UUID is modified to be unused, so that a developer can reuse the UUID. According to specific use conditions, the UUID can be written into the target device which fails to be written, or can be written into new device. Therefore, when the UUID fails to be written into the target equipment, the client can inform the server of the actual situation so as to avoid the UUID from being wasted, reuse the UUID which fails to be written into, and even if the feedback error of the target equipment is caused, the UUID can be quickly rewritten into the target equipment again.
According to the UUID writing method, the UUIDs corresponding to the target devices one by one are obtained from the server through scanning the bar codes, so that the condition that the UUIDs are considered to be input in the whole UUID writing process is greatly reduced, and the accuracy of the UUIDs when being written is improved. And the used UUIDs are marked in the server, so that the UUIDs cannot be simultaneously applied to different devices, and complicated maintenance scheduling procedures can be avoided when writing fails. The convenience of UUID writing in equipment is greatly improved, and the difficulty of maintaining a server database is reduced.
Example 2
As shown in fig. 3, the present application further provides a method for generating a barcode, including the following steps:
and S500, when a new UUID is received, generating a corresponding SN code, and binding and storing the UUID and the SN code in a one-to-one correspondence manner.
The UUID needs to be updated, and it will be understood that when a new device needs to be produced, a new UUID needs to be generated, and the UUID is stored and managed by the server. These UUIDs may be stored by creating a database in the server.
When a new UUID is stored in the server, an SN code corresponding to the UUID is generated correspondingly, and it can be understood that one keyword in a data line storing one UUID is an SN code, and the SN code is unique and can be generated automatically according to a preset algorithm or can be completely the same as the UUID. Meanwhile, UUIDs are in one-to-one correspondence with each device, and in an actual production environment, UUIDs of a plurality of clients are stored in a server, so that for the newly input UUIDs, the groups of the UUIDs need to be determined, UUIDs belonging to the same group are classified into the same group for storage, and a corresponding secret key is set for each group. The generation of the key is described in step 100 of example 1, and is not described here.
In addition, each UUID has a status code for recording whether the UUID is used, i.e. when the UUID is sent from the server to the client, the UUID is marked as mentioned in step S300 of embodiment 1, and the marking is performed by the status code.
And step S600, when a bar code generation command is received, the SN code corresponding to the UUID to be generated is sent to a bar code generator, and the bar code is generated by the bar code generator.
As described in embodiment 1, the server stores a plurality of UUIDs, and when the UUIDs are actually written, the barcode is scanned by the barcode scanning device to read the SN codes, and then the UUIDs are obtained from the server to perform writing operation, so that the barcode also needs to be generated, and the SN codes and the UUIDs are managed by the server, so that the server also needs to participate in operation when the barcode is generated.
When receiving the instruction of generating the bar code, the server sends the SN code corresponding to the selected UUID to the bar code generator, and after the bar code generator obtains the SN codes, the bar codes are printed out and can be produced with equipment, and because one equipment needs a unique UUID, each bar code cannot be repeatedly generated, the generated bar code is arranged on the target equipment, and the binding of the bar code and the target equipment is completed.
The placement mode may be a mode of pasting or directly printing on the machine body of the device, etc., and the specific placement mode depends on the actual production situation, and the embodiment is not limited to this.
The UUID is stored by the server, the bar codes are generated, a code scanning basis is provided for the subsequent writing of the UUID, the subsequent writing of the UUID can be completed only by carrying out code scanning operation, each bar code is arranged on the target equipment and physically bound with the target equipment, the condition that the same UUID is written into a plurality of target equipment is avoided to a great extent, and the safety of UUID writing is improved.
The application also provides a computer device comprising a processor and a memory, the memory storing a computer program which, when run on the processor, performs the UUID writing method.
The present application also provides a readable storage medium storing a computer program which when run on a processor performs the UUID writing method.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners as well. The apparatus embodiments described above are merely illustrative, for example, of the flow diagrams and block diagrams in the figures, which illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules or units in various embodiments of the invention may be integrated together to form a single part, or the modules may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a smart phone, a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention.

Claims (10)

1. The UUID writing method is characterized by being applied to a client and comprising the following steps of:
when a control command for writing UUID is received, monitoring input information of a code scanning device connected with the client, and acquiring an SN code in the input information;
the SN code is sent to a server, and UUIDs bound with the SN code are obtained;
sending the UUID to target equipment to finish writing of the UUID;
the client is respectively connected with the code scanning device, the server and the target equipment in a data mode.
2. The UUID writing method according to claim 1, wherein before the SN code is sent to the server, further comprising:
acquiring a key input by a user, wherein the key is used for binding a group of UUIDs so as to limit the use quantity of the UUIDs;
and after the UUID is written, controlling to stop monitoring the code scanning device.
3. The UUID writing method according to claim 1, wherein when the control command for writing the UUID is received, further comprising:
judging whether the UUID of the target equipment is empty or not, if not, prompting that the UUID of the target equipment is not empty, and performing reconfirmation of the UUID writing;
and when the control command written in the UUID is confirmed again, continuing the operation of the monitored input information of the code scanning device.
4. The UUID writing method according to claim 1, wherein after the UUID is sent to the target device, further comprising:
and determining whether the target equipment feeds back the writing result within a preset time, if the target equipment does not feed back the writing result within the preset time, prompting that UUIDs cannot be written normally, stopping the sending operation, and sending information of the UUIDs which fail to be written to the server.
5. The UUID writing method is characterized by being applied to a server and comprising the following steps of:
when an SN code from a client is received, acquiring a corresponding UUID according to the SN code, sending the UUID to the client, and marking the UUID as used; the client acquires the SN code through a code scanning device;
the server is in data connection with the client, and the client is also in data connection with the code scanning device.
6. The UUID writing method according to claim 5, further comprising, when the server receives a new UUID:
generating an SN code corresponding to the UUID, binding and storing the UUID and the SN code in a one-to-one correspondence manner, and finishing the update of the UUID;
when a bar code generation command is received, the SN codes corresponding to the selected UUIDs are sent to a bar code generator, and after the bar code generator generates the bar code, the bar code is arranged on the corresponding target equipment.
7. The UUID writing method according to claim 6, wherein when a new UUID is received, further comprising:
determining the group of the UUIDs, and storing the UUIDs and the keys of the corresponding groups in a binding manner;
when receiving the SN code from the client, the method further includes:
receiving a key from the client;
the obtaining the corresponding UUID includes:
and inquiring a corresponding group through the key, and inquiring a corresponding UUID in the group through the SN code.
8. A UUID writing system comprising: a client and a server;
the client is used for monitoring input information of a code scanning device connected with the client when receiving a control command for writing UUID, and acquiring an SN code in the input information;
the client is also used for sending the SN code to a server and acquiring a UUID bound with the SN code;
the server is used for acquiring a corresponding UUID according to the SN code when the SN code from the client is received, sending the UUID to the client, and marking the UUID as used;
the client is used for sending the UUID to target equipment so as to complete writing of the UUID;
the client is respectively connected with the code scanning device, the server and the target equipment in a data mode.
9. A computer device comprising a processor and a memory, the memory storing a computer program that, when run on the processor, performs the UUID writing method of any of claims 1 to 7.
10. A readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the UUID writing method of any of claims 1 to 7.
CN202310232286.5A 2023-03-01 2023-03-01 UUID writing method, system, computer equipment and readable storage medium Pending CN116226941A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310232286.5A CN116226941A (en) 2023-03-01 2023-03-01 UUID writing method, system, computer equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310232286.5A CN116226941A (en) 2023-03-01 2023-03-01 UUID writing method, system, computer equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN116226941A true CN116226941A (en) 2023-06-06

Family

ID=86587185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310232286.5A Pending CN116226941A (en) 2023-03-01 2023-03-01 UUID writing method, system, computer equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN116226941A (en)

Similar Documents

Publication Publication Date Title
CN111543031B (en) Method and control system for controlling and/or monitoring a device
US20100070764A1 (en) Transfer data management system for internet backup
CN111680330A (en) Traceability system and traceability method based on block chain data exchange
CN107534855A (en) The authority of remote control targeted security element and the method for right
US20180052683A1 (en) System design supporting device, system design supporting method, and system design supporting program
CN110119390B (en) Financial information outsourcing management system based on block chain
CN111492355B (en) Method and control system for controlling and/or monitoring a device
US11734395B2 (en) Systems, devices and methods for protecting 3D rendered designs
CN105391705A (en) Method of carrying out authentication on application service and device
CN115129332A (en) Firmware burning method, computer equipment and readable storage medium
CN114390044A (en) File uploading method, system, device and storage medium
CN116226941A (en) UUID writing method, system, computer equipment and readable storage medium
CN103119559A (en) Information generation system and method therefor
US7698003B2 (en) System for generating standard operating procedure(SOP) files
CN111835504B (en) Identification code generation method and server
CN115242778B (en) File transmission method and device, electronic equipment and readable storage medium
KR20160050021A (en) Control apparatus for use in distributed control system
US20170212821A1 (en) Communication setting notification apparatus
CN115968541A (en) Method, apparatus and system for data exchange between distributed database system and devices
JP5230710B2 (en) Image forming system
CN117453257B (en) Upgrading method based on hierarchical management, terminal equipment and readable storage medium
CN111224925A (en) Control method and device of Internet of things equipment, Internet of things equipment and storage medium
CN113869998B (en) Financial certificate automatic generation method and device, electronic equipment and readable storage medium
CN113010123B (en) Equipment monitoring method, device and server
JP7379531B2 (en) Industrial equipment management system

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