Verification method and device, equipment and medium

By obtaining device information, generating a first-rank non-zero verification code and combining the information feedback from users for multiple verification, the problem of garbled verification code for commercial washing and care equipment is solved, ensuring that the device is enabled normally and improving the user experience.

CN120090811APending Publication Date: 2025-06-03QINGDAO JIAOZHOU HAIER WASHING APPLIANCE CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311633718.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-01
Publication Date
2025-06-03

AI Technical Summary

Technical Problem

Commercial washing and care equipment is prone to garbled verification codes during the verification process, which causes users to be unable to recognize the verification codes, thus unable to enable the device, affecting the user experience.

Method used

By obtaining the device information of the device, including the target verification code number, a target verification code with the first non-zero is generated and sent to the device. Obtain feedback information from the user side. If garbled code appears, guide the user to enter the identifiable numbers and device information, and perform multiple verifications to ensure the device is enabled.

Benefits of technology

It effectively solves the problem of garbled verification codes, ensuring that users can identify and verify verification codes normally, thereby enabling the device and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120090811A_ABST
    Figure CN120090811A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of electric appliances, and particularly relates to a verification method and device, equipment and a medium, and the method comprises the steps: obtaining an operation instruction of a user side, and the operation instruction is used for indicating to start the equipment; according to the operation instruction, obtaining device information of the device, the device information including a target verification code digit corresponding to the device; according to the target verification code digit, target verification code information is obtained, the target verification code information comprises a to-be-sent target verification code, and the target verification code is a randomly generated verification code digit of which the first digit is not zero; the target verification code is sent to the device, verification information fed back by the user side according to the target verification code is obtained, the verification information comprises the user verification code or abnormal information, and the abnormal information is used for indicating that the verification code displayed by the device is a messy code. According to the method, the verification codes can be issued differently for different devices, and the user operation is reguided when the abnormal information occurs, so that the normal use of the device by the user is ensured, and the user experience is enhanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of electrical appliances, and specifically relates to a verification method, device, equipment and medium. Background Art

[0002] Currently, commercial washing and care equipment is usually used based on the Internet of Things platform, and a PaaS service platform is packaged on its upper layer to provide services, and user-side management is realized through the SaaS operator platform. When a user verifies a machine before using commercial washing and care equipment, the SaaS operator platform randomly generates a verification code, and through the PaaS service platform, the Internet of Things platform is used to send the verification code to the commercial washing and care equipment.

[0003] However, when the commercial washing and care equipment displays the verification code, garbled characters are likely to appear due to settings and other issues. For example, the number of digits of the verification code that different types of equipment can display is different. In order to be compatible with the differences of different equipment, equipment with a larger displayable number of digits in the prior art will receive a verification code with a leading zero. Due to background compatibility issues, when a verification code with a leading zero is received, the equipment display is likely to show garbled characters. When garbled characters appear, the user cannot recognize the verification code, resulting in the inability to enable the equipment, which brings inconvenience to the user. Summary of the Invention

[0004] In order to solve the problem in the prior art that the verification code of the equipment is prone to garbled characters, resulting in the user being unable to perform identification verification, this application provides a verification method, device, equipment and medium.

[0005] In a first aspect, this application provides a verification method, and the method includes:

[0006] Obtain an operation instruction of the user side, where the operation instruction is used to indicate enabling the equipment;

[0007] According to the operation instruction, obtain the equipment information of the equipment, where the equipment information includes the target verification code digits corresponding to the equipment, and the target verification code digits are used to indicate the number of digits of the verification code that the display screen of the equipment can display;

[0008] According to the target verification code digits, obtain target verification code information, where the target verification code information includes the target verification code to be sent, and the target verification code is a randomly generated verification code number with a non-zero first digit;

[0009] Send the target verification code to the equipment, and obtain the verification information fed back by the user side according to the target verification code, where the verification information includes a user verification code or abnormal information, and the abnormal information is used to indicate that the verification code displayed by the equipment is garbled.

[0010] In a possible implementation, the device information further includes the type and / or color corresponding to the device. After obtaining the verification information fed back by the client according to the target verification code, it includes:

[0011] If the verification information fed back by the client is the abnormal information, send an inquiry message to the client, where the inquiry message is used to indicate whether the garbled characters contain recognizable numbers;

