Data synchronization method and device, storage medium and program product

Through the wireless LAN connection between the WIFI module of the smart device and the routing device, efficient, reliable and stable synchronization of the commercial inspection data of the smart device is achieved, solving the problems of low synchronization efficiency and poor reliability in the prior art.

CN119653476APending Publication Date: 2025-03-18XIAOMI TECH (WUHAN) CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411878303.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-18
Publication Date
2025-03-18

AI Technical Summary

Technical Problem

In the prior art, the synchronization efficiency of smart equipment commodity inspection data is low, the reliability and stability are poor, and manual operation is required to lead to low efficiency and may lead to data synchronization errors.

Method used

Through the wireless LAN connection between the WIFI module of the smart device and the routing device, the WIFI module obtains device detection data from the motherboard of the smart device, and reports the data to the device management cloud platform through the routing device and server.

Benefits of technology

It realizes efficient, reliable and stable synchronization of intelligent device detection data, integrates into the detection process of intelligent devices, and improves the efficiency, reliability and stability of data synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119653476A_ABST
    Figure CN119653476A_ABST
Patent Text Reader

Abstract

The invention relates to a data synchronization method and device, a storage medium and a program product. The data synchronization method applied to a server comprises the steps that device detection data of a target intelligent device sent by a routing device is received, a WIFI module of the target intelligent device is connected with the routing device through a wireless local area network, and the WIFI module is used for obtaining the device detection data from a mainboard of the target intelligent device, the equipment detection data is sent to the routing equipment; and reporting the equipment detection data to an equipment management cloud platform. According to the technical scheme, efficient, reliable and stable synchronization of the detection data of the intelligent equipment can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of smart device technology, and in particular to a data synchronization method, device, storage medium, and program product. Background Art

[0002] With the development of smart device technology, the application of smart devices is becoming more and more extensive. In the application scenarios of smart devices, it involves commodity inspection of smart devices, which can detect whether the performance of smart devices is qualified. In the commodity inspection process of smart devices, it is usually necessary to synchronize the commodity inspection data to the corresponding management platform. Summary of the invention

[0003] To overcome the problems existing in the related art, the present disclosure provides a data synchronization method, device, storage medium and program product.

[0004] According to a first aspect of an embodiment of the present disclosure, a data synchronization method is provided, which is applied to a server, and the data synchronization method includes: receiving device detection data of a target smart device sent by a routing device, a WIFI module of the target smart device is connected to the routing device via a wireless local area network, and the WIFI module is used to obtain the device detection data from a mainboard of the target smart device and send the device detection data to the routing device; and reporting the device detection data to a device management cloud platform.

[0005] Optionally, the data synchronization method also includes: generating a data acquisition request; sending the data acquisition request to the routing device, so that the routing device sends the data acquisition request to the WIFI module, and the WIFI module is used to obtain the device detection data from the mainboard according to the data acquisition request.

[0006] Optionally, generating the data acquisition request includes: determining a detection requirement corresponding to the target smart device; and generating the data acquisition request according to the detection requirement corresponding to the target smart device.

[0007] Optionally, the data acquisition request is used to request acquisition of device detection data of the target smart device in a target operating state.

[0008] According to a second aspect of an embodiment of the present disclosure, a data synchronization method is provided, which is applied to a smart device, wherein the smart device includes a WIFI module and a main board, and the data synchronization method includes: obtaining device detection data from the main board through the WIFI module; sending the device detection data to a routing device through the WIFI module, the WIFI module and the routing device are connected via a wireless local area network, the routing device is used to send the device detection data to a server, and the server is used to report the device detection data to a device management cloud platform.

[0009] Optionally, obtaining device detection data from the mainboard through the WIFI module includes: receiving a data acquisition request sent by the routing device through the WIFI module, the routing device being used to receive the data acquisition request sent by the server; and obtaining device detection data from the mainboard through the WIFI module according to the data acquisition request.

[0010] Optionally, the data acquisition request is used to request to obtain detection data of the target smart device in a target operating state, and obtaining device detection data from the mainboard through the WIFI module according to the data acquisition request includes: sending the data acquisition request to the mainboard through the WIFI module; controlling the target smart device to operate in the target operating state through the mainboard according to the data acquisition request; and obtaining device detection data of the target smart device in the target operating state from the mainboard through the WIFI module.

[0011] Optionally, the mainboard includes a sensor, and obtaining the device detection data of the target smart device in the target operating state from the mainboard through the WIFI module includes: collecting the device detection data of the target smart device in the target operating state through the sensor; obtaining the device detection data from the sensor through the WIFI module.

[0012] According to a third aspect of an embodiment of the present disclosure, a data synchronization device is provided, which is applied to a server, and the data synchronization device includes: a receiving module, configured to receive device detection data of a target smart device sent by a routing device, a WIFI module of the target smart device is connected to the routing device via a wireless local area network, and the WIFI module is used to obtain the device detection data from a mainboard of the target smart device and send the device detection data to the routing device; a reporting module, configured to report the device detection data to a device management cloud platform.

