CN111881441B - Method for online activation of device, electronic device and storage medium - Google Patents

Method for online activation of device, electronic device and storage medium Download PDF

Info

Publication number
CN111881441B
CN111881441B CN202010765771.5A CN202010765771A CN111881441B CN 111881441 B CN111881441 B CN 111881441B CN 202010765771 A CN202010765771 A CN 202010765771A CN 111881441 B CN111881441 B CN 111881441B
Authority
CN
China
Prior art keywords
activation
serial number
authenticated
authentication
activated
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
CN202010765771.5A
Other languages
Chinese (zh)
Other versions
CN111881441A (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.)
Sipic Technology Co Ltd
Original Assignee
Sipic 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 Sipic Technology Co Ltd filed Critical Sipic Technology Co Ltd
Priority to CN202010765771.5A priority Critical patent/CN111881441B/en
Publication of CN111881441A publication Critical patent/CN111881441A/en
Application granted granted Critical
Publication of CN111881441B publication Critical patent/CN111881441B/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/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Landscapes

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

Abstract

The invention discloses a method for online activating equipment, which is applied to equipment to be activated and comprises the following steps: the device to be activated is connected with a network and acquires a preset character string; generating a serial number to be authenticated and activated based on a preset character string; at least sending the activation serial number to be authenticated to an authentication and authorization server for authentication by the authentication and authorization server according to a pre-stored activation serial number list; and receiving the authorization certificate sent by the authentication and authorization server to complete online activation, and generating the authorization certificate by the authentication and authorization server when the serial number to be authenticated and activated passes authentication. The invention obtains the preset character string when the equipment to be activated is connected with the network, generates the serial number to be authenticated and activated according to the preset character string, and sends the serial number to be authenticated and activated to the authentication and authorization server for authentication and online activation. The method and the device realize the self-definition of the activation serial number by a manufacturer without writing in each device to be activated in advance, are beneficial to activating the devices in large batch, and avoid errors possibly caused by frequently writing the serial number into the devices.

Description