[0012] If the client feeds back that the garbled characters contain recognizable numbers, feed back a supplementary information input page to the client, where the supplementary information input page includes a digital input box and a device information selection box, and the device information selection box is used for the client to select the type and / or color corresponding to the device;

[0013] Obtain the supplementary information fed back by the client through the supplementary information input page;

[0014] Judge whether to enable the device according to the supplementary information, the target verification code, and the type and / or color in the device information.

[0015] In a possible implementation, the judging whether to enable the device according to the supplementary information, the target verification code, and the type and / or color in the device information includes:

[0016] Judge whether the type and / or color fed back by the client is the same as the type and / or color in the device information according to the supplementary information and the device information;

[0017] If so, judge whether the target verification code contains the numbers fed back by the client according to the supplementary information and the target verification code;

[0018] If so, control to enable the device; if not, send a prompt message to the client to prompt that the verification of the client fails.

[0019] In a possible implementation, the target verification code information further includes verification code color information, and the verification code color information includes a color combination formed by the display colors corresponding to each digit in the target verification code. The method further includes:

[0020] If the client feeds back that the garbled characters do not contain recognizable numbers, feed back a color selection page to the client, where the color selection page is used for the client to sequentially select the display colors corresponding to each digit in the target verification code;

[0021] Obtain the user color information fed back by the client through the color selection page;

[0022] Determine whether to enable the device according to the user color information and the verification code color information;

[0023] Wherein, each digit of the target verification code corresponds to a display color, the color combination includes at least two different display colors, and the color combination is generated correspondingly when the target verification code is randomly generated.

[0024] In a possible implementation manner, the determining whether to enable the device according to the user color information and the verification code color information includes:

[0025] Determine whether each color and the corresponding arrangement order in the user color information are the same as the color combination in the verification code color information;

[0026] If so, control to enable the device; if not, send a prompt message to the user side to prompt that the verification of the user side fails.

[0027] In a possible implementation manner, the method further includes:

[0028] If the verification information fed back by the user side is the user verification code, determine whether the user verification code is the same as the target verification code;

[0029] If so, enable the device; if not, send a prompt message to the user side to prompt that the verification of the user side fails.

[0030] In a possible implementation manner, the method is applied to a PaaS platform, and the method further includes:

[0031] The PaaS platform obtains the user side information sent by the SaaS platform, and the user side information includes a user verification code, supplementary information or user color information;

[0032] The PaaS platform performs verification according to the user side information;

[0033] If the verification is passed, the PaaS platform sends a control instruction to the IOT platform to enable the IOT platform to control the device to be enabled;

[0034] If the verification fails, send an information delivery prompt to the SaaS platform to enable the SaaS platform to push a prompt message to the user side to prompt that the verification of the user side fails.

[0035] In a second aspect, the present application provides a verification device, and the device includes:

[0036] An acquisition module, configured to acquire an operation instruction of a user side, wherein the operation instruction is used to indicate enabling a device;

[0037] The obtaining module is further configured to obtain device information of the device according to the operation instruction, where the device information includes the number of digits of the target verification code corresponding to the device, and the number of digits of the target verification code is used to indicate the number of digits of the verification code that can be displayed on the display screen of the device;

[0038] The processing module is configured to obtain target verification code information according to the number of digits of the target verification code, where the target verification code information includes a target verification code to be sent, and the target verification code is a randomly generated verification code number with a non-zero first digit;

[0039] The processing module is further configured to send the target verification code to the device, and obtain verification information fed back by the user terminal according to the target verification code, where the verification information includes a user verification code or abnormal information, and the abnormal information is used to indicate that the verification code displayed on the device is garbled.

[0040] In a third aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the method described in any one of the first aspects.

[0041] In a third aspect, the present application provides an electronic device, including: at least one processor and a memory; where,

[0042] The memory stores computer-executable instructions;

[0043] The at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the method described in any one of the first aspects.