[0013] According to a fourth aspect of an embodiment of the present disclosure, a data synchronization device is provided, which is applied to a smart device, wherein the smart device includes a WIFI module and a main board, and the data synchronization device includes: an acquisition module, configured to acquire device detection data from the main board through the WIFI module; a sending module, configured to send the device detection data to a routing device through the WIFI module, the WIFI module and the routing device are connected via a wireless local area network, the routing device is used to send the device detection data to a server, and the server is used to report the device detection data to a device management cloud platform.

[0014] According to the fifth aspect of an embodiment of the present disclosure, a data synchronization device is provided, comprising: a processor; a memory for storing processor executable instructions; wherein the processor is configured to: execute the executable instructions to implement the data synchronization method described in the first aspect or the second aspect of the present disclosure.

[0015] According to a sixth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the program instructions are executed by a processor, the data synchronization method described in the first aspect or the second aspect of the present disclosure is implemented.

[0016] According to a seventh aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the data synchronization method described in the first aspect or the second aspect of the present disclosure.

[0017] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects: The WIFI module of the smart device is connected to the routing device through a wireless LAN. The WIFI module can obtain device detection data from the mainboard of the smart device, transmit it to the routing device via the WIFI module, then transmit it to the server via the routing device, and then report it to the device management cloud platform via the server. Therefore, the technical solution is based on the data synchronization link composed of the WIFI module, routing device, server and device management cloud platform of the smart device to achieve the acquisition and synchronization of device detection data. The data synchronization link can be integrated into the detection process of the smart device to improve the efficiency, reliability and stability of data synchronization. Therefore, the technical solution can achieve efficient, reliable and stable synchronization of detection data of smart devices.

[0018] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0020] Figure 1 It is a schematic diagram showing an application scenario according to an exemplary embodiment.

[0021] Figure 2 The present invention is a flowchart of a data synchronization method according to an exemplary embodiment.

[0022] Figure 3 The figure is a schematic diagram of back-end management of commodity inspection data according to an exemplary embodiment.

[0023] Figure 4 The figure is a flow chart of another data synchronization method according to an exemplary embodiment.

[0024] Figure 5 The figure is a schematic diagram of a commodity inspection process according to an exemplary embodiment.

[0025] Figure 6 The figure is a schematic diagram of a commodity inspection data synchronization process according to an exemplary embodiment.

[0026] Figure 7 The invention is a block diagram of a data synchronization device according to an exemplary embodiment.

[0027] Figure 8 is a block diagram of yet another data synchronization device according to an exemplary embodiment.

[0028] Fig. 9 The invention is a block diagram of a smart device according to an exemplary embodiment.

[0029] Fig.10 The present invention is a block diagram of a device for implementing a data synchronization method applied to a server according to an exemplary embodiment. DETAILED DESCRIPTION

[0030] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0031] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0032] With the development of smart device technology, the application of smart devices is becoming more and more extensive. In the application scenarios of smart devices, it involves commodity inspection of smart devices, which can detect whether the performance of smart devices is qualified. In the commodity inspection process of smart devices, it is usually necessary to synchronize the commodity inspection data to the corresponding management platform.

[0033] Regarding smart devices, they can be smart devices in different fields. For example, in the field of home appliances, smart devices can be home appliances such as air conditioners, refrigerators, and washing machines. In the field of electronic products, smart devices can be electronic devices such as computers, tablet computers, and televisions.

[0034] In the related art, regarding the synchronization of commodity inspection data, usually after the commodity inspection process is completed, the quality inspector manually uploads the commodity inspection data to the corresponding management platform. This data synchronization method requires manual operation, resulting in low data synchronization efficiency. In addition, it may also cause data synchronization errors, resulting in poor reliability and stability of data synchronization.

[0035] Considering the growing development of the networking function of smart devices, taking home appliances as an example, smart networked home appliances are gradually becoming popular. The networking of home appliances can not only improve the user experience, but also assist home appliance manufacturers in after-sales and operation and maintenance management. Therefore, if the networking function of smart devices can be used to synchronize commodity inspection data, a better data synchronization effect can be achieved.

[0036] Based on this, considering the networking capabilities of smart devices, WIFI modules can be configured for smart devices to connect to the corresponding remote control terminal, which can achieve the effect of remote control of smart devices by applications. Furthermore, the function of the WIFI module can also be used to synchronize commodity inspection data to the device management platform.

[0037] Furthermore, in the embodiment of the present disclosure, the WIFI module of the smart device is connected to the routing device through a wireless local area network, and the device detection data can be obtained from the mainboard of the smart device, transmitted to the routing device via the WIFI module, and then transmitted to the server via the routing device, and then reported to the device management cloud platform via the server.

[0038] Therefore, the technical solution is based on the data synchronization link composed of the WIFI module, routing device, server and device management cloud platform of the smart device to achieve the acquisition and synchronization of device detection data. The data synchronization link can be integrated into the detection process of the smart device to improve the efficiency, reliability and stability of data synchronization. Therefore, the technical solution can achieve efficient, reliable and stable synchronization of the detection data of the smart device.

[0039] Furthermore, applying this technical solution to the field of household appliances can solve the problems of low efficiency, poor reliability and stability in the synchronization of commercial inspection data of household appliances, and achieve efficient, reliable and stable synchronization of the inspection data of household appliances.

[0040] Regarding home appliances, they can be: air conditioners, washing machines, refrigerators, etc., which can be equipped with smart networking modules.