Method for online activation of device, electronic device and storage medium
Technical Field
The present invention relates to the field of device authorization technologies, and in particular, to a method for online activating a device, an electronic device, and a storage medium.
Background
The basic requirement that a device authorization scheme can be implemented is that the device must have unique and unchanging device information (deviceId). The device authorization scheme needs to realize reliable authentication, that is, the number of authorized devices is not more than or less than the authorized number purchased by the customer, that is, the device and authorization correspondence needs to be realized. Due to the existence of various counterfeiting means, networking authorization is more controllable and has higher security than offline authorization in comparison.
The application scenario of the related authorization scheme is as follows: an intelligent hardware manufacturer A needs to produce a batch of intelligent equipment with an intelligent voice conversation function, and the intelligent equipment A does not have an intelligent voice technology, so the intelligent equipment A needs to purchase an intelligent voice technology company B. The charging rule agreed by A and B is that charging is carried out according to the hardware quantity of the intelligent voice technology required to be integrated by A, so B needs a device authorization scheme to provide technical authorization for A, and authorization is carried out on the specified quantity of devices of A. And after the A obtains the authorization of the B, activating the equipment on a production line, namely enabling the equipment to obtain the authorization of the B so as to be used for accessing the intelligent voice service of the B.
The existing device authorization method comprises the following two methods:
1) and (3) serial number authorization: in the manner of the authorization sequence number, the authorization sequence number is usually a long string of unnoticeable characters.
Serial number authorization is generally classified into offline and online. The off-line serial number authorization is generally based on the authorization information of the authorized device, and a specific device serial number is obtained through an encryption algorithm, so that authorization verification is performed, and the security of the off-line serial number authorization depends on the obtained authorization information and the confidentiality of the encryption algorithm.
More similar to the scheme, the online serial number authorization is that the service provider provides the serial number to the client, and the client writes the serial number into the device to bind the device information for activation. This type of serial number is only random and cannot be guessed, and encryption is not required. Generally, a serial number can activate a device, and the device can be normally used without depending on the serial number after being activated.
However, the most obvious problem of this method is that it is very tedious and error-prone for the device manufacturer to write the serial number into each device. For example, writing the same sequence number to multiple devices, or when writing is unsuccessful, it is difficult to confirm which sequence number was not written.
2) And (3) encryption counter authorization: and writing the authorization quantity into the chip based on the encryption chip. Every time authorization is obtained, the authorization amount in the chip is deducted until the deduction is 0.
The encryption counter authorization scheme is to write the authorization number into an encryption chip. When the production line activates the equipment, the value in the encryption chip is correspondingly decreased, and when the authorized quantity is decreased to 0, the new equipment cannot be activated. After the device manufacturer purchases the specified number of authorizations, the service provider needs to purchase the encryption chip and write the authorization amount, and meanwhile, the authorization program needs to be integrated with the encryption chip so as to reduce the authorization amount during authorization.
However, the encryption chip will increase the cost of the device, and when the number of customers is large, the loss of the encryption chip is also a large expense; the problem of low efficiency and easy loss of the encryption counter in the transmission between the service provider and the client also exists; the encryption chip itself has a risk of being copied, i.e. the same can be cloned by cracking the encryption chip.
Disclosure of Invention
Embodiments of the present invention provide a method for online activating a device, an electronic device, and a storage medium, so as to solve at least one of the above technical problems.
In a first aspect, an embodiment of the present invention provides a method for online activating a device, which is applied to a device to be activated, and the method includes:
the device to be activated is connected with a network and acquires a preset character string;
generating a serial number to be authenticated and activated based on the preset character string;
at least sending the activation serial number to be authenticated to an authentication and authorization server for authentication by the authentication and authorization server according to a pre-stored activation serial number list;
and receiving an authorization certificate sent by the authentication and authorization server to complete online activation, and generating the authorization certificate by the authentication and authorization server when the serial number to be authenticated and activated passes authentication.
In a second aspect, an embodiment of the present invention provides another method for online activating a device, which is applied to an authentication and authorization server, and the method includes:
generating an activation serial number list according to an activation serial number provided by a manufacturer and the number of corresponding activatable devices;
receiving a to-be-authenticated activation serial number sent by equipment to be activated, wherein the to-be-authenticated activation serial number is generated by the equipment to be activated based on a preset character string acquired through a connection network;
authenticating the activation serial number to be authenticated according to the activation serial number list;
and generating an authorization certificate after the serial number to be authenticated and activated passes authentication and sending the authorization certificate to the equipment to be activated.
In a third aspect, an embodiment of the present invention provides a storage medium, where one or more programs including execution instructions are stored, where the execution instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to perform any one of the above methods for activating a device online according to the present invention.
In a fourth aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to perform any of the above-described methods of activating a device online.
In a fifth aspect, the present invention further provides a computer program product, which includes a computer program stored on a storage medium, the computer program including program instructions, when executed by a computer, cause the computer to execute any one of the above methods for online activation of a device.
The embodiment of the invention has the beneficial effects that: according to the method for online activating the equipment, the preset character string is acquired when the equipment to be activated is connected with the network, the serial number to be authenticated and activated is generated according to the preset character string and is sent to the authentication and authorization server for authentication, and online activation of the equipment is completed. The method and the device realize the self-definition of the activation serial number by a manufacturer, do not need to write in each device to be activated in advance, are beneficial to activating the devices in large batch, and avoid errors possibly caused by frequently writing the serial number into the devices.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are 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 creative efforts.
FIG. 1 is a flow diagram of one embodiment of a method of online activation of a device of the present invention;
FIG. 2 is a flow chart of another embodiment of a method of online activation of a device of the present invention;
FIG. 3 is a flow chart illustrating a custom serial number according to an embodiment of the present invention;
FIG. 4 is a flow diagram of another embodiment of a method of online activation of a device of the present invention;
FIG. 5 is a flow diagram of one embodiment of the present invention in which an activated device requests voice services;
fig. 6 is a schematic structural diagram of an embodiment of an electronic device according to the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
The invention may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The invention may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
As used in this disclosure, "module," "device," "system," and the like are intended to refer to a computer-related entity, either hardware, a combination of hardware and software, or software in execution. In particular, for example, an element may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. Also, an application or script running on a server, or a server, may be an element. One or more elements may be in a process and/or thread of execution and an element may be localized on one computer and/or distributed between two or more computers and may be operated by various computer-readable media. The elements may also communicate by way of local and/or remote processes based on a signal having one or more data packets, e.g., from a data packet interacting with another element in a local system, distributed system, and/or across a network in the internet with other systems by way of the signal.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be 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. Furthermore, 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 … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
As shown in fig. 1, an embodiment of the present invention provides a method for online activating a device, which is applied to a device to be activated, and the method includes:
and S11, connecting the to-be-activated equipment with the network and acquiring the preset character string.
Illustratively, the device to be activated is activated online on a production line of a device manufacturer, the device to be activated accesses the internet through a router, and the preset character string is acquired through the router. For example, the preset character string may be obtained from a local storage of the router (for example, the preset character string may be a name of the router, or any other character string that may be shared with the device to be activated), or the preset character string may be obtained from the network through the router, which is not limited in the present invention.
And S12, generating the activation serial number to be authenticated based on the preset character string.
For example, the preset character string may be directly used as the activation serial number to be authenticated, or a preset algorithm is adopted to calculate the preset character string to obtain the activation serial number to be authenticated. The preset algorithm may be md5, HmacSHA256 with encryption, etc., which is not limited in the present invention.
S13, at least sending the activation serial number to be authenticated to the authentication and authorization server for the authentication and authorization server to authenticate according to the pre-stored activation serial number list.
Illustratively, the device to be activated sends the generated activation serial number to be authenticated to an authentication and authorization server of the voice service provider to complete authentication. The authentication and authorization server stores an activation serial number list in advance, wherein the activation serial number list comprises a plurality of activation serial numbers and the number of activatable devices corresponding to each activation serial number. The authentication and authorization server is a list of activation serial numbers generated based on the activation serial numbers provided by the manufacturer and the corresponding number of activatable devices.
The activation serial number provided by the manufacturer is also generated according to the preset character string, and the mode for generating the activation serial number is the same as the mode for generating the activation serial number to be authenticated by the equipment to be activated. For example, the activation serial number is directly obtained by using a preset character string, or the activation serial number is obtained by calculating the preset character string by using the same md5 algorithm.
The activation serial number included in the activation serial number list may be a plurality of different activation serial numbers corresponding to a plurality of different preset character strings of the same manufacturer, or a plurality of different activation serial numbers corresponding to a plurality of different preset character strings of a plurality of manufacturers, which is not limited in the present invention.
S14, receiving the authorization certificate sent by the authentication and authorization server to complete online activation, and when the serial number to be authenticated and activated passes authentication, the authentication and authorization server generates the authorization certificate.
According to the method for online activating the equipment, the preset character string is obtained when the equipment to be activated is connected with the network, the serial number to be authenticated and activated is generated according to the preset character string and is sent to the authentication and authorization server for authentication, and online activation of the equipment is completed.
The method and the device realize the self-definition of the activation serial number by a manufacturer, do not need to write in each device to be activated in advance, are beneficial to activating the devices in large batch, and avoid errors possibly caused by frequently writing the serial number into the devices.
In some embodiments, said sending at least said to-be-authenticated activation sequence number to an authentication and authorization server comprises: and sending the to-be-authenticated activation serial number and the equipment identity information of the to-be-activated equipment to an authentication and authorization server, wherein the equipment identity information of the to-be-activated equipment is stored in the authentication and authorization server so as to be used for authentication when the authentication and authorization server receives an activation request only containing the equipment identity information.
For example, although the device may have obtained the authorization certificate on the manufacturer's production line and the activation authorization is initially completed, the end user may lose the authorization certificate during the use of the device (e.g., the device may be formatted to lose the authorization certificate). In this embodiment, since the device identity information of the device to be activated is already sent to the authentication and authorization server for storage when the device is first activated on the production line, the device may directly send the device identity information to the authentication and authorization server for re-authorization when the terminal user uses the device (since the device identity information is stored in the previous first authorization, the activation serial number of the response may be queried, and re-authentication and activation may be performed).
In some embodiments, the method of online activation of a device of the present invention further comprises: and sending the to-be-authenticated activation serial number to an authentication and authorization server, and sending time information corresponding to the to-be-authenticated activation serial number to the authentication and authorization server, wherein the time information is used for judging whether a time interval between the to-be-authenticated activation serial number and an adjacent last to-be-authenticated activation serial number conforms to a conventional time interval or not by the authentication and authorization server, and if not, judging that the to-be-authenticated activation serial number is illegal.
Exemplarily, a plurality of time information corresponding to a plurality of activation serial numbers to be authenticated received within a preset time from the current time are arranged according to a sequence to determine that a time interval between two adjacent activation serial numbers to be authenticated is a regular time interval; and determining whether the time interval between the current activation serial number to be authenticated and the last activation serial number to be authenticated accords with the conventional time interval, if so, indicating that the current activation serial number to be authenticated is a legal serial number, and if not, indicating that the current activation serial number to be authenticated is an illegal serial number.
The embodiment of the invention can prevent others from stealing or cracking the activation serial number uncompensated acquisition service. Even if the activation serial number can be stolen or cracked, the right time for sending the activation serial number to the authentication and authorization server cannot be caught, so that if the activation serial number stolen or cracked by others is included in a series of activation serial numbers received by the authentication and authorization server, the activation serial number is found and judged as an illegal activation serial number because the interval between the activation serial number adjacent to the activation serial number is different from the regular time interval. Therefore, the security of the account information of the client is effectively ensured, and the account information cannot be lost even if being embezzled or cracked.
In some embodiments, the predetermined string is periodically updated to obtain different activation serial numbers at different times, and the device that uses the different activation serial numbers for activation sends the corresponding activation serial numbers to the certificate authority server at different time intervals. Different activation serial numbers can be obtained by regularly updating the preset character strings, and the time interval of sending after the equipment to be activated is acquired is randomly changed corresponding to the activation serial numbers determined by the different preset character strings, thereby ensuring that even if the activation serial numbers are stolen or cracked, since the activation sequence number is updated regularly, the time interval for the device to be activated to transmit the activation sequence number after updating also changes, this leaves the illicit person with insufficient time to obtain the correct time interval from the data it captures, even if acquired, since the present invention periodically updates the activation serial number and the time interval, the time interval acquired by the illegal person is already past, the activation sequence number it sends is still a very obvious highlight among many legitimate sequence numbers to be identified.
As shown in fig. 2, another method for online activating a device is provided in an authentication and authorization server, and includes:
s21, generating an activation serial number list according to the activation serial number provided by the manufacturer and the corresponding number of the activatable devices;
s22, receiving a to-be-authenticated activation serial number sent by a to-be-activated device, wherein the to-be-authenticated activation serial number is generated by the to-be-activated device based on a preset character string acquired through a connection network;
s23, authenticating the activation serial number to be authenticated according to the activation serial number list;
and S24, generating an authorization certificate after the serial number to be authenticated and activated passes the authentication, and sending the authorization certificate to the equipment to be activated.
The method for online activating the equipment, provided by the embodiment of the invention, generates an activation serial number list in advance according to the activation serial number provided by a manufacturer and the corresponding number of the activatable equipment, and authenticates according to the activation serial number list after receiving the activation serial number to be authenticated, which is sent by the equipment to be activated.
The method and the device realize the self-definition of the activation serial number by a manufacturer, do not need to write in each device to be activated in advance, are favorable for activating the devices in large batch, and avoid errors possibly caused by frequently writing the serial number into the devices.
In some embodiments, said authenticating the to-be-authenticated activation sequence number according to the activation sequence number list comprises: and inquiring whether the activation serial number list contains the activation serial number to be authenticated, if so, judging whether the number of corresponding activatable devices is 0, otherwise, judging that the activation serial number to be authenticated passes the authentication, and subtracting 1 from the number of the corresponding activatable devices.
In some embodiments, the method of online activation of a device of the present invention further comprises: the method comprises the steps of receiving and storing the to-be-authenticated activation serial number sent by the to-be-activated equipment so as to authenticate when receiving an activation request only containing equipment identity information.
In some embodiments, the method of online activation of a device of the present invention further comprises: receiving a to-be-authenticated activation serial number sent by equipment to be activated and time information corresponding to the to-be-authenticated activation serial number; determining a conventional time interval between two adjacent activation serial numbers to be authenticated according to a plurality of time information corresponding to a plurality of activation serial numbers to be authenticated received within a preset time from the current time; and judging whether the time interval between the activation serial number to be authenticated and the adjacent last activation serial number to be authenticated accords with the conventional time interval, and if not, judging that the activation serial number to be authenticated is illegal.
The present invention is similar to serial number activation, but addresses the drawbacks of the serial number scheme using the following strategy:
a) the serial number is no longer provided by the service provider, but supports the user-defined;
b) the number of times of use of each serial number supports independent definition;
c) activating the dependent equipment information, wherein the equipment needs to carry an effective serial number when being activated for the first time;
d) and the device does not need to carry a serial number when not activated for the first time.
The invention does not depend on the encryption chip, so the defects caused by using the encryption chip do not exist.
Compared with the commonly used serial number authorization, the serial number authorization method and the serial number authorization system are no longer provided by the service party, are self-defined by the user, and can define the number of the devices which can be activated by the serial number.
The device manufacturer may define the serial number by generating a corresponding character string through a certain algorithm based on the name of a router used for networking of the device, for example, by naming the name of the router as abc and calculating through the md5 algorithm to obtain 900150983cd24fb0d6963f7d28e17f72, the device manufacturer may provide the service provider with the value defined as the serial number and purchase a corresponding authorization number for the serial number.
The device is connected to the router to obtain the name of the router, and the serial number can be obtained through the same algorithm, so that the serial number does not need to be written into the device one by one.
The distribution flow and the device activation flow of the present solution are described below separately.
Fig. 3 is a schematic flow chart of a custom serial number according to an embodiment of the present invention, which includes the following steps:
a) manufacturer sets router name to msg. This step can also be any other hardware and information that can be shared to all devices that need to be activated.
b) And processing the msg based on a specific algorithm func to obtain a serial number license. Specifically, unprocessed, md5, hmac sha256 with encryption, and the like can be used.
c) And the hardware provider provides the generated serial number license and the number num of the devices needing to be activated to the authorized service of the service provider.
d) And after receiving the request, the service of the service provider sets license as the serial number of u and sets the number of the activatable devices to num.
Fig. 4 is a flowchart illustrating another embodiment of the method for online activating a device according to the present invention, which is exemplified by a voice service, but the method of the present invention may also be used for any other type of service, such as an image recognition service, and the present invention is not limited thereto.
As shown in fig. 4, in this embodiment the serial number needs to be provided when the device is first activated, whereas non-first activation is not required. The following describes each flow in detail:
1) obtaining the authorized serial number
1.1), the activating APP on the device obtains the name msg of the router of the networking, and this step may also be any information of any hardware device that can be shared to all devices that need to be activated.
1.2) based on msg, a serial number license is calculated by using a serial number generation algorithm consistent with the definition of the serial number.
2) First activation of
2.1), the device initiates an activation request. And the APP on the equipment initiates an equipment activation request by using the calculated serial number license and the acquired equipment hardware information deviceId.
2.2), verifying and generating an authorization file. And after receiving the activation request, the authentication and authorization service verifies the serial number license, and if the serial number is valid, generates an equipment authorization certificate and sends the equipment authorization certificate to the equipment.
2.3), receiving the authorization file. And after the device acquires the authorization certificate, the authorization certificate is stored locally.
3) Loss of authorization certificate
The device may lose the authorization certificate due to factory reset or other problems, and at this time, the device cannot normally initiate a voice request and needs to be reactivated.
4) Non-first activation
4.1), the device initiates an activation request. The APP on the device initiates a device activation request using the obtained device hardware information (deviceId), at which time the serial number license need not be used.
4.2), verifying and generating an authorization file. And after receiving the activation request, the authentication and authorization service checks the equipment information, and if the equipment information is bound with the effective serial number and is in an activation state, an equipment authorization certificate is generated and issued to the equipment.
4.3), receiving the authorization file. And after the device acquires the authorization certificate, the authorization certificate is stored locally.
Fig. 5 is a flowchart of an embodiment of the present invention in which an activated device requests a voice service, the embodiment includes the following steps:
5.1), the device initiates a voice request. The device initiates a voice request to the voice service using the associated authorization information and the voice request information in the authorization certificate.
5.2), voice service makes authentication request. After receiving the request, the voice service forwards the authorization information to the authentication and authorization service for authentication.
5.3), and performing authentication response by the authentication and authorization service. The authentication and authorization service verifies the information in the request and returns the verification result to the voice service.
5.4), voice response. And the voice service returns a voice processing result or an error prompt according to the authentication result returned by the authentication and authorization service.
It should be noted that for simplicity of explanation, the foregoing method embodiments are described as a series of acts or combination of acts, but those skilled in the art will appreciate that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention. In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In some embodiments, the present invention provides a non-transitory computer readable storage medium, in which one or more programs including executable instructions are stored, and the executable instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to perform any one of the above methods for activating a device online according to the present invention.
In some embodiments, the present invention further provides a computer program product comprising a computer program stored on a non-volatile computer-readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform any of the above methods for activating a device online.
In some embodiments, an embodiment of the present invention further provides an electronic device, which includes: the device comprises at least one processor and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of activating a device online.
In some embodiments, the present invention further provides a storage medium having a computer program stored thereon, where the computer program is used to implement a method for activating a device online when the computer program is executed by a processor.
Fig. 6 is a schematic hardware structure diagram of an electronic device for performing a method for online activating a device according to another embodiment of the present application, where as shown in fig. 6, the device includes:
one or more processors 610 and a memory 620, with one processor 610 being an example in fig. 6.
The apparatus performing the method of activating an apparatus online may further include: an input device 630 and an output device 640.
The processor 610, the memory 620, the input device 630, and the output device 640 may be connected by a bus or other means, such as the bus connection in fig. 6.
The memory 620, which is a non-volatile computer-readable storage medium, may be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for online activation of a device in the embodiments of the present application. The processor 610 executes various functional applications of the server and data processing by executing nonvolatile software programs, instructions and modules stored in the memory 620, namely, implements the method for activating the device online according to the above method embodiment.
The memory 620 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of a device of the online activation apparatus, and the like. Further, the memory 620 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 620 optionally includes memory located remotely from processor 610, which may be connected to the means for activating the device online over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 630 may receive input numeric or character information and generate signals related to user settings and function controls of the devices of the online activation apparatus. The output device 640 may include a display device such as a display screen.
The one or more modules are stored in the memory 620 and, when executed by the one or more processors 610, perform the method of activating a device online in any of the method embodiments described above.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details that are not described in detail in this embodiment, reference may be made to the methods provided in the embodiments of the present application.
The electronic device of the embodiments of the present application exists in various forms, including but not limited to:
(1) mobile communication devices, which are characterized by mobile communication capabilities and are primarily targeted at providing voice and data communications. Such terminals include smart phones (e.g., iphones), multimedia phones, functional phones, and low-end phones, among others.
(2) The ultra-mobile personal computer equipment belongs to the category of personal computers, has calculation and processing functions and generally has the characteristic of mobile internet access. Such terminals include PDA, MID, and UMPC devices, such as ipads.
(3) Portable entertainment devices such devices may display and play multimedia content. Such devices include audio and video players (e.g., ipods), handheld game consoles, electronic books, as well as smart toys and portable car navigation devices.
(4) The server is similar to a general computer architecture, but has higher requirements on processing capability, stability, reliability, safety, expandability, manageability and the like because of the need of providing highly reliable services.
(5) And other electronic devices with data interaction functions.
The above-described embodiments of the apparatus are merely illustrative, and 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 modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a general hardware platform, and may also be implemented by hardware. Based on such understanding, the technical solutions in essence or part contributing to the related art can be embodied in the form of a software product, which can be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the method according to various embodiments or some parts of embodiments.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should 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; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (7)