[0044] The verification method, device, device and medium provided in this embodiment obtain device information of the device, including the number of digits of the target verification code corresponding to the device, through an operation instruction of the user terminal. According to the number of digits of the target verification code, a target verification code is generated correspondingly, and the target verification code is sent to the device for display. The verification information fed back by the user terminal according to the target verification code is obtained, and the verification information includes the user verification code or abnormal information fed back by the user. This method avoids the problem of verification code display easily caused by different devices by issuing verification codes with different device differences. At the same time, it is beneficial to judge whether the verification is passed according to the verification information fed back by the user terminal or to re-guide the user to operate according to the abnormal information, so as to ensure the normal use of the device by the user and enhance the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] The drawings here are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.

[0046] Figure 1 The flowchart of the verification method provided by the embodiment of the present application Figure 1 ;

[0047] Figure 2 The flowchart of the verification method provided by the embodiment of the present application Figure 2 ;

[0048] Figure 3 The flowchart of the verification method provided by the embodiment of the present application Figure 3 ;

[0049] Figure 4 The schematic diagram of the application system structure provided by this embodiment;

[0050] Figure 5 A verification device diagram provided by the embodiment of the present invention;

[0051] Figure 6 The hardware schematic diagram of the electronic device provided by the embodiment of the present invention.

[0052] Through the above-mentioned drawings, the clear embodiments of the present application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. Detailed implementation manners

[0053] To make the objectives, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application. Obviously, the described embodiments are some, but not all, of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.

[0054] In the specification and claims of the present invention and the above-mentioned drawings, terms such as "first", "second", "third", "fourth", etc. (if any) are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that such used data may be interchanged under appropriate circumstances so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein.

[0055] In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner.

[0056] When a user uses commercial washing and care equipment, it is necessary to first verify the commercial washing and care equipment to confirm the correctness of the equipment. According to the user's instruction, the background generates a verification code and sends the verification code to the commercial washing and care equipment. After the user reads the verification code on the equipment, the user inputs the recognized verification code from the user side, and the background verifies the correctness of the verification code input by the user, so as to determine whether to control the activation of the equipment.

[0057] Since the configurations of the currently used commercial washing and care equipment are not unified, the display screens of some equipment use diodes for display, and different models of equipment have different numbers of diode digits. For example, some models display 2 digits, and some models display 4 digits. When sending a verification code to the equipment, in order to be compatible with models with different digits, some equipment with more display digits may receive a verification code with a leading zero. For example, a device with a 4-digit display screen may receive a verification code of 0034. At the same time, due to background settings, when the equipment displays a verification code with a leading zero, it is prone to display garbled characters. For example, for the verification code 0034, the first two digits of the device display may be garbled, and the last two digits display 34. In addition, there may also be garbled problems caused by other setting issues. The occurrence of the above problems will affect the user experience when the equipment that has been put into use provides services to users, making it impossible for users to verify and thus activate the equipment.

[0058] In view of the above problems, the present application provides a device verification method. When obtaining the operation instruction of the user side, the target verification code digit corresponding to the device is obtained according to the operation instruction, and the corresponding target verification code is generated according to the target verification code digit, and the above target verification code is a verification code number with a non-zero first digit. After sending the target verification code to the device, the user verification code or abnormal information fed back by the user side according to the target verification code is obtained. Specifically, when the abnormal information indicates that the target verification code is garbled on the device, it is possible to further verify according to the recognizable verification code digits, device type or color in the garbled characters, or verify according to the color combination formed by the colors corresponding to each digit in the target verification code. This method effectively solves the problem that users cannot recognize and verify due to the garbled verification code displayed on the device, ensures the normal use of the device by users, and enhances the user experience.

[0059] The method provided by this application is applicable to various intelligent systems that require device control for authentication, and the device has a display screen. For example, for commercial devices in public places, when a user uses the device, authentication is performed through this method to start the device to ensure that the device is not misused or the device is used correctly; in a smart home system, a user can interact with various smart devices through a mobile phone application. To ensure the security of the system and user privacy, authentication can be performed through this method to ensure that authorized users can operate and control the device; in a smart office system, when a user needs to use a work device for work, authentication can also be performed through this method to avoid data leakage or other unnecessary losses caused by the malicious use of the work device. It should be understood that the above examples are only for explanation and are not limited to specific application scenarios here.

[0060] The technical solution of this application and how the technical solution of this application solves the above technical problems will be described in detail below with specific embodiments. These several specific embodiments below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of this application will be described below with reference to the accompanying drawings.