[0041] Figure 1 is a schematic diagram showing an application scenario according to an exemplary embodiment. Figure 1 As shown, in this application scenario, it includes: smart devices, routing devices, servers and device management cloud platform.

[0042] Among them, the smart device includes a WIFI module and a mainboard. The smart device can establish a wireless LAN connection with the routing device through the WIFI module, the routing device can maintain a communication connection with the server, and the server and the device management cloud platform can maintain a communication connection.

[0043] Among them, smart devices can be household appliances, electronic products, etc.; routing devices can be routers or other network devices.

[0044] Regarding the server, there may also be a corresponding front end, which can be implemented through software or applications. The front end can have interactive functions such as visualization, and the server acts as the back end to perform data processing.

[0045] For example, in a commodity inspection scenario, commodity inspection software can be configured, and the backend of the commodity inspection software can be Figure 1 The server side shown in the figure, the front end of the commodity inspection software is Figure 1 Not reflected in.

[0046] In this application scenario, after the router and the server are started, they can maintain communication connection with each other. The server can detect the WIFI connection status of the router in real time. The router can report relevant information to the server, and the server can also send information to the router. Therefore, after the smart device is connected to the router, the smart device can route various data to the server through the router, and the server can also route various instructions or data to the smart device through the router.

[0047] The device management cloud platform can be a factory backend management cloud platform for smart devices. For example, the cloud platform can be an IOT (Internet of Things) cloud platform, which can realize the data management of smart devices produced in the factory. Accordingly, the system architecture composed of smart devices, routing devices, servers and device management cloud platforms can belong to an IoT architecture.

[0048] It can be understood that the server can be used as a commodity inspection processing end, which not only needs to record the commodity inspection data locally, but also needs to report the commodity inspection data to the equipment management cloud platform.

[0049] The commodity inspection data can be understood as equipment inspection data, which can be data related to equipment performance inspection. For example, the equipment inspection data can include: equipment operation data and equipment inspection result data. Among them, the equipment operation data can be used as the data basis for equipment inspection to determine whether the performance of the equipment is qualified. The equipment inspection result data can directly represent whether the equipment performance is qualified.

[0050] Specifically, the equipment operation data includes: equipment operation temperature, equipment operation current, equipment output power, etc., which are not listed one by one here. Equipment test result data includes: qualified, unqualified, and pending further testing, etc.

[0051] The introduction of the above equipment detection data is only an example. In different commodity inspection scenarios, according to different commodity inspection requirements, more different types of commodity inspection data may be involved, which is not limited here.

[0052] Figure 2 is a flow chart of a data synchronization method according to an exemplary embodiment. Figure 2 As shown, the method can be applied to the server, and the data synchronization method includes the following steps: Step S21, receiving device detection data of the target smart device sent by the routing device, the WIFI module of the target smart device is connected to the routing device through a wireless LAN, the WIFI module is used to obtain device detection data from the mainboard of the target smart device, and send the device detection data to the routing device.

[0053] Step S22, reporting the device detection data to the device management cloud platform.

[0054] In step S21, the target smart device is a smart device that has established a wireless LAN connection with the routing device, so the WIFI module of the target smart device can transmit data with the routing device. Thus, the WIFI module obtains device detection data from the motherboard of the target smart device, and then synchronizes the device detection data to the routing device, and then synchronizes it to the server via the routing device.

[0055] In some embodiments, based on the commodity inspection scenario, the target smart device may be any device to be inspected among multiple devices to be inspected.

[0056] In the commodity inspection scenario, after the commodity inspection process is triggered on the smart device side, the server can continuously detect the wireless LAN connection status between multiple smart devices to be inspected and the routing device to detect whether a wireless LAN connection is established between the target smart device and the routing device.

[0057] In some embodiments, the routing device may include multiple routing devices located in the same wireless local area network, and the multiple routing devices are respectively set in different device detection areas.

[0058] Accordingly, the smart device establishes a wireless LAN connection with the routing device within the device detection area where the smart device is located by default.

[0059] Regarding establishing a wireless LAN connection, it can be understood that after the smart device searches for the WIFI network provided by the routing device, it performs the WIFI network connection operation through the default account and password. After the WIFI network connection is successful, it is considered that the smart device and the routing device have established a wireless LAN connection.

[0060] Therefore, in the commodity inspection scenario, multiple routing devices can be configured to enhance the coverage of the wireless local area network, so that each smart device that needs to be inspected can establish a wireless LAN connection with the corresponding routing device, thereby achieving synchronization of device inspection data of each smart device that needs to be inspected.

[0061] In some embodiments, the smart device can actively trigger the establishment of a wireless LAN connection with the routing device. For example, in a commodity inspection scenario, when the commodity inspection process (mode) is started, the smart device can trigger the establishment of a wireless LAN connection with the routing device.

[0062] Therefore, for the smart device, when the triggered detection signal is detected, a wireless LAN connection is established with the routing device through the WIFI module.

[0063] In this embodiment, triggering the detection signal is regarded as starting the commodity inspection process. It is understandable that there are many ways to trigger the detection signal.

[0064] By way of example, the detection signal may be: a first power-on signal, a key trigger signal, or an infrared remote control trigger signal.

