CN114462104A - Method and device for confirming customer SN (service number) and computer readable storage medium - Google Patents

Method and device for confirming customer SN (service number) and computer readable storage medium Download PDF

Info

Publication number
CN114462104A
CN114462104A CN202111666572.XA CN202111666572A CN114462104A CN 114462104 A CN114462104 A CN 114462104A CN 202111666572 A CN202111666572 A CN 202111666572A CN 114462104 A CN114462104 A CN 114462104A
Authority
CN
China
Prior art keywords
customer
target
bit
refurbished
manufacturer
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.)
Granted
Application number
CN202111666572.XA
Other languages
Chinese (zh)
Other versions
CN114462104B (en
Inventor
李保利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111666572.XA priority Critical patent/CN114462104B/en
Publication of CN114462104A publication Critical patent/CN114462104A/en
Application granted granted Critical
Publication of CN114462104B publication Critical patent/CN114462104B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application discloses a method and a device for confirming customer SN and a computer readable storage medium, wherein the manufacturer SN of a machine needing to be renovated is obtained, then the customer SN corresponding to the manufacturer SM is obtained, whether the machine can be renovated is judged through the customer SN, if yes, the number of a first preset position of the customer SN is replaced, a number of a second preset position of the customer SN is generated and replaces the number of the customer SN with one number, the numbers of the other positions are reserved, and the new customer SN is generated by combining the number of the new first preset position and the number of the new second preset position. Therefore, the method can replace the number of the first preset bit of the customer SN by judging whether the machine can be replaced, and if so, the number of the second preset bit of the customer SN is replaced by the number of the first preset bit of the customer SN, so that different manufacturers SN use a common refurbishment rule, the refurbishment rule is simpler, and the product efficiency is improved.

Description

Method and device for confirming customer SN (service number) and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for confirming a customer SN, and a computer-readable storage medium.
Background
With the rapid development of computers, the requirements of people on machines are not strict, and from the previous strict requirements on the machines to the present guarantee that the machines are smooth, and the appearance is flawless. However, in the existing renovation operation, the requirement of renovation is transmitted to a manufacturer by a customer, the original information of the old machine is collected and generated on the basis of the original information according to a renovation rule, and the process is that an engineer manually generates renovation information.
The Serial Number (SN) of the manufacturer of the retreading machine is discontinuous, so the retreading rule is complicated and changeable, and the process of confirming the new SN is complicated and is easy to make mistakes.
In view of the above technical problems, the search for a simple refurbishment rule is a problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a method and a device for confirming a customer SN and a computer-readable storage medium.
In order to solve the above technical problem, the present application provides a method for confirming a customer SN, including:
acquiring a target manufacturer SN of a machine to be refurbished;
acquiring a target customer SN corresponding to the target manufacturer SN according to the corresponding relation between the manufacturer SN and the customer SN;
judging whether the machine can be refurbished or not according to the target customer SN;
if so, replacing the number of the first preset bit of the target customer SN, and generating a number to replace the number of the second preset bit of the target customer SN;
and reserving the numbers of the rest bits, and combining the new number of the first preset bit and the new number of the second preset bit to generate a new target customer SN.
Preferably, the first preset bit is an eighth bit, and the replacing the number of the first preset bit of the target customer SN includes:
if the number of the eighth bit is 0, updating the number of the eighth bit to 7;
if the number of the eighth bit is 7, updating the number of the eighth bit to 8;
if the number of the eighth bit is 8, the number of the eighth bit is updated to 9.
Preferably, the determining whether the machine can be refurbished according to the target customer SN includes:
-acquiring the number of said eighth bit of said customer SN;
if the number of the eighth bit is equal to 9, the refurbishment is not possible.
Preferably, after the remaining digits are retained, and a new target customer SN is generated by combining the new digit of the first preset digit and the new digit of the second preset digit, the method further includes:
judging whether the target customer SN is completely refurbished or not according to the target manufacturer SN;
if yes, outputting a complete renovation prompt message;
and if not, returning to the step of obtaining the target customer SN corresponding to the target manufacturer SN according to the corresponding relation between the manufacturer SN and the customer SN.
Preferably, the determining whether the customer SN is refurbished according to the vendor SN comprises:
acquiring the number of the machines to be refurbished according to the target manufacturer SN;
acquiring the number of the completely renovated target customers SN;
if the number of the machines is consistent with that of the target customer SN, the renovation is complete;
if the number of the machines is larger than that of the target customer SN, the renovation is not complete.
Preferably, after outputting the complete prompting message, the method further comprises:
and outputting the completely refurbished target customer SN to a screen so as to tidy the completely refurbished target customer SN, and sending the completely refurbished target customer SN to a manufacturer for production.
Preferably, after the outputting the customer SN with complete refurbishment to the screen, the method further comprises:
compressing the target customer SN which is completely refurbished;
and encrypting the compressed target client SN.
In order to solve the above technical problem, the present application further provides a confirmation apparatus for a customer SN, including
The system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a target manufacturer SN of a machine needing to be refurbished;
the second acquisition module is used for acquiring a target customer SN corresponding to the target manufacturer SNM according to the corresponding relation between the manufacturer SN and the customer SN;
the judging module is used for judging whether the machine can be renovated or not according to the target customer SN, and if so, the replacing module is triggered;
the replacing module is used for replacing the digit of the eighth first preset bit of the customer SN and generating a digit to replace the digit of the last second preset bit of the customer SN;
and the generating module is used for reserving the numbers of the rest bits and combining the new number of the first preset bit and the new number of the second preset bit to generate a new customer SN.
In order to solve the above technical problem, the present application further provides a confirmation apparatus for a client SN, including a memory for storing a computer program;
a processor for implementing the steps of the method for acknowledging a customer SN as described above when executing said computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the method for confirming the client SN as described above.
The customer SN confirmation method provided by the application acquires a manufacturer SN of a machine needing to be renovated, acquires a customer SN corresponding to the manufacturer SM, judges whether the machine can be renovated or not through the customer SN, if so, replaces the number of a first preset position of the customer SN, generates a number replacing the number of a second preset position of the customer SN by one number, retains the numbers of other positions, and generates a new customer SN by combining the new number of the first preset position and the new number of the second preset position. Therefore, the method can be used for replacing the first preset digit of the customer SN by the digit of the first preset digit of the customer SN through judging whether the machine can be renovated or not, and if the machine can be renovated, the digit of the first preset digit of the customer SN is replaced by the digit of the second preset digit of the customer SN, so that different manufacturers SN use a common renovating rule, the renovating rule is simpler, and the product efficiency is improved.
On the basis, the application also provides a confirmation device and a computer storage medium of the client SN, and the effects are the same.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a flowchart of a method for confirming a client SN according to an embodiment of the present disclosure;
fig. 2 is a flowchart of another method for confirming a client SN according to an embodiment of the present disclosure;
fig. 3 is a structural diagram of a confirmation device of a client SN according to an embodiment of the present application;
fig. 4 is a block diagram of a confirmation apparatus of a client SN according to another embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a method and a device for confirming a customer SN and a computer readable storage medium.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
Fig. 1 is a flowchart of a method for confirming a client SN according to an embodiment of the present application, where as shown in the figure, the method for confirming a client SN includes the following steps:
s10: a target manufacturer SN of the machine that needs to be refurbished is obtained.
S11: and acquiring the target customer SN corresponding to the target manufacturer SN according to the corresponding relation between the manufacturer SN and the customer SN.
S12: and judging whether the machine can be refurbished or not according to the target customer SN.
S13: replacing the number of the first preset bit of the target customer SN and generating
It can be understood that, with the rapid development of computers, the requirements of people on machines are not so strict, from the strict requirements on the machines in the past to the guarantee of smoothness of the machines at present, and the appearance of the machines is not defective. However, in the existing renovation operation, the requirement of renovation is transmitted to a manufacturer by a customer, the original information of the old machine is collected and generated on the basis of the original information according to a renovation rule, and the process is that an engineer manually generates renovation information. The SN of the manufacturer of the retreading machine is discontinuous, so that the retreading rule is more complex and changeable, and the process of confirming the new SN is more complex and is easy to make mistakes. A method for the validation of the customer SN is therefore proposed.
And step S10, obtaining the target manufacturer SN of the machine to be refurbished, wherein the manufacturer SN is the product serial number, and the product serial number is a unique code for defining each product produced by the enterprise. This code may be automatically generated according to predefined coding rules; it may also be created manually. The method mainly has the advantages of controlling the production process of the product, managing the production quality, tracking the material inventory, serving the product after sale, controlling the copyright and the like. The bar code label is used for printing the serial number, and the serial number is combined with an actual product, so that various functions of an enterprise on the product can be realized. Acquiring the target manufacturer SN of the machine to be refurbished means that the user inputs the manufacturer SN into a computer.
Further, in step S11, a target customer SN corresponding to the target vendor SN is acquired from the correspondence relationship between the vendor SN and the customer SN, and in step S10, the user inputs the target vendor SN into a corresponding window, and automatically searches the customer SN corresponding to the vendor SN, which is the information number of the customer, from the database. In step S12, it is determined whether the machine can be refurbished according to the target customer SN, and how to determine whether the machine can be refurbished is not limited in this embodiment, but only it is ensured that it can be determined whether the current machine can be refurbished. If the update is possible, the process proceeds to step S13, and in step S13, the number of the first preset digit of the target customer SN is replaced, and a number of the second preset digit of the target customer SN is generated to replace the number. The specific position of the first preset bit is not limited in this embodiment, but as a preferred embodiment, the specific position of the second preset bit is the last bit of the customer SN. On the basis, a digit is generated to replace a digit of a second preset digit, and how to generate the digit is not limited, and only the difference from the previous digit is ensured.
In step S14, the numbers of the remaining bits are retained, and a new target customer SN is generated by combining the new numbers of the first preset bit and the second preset bit, that is, only the numbers of the first preset bit and the second preset bit are replaced, and the numbers of the other positions are not changed. In addition, in the embodiment, the processing target customer SN processes one batch at a time instead of processing one batch at a time, so that the quality and the efficiency of the product are improved.
In the method for confirming the customer SN provided by this embodiment, a manufacturer SN of a machine to be refurbished is obtained, then a customer SN corresponding to the manufacturer SM is obtained, and whether the machine can be refurbished is judged through the customer SN, if yes, a number of a first preset bit of the customer SN is replaced, a number replacing a number of a second preset bit of the customer SN is generated, numbers of the rest bits are retained, and a new customer SN is generated by combining the new number of the first preset bit and the new number of the second preset bit. Therefore, the method can be used for replacing the first preset digit of the customer SN by the digit of the first preset digit of the customer SN through judging whether the machine can be renovated or not, and if the machine can be renovated, the digit of the first preset digit of the customer SN is replaced by the digit of the second preset digit of the customer SN, so that different manufacturers SN use a common renovating rule, the renovating rule is simpler, and the product efficiency is improved.
On the basis of the above embodiment, a description is given to a manner of replacing the number of the first preset bit of the target client SN, and a specific manner of replacing the number of the first preset bit of the target client SN is as follows:
the first predetermined bit is an eighth bit, and if the number of the eighth bit is 0, the number of the eighth bit is updated to 7, if the number of the eighth bit is 7, the number of the eighth bit is updated to 8, and if the number of the eighth bit is 8, the number of the eighth bit is updated to 9. It can be seen that this embodiment has the eighth bit in the target customer SN as the first preset bit and the new number is selected according to the number of the eighth bit, it is worth noting that if the eighth bit number is 0, this machine is refurbished for the first time, so the eighth bit number is updated to 7, and 7 represents refurbished once, when the eighth bit number is 7, this refurbishment is certified as a second refurbishment, 7 is replaced by 8, certified as a refurbishment twice, when the eighth bit number is 8, this refurbishment is certified as a third refurbishment, 8 is replaced by 9, 9 represents refurbished three times, when the eighth bit number is 9, it is certified that the current machine has been refurbished three times. It is noted that setting the first preset bit to the eighth bit is only a preferred embodiment, and the meaning of the number representation of the eighth bit is also a preferred embodiment, and therefore the number of the first preset bit of the replacement guest client SN is not limited to this way.
The mode that this embodiment provided, the figure of the first preset bit of change target customer SN is through setting up the eighth to first preset bit to according to the concrete numerical value of eighth, change the figure of new eighth, can clearly see out current renovate the number of times, make renovate the information more clear and definite, also made things convenient for subsequent renovate work, improved work efficiency.
As a preferred embodiment, how to judge whether or not the machine is capable of being refurbished according to the target customer SN is described, and the way to judge whether or not the machine is capable of being refurbished according to the target customer SN is specifically as follows:
the number of said eighth bit of the customer SN is obtained and cannot be renewed if the number of the eighth bit equals 9. It is mentioned in the above embodiment that if the number of the eighth bit is 9, it is proved that the current machine has been refurbished three times, and the maximum number of refurbishments of one machine is three times, so that if the number of the eighth bit is 9, it is proved that the current machine cannot be refurbished.
The description of judging whether the machine can be refurbished or not according to the target customer SN provided by the embodiment is that the machine cannot be refurbished by acquiring the number of the eighth bit of the customer SN, if the number of the eighth bit is equal to 9, the machine can not be refurbished, the maximum refurbishment times of the machine is 3, the refurbishment times of the current machine can be obtained by judging the number of the eighth bit, the difficulty of judging whether the machine can be refurbished or not is reduced, and the work efficiency of updating refurbishment information is improved.
In a specific embodiment, when generating a new target customer SN, processing may be missed, that is, if there are 100 target customer SNs and only 90 target customer SNs are processed, in consideration of this situation, another method for confirming a customer SN is proposed, and fig. 2 is a flowchart of another method for confirming a customer SN provided in this embodiment of the present application, as shown in fig. 2, and on the basis of step S14, the method further includes:
s15: and judging whether the target customer SN is completely refurbished or not according to the target manufacturer SN, if so, entering the step S16, otherwise, returning to the step S11.
S16: and outputting the complete renovation prompt information.
It will be appreciated that when generating a new target customer SN, processing misses may occur, specifically: there are 100 target customers SN, but only 90 target customers SN are processed, so another method for confirming the customer SN is proposed, as in step S15, to judge whether the target customer SN is completely refurbished according to the target vendor SN.
In addition, as for the step S16, the prompt information of the complete renovation is output, but the present embodiment does not limit the prompt information, and how to output the prompt information is not limited, and it is only necessary to make the current person know after the complete renovation.
The method and the device for judging whether the customer SN is completely renewed or not after the new customer SN is generated avoid the condition of missed processing, ensure the working efficiency, improve the working accuracy and ensure that the target customer SN of one batch is completely processed at one time.
On the basis of the above embodiment, a description is given of a manner of determining whether the customer SN is completely refurbished, and the manner of determining whether the customer SN is completely refurbished is specifically as follows:
and acquiring the number of machines to be renovated according to the target manufacturer SN, acquiring the number of completely renovated target customers SN, if the number of the machines is consistent with that of the completely renovated target customers SN, completely renovating, and if the number of the machines is greater than that of the completely renovated target customers SN, not completely renovating.
It should be noted that, in step S11, the target customer SN is obtained according to the correspondence between the manufacturer SN and the customer SN, the target customer SN may be obtained through the database, and the number of the target customers SN, that is, the number of the machines to be refurbished may also be determined from the database. In addition, the number of the target customers SN with complete refurbishment is acquired, and how to acquire the number of the target customers SN with complete refurbishment is not limited, and can be selected according to specific implementation conditions. And when the number of the target clients SN is consistent with that of the completely renovated target clients SN, the current machine is completely renovated, and if the number of the target clients SN is inconsistent with that of the completely renovated target clients SN, the current machine is proved not to be completely renovated.
In the method for determining whether the customer SN is completely refurbished or not provided by this embodiment, the number of the target customer SN which is completely refurbished is obtained by obtaining the number of the machines which need to be refurbished according to the target manufacturer SN, if the number of the machines is consistent with the number of the target customer SN which is completely refurbished, the refurbishment is complete, and if the number of the machines is greater than the number of the target customer SN which is completely refurbished, the refurbishment is incomplete. The method has a simple judging mode, improves the renovation accuracy and also improves the working efficiency.
On the basis of the above embodiment, after outputting the refresh complete prompting message, as shown in fig. 2, on the basis of S16, the method further includes the following steps:
s17: the refurbished complete target customer SN is output to the screen.
As indicated by step S17, the completely refurbished target customer SN is output to the screen, and after the target customer SN is output to the screen, the target customer SN can be collated and sent to the manufacturer, who produces the machine according to the refurbishment information.
The target customer SN that the embodiment provided will renovate completely is exported to the screen, conveniently to the arrangement of target customer SN, and the producer can produce the machine according to renovating information, has improved work efficiency.
In a specific embodiment, the number of the target clients SN is too large, and there may be situations where data is too large and data is not good for transmission when the data is transmitted to the manufacturer, and there may also be situations where the data is stolen during the transmission, and in consideration of these two situations, another method for confirming the client SN is proposed, as shown in fig. 2, and on the basis of step S17, the method further includes:
s18: the target customer SN, which is completely refurbished, is compressed.
S19: and encrypting the compressed target client SN.
It can be understood that, if the number of the target clients SN is too large, the data transmitted to the manufacturer may be too large and not easy to transmit, or may be stolen during the transmission process, so that the target clients SN completely updated is compressed based on step S17, thereby facilitating the transmission of the target clients SN.
As indicated by the step S19, the compressed target client SN is encrypted, and how to encrypt the compressed target client SN is not limited in this embodiment, and symmetric encryption or asymmetric encryption may be used, so long as the security of the compressed target client SN is ensured.
According to the other method for confirming the client SN, the target client SN which is completely updated is compressed, and the compressed target client SN is encrypted, so that the transmission difficulty of the transmission target client SN is reduced, the compressed target client SN is encrypted, the safety of the transmission process is guaranteed, the target client SN cannot be obtained without a corresponding secret key even if the compressed target client SN is stolen, and the working rigor is improved.
In the above embodiments, the confirmation method of the customer SN is described in detail, and the present application also provides embodiments corresponding to the confirmation apparatus of the customer SN. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Fig. 3 is a structural diagram of a confirmation apparatus of a client SN according to an embodiment of the present application, and as shown in fig. 3, the confirmation apparatus of the client SN includes:
a first obtaining module 15, configured to obtain a target manufacturer SN of a machine to be refurbished;
a second obtaining module 16, configured to obtain a target customer SN corresponding to the target vendor SNM according to a correspondence between the vendor SN and the customer SN;
the judging module 17 is used for judging whether the machine can be renovated or not according to the target customer SN, and if so, the replacing module 18 is triggered;
a replacing module 18, configured to replace the digit of the eighth first preset bit of the client SN and generate a digit to replace the digit of the last second preset bit of the client SN;
and a generating module 19, configured to reserve the numbers of the remaining bits, and generate a new customer SN by combining the new number of the first preset bit and the new number of the second preset bit.
The confirmation device for the customer SN provided by this embodiment includes a first obtaining module, a second obtaining module, a judging module, a replacing module and a generating module, and is configured to implement a step of a confirmation method for the customer SN, obtain a manufacturer SN of a machine to be refurbished, obtain a customer SN corresponding to the manufacturer SM, and judge whether the machine can be refurbished or not through the customer SN, if yes, replace a number of a first preset bit of the customer SN, generate a number of a second preset bit of the customer SN instead of a number of one bit, retain numbers of the remaining bits, and generate a new customer SN by combining the number of the new first preset bit and the number of the new second preset bit. Therefore, the method can be used for replacing the first preset digit of the customer SN by the digit of the first preset digit of the customer SN through judging whether the machine can be renovated or not, and if the machine can be renovated, the digit of the first preset digit of the customer SN is replaced by the digit of the second preset digit of the customer SN, so that different manufacturers SN use a common renovating rule, the renovating rule is simpler, and the product efficiency is improved.
Fig. 4 is a structural diagram of a validation device for a client SN according to another embodiment of the present application, and as shown in fig. 4, the validation device for the client SN includes: a memory 20 for storing a computer program;
a processor 21 for implementing the steps of the method for acknowledging a customer SN as mentioned in the above embodiments when executing the computer program.
The confirmation device of the customer SN provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, or a desktop computer.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in hardware using at least one of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
The memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing a computer program 201, wherein after being loaded and executed by the processor 21, the computer program can implement the relevant steps of the confirmation method for the client SN disclosed in any one of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among others, Windows, Unix, Linux, and the like. Data 203 may include, but is not limited to, data of the confirmation method of the customer SN, and the like.
In some embodiments, the confirmation device of the customer SN may further include a display screen 22, an input/output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.
Those skilled in the art will appreciate that the configuration shown in fig. 4 does not constitute a limitation of the validation means of the customer SN and may include more or fewer components than those shown.
The confirmation device for the customer SN provided by this embodiment includes a memory and a processor, where the memory is used to store a computer program, and the processor is used to implement a step of a confirmation method for the customer SN when executing the computer program, and obtain the manufacturer SN of a machine to be refurbished, then obtain the customer SN corresponding to the manufacturer SM, and judge whether the machine can be refurbished or not through the customer SN, if so, replace the number of the first preset bit of the customer SN, generate a number of one bit instead of the number of the second preset bit of the customer SN, retain the numbers of the remaining bits, and combine the new number of the first preset bit and the new number of the second preset bit to generate a new customer SN. Therefore, the method can be used for replacing the first preset digit of the customer SN by the digit of the first preset digit of the customer SN through judging whether the machine can be renovated or not, and if the machine can be renovated, the digit of the first preset digit of the customer SN is replaced by the digit of the second preset digit of the customer SN, so that different manufacturers SN use a common renovating rule, the renovating rule is simpler, and the product efficiency is improved.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps as set forth in the above-mentioned method embodiments.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The computer-readable storage medium provided in this embodiment stores a computer program, and when the computer program is executed by a processor to perform a method for confirming a customer SN, the manufacturer SN of a machine to be refurbished is acquired, then the customer SN corresponding to the manufacturer SM is acquired, and whether the machine can be refurbished is judged by the customer SN, if so, the number of the first preset bit of the customer SN is replaced with the number of the second preset bit of the customer SN, one bit of the number is generated to replace the number of the second preset bit of the customer SN, the numbers of the remaining bits are retained, and a new customer SN is generated by combining the number of the new first preset bit and the number of the new second preset bit. Therefore, the method can be used for replacing the first preset digit of the customer SN by the digit of the first preset digit of the customer SN through judging whether the machine can be renovated or not, and if the machine can be renovated, the digit of the first preset digit of the customer SN is replaced by the digit of the second preset digit of the customer SN, so that different manufacturers SN use a common renovating rule, the renovating rule is simpler, and the product efficiency is improved.
The method, the apparatus and the computer-readable storage medium for confirming the client SN provided by the present application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should be noted that, for those skilled in the art, it is possible to make several improvements and modifications to the present application without departing from the principle of the present application, and such improvements and modifications also fall within the scope of the claims of the present application.
It should also be noted that, in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for confirming a client SN, comprising:
acquiring a target manufacturer SN of a machine to be refurbished;
acquiring a target customer SN corresponding to the target manufacturer SN according to the corresponding relation between the manufacturer SN and the customer SN;
judging whether the machine can be refurbished or not according to the target customer SN;
if so, replacing the number of the first preset bit of the target customer SN, and generating a number to replace the number of the second preset bit of the target customer SN;
and reserving the numbers of the rest bits, and combining the new number of the first preset bit and the new number of the second preset bit to generate a new target customer SN.
2. A validation method according to claim 1, characterised in that said first preset bit is an eighth bit, said replacing the number of the first preset bit of said target customer SN comprising:
if the number of the eighth bit is 0, updating the number of the eighth bit to 7;
if the number of the eighth bit is 7, updating the number of the eighth bit to 8;
if the number of the eighth bit is 8, the number of the eighth bit is updated to 9.
3. A validation method for a customer SN according to claim 2, wherein said determining whether the machine can be refurbished according to the target customer SN comprises:
-acquiring the number of said eighth bit of said customer SN;
if the number of the eighth bit is equal to 9, the refurbishment is not possible.
4. A method for confirming a customer SN according to any one of claims 1 to 3, further comprising, after said reserving the numbers of the remaining bits, combining the new number of the first preset bit and the new number of the second preset bit to generate a new target customer SN:
judging whether the target customer SN is completely refurbished or not according to the target manufacturer SN;
if yes, outputting a complete renovation prompt message;
and if not, returning to the step of obtaining the target customer SN corresponding to the target manufacturer SN according to the corresponding relation between the manufacturer SN and the customer SN.
5. A validation method according to claim 4, wherein the determining from the vendor SN whether the customer SN is completely refurbished comprises:
acquiring the number of the machines to be refurbished according to the target manufacturer SN;
acquiring the number of the completely renovated target customers SN;
if the number of the machines is consistent with that of the target customer SN, the renovation is complete;
if the number of the machines is larger than that of the target customer SN, the renovation is not complete.
6. A validation method for a customer SN according to claim 5, characterized in that it further comprises, after said outputting of a refurbished reminder message:
and outputting the completely refurbished target customer SN to a screen so as to tidy the completely refurbished target customer SN, and sending the completely refurbished target customer SN to a manufacturer for production.
7. A validation method for customer SN according to claim 6, characterized in that after said outputting of refurbished said customer SN to screen further comprises:
compressing the target customer SN which is completely refurbished;
and encrypting the compressed target client SN.
8. A confirmation apparatus for a customer SN, comprising
The system comprises a first acquisition module, a second acquisition module and a control module, wherein the first acquisition module is used for acquiring a target manufacturer SN of a machine needing to be refurbished;
the second acquisition module is used for acquiring a target customer SN corresponding to the target manufacturer SNM according to the corresponding relation between the manufacturer SN and the customer SN;
the judging module is used for judging whether the machine can be renovated or not according to the target customer SN, and if so, the replacing module is triggered;
the replacing module is used for replacing the digit of the eighth first preset bit of the customer SN and generating a digit for replacing the digit of the last second preset bit of the customer SN;
and the generating module is used for reserving the numbers of the rest bits and combining the new number of the first preset bit and the new number of the second preset bit to generate a new customer SN.
9. A validation apparatus for a client SN, comprising a memory for storing a computer program;
processor for implementing the steps of the method for validation of a customer SN according to any one of claims 1 to 7 when executing said computer program.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method for validation of a customer SN according to any one of claims 1 to 7.
CN202111666572.XA 2021-12-30 2021-12-30 Client SN confirmation method and device and computer readable storage medium Active CN114462104B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111666572.XA CN114462104B (en) 2021-12-30 2021-12-30 Client SN confirmation method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111666572.XA CN114462104B (en) 2021-12-30 2021-12-30 Client SN confirmation method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114462104A true CN114462104A (en) 2022-05-10
CN114462104B CN114462104B (en) 2023-11-14

Family

ID=81408200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111666572.XA Active CN114462104B (en) 2021-12-30 2021-12-30 Client SN confirmation method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114462104B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102728988A (en) * 2011-04-10 2012-10-17 上海继顺磁性材料有限公司 Renovation method of soft magnetic ferrite core forming die
CN108664260A (en) * 2018-04-09 2018-10-16 南京百敖软件有限公司 BIOS bootings update the method for the machine sequence number from network automatically under a kind of factory mode
CN109564598A (en) * 2017-03-13 2019-04-02 华为技术有限公司 A kind of endpoint detection methods and terminal
CN112600811A (en) * 2020-12-07 2021-04-02 广州芯德通信科技股份有限公司 Tr069 protocol-based automatic authorization CPE method and system
CN113344598A (en) * 2021-06-30 2021-09-03 中国电信股份有限公司 Data verification method, device, medium and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102728988A (en) * 2011-04-10 2012-10-17 上海继顺磁性材料有限公司 Renovation method of soft magnetic ferrite core forming die
CN109564598A (en) * 2017-03-13 2019-04-02 华为技术有限公司 A kind of endpoint detection methods and terminal
CN108664260A (en) * 2018-04-09 2018-10-16 南京百敖软件有限公司 BIOS bootings update the method for the machine sequence number from network automatically under a kind of factory mode
CN112600811A (en) * 2020-12-07 2021-04-02 广州芯德通信科技股份有限公司 Tr069 protocol-based automatic authorization CPE method and system
CN113344598A (en) * 2021-06-30 2021-09-03 中国电信股份有限公司 Data verification method, device, medium and electronic equipment

Also Published As

Publication number Publication date
CN114462104B (en) 2023-11-14

Similar Documents

Publication Publication Date Title
CN106650350B (en) Identity authentication method and system
CN108898005B (en) Hard disk identification method, system, equipment and computer readable storage medium
CN109949054B (en) Key code determination method, device, equipment and storage medium
US20170139680A1 (en) Systems, methods, and media for graphical task creation
CN110795400B (en) File management method, device, equipment and medium
US20220027591A1 (en) Bar code generation scanning, and display method, apparatus, storage medium, and electronic device
US11989540B2 (en) Systems and methods for non-disruptive continuous software delivery
CN100541528C (en) Data revise the method for preventing and data are revised anti-locking system
CN111859359A (en) Intelligent equipment authorization system, method, device, equipment and medium
CN112764737A (en) Intelligent low-code technology platform system
CN104346035A (en) Indicating automatically corrected words
CN104346165B (en) Information processing equipment, information processing method, storage medium and information processing system
CN114462104B (en) Client SN confirmation method and device and computer readable storage medium
CN111381850B (en) BIOS firmware upgrading method, device, equipment and medium
CN113986730A (en) Method, device, equipment and storage medium for testing offer file
KR20220014804A (en) Data security system and method therefor
CN116450745B (en) Multi-device-based note file operation method, system and readable storage medium
CN110472215B (en) Bid file generation method, device, equipment and medium
JP2009193249A (en) Data management system, data management apparatus, information processing apparatus, and computer program
WO2023147744A1 (en) Key state inspection method and apparatus, and device and medium
CN108985759B (en) Address generating method, system, equipment and storage medium for cryptocurrency
CN116360763A (en) Method and device for rapidly generating RPA application
CN115794469A (en) Data asset processing method and device
CN115688199A (en) Key generation method and device for intelligent device, electronic device and medium
CN115357355A (en) Method, device and equipment for software cross-system migration 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
GR01 Patent grant
GR01 Patent grant