[0061] Figure 1 The flow of the authentication method provided by the embodiment of this application Figure 1 . As Figure 2 shown, the method includes:

[0062] S101. Obtain an operation instruction of the user terminal, where the operation instruction is used to indicate enabling the device.

[0063] In this step, after the user selects the device to be used, an operation instruction for controlling the device is sent in a specific manner. Exemplarily, for a shared device, the user can send an operation instruction to the device through a mobile application, so that the application passes the operation instruction to the background to control the device to start. Exemplarily, before sending the control instruction, the user can scan the identification code on the device through the mobile terminal or manually input the identification code to confirm the device information of the used device, and carry and transmit it to the background together when the operation instruction is sent. In addition, the user can also confirm the device information and send the operation instruction through a physical button, a voice command or a web interface, which is not limited here.

[0064] S102. According to the operation instruction, obtain the device information of the device, where the device information includes the target verification code digit corresponding to the device, and the target verification code digit is used to indicate the number of verification codes that can be displayed on the display screen of the device.

[0065] In this step, according to the operation instruction, the device information carried therein is obtained. Exemplarily, the device information may include the hardware specifications of the device, the firmware version, or user settings, etc. Among them, the number of digits of the target verification code is also a part of the device information, which indicates the number of digits of the verification code that the device's display screen can display. According to the number of digits of the target verification code, the generation of the verification code can be processed and adapted specifically.

[0066] S103. Obtain target verification code information according to the number of digits of the target verification code. The target verification code information includes the target verification code to be sent, and the target verification code is a verification code number randomly generated with a non-zero first digit.

[0067] In this step, target verification code information is generated according to the number of digits of the target verification code. Among them, the corresponding target verification code is a verification code number with a non-zero first digit. For example, if the number of digits of the target verification code is 4, the range of the target verification code sent can be a number between 1000 and 9999. In this way, the problem of garbled codes caused by verification codes with non-zero first digits can be effectively avoided. In addition, in addition to generating verification code numbers, other additional information can also be considered, such as the valid time of the verification code, the number of valid uses, etc., to avoid repeatedly obtaining verification codes, affecting the normal operation of the background system, or avoiding losses caused by malicious cracking, and increasing the security factor.

[0068] S104. Send the target verification code to the device, and obtain the verification information feedback by the user side according to the target verification code. The verification information includes the user verification code or abnormal information, and the abnormal information is used to indicate that the verification code displayed on the device is garbled.

[0069] In this step, the generated target verification code is sent to the device for display. Exemplarily, in order to increase the security of verification code transmission, encryption and authentication mechanisms can be adopted. For example, the target verification code transmitted is encrypted through a symmetric encryption algorithm or an asymmetric encryption algorithm to avoid being stolen and tampered with by malicious users. The user side verifies according to the target verification code displayed on the device and feedbacks the verification information. When the feedback abnormal information indicates that the displayed verification code is garbled, the user can be guided to operate again according to the abnormal information; when the feedback is the user verification code input by the user, the user verification code can be confirmed to determine whether the verification is passed. Exemplarily, the page for the user side to input verification information may include a verification code input box and an abnormal information selection box. The abnormal information selection box includes an option for verification code garbling, and the user inputs verification information on the page for feedback according to the actual situation.

[0070] Exemplarily, if the verification information feedback by the user side is the user verification code, it is judged whether the user verification code is the same as the target verification code;

[0071] If so, enable the device; if not, send a prompt message to the client to prompt that the verification of the client fails.

[0072] The verification method provided in this embodiment obtains the device information of the device through the operation instruction of the client, including the number of digits of the target verification code corresponding to the device. According to the number of digits of the target verification code, a target verification code is generated correspondingly and sent to the device for display. The verification information fed back by the client according to the target verification code is obtained, and the verification information includes the user verification code or abnormal information fed back by the user. This method avoids the problem of verification code display easily caused by different devices by issuing verification codes with different device differences. At the same time, it is beneficial to judge whether the verification is passed according to the verification information fed back by the client or re-guide the user to operate according to the abnormal information, so as to ensure the normal use of the device by the user and enhance the user experience.

[0073] Figure 2 is the flow of the verification method provided by the embodiment of the present application Figure 2 As Figure 2 shown, on the basis of the Figure 1 embodiment, the processing process of abnormal information is described in detail. Among them, the device information also includes the type and / or color corresponding to the device. The method includes:

[0074] S201. Obtain the verification information fed back by the client according to the target verification code.

[0075] S202. If the verification information fed back by the client is the abnormal information, send an inquiry message to the client, and the inquiry message is used to indicate whether the garbled code contains recognizable numbers.

[0076] In this step, when the verification information fed back by the client indicates that the target verification code is garbled, an inquiry message is sent to the client to ask the user whether the garbled code contains recognizable digital characters. The purpose of this inquiry message is to judge the readability of the garbled code, that is, whether the user can recognize numbers from the garbled code. If the garbled code contains recognizable numbers, the user can be further guided to feedback the recognizable numbers and additional information, so as to assist in verification to avoid affecting the use of the device.

[0077] S203. If the client feedbacks that the garbled code contains recognizable numbers, feedback a supplementary information input page to the client.

[0078] Among them, the supplementary information input page includes a digital input box and a device information selection box, and the device information selection box is used for the client to select the type and / or color corresponding to the device.

[0079] S204. Obtain the supplementary information fed back by the client through the supplementary information input page.

[0080] It should be noted that after the supplementary information input page is fed back to the user terminal, the user can input relevant supplementary information. Among them, in the numeric input box, the user needs to input supplementary numeric information related to the target verification code. The user inputs the corresponding supplementary numeric information according to the recognizable numbers in the garbled characters observed by himself / herself to help further verify the accuracy of the verification code; the device information selection box provides options of device type and / or color for the user to select. The user makes corresponding selections in the selection box according to the actual type and / or color of the device used, so as to further confirm the identity and attributes of the device. Exemplarily, options of either the device type or the color can be displayed for the user to select, or in order to improve the accuracy of verification, both the device type and the color can be displayed for the user to select. In addition, in addition to the type and color, other device characteristics can be added for the user to confirm.

[0081] S205. According to the supplementary information and the device information, determine whether the type and / or color fed back by the user terminal is the same as the type and / or color in the device information.

[0082] In this step, the supplementary information and the device information provided by the user terminal are compared and judged to confirm whether the device type and / or color fed back by the user terminal matches the type and / or color recorded in the device information, so as to confirm the accuracy and consistency of the device information provided by the user terminal.

[0083] S206. If not, send a prompt message to the user terminal to prompt that the verification of the user terminal fails.

[0084] S206. If so, according to the supplementary information and the target verification code, determine whether the target verification code contains the number fed back by the user terminal.

[0085] It should be noted that if the device type and / or color fed back by the user terminal matches the device information, it can be further confirmed whether the number fed back by the user terminal is included in the target verification code. It should be understood that for the number of digits of the recognizable numbers in the garbled characters, it is greater than or equal to 1 digit and less than the number of digits of the target identification code. Therefore, the target identification code contains the number fed back by the user terminal. In order to improve the accuracy of verification, the user terminal can be made to input the numbers into the numeric input box in turn according to the number of digits corresponding to the recognizable numbers, and leave blanks for the number of digits of the garbled characters. In addition, the sequence of the steps of judging and verifying the type and / or color fed back by the user terminal and the steps of judging and verifying the number fed back by the user terminal is not limited here, but both conditions of the above two steps need to be met for the verification to pass.

[0086] S207. If so, control to enable the device.

[0087] S208. If not, execute S206.

[0088] The verification method provided in this embodiment asks the user whether the garbled characters contain recognizable digits, provides a supplementary information input page for the user to input the recognizable digits and supplementary information of the device information, and finally makes a verification judgment based on the supplementary information, and controls the device to enable or send a prompt message indicating that the verification fails. This method ensures the accuracy, reliability, and security of device enabling through multiple confirmations and verifications, and at the same time enhances the user experience, enabling the user to complete the verification process conveniently.

[0089] Figure 3 It is the flow of the verification method provided in the embodiment of the present application Figure 3 As Figure 3 shown, on the basis of the Figure 2 embodiment, the processing process of the abnormal information is further described in detail. Among them, the target verification code information further includes verification code color information, and the verification code color information includes a color combination formed by the display colors corresponding to each digit in the target verification code. The method includes:

[0090] S301. Obtain the verification information fed back by the user terminal according to the target verification code.