[0065] The first power-on signal may be a power-on signal triggered when the smart device is assembled and then powered on for the first time. The first power-on signal may be triggered by the user or remotely by a corresponding control device, which is not limited here. Taking household appliances as an example, a refrigerator may adopt the implementation method of first power-on triggering. If the refrigerator is not powered on for the first time, it may be combined with a button trigger.

[0066] The key trigger signal can be a trigger signal generated by the user operating a key. For example, a corresponding commodity inspection start key is set on the smart device. The user can generate a key trigger signal by long pressing the start key, thereby triggering the commodity inspection process. Taking home appliances as an example, a washing machine can adopt the implementation method of key trigger signal. For example, while triggering the setting key, press and hold the softener key for 2S, and the key trigger signal can be completed 30S after the machine is turned on.

[0067] The infrared remote control trigger signal may be a commodity inspection mode start signal initiated by an infrared remote control, which requires external infrared remote control equipment, and specific reference may be made to mature infrared remote control technology in the art. Taking household appliances as an example, an air conditioner may be triggered by an infrared remote control.

[0068] Furthermore, when any of the above possible trigger signals is received, it is deemed that the commodity inspection mode is started. Accordingly, the WIFI module can search for the WIFI network of the routing device, and connect to the WIFI network through the corresponding account and password configuration, thereby realizing the wireless LAN connection with the routing device.

[0069] In some embodiments, the smart device may also be configured with a screen display device, which may display whether the WIFI connection is successful, or display commodity inspection data, etc.

[0070] In some embodiments, the specific implementation method of the target smart device acquiring the device detection data is introduced in the subsequent embodiments.

[0071] In some embodiments, the target smart device may actively send device detection data after establishing a wireless LAN connection with the routing device.

[0072] In some embodiments, the target smart device can feedback device detection data matching the data acquisition request based on the data acquisition request of the server.

[0073] Therefore, as an optional implementation, the data synchronization method also includes: generating a data acquisition request; sending the data acquisition request to the routing device, so that the routing device sends the data acquisition request to the WIFI module, and the WIFI module is used to obtain device detection data from the mainboard according to the data acquisition request.

[0074] In this implementation, the server generates a data acquisition request and synchronizes it to the WIFI module through the routing device, so that the WIFI module obtains the device detection data matching the data acquisition request from the mainboard.

[0075] In some embodiments, generating a data acquisition request includes: determining a detection requirement corresponding to a target smart device; and generating a data acquisition request according to the detection requirement corresponding to the target smart device.

[0076] In this implementation, the detection requirements corresponding to the target smart device can be obtained from the device management cloud platform, or from the pre-configuration information of the server. The pre-configuration information can include the requirements information for the equipment commercial inspection.

[0077] For example, the detection requirement may be to detect a specified function of the device, to detect a specified operating parameter of the device, to detect a specified hardware parameter of the device, etc.

[0078] Therefore, based on different detection requirements, corresponding data acquisition requests can be generated.

[0079] As an example, a data acquisition request may be used to request the acquisition of device detection data of a target smart device in a target operating state. The target operating state may be associated with a specified function of the smart device. For example, if the drying function of a washing machine needs to be detected, the data acquisition request may be used to request the acquisition of detection data of the washing machine in the drying mode.

[0080] As an example, the data acquisition request may be used to request to acquire the target operating parameters of the target smart device when it is running, wherein the target operating parameters are, for example, the temperature data of a refrigerator at the maximum gear.

[0081] As an example, the data acquisition request may be used to request acquisition of target hardware parameters of a target smart device, such as the maximum operating power and rated power of an air conditioner.

[0082] It can be understood that in different application scenarios, there may be different detection requirements, and different data acquisition requests may be generated accordingly, which will not be exemplified one by one here.

[0083] In some embodiments, the data acquisition request may be generated based on a specific data transmission protocol. For example, the data acquisition request includes: an identifier of the WIFI module, and also includes: an identifier of the target operating state, an identifier of the target operating parameter, or an identifier of the target hardware parameter.

[0084] Therefore, after the WIFI module of the smart device receives the data acquisition request, it can first parse the content according to the data transmission protocol, and inform the main board of the device detection data that needs to be acquired based on the parsed content.

[0085] Through this implementation method, the server can not only obtain equipment detection data, but also obtain specified equipment detection data, thereby achieving the effect of remotely controlling equipment commercial inspection.

[0086] Correspondingly, for smart devices, the generation of device detection data can be achieved based on the data acquisition request, and the specific implementation method will be introduced in the subsequent embodiments.

[0087] Furthermore, in step S22, the device detection data is reported to the device management cloud platform.

[0088] In some embodiments, after receiving the reported device detection data, the device management cloud platform can clean the device detection data, remove invalid data or abnormal data, and then store the cleaned data. When there is a subsequent need, the relevant data can be obtained at any time for application.

[0089] For example, after a product is sold, if there is a product quality problem, the product quality problem can be analyzed by querying the device inspection data stored in the device management cloud platform to improve the efficiency of problem solving.

[0090] In some embodiments, device detection data can be synchronized to the device management cloud platform via a message queue.

[0091] In some embodiments, the device management cloud platform may store the cleaned data in the form of unstructured data.

[0092] In some embodiments, the server may perform log records based on the device detection data so that the server also has corresponding data records.

[0093] Figure 3 is a schematic diagram of back-end management of commodity inspection data according to an exemplary embodiment. Figure 3 As shown, the server is used to obtain commodity inspection data from the factory. The server transmits the commodity inspection data obtained from the factory to the cloud platform in the form of a message queue. The cloud platform cleans the commodity inspection data and finally stores the cleaned data in the form of unstructured data.

[0094] It can be understood that in different application scenarios, the back-end management of commodity inspection data can also adopt other implementation methods, which are not limited to the implementation methods introduced in the embodiments of the present disclosure.

[0095] It can be seen from the introduction of the above server embodiment that in the synchronization process of commodity inspection data, the server mainly plays the role of data acquisition and data synchronization to the device management cloud platform, and the routing device mainly plays the role of routing data. In addition, the server can also send a data acquisition request to the smart device, so that the commodity inspection data provided by the smart device is the data that matches the data acquisition request.

[0096] Through this implementation, the smart device can stably, reliably and efficiently transmit the commodity inspection data through the routing device and the server, and finally synchronize it to the device management cloud platform. In addition, based on the data acquisition request, the commodity inspection data that matches the commodity inspection requirements can be synchronized to improve the applicability of the commodity inspection data.

[0097] Figure 4 is a flow chart of another data synchronization method according to an exemplary embodiment. The data synchronization method is applied to a smart device and includes the following steps: Step S41, obtaining device detection data from the main board through the WIFI module.

[0098] Step S42, the device detection data is sent to the routing device through the WIFI module. The WIFI module and the routing device are connected through a wireless local area network. The routing device is used to send the device detection data to the server, and the server is used to report the device detection data to the device management cloud platform.

[0099] Among them, the method of establishing a wireless LAN connection between the WIFI module and the routing device can refer to the aforementioned embodiment and will not be repeated here.

[0100] In some embodiments, the mainboard may actively generate device detection data, or may generate device detection data based on a data acquisition request sent by a server.

[0101] In some embodiments, after the WIFI module establishes a wireless LAN connection with the routing device, the mainboard can be informed that the WIFI connection is successful. Further, the mainboard can actively generate active detection data, so that the WIFI module can obtain the detection data actively generated by the mainboard.

[0102] In some embodiments, after the WIFI module establishes a wireless LAN connection with the routing device, the mainboard can be informed that the WIFI connection is successful. Further, the mainboard can wait for the data acquisition request from the server synchronized by the WIFI module, and generate active detection data based on the data acquisition request, so that the WIFI module can obtain the detection data generated by the mainboard based on the data acquisition request.

[0103] Therefore, as an optional implementation, step S41 includes: receiving a data acquisition request sent by a routing device through a WIFI module, and the routing device is used to receive a data acquisition request sent by a server; and acquiring device detection data from the mainboard according to the data acquisition request through the WIFI module. Regarding the implementation of the data acquisition request, reference may be made to the introduction of the aforementioned embodiment, which will not be repeated here.

[0104] As an example, when the data acquisition request is used to request the acquisition of detection data of the target smart device in the target operating state, step S41 includes: sending the data acquisition request to the mainboard through the WIFI module; controlling the target smart device to operate in the target operating state according to the data acquisition request through the mainboard; and acquiring the device detection data of the target smart device in the target operating state from the mainboard through the WIFI module.

[0105] In this implementation, the WIFI module sends a data acquisition request to the mainboard, and the mainboard can control the target smart device to operate in the target operating state based on the data acquisition request. Furthermore, the mainboard can generate device detection data of the target smart device in the target operating state, so that the WIFI module can obtain the device detection data to obtain device detection data matching the data acquisition request.

[0106] In combination with the introduction of the foregoing embodiment, the target operating state may be an operating state associated with a specific function. Therefore, the mainboard may enable the target smart device to operate in the target operating state by starting the specific function of the target smart device.

[0107] In some embodiments, the mainboard may include a sensor, and device detection data of the target smart device in the target operating state is obtained from the mainboard through the WIFI module, including: collecting device detection data of the target smart device in the target operating state through the sensor; obtaining device detection data from the sensor through the WIFI module.

[0108] In this implementation, the mainboard collects device detection data through sensors, so that the WIFI module can obtain the device detection data from the sensor.

[0109] In some embodiments, the device operation data in the device detection data can be obtained from a sensor. For data that needs to be analyzed or processed before being obtained, other methods can be used to obtain it.

[0110] For example, the equipment test result data usually needs to be determined in combination with the quality inspection judgment of the quality inspector. Therefore, the equipment test result data can be transmitted to the WIFI module or the mainboard after the quality inspection by the quality inspector, so that the WIFI module can obtain this part of the data.

[0111] In some embodiments, since the smart device can be configured with a screen display device, the quality inspector can judge whether the quality inspection is qualified based on the data displayed by the screen display device, and accordingly, the quality inspector can also input the quality inspection results through the screen display device. Thus, the mainboard can obtain the quality inspection results and generate device detection result data.

[0112] Alternatively, the acquisition of the device detection result data may be achieved through other feasible methods, which are not limited here.

[0113] In some embodiments, the mainboard or WIFI module can also locally record the device detection data.

[0114] It can be seen from the above-mentioned smart device embodiments that on the smart device side, commodity inspection data can be actively reported, or commodity inspection data matching the requirements can be reported based on data acquisition requests. In addition, commodity inspection data is reported through the WIFI module to improve the efficiency, reliability and stability of commodity inspection data synchronization.

[0115] Figure 5 is a schematic diagram of a commodity inspection process according to an exemplary embodiment. Figure 5 As shown in the figure, the commodity inspection process is applied to the inspection of household appliances such as air conditioners, refrigerators, and washing machines. The inspection process may include the following relevant steps: First, the product (i.e., home appliance) is triggered to enter the commodity inspection mode. Three different types of home appliances can have different commodity inspection mode triggering methods.

[0116] Among them, the washing machine can be triggered to enter the commodity inspection mode by a physical button, the air conditioner can be triggered to enter the commodity inspection mode by a remote control, and the refrigerator can be triggered to enter the commodity inspection mode by the first power-on. And if the refrigerator is not powered on for the first time, it needs to be triggered to enter the commodity inspection mode by a button.

[0117] These triggering methods can all trigger the module to enter commodity inspection mode by sending commands through the internal machine.

[0118] Then, the WIFI module automatically connects to the default configured routing device, and the commodity inspection software (i.e., the server) can automatically update the connected devices of the routing device.

[0119] Then, the commodity inspection software enters the data collection and reporting process for each home appliance connected to the routing device. Specifically, the home appliance sends the commodity inspection data to the commodity inspection software, and the commodity inspection software further reports it to the device management cloud platform.

[0120] In addition, the results of some related processes in the entire commodity inspection process can also be fed back, including whether the WIFI connection fails, whether the commodity inspection is completed, etc.

[0121] Alternatively, other related commodity inspection processes may be further executed until the commodity inspection is completed.

[0122] It can be seen that the commodity inspection process of household appliances has a process of verifying the connection to WiFi, and the WiFi channel can be used to report commodity inspection data. Slight changes are made to the existing commodity inspection process to meet new commodity inspection requirements, such as testing the WiFi connection process without major changes to the factory process. This solution can be applied to the inspection of air conditioners, refrigerators, and washing machines manufacturers, and a set of solutions is adopted to facilitate replication, promotion, and maintenance.

[0123] Figure 6 is a schematic diagram showing a commodity inspection data synchronization process according to an exemplary embodiment. Figure 6 As shown in the figure, this process involves the interaction between the whole machine (smart device), routing device and commodity inspection server.

[0124] First, the whole machine includes the electronic control mainboard and the WIFI module. The whole machine is powered on first, and then the module is powered on.

[0125] Then, based on the corresponding trigger signal, the commodity inspection mode can be started. After starting the commodity inspection mode, the module automatically connects to the default routing device. In addition, the module can tell the whole machine that the WIFI connection is successful. On the screen of the whole machine (which can be an external screen display or a screen display on the whole machine), the WIFI connection is successful. For the implementation of the trigger signal, refer to the above embodiment.

[0126] Correspondingly, on the server side, a MAC (Media Access Control Address, also known as a local area network address) / DID (Decentralized Identity) / SN (Serial Number) mapping relationship is pre-stored in the MES (Manufacturing Execution System) system. Based on the mapping relationship and the module MAC / DID detected from the routing device, it can be determined that there is a corresponding WIFI module connected to the routing device.

[0127] Regarding the MES system, data can be stored based on the mass production cycle and the stored data can be exported at any time. In addition, MES can realize data processing based on the senseless distribution network, that is, the information can be stored without any user operation.

[0128] The MAC / DID / SN mapping relationship can be obtained by scanning the identification code on the whole machine during the product assembly stage. The identification code can include the identification code corresponding to the MAC / DID and the identification code corresponding to the SN.

[0129] Among them, MAC / DID can be used as the identification information of the WIFI module, and SN can be used as the identification information of the entire device.

[0130] Furthermore, the server side can transmit the data acquisition request to the WIFI module via the routing device, and the WIFI module transmits it to the mainboard. The mainboard then feeds back the commodity inspection data based on the data acquisition request, and the commodity inspection data is transmitted to the server via the WIFI module and the routing device.

[0131] Furthermore, after receiving the commodity inspection data, the server performs log recording based on the commodity inspection data, for example, it can be recorded in the MES system.

[0132] In addition, the server reports the commodity inspection data to the IOT cloud platform so that the IOT cloud platform can process the commodity inspection data accordingly and then store it.

[0133] In addition, in the commodity inspection scenario, quality inspectors may also be involved. Quality inspectors can use the screen display to determine whether the entire machine is qualified. And according to the judgment results, different processes are executed, including offline processing and going to the next process link. Among them, the quality inspector can make a qualified judgment after the entire machine production line has been running for at least a certain period of time (for example, three minutes).

[0134] Therefore, the data synchronization link composed of the WIFI module, routing device, server and device management cloud platform based on smart devices can realize the acquisition and synchronization of device detection data. The data synchronization link can be integrated into the detection process of smart devices to improve the efficiency, reliability and stability of data synchronization.

