Movatterモバイル変換


[0]ホーム

URL:


CN107358032B - Product upgrading method and device and product upgrading system - Google Patents

Product upgrading method and device and product upgrading system
Download PDF

Info

Publication number
CN107358032B
CN107358032BCN201710486411.XACN201710486411ACN107358032BCN 107358032 BCN107358032 BCN 107358032BCN 201710486411 ACN201710486411 ACN 201710486411ACN 107358032 BCN107358032 BCN 107358032B
Authority
CN
China
Prior art keywords
product
upgraded
upgrading
product key
key
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710486411.XA
Other languages
Chinese (zh)
Other versions
CN107358032A (en
Inventor
张斌
莫松劲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Kangguan Medical Equipment Co ltd
Original Assignee
Shenzhen Kangguan Medical Equipment 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 Kangguan Medical Equipment Co ltdfiledCriticalShenzhen Kangguan Medical Equipment Co ltd
Priority to CN201710486411.XApriorityCriticalpatent/CN107358032B/en
Publication of CN107358032ApublicationCriticalpatent/CN107358032A/en
Application grantedgrantedCritical
Publication of CN107358032BpublicationCriticalpatent/CN107358032B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Landscapes

Abstract

The invention is suitable for the technical field of terminals, and provides a product upgrading method, a device and a product upgrading system, wherein the product upgrading method comprises the following steps: receiving an upgrading instruction of a user, generating an equipment identifier of a product to be upgraded, and sending the equipment identifier to a service terminal, so that the service terminal can generate a product key corresponding to the product to be upgraded according to the equipment identifier; acquiring a product key corresponding to the product to be upgraded and generated by the service terminal, and analyzing the product key to acquire an upgrade function control code included in the product key; and upgrading the product to be upgraded according to the upgrading function control code in the product key. By the method, the problem that manual configuration is prone to error can be avoided, and the product maintenance cost can be reduced.

Description

Product upgrading method and device and product upgrading system
Technical Field
The invention belongs to the technical field of terminals, and particularly relates to a product upgrading method, a product upgrading device and a product upgrading system.
Background
With the increasing enhancement of ultrasound technology, the functions of medical ultrasound instruments are increasing, and after customers of medical ultrasound instrument hospitals, such as hospitals, introduce these medical devices, special personnel are needed to configure the medical ultrasound instruments, so that the introduced medical ultrasound instruments can provide medical services. Thus, depending on objective conditions, manufacturers may define a plurality of different versions of functions for different functions of the medical ultrasound apparatus. When a client who takes a product wants to add a certain function, the medical ultrasonic instrument needs to be upgraded, the client has to invite a manufacturer to send an after-sales engineer or engage a professional to upgrade the medical ultrasonic instrument on site due to various types of upgrading information of the medical ultrasonic instrument, the product upgrading process is complicated, the after-sales cost is high, meanwhile, due to the fact that the after-sales engineer or the professional manually upgrades a large amount of medical equipment, errors are prone to occur in the manual upgrading process, and information which is previously filed by the client is deleted, reset and the like.
Disclosure of Invention
In view of this, embodiments of the present invention provide a product upgrading method, device and system, so as to solve the problems that the existing medical product upgrading process is complicated, the after-sale cost is high, and errors are prone to occur in the manual upgrading process.
The invention provides a product upgrading method in a first aspect, which comprises the following steps:
receiving an upgrading instruction of a user, generating an equipment identifier of a product to be upgraded, and sending the equipment identifier to a service terminal, so that the service terminal can generate a product key corresponding to the product to be upgraded according to the equipment identifier;
acquiring a product key corresponding to the product to be upgraded and generated by the service terminal, and analyzing the product key to acquire an upgrade function control code included in the product key;
and upgrading the product to be upgraded according to the upgrading function control code in the product key.
The second aspect of the present invention provides another product upgrading method, including:
receiving an equipment identifier of a product to be upgraded;
determining an upgrade function control code according to the device identifier;
and generating a product key corresponding to the product to be upgraded according to the upgrading function control code and the equipment identifier, wherein the product key comprises the upgrading function control code, so that the product to be upgraded is upgraded according to the upgrading function control code in the product key.
A third aspect of the present invention provides an upgrading apparatus for a product, the upgrading apparatus comprising:
the upgrading instruction unit is used for receiving an upgrading instruction of a user, generating an equipment identifier of a product to be upgraded and sending the equipment identifier to a service terminal so that the service terminal can generate a product key corresponding to the product to be upgraded according to the equipment identifier;
the key analysis unit is used for acquiring a product key which is generated by the service terminal and corresponds to the product to be upgraded and analyzing the product key to acquire an upgrading function control code included in the product key;
and the product upgrading unit is used for upgrading the product to be upgraded according to the upgrading function control code in the product key.
The fourth aspect of the present invention provides a product upgrading system, which includes a client terminal and a service terminal:
the client terminal is used for receiving an upgrading instruction of a user, generating an equipment identifier of a product to be upgraded and sending the equipment identifier to the service terminal so that the service terminal can generate a product key corresponding to the product to be upgraded according to the equipment identifier;
the service terminal is used for receiving an equipment identifier of a product to be upgraded, determining an upgrading function control code according to the equipment identifier, and generating a product key corresponding to the product to be upgraded according to the upgrading function control code and the equipment identifier, wherein the product key comprises the upgrading function control code;
the client terminal is further used for acquiring a product key which is generated by the service terminal and corresponds to the product to be upgraded, and analyzing the product key to acquire an upgrading function control code included in the product key; and upgrading the product to be upgraded according to the upgrading function control code in the product key.
A fifth aspect of the present invention provides a terminal device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method of upgrading a product as described above in the first aspect when executing the computer program.
A sixth aspect of the invention provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the steps of the method of upgrading a product as described in the first aspect above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: according to the method and the device for upgrading the product, the device identifier of the product to be upgraded is generated by receiving the upgrading instruction of the user, the device identifier is sent to the service terminal, so that the service terminal can generate the product key corresponding to the product to be upgraded according to the device identifier, then the product key corresponding to the product to be upgraded and generated by the service terminal is obtained, the product key is analyzed to obtain the upgrading function control code included in the product key, and finally the product to be upgraded is upgraded according to the upgrading function control code in the product key.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a system architecture diagram of a product upgrade system provided by an embodiment of the present invention;
FIG. 2 is a flowchart of an implementation of a method for upgrading a product on a client side according to an embodiment of the present invention;
fig. 3 is a flowchart of an implementation of a method for upgrading a product on a server side according to an embodiment of the present invention;
fig. 4 is a block diagram of an upgrading apparatus for a product according to an embodiment of the present invention;
FIG. 5 is a block diagram of an upgrading apparatus for another product according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Example one
Fig. 1 shows a system architecture diagram of a product upgrading system according to a first embodiment of the present invention, which is detailed as follows: for convenience of explanation, only portions related to the embodiments of the present invention are shown.
Referring to fig. 1, the product upgrade system includes a client terminal 1 and a service terminal 2, wherein:
the client terminal 1 is configured to receive an upgrade instruction of a user, generate an equipment identifier of a product to be upgraded, and send the equipment identifier to the service terminal 2, so that the service terminal 2 generates a product key corresponding to the product to be upgraded according to the equipment identifier.
Wherein the device identifier includes a device identification code, a valid time of the product to be upgraded, and an existing function (i.e., an existing version) of the product to be upgraded. Illustratively, the device identifier is formed by 22-bit thirty-binary number, and the 22-bit device identifier includes a device identification code, a system random number, the valid time of the product to be upgraded and the existing function of the product to be upgraded.
The service terminal 2 is configured to receive an equipment identifier of a product to be upgraded, determine an upgrade function control code according to the equipment identifier, and generate a product key corresponding to the product to be upgraded according to the upgrade function control code and the equipment identifier, where the product key includes the upgrade function control code.
Illustratively, the product key corresponding to the product to be upgraded and generated by the service terminal 2 according to the device identifier may be a 32-bit thirty-binary number, where the 32-bit product key includes information such as a product key type, a device identification code, and an upgrade function control code.
Further, the product key is written into a storage chip which cannot lose data when power is lost, and the chip type is not limited herein.
The client terminal 1 is further configured to obtain a product key corresponding to the product to be upgraded and generated by the service terminal 2, and analyze the product key to obtain an upgrade function control code included in the product key; and upgrading the product to be upgraded according to the upgrading function control code in the product key.
Optionally, the client terminal 1 is further configured to parse the product key, and obtain an equipment identification code in the product key; detecting whether the equipment identification code in the product key is the same as the equipment identification code of the local machine; and if the equipment identification code in the product key is the same as the equipment identification code of the local machine, upgrading the product to be upgraded according to the upgrading function control code in the product key.
Optionally, the client terminal 1 is further configured to detect whether the validity period of the product key exceeds a preset validity period threshold; if the validity period of the product key does not exceed a preset validity period threshold, upgrading the product to be upgraded according to an upgrading function control code in the product key; and if the validity period of the product key exceeds a preset validity period threshold, prompting that the product key is invalid.
Optionally, the service terminal 2 is further configured to parse the device identifier to obtain a device identification code of the product to be upgraded; determining the upgrading authority of the product to be upgraded according to the equipment identification code; and if the product to be upgraded has the upgrading authority, determining an upgrading function control code according to the equipment identifier. In the embodiment of the present invention, the product key generated by the service terminal 2 is only applicable to the target client terminal 1, and the product key is invalid for other client terminals 1 different from the device identification code in the product key.
Optionally, the service terminal 2 is further configured to parse the device identifier, and obtain a device identification code of the product to be upgraded and an effective time of the product to be upgraded; and determining the product key type in the product key according to the equipment identification code and the valid time of the product to be upgraded, so that the valid time of the product to be upgraded after upgrading is set for the product to be upgraded according to the product key type. Wherein the product key types include a trial type and a permanent type.
Taking an application scenario as an example, when a product of a certain client terminal 1 needs to be upgraded, for example, when a medical ultrasound apparatus of a user needs to be upgraded and new functions are added, a maintenance window of the client terminal 1 of the user clicks to obtain an equipment identifier, the obtained equipment identifier is sent to a product key management center of a service terminal 2, the product key management center generates a product key corresponding to the medical ultrasound apparatus according to the equipment identifier, the client terminal 1 obtains the product key, inputs the product key in the maintenance window of the client terminal 1, analyzes the product key to obtain an upgrade function control code and a product key type included in the product key, the medical ultrasound apparatus opens a corresponding function in the product to be upgraded according to the upgrade function control code in the product key, and according to the product key type, and setting the upgrading function of the product to be upgraded to be trial or permanent, and finishing upgrading.
In the first embodiment of the invention, a client terminal generates an equipment identifier of a product to be upgraded by receiving an upgrading instruction of a user, and sends the equipment identifier to a service terminal, so that the service terminal can generate a product key corresponding to the product to be upgraded according to the equipment identifier. The service terminal receives an equipment identifier of a product to be upgraded, determines an upgrading function control code according to the equipment identifier, and generates a product key corresponding to the product to be upgraded according to the upgrading function control code and the equipment identifier, wherein the product key comprises the upgrading function control code. The client terminal obtains the product key which is generated by the service terminal and corresponds to the product to be upgraded, analyzes the product key to obtain the upgrading function control code included in the product key, and finally upgrades the product to be upgraded according to the upgrading function control code in the product key.
Example two
Fig. 2 shows a flowchart of a method for upgrading a product according to an embodiment of the present invention, in this embodiment, an execution subject of the flowchart is the client terminal 1 shown in fig. 1, which is detailed as follows:
step S201, receiving an upgrade instruction of a user, generating an equipment identifier of a product to be upgraded, and sending the equipment identifier to the service terminal 2, so that the service terminal 2 generates a product key corresponding to the product to be upgraded according to the equipment identifier.
Wherein the device identifier includes a device identification code, a system random number, an effective time of the product to be upgraded, and an existing function (i.e., an existing version) of the product to be upgraded. The system random number is a numeric string randomly generated by the system when the product of the client terminal 1 is installed, and the system random number generated by reinstallation after uninstallation is different from the system random number before reinstallation, so the system random number can be used for detecting whether the product is reinstalled.
Specifically, in the embodiment of the present invention, when a user of a product to be upgraded needs to add a new function or needs to upgrade an existing function, an instruction, such as a click instruction, is input in a product maintenance window of the client terminal 1 to obtain an equipment identifier, and the equipment identifier is sent to the service terminal 2, so that the service terminal 2 generates a product key corresponding to the product to be upgraded according to the equipment identifier.
Further, in order to facilitate the service terminal 2 to accurately develop the corresponding function, the user of the product to be upgraded may further send an upgrade requirement to the service terminal 2, so that the service terminal 2 generates a product key corresponding to the product to be upgraded according to the device identifier and the upgrade requirement. The upgrade requirement may be sent to the service terminal 2 through a product maintenance window of the client terminal 1, or sent to the service terminal 2 through other communication methods such as mail and telephone communication, and the sending method of the upgrade requirement is not limited herein.
Step S202, obtaining a product key corresponding to the product to be upgraded and generated by the service terminal 2, and analyzing the product key to obtain an upgrade function control code included in the product key.
Specifically, in the embodiment of the present invention, the service terminal 2 generates a product key corresponding to the product to be upgraded according to the device identifier, and then directly sends the product key to the client terminal 1, or sends the product key to the client terminal 1 through other communication methods such as telephone. After obtaining the product key, the client terminal 1 parses the product key, for example, when the product key is generated at the service terminal 2, the product key is encrypted by using a private key, and at this time, the product key is decrypted by using a public key at the client terminal 1, so as to obtain the upgrade function control code in the product key. Optionally, the client terminal 1 decrypts the product key by using the public key, and obtains not only the upgrade function control code in the product key, but also the product key type in the product key. The product key types include a permanent type and a trial type. The upgrading function control code is used for developing corresponding functions of the product to be upgraded so as to upgrade the product to be upgraded.
And step S203, upgrading the product to be upgraded according to the upgrading function control code in the product key.
Optionally, to verify whether the product key is matched with the product to be upgraded, the step S203 specifically includes:
a1, analyzing the product key, and obtaining the device identification code in the product key.
A2, detecting whether the device identification code in the product key is the same as the local device identification code.
A3, if the equipment identification code in the product key is the same as the equipment identification code of the local machine, upgrading the product to be upgraded according to the upgrading function control code in the product key.
In the embodiment of the present invention, the product key generated by the service terminal 2 is only applicable to the target client terminal 1, and the product key is invalid for other client terminals 1 different from the device identification code in the product key.
Further, the step S203 further includes:
a4, if the device identification code in the product key is not the same as the device identification code of the user, prompting the user that the product key is an invalid product key.
Specifically, in the embodiment of the present invention, in order to verify whether the product key generated by the service terminal 2 matches the product to be upgraded, the product key is analyzed to obtain the device identification code in the product key, the device identification code in the product key is compared with the device identification code of the local computer (i.e., the product to be upgraded), and if the device identification code in the product key is the same as the device identification code in the local computer, the corresponding function in the product to be upgraded is opened according to the upgrade function control code in the product key. Further, in step S202, a product key corresponding to the product to be upgraded and generated by the service terminal 2 is obtained, and the product key is analyzed to obtain an upgrade function control code and a product key type included in the product key, where the step S203 includes:
upgrading the product to be upgraded according to the upgrading function control code in the product key and the product key type, namely opening the corresponding function in the product to be upgraded according to the upgrading function control code in the product key, and further setting the upgrading function of the product to be upgraded to be trial or permanent according to the product key type.
Optionally, to ensure timeliness of product upgrade, the step S203 further includes:
b1, detecting whether the validity period of the product key exceeds a preset validity period threshold value;
b2, if the validity period of the product key does not exceed a preset validity period threshold, upgrading the product to be upgraded according to the upgrading function control code in the product key;
b3, if the validity period of the product key exceeds the preset validity period threshold value, the product key is prompted to be invalid.
Specifically, in the embodiment of the present invention, in order to ensure timeliness of product upgrade, the service terminal 2 sets a validity period of the product key when generating the product key. And judging whether the product key is still valid by detecting whether the validity period of the product key exceeds a preset validity period threshold value. If the validity period of the product key does not exceed a preset validity period threshold, opening a corresponding function in the product to be upgraded according to an upgrading function control code in the product key, further, when the product to be upgraded is upgraded according to the upgrading function control code in the product key and the product key type, opening the corresponding function in the product to be upgraded according to the upgrading function control code in the product key, and setting the upgrading function of the product to be upgraded to be trial or permanent according to the product key type. And if the valid period of the product key exceeds a preset valid period threshold value, prompting that the product key is expired and invalid. When a user needs to upgrade a product to be upgraded, the user needs to obtain a new product key from the service terminal 2 again.
Optionally, in order to avoid that a user whose product key is of a trial type reinstalls a product after the end of the trial period and performs upgrading using the original product key, the step S203 includes:
c1, analyzing the product key to obtain the system random number in the product key;
c2, obtaining the current system random number of the local machine of the product to be upgraded;
c3, if the system random number in the product key is the same as the current system random number of the local machine of the product to be upgraded, upgrading the product to be upgraded according to the upgrading function control code in the product key;
c4, if the system random number in the product key is different from the current system random number of the local machine of the product to be upgraded, prompting that the product key is an invalid key.
In the embodiment of the invention, by comparing the system random number in the product key with the current system random number of the product local machine to be upgraded, the situation that a user with an expired trial period reloads the system after the product is expired and repeatedly uses the same product key for upgrading is avoided.
In the second embodiment of the invention, an equipment identifier of a product to be upgraded is generated by receiving an upgrade instruction of a user, and the equipment identifier is sent to a service terminal, so that the service terminal generates a product key corresponding to the product to be upgraded according to the equipment identifier, then obtains a product key corresponding to the product to be upgraded and generated by the service terminal, analyzes the product key to obtain an upgrade function control code and a product key type which are included in the product key, and finally upgrades the product to be upgraded according to the upgrade function control code in the product key or the upgrade function control code and the product key type in the product key, the upgrade process is simple, and a professional does not need to go to the field to repeatedly upgrade each product to be upgraded, thereby avoiding the problem of easy error in the manual upgrade process, and the product maintenance cost is reduced to a certain extent. And by comparing the system random number in the product key with the current system random number of the local machine of the product to be upgraded, the situation that a user with an expired trial period reloads the system after the product is expired and repeatedly uses the same product key for upgrading is avoided.
EXAMPLE III
Fig. 3 shows a flowchart of a method for upgrading a product according to an embodiment of the present invention, in this embodiment, an execution subject of the flowchart is the service terminal 2 shown in fig. 1, which is detailed as follows:
step S301, receiving the device identifier of the product to be upgraded.
Wherein the device identifier includes a device identification code, a system random number, an effective time of the product to be upgraded, and an existing function (i.e., an existing version) of the product to be upgraded.
Specifically, in the embodiment of the present invention, when a user of a product to be upgraded needs to add a new function or needs to upgrade an existing function, an instruction, such as a click instruction, is input in a product maintenance window of the client terminal 1 to obtain an equipment identifier, and the equipment identifier is sent to the service terminal 2, and the service terminal 2 receives the equipment identifier of the product to be upgraded, so as to generate a product key corresponding to the product to be upgraded according to the equipment identifier.
Step S302, according to the device identifier, determining an upgrade function control code.
Optionally, the step S302 includes:
d1, analyzing the equipment identifier to obtain the equipment identification code of the product to be upgraded;
d2, determining the upgrading authority of the product to be upgraded according to the equipment identification code;
d3, if the product to be upgraded has the upgrade authority, determining an upgrade function control code according to the equipment identifier.
Specifically, in the embodiment of the present invention, the device identifier sent by the client terminal 1 is analyzed to obtain the device identifier of the product to be upgraded, and the upgrade permission of the product to be upgraded is determined by detecting the device identifier, for example, if it is known that the device to be upgraded is a basic simple version according to the device identifier, the product to be upgraded does not have the upgrade permission. And if the equipment to be upgraded is known to be a function-limited advanced version according to the equipment identification code, the product to be upgraded has an upgrading authority, and an upgrading function control code is determined according to the equipment identifier. Wherein the device identifier further includes an upgrade requirement.
Optionally, if the device identifier does not include an upgrade requirement, the step S303 further includes:
d1', obtaining the upgrade requirement of the product to be upgraded.
D2', according to the device identifier and the upgrade requirement of the product to be upgraded, determining an upgrade function control code.
Step S303, generating a product key corresponding to the product to be upgraded according to the upgrade function control code and the device identifier, wherein the product key comprises the upgrade function control code, so that the product to be upgraded is upgraded according to the upgrade function control code in the product key.
Specifically, in the embodiment of the present invention, the service terminal 2 generates a product key corresponding to the product to be upgraded according to the upgrade function control code and the device identifier, where the product key may be a 32-bit thirty-binary number, and the 32-bit product key includes information such as a product key type, a device identification code, and an upgrade function control code. Further, the product key is written into a storage chip which cannot lose data when power is lost, and the chip type is not limited herein.
Optionally, the step S303 includes:
e1, analyzing the equipment identifier, and acquiring the equipment identification code of the product to be upgraded and the effective time of the product to be upgraded;
e2, determining the product key type in the product key according to the equipment identification code and the valid time of the product to be upgraded, so that the valid time of the product to be upgraded after upgrading can be set for the product to be upgraded according to the product key type.
In the embodiment of the invention, the product key type in the product key is determined according to the equipment identification code and the valid time of the product to be upgraded, so that the valid time of the product to be upgraded after upgrading is set for the product to be upgraded according to the product key type. For example, when the device identifier of the product to be upgraded and the valid time of the product to be upgraded are known, and the product to be upgraded is a trial type, the type of the product key in the product key is determined to be the trial type. Further, a trial expiration may be set in the product key type based on a remaining trial period of the upgraded product.
Optionally, the step S303 includes:
f1, analyzing the equipment identifier, and acquiring the equipment identification code of the product to be upgraded and the effective time of the product to be upgraded.
F2, obtaining the upgrading requirement of the product to be upgraded;
f3, determining an upgrade function control code according to the upgrade requirement of the product to be upgraded;
f4, determining the product key type according to the equipment identification code and the valid time of the product to be upgraded;
f5, packaging the equipment identification code of the product to be upgraded, the upgrading function control code and the product key type, and encrypting by using a private key to generate a product key corresponding to the product to be upgraded.
In the embodiment of the invention, the equipment identification code of the product to be upgraded, the upgrading function control code and the product key type are packaged and encrypted by using a private key to generate the product key corresponding to the product to be upgraded, so that the safety of the product key is improved.
In the third embodiment of the present invention, an equipment identifier of a product to be upgraded is received, an upgrade function control code is determined according to the equipment identifier, and a product key corresponding to the product to be upgraded is generated according to the upgrade function control code and the equipment identifier, where the product key includes the upgrade function control code, so that the product to be upgraded is upgraded according to the upgrade function control code in the product key, and a professional does not need to go to the field to perform repeated upgrade operations on each product to be upgraded, thereby avoiding the problem of easy error in the manual upgrade process, and reducing the product maintenance cost to a certain extent.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Example four
Fig. 4 shows a structural block diagram of an upgrading apparatus for a product according to an embodiment of the present invention, which corresponds to the upgrading method for a product according to the above embodiment, and for convenience of description, only the parts related to the embodiment of the present invention are shown.
Referring to fig. 4, the upgrading apparatus of the product includes: upgradeinstruction unit 41,key parsing unit 42,product upgrade unit 43, where:
theupgrade instruction unit 41 is configured to receive an upgrade instruction of a user, generate an equipment identifier of a product to be upgraded, and send the equipment identifier to a service terminal, so that the service terminal generates a product key corresponding to the product to be upgraded according to the equipment identifier.
Specifically, in the embodiment of the present invention, when a user of a product to be upgraded needs to add a new function or needs to upgrade an existing function, an instruction, such as a click instruction, is input in a product maintenance window of a client terminal to obtain an equipment identifier, and the equipment identifier is sent to a service terminal, so that the service terminal generates a product key corresponding to the product to be upgraded according to the equipment identifier.
Furthermore, in order to facilitate the service terminal to accurately develop the corresponding function, the user of the product to be upgraded can also send the upgrading requirement to the service terminal, so that the service terminal can generate a product key corresponding to the product to be upgraded according to the equipment identifier and the upgrading requirement. The upgrade request may be sent to the service terminal through a product maintenance window of the client terminal, or sent to the service terminal through other communication methods such as mail and telephone communication, and the sending method of the upgrade request is not limited herein.
And thekey analysis unit 42 is configured to obtain a product key corresponding to the product to be upgraded and generated by the service terminal, and analyze the product key to obtain an upgrade function control code included in the product key.
Specifically, in the embodiment of the present invention, after the service terminal generates the product key corresponding to the product to be upgraded according to the device identifier, the product key is directly sent to the client terminal, or is sent to the client terminal through other communication methods such as a telephone. After obtaining the product key, the client terminal parses the product key, for example, when the product key is generated at the service terminal, the product key is encrypted by using the private key, and at this time, the product key is decrypted by using the public key at the client terminal, so as to obtain the upgrade function control code in the product key.
Optionally, the product key is decrypted by using a public key at the client terminal, so as to obtain not only the upgrade function control code in the product key, but also the product key type in the product key. The product key types include a permanent type and a trial type. The upgrading function control code is used for developing corresponding functions of the product to be upgraded so as to upgrade the product to be upgraded.
And theproduct upgrading unit 43 is configured to upgrade the product to be upgraded according to the upgrading function control code in the product key.
Optionally, theproduct upgrading unit 43 includes:
the first acquisition module is used for analyzing the product key and acquiring the equipment identification code in the product key;
the first detection module is used for detecting whether the equipment identification code in the product key is the same as the equipment identification code of the product key;
and the first upgrading module is used for upgrading the product to be upgraded according to the upgrading function control code in the product key if the equipment identification code in the product key is the same as the equipment identification code of the local machine.
And the first prompting module is used for prompting the user that the product key is an invalid product key if the equipment identification code in the product key is different from the equipment identification code of the user.
Specifically, in the embodiment of the present invention, in order to verify whether the product key generated by the service terminal 2 matches the product to be upgraded, the product key is analyzed to obtain the device identification code in the product key, the device identification code in the product key is compared with the device identification code of the local computer (i.e., the product to be upgraded), and if the device identification code in the product key is the same as the device identification code in the local computer, the corresponding function in the product to be upgraded is opened according to the upgrade function control code in the product key. Further, a product key corresponding to the product to be upgraded and generated by the service terminal 2 is acquired, and the product key is analyzed to acquire an upgrade function control code and a product key type included in the product key, at this time, the product to be upgraded is upgraded according to the upgrade function control code and the product key type in the product key, that is, a corresponding function in the product to be upgraded is opened according to the upgrade function control code in the product key, and further, according to the product key type, the upgrade function of the product to be upgraded is set to be trial or permanent.
Optionally, theproduct upgrading unit 43 includes:
the second detection module is used for detecting whether the validity period of the product key exceeds a preset validity period threshold value or not;
the second upgrading module is used for upgrading the product to be upgraded according to the upgrading function control code in the product key if the valid period of the product key does not exceed a preset valid period threshold;
and the second prompting module is used for prompting that the product key is invalid if the valid period of the product key exceeds a preset valid period threshold.
Specifically, in the embodiment of the present invention, in order to ensure timeliness of product upgrade, when the service terminal generates the product key, the service terminal sets the validity period of the product key. And judging whether the product key is still valid by detecting whether the validity period of the product key exceeds a preset validity period threshold value. If the validity period of the product key does not exceed a preset validity period threshold, opening a corresponding function in the product to be upgraded according to an upgrading function control code in the product key, further, when the product to be upgraded is upgraded according to the upgrading function control code in the product key and the product key type, opening the corresponding function in the product to be upgraded according to the upgrading function control code in the product key, and setting the upgrading function of the product to be upgraded to be trial or permanent according to the product key type. And if the valid period of the product key exceeds a preset valid period threshold value, prompting that the product key is expired and invalid. And when the user needs to upgrade the product to be upgraded, the user needs to obtain a new product key from the service terminal again.
Fig. 5 is a block diagram illustrating an upgrading apparatus of another product according to an embodiment of the present invention, and only a part related to the embodiment of the present invention is shown for convenience of description.
Referring to fig. 5, the upgrading apparatus of the product includes: anidentifier receiving unit 51, an upgradefunction determining unit 52, a productkey generating unit 53, wherein:
anidentifier receiving unit 51, configured to receive a device identifier of a product to be upgraded.
An upgradefunction determination unit 52, configured to determine an upgrade function control code according to the device identifier.
Optionally, the upgradefunction determination unit 52 includes:
the second acquisition module is used for analyzing the equipment identifier and acquiring the equipment identification code of the product to be upgraded;
the third acquisition module is used for determining the upgrading authority of the product to be upgraded according to the equipment identification code;
and the first determining module is used for determining an upgrading function control code according to the equipment identifier if the product to be upgraded has the upgrading authority.
And a productkey generating unit 53, configured to generate a product key corresponding to the product to be upgraded according to the upgrade function control code and the device identifier, where the product key includes the upgrade function control code, so that the product to be upgraded is upgraded according to the upgrade function control code in the product key.
Optionally, the productkey generating unit 53 includes:
the fourth obtaining module is used for analyzing the equipment identifier and obtaining the equipment identification code of the product to be upgraded and the effective time of the product to be upgraded;
and the second determining module is used for determining the product key type in the product key according to the equipment identification code and the valid time of the product to be upgraded so that the valid time of the product to be upgraded after upgrading can be set for the product to be upgraded according to the product key type.
In the embodiment of the invention, the product key type in the product key is determined according to the equipment identification code and the valid time of the product to be upgraded, so that the valid time of the product to be upgraded after upgrading is set for the product to be upgraded according to the product key type. For example, when the device identifier of the product to be upgraded and the valid time of the product to be upgraded are known, and the product to be upgraded is a trial type, the type of the product key in the product key is determined to be the trial type. Further, a trial expiration may be set in the product key type based on a remaining trial period of the upgraded product.
Optionally, the productkey generating unit 53 further includes:
the fifth acquisition module is used for acquiring the upgrading requirement of the product to be upgraded;
the third determining module is used for determining an upgrading function control code according to the upgrading requirement of the product to be upgraded;
the fourth determining module is used for determining the type of the product key according to the equipment identification code and the effective time of the product to be upgraded;
and the product key generation module is used for packaging the equipment identification code of the product to be upgraded, the upgrading function control code and the product key type, encrypting by using a private key and generating a product key corresponding to the product to be upgraded.
In the embodiment of the invention, the equipment identification code of the product to be upgraded, the upgrading function control code and the product key type are packaged and encrypted by using a private key to generate the product key corresponding to the product to be upgraded, so that the safety of the product key is improved.
In the fourth embodiment of the present invention, an equipment identifier of a product to be upgraded is generated by receiving an upgrade instruction of a user, and the equipment identifier is sent to a service terminal, so that the service terminal generates a product key corresponding to the product to be upgraded according to the equipment identifier, then obtains a product key corresponding to the product to be upgraded and generated by the service terminal, and parses the product key to obtain an upgrade function control code and a product key type included in the product key, and finally upgrades the product to be upgraded according to the upgrade function control code in the product key or according to the upgrade function control code and the product key type in the product key, the upgrade process is simple, and a professional is not required to go to a field to perform repeated upgrade operations on each product to be upgraded, thereby avoiding a problem of easy error in a manual upgrade process, and the product maintenance cost is reduced to a certain extent. And by comparing the system random number in the product key with the current system random number of the local machine of the product to be upgraded, the situation that a user with an expired trial period reloads the system after the product is expired and repeatedly uses the same product key for upgrading is avoided.
Example five:
fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 6, theterminal device 6 of this embodiment includes: aprocessor 60, amemory 61 and acomputer program 62 stored in saidmemory 61 and executable on saidprocessor 60, such as an upgrade program for a product. Theprocessor 60, when executing thecomputer program 62, implements the steps in the above-described embodiments of the method for upgrading the respective products, such as the steps 101 to 104 shown in fig. 1. Alternatively, theprocessor 60, when executing thecomputer program 62, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of theunits 41 to 43 shown in fig. 4.
Illustratively, thecomputer program 62 may be partitioned into one or more modules/units that are stored in thememory 61 and executed by theprocessor 60 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of thecomputer program 62 in theterminal device 6. For example, thecomputer program 62 may be divided into an upgrade instruction unit, a key parsing unit, and a product upgrade unit, where the specific functions of each unit are as follows:
the upgrading instruction unit is used for receiving an upgrading instruction of a user, generating an equipment identifier of a product to be upgraded and sending the equipment identifier to a service terminal so that the service terminal can generate a product key corresponding to the product to be upgraded according to the equipment identifier;
the key analysis unit is used for acquiring a product key which is generated by the service terminal and corresponds to the product to be upgraded and analyzing the product key to acquire an upgrading function control code included in the product key;
and the product upgrading unit is used for upgrading the product to be upgraded according to the upgrading function control code in the product key.
Theterminal device 6 may be a desktop computer, a notebook, a palm computer, an ultrasonic medical instrument, a cloud server, or other computing devices. The terminal device may include, but is not limited to, aprocessor 60, amemory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of aterminal device 6 and does not constitute a limitation ofterminal device 6 and may include more or less components than those shown, or some components in combination, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
TheProcessor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Thememory 61 may be an internal storage unit of theterminal device 6, such as a hard disk or a memory of theterminal device 6. Thememory 61 may also be an external storage device of theterminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on theterminal device 6. Further, thememory 61 may also include both an internal storage unit and an external storage device of theterminal device 6. Thememory 61 is used for storing the computer program and other programs and data required by the terminal device. Thememory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

receiving an upgrading instruction of a user, generating an equipment identifier of a product to be upgraded, and sending the equipment identifier to a service terminal, so that the service terminal can generate a product key corresponding to the product to be upgraded according to the equipment identifier, wherein the equipment identifier comprises a system random number and the existing function of the product to be upgraded; the system random number is a digital string randomly generated by the system when a product of the client terminal is installed, the system random number generated by reinstallation after the product is uninstalled is different from the system random number before reinstallation, and the system random number can be used for detecting whether the product is reinstalled;
generating a product key corresponding to the product to be upgraded according to the upgrade function control code and the equipment identifier, wherein the product key comprises an upgrade function control code and a product key type, and the product key type comprises a permanent type and a trial type, so that the product to be upgraded is upgraded according to the upgrade function control code and the product key type in the product key, specifically, the product key is analyzed, and a system random number in the product key is obtained; acquiring a current system random number of the local computer of the product to be upgraded; and if the system random number in the product key is the same as the current system random number of the local machine of the product to be upgraded, upgrading the product to be upgraded according to the upgrading function control code in the product key.
the upgrading instruction unit is used for receiving an upgrading instruction of a user, generating an equipment identifier of a product to be upgraded and sending the equipment identifier to a service terminal so that the service terminal can generate a product key corresponding to the product to be upgraded according to the equipment identifier, wherein the equipment identifier comprises a system random number and the existing function of the product to be upgraded; the system random number is a digital string randomly generated by the system when a product of the client terminal is installed, the system random number generated by reinstallation after the product is uninstalled is different from the system random number before reinstallation, and the system random number can be used for detecting whether the product is reinstalled;
the client terminal is used for receiving an upgrading instruction of a user, generating an equipment identifier of a product to be upgraded and sending the equipment identifier to the service terminal so that the service terminal can generate a product key corresponding to the product to be upgraded according to the equipment identifier, wherein the equipment identifier comprises a system random number and the existing function of the product to be upgraded; the system random number is a digital string randomly generated by the system when a product of the client terminal is installed, the system random number generated by reinstallation after the product is uninstalled is different from the system random number before reinstallation, and the system random number can be used for detecting whether the product is reinstalled;
the client terminal is further used for acquiring a product key which is generated by the service terminal and corresponds to the product to be upgraded, and analyzing the product key to acquire an upgrading function control code included in the product key; upgrading the product to be upgraded according to the upgrading function control code in the product key and the product key type, specifically, analyzing the product key to obtain a system random number in the product key; acquiring a current system random number of the local computer of the product to be upgraded; and if the system random number in the product key is the same as the current system random number of the local machine of the product to be upgraded, upgrading the product to be upgraded according to the upgrading function control code in the product key.
CN201710486411.XA2017-06-232017-06-23Product upgrading method and device and product upgrading systemActiveCN107358032B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710486411.XACN107358032B (en)2017-06-232017-06-23Product upgrading method and device and product upgrading system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710486411.XACN107358032B (en)2017-06-232017-06-23Product upgrading method and device and product upgrading system

Publications (2)

Publication NumberPublication Date
CN107358032A CN107358032A (en)2017-11-17
CN107358032Btrue CN107358032B (en)2020-05-19

Family

ID=60273972

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710486411.XAActiveCN107358032B (en)2017-06-232017-06-23Product upgrading method and device and product upgrading system

Country Status (1)

CountryLink
CN (1)CN107358032B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110221852A (en)*2019-05-152019-09-10深兰科技(上海)有限公司A kind of firmware upgrade method and device
CN114830252B (en)2019-11-142023-08-25瑞思迈私人有限公司Remote Respiratory Therapy Device Management

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101251883A (en)*2008-03-112008-08-27北京深思洛克数据保护中心Method for performing safety controllable remote upgrade for software protecting device
CN102741804A (en)*2009-07-012012-10-17芒达·帕蒂尔 Methods of Controlling Illegal Use of Application Software
CN104778057A (en)*2015-03-112015-07-15小米科技有限责任公司Terminal system upgrading method and device, and server
JP2017016167A (en)*2015-06-262017-01-19キヤノン株式会社Information processing apparatus, method, and program
CN106528151A (en)*2016-10-282017-03-22美的智慧家居科技有限公司Software development kit management method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101251883A (en)*2008-03-112008-08-27北京深思洛克数据保护中心Method for performing safety controllable remote upgrade for software protecting device
CN102741804A (en)*2009-07-012012-10-17芒达·帕蒂尔 Methods of Controlling Illegal Use of Application Software
CN104778057A (en)*2015-03-112015-07-15小米科技有限责任公司Terminal system upgrading method and device, and server
JP2017016167A (en)*2015-06-262017-01-19キヤノン株式会社Information processing apparatus, method, and program
CN106528151A (en)*2016-10-282017-03-22美的智慧家居科技有限公司Software development kit management method and device

Also Published As

Publication numberPublication date
CN107358032A (en)2017-11-17

Similar Documents

PublicationPublication DateTitle
CN111694589B (en)Upgrade package generation method, device, server and computer readable storage medium
CN108173659B (en)Certificate management method and system based on UKEY equipment and terminal equipment
CN107395614A (en)Single-point logging method and system
CN109190362B (en)Secure communication method and related equipment
CN110266653B (en)Authentication method, system and terminal equipment
CN109902493B (en)Script issuing method and server
US10691424B2 (en)Method for programming and terminal device
WO2017143757A1 (en)Trustworthiness measuring method and device for cloud computing platform
CN114201781A (en)Block chain-based storage verification method and device, computer equipment and medium
CN112163412A (en)Data verification method and device, electronic equipment and storage medium
CN111160879A (en)Hardware wallet and security improving method and device thereof
CN113360217B (en) Rules engine SDK calling method, device and storage medium
CN107358032B (en)Product upgrading method and device and product upgrading system
CN111198763B (en)Method for detecting reuse of resources, terminal and computer-readable storage medium
CN111817859A (en) Data sharing method, device, device and storage medium based on zero-knowledge proof
CN111176685A (en)Upgrading method and device
CN114040411B (en)Equipment binding method and device, electronic equipment and storage medium
CN109800565B (en)Software upgrading method and terminal equipment
CN111597577A (en)Function menu loading method, function menu loading device and terminal equipment
CN107911220B (en)Signature method, signature device and terminal equipment
CN113094232B (en)Block chain-based energy consumption data processing method and device
CN110381114B (en)Interface request parameter processing method and device, terminal equipment and medium
CN109657454A (en)A kind of Android application trust authentication method based on TF crypto module
CN111190824B (en)Monitoring method, device, terminal equipment and storage medium
CN112825093B (en)Security baseline checking method, host, server, electronic device and storage medium

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp