Equipment initialization method, device and system and electronic equipment
By using electronic tags to receive and store configuration identifiers in IoT devices, the problem that the existing technology cannot efficiently realize the customization of batch IoT device functions, and the efficiency and customization of device initialization are achieved.
Patent Information
- Application Number
- CN202411386903.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-30
- Publication Date
- 2025-02-18
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing device initialization methods cannot efficiently implement functional customization services for batch IoT devices.
The control processing unit determines the initialization function configuration information based on these configuration identifiers and performs the device initialization by the electronic tag. This method includes various configuration identifiers such as operating system, firmware upgrade, network connection and access security.
It realizes efficient functional customization services for batch IoT devices when producing products, simplifies management processes, and improves the efficiency and security of equipment initialization.
Smart Images

Figure CN119473406A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of radio frequency identification technology, and in particular to a device initialization method, a device initialization apparatus, an electronic device, a device initialization system, a machine-readable storage medium and a computer program product. Background Art
[0002] Radio Frequency Identification (RFID), a technology that has received much attention in the development of the Internet of Things, is a contactless automatic identification technology that is mainly used to obtain information about items. It uses radio frequency signals and their spatial coupling transmission characteristics to achieve contactless two-way data communication, thereby using wireless radio frequency to read and write storage media (electronic tags or radio frequency cards) to achieve the purpose of automatic identification of targets. At present, the electronic tags of IoT devices are generally used to identify device information and have a single function.
[0003] As an IoT device, different functions are generally configured according to the actual needs of users, and even customized functions of batch devices are required. However, the existing device initialization method cannot efficiently implement customized functions of batch IoT devices. Summary of the invention
[0004] The purpose of the embodiments of the present invention is to provide a device initialization method, a device initialization apparatus, an electronic device, a device initialization system, a machine-readable storage medium and a computer program product to solve the defect that the existing device initialization method cannot efficiently realize the function customization service of batch Internet of Things devices.
[0005] In order to achieve the above object, an embodiment of the present invention provides a device initialization method, which is applied to an electronic device, wherein the electronic device includes an electronic tag and a processing unit connected in communication, and the device initialization method includes:
[0006] Controlling the electronic tag to receive and store configuration identifiers sent by the initialization device to the plurality of electronic devices; the configuration identifiers represent initialization configurations for specific functions of the electronic devices;
[0007] When the electronic device is powered on, the processing unit is controlled to determine initialization function configuration information based on the configuration identifier, and perform device initialization based on the initialization function configuration information.
[0008] Optionally, the configuration identifier includes an operating system configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0009] The processing unit is controlled to determine target operating system information to be configured based on the operating system configuration identifier, and to perform device initialization based on the target operating system information.
[0010] Optionally, the configuration identifier includes a firmware upgrade configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0011] The processing unit is controlled to determine target firmware information to be configured based on the firmware upgrade configuration identifier, and to perform device initialization based on the target firmware information.
[0012] Optionally, the configuration identifier includes a network connection configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0013] The processing unit is controlled to determine target network connection information to be configured based on the network connection configuration identifier, and to perform device initialization based on the target network connection information.
[0014] Optionally, the configuration identifier includes an access security configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0015] The processing unit is controlled to determine target access control information to be configured based on the access security configuration identifier, and to perform device initialization based on the target access control information.
[0016] On the other hand, an embodiment of the present invention further provides a device initialization method, which is applied to an initialization device, wherein the initialization device includes a reader / writer for communicating with an electronic tag of the electronic device, and the device initialization method includes:
[0017] In response to an initialization configuration instruction for a specific function, obtaining a configuration identifier for the electronic device; the configuration identifier indicates an initialization configuration for the specific function of the electronic device;
[0018] The configuration identifier is sent to electronic tags of multiple electronic devices, so that the electronic tags of the multiple electronic devices perform batch device initialization based on the configuration identifier.
[0019] Optionally, the configuration identifier includes at least one of an operating system configuration identifier, a firmware upgrade configuration identifier, a network connection configuration identifier, and an access security configuration identifier.
[0020] On the other hand, an embodiment of the present invention further provides a device initialization apparatus, including:
[0021] A first control module is used to control the electronic tag to receive and store configuration identifiers sent by the initialization device to multiple electronic devices; the configuration identifier represents the initialization configuration of a specific function of the electronic device;
[0022] The second control module is used to control the processing unit to determine the initialization function configuration information based on the configuration identifier when the electronic device is powered on, and to perform device initialization based on the initialization function configuration information.
[0023] Optionally, the configuration identifier includes an operating system configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0024] The processing unit is controlled to determine target operating system information to be configured based on the operating system configuration identifier, and to perform device initialization based on the target operating system information.
[0025] Optionally, the configuration identifier includes a firmware upgrade configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0026] The processing unit is controlled to determine target firmware information to be configured based on the firmware upgrade configuration identifier, and to perform device initialization based on the target firmware information.
[0027] Optionally, the configuration identifier includes a network connection configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0028] The processing unit is controlled to determine target network connection information to be configured based on the network connection configuration identifier, and to perform device initialization based on the target network connection information.
[0029] Optionally, the configuration identifier includes an access security configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0030] The processing unit is controlled to determine target access control information to be configured based on the access security configuration identifier, and to perform device initialization based on the target access control information.
[0031] On the other hand, an embodiment of the present invention further provides a device initialization apparatus, including:
[0032] An acquisition module, configured to acquire a configuration identifier for the electronic device in response to an initialization configuration instruction for a specific function; the configuration identifier represents an initialization configuration for the specific function of the electronic device;
[0033] The sending module is used to send the configuration identifier to the electronic tags of multiple electronic devices, so that the electronic tags of the multiple electronic devices perform batch device initialization based on the configuration identifier.
[0034] Optionally, the configuration identifier includes at least one of an operating system configuration identifier, a firmware upgrade configuration identifier, a network connection configuration identifier, and an access security configuration identifier.
[0035] On the other hand, an embodiment of the present invention further provides a device initialization system, including: a plurality of electronic devices that execute the above-mentioned device initialization method, and an initialization device that executes the above-mentioned device initialization method.
[0036] On the other hand, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned device initialization method when executing the program.
[0037] On the other hand, the present invention further provides a machine-readable storage medium having a computer program stored thereon, and the computer program implements the above-mentioned device initialization method when executed by a processor.
[0038] On the other hand, the present invention further provides a computer program product, comprising a computer program, wherein the computer program implements the above-mentioned device initialization method when executed by a processor.
[0039] Through the above technical solution, the embodiment of the present invention receives and stores the configuration identifier sent by the initialization device through the electronic tag, thereby storing the initialization function configuration information of the specific function of the electronic device through the electronic tag. When the electronic device is powered on, the processing unit is controlled to initialize the device based on the initialization function configuration information. With the help of the efficient communication of the electronic tag, the embodiment of the present invention facilitates the efficient implementation of the function customization service of batch Internet of Things devices when producing products.
[0040] Other features and advantages of the embodiments of the present invention will be described in detail in the subsequent detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings are used to provide a further understanding of the embodiments of the present invention and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present invention, but do not constitute a limitation on the embodiments of the present invention. In the accompanying drawings:
[0042] Figure 1 This is one of the flow charts of the device initialization method provided by the present invention;
[0043] Figure 2 It is one of the structural schematic diagrams of the electronic device provided by the present invention;
[0044] Figure 3 This is the second flow chart of the device initialization method provided by the present invention;
[0045] Figure 4 It is one of the structural schematic diagrams of the device initialization device provided by the present invention;
[0046] Figure 5 This is the second structural schematic diagram of the device initialization apparatus provided by the present invention;
[0047] Figure 6 This is the second structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0048] The specific implementation of the embodiment of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the embodiment of the present invention, and is not used to limit the embodiment of the present invention.
[0049] The Internet of Things originated in the field of media and is the third revolution in the information technology industry. The Internet of Things connects all objects to the Internet through information sensing devices to complete information exchange, that is, objects communicate with each other, thereby realizing intelligent identification and management. It can be seen that the realization of the Internet of Things is based on the object information collected by information sensing devices.
[0050] Radio Frequency Identification (RFID), which has attracted much attention in the development of the Internet of Things, is a contactless automatic identification technology that is mainly used to obtain object information. This technology has been emerging since the 1990s. It uses radio frequency signals and their spatial coupling transmission characteristics to achieve contactless two-way data communication, thereby using wireless radio frequency to read and write storage media (electronic tags or radio frequency cards) to achieve the purpose of automatic identification of targets. It is considered to be one of the most promising information technologies in the 21st century.
[0051] A complete RFID system consists of an electronic tag, a reader, and a data management system. The RFID system has the ability to monitor and operate remotely, which liberates the potential of data management and further expands the application field. This gives the Internet of Things the traceability, that is, the accurate location of an item and its surrounding environment can be known at any time. At present, the electronic tags of IoT devices are generally used to identify device information and have a single function.
[0052] As an IoT device, different functions are generally configured according to the actual needs of users, and even customized functions of batch devices are required. However, the existing device initialization method cannot efficiently implement customized functions of batch IoT devices.
[0053] In view of this, the purpose of the embodiments of the present invention is to provide a device initialization method, a device initialization device, an electronic device, a device initialization system, a machine-readable storage medium and a computer program product to solve the defect that the existing device initialization method cannot efficiently realize the functional customization service of batch Internet of Things devices.
[0054] Method Embodiment
[0055] Please refer to Figure 1 The embodiment of the present invention provides a device initialization method, which is applied to an electronic device. The electronic device of the embodiment of the present invention may be an electronic device applied to the field of the Internet of Things, such as an electrical device in the field of the Internet of Things. For example, the electronic device of the embodiment of the present invention may be a smart light bulb, a smart speaker, a smart refrigerator, a smart TV, a smart sweeping robot, a smart door lock, etc.
[0056] Please refer to Figure 2 The electronic device of the embodiment of the present invention includes a processing unit, an electronic tag, a power supply unit and other units. The processing unit uses a processor as the core and communicates with the electronic tag and other units (such as a storage unit). The electronic tag communicates with the processing unit via a hardware interface (such as an IIC interface), and the electronic tag communicates with the reader / writer of the initialization device via a radio frequency interface. The power supply unit supplies power to the processing unit, the electronic tag and other units. Other units can be functional units developed according to specific needs.
[0057] Please refer to Figure 1 , the device initialization method of the embodiment of the present invention includes:
[0058] Step 101: Control the electronic tag to receive and store configuration identifiers sent by an initialization device to a plurality of electronic devices.
[0059] The electronic device controls the electronic tag to receive the configuration identifier sent by the initialization device to the plurality of electronic devices through the radio frequency interface, and stores the configuration identifier in a specific register of the electronic tag. The initialization device may be a radio frequency device that sends configuration identifiers to batches of electronic devices when the electronic devices are produced. In the embodiment of the present invention, the configuration identifier represents the initialization configuration of a specific function of the electronic device.
[0060] Specifically, the configuration identifier can represent the initialization configuration of different specific functions. For example, the configuration identifier can be an operating system configuration identifier, a firmware upgrade configuration identifier, a network connection configuration identifier, and an access security configuration identifier. The configuration identifier can represent the initialization configuration of different specific functions through various feature codes. Taking the operating system configuration identifier as an example, it is assumed that the electronic device is compatible with operating systems such as WINDOOWS, Linux, NetWare, and Unix. Among them, configuration identifier 01 refers to the WINDOOWS operating system, configuration identifier 02 refers to the Linux operating system, configuration identifier 03 refers to the NetWare operating system, and configuration identifier 04 refers to the Unix operating system. Configuration initialization of different specific or specified operating systems can be achieved through configuration identifiers.
[0061] Step 102: When the electronic device is powered on, control the processing unit to determine initialization function configuration information based on the configuration identifier, and perform device initialization based on the initialization function configuration information.
[0062] The processor of the embodiment of the present invention stores initialization function configuration information corresponding to different configuration identifiers. For example, configuration identifier 01 refers to the WINDOOWS operating system. When the processor determines that the configuration identifier indicates that the operating system that needs to be initialized and configured is the WINDOOWS operating system, after the electronic device is powered on and started, the electronic device uses the WINDOOWS operating system as the operating system for initialization configuration, and shields the remaining Linux, NetWare, Unix and other operating systems, thereby realizing the functional customization service of the electronic device regarding the operating system. The embodiment of the present invention utilizes radio frequency identification technology to send a configuration identifier to the electronic device by obtaining the electronic device information to realize the initialization configuration of a specific function. That is, the embodiment of the present invention adds a configuration identifier on the basis of obtaining the electronic device information. In this way, the information of the electronic device at the time of initialization meets the requirements and has real-time, adaptability and accuracy. Then, when multiple electronic devices are powered on, they can realize the initialization configuration of specific functions based on the configuration identifier in the electronic tag, thereby realizing the functional customization service of batch Internet of Things devices.
[0063] The embodiment of the present invention receives and stores the configuration identifier sent by the initialization device through the electronic tag, thereby storing the initialization function configuration information of the specific function of the electronic device through the electronic tag. When the electronic device is powered on, the processing unit is controlled to initialize the device based on the initialization function configuration information. The embodiment of the present invention makes use of the efficient communication of the electronic tag to facilitate the efficient implementation of the function customization service of batch Internet of Things devices when producing products.
[0064] In other aspects of the embodiments of the present invention, the configuration identifier includes an operating system configuration identifier. Step 102, controlling the processing unit to determine initialization function configuration information based on the configuration identifier, and performing device initialization based on the initialization function configuration information, includes: controlling the processing unit to determine target operating system information to be configured based on the operating system configuration identifier, and performing device initialization based on the target operating system information.
[0065] The operating system configuration identifier is used to configure the operating system of the electronic device. Among them, the operating system configuration identifier 01 refers to the WINDOOWS operating system, the operating system configuration identifier 02 refers to the Linux operating system, the operating system configuration identifier 03 refers to the NetWare operating system, and the operating system configuration identifier 04 refers to the Unix operating system. It is assumed that the electronic device of the embodiment of the present invention is compatible with operating systems such as WINDOOWS, Linux, NetWare, and Unix. In the case where there is a configuration requirement for the operating system of the electronic device, for example, you want the electronic device to be powered on and run with the WINDOOWS operating system. When producing electronic devices, a batch of electronic devices are passed through an initialization device, and the reader / writer on the initialization device writes the operating system configuration 01 to a specific register group of the electronic tags of multiple electronic devices. Subsequently, after the batch of electronic devices is powered on and started, the processor of each electronic device automatically selects to enter the WINDOOWS operating system based on the operating system configuration 01, and shields the remaining operating systems, thereby realizing the functional customization service of batch Internet of Things devices.
[0066] Compared with existing electronic devices, which need to be initialized and configured one by one through host computer software, the embodiments of the present invention utilize the characteristics of electronic tags that can communicate wirelessly and efficiently and realize data storage. By sending operating system configuration identifiers to the electronic tags of batch electronic devices, multiple electronic devices can be initialized and configured based on the target operating system information indicated by the operating system configuration identifier when powered on, thereby realizing the function customization service of batch IoT devices.
[0067] In other aspects of the embodiments of the present invention, the configuration identifier includes a firmware upgrade configuration identifier. Step 102, controlling the processing unit to determine initialization function configuration information based on the configuration identifier, and performing device initialization based on the initialization function configuration information, includes: controlling the processing unit to determine target firmware information to be configured based on the firmware upgrade configuration identifier, and performing device initialization based on the target firmware information.
[0068] The firmware upgrade configuration identifier is used to configure the firmware upgrade requirements of the electronic device. The electronic device may upgrade the firmware due to the specific needs of multiple users. The software codes corresponding to different user requirements are encapsulated as corresponding software modules and stored in the specified area of the FLASH or EEPROM of the electronic device. In an embodiment of the present invention, it is specified that the firmware upgrade configuration identifier is stored in the corresponding byte position in the specific register of the electronic tag of the electronic device. For example, the firmware upgrade configuration identifier 00 refers to no upgrade, the firmware upgrade configuration identifier 01 refers to upgrade according to the needs of user A, the firmware upgrade configuration identifier 02 refers to upgrade according to the needs of user B, and the firmware upgrade configuration identifier 03 refers to upgrade according to the needs of user C. That is, corresponding to the different needs of multiple users, the electronic tag can be configured with 00~FF. Even if necessary, the corresponding byte position in the specific register of the electronic tag of the electronic product can also be expanded, such as three-bit 000, four-bit 0000,..., 16-bit 0000 0000 0000 0000, etc.
[0069] For example, when the firmware upgrade configuration identifier indicates an upgrade according to the needs of User A, when producing electronic equipment, the reader / writer of the initialization device is used to write the firmware upgrade configuration identifier 01 to the specific register of the electronic tag of the batch of electronic equipment. Subsequently, after the electronic equipment of this batch is powered on, each electronic device automatically chooses to upgrade according to the needs of User A and calls the corresponding module code for firmware upgrade. In this way, functional customization can be achieved on a unified software platform. When batches of electronic equipment are produced, only a unified version of the software needs to be burned. After the batch of electronic equipment is powered on, the corresponding functional configuration is automatically selected according to the corresponding byte position in the specific register of the electronic tag of the electronic equipment. Thus, multiple versions of software are no longer considered, simplifying the management process. Moreover, the electronic tag of the electronic device is independent of other hardware and software of the product, is not affected by its failure, and enhances security.
[0070] Compared with existing electronic devices, which need to be initialized and configured one by one through host computer software, the embodiments of the present invention utilize the characteristics of electronic tags that can communicate wirelessly and efficiently and realize data storage. By sending firmware upgrade configuration identifiers to the electronic tags of batch electronic devices, multiple electronic devices can be initialized and configured based on the target firmware information indicated by the firmware upgrade configuration identifier when powered on, thereby realizing the function customization service of batch IoT devices.
[0071] In other aspects of the embodiments of the present invention, the configuration identifier includes a network connection configuration identifier. Step 102, controlling the processing unit to determine initialization function configuration information based on the configuration identifier, and performing device initialization based on the initialization function configuration information, includes: controlling the processing unit to determine target network connection information to be configured based on the network connection configuration identifier, and performing device initialization based on the target network connection information.
[0072] The network connection configuration identifier is used to configure the network connection information of the electronic device. In the embodiment of the present invention, for electronic devices that need to be connected to the Internet to ensure remote access and control, network connection information (such as IP address, gateway, DNS, etc.) needs to be configured. The network connection information can be stored in a specified area of the FLASH or EEPROM of the electronic device. In an embodiment of the present invention, it is specified that the network connection configuration identifier is stored in a corresponding byte position in a specific register of the electronic tag of the electronic device. For example, the network connection configuration identifier 00 refers to no network connection, the network connection configuration identifier 01 refers to the use of the first target IP address, the first target gateway and the first DNS for network connection; the network connection configuration identifier 02 refers to the use of the second target IP address, the second target gateway and the second DNS for network connection; the network connection configuration identifier 03 refers to the use of the third target IP address, the third target gateway and the third DNS for network connection. Among them, different target IP addresses, target gateways and DNS can be set according to actual conditions.
[0073] For example, if you want an electronic device to connect to the network with the first target IP address, the first target gateway and the first DNS when it is powered on, when producing electronic devices, a batch of electronic devices are initialized, and the reader / writer on the initialization device writes the network connection configuration identifier 01 to the specific register group of the electronic tags of multiple electronic devices. Subsequently, after the batch of electronic devices is powered on and started, the processor of each electronic device connects to the network based on the first target IP address, the first target gateway and the first DNS, and shields the rest of the network connection information, thereby realizing the function customization service of batch IoT devices.
[0074] Compared with existing electronic devices, which need to be initialized and configured one by one through host computer software, the embodiments of the present invention utilize the characteristics of electronic tags that can communicate wirelessly and efficiently and realize data storage. By sending network connection configuration identifiers to the electronic tags of batch electronic devices, multiple electronic devices can be initialized and configured based on the target network connection information indicated by the network connection configuration identifier when powered on, thereby realizing the function customization service of batch IoT devices.
[0075] In other aspects of the embodiments of the present invention, the configuration identifier includes an access security configuration identifier. Step 102, controlling the processing unit to determine initialization function configuration information based on the configuration identifier, and performing device initialization based on the initialization function configuration information, includes: controlling the processing unit to determine target access control information to be configured based on the access security configuration identifier, and performing device initialization based on the target access control information.
[0076] The access security configuration identifier is used to configure the access control information of the electronic device. In the embodiment of the present invention, for electronic devices that require security settings (such as setting access passwords, setting permission control, etc.) to ensure secure communication and remote management of the device, access control information (setting access passwords, setting permission control, etc.) needs to be configured. The access control information can be stored in a specified area of the FLASH or EEPROM of the electronic device. In the embodiment of the present invention, it is specified that the access security configuration identifier is stored in the corresponding byte bit in the specific register of the electronic tag of the electronic device. For example, the access security configuration identifier 00 refers to not performing access security configuration, the access security configuration identifier 01 refers to using the setting of access passwords and setting permission control, and the access security configuration identifier 02 refers to setting security questions and setting permission control. Among them, after the electronic device has been accessed and configured with the access security configuration identifier 01, it is ensured that only authorized users who have entered the correct access password can access and control the electronic device. Similarly, after the electronic device has been accessed and configured with the access security configuration identifier 02, it is ensured that only authorized users who have entered the correct security questions can access and control the electronic device.
[0077] For example, if you want to set access passwords and permission control for electronic devices when they are powered on, when producing electronic devices, batches of electronic devices are put through an initialization device, and the reader / writer on the initialization device writes access security configuration identifier 01 to a specific register group of electronic tags of multiple electronic devices. Subsequently, after the batch of electronic devices is powered on, the processor of each electronic device shields the rest of the access control information based on the set access password and permission control, thereby realizing the function customization service of batch IoT devices.
[0078] Compared with existing electronic devices, which need to be initialized and configured one by one through host computer software, the embodiments of the present invention utilize the characteristics of electronic tags that can communicate wirelessly and efficiently and realize data storage. By sending access security configuration identifiers to the electronic tags of batch electronic devices, multiple electronic devices can be initialized and configured based on the target access information indicated by the access security configuration identifier when powered on, thereby realizing the function customization service of batch IoT devices.
[0079] Therefore, regardless of whether the electronic device is powered or not, the reader / writer of the initialization device can read and write the electronic tag of the electronic device. By using this function, a configuration identifier of the corresponding function is formed in the electronic tag of the electronic device in advance according to the requirements, and different initialization functions are configured according to the configuration identifier. Therefore, the embodiment of the present invention not only does not require manual intervention, but also can be implemented in batches, thus expanding the application field of the electronic tag and realizing the function customization service of batch IoT devices.
[0080] On the other hand, please refer to Figure 3 The embodiment of the present invention further provides a device initialization method, which is applied to an initialization device, wherein the initialization device includes a reader / writer for communicating with an electronic tag of the electronic device, and the device initialization method includes:
[0081] Step 201: In response to an initialization configuration instruction of a specific function, a configuration identifier for the electronic device is obtained.
[0082] The initialization device of the embodiment of the present invention may be a radio frequency device. The radio frequency device includes a reader / writer for communicating with the electronic device. The user may set the initialization settings of specific functions for the electronic device according to his / her actual needs. The user inputs a configuration instruction for the initialization settings of a specific function to the initialization device through an input device (keyboard, touch screen, etc.), and obtains a configuration identifier for the electronic device in response to the initialization configuration instruction for the specific function. The configuration identifier may represent the initialization configuration of different specific functions through various feature codes. That is, the configuration identifier represents the initialization configuration of the specific function of the electronic device. The configuration identifier includes at least one of an operating system configuration identifier, a firmware upgrade configuration identifier, a network connection configuration identifier, and an access security configuration identifier.
[0083] Taking the operating system configuration identifier as an example, it is assumed that the electronic device is compatible with operating systems such as WINDOWS, Linux, NetWare, and Unix. Among them, configuration identifier 01 refers to the WINDOWS operating system, configuration identifier 02 refers to the Linux operating system, configuration identifier 03 refers to the NetWare operating system, and configuration identifier 04 refers to the Unix operating system. Configuration initialization of different specific or designated operating systems can be achieved through configuration identifiers.
[0084] Step 202: Send the configuration identifier to electronic tags of multiple electronic devices, so that the electronic tags of the multiple electronic devices perform batch device initialization based on the configuration identifier.
[0085] The initialization device is a radio frequency device that sends configuration identifiers to batches of electronic devices when the electronic devices are produced. In the embodiment of the present invention, the configuration identifier represents the initialization configuration of a specific function of the electronic device. The processor of the electronic device in the embodiment of the present invention stores initialization function configuration information corresponding to different configuration identifiers. For example, configuration identifier 01 refers to the WINDOOWS operating system. When the processor determines that the configuration identifier indicates that the operating system that needs to be initialized and configured is the WINDOOWS operating system, then after each electronic device is powered on and started, the electronic device uses the WINDOOWS operating system as the operating system for the initialization configuration, and shields the remaining Linux, NetWare, Unix and other operating systems, thereby realizing the functional customization service of the electronic device regarding the operating system.
[0086] It should be noted that the implementation method of initializing the electronic device based on the firmware upgrade configuration identifier, the network connection configuration identifier and the access security configuration identifier can be found in the relevant description of the device initialization method of the electronic device above, and will not be repeated here.
[0087] The embodiment of the present invention sends the configuration identifier to the electronic tags of multiple electronic devices so that the electronic tags of the multiple electronic devices perform batch device initialization based on the configuration identifier. The electronic tag receives and stores the configuration identifier sent by the initialization device, thereby storing the initialization function configuration information of the specific function of the electronic device through the electronic tag. When the electronic device is powered on, the processing unit is controlled to initialize the device based on the initialization function configuration information. The embodiment of the present invention makes use of the efficient communication of the electronic tag to facilitate the efficient implementation of functional customization services for batch IoT devices when producing products.
[0088] Device Embodiment
[0089] Please refer to Figure 4 On the other hand, an embodiment of the present invention further provides a device initialization apparatus, comprising:
[0090] The first control module 401 is used to control the electronic tag to receive and store the configuration identifier sent by the initialization device to multiple electronic devices; the configuration identifier represents the initialization configuration of a specific function of the electronic device;
[0091] The second control module 402 is configured to control the processing unit to determine initialization function configuration information based on the configuration identifier and to perform device initialization based on the initialization function configuration information when the electronic device is powered on.
[0092] Optionally, the configuration identifier includes an operating system configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0093] The processing unit is controlled to determine target operating system information to be configured based on the operating system configuration identifier, and to perform device initialization based on the target operating system information.
[0094] Optionally, the configuration identifier includes a firmware upgrade configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0095] The processing unit is controlled to determine target firmware information to be configured based on the firmware upgrade configuration identifier, and to perform device initialization based on the target firmware information.
[0096] Optionally, the configuration identifier includes a network connection configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0097] The processing unit is controlled to determine target network connection information to be configured based on the network connection configuration identifier, and to perform device initialization based on the target network connection information.
[0098] Optionally, the configuration identifier includes an access security configuration identifier, and the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including:
[0099] The processing unit is controlled to determine target access control information to be configured based on the access security configuration identifier, and to perform device initialization based on the target access control information.
[0100] The device initialization apparatus comprises a processor and a memory. The first control module 401, the second control module 402, etc. are stored in the memory as program units. The processor executes the program units stored in the memory to implement corresponding functions.
[0101] The processor includes a kernel, which calls the corresponding program unit from the memory. There can be one or more kernels.
[0102] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0103] On the other hand, please refer to Figure 5 The embodiment of the present invention further provides a device initialization apparatus, comprising:
[0104] The acquisition module 501 is used to acquire a configuration identifier for the electronic device in response to an initialization configuration instruction for a specific function; the configuration identifier represents an initialization configuration of the specific function for the electronic device;
[0105] The sending module 502 is configured to send the configuration identifier to the electronic tags of multiple electronic devices, so that the electronic tags of the multiple electronic devices perform batch device initialization based on the configuration identifier.
[0106] Optionally, the configuration identifier includes at least one of an operating system configuration identifier, a firmware upgrade configuration identifier, a network connection configuration identifier, and an access security configuration identifier.
[0107] The device initialization apparatus comprises a processor and a memory. The acquisition module 501 and the sending module 502 are stored in the memory as program units. The processor executes the program units stored in the memory to implement corresponding functions.
[0108] The processor includes a kernel, which calls the corresponding program unit from the memory. There can be one or more kernels.
[0109] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0110] On the other hand, an embodiment of the present invention further provides a device initialization system (not shown), comprising: a plurality of electronic devices that execute the above-mentioned device initialization method, and an initialization device that executes the above-mentioned device initialization method.
[0111] Each electronic device of the embodiment of the present invention comprises a processing unit, an electronic tag, a power supply unit and other units. The processing unit is based on a processor and communicates with the electronic tag and other units (such as a storage unit). The electronic tag communicates with the processing unit via a hardware interface (such as an IIC interface), and the electronic tag communicates with the reader / writer of the initialization device via a radio frequency interface. The power supply unit supplies power to the processing unit, the electronic tag and other units. Other units may be functional units developed according to specific needs.
[0112] The initialization device obtains a configuration identifier for the electronic device in response to an initialization configuration instruction for a specific function. The configuration identifier is sent to the electronic tags of multiple electronic devices so that the electronic tags of the multiple electronic devices perform batch device initialization based on the configuration identifier. The electronic device controls the electronic tag to receive and store the configuration identifier sent by the initialization device to the multiple electronic devices. When the electronic device is powered on, the processing unit is controlled to determine the initialization function configuration information based on the configuration identifier, and perform device initialization based on the initialization function configuration information.
[0113] For example, the electronic device controls the electronic tag to receive the configuration identifier sent by the initialization device to the multiple electronic devices through the radio frequency interface, and stores the configuration identifier in a specific register of the electronic tag. The initialization device can be a radio frequency device that sends configuration identifiers to batches of electronic devices when the electronic devices are produced. In the embodiment of the present invention, the configuration identifier represents the initialization configuration of a specific function of the electronic device. The processor of the embodiment of the present invention stores initialization function configuration information corresponding to different configuration identifiers. For example, configuration identifier 01 refers to the WINDOOWS operating system. When the processor determines that the configuration identifier indicates that the operating system that needs to be initialized and configured is the WINDOOWS operating system, after each electronic device is powered on, the electronic device uses the WINDOOWS operating system as the operating system for initialization configuration, and shields the remaining Linux, NetWare, Unix and other operating systems, thereby realizing the functional customization service of the electronic device regarding the operating system.
[0114] The embodiment of the present invention receives and stores the configuration identifier sent by the initialization device through the electronic tag, thereby storing the initialization function configuration information of the specific function of the electronic device through the electronic tag. When the electronic device is powered on, the processing unit is controlled to initialize the device based on the initialization function configuration information. The embodiment of the present invention makes use of the efficient communication of the electronic tag to facilitate the efficient implementation of the function customization service of batch Internet of Things devices when producing products.
[0115] Figure 6 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 6As shown, the electronic device may include: a processor 610, a communication interface 620, a memory 630 and a communication bus 640, wherein the processor 610, the communication interface 620 and the memory 630 communicate with each other through the communication bus 640. The processor 610 may call the logic instructions in the memory 630 to execute the device initialization method, which includes: controlling the electronic tag to receive and store the configuration identifier sent by the initialization device to multiple electronic devices; the configuration identifier represents the initialization configuration of the specific function of the electronic device; when the electronic device is powered on, controlling the processing unit to determine the initialization function configuration information based on the configuration identifier, and performing device initialization based on the initialization function configuration information; or the method includes: in response to the initialization configuration instruction of the specific function, obtaining the configuration identifier of the electronic device; the configuration identifier represents the initialization configuration of the specific function of the electronic device; sending the configuration identifier to the electronic tags of multiple electronic devices, so that the electronic tags of the multiple electronic devices perform batch device initialization based on the configuration identifier.
[0116] In addition, the logic instructions in the above-mentioned memory 630 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0117] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a machine-readable storage medium. When the computer program is executed by a processor, the computer can execute a device initialization method, which includes: controlling the electronic tag to receive and store a configuration identifier sent by the initialization device to multiple electronic devices; the configuration identifier represents the initialization configuration of a specific function of the electronic device; when the electronic device is powered on, controlling the processing unit to determine the initialization function configuration information based on the configuration identifier, and performing device initialization based on the initialization function configuration information; or the method includes: in response to an initialization configuration instruction for a specific function, obtaining a configuration identifier for the electronic device; the configuration identifier represents the initialization configuration of a specific function of the electronic device; sending the configuration identifier to the electronic tags of multiple electronic devices, so that the electronic tags of the multiple electronic devices perform batch device initialization based on the configuration identifier.
[0118] On the other hand, the present invention also provides a machine-readable storage medium having a computer program stored thereon, which is implemented by a processor to execute a device initialization method, the method comprising: controlling the electronic tag to receive and store a configuration identifier sent by the initialization device to multiple electronic devices; the configuration identifier represents the initialization configuration of a specific function of the electronic device; when the electronic device is powered on, controlling the processing unit to determine the initialization function configuration information based on the configuration identifier, and performing device initialization based on the initialization function configuration information; or the method comprises: in response to an initialization configuration instruction for a specific function, obtaining a configuration identifier for the electronic device; the configuration identifier represents the initialization configuration of a specific function of the electronic device; sending the configuration identifier to the electronic tags of multiple electronic devices, so that the electronic tags of the multiple electronic devices perform batch device initialization based on the configuration identifier.
[0119] The device embodiments described above are merely illustrative, wherein 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 modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0120] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0121] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A device initialization method, characterized in that: Applied to an electronic device, the electronic device includes an electronic tag and a processing unit in communication connection, and the device initialization method includes: Controlling the electronic tag to receive and store configuration identifiers sent by the initialization device to the plurality of electronic devices; the configuration identifiers represent initialization configurations for specific functions of the electronic devices; When the electronic device is powered on, the processing unit is controlled to determine initialization function configuration information based on the configuration identifier, and perform device initialization based on the initialization function configuration information.
2. The device initialization method according to claim 1, characterized in that: The configuration identifier includes an operating system configuration identifier, the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including: The processing unit is controlled to determine target operating system information to be configured based on the operating system configuration identifier, and to perform device initialization based on the target operating system information.
3. The device initialization method according to claim 1, characterized in that: The configuration identifier includes a firmware upgrade configuration identifier, the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including: The processing unit is controlled to determine target firmware information to be configured based on the firmware upgrade configuration identifier, and to perform device initialization based on the target firmware information.
4. The device initialization method according to claim 1, characterized in that: The configuration identifier includes a network connection configuration identifier, the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including: The processing unit is controlled to determine target network connection information to be configured based on the network connection configuration identifier, and to perform device initialization based on the target network connection information.
5. The device initialization method according to claim 1, characterized in that: The configuration identifier includes an access security configuration identifier, the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including: The processing unit is controlled to determine target access control information to be configured based on the access security configuration identifier, and to perform device initialization based on the target access control information.
6. A device initialization method, characterized in that: Applied to an initialization device, the initialization device includes a reader / writer for communicating with an electronic tag of an electronic device, and the device initialization method includes: In response to an initialization configuration instruction for a specific function, obtaining a configuration identifier for the electronic device; the configuration identifier indicates an initialization configuration for the specific function of the electronic device; The configuration identifier is sent to electronic tags of multiple electronic devices, so that the electronic tags of the multiple electronic devices perform batch device initialization based on the configuration identifier.
7. The device initialization method according to claim 6, characterized in that: The configuration identifier includes at least one of an operating system configuration identifier, a firmware upgrade configuration identifier, a network connection configuration identifier, and an access security configuration identifier.
8. A device initialization device, characterized in that: include: A first control module, used for controlling the electronic tag to receive and store configuration identifiers sent by the initialization device to multiple electronic devices; The configuration identifier represents the initialization configuration of a specific function of the electronic device; The second control module is used to control the processing unit to determine the initialization function configuration information based on the configuration identifier when the electronic device is powered on, and to perform device initialization based on the initialization function configuration information.
9. The device initialization apparatus according to claim 8, characterized in that: The configuration identifier includes an operating system configuration identifier, the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including: The processing unit is controlled to determine target operating system information to be configured based on the operating system configuration identifier, and to perform device initialization based on the target operating system information.
10. The device initialization apparatus according to claim 8, characterized in that: The configuration identifier includes a firmware upgrade configuration identifier, the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including: The processing unit is controlled to determine target firmware information to be configured based on the firmware upgrade configuration identifier, and to perform device initialization based on the target firmware information.
11. The device initialization apparatus according to claim 8, characterized in that: The configuration identifier includes a network connection configuration identifier, the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including: The processing unit is controlled to determine target network connection information to be configured based on the network connection configuration identifier, and to perform device initialization based on the target network connection information.
12. The device initialization apparatus according to claim 8, characterized in that: The configuration identifier includes an access security configuration identifier, the controlling the processing unit determines initialization function configuration information based on the configuration identifier, and performs device initialization based on the initialization function configuration information, including: The processing unit is controlled to determine target access control information to be configured based on the access security configuration identifier, and to perform device initialization based on the target access control information.
13. A device initialization device, characterized in that: include: An acquisition module, used to acquire a configuration identifier for the electronic device in response to an initialization configuration instruction of a specific function; The configuration identifier represents the initialization configuration of a specific function of the electronic device; The sending module is used to send the configuration identifier to the electronic tags of multiple electronic devices, so that the electronic tags of the multiple electronic devices perform batch device initialization based on the configuration identifier.
14. The device initialization apparatus according to claim 13, characterized in that: The configuration identifier includes at least one of an operating system configuration identifier, a firmware upgrade configuration identifier, a network connection configuration identifier, and an access security configuration identifier.
15. A device initialization system, characterized in that: include: A plurality of electronic devices that execute the device initialization method according to any one of claims 1 to 5, and an initialization device that executes the device initialization method according to any one of claims 6 to 7.
16. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the device initialization method described in any one of claims 1 to 5 is implemented, or the device initialization method described in any one of claims 6 to 7 is implemented.
17. A machine-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the device initialization method according to any one of claims 1 to 5 is implemented, or the device initialization method according to any one of claims 6 to 7 is implemented.
18. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the device initialization method according to any one of claims 1 to 5 is implemented, or the device initialization method according to any one of claims 6 to 7 is implemented.
Citation Information
Patent Citations
Terminal equipment and configuration method thereof
CN101937494A
USB (Universal Serial Bus) equipment and method and device for automatically initializing same
CN102968325A
Multi-socket server management with RFID
CN103154916A
Operating system starting method and device, electronic device and storage medium
CN113326069A
Read-write authority authentication device, method and equipment of RFID tag for cable
CN116596002A