[0135] Figure 7 is a block diagram of a data synchronization device according to an exemplary embodiment, and the device is applied to a server. Figure 7 , the device comprises: The receiving module 701 is configured to receive device detection data of a target smart device sent by a routing device. The WIFI module of the target smart device is connected to the routing device via a wireless local area network. The WIFI module is used to obtain the device detection data from the mainboard of the target smart device and send the device detection data to the routing device.

[0136] The reporting module 702 is configured to report the device detection data to the device management cloud platform.

[0137] Optionally, the device also includes: a request module, configured to: generate a data acquisition request; send the data acquisition request to the routing device, so that the routing device sends the data acquisition request to the WIFI module, and the WIFI module is used to obtain the device detection data from the mainboard according to the data acquisition request.

[0138] Optionally, the request module is further configured to: determine the detection requirements corresponding to the target smart device; and generate the data acquisition request according to the detection requirements corresponding to the target smart device.

[0139] Optionally, the data acquisition request is used to request acquisition of device detection data of the target smart device in a target operating state.

[0140] Figure 8 is a block diagram of another data synchronization device according to an exemplary embodiment, and the device is applied to a smart device. Figure 8 , the device comprises: The acquisition module 801 is configured to acquire device detection data from the mainboard through the WIFI module.

[0141] The sending module 802 is configured to: send the device detection data to the routing device through the WIFI module, the WIFI module and the routing device are connected through a wireless local area network, the routing device is used to send the device detection data to the server, and the server is used to report the device detection data to the device management cloud platform.

[0142] Optionally, the acquisition module 801 is also configured to: receive a data acquisition request sent by the routing device through the WIFI module, and the routing device is used to receive the data acquisition request sent by the server; and obtain device detection data from the mainboard according to the data acquisition request through the WIFI module.

[0143] Optionally, the acquisition module 801 is also configured to: send the data acquisition request to the main board through the WIFI module; control the target smart device to operate in the target operating state according to the data acquisition request through the main board; and obtain the device detection data of the target smart device in the target operating state from the main board through the WIFI module.

[0144] Optionally, the acquisition module 801 is further configured to: collect device detection data of the target smart device in the target operating state through the sensor; and acquire the device detection data from the sensor through the WIFI module.

[0145] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0146] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, which implement the steps of the data synchronization method provided by the present disclosure when the program instructions are executed by a processor.

[0147] Fig. 9 1 is a block diagram of a smart device 900 according to an exemplary embodiment. For example, the smart device 900 may be a household appliance or other electronic devices.

[0148] Reference Fig. 9 , the smart device 900 may include one or more of the following components: a first processing component 902 , a first memory 904 , a first power component 906 , a multimedia component 908 , an audio component 910 , a first input / output interface 912 , a sensor component 914 , and a communication component 916 .

[0149] The first processing component 902 generally controls the overall operation of the smart device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The first processing component 902 may include one or more first processors 920 to execute instructions to complete all or part of the steps of the above-mentioned data synchronization method applied to the smart device. In addition, the first processing component 902 may include one or more modules to facilitate the interaction between the first processing component 902 and other components. For example, the first processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the first processing component 902.

[0150] The first memory 904 is configured to store various types of data to support operations on the smart device 900. Examples of such data include instructions for any application or method operating on the smart device 900, contact data, phone book data, messages, pictures, videos, etc. The first memory 904 can 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, magnetic disk or optical disk.

[0151] The first power source component 906 provides power to various components of the smart device 900. The first power source component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the smart device 900.

[0152] The multimedia component 908 includes a screen that provides an output interface between the smart device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the smart device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0153] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the smart device 900 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the first memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.

[0154] The first input / output interface 912 provides an interface between the first processing component 902 and a peripheral interface module, which may be a keyboard, a click wheel, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0155] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the smart device 900. For example, the sensor assembly 914 can detect the open / closed state of the smart device 900, the relative positioning of components, such as the display and keypad of the smart device 900, and the sensor assembly 914 can also detect the position change of the smart device 900 or a component of the smart device 900, the presence or absence of user contact with the smart device 900, the orientation or acceleration / deceleration of the smart device 900, and the temperature change of the smart device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0156] The communication component 916 is configured to facilitate wired or wireless communication between the smart device 900 and other devices. The smart device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0157] In an exemplary embodiment, the smart device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to execute the above-mentioned data synchronization method applied to smart devices.

[0158] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a first memory 904 including instructions, and the instructions can be executed by a first processor 920 of the smart device 900 to complete the data synchronization method applied to the smart device. For example, the non-transitory computer-readable storage medium can be a ROM, a random access first memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0159] In another exemplary embodiment, a computer program product is further provided. The computer program product includes a computer program executable by a programmable device, and the computer program has a code portion for executing the above data synchronization method when executed by the programmable device.

[0160] Fig.10 1 is a block diagram of a device 1000 for implementing a data synchronization method applied to a server according to an exemplary embodiment. For example, the device 1000 may be provided as a server. Fig.10, the apparatus 1000 includes a second processing component 1022, which further includes one or more second processors, and a memory resource represented by a second memory 1032 for storing instructions executable by the processing component 1022, such as an application. The application stored in the second memory 1032 may include one or more modules each corresponding to a set of instructions. In addition, the second processing component 1022 is configured to execute instructions to perform the above-mentioned data synchronization method applied to the server.

