Method, device and smart bracelet for collecting factory information of smart devices
Establish a connection with a smart device through a smart bracelet or terminal device, obtain the identification and read the factory information, which solves the problem of being unable to automatically collect factory information on the smart device production line, realizes automated data collection, and improves efficiency and accuracy.
Patent Information
- Application Number
- CN201911292871.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-12-16
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2039-12-16
AI Technical Summary
Existing technology cannot automatically collect factory information of smart devices, especially on smart device production lines, resulting in manual scanning that leads to energy consumption and the possibility of errors.
Establish a connection with smart devices through smart bracelets or terminal devices, obtain device identification and read factory information, achieving one-to-many data reading, which is suitable for automated data collection on smart device production lines.
It realizes the automatic collection of factory information of multiple devices on the intelligent equipment production line, improves the efficiency and accuracy of data collection, and is suitable for the production line environment of intelligent equipment.
Smart Images

Figure CN111178462B
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent manufacturing technology, for example, to a method, device and smart bracelet for collecting factory information of smart devices. Background Art
[0002] At present, in the production process of smart devices, it is necessary to collect the factory information of smart devices. For example, in the process of producing smart TVs, it is necessary to collect the model of the TV, the whole machine code, etc. On the existing smart TV production line, this factory information of smart devices is usually collected by manual scanning. The process of manually scanning and collecting the factory information of smart devices consumes human energy, and it is easy to make mistakes in the process of collecting the factory information of smart devices. In the prior art, the remote control can establish a connection with the smart TV through infrared to read the data in the smart TV.
[0003] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:
[0004] The aforementioned technology for reading data from smart TVs is a one-to-one data reading technology, which is not suitable for application on the production line of smart devices and cannot automatically collect the factory information of smart devices on the production line. Summary of the invention
[0005] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0006] The embodiments of the present disclosure provide a method, an apparatus, and a smart bracelet for collecting factory information of smart devices, so as to solve the technical problem that the factory information of smart devices on the production line cannot be automatically collected.
[0007] In some embodiments, the method for collecting factory information of a smart device includes:
[0008] After establishing a connection with the smart device on the production line, obtain the smart device's identification;
[0009] Read the factory information of the smart device according to the identification of the smart device.
[0010] In some embodiments, the apparatus for collecting factory information of smart devices includes a processor and a memory storing program instructions, and the processor is configured to execute the method for collecting factory information of smart devices provided in the above embodiments when executing the program instructions.
[0011] In some embodiments, the smart bracelet includes the device provided in the aforementioned embodiments for collecting factory information of the smart device.
[0012] The method, device and smart bracelet for collecting factory information of smart devices provided by the embodiments of the present disclosure can achieve the following technical effects:
[0013] There are often multiple smart devices on the production line of smart devices at the same time. It establishes connections with devices within the communication range, obtains the identification of each smart device, reads the factory information of each smart device according to the identification of the smart device, and realizes one-to-many data reading. It is suitable for application on the production line of smart devices and can automatically collect the factory information of smart devices on the production line.
[0014] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] One or more embodiments are exemplarily described by corresponding drawings, and these exemplary descriptions and drawings do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and wherein:
[0016] Figure 1 The present disclosure provides a flowchart of a method for collecting factory information of a smart device;
[0017] Figure 2 is a schematic diagram of a smart device production line provided by an embodiment of the present disclosure;
[0018] Figure 3 is a schematic diagram of a process for reading factory information of a smart device according to an identification of the smart device provided by an embodiment of the present disclosure;
[0019] Figure 4 It is a schematic diagram of a device for collecting factory information of smart devices provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0020] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0021] In the embodiment of the present disclosure, the smart device includes a memory, a processor and a communication device, wherein the communication device includes any one of a Bluetooth device and a WiFi device. The smart device may be a smart home appliance such as a smart TV, a smart speaker, a smart washing machine, a smart refrigerator, etc. When reading the factory information of the smart device, the smart device is turned on and enters the factory mode.
[0022] In an embodiment of the present disclosure, a method for collecting factory information of a smart device is executed by a terminal, and the terminal includes a memory, a processor, and a communication device. The terminal may be a smart bracelet, which is manually operated by a professional operator. For example, an acceleration sensor is provided in the smart bracelet, and when the smart bracelet is shaken, the factory information of the smart device is read; the terminal may also be fixedly set next to a production line to periodically read the factory information of the smart device.
[0023] Figure 1 The present disclosure provides a flow chart of a method for collecting factory information of a smart device. In this embodiment, the method for collecting factory information of a smart device includes:
[0024] Step 101: After establishing a connection with a smart device on a production line, obtain an identification of the smart device.
[0025] Among them, before establishing a connection with the smart devices on the production line, all the smart devices on the production line have been turned on and entered the factory mode; before establishing a connection with the smart devices on the production line, general settings are performed on the terminal, or the terminal is initialized, or the terminal self-checks, and after the self-check is qualified, a connection is established with the smart devices on the production line; or, before establishing a connection with the smart devices on the production line, the type of smart device is set in the terminal, for example, it is set to collect the factory information of the smart TV, or it is set to collect the factory information of the smart speaker, or it is set to collect the factory information of the smart washing machine, or it is set to collect the factory information of the smart refrigerator; or, before establishing a connection with the smart device on the production line, the model of the smart device is set in the terminal.
[0026] Optionally, a connection is established with the smart device on the production line through a wireless communication device, for example, a connection is established with the smart device on the production line through a Bluetooth device, or a connection is established with the smart device on the production line through a WiFi device.
[0027] In the process of establishing a connection, the terminal actively establishes a connection, or the terminal passively establishes a connection. For example, when establishing a connection with a smart device on a production line through a Bluetooth device, it includes: establishing a connection with the smart device when scanning the smart device; or establishing a connection with the smart device when detecting a scanning signal of the smart device. Further, after establishing a connection with the smart device on the production line, an independent thread is allocated to each smart device. After reading the factory information of a smart device, the thread can be closed to disconnect the connection with the smart device; or, when the smart device leaves the communication range of the terminal, the thread corresponding to the smart device is closed.
[0028] After the smart devices on the production line establish a connection, a connection list is created. The connection list includes all smart devices connected to the terminal and their identifiers. At this time, the identifier of the smart device can be obtained by reading the data in the connection list.
[0029] In some application scenarios, establishing a connection with a smart device on a production line includes: establishing a connection with the smart device and adding the smart device to a connection list when scanning the smart device; or establishing a connection with the smart device and adding the smart device to a connection list when detecting a scanning signal of the smart device. In a production line, a terminal usually establishes a connection with two or more smart devices. Each time a smart device is connected, the smart device is added to the connection list. Correspondingly, when establishing a connection with two or more smart devices on the production line, the identifiers of the two or more smart devices are obtained.
[0030] Optionally, when the terminal is a smart bracelet, the movement state of the smart bracelet is obtained through an acceleration sensor. When it is determined that the smart bracelet is shaking, the smart bracelet actively establishes a connection with a smart device on the production line, and after establishing a connection with the smart device on the production line, obtains the identification of the smart device.
[0031] Optionally, when the terminal is fixedly installed next to a production line of the smart device, a connection is periodically established with the smart device, and after the connection is established with the smart device, an identification of the smart device is obtained.
[0032] Optionally, the factory information of the smart device includes the whole device code, physical address, model name and current date.
[0033] Step 102: Read the factory information of the smart device according to the identification of the smart device.
[0034] There are often multiple smart devices on the production line of smart devices at the same time. It establishes connections with devices within the communication range, obtains the identification of each smart device, reads the factory information of each smart device according to the identification of the smart device, and realizes one-to-many data reading. It is suitable for application on the production line of smart devices and can automatically collect the factory information of smart devices on the production line.
[0035] After reading the factory information of the smart device, the factory information is stored locally, or the factory information is stored in the cloud.
[0036] Figure 2 : is a schematic diagram of a smart device production line provided by an embodiment of the present disclosure. Among them, the terminal 21 includes a wireless communication device, such as a Bluetooth device or a WiFi device, and the terminal 21 can communicate with the smart devices within the communication range A. The smart devices are placed on the conveyor belt 28, wherein the smart devices 23, 24 and 25 are within the communication range A of the terminal 21. At this time, the terminal 21 can establish a connection with the smart devices 23, 24 and 25, and read the factory information of the smart devices 23, 24 and 25; the smart devices 22, 26 and 27 are outside the communication range A of the terminal 21. At this time, the terminal 21 cannot establish a connection with the smart devices 22, 26 and 27, and wherein the smart device 22 is a smart device whose factory information has not been read, and the smart devices 26 and 27 are smart devices whose factory information has been read.
[0037] Optionally, the identification of the smart device includes the time of establishing the connection and the information reading status; or, the identification of the smart device includes the name of the smart device, the time of establishing the connection and the information reading status. Among them, the time of establishing the connection includes the moment of establishing the connection or the duration of the established connection; the information reading status indicates whether the factory information of the smart device has been read, for example, the information reading status includes not read and has been read, or not read and has been read; when the smart device includes a Bluetooth device, the name of the smart device is the Bluetooth name in the smart device, or the name of the smart device is the physical address of the smart device; when the smart device includes a WiFi device, the name of the smart device is the WiFi name in the smart device. Correspondingly, after establishing a connection with the smart device, when creating a connection list, or when adding a connected smart device to the connection list, the time of establishing the connection and the information reading status are recorded, and the initial information reading status is not read or not read. In some application scenarios, the time of establishing the connection is stored in the terminal, the information reading status is stored in the terminal or in the smart device, and the name of the smart device is stored in the smart device. After establishing the connection, the time of the connection is recorded, a default information reading status is created or the information reading status is read, and the name of the smart device is read.
[0038] Figure 3 The flowchart of reading the factory information of a smart device according to the identification of the smart device provided by the embodiment of the present disclosure is as follows. In this embodiment, reading the factory information of the smart device according to the identification of the smart device includes:
[0039] Step 301: Determine the smart devices whose factory information has not been read according to the information reading status.
[0040] When the information reading status of a smart device is unread or unread, the smart device is a smart device whose factory information has not been read; when the information reading status of a smart device is read or read, the smart device is a smart device whose factory information has been read.
[0041] In some application scenarios, after reading the factory information of the smart device, the information reading status of the smart device is changed to read. When the information reading status is stored on the smart device, after reading the factory information of the smart device, the information reading status on the smart device is changed to read, and at the same time, the information reading status of the smart device in the connection list is changed to read; when the information reading status is stored on the terminal, the information reading status in the connection list is changed to read.
[0042] Step 302: When there are two or more smart devices whose factory information has not been read, read the factory information of the smart device that established the connection first.
[0043] When there are multiple smart devices, the priority of the smart device is determined by the time of establishing the connection, and the factory information of the smart device is read in order of priority from high to low. One terminal can read the factory information of multiple smart devices. It is suitable for application on the production line of smart devices and can automatically collect the factory information of smart devices on the production line.
[0044] Optionally, reading the factory information of the smart device that establishes the connection first includes: when the time of establishing the connection is the moment of establishing the connection, reading the factory information of the smart device that establishes the connection earliest; or, when the time of establishing the connection is the duration of establishing the connection, reading the factory information of the smart device that has the longest duration of establishing the connection. In some application scenarios, the terminal has a fixed communication range. As the conveyor belt runs, the smart device first enters the communication range of the terminal, and then leaves the communication range of the terminal. During the time period when the smart device is within the communication range of the terminal, the process of reading the factory information of the smart device is completed. The smart device that enters the communication range of the terminal first also leaves the communication range of the terminal first. Therefore, reading the factory information of the smart device that has the longest connection establishment time can, to a certain extent, ensure that the factory information of each smart device is successfully read.
[0045] Optionally, the method for collecting factory information of smart devices also includes: sending a prompt message when the duration of establishing a connection with the smart device is greater than or equal to a preset duration. The preset duration is the maximum duration allowed after the terminal establishes a connection with the smart device until the terminal completes the process of reading the factory information of the smart device. The preset time is related to the duration of the smart device within the communication range of the terminal. The longer the smart device is within the communication range of the terminal, the longer the terminal can be allowed to complete the process of reading the factory information of the smart device in a longer time, and the longer the preset duration is; the shorter the duration of the smart device within the communication range of the terminal, the shorter the terminal needs to complete the process of reading the factory information of the smart device in a shorter time, and the shorter the preset duration is. If the terminal fails to successfully read the factory information of a smart device within the preset duration, the smart device will leave the communication range of the terminal, resulting in the failure to successfully read the factory information of the smart device. The prompt message indicates that there is a risk of failing to successfully read the factory information of the smart device. Through such prompt message, the success rate of reading the factory information of the smart device is further improved.
[0046] In some application scenarios, the terminal for collecting the factory information of smart devices is a smart bracelet. Professional operators trigger the method of collecting the factory information of smart devices on the production line by shaking the smart bracelet. At this time, the above-mentioned prompt information is sound or vibration. The prompt information is used to prompt the professional operator to speed up the efficiency of collecting the factory information of smart devices on the production line, or to prompt the professional operator to reduce the conveying speed of the conveyor belt. In other application scenarios, the factory information of smart devices on the production line is collected by a terminal fixedly set next to the production line of smart devices. The terminal periodically collects the factory information of smart devices. At this time, the above-mentioned reminder information can be to shorten the collection cycle, or to reduce the conveying speed of the conveyor belt, or to send prompt information such as sound, image or text to relevant personnel. The factory information of smart devices on the production line is collected at a reasonable cycle, so that the frequency of collecting the factory information of smart devices on the production line by the terminal is consistent with the production frequency of the smart devices. On the premise of successfully collecting the factory information of smart devices on the production line, the energy consumed by the terminal can be saved.
[0047] An embodiment of the present disclosure provides a device for collecting factory information of a smart device.
[0048] In some embodiments, the apparatus for collecting factory information of smart devices includes a processor and a memory storing program instructions, and the processor is configured to execute the method for collecting factory information of smart devices provided in the above embodiments when executing the program instructions.
[0049] Figure 41 is a schematic diagram of a device for collecting factory information of a smart device provided in an embodiment of the present disclosure. In this embodiment, the device for collecting factory information of a smart device includes:
[0050] The processor 41 and the memory 42 may also include a communication interface 43 and a bus 44. The processor 41, the communication interface 43, and the memory 42 may communicate with each other through the bus 44. The communication interface 43 may be used for information transmission. The processor 41 may call the logic instructions in the memory 42 to execute the method for collecting factory information of the smart device provided in the above embodiment.
[0051] In addition, the logic instructions in the memory 42 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
[0052] The memory 42 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the methods in the embodiments of the present disclosure. The processor 41 executes functional applications and data processing by running the software programs, instructions, and modules stored in the memory 42, that is, implementing the methods in the above method embodiments.
[0053] The memory 42 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 42 may include a high-speed random access memory and may also include a non-volatile memory.
[0054] An embodiment of the present disclosure provides a smart bracelet, comprising the device for collecting factory information of smart devices provided by the aforementioned embodiment.
[0055] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the method for collecting factory information of a smart device provided in the above embodiment.
[0056] An embodiment of the present disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer executes the method for collecting factory information of smart devices provided in the above embodiment.
[0057] The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0058] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes, or a transient storage medium.
[0059] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, individual components and functions are optional, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. The scope of the embodiments of the present disclosure includes the entire scope of the claims, and all available equivalents of the claims. When used in this application, although the terms "first", "second", etc. may be used in this application to describe each element, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, without changing the meaning of the description, the first element can be called the second element, and similarly, the second element can be called the first element, as long as all occurrences of the "first element" are renamed consistently and all occurrences of the "second element" are renamed consistently. The first element and the second element are both elements, but may not be the same element. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates, the singular forms "a", "an" and "the" are intended to include the plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method or device including the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0060] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. Technicians 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 the embodiments of the present disclosure. Technicians can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0061] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of units can be only a logical function division, and there can be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit.
[0062] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a part of a module, program segment or code, and a part of a module, program segment or code includes one or more executable instructions for realizing the specified logical function. In some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of special-purpose hardware and computer instructions.
Claims
1. A method for collecting factory information of smart devices, characterized in that: include: After establishing a connection with a smart device within the communication range on the production line, an identification of the smart device is obtained; wherein the terminal has a fixed communication range, and the smart device first enters the communication range of the terminal and then leaves the communication range of the terminal; after establishing a connection with the smart device on the production line, an independent thread is allocated to each smart device; the identification of the smart device includes the time when the connection is established; The factory information of the smart device is read according to the identification of the smart device. When there are two or more smart devices whose factory information has not been read, the factory information of the smart device that establishes the connection first is read, specifically including: when the time to establish the connection is the duration of establishing the connection, reading the factory information of the smart device with the longest duration to establish the connection; when the duration of establishing the connection with the smart device is greater than or equal to the preset duration, sending a prompt message; the preset duration is related to the time that the smart device is within the communication range of the terminal, the longer the smart device is within the communication range of the terminal, the longer the terminal can complete the process of reading the factory information of the smart device in a longer time, and the longer the preset duration is; the shorter the time that the smart device is within the communication range of the terminal, the shorter the terminal needs to complete the process of reading the factory information of the smart device in a shorter time, and the shorter the preset duration is.
2. The method according to claim 1, characterized in that The identification of the smart device also includes the information reading status.
3. The method according to claim 2, characterized in that Reading the factory information of the smart device according to the identification of the smart device includes: A smart device whose factory information has not been read is determined according to the information reading status.
4. The method according to claim 3, characterized in that Read the factory information of the smart device that first establishes a connection, including: When the time of establishing the connection is the moment of establishing the connection, the factory information of the smart device with the earliest moment of establishing the connection is read.
5. The method according to claim 2, characterized in that: Also includes: After reading the factory information of the smart device, change the information reading status of the smart device to read.
6. The method according to any one of claims 1 to 5, characterized in that: Connect with smart devices on the production line, including: When a smart device is scanned, establish a connection with the smart device and add the smart device to the connection list; or, When the scanning signal of the smart device is detected, a connection is established with the smart device, and the smart device is added to the connection list.
7. A device for collecting factory information of smart devices, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for collecting factory information of a smart device according to any one of claims 1 to 6 when executing the program instructions.
8. A smart bracelet, characterized in that: It comprises the device for collecting factory information of smart devices as described in claim 7.
Citation Information
Patent Citations
RFID data acquisition system of production line
CN105718966A
System and method for automatic equipment inspection in intelligent manufacturing
CN107861488A
Data acquisition method and device for intelligent equipment
CN108092953A
Intelligent digital production line and control system thereof
CN108438698A
Intelligent equipment management method, equipment and system and storage medium
CN110473063A