1. A method for online activation of a device is applied to a device to be activated, and comprises the following steps:
the device to be activated is connected with a network and acquires a preset character string;
generating a serial number to be authenticated and activated based on the preset character string;
at least sending the activation serial number to be authenticated to an authentication and authorization server for authentication by the authentication and authorization server according to a pre-stored activation serial number list;
receiving an authorization certificate sent by the authentication and authorization server to complete online activation, and generating the authorization certificate by the authentication and authorization server when the serial number to be authenticated and activated passes authentication;
regularly updating the preset character string to obtain different activation serial numbers at different periods, and sending the corresponding activation serial numbers to the authentication and authorization server by the equipment which uses the different activation serial numbers for activation at different time intervals;
when the activation serial number to be authenticated is sent to an authentication and authorization server, time information corresponding to the activation serial number to be authenticated is also sent to the authentication and authorization server, and the authentication and authorization server is used for judging whether a time interval between the activation serial number to be authenticated and an adjacent last activation serial number to be authenticated conforms to a conventional time interval or not, and if not, judging that the activation serial number to be authenticated is illegal;
wherein the sending at least the to-be-authenticated activation serial number to an authentication and authorization server comprises: and sending the to-be-authenticated activation serial number and the equipment identity information of the to-be-activated equipment to an authentication and authorization server, wherein the equipment identity information of the to-be-activated equipment is stored in the authentication and authorization server so as to be used for authentication when the authentication and authorization server receives an activation request only containing the equipment identity information.
2. The method of claim 1, wherein the list of activation serial numbers includes a plurality of activation serial numbers and a number of activatable devices corresponding to each activation serial number.
3. The method of claim 1, wherein the device to be activated connecting to a network and acquiring a preset string comprises: and the equipment to be activated is connected with the network through a router in the production line and acquires a preset character string.
4. A method for online activation of a device, applied to an authentication and authorization server, comprises:
generating an activation serial number list according to an activation serial number provided by a manufacturer and the number of corresponding activatable devices;
receiving a to-be-authenticated activation serial number sent by equipment to be activated, wherein the to-be-authenticated activation serial number is generated by the equipment to be activated based on a preset character string acquired through a connection network;
authenticating the activation serial number to be authenticated according to the activation serial number list;
when the serial number to be authenticated and activated passes the authentication, generating an authorization certificate and sending the authorization certificate to the equipment to be activated;
the device to be activated updates the preset character string periodically to obtain different activation serial numbers at different periods, and the device which uses the different activation serial numbers for activation sends the corresponding activation serial numbers to the authentication and authorization server by adopting different time intervals;
the authentication and authorization server receives and stores the equipment identity information of the equipment to be activated while receiving the serial number to be authenticated and activated sent by the equipment to be activated, so as to authenticate when receiving an activation request only containing the equipment identity information;
the authentication and authorization server receives the serial number to be authenticated and activated sent by the equipment to be activated and also receives sent time information corresponding to the serial number to be authenticated and activated; determining a conventional time interval between two adjacent activation serial numbers to be authenticated according to a plurality of time information corresponding to a plurality of activation serial numbers to be authenticated received within a preset time from the current time; and judging whether the time interval between the activation serial number to be authenticated and the adjacent last activation serial number to be authenticated accords with the conventional time interval, and if not, judging that the activation serial number to be authenticated is illegal.
5. The method of claim 4, wherein the authenticating the to-be-authenticated activation sequence number according to the list of activation sequence numbers comprises:
and inquiring whether the activation serial number list contains the activation serial number to be authenticated, if so, judging whether the number of corresponding activatable devices is 0, otherwise, judging that the activation serial number to be authenticated passes the authentication, and subtracting 1 from the number of the corresponding activatable devices.
6. An electronic device, comprising: at least one processor, and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the steps of the method of any one of claims 1-5.
7. A storage medium on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 5.
CN202010765771.5A 2020-08-03 2020-08-03 Method for online activation of device, electronic device and storage medium Active CN111881441B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010765771.5A CN111881441B (en) 2020-08-03 2020-08-03 Method for online activation of device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010765771.5A CN111881441B (en) 2020-08-03 2020-08-03 Method for online activation of device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN111881441A CN111881441A (en) 2020-11-03
CN111881441B true CN111881441B (en) 2022-07-05