[0091] S302. If the verification information fed back by the user terminal is the abnormal information, send an inquiry message to the user terminal, and the inquiry message is used to indicate whether the garbled characters contain recognizable digits.

[0092] S303. If the user terminal feeds back that the garbled characters do not contain recognizable digits, feedback a color selection page to the user terminal, where the color selection page is used for the user terminal to sequentially select the display colors corresponding to each digit in the target verification code.

[0093] Among them, each digit of the target verification code corresponds to a display color, the color combination includes at least two different display colors, and the color combination is generated correspondingly when the target verification code is randomly generated.

[0094] In this step, exemplarily, in the color selection page, the number and arrangement order of color selection boxes correspond to the number and arrangement order of the target verification code digits. When the user clicks on the color selection box corresponding to one digit, a pop-up window will display color patches to be selected for the user side to choose. Exemplarily, the color combination in the verification code color information includes at least two different colors, which is preset according to the actual situation of the device display screen. For example, when the device screen is a digital tube display, since the display colors are limited, the corresponding color combination may only include two colors, such as red and blue. Then, for a 4-digit verification code, the combination of colors displayed for each digit is the permutation and combination of red and blue, such as red-blue-blue-red. When the device is an LED display, the types of display colors are not restricted, and it can be preset that the colors corresponding to each digit of the target verification code are all different.

[0095] S304. Obtain the user color information fed back by the user side through the color selection page.

[0096] In this step, obtain the display color corresponding to each digit of the target verification code selected by the user in sequence. The colors selected by the user will be used as an alternative solution for verification.

[0097] S305. Determine whether each color and its corresponding arrangement order in the user color information are the same as the color combination in the verification code color information.

[0098] S306. If so, control to enable the device.

[0099] S307. If not, send a prompt message to the user side to prompt that the verification on the user side fails.

[0100] It should be noted that when the colors and their arrangement order fed back by the user exactly match the verification code color information, control to enable the device. The background can perform corresponding operations according to the verification result, such as unlocking the device, authorizing access to specific functions, or providing specific services. If the colors and their arrangement order selected by the user do not match the verification code color information, a prompt message will be sent to the user side to inform the user that the verification fails, which can prevent unauthorized device activation. The prompt message can include relevant explanations and suggestions to guide the user to re-verify or take other measures.

[0101] For the verification method provided in this embodiment, when the garbled characters fed back by the user side do not contain recognizable numbers, a color selection page is fed back to the user side for the next verification. The user selects the colors in the corresponding verification code according to the color selection page, and compares the colors selected by the user with the verification color information to determine whether the verification passes. This method ensures the accuracy of device activation through multiple confirmations and verifications. Even when the verification code is garbled, it can support the user to perform verification, enhancing the user experience.

[0102] Exemplarily, the method of the above embodiment can be applied to the PaaS platform. Figure 4 The following is a schematic structural diagram of the application system provided in this embodiment. As Figure 4 shown, the system 40 includes a SaaS platform 401, a PaaS platform 402, an IOT platform 403, and a device 404.

[0103] The PaaS platform 402 obtains the client information sent by the SaaS platform 401, and the client information includes a user verification code, supplementary information, or user color information;

[0104] The PaaS platform 402 verifies according to the client information;

[0105] If the verification is passed, the PaaS platform 402 sends a control instruction to the IOT platform 403 to enable the IOT platform 403 to control and enable the device 404;

[0106] If the verification fails, an information delivery prompt is sent to the SaaS platform 401, so that the SaaS platform 401 pushes a prompt message to the client to prompt that the verification of the client fails.

[0107] In addition, the PaaS platform is also used to generate target verification code information. This method is beneficial to simplifying the work of the SaaS side, integrating all verification-related operations in the PaaS platform, facilitating the development work of numerous SaaS sides, reducing the usage redundancy of the SaaS side, and at the same time lowering the development threshold of the SaaS side.

