Data reset method, system, intelligent device and storage medium
By independently processing the network connection status in smart tool hardware products, the device can complete system reset and user unbinding under any network conditions, solving the reset problem when the device and the mobile phone cannot be connected at the same time, improving Product convenience and user experience.
Patent Information
- Application Number
- CN202111082109.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-15
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-09-15
AI Technical Summary
When smart tool hardware products cannot be connected to the network or operated at the same time on the device and the mobile phone, the system cannot be reset and the user cannot be unbound, resulting in limited convenience and user experience.
Provide a data reset method that controls the local end to enter the reset state by receiving data reset instructions, generates data clear instructions based on the network connection status, and independently performs the reset operation of bound data on the cloud to ensure that the local end is in the reset state. System reset and user unbinding can be completed independently under any network conditions.
It solves the problem of system reset and user unbinding when the device and mobile phone cannot be connected at the same time, improves the convenience and user experience of intelligent products, avoids the impact of data reset caused by human operation errors, and ensures that new users can use it for the first time Automatically reset cloud binding data when connected to the Internet, providing a simple user interface.
Smart Images

Figure CN115834376B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a data resetting method, system, intelligent device and storage medium. Background Art
[0002] In recent years, with the continuous development of science and technology, the number of intelligent hardware products has gradually increased. Many hardware products are connected to the Internet and bound to user data, and work as users' private products. Among them, tool hardware products account for the majority. This kind of personalized tool-type intelligent products gradually facilitate our lives.
[0003] This type of tool-type intelligent product usually has a very simple user interface, usually without a display screen to display text or images, and needs to be networked using mobile phone Bluetooth or other network configuration methods. In addition to daily use, this type of device will also face the use scenarios of giving to others and secondary processing and reuse. In this use scenario, two operations, system reset and user unbinding, will be required. In addition, it is necessary to ensure that the device and the mobile phone are online at the same time to process. If one end cannot connect to the network or cannot be operated on both ends at the same time, the system cannot be reset and the user cannot be unbound.
[0004] Therefore, a data reset method is currently needed to solve the problem that the system cannot be reset and the user cannot be unbinded when the device and the mobile phone cannot be connected to the network at the same time or operations cannot be performed on both ends at the same time, so that the local end can independently complete the system reset and user unbinding under any network conditions, thereby improving the convenience of using smart products. Summary of the invention
[0005] In order to solve the technical problem that the system cannot be reset and the user cannot be unbound when the device and the mobile phone cannot be connected to the network at the same time or cannot be operated at both ends at the same time, the present invention provides a data reset method, system, smart device and storage medium. The specific technical solution is as follows:
[0006] The present invention provides a data resetting method, which is applied to a cloud and a local end, wherein the cloud stores binding data of the local end, and comprises the steps of:
[0007] Receiving a data reset instruction and controlling the local end to enter a reset state;
[0008] Receive confirmation of execution instructions;
[0009] Resetting data on the local end according to the confirmation execution instruction in the reset state, and generating a data clearing instruction;
[0010] Detecting the network connection status of the local end;
[0011] The binding data on the cloud is reset according to the network connection status and the data clearing instruction.
[0012] The data reset method provided by the present invention performs different operations on the bound data on the cloud according to different network connection states after the local data is reset, thereby solving the problem that the system cannot be reset and the user cannot be unbound when the local end and the mobile phone end cannot be connected to the network at the same time or operations cannot be performed on both ends at the same time. The local end can independently complete the system reset and user unbinding under any network conditions, thereby improving the convenience of using intelligent products and enhancing the user experience.
[0013] Furthermore, the present invention also provides a data reset method, which, after receiving the data reset instruction and controlling the local end to enter the reset state, further comprises:
[0014] After receiving the cancel execution instruction, controlling the local end to exit the reset state;
[0015] or,
[0016] After the confirmation execution instruction is not received within a preset time, the local end is controlled to exit the reset state.
[0017] The data reset method provided by the present invention discloses two methods for controlling the local end to exit the reset state, thereby preventing the local end from entering the reset state due to human operation errors, thereby causing data reset to affect user experience.
[0018] Furthermore, the present invention also provides a data resetting method, wherein the method of resetting the binding data on the cloud according to the network connection state and the data clearing instruction specifically includes:
[0019] If the network connection status is connected to the network, sending the data clearing instruction to the cloud;
[0020] The binding data on the cloud is reset according to the data clearing instruction.
[0021] The data resetting method provided by the present invention discloses a method for resetting cloud data when a local terminal is connected to the Internet. The method can reset the bound data in the cloud independently when the local terminal is connected to the Internet without the participation of the mobile terminal.
[0022] Furthermore, the present invention also provides a data resetting method, wherein the method of resetting the binding data on the cloud according to the network connection state and the data clearing instruction specifically includes:
[0023] If the network connection status is disconnected, saving the data clearing instruction to the local end;
[0024] Detecting the network connection status in real time;
[0025] When the network connection state is connected to the network, sending the data clearing instruction to the cloud;
[0026] The binding data on the cloud is reset according to the data clearing instruction.
[0027] The data resetting method provided by the present invention discloses a method in which, when a local end is disconnected from the network, the local end data is reset and then the local end is waited for the next time the local end is connected to the network to complete the resetting operation of the bound data on the cloud. After the local end data is reset, the use experience of the local end is not affected. After the next time the cloud data is automatically reset after the network is connected, no additional unbinding steps will be generated, thereby improving the user experience and enhancing the convenience of the product.
[0028] Furthermore, the present invention also provides a data resetting method, which, after resetting the binding data on the cloud according to the network connection status and the data clearing instruction, further comprises:
[0029] Controlling the local terminal to enter a factory state;
[0030] Detecting the network connection status in real time;
[0031] In the factory state, when the network connection state is detected for the first time as being connected to the network, a binding operation between the local end and the cloud is performed.
[0032] The data resetting method provided by the present invention will re-bind the local end and the cloud when resetting the binding data on the cloud when connecting to the network for the first time, and complete the data reset when the local end is disconnected from the network. When a new user gets the local end and connects to the network for the first time, after automatically resetting the cloud binding data, the binding operation between the cloud and the local end will be automatically executed, giving the user a new machine experience and improving the user experience.
[0033] In addition, the present invention provides a data resetting system, which is applied to a cloud and a local end, wherein the cloud stores binding data of the local end, including:
[0034] A receiving module, used for receiving a data reset instruction and confirming an execution instruction;
[0035] A first control module, connected to the receiving module, and configured to control the local terminal to enter a reset state according to a data reset instruction;
[0036] A first data resetting module, connected to the receiving module and the first control module, configured to reset data on the local end according to the confirmation execution instruction in the reset state, and generate a data clearing instruction;
[0037] A detection module, used to detect the network connection status of the local end;
[0038] A second data resetting module is connected to the detection module and the first data resetting module, and is used to reset the binding data on the cloud according to the network connection status and the data clearing instruction.
[0039] Furthermore, the present invention also provides a data reset system, wherein the second data reset module comprises:
[0040] A first sending unit, configured to send the data clearing instruction to the cloud when the detection module detects that the network connection state is connected to the network;
[0041] A saving unit, configured to save the data clearing instruction to the local end when the detection module detects that the network connection state is disconnected;
[0042] A real-time detection unit connected to the storage unit, configured to detect the network connection status in real time after the storage unit stores the data clearing instruction to the local end;
[0043] A second sending unit, connected to the real-time detection unit, is used to send the data clearing instruction to the cloud when the real-time detection unit detects that the network connection status is connected to the network;
[0044] a first data resetting unit, connected to the first sending unit, and configured to reset the binding data on the cloud according to the data clearing instruction after the first sending unit sends the data clearing instruction to the cloud;
[0045] A second data resetting unit is connected to the second sending unit, and is used for resetting the binding data on the cloud according to the data clearing instruction after the second sending unit sends the data clearing instruction to the cloud.
[0046] Additionally, the present invention provides an intelligent device, comprising a control key, an indicator light, a processor, a storage, and a computer program stored in the storage and executable on the processor, wherein the control key is used to input data reset instructions, confirm execution instructions, and data clear instructions, the indicator light is used to display the reset status of the intelligent device, and the processor is used to execute the computer program stored on the storage to implement the operations performed by the above-mentioned data reset method.
[0047] In addition, the present invention provides a method for resetting data of a smart device, which is applied to the above-mentioned smart device and a cloud, wherein the cloud stores binding data of the smart device, comprising the steps of:
[0048] When the control key performs a first operation, the processor receives a data reset instruction and controls the smart device to enter a reset state, and controls the indicator light to present a first display state;
[0049] When the control key performs a second operation, the processor receives a confirmation execution instruction;
[0050] The processor resets the data of the smart device according to the confirmation execution instruction when the smart device is in the reset state, and generates a data clearing instruction to control the indicator light to present a second display state;
[0051] The processor detects the network connection status of the smart device;
[0052] The processor resets the binding data on the cloud according to the network connection status and the data clearing instruction.
[0053] The data resetting method for smart devices provided by the present invention realizes system resetting and user unbinding through a single control key and indicator light, so that the smart device with a very simple user interface can independently complete system resetting and user unbinding under any network conditions, thereby improving the convenience of using smart products.
[0054] Additionally, the present invention provides a storage medium, wherein at least one instruction is stored in the storage medium, and the instruction is loaded and executed by a processor to implement the operation performed by the above-mentioned data resetting method.
[0055] The present invention provides a data reset method, system, smart device and storage medium, which have at least one of the following technical effects:
[0056] (1) After the local data is reset, different operations are performed on the bound data on the cloud according to different network connection states, solving the problem that the system cannot be reset and the user cannot be unbound when the local and mobile terminals cannot be connected to the network at the same time or operations cannot be performed on both ends at the same time. The local terminal can independently complete the system reset and user unbinding under any network conditions, improving the convenience of using intelligent products and enhancing the user experience;
[0057] (2) Avoid human error causing the local terminal to enter a reset state, which may result in data reset and affect user experience;
[0058] (3) When the local end is disconnected from the Internet, the local end data is reset and the next time the local end is connected to the Internet, the local end data is reset. After the local end data is reset, the local end user experience is not affected. After the next time the cloud data is automatically reset after the Internet is connected, no additional unbinding steps will be generated, which improves the user experience and enhances the convenience of the product.
[0059] (4) When a new user gets the local device and connects to the Internet for the first time, the cloud binding data will be automatically reset and the cloud and local device binding operation will be automatically performed, giving the user a new device experience and improving the user experience;
[0060] (5) System reset and user unbinding are achieved through a single control button and indicator light, so that smart devices with a very simple user interface can independently complete system reset and user unbinding under any network conditions, thereby improving the convenience of using smart products. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0062] Figure 1 A flow chart of a data resetting method of the present invention;
[0063] Figure 2 A flowchart of exiting a reset state in a data reset method of the present invention;
[0064] Figure 3 A flow chart of resetting binding data on the cloud in a data resetting method of the present invention;
[0065] Figure 4 Another flow chart of resetting binding data on the cloud in a data resetting method of the present invention;
[0066] Figure 5 Another flow chart of a data resetting method of the present invention;
[0067] Figure 6 A schematic diagram of a data reset system of the present invention;
[0068] Figure 7 Another schematic diagram of a data reset system of the present invention;
[0069] Figure 8 A structural diagram of an intelligent device of the present invention;
[0070] Fig. 9 The present invention is a flow chart of a method for resetting data of a smart device.
[0071] Reference numerals in the figure: smart device 100 , processor 110 , memory 120 , computer program 121 , control key 130 and indicator light 140 . DETAILED DESCRIPTION
[0072] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0073] It should be understood that when used in this specification and the appended claims, the term "comprising" indicates the presence of the described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or collections.
[0074] In order to simplify the drawings, only the parts related to the present invention are schematically shown in each figure, and they do not represent the actual structure of the product. In addition, in order to simplify the drawings and facilitate understanding, in some figures, only one of the parts with the same structure or function is schematically drawn or marked. In this article, "one" not only means "only one", but also means "more than one".
[0075] It should be further understood that the term “and / or” used in the specification and appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0076] In addition, in the description of the present application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0077] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the specific implementation methods of the present invention will be described below with reference to the accompanying drawings. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings and other implementation methods can be obtained based on these drawings without creative work.
[0078] Example 1
[0079] One embodiment of the present invention, as Figure 1 As shown, the present invention provides a data reset method, which is applied to the cloud and the local end, and the cloud stores the binding data of the local end, including the steps of:
[0080] S100 receives the data reset instruction and controls the local end to enter the reset state.
[0081] Specifically, the user performs a reset operation on the local side and inputs a reset instruction to the local side. After receiving the reset instruction input by the user, the local side enters a reset state. The reset state is a response-waiting state. When the local side is in the response-waiting state, it performs different operations according to different subsequent instructions.
[0082] S200 receives a confirmation execution instruction.
[0083] Specifically, the user performs a confirmation execution operation on the local side and inputs a confirmation execution instruction to the local side.
[0084] S300 resets data on the local end according to the confirmation execution instruction in the reset state, and generates a data clearing instruction.
[0085] S400 detects the network connection status of the local end.
[0086] Specifically, the local network connection status includes an offline status and an online status.
[0087] S500 resets the binding data on the cloud according to the network connection status and data clearing instructions.
[0088] Specifically, after the local end receives the data clearing instruction, different reset operations are performed on the bound data on the cloud in combination with different network connection states of the local end.
[0089] The data reset method provided in this embodiment performs different operations on the bound data on the cloud according to different network connection states after the local data is reset, thereby solving the problem that the system cannot be reset and the user cannot be unbinded when the local end and the mobile end cannot be connected to the network at the same time or operations cannot be performed on both ends at the same time. The local end can independently complete the system reset and user unbinding under any network conditions, thereby improving the convenience of using intelligent products and enhancing the user experience.
[0090] Example 2
[0091] Based on Example 1, Figure 2 As shown, after receiving the data reset instruction and controlling the local end to enter the reset state in step S100, the data reset method provided by the present invention further includes:
[0092] After receiving the cancel execution instruction, S610 controls the local end to exit the reset state.
[0093] Specifically, the user performs a cancel operation on the local end and inputs a cancel instruction to the local end. When the local end is in a reset state, which is a response waiting state, it receives the cancel instruction and exits the reset state.
[0094] S620 controls the local end to exit the reset state after no confirmation execution instruction is received within the preset time.
[0095] Specifically, when the user enters the reset state, which is a response-waiting state, at the local end, and does not receive a confirmation execution instruction within a preset time, the local end will exit the reset state, which is a response-waiting state.
[0096] Exemplarily, the preset time may be 5s, 10s, 30s, 1min, etc.
[0097] Steps S610 and S620 are independent steps and there is no order of precedence. Performing step S610 after step S100 will control the local end to exit the reset state and end the data reset process. Performing step S620 after step S100 will also control the local end to exit the reset state and end the data reset process.
[0098] The data reset method provided in this embodiment discloses two methods for controlling the local end to exit the reset state, so as to avoid the local end entering the reset state due to human operation errors, thereby causing data reset to affect user experience.
[0099] Example 3
[0100] Based on Example 1, Figures 3 to 5 As shown, in the data resetting method provided by the present invention, step S500 resets the binding data on the cloud according to the network connection status and the data clearing instruction, specifically including:
[0101] If the network connection status is connected to the network, S511 sends a data clearing instruction to the cloud.
[0102] S512 resets the binding data on the cloud according to the data clearing instruction.
[0103] Specifically, when the local end is connected to the Internet, a data clearing instruction is directly sent to the cloud to reset the cloud data. The local end can independently reset the bound data in the cloud when connected to the Internet.
[0104] Alternatively, if Figure 4 As shown, step S500 resets the binding data on the cloud according to the network connection status and the data clearing instruction, and specifically includes:
[0105] S521 If the network connection status is disconnected, save the data clearing instruction to the local end.
[0106] S522 detects the network connection status in real time.
[0107] When the network connection status is connected to the network, S523 sends a data clearing instruction to the cloud.
[0108] Exemplarily, a sending sequence of a data clearing instruction and other data to be sent is set at the local end, and after the local end is connected to the network, the data clearing instruction is sent to the cloud according to the sending sequence.
[0109] S524 resets the binding data on the cloud according to the data clearing instruction.
[0110] Specifically, when the local end is disconnected from the Internet, the local data is reset and the data clearing instruction is saved to the local end, waiting for the next time the local end is connected to the Internet to complete the reset operation of the cloud-bound data. After the local data is reset, it will not affect the local user experience, and the cloud data will be automatically reset after the next connection to the Internet without generating additional unbinding steps.
[0111] Alternatively, if Figure 5 As shown, after step S500 resets the binding data on the cloud according to the network connection status and the data clearing instruction, it also includes:
[0112] S700 controls the local end to enter the factory state.
[0113] Specifically, after the local data reset and cloud data reset process, the local end restores the function settings and usage habits to the default settings. There is no data binding between the local end and the cloud after the default settings are restored, and the factory state is entered at this time.
[0114] S800 detects network connection status in real time.
[0115] When the S900 is in the factory state and detects that the network connection status is connected for the first time, the local end and the cloud are bound.
[0116] For example, there is no data binding between the local terminal and the cloud. When connecting to the Internet for the first time, you will be asked whether to become the main binding user of the local terminal, and the binding data entered by the user on the local terminal will be transmitted to the cloud.
[0117] The data reset method provided in this embodiment discloses a reset operation of the bound data on the cloud when the local end is in different network states. After the local end data is reset, the user experience of the local end is not affected, and the reset of the cloud data does not generate additional unbinding steps. The data reset can be completed independently under any network state of the local end. At the same time, when a new user gets the local end and connects to the Internet for the first time, after the cloud binding data is automatically reset, the binding operation between the cloud and the local end is automatically executed, which brings the user a new machine experience and improves the user experience.
[0118] Example 4
[0119] One embodiment of the present invention, as Figure 6As shown, the present invention provides a data reset system, which is applied to the cloud and the local end, and the cloud stores the binding data of the local end, including a receiving module 10, a first control module 20, a first data reset module 30, a detection module 40 and a second data reset module 50.
[0120] The receiving module 10 is used to receive a data reset instruction and a confirmation execution instruction.
[0121] Specifically, the user performs a reset operation on the local end to input a reset instruction to the local end, and performs a confirmation operation to input a confirmation execution instruction to the local end, and the local end receives the reset instruction and the confirmation execution instruction input by the user through the receiving module 10 .
[0122] The first control module 20 is connected to the receiving module 10 and is used to control the local end to enter a reset state according to the data reset instruction.
[0123] Specifically, after the local end receives the reset instruction input by the user through the receiving module 10, the first control module 20 controls the local end to enter the reset state. The reset state is a waiting state. When the local end is in the waiting state, it will perform different operations according to different subsequent instructions.
[0124] The first data resetting module 30 is connected to the receiving module 10 and the first control module 20, and is used to reset data on the local end according to the confirmation execution instruction in the reset state, and generate a data clearing instruction.
[0125] The detection module 40 is used to detect the network connection status of the local end.
[0126] Specifically, the detection module 40 detects the network connection status of the local end, including the disconnected state and the connected state.
[0127] The second data resetting module 50 is connected to the detection module 40 and the first data resetting module 30, and is used to reset the binding data on the cloud according to the network connection status and the data clearing instruction.
[0128] Specifically, after the local end receives the data clearing instruction, the second data resetting module 50 performs different resetting operations on the bound data on the cloud in combination with different network connection states of the local end.
[0129] After the local data is reset, the data reset system provided in this embodiment performs different operations on the bound data on the cloud according to different network connection states, thereby solving the problem that the system cannot be reset and the user cannot be unbinded when the local end and the mobile end cannot be connected to the network at the same time or operations cannot be performed on both ends at the same time. The local end can independently complete the system reset and user unbinding under any network conditions, thereby improving the convenience of using intelligent products and enhancing the user experience.
[0130] Example 5
[0131] Based on Example 4, Figure 7 As shown, the second data resetting module 50 in the data resetting system provided by the present invention includes:
[0132] The first sending unit 51 is used to send a data clearing instruction to the cloud when the detection module 40 detects that the network connection state is connected to the network.
[0133] The saving unit 52 is used to save the data clearing instruction to the local end when the detection module 40 detects that the network connection state is disconnected.
[0134] The real-time detection unit 53 is connected to the storage unit 52 and is used to detect the network connection status in real time after the storage unit 52 stores the data clearing instruction to the local end.
[0135] The second sending unit 54 is connected to the real-time detection unit 53, and is used to send a data clearing instruction to the cloud when the real-time detection unit 53 detects that the network connection status is connected to the network.
[0136] Exemplarily, a sending sequence of a data clearing instruction and other data to be sent is set at the local end, and after the local end is connected to the network, the second sending unit 54 sends the data clearing instruction to the cloud according to the sending sequence.
[0137] The first data resetting unit 55 is connected to the first sending unit 51, and is used for resetting the binding data on the cloud according to the data clearing instruction after the first sending unit 51 sends the data clearing instruction to the cloud.
[0138] Specifically, when the local end is connected to the network, the first sending unit 51 directly sends a data clearing instruction to the cloud to reset the cloud data. The local end can independently reset the bound data in the cloud when connected to the network.
[0139] The second data resetting unit 56 is connected to the second sending unit 54, and is used for resetting the binding data on the cloud according to the data clearing instruction after the second sending unit 54 sends the data clearing instruction to the cloud.
[0140] Specifically, when the local end is disconnected from the network, the local end data is reset and the data clearing instruction is saved to the local end. The second data resetting unit 56 waits for the next time the local end is connected to the network to complete the resetting operation of the bound data in the cloud. After the local end data is reset, it will not affect the user experience of the local end, and the cloud data will be automatically reset after the next network connection without generating additional unbinding steps.
[0141] The data reset system provided in this embodiment discloses a system for resetting bound data on the cloud when the local end is in different network states. After the local end data is reset, the user experience of the local end is not affected, and the resetting of the cloud data will not generate additional unbinding steps. Data reset can be completed independently under any network state of the local end.
[0142] Example 6
[0143] One embodiment of the present invention, as Figure 8 As shown, a smart device 100 includes a processor 110, a memory 120, a control key 130 and an indicator light 140. The memory 120 is used to store a computer program 121; the control key 130 is used to input a data reset instruction, confirm an execution instruction and a data clear instruction; the indicator light 140 is used to display the reset state of the smart device 100; the processor 110 is used to execute the computer program 121 stored in the memory 120, and implement the data reset method provided by any one of the method embodiments 1 to 3.
[0144] The user interface of the smart device 100 is simple, without screens or voice or too many buttons, and the smart device 100 can be connected to the network, but can also work normally without being connected to the network. The command input of the smart device 100 is realized through the control key 130, and the display function is realized by the indicator light 140. The control key 130 and the indicator light 140 mentioned in this embodiment are a way to realize the control function and display function of the smart device 100. Other components that realize the control function and display function of the smart device 100 not mentioned in this embodiment, as long as they can achieve the effect of realizing the control function and display function of the smart device 100, all belong to the protection scope of the present invention. The smart device 100 may include, but is not limited to, a processor 110, a memory 120, a control key 130 and an indicator light 140. Those skilled in the art will understand that Figure 8 It is only an example of the smart device 100 and does not constitute a limitation of the smart device 100. It may include more or fewer components than shown in the figure, or combine certain components, or different components. For example, the smart device 100 may also include an input / output interface, a display device, a network access device, a communication bus, a communication interface, etc. The communication interface and the communication bus may also include an input / output interface, wherein the processor 110, the memory 120, the input / output interface and the communication interface communicate with each other through the communication bus. The memory 120 stores a computer program 121, and the processor 110 is used to execute the computer program 121 stored in the memory 120 to implement the data reset method in the above-mentioned corresponding method embodiment.
[0145] Example 7
[0146] One embodiment of the present invention, as Fig. 9 As shown, the present invention also provides a data resetting method for a smart device, which is applied to the smart device and the cloud in Example 6, where the cloud stores binding data of the smart device, including the steps of:
[0147] S1: When the control key performs the first operation, the processor receives the data reset instruction and controls the smart device to enter the reset state, and controls the indicator light to present the first display state.
[0148] Exemplarily, when the smart device is a smart glasses box, a data reset instruction is generated when the user presses and holds the control key on the glasses box for 15 seconds, and the processor receives the data reset instruction and controls the smart device to enter a reset state. The reset state is indicated by the indicator light flashing red to indicate the first display state.
[0149] The reset state is a waiting state. When the local end is in the waiting state, it will perform different operations according to different subsequent instructions.
[0150] S2: When the control key performs the second operation, the processor receives a confirmation execution instruction.
[0151] Exemplarily, when the user long presses the function key for 2 seconds, a confirmation execution instruction is generated, and the processor receives the confirmation execution instruction.
[0152] When the smart device is in a reset state, the S3 processor resets the data of the smart device according to the confirmation execution instruction, generates a data clearing instruction, and controls the indicator light to present a second display state.
[0153] Exemplarily, during the process of resetting data of the smart device according to the confirmation execution instruction, the indicator light flashes green to indicate the second display state.
[0154] The S4 processor detects the network connection status of the smart device.
[0155] Specifically, the network connection status of the smart device includes an offline status and an online status.
[0156] The S5 processor resets the binding data on the cloud based on the network connection status and data clearing instructions.
[0157] Specifically, after the processor receives the data clearing instruction, the processor performs different reset operations on the bound data on the cloud in combination with different network connection states of the smart device.
[0158] The data reset method for smart devices provided in this embodiment realizes system reset and user unbinding through a single control key and indicator light, so that the smart device with a very simple user interface can independently complete system reset and user unbinding under any network conditions, thereby improving the convenience of using smart products.
[0159] Example 8
[0160] One embodiment of the present invention provides a storage medium, in which at least one instruction is stored, and the instruction is loaded and executed by a processor to implement the operation performed by the data reset method provided in any one of Embodiments 1 to 3. For example, the storage medium can be a read-only memory (ROM), a random access memory (RAM), a read-only compact disk (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, etc.
[0161] They can be stored in a storage device and executed by a computing device, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0162] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0163] Those of ordinary skill in the art will appreciate that the units and steps of each example described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed with hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0164] In the embodiments provided in the present application, it should be understood that the disclosed data reset method, system, intelligent device and storage medium can be implemented in other ways. For example, the data reset method, system, intelligent device and storage medium embodiment described above is only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the communication connection between each other shown or discussed can be through some interfaces, communication connections of devices or units or integrated circuits, which can be electrical, mechanical or other forms.
[0165] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on 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.
[0166] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0167] It should be noted that the above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A data resetting method, characterized in that: Applied to the cloud and the local end, the cloud stores the binding data of the local end, including the steps of: Receiving a data reset instruction and controlling the local end to enter a reset state; Receive confirmation execution instructions; Resetting data on the local end according to the confirmation execution instruction in the reset state, and generating a data clearing instruction; Detecting the network connection status of the local end; Resetting the binding data on the cloud according to the network connection status and the data clearing instruction; After resetting the binding data on the cloud according to the network connection status and the data clearing instruction, the method further includes: Controlling the local terminal to enter a factory state; Detecting the network connection status in real time; In the factory state, when the network connection state is detected for the first time as being connected to the network, a binding operation between the local end and the cloud is performed.
2. A data resetting method according to claim 1, characterized in that: After receiving the data reset instruction and controlling the local end to enter the reset state, the method further includes: After receiving the cancel execution instruction, controlling the local end to exit the reset state; or, After the confirmation execution instruction is not received within a preset time, the local end is controlled to exit the reset state.
3. A data resetting method according to claim 1, characterized in that: The resetting of the binding data on the cloud according to the network connection status and the data clearing instruction specifically includes: If the network connection status is connected to the network, sending the data clearing instruction to the cloud; The binding data on the cloud is reset according to the data clearing instruction.
4. A data resetting method according to claim 1, characterized in that: The resetting of the binding data on the cloud according to the network connection status and the data clearing instruction specifically includes: If the network connection status is disconnected, saving the data clearing instruction to the local end; Detecting the network connection status in real time; When the network connection state is connected to the network, sending the data clearing instruction to the cloud; The binding data on the cloud is reset according to the data clearing instruction.
5. A data resetting system based on a data resetting method according to any one of claims 1 to 4, characterized in that: Applied to the cloud and the local end, the cloud stores the binding data of the local end, including: A receiving module, used for receiving a data reset instruction and confirming an execution instruction; A first control module, connected to the receiving module, and configured to control the local terminal to enter a reset state according to a data reset instruction; A first data resetting module, connected to the receiving module and the first control module, configured to reset data on the local end according to the confirmation execution instruction in the reset state, and generate a data clearing instruction; A detection module, used to detect the network connection status of the local end; A second data resetting module is connected to the detection module and the first data resetting module, and is used to reset the binding data on the cloud according to the network connection status and the data clearing instruction.
6. A data resetting system according to claim 5, characterized in that: The second data resetting module comprises: A first sending unit, configured to send the data clearing instruction to the cloud when the detection module detects that the network connection state is connected to the network; A saving unit, configured to save the data clearing instruction to the local end when the detection module detects that the network connection state is disconnected; A real-time detection unit connected to the storage unit, configured to detect the network connection status in real time after the storage unit stores the data clearing instruction to the local end; A second sending unit, connected to the real-time detection unit, is used to send the data clearing instruction to the cloud when the real-time detection unit detects that the network connection status is connected to the network; a first data resetting unit, connected to the first sending unit, and configured to reset the binding data on the cloud according to the data clearing instruction after the first sending unit sends the data clearing instruction to the cloud; A second data resetting unit is connected to the second sending unit, and is used for resetting the binding data on the cloud according to the data clearing instruction after the second sending unit sends the data clearing instruction to the cloud.
7. A smart device, characterized in that: The invention comprises a control key, an indicator light, a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the control key is used to input a data reset instruction, confirm an execution instruction and a data clear instruction, the indicator light is used to display the reset status of the smart device, and the processor is used to execute the computer program stored in the memory to implement the operation performed by the data reset method as described in any one of claims 1 to 4.
8. A method for resetting data of a smart device, characterized in that: Applied to the smart device and the cloud as described in claim 7 above, the cloud storing the binding data of the smart device, comprising the steps of: When the control key performs a first operation, the processor receives a data reset instruction and controls the smart device to enter a reset state, and controls the indicator light to present a first display state; When the control key performs a second operation, the processor receives a confirmation execution instruction; The processor resets the data of the smart device according to the confirmation execution instruction when the smart device is in the reset state, and generates a data clearing instruction to control the indicator light to present a second display state; The processor detects the network connection status of the smart device; The processor resets the binding data on the cloud according to the network connection status and the data clearing instruction.
9. A storage medium, characterized in that: The storage medium stores at least one instruction, and the instruction is loaded and executed by the processor to implement the operation performed by the data resetting method according to any one of claims 1 to 4.