Family

ID=73205200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010765771.5A Active CN111881441B (en) 2020-08-03 2020-08-03 Method for online activation of device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111881441B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112597447A (en) * 2020-12-15 2021-04-02 广州橙行智动汽车科技有限公司 Vehicle-mounted service authorization activation method and device and vehicle
CN113542016B (en) * 2021-06-30 2024-03-22 深圳市天视通视觉有限公司 Activation method and device based on serial number and computer readable storage medium
CN114390508B (en) * 2021-12-28 2023-10-27 天翼物联科技有限公司 User asynchronous activation method, system, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187438A (en) * 2015-09-25 2015-12-23 北汽福田汽车股份有限公司 Equipment authorization method, device and system
CN108629161A (en) * 2018-05-08 2018-10-09 深圳市零度智控科技有限公司 Authorize monitoring method, server and readable storage medium storing program for executing
CN110601852A (en) * 2019-09-16 2019-12-20 苏州思必驰信息科技有限公司 Authentication and authorization method and system for electronic equipment of voice conversation platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105187438A (en) * 2015-09-25 2015-12-23 北汽福田汽车股份有限公司 Equipment authorization method, device and system
CN108629161A (en) * 2018-05-08 2018-10-09 深圳市零度智控科技有限公司 Authorize monitoring method, server and readable storage medium storing program for executing
CN110601852A (en) * 2019-09-16 2019-12-20 苏州思必驰信息科技有限公司 Authentication and authorization method and system for electronic equipment of voice conversation platform