[0108] Among them, the SaaS platform (Software-as-a-Service) is a model of providing software through the network. The operator of the SaaS platform deploys application software on the server uniformly. Device manufacturers can order the required application software services from the operator through the Internet according to actual needs, and then obtain the services provided by the operator through the Internet. Device manufacturers do not need to purchase software or perform maintenance. At the same time, the SaaS platform also provides offline operation and local data storage, and the user side can use the software and services very conveniently; the PaaS (Platform-as-a-Service) platform is a cloud computing platform, which is provided through the hosting infrastructure of the cloud service provider. In fact, it is an application of the SaaS model. It can provide an intermediate platform for enterprises to carry out customized R & D, and at the same time cover databases and application servers, etc. Device manufacturers can quickly develop the applications or products they need based on the PaaS platform; the IOT platform (The Internet of Things) is responsible for managing devices on a unified platform, so as to efficiently maintain Internet of Things devices and systems. It can usually implement functions such as device registration and authentication, device configuration and control, and device monitoring and diagnosis.

[0109] Figure 5 This is a diagram of a verification device provided by an embodiment of the present invention. As Figure 5 shown, the verification device 50 includes: an acquisition module 501 and a processing module 502.

[0110] The acquisition module 501 is used to acquire an operation instruction of the user side, where the operation instruction is used to indicate enabling the device;

[0111] The acquisition module 501 is further used to acquire device information of the device according to the operation instruction, where the device information includes the number of target verification code digits corresponding to the device, and the number of target verification code digits is used to indicate the number of verification codes that can be displayed on the display screen of the device;

[0112] The processing module 502 is used to acquire target verification code information according to the number of target verification code digits, where the target verification code information includes a target verification code to be sent, and the target verification code is a randomly generated verification code number with a non-zero first digit;

[0113] The processing module 502 is further used to send the target verification code to the device, and acquire verification information fed back by the user side according to the target verification code, where the verification information includes a user verification code or abnormal information, and the abnormal information is used to indicate that the verification code displayed on the device is garbled.

[0114] Figure 6 This is a hardware schematic diagram of an electronic device provided by an embodiment of the present invention. As Figure 6As shown in the figure, the electronic device 60 provided in this embodiment includes: at least one processor 601 and a memory 602. The device 60 also includes a communication component 603. Among them, the processor 601, the memory 602, and the communication component 603 are connected through a bus 604.

[0115] In a specific implementation process, at least one processor 601 executes the computer-executable instructions stored in the memory 602, so that at least one processor 601 executes the above method.

[0116] For the specific implementation process of the processor 601, reference can be made to the above method embodiment. The implementation principle and technical effects are similar, and will not be elaborated here in this embodiment.

[0117] In the above Figure 6 In the shown embodiment, it should be understood that the processor may be a central processing unit (English: Central Processing Unit, abbreviated: CPU), or other general-purpose processors, digital signal processors (English: Digital Signal Processor, abbreviated: DSP), application specific integrated circuits (English: Application Specific Integrated Circuit, abbreviated: ASIC), etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.

[0118] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory, NVM), such as at least one disk memory.

[0119] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.

[0120] This application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When the processor executes the computer-executable instructions, the above method is implemented.

[0121] The above-readable storage medium may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk. The readable storage medium may be any available medium accessible by a general-purpose or special-purpose computer.

[0122] An exemplary readable storage medium is coupled to the processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium may also be a component of the processor. The processor and the readable storage medium may be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium may also exist as discrete components in a device.

[0123] The division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other may be indirect couplings or communication connections through some interfaces, devices, or units, and may be in electrical, mechanical, or other forms.

[0124] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0125] In addition, in each embodiment of the present invention, the functional units may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0126] When the above-mentioned functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs, Read-Only Memories), random access memories (RAMs, Random Access Memories), magnetic disks, or optical discs.

[0127] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When this program is executed, it executes the steps of including the above method embodiments; and the aforementioned storage medium includes: various media that can store program codes, such as ROMs, RAMs, magnetic disks, or optical discs.

[0128] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. The above embodiments are only used to illustrate the technical solution of the present application, rather than to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A verification method, characterized in that, the method includes: Obtaining an operation instruction of a client, wherein the operation instruction is used to indicate enabling a device; According to the operation instruction, obtaining device information of the device, where the device information includes a target verification code digit corresponding to the device, and the target verification code digit is used to indicate the number of verification code digits that can be displayed on a display screen of the device; According to the target verification code digit, obtaining target verification code information, where the target verification code information includes a target verification code to be sent, and the target verification code is a randomly generated verification code number with a non-zero first digit; Sending the target verification code to the device, and obtaining verification information fed back by the client according to the target verification code, where the verification information includes a user verification code or exception information, and the exception information is used to indicate that the verification code displayed on the device is garbled.