[0161] The device 1000 may also include a second power supply component 1026 configured to perform power management of the device 1000, a wired or wireless network interface 1050 configured to connect the device 1000 to a network, and a second input / output interface 1058. The device 1000 may operate based on an operating system stored in the memory 1032, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.

[0162] Those skilled in the art may also understand that the various illustrative logical blocks and steps listed in the embodiments of the present application may be implemented by electronic hardware, computer software, or a combination of the two. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the functions described for each specific application, but such implementation should not be understood as exceeding the scope of protection of the embodiments of the present application.

[0163] Although terms such as "first", "second" and "third" can be used herein to describe various components, parts, regions, layers or sections, these components, parts, regions, layers or sections are not limited to these terms. On the contrary, these terms are only used to distinguish one component, component, region, layer or section from another component, component, region, layer or section. Therefore, without departing from the teachings of each example, the first component, component, region, layer or section mentioned in the examples described herein may also be referred to as the second component, component, region, layer or section. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may expressly or implicitly include at least one of the features. In the description herein, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0164] Likewise, although the present disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art after reading and understanding the specification and drawings. The present disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components (e.g., elements, resources, etc.) described above, unless otherwise indicated, the terms used to describe such components are intended to correspond to any component (functionally equivalent) that performs the specific functions of the described components, even if the structure is not equivalent to the disclosed structure. In addition, although specific features of the present disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations as may be desired and beneficial to any given or specific application. In addition, with respect to "including", "having", "having", "having", or variations thereof used in a specific embodiment or claim, such terms are intended to be inclusive in a manner similar to the term "comprising".

[0165] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

[0166] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A data synchronization method, characterized in that: Applied to the server, the data synchronization method includes: Receiving device detection data of a target smart device sent by a routing device, wherein a WIFI module of the target smart device is connected to the routing device via a wireless local area network, and the WIFI module is used to obtain the device detection data from a mainboard of the target smart device and send the device detection data to the routing device; The device detection data is reported to the device management cloud platform.

2. The data synchronization method according to claim 1, characterized in that: The data synchronization method further includes: Generate data acquisition request; The data acquisition request is sent to the routing device, so that the routing device sends the data acquisition request to the WIFI module, and the WIFI module is used to obtain the device detection data from the mainboard according to the data acquisition request.

3. The data synchronization method according to claim 2, characterized in that: The generating of the data acquisition request comprises: Determine the detection requirements corresponding to the target smart device; The data acquisition request is generated according to the detection requirements corresponding to the target smart device.

4. The data synchronization method according to claim 3, characterized in that: The data acquisition request is used to request to obtain device detection data of the target smart device in a target operating state.

5. A data synchronization method, characterized in that: Applied to a smart device, the smart device includes a WIFI module and a mainboard, and the data synchronization method includes: Acquire device detection data from the mainboard through the WIFI module; The device detection data is sent to the routing device through the WIFI module, the WIFI module and the routing device are connected through a wireless local area network, the routing device is used to send the device detection data to the server, and the server is used to report the device detection data to the device management cloud platform.

6. The method according to claim 5, characterized in that The obtaining of device detection data from the mainboard through the WIFI module includes: Receiving, through the WIFI module, a data acquisition request sent by the routing device, wherein the routing device is used to receive the data acquisition request sent by the server; The device detection data is obtained from the mainboard through the WIFI module according to the data acquisition request.

7. The data synchronization method according to claim 6, characterized in that: The data acquisition request is used to request to acquire detection data of the target smart device in a target operating state, and acquiring the device detection data from the mainboard through the WIFI module according to the data acquisition request includes: Sending the data acquisition request to the main board through the WIFI module; Controlling the target smart device to operate in the target operating state according to the data acquisition request through the mainboard; The device detection data of the target smart device in the target operating state is obtained from the mainboard through the WIFI module.

8. The data synchronization method according to claim 7, characterized in that: The mainboard includes a sensor, and obtaining device detection data of the target smart device in the target operating state from the mainboard through the WIFI module includes: Collecting device detection data of the target smart device in the target operating state through the sensor; The device detection data is obtained from the sensor through the WIFI module.

9. A data synchronization device, characterized in that: Applied to the server, the data synchronization device comprises: A receiving module, configured to receive device detection data of a target smart device sent by a routing device, wherein a WIFI module of the target smart device is connected to the routing device via a wireless local area network, and the WIFI module is used to obtain the device detection data from a mainboard of the target smart device and send the device detection data to the routing device; The reporting module is configured to report the device detection data to the device management cloud platform.

10. A data synchronization device, characterized in that: Applied to a smart device, the smart device includes a WIFI module and a mainboard, and the data synchronization device includes: An acquisition module, configured to acquire device detection data from the mainboard through the WIFI module; The sending module is configured to send the device detection data to the routing device through the WIFI module, the WIFI module is connected to the routing device through a wireless local area network, the routing device is used to send the device detection data to the server, and the server is used to report the device detection data to the device management cloud platform.

11. A data synchronization device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to: execute the executable instructions to implement the data synchronization method as described in any one of claims 1 to 8.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the data synchronization method as described in any one of claims 1 to 8 is implemented.

13. A computer program product, characterized in that It includes a computer program, which, when executed by a processor, implements the data synchronization method as described in any one of claims 1 to 8.