Also Published As

Publication number Publication date
CN111881441A (en) 2020-11-03

Similar Documents

Publication Publication Date Title
CN111881441B (en) Method for online activation of device, electronic device and storage medium
US20220394026A1 (en) Network identity protection method and device, and electronic equipment and storage medium
CN105164633B (en) The configuration and verifying carried out by trusted provider
CN108898389A (en) Based on the content verification method and device of block chain, electronic equipment
TWI542183B (en) Dynamic platform reconfiguration by multi-tenant service providers
US20100205448A1 (en) Devices, systems and methods for secure verification of user identity
CN111125677A (en) Equipment authorization method and system
CN103581108A (en) Login authentication method, login authentication client, login authentication server and login authentication system
CN110198296B (en) Authentication method and device, storage medium and electronic device
CN110832479A (en) System and method for software activation and license tracking
CN103744686A (en) Control method and system for installing application in intelligent terminal
CN111431920A (en) Security control method and system based on dynamic token
US20140157368A1 (en) Software authentication
CN112738021A (en) Single sign-on method, terminal, application server, authentication server and medium
EP3008876A1 (en) Roaming internet-accessible application state across trusted and untrusted platforms
CN110971617A (en) Voice equipment authorization method, authentication method and system
CN111953634B (en) Access control method and device for terminal equipment, computer equipment and storage medium
CN109462600A (en) Access method, user equipment, login service device and the storage medium of application
CN110601852B (en) Authentication and authorization method and system for electronic equipment of voice conversation platform
CN110034922B (en) Request processing method, processing device, request verification method and verification device
CN109063461B (en) Third-party password-free login method and system
CN110971609A (en) Anti-cloning method of DRM client certificate, storage medium and electronic equipment
CN112346747B (en) Product service authorization method, electronic device and storage medium
CN111046367B (en) Voice equipment authentication method and system
JP5793593B2 (en) Network authentication method for securely verifying user identification information

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province

Applicant after: Sipic Technology Co.,Ltd.

Address before: 215123 building 14, Tengfei Innovation Park, 388 Xinping street, Suzhou Industrial Park, Suzhou City, Jiangsu Province

Applicant before: AI SPEECH Ltd.

GR01 Patent grant
GR01 Patent grant