2. The method according to claim 1, characterized in that, the device information further includes a type and / or color corresponding to the device. After obtaining the verification information fed back by the client according to the target verification code, it includes: If the verification information fed back by the client is the exception information, sending an inquiry message to the client, where the inquiry message is used to indicate whether the garbled code contains recognizable numbers; If the client feeds back that the garbled code contains recognizable numbers, feeding back a supplementary information input page to the client, where the supplementary information input page includes a digital input box and a device information selection box, and the device information selection box is used for the client to select the type and / or color corresponding to the device; Obtaining supplementary information fed back by the client through the supplementary information input page; Judging whether to enable the device according to the supplementary information, the target verification code, and the type and / or color in the device information.

3. The method according to claim 2, characterized in that, the judging whether to enable the device according to the supplementary information, the target verification code, and the type and / or color in the device information includes: Judging whether the type and / or color fed back by the client is the same as the type and / or color in the device information according to the supplementary information and the device information; If so, judging whether the target verification code contains the numbers fed back by the client according to the supplementary information and the target verification code; If so, controlling to enable the device; if not, sending a prompt message to the client to prompt that the verification of the client fails.

4. The method according to claim 2, characterized in that, the target verification code information further includes verification code color information, where the verification code color information includes a color combination formed by display colors corresponding to each digit in the target verification code, and the method further includes: If the client feeds back that the garbled code does not contain recognizable numbers, feeding back a color selection page to the client, where the color selection page is used for the client to sequentially select the display colors corresponding to each digit in the target verification code; Obtaining user color information fed back by the client through the color selection page; Determine whether to enable the device according to the user color information and the verification code color information; Wherein, each digit of the target verification code corresponds to a display color, the color combination includes at least two different display colors, and the color combination is generated correspondingly when the target verification code is randomly generated.

5. The method according to claim 4, characterized in that, The determining whether to enable the device according to the user color information and the verification code color information includes: Determine whether each color and its corresponding arrangement order in the user color information are the same as the color combination in the verification code color information; If so, control to enable the device; if not, send a prompt message to the user terminal to prompt that the verification of the user terminal fails.

6. The method according to claim 2, characterized in that, The method further includes: If the verification information fed back by the user terminal is the user verification code, determine whether the user verification code is the same as the target verification code; If so, enable the device; if not, send a prompt message to the user terminal to prompt that the verification of the user terminal fails.

7. The method according to any one of claims 1-6, characterized in that, The method is applied to a PaaS platform, and the method further includes: The PaaS platform obtains user terminal information sent by the SaaS platform, and the user terminal information includes a user verification code, supplementary information or user color information; The PaaS platform performs verification according to the user terminal information; If the verification is passed, the PaaS platform sends a control instruction to the IOT platform to enable the IOT platform to control the device to be enabled; If the verification fails, an information delivery prompt is sent to the SaaS platform to enable the SaaS platform to push a prompt message to the user terminal to prompt that the verification of the user terminal fails.

8. A verification device, characterized in that, The device includes: An acquisition module, configured to acquire an operation instruction of a user terminal, where the operation instruction is used to indicate enabling the device; The acquisition module is further configured to, according to the operation instruction, acquire device information of the device, where the device information includes the number of digits of the target verification code corresponding to the device, and the number of digits of the target verification code is used to indicate the number of digits of the verification code that can be displayed on the display screen of the device; A processing module, configured to obtain target verification code information according to the number of digits of the target verification code, where the target verification code information includes a target verification code to be sent, and the target verification code is a randomly generated verification code number with a non-zero first digit; The processing module is further configured to send the target verification code to the device, and acquire verification information fed back by the user terminal according to the target verification code, where the verification information includes a user verification code or abnormal information, and the abnormal information is used to indicate that the verification code displayed by the device is garbled.

9. A computer-readable storage medium, characterized in that, Computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the method according to any one of claims 1-7.

10. An electronic device, characterized in that, it includes: at least one processor and a memory; wherein, the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the method according to any one of claims 